3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-ipc use interprocess communication (wxSocket etc.)"
122 --enable-dialupman use dialup network classes"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-joystick compile in joystick support (Linux only)"
152 --enable-std_iostreams use standard C++ stream classes"
154 --enable-filesystem use virtual file systems classes"
156 --enable-fs_inet use virtual HTTP/FTP filesystems"
158 --enable-fs_zip use virtual ZIP filesystems"
160 --enable-zipstream use wxZipInputStream"
162 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
164 --enable-threads use threads"
166 --enable-serial use class serialization"
168 --enable-docview use document view architecture"
170 --enable-help use help (using external browser at present)"
172 --enable-constraints use layout-constraints system"
174 --enable-printarch use printing architecture"
176 --enable-mdi use multiple document interface architecture"
178 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
180 --enable-prologio use Prolog IO library"
182 --enable-resources use wxWindows resources"
184 --enable-xresources use X resources for save (default for gtk+)"
186 --enable-clipboard use wxClipboard classes"
188 --enable-dnd use Drag'n'Drop classes"
190 --enable-wxtree make wxTree library"
192 --enable-controls use all usual controls"
194 --enable-accel use accelerators"
196 --enable-caret use wxCaret class"
198 --enable-bmpbutton use wxBitmapButton class"
200 --enable-checkbox use wxCheckBox class"
202 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
204 --enable-choice use wxChoice class"
206 --enable-combobox use wxComboBox classes"
208 --enable-gauge use wxGauge class"
210 --enable-grid use wxGrid class"
212 --enable-newgrid use new wxGrid class"
214 --enable-imaglist use wxImageList class"
216 --enable-listbox use wxListBox class"
218 --enable-listctrl use wxListCtrl class"
220 --enable-notebook use wxNotebook class"
222 --enable-radiobox use wxRadioBox class"
224 --enable-radiobtn use wxRadioButton class"
226 --enable-sash use wxSashWindow class"
228 --enable-scrollbar use wxScrollBar class and scrollable windows"
230 --enable-slider use wxSlider class"
232 --enable-spinbtn use wxSpinButton class"
234 --enable-spinctrl use wxSpinCtrl class"
236 --enable-splitter use wxSplitterWindow class"
238 --enable-statbmp use wxStaticBitmap class"
240 --enable-statbox use wxStaticBox class"
242 --enable-statline use wxStaticLine class"
244 --enable-statusbar use wxStatusBar class"
246 --enable-tabdialog use wxTabControl class"
248 --enable-toolbar use wxToolBar class"
250 --enable-tbarnative use native wxToolBar class"
252 --enable-tbarsmpl use wxToolBarSimple class"
254 --enable-treectrl use wxTreeCtrl class"
256 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
258 --enable-dirdlg use wxDirDialog"
260 --enable-textdlg use wxTextDialog"
262 --enable-tipdlg use startup tips"
264 --enable-progressdlg use wxProgressDialog"
266 --enable-miniframe use wxMiniFrame class"
268 --enable-html use wxHTML sub-library"
270 --enable-tooltips use wxToolTip class"
272 --enable-splines use spline drawing code"
274 --enable-validators use wxValidator and derived classes"
276 --enable-busyinfo use wxBusyInfo"
278 --enable-plot use wxPlot"
280 --enable-gif use gif images (GIF file format)"
282 --enable-pcx use pcx images (PCX file format)"
284 --enable-pnm use pnm images (PNM file format)"
286 --with-x use the X Window System"
288 # Initialize some variables set by options.
289 # The variables have the same names as the options, with
290 # dashes changed to underlines.
292 cache_file
=.
/config.cache
301 program_transform_name
=s
,x
,x
,
309 bindir
='${exec_prefix}/bin'
310 sbindir
='${exec_prefix}/sbin'
311 libexecdir
='${exec_prefix}/libexec'
312 datadir
='${prefix}/share'
313 sysconfdir
='${prefix}/etc'
314 sharedstatedir
='${prefix}/com'
315 localstatedir
='${prefix}/var'
316 libdir
='${exec_prefix}/lib'
317 includedir
='${prefix}/include'
318 oldincludedir
='/usr/include'
319 infodir
='${prefix}/info'
320 mandir
='${prefix}/man'
322 # Initialize some other variables.
325 SHELL
=${CONFIG_SHELL-/bin/sh}
326 # Maximum number of lines to put in a shell here document.
333 # If the previous option needs an argument, assign it.
334 if test -n "$ac_prev"; then
335 eval "$ac_prev=\$ac_option"
341 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
345 # Accept the important Cygnus configure options, so we can diagnose typos.
349 -bindir | --bindir | --bindi | --bind | --bin | --bi)
351 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
352 bindir
="$ac_optarg" ;;
354 -build | --build | --buil | --bui | --bu)
356 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
357 build
="$ac_optarg" ;;
359 -cache-file | --cache-file | --cache-fil | --cache-fi \
360 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
361 ac_prev
=cache_file
;;
362 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
363 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
364 cache_file
="$ac_optarg" ;;
366 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
368 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
370 datadir
="$ac_optarg" ;;
372 -disable-* | --disable-*)
373 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
374 # Reject names that are not valid shell variable names.
375 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
376 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
378 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
379 eval "enable_${ac_feature}=no" ;;
381 -enable-* | --enable-*)
382 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
383 # Reject names that are not valid shell variable names.
384 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
385 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
387 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
392 eval "enable_${ac_feature}='$ac_optarg'" ;;
394 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
395 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
396 | --exec | --exe | --ex)
397 ac_prev
=exec_prefix
;;
398 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
399 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
400 | --exec=* | --exe=* | --ex=*)
401 exec_prefix
="$ac_optarg" ;;
403 -gas | --gas | --ga | --g)
404 # Obsolete; use --with-gas.
407 -help | --help | --hel | --he)
408 # Omit some internal or obsolete options to make the list less imposing.
409 # This message is too long to be a string in the A/UX 3.1 sh.
411 Usage: configure [options] [host]
412 Options: [defaults in brackets after descriptions]
414 --cache-file=FILE cache test results in FILE
415 --help print this message
416 --no-create do not create output files
417 --quiet, --silent do not print \`checking...' messages
418 --version print the version of autoconf that created configure
419 Directory and file names:
420 --prefix=PREFIX install architecture-independent files in PREFIX
422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
424 --bindir=DIR user executables in DIR [EPREFIX/bin]
425 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
426 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
427 --datadir=DIR read-only architecture-independent data in DIR
429 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
430 --sharedstatedir=DIR modifiable architecture-independent data in DIR
432 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
433 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
434 --includedir=DIR C header files in DIR [PREFIX/include]
435 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
436 --infodir=DIR info documentation in DIR [PREFIX/info]
437 --mandir=DIR man documentation in DIR [PREFIX/man]
438 --srcdir=DIR find the sources in DIR [configure dir or ..]
439 --program-prefix=PREFIX prepend PREFIX to installed program names
440 --program-suffix=SUFFIX append SUFFIX to installed program names
441 --program-transform-name=PROGRAM
442 run sed PROGRAM on installed program names
446 --build=BUILD configure for building on BUILD [BUILD=HOST]
447 --host=HOST configure for HOST [guessed]
448 --target=TARGET configure for TARGET [TARGET=HOST]
449 Features and packages:
450 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
451 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
454 --x-includes=DIR X include files are in DIR
455 --x-libraries=DIR X library files are in DIR
457 if test -n "$ac_help"; then
458 echo "--enable and --with options recognized:$ac_help"
462 -host | --host | --hos | --ho)
464 -host=* | --host=* | --hos=* | --ho=*)
467 -includedir | --includedir | --includedi | --included | --include \
468 | --includ | --inclu | --incl | --inc)
469 ac_prev
=includedir
;;
470 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
471 | --includ=* | --inclu=* | --incl=* | --inc=*)
472 includedir
="$ac_optarg" ;;
474 -infodir | --infodir | --infodi | --infod | --info | --inf)
476 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
477 infodir
="$ac_optarg" ;;
479 -libdir | --libdir | --libdi | --libd)
481 -libdir=* | --libdir=* | --libdi=* | --libd=*)
482 libdir
="$ac_optarg" ;;
484 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
485 | --libexe | --libex | --libe)
486 ac_prev
=libexecdir
;;
487 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
488 | --libexe=* | --libex=* | --libe=*)
489 libexecdir
="$ac_optarg" ;;
491 -localstatedir | --localstatedir | --localstatedi | --localstated \
492 | --localstate | --localstat | --localsta | --localst \
493 | --locals | --local | --loca | --loc | --lo)
494 ac_prev
=localstatedir
;;
495 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
496 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
497 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
498 localstatedir
="$ac_optarg" ;;
500 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
502 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
503 mandir
="$ac_optarg" ;;
506 # Obsolete; use --without-fp.
509 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
513 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
514 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
517 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
518 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
519 | --oldin | --oldi | --old | --ol | --o)
520 ac_prev
=oldincludedir
;;
521 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
522 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
523 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
524 oldincludedir
="$ac_optarg" ;;
526 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
528 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
529 prefix
="$ac_optarg" ;;
531 -program-prefix | --program-prefix | --program-prefi | --program-pref \
532 | --program-pre | --program-pr | --program-p)
533 ac_prev
=program_prefix
;;
534 -program-prefix=* | --program-prefix=* | --program-prefi=* \
535 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
536 program_prefix
="$ac_optarg" ;;
538 -program-suffix | --program-suffix | --program-suffi | --program-suff \
539 | --program-suf | --program-su | --program-s)
540 ac_prev
=program_suffix
;;
541 -program-suffix=* | --program-suffix=* | --program-suffi=* \
542 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
543 program_suffix
="$ac_optarg" ;;
545 -program-transform-name | --program-transform-name \
546 | --program-transform-nam | --program-transform-na \
547 | --program-transform-n | --program-transform- \
548 | --program-transform | --program-transfor \
549 | --program-transfo | --program-transf \
550 | --program-trans | --program-tran \
551 | --progr-tra | --program-tr | --program-t)
552 ac_prev
=program_transform_name
;;
553 -program-transform-name=* | --program-transform-name=* \
554 | --program-transform-nam=* | --program-transform-na=* \
555 | --program-transform-n=* | --program-transform-=* \
556 | --program-transform=* | --program-transfor=* \
557 | --program-transfo=* | --program-transf=* \
558 | --program-trans=* | --program-tran=* \
559 | --progr-tra=* | --program-tr=* | --program-t=*)
560 program_transform_name
="$ac_optarg" ;;
562 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
563 | -silent | --silent | --silen | --sile | --sil)
566 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
568 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
570 sbindir
="$ac_optarg" ;;
572 -sharedstatedir | --sharedstatedir | --sharedstatedi \
573 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
574 | --sharedst | --shareds | --shared | --share | --shar \
576 ac_prev
=sharedstatedir
;;
577 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
578 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
579 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
581 sharedstatedir
="$ac_optarg" ;;
583 -site | --site | --sit)
585 -site=* | --site=* | --sit=*)
588 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
590 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
591 srcdir
="$ac_optarg" ;;
593 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
594 | --syscon | --sysco | --sysc | --sys | --sy)
595 ac_prev
=sysconfdir
;;
596 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
597 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
598 sysconfdir
="$ac_optarg" ;;
600 -target | --target | --targe | --targ | --tar | --ta | --t)
602 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
603 target
="$ac_optarg" ;;
605 -v | -verbose | --verbose | --verbos | --verbo | --verb)
608 -version | --version | --versio | --versi | --vers)
609 echo "configure generated by autoconf version 2.13"
613 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
614 # Reject names that are not valid shell variable names.
615 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
616 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
618 ac_package
=`echo $ac_package| sed 's/-/_/g'`
623 eval "with_${ac_package}='$ac_optarg'" ;;
625 -without-* | --without-*)
626 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
627 # Reject names that are not valid shell variable names.
628 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
629 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
631 ac_package
=`echo $ac_package| sed 's/-/_/g'`
632 eval "with_${ac_package}=no" ;;
635 # Obsolete; use --with-x.
638 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
639 | --x-incl | --x-inc | --x-in | --x-i)
640 ac_prev
=x_includes
;;
641 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
642 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
643 x_includes
="$ac_optarg" ;;
645 -x-libraries | --x-libraries | --x-librarie | --x-librari \
646 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
647 ac_prev
=x_libraries
;;
648 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
649 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
650 x_libraries
="$ac_optarg" ;;
652 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
656 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
657 echo "configure: warning: $ac_option: invalid host type" 1>&2
659 if test "x$nonopt" != xNONE
; then
660 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
668 if test -n "$ac_prev"; then
669 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
672 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
674 # File descriptor usage:
677 # 2 errors and warnings
678 # 3 some systems may open it to /dev/tty
679 # 4 used on the Kubota Titan
680 # 6 checking for... messages and results
681 # 5 compiler messages saved in config.log
682 if test "$silent" = yes; then
690 This file contains any messages produced by compilers while
691 running configure, to aid debugging if configure makes a mistake.
694 # Strip out --no-create and --no-recursion so they do not pile up.
695 # Also quote any args containing shell metacharacters.
700 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
701 | --no-cr | --no-c) ;;
702 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
703 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
704 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
705 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
706 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
711 # Only set these to C if already set. These must not be set unconditionally
712 # because not all systems understand e.g. LANG=C (notably SCO).
713 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
714 # Non-C LC_CTYPE values break the ctype check.
715 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
716 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
717 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
718 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
721 rm -rf conftest
* confdefs.h
722 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
725 # A filename unique to this package, relative to the directory that
726 # configure is in, which we can look for to find out if srcdir is correct.
727 ac_unique_file
=wx
-config.
in
729 # Find the source files, if location was not specified.
730 if test -z "$srcdir"; then
731 ac_srcdir_defaulted
=yes
732 # Try the directory containing this script, then its parent.
734 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
735 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
737 if test ! -r $srcdir/$ac_unique_file; then
741 ac_srcdir_defaulted
=no
743 if test ! -r $srcdir/$ac_unique_file; then
744 if test "$ac_srcdir_defaulted" = yes; then
745 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
747 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
750 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
752 # Prefer explicitly selected file to automatically selected ones.
753 if test -z "$CONFIG_SITE"; then
754 if test "x$prefix" != xNONE
; then
755 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
757 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
760 for ac_site_file
in $CONFIG_SITE; do
761 if test -r "$ac_site_file"; then
762 echo "loading site script $ac_site_file"
767 if test -r "$cache_file"; then
768 echo "loading cache $cache_file"
771 echo "creating cache $cache_file"
776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
777 ac_cpp
='$CPP $CPPFLAGS'
778 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
779 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
780 cross_compiling
=$ac_cv_prog_cc_cross
784 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
785 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
786 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
793 ac_n
= ac_c
='\c' ac_t
=
799 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
800 if test -f $ac_dir/install-sh; then
802 ac_install_sh
="$ac_aux_dir/install-sh -c"
804 elif test -f $ac_dir/install.sh
; then
806 ac_install_sh
="$ac_aux_dir/install.sh -c"
810 if test -z "$ac_aux_dir"; then
811 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
813 ac_config_guess
=$ac_aux_dir/config.guess
814 ac_config_sub
=$ac_aux_dir/config.sub
815 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
818 # Do some error checking and defaulting for the host and target type.
820 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
823 # 1. You are not allowed to specify --host, --target, and nonopt at the
825 # 2. Host defaults to nonopt.
826 # 3. If nonopt is not specified, then host defaults to the current host,
827 # as determined by config.guess.
828 # 4. Target and build default to nonopt.
829 # 5. If nonopt is not specified, then target and build default to host.
831 # The aliases save the names the user supplied, while $host etc.
832 # will get canonicalized.
833 case $host---$target---$nonopt in
834 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
835 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
839 # Make sure we can run config.sub.
840 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
841 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
844 echo $ac_n "checking host system type""... $ac_c" 1>&6
845 echo "configure:846: checking host system type" >&5
848 case "$host_alias" in
852 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
853 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
855 *) host_alias
=$nonopt ;;
859 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
860 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
861 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
862 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
863 echo "$ac_t""$host" 1>&6
865 echo $ac_n "checking target system type""... $ac_c" 1>&6
866 echo "configure:867: checking target system type" >&5
869 case "$target_alias" in
872 NONE
) target_alias
=$host_alias ;;
873 *) target_alias
=$nonopt ;;
877 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
878 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
879 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
880 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
881 echo "$ac_t""$target" 1>&6
883 echo $ac_n "checking build system type""... $ac_c" 1>&6
884 echo "configure:885: checking build system type" >&5
887 case "$build_alias" in
890 NONE
) build_alias
=$host_alias ;;
891 *) build_alias
=$nonopt ;;
895 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
896 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
897 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
898 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
899 echo "$ac_t""$build" 1>&6
901 test "$host_alias" != "$target_alias" &&
902 test "$program_prefix$program_suffix$program_transform_name" = \
904 program_prefix
=${target_alias}-
908 WX_MAJOR_VERSION_NUMBER
=2
909 WX_MINOR_VERSION_NUMBER
=1
915 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
917 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
918 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
919 WX_REVISION
=$WX_INTERFACE_AGE
920 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
946 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
948 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
951 DEFAULT_wxUSE_MOTIF
=0
956 DEFAULT_DEFAULT_wxUSE_GTK
=0
957 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
958 DEFAULT_DEFAULT_wxUSE_MSW
=0
959 DEFAULT_DEFAULT_wxUSE_WINE
=0
960 DEFAULT_DEFAULT_wxUSE_PM
=0
967 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
968 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
969 cat >> confdefs.h
<<\EOF
976 cat >> confdefs.h
<<\EOF
981 if test "x$TMP" = "xalpha"; then
983 cat >> confdefs.h
<<\EOF
988 DEFAULT_DEFAULT_wxUSE_GTK
=1
990 *-*-irix5* | *-*-irix6* )
993 cat >> confdefs.h
<<\EOF
997 cat >> confdefs.h
<<\EOF
1001 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1007 cat >> confdefs.h
<<\EOF
1011 cat >> confdefs.h
<<\EOF
1012 #define __SOLARIS__ 1
1015 cat >> confdefs.h
<<\EOF
1019 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1020 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 cat >> confdefs.h
<<\EOF
1038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1040 *-*-freebsd* | *-*-netbsd*)
1043 cat >> confdefs.h
<<\EOF
1044 #define __FREEBSD__ 1
1047 cat >> confdefs.h
<<\EOF
1051 DEFAULT_DEFAULT_wxUSE_GTK
=1
1056 cat >> confdefs.h
<<\EOF
1060 cat >> confdefs.h
<<\EOF
1064 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1069 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1077 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1090 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1108 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1111 *-*-cygwin32* | *-*-mingw32* )
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define __WINDOWS__ 1
1126 cat >> confdefs.h
<<\EOF
1127 #define __GNUWIN32__ 1
1130 cat >> confdefs.h
<<\EOF
1134 cat >> confdefs.h
<<\EOF
1135 #define WINVER 0x0400
1139 DEFAULT_DEFAULT_wxUSE_MSW
=1
1143 cat >> confdefs.h
<<\EOF
1148 DEFAULT_DEFAULT_wxUSE_PM
=1
1153 cat >> confdefs.h
<<\EOF
1160 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1163 if test "$USE_UNIX" = 1 ; then
1165 cat >> confdefs.h
<<\EOF
1170 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1171 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1174 if test "$USE_BEOS" = 1; then
1175 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1176 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1179 if test "$USE_LINUX" = 1; then
1180 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1181 echo "configure:1182: checking for gettext in -lc" >&5
1182 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS
="$LIBS"
1188 cat > conftest.
$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure
:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.
$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS
="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 cat >> confdefs.h
<<\EOF
1216 #define wxHAVE_GLIBC2 1
1220 echo "$ac_t""no" 1>&6
1228 wx_arg_cache_file
="configarg.cache"
1229 echo "loading argument cache $wx_arg_cache_file"
1230 rm -f ${wx_arg_cache_file}.tmp
1231 touch ${wx_arg_cache_file}.tmp
1232 touch ${wx_arg_cache_file}
1236 if test $DEBUG_CONFIGURE = 1; then
1237 DEFAULT_wxUSE_THREADS
=yes
1239 DEFAULT_wxUSE_SHARED
=yes
1240 DEFAULT_wxUSE_BURNT_NAME
=no
1241 DEFAULT_wxUSE_OPTIMISE
=yes
1242 DEFAULT_wxUSE_PROFILE
=no
1243 DEFAULT_wxUSE_NO_DEPS
=no
1244 DEFAULT_wxUSE_NO_RTTI
=no
1245 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1246 DEFAULT_wxUSE_PERMISSIVE
=no
1247 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1248 DEFAULT_wxUSE_DEBUG_INFO
=yes
1249 DEFAULT_wxUSE_DEBUG_GDB
=yes
1250 DEFAULT_wxUSE_MEM_TRACING
=no
1251 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1252 DEFAULT_wxUSE_DMALLOC
=no
1253 DEFAULT_wxUSE_APPLE_IEEE
=no
1255 DEFAULT_wxUSE_LOG
=yes
1257 DEFAULT_wxUSE_GUI
=yes
1259 DEFAULT_wxUSE_ZLIB
=no
1260 DEFAULT_wxUSE_LIBPNG
=no
1261 DEFAULT_wxUSE_LIBJPEG
=no
1262 DEFAULT_wxUSE_LIBTIFF
=no
1263 DEFAULT_wxUSE_ODBC
=no
1264 DEFAULT_wxUSE_OPENGL
=no
1266 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1267 DEFAULT_wxUSE_STD_IOSTREAM
=no
1268 DEFAULT_wxUSE_FILE
=no
1269 DEFAULT_wxUSE_TEXTFILE
=no
1270 DEFAULT_wxUSE_TIMEDATE
=no
1271 DEFAULT_wxUSE_WAVE
=no
1272 DEFAULT_wxUSE_INTL
=no
1273 DEFAULT_wxUSE_CONFIG
=no
1274 DEFAULT_wxUSE_STREAMS
=no
1275 DEFAULT_wxUSE_SOCKETS
=no
1276 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1277 DEFAULT_wxUSE_SERIAL
=no
1278 DEFAULT_wxUSE_JOYSTICK
=no
1279 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1280 DEFAULT_wxUSE_LONGLONG
=no
1282 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1283 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1284 DEFAULT_wxUSE_POSTSCRIPT
=no
1286 DEFAULT_wxUSE_X_RESOURCES
=no
1287 DEFAULT_wxUSE_CLIPBOARD
=no
1288 DEFAULT_wxUSE_TOOLTIPS
=no
1289 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1290 DEFAULT_wxUSE_SPLINES
=no
1292 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1293 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1294 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1296 DEFAULT_wxUSE_PROLOGIO
=no
1297 DEFAULT_wxUSE_RESOURCES
=no
1298 DEFAULT_wxUSE_CONSTRAINTS
=no
1299 DEFAULT_wxUSE_IPC
=no
1300 DEFAULT_wxUSE_HELP
=no
1301 DEFAULT_wxUSE_WXTREE
=no
1302 DEFAULT_wxUSE_METAFILE
=no
1304 DEFAULT_wxUSE_COMMONDLGS
=no
1305 DEFAULT_wxUSE_DIRDLG
=no
1306 DEFAULT_wxUSE_TEXTDLG
=no
1307 DEFAULT_wxUSE_STARTUP_TIPS
=no
1308 DEFAULT_wxUSE_PROGRESSDLG
=no
1309 DEFAULT_wxUSE_MINIFRAME
=no
1310 DEFAULT_wxUSE_HTML
=no
1311 DEFAULT_wxUSE_FILESYSTEM
=no
1312 DEFAULT_wxUSE_FS_INET
=no
1313 DEFAULT_wxUSE_FS_ZIP
=no
1314 DEFAULT_wxUSE_BUSYINFO
=no
1315 DEFAULT_wxUSE_ZIPSTREAM
=no
1316 DEFAULT_wxUSE_VALIDATORS
=yes
1318 DEFAULT_wxUSE_ACCEL
=no
1319 DEFAULT_wxUSE_CARET
=no
1320 DEFAULT_wxUSE_BMPBUTTON
=no
1321 DEFAULT_wxUSE_CHECKBOX
=no
1322 DEFAULT_wxUSE_CHECKLST
=no
1323 DEFAULT_wxUSE_CHOICE
=yes
1324 DEFAULT_wxUSE_COMBOBOX
=no
1325 DEFAULT_wxUSE_GAUGE
=no
1326 DEFAULT_wxUSE_GRID
=no
1327 DEFAULT_wxUSE_NEW_GRID
=no
1328 DEFAULT_wxUSE_IMAGLIST
=no
1329 DEFAULT_wxUSE_LISTBOX
=no
1330 DEFAULT_wxUSE_LISTCTRL
=no
1331 DEFAULT_wxUSE_NOTEBOOK
=no
1332 DEFAULT_wxUSE_PLOT
=no
1333 DEFAULT_wxUSE_RADIOBOX
=no
1334 DEFAULT_wxUSE_RADIOBTN
=no
1335 DEFAULT_wxUSE_SASH
=no
1336 DEFAULT_wxUSE_SCROLLBAR
=no
1337 DEFAULT_wxUSE_SLIDER
=no
1338 DEFAULT_wxUSE_SPINBTN
=no
1339 DEFAULT_wxUSE_SPINCTRL
=no
1340 DEFAULT_wxUSE_SPLITTER
=no
1341 DEFAULT_wxUSE_STATBMP
=no
1342 DEFAULT_wxUSE_STATBOX
=no
1343 DEFAULT_wxUSE_STATLINE
=no
1344 DEFAULT_wxUSE_STATUSBAR
=yes
1345 DEFAULT_wxUSE_TABDIALOG
=no
1346 DEFAULT_wxUSE_TOOLBAR
=no
1347 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1348 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1349 DEFAULT_wxUSE_TREECTRL
=no
1351 DEFAULT_wxUSE_UNICODE
=no
1352 DEFAULT_wxUSE_WCSRTOMBS
=no
1354 DEFAULT_wxUSE_GIF
=no
1355 DEFAULT_wxUSE_PCX
=no
1356 DEFAULT_wxUSE_PNM
=no
1358 DEFAULT_wxUSE_THREADS
=yes
1360 DEFAULT_wxUSE_SHARED
=yes
1361 DEFAULT_wxUSE_BURNT_NAME
=no
1362 DEFAULT_wxUSE_OPTIMISE
=yes
1363 DEFAULT_wxUSE_PROFILE
=no
1364 DEFAULT_wxUSE_NO_DEPS
=no
1365 DEFAULT_wxUSE_NO_RTTI
=no
1366 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1367 DEFAULT_wxUSE_PERMISSIVE
=no
1368 DEFAULT_wxUSE_DEBUG_FLAG
=no
1369 DEFAULT_wxUSE_DEBUG_INFO
=no
1370 DEFAULT_wxUSE_DEBUG_GDB
=no
1371 DEFAULT_wxUSE_MEM_TRACING
=no
1372 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1373 DEFAULT_wxUSE_DMALLOC
=no
1374 DEFAULT_wxUSE_APPLE_IEEE
=yes
1376 DEFAULT_wxUSE_LOG
=yes
1378 DEFAULT_wxUSE_GUI
=yes
1380 DEFAULT_wxUSE_ZLIB
=yes
1381 DEFAULT_wxUSE_LIBPNG
=yes
1382 DEFAULT_wxUSE_LIBJPEG
=yes
1383 DEFAULT_wxUSE_LIBTIFF
=yes
1384 DEFAULT_wxUSE_ODBC
=no
1385 DEFAULT_wxUSE_OPENGL
=no
1387 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1388 DEFAULT_wxUSE_STD_IOSTREAM
=no
1389 DEFAULT_wxUSE_FILE
=yes
1390 DEFAULT_wxUSE_TEXTFILE
=yes
1391 DEFAULT_wxUSE_TIMEDATE
=yes
1392 DEFAULT_wxUSE_WAVE
=no
1393 DEFAULT_wxUSE_INTL
=yes
1394 DEFAULT_wxUSE_CONFIG
=yes
1395 DEFAULT_wxUSE_STREAMS
=yes
1396 DEFAULT_wxUSE_SOCKETS
=yes
1397 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1398 DEFAULT_wxUSE_SERIAL
=yes
1399 DEFAULT_wxUSE_JOYSTICK
=yes
1400 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1401 DEFAULT_wxUSE_LONGLONG
=yes
1403 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1404 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1405 DEFAULT_wxUSE_POSTSCRIPT
=yes
1407 DEFAULT_wxUSE_X_RESOURCES
=no
1408 DEFAULT_wxUSE_CLIPBOARD
=yes
1409 DEFAULT_wxUSE_TOOLTIPS
=yes
1410 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1411 DEFAULT_wxUSE_SPLINES
=yes
1413 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1414 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1415 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1417 DEFAULT_wxUSE_PROLOGIO
=yes
1418 DEFAULT_wxUSE_RESOURCES
=yes
1419 DEFAULT_wxUSE_CONSTRAINTS
=yes
1420 DEFAULT_wxUSE_IPC
=yes
1421 DEFAULT_wxUSE_HELP
=yes
1422 DEFAULT_wxUSE_WXTREE
=yes
1423 DEFAULT_wxUSE_METAFILE
=yes
1425 DEFAULT_wxUSE_COMMONDLGS
=yes
1426 DEFAULT_wxUSE_DIRDLG
=yes
1427 DEFAULT_wxUSE_TEXTDLG
=yes
1428 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1429 DEFAULT_wxUSE_PROGRESSDLG
=yes
1430 DEFAULT_wxUSE_MINIFRAME
=yes
1431 DEFAULT_wxUSE_HTML
=yes
1432 DEFAULT_wxUSE_FILESYSTEM
=yes
1433 DEFAULT_wxUSE_FS_INET
=yes
1434 DEFAULT_wxUSE_FS_ZIP
=yes
1435 DEFAULT_wxUSE_BUSYINFO
=yes
1436 DEFAULT_wxUSE_ZIPSTREAM
=yes
1437 DEFAULT_wxUSE_VALIDATORS
=yes
1439 DEFAULT_wxUSE_ACCEL
=yes
1440 DEFAULT_wxUSE_CARET
=yes
1441 DEFAULT_wxUSE_BMPBUTTON
=yes
1442 DEFAULT_wxUSE_CHECKBOX
=yes
1443 DEFAULT_wxUSE_CHECKLST
=yes
1444 DEFAULT_wxUSE_CHOICE
=yes
1445 DEFAULT_wxUSE_COMBOBOX
=yes
1446 DEFAULT_wxUSE_GAUGE
=yes
1447 DEFAULT_wxUSE_GRID
=yes
1448 DEFAULT_wxUSE_NEW_GRID
=yes
1449 DEFAULT_wxUSE_IMAGLIST
=yes
1450 DEFAULT_wxUSE_LISTBOX
=yes
1451 DEFAULT_wxUSE_LISTCTRL
=yes
1452 DEFAULT_wxUSE_NOTEBOOK
=yes
1453 DEFAULT_wxUSE_PLOT
=yes
1454 DEFAULT_wxUSE_RADIOBOX
=yes
1455 DEFAULT_wxUSE_RADIOBTN
=yes
1456 DEFAULT_wxUSE_SASH
=yes
1457 DEFAULT_wxUSE_SCROLLBAR
=yes
1458 DEFAULT_wxUSE_SLIDER
=yes
1459 DEFAULT_wxUSE_SPINBTN
=yes
1460 DEFAULT_wxUSE_SPINCTRL
=yes
1461 DEFAULT_wxUSE_SPLITTER
=yes
1462 DEFAULT_wxUSE_STATBMP
=yes
1463 DEFAULT_wxUSE_STATBOX
=yes
1464 DEFAULT_wxUSE_STATLINE
=yes
1465 DEFAULT_wxUSE_STATUSBAR
=yes
1466 DEFAULT_wxUSE_TABDIALOG
=no
1467 DEFAULT_wxUSE_TOOLBAR
=yes
1468 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1469 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1470 DEFAULT_wxUSE_TREECTRL
=yes
1472 DEFAULT_wxUSE_UNICODE
=no
1473 DEFAULT_wxUSE_WCSRTOMBS
=no
1475 DEFAULT_wxUSE_GIF
=yes
1476 DEFAULT_wxUSE_PCX
=yes
1477 DEFAULT_wxUSE_PNM
=yes
1482 for toolkit
in `echo $ALL_TOOLKITS`; do
1483 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1484 if test "x$LINE" != x
; then
1485 has_toolkit_in_cache
=1
1486 eval "DEFAULT_$LINE"
1487 eval "CACHE_$toolkit=1"
1493 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1494 echo "configure:1495: checking "for --enable-gui"" >&5
1496 # Check whether --enable-gui or --disable-gui was given.
1497 if test "${enable_gui+set}" = set; then
1498 enableval
="$enable_gui"
1500 if test "$enableval" = yes; then
1501 ac_cv_use_gui
='wxUSE_GUI=yes'
1503 ac_cv_use_gui
='wxUSE_GUI=no'
1508 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1509 if test "x$LINE" != x
; then
1510 eval "DEFAULT_$LINE"
1515 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1520 eval "$ac_cv_use_gui"
1521 if test "$no_cache" != 1; then
1522 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1525 if test "$wxUSE_GUI" = yes; then
1526 echo "$ac_t""yes" 1>&6
1528 echo "$ac_t""no" 1>&6
1532 if test "$wxUSE_GUI" = "yes"; then
1534 # Check whether --with-gtk or --without-gtk was given.
1535 if test "${with_gtk+set}" = set; then
1537 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-motif or --without-motif was given.
1541 if test "${with_motif+set}" = set; then
1542 withval
="$with_motif"
1543 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-wine or --without-wine was given.
1547 if test "${with_wine+set}" = set; then
1548 withval
="$with_wine"
1549 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1552 # Check whether --with-cygwin or --without-cygwin was given.
1553 if test "${with_cygwin+set}" = set; then
1554 withval
="$with_cygwin"
1555 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1558 # Check whether --with-mingw or --without-mingw was given.
1559 if test "${with_mingw+set}" = set; then
1560 withval
="$with_mingw"
1561 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1564 # Check whether --with-pm or --without-pm was given.
1565 if test "${with_pm+set}" = set; then
1567 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1571 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1572 if test "${with_gtk_prefix+set}" = set; then
1573 withval
="$with_gtk_prefix"
1574 gtk_config_prefix
="$withval"
1576 gtk_config_prefix
=""
1579 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1580 if test "${with_gtk_exec_prefix+set}" = set; then
1581 withval
="$with_gtk_exec_prefix"
1582 gtk_config_exec_prefix
="$withval"
1584 gtk_config_exec_prefix
=""
1589 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1590 echo "configure:1591: checking "for --with-libpng"" >&5
1592 # Check whether --with-libpng or --without-libpng was given.
1593 if test "${with_libpng+set}" = set; then
1594 withval
="$with_libpng"
1596 if test "$withval" = yes; then
1597 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1598 elif test "$withval" = no
; then
1599 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1600 elif test "$withval" = sys
; then
1601 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1603 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1608 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1609 if test "x$LINE" != x
; then
1610 eval "DEFAULT_$LINE"
1615 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1620 eval "$ac_cv_use_libpng"
1621 if test "$no_cache" != 1; then
1622 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1625 if test "$wxUSE_LIBPNG" = yes; then
1626 echo "$ac_t""yes" 1>&6
1627 elif test "$wxUSE_LIBPNG" = no
; then
1628 echo "$ac_t""no" 1>&6
1629 elif test "$wxUSE_LIBPNG" = sys
; then
1630 echo "$ac_t""system version" 1>&6
1632 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1636 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1637 echo "configure:1638: checking "for --with-libjpeg"" >&5
1639 # Check whether --with-libjpeg or --without-libjpeg was given.
1640 if test "${with_libjpeg+set}" = set; then
1641 withval
="$with_libjpeg"
1643 if test "$withval" = yes; then
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1645 elif test "$withval" = no
; then
1646 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1647 elif test "$withval" = sys
; then
1648 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1650 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1655 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1656 if test "x$LINE" != x
; then
1657 eval "DEFAULT_$LINE"
1662 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1667 eval "$ac_cv_use_libjpeg"
1668 if test "$no_cache" != 1; then
1669 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1672 if test "$wxUSE_LIBJPEG" = yes; then
1673 echo "$ac_t""yes" 1>&6
1674 elif test "$wxUSE_LIBJPEG" = no
; then
1675 echo "$ac_t""no" 1>&6
1676 elif test "$wxUSE_LIBJPEG" = sys
; then
1677 echo "$ac_t""system version" 1>&6
1679 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1683 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1684 echo "configure:1685: checking "for --with-libtiff"" >&5
1686 # Check whether --with-libtiff or --without-libtiff was given.
1687 if test "${with_libtiff+set}" = set; then
1688 withval
="$with_libtiff"
1690 if test "$withval" = yes; then
1691 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1692 elif test "$withval" = no
; then
1693 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1694 elif test "$withval" = sys
; then
1695 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1697 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1702 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1703 if test "x$LINE" != x
; then
1704 eval "DEFAULT_$LINE"
1709 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1714 eval "$ac_cv_use_libtiff"
1715 if test "$no_cache" != 1; then
1716 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1719 if test "$wxUSE_LIBTIFF" = yes; then
1720 echo "$ac_t""yes" 1>&6
1721 elif test "$wxUSE_LIBTIFF" = no
; then
1722 echo "$ac_t""no" 1>&6
1723 elif test "$wxUSE_LIBTIFF" = sys
; then
1724 echo "$ac_t""system version" 1>&6
1726 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1730 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1731 echo "configure:1732: checking "for --with-opengl"" >&5
1733 # Check whether --with-opengl or --without-opengl was given.
1734 if test "${with_opengl+set}" = set; then
1735 withval
="$with_opengl"
1737 if test "$withval" = yes; then
1738 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1740 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1745 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1746 if test "x$LINE" != x
; then
1747 eval "DEFAULT_$LINE"
1752 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1757 eval "$ac_cv_use_opengl"
1758 if test "$no_cache" != 1; then
1759 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1762 if test "$wxUSE_OPENGL" = yes; then
1763 echo "$ac_t""yes" 1>&6
1765 echo "$ac_t""no" 1>&6
1772 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1773 echo "configure:1774: checking "for --with-dmalloc"" >&5
1775 # Check whether --with-dmalloc or --without-dmalloc was given.
1776 if test "${with_dmalloc+set}" = set; then
1777 withval
="$with_dmalloc"
1779 if test "$withval" = yes; then
1780 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1782 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1787 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1788 if test "x$LINE" != x
; then
1789 eval "DEFAULT_$LINE"
1794 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1799 eval "$ac_cv_use_dmalloc"
1800 if test "$no_cache" != 1; then
1801 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1804 if test "$wxUSE_DMALLOC" = yes; then
1805 echo "$ac_t""yes" 1>&6
1807 echo "$ac_t""no" 1>&6
1811 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1812 echo "configure:1813: checking "for --with-zlib"" >&5
1814 # Check whether --with-zlib or --without-zlib was given.
1815 if test "${with_zlib+set}" = set; then
1816 withval
="$with_zlib"
1818 if test "$withval" = yes; then
1819 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1820 elif test "$withval" = no
; then
1821 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1822 elif test "$withval" = sys
; then
1823 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1825 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1830 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1831 if test "x$LINE" != x
; then
1832 eval "DEFAULT_$LINE"
1837 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1842 eval "$ac_cv_use_zlib"
1843 if test "$no_cache" != 1; then
1844 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1847 if test "$wxUSE_ZLIB" = yes; then
1848 echo "$ac_t""yes" 1>&6
1849 elif test "$wxUSE_ZLIB" = no
; then
1850 echo "$ac_t""no" 1>&6
1851 elif test "$wxUSE_ZLIB" = sys
; then
1852 echo "$ac_t""system version" 1>&6
1854 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1858 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1859 echo "configure:1860: checking "for --with-odbc"" >&5
1861 # Check whether --with-odbc or --without-odbc was given.
1862 if test "${with_odbc+set}" = set; then
1863 withval
="$with_odbc"
1865 if test "$withval" = yes; then
1866 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1868 ac_cv_use_odbc
='wxUSE_ODBC=no'
1873 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1874 if test "x$LINE" != x
; then
1875 eval "DEFAULT_$LINE"
1880 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1885 eval "$ac_cv_use_odbc"
1886 if test "$no_cache" != 1; then
1887 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1890 if test "$wxUSE_ODBC" = yes; then
1891 echo "$ac_t""yes" 1>&6
1893 echo "$ac_t""no" 1>&6
1900 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1901 echo "configure:1902: checking "for --enable-shared"" >&5
1903 # Check whether --enable-shared or --disable-shared was given.
1904 if test "${enable_shared+set}" = set; then
1905 enableval
="$enable_shared"
1907 if test "$enableval" = yes; then
1908 ac_cv_use_shared
='wxUSE_SHARED=yes'
1910 ac_cv_use_shared
='wxUSE_SHARED=no'
1915 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1916 if test "x$LINE" != x
; then
1917 eval "DEFAULT_$LINE"
1922 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1927 eval "$ac_cv_use_shared"
1928 if test "$no_cache" != 1; then
1929 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1932 if test "$wxUSE_SHARED" = yes; then
1933 echo "$ac_t""yes" 1>&6
1935 echo "$ac_t""no" 1>&6
1939 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1940 echo "configure:1941: checking "for --enable-burnt_name"" >&5
1942 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1943 if test "${enable_burnt_name+set}" = set; then
1944 enableval
="$enable_burnt_name"
1946 if test "$enableval" = yes; then
1947 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1949 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1954 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1955 if test "x$LINE" != x
; then
1956 eval "DEFAULT_$LINE"
1961 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1966 eval "$ac_cv_use_burnt_name"
1967 if test "$no_cache" != 1; then
1968 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1971 if test "$wxUSE_BURNT_NAME" = yes; then
1972 echo "$ac_t""yes" 1>&6
1974 echo "$ac_t""no" 1>&6
1978 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1979 echo "configure:1980: checking "for --enable-optimise"" >&5
1981 # Check whether --enable-optimise or --disable-optimise was given.
1982 if test "${enable_optimise+set}" = set; then
1983 enableval
="$enable_optimise"
1985 if test "$enableval" = yes; then
1986 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1988 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1993 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1994 if test "x$LINE" != x
; then
1995 eval "DEFAULT_$LINE"
2000 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2005 eval "$ac_cv_use_optimise"
2006 if test "$no_cache" != 1; then
2007 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2010 if test "$wxUSE_OPTIMISE" = yes; then
2011 echo "$ac_t""yes" 1>&6
2013 echo "$ac_t""no" 1>&6
2017 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2018 echo "configure:2019: checking "for --enable-debug"" >&5
2020 # Check whether --enable-debug or --disable-debug was given.
2021 if test "${enable_debug+set}" = set; then
2022 enableval
="$enable_debug"
2024 if test "$enableval" = yes; then
2025 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2027 ac_cv_use_debug
='wxUSE_DEBUG=no'
2032 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2033 if test "x$LINE" != x
; then
2034 eval "DEFAULT_$LINE"
2039 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2044 eval "$ac_cv_use_debug"
2045 if test "$no_cache" != 1; then
2046 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2049 if test "$wxUSE_DEBUG" = yes; then
2050 echo "$ac_t""yes" 1>&6
2052 echo "$ac_t""no" 1>&6
2056 if test "$wxUSE_DEBUG" = "yes"; then
2057 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2058 DEFAULT_wxUSE_DEBUG_INFO
=yes
2059 elif test "$wxUSE_DEBUG" = "no"; then
2060 DEFAULT_wxUSE_DEBUG_FLAG
=no
2061 DEFAULT_wxUSE_DEBUG_INFO
=no
2065 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2066 echo "configure:2067: checking "for --enable-debug_flag"" >&5
2068 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2069 if test "${enable_debug_flag+set}" = set; then
2070 enableval
="$enable_debug_flag"
2072 if test "$enableval" = yes; then
2073 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2075 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2080 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2081 if test "x$LINE" != x
; then
2082 eval "DEFAULT_$LINE"
2087 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2092 eval "$ac_cv_use_debug_flag"
2093 if test "$no_cache" != 1; then
2094 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2097 if test "$wxUSE_DEBUG_FLAG" = yes; then
2098 echo "$ac_t""yes" 1>&6
2100 echo "$ac_t""no" 1>&6
2104 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2105 echo "configure:2106: checking "for --enable-debug_info"" >&5
2107 # Check whether --enable-debug_info or --disable-debug_info was given.
2108 if test "${enable_debug_info+set}" = set; then
2109 enableval
="$enable_debug_info"
2111 if test "$enableval" = yes; then
2112 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2114 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2119 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2120 if test "x$LINE" != x
; then
2121 eval "DEFAULT_$LINE"
2126 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2131 eval "$ac_cv_use_debug_info"
2132 if test "$no_cache" != 1; then
2133 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2136 if test "$wxUSE_DEBUG_INFO" = yes; then
2137 echo "$ac_t""yes" 1>&6
2139 echo "$ac_t""no" 1>&6
2143 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2144 echo "configure:2145: checking "for --enable-debug_gdb"" >&5
2146 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2147 if test "${enable_debug_gdb+set}" = set; then
2148 enableval
="$enable_debug_gdb"
2150 if test "$enableval" = yes; then
2151 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2153 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2158 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2159 if test "x$LINE" != x
; then
2160 eval "DEFAULT_$LINE"
2165 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2170 eval "$ac_cv_use_debug_gdb"
2171 if test "$no_cache" != 1; then
2172 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2175 if test "$wxUSE_DEBUG_GDB" = yes; then
2176 echo "$ac_t""yes" 1>&6
2178 echo "$ac_t""no" 1>&6
2182 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2183 echo "configure:2184: checking "for --enable-debug_cntxt"" >&5
2185 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2186 if test "${enable_debug_cntxt+set}" = set; then
2187 enableval
="$enable_debug_cntxt"
2189 if test "$enableval" = yes; then
2190 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2192 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2197 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2198 if test "x$LINE" != x
; then
2199 eval "DEFAULT_$LINE"
2204 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2209 eval "$ac_cv_use_debug_cntxt"
2210 if test "$no_cache" != 1; then
2211 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2214 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2215 echo "$ac_t""yes" 1>&6
2217 echo "$ac_t""no" 1>&6
2221 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2222 echo "configure:2223: checking "for --enable-mem_tracing"" >&5
2224 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2225 if test "${enable_mem_tracing+set}" = set; then
2226 enableval
="$enable_mem_tracing"
2228 if test "$enableval" = yes; then
2229 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2231 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2236 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2237 if test "x$LINE" != x
; then
2238 eval "DEFAULT_$LINE"
2243 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2248 eval "$ac_cv_use_mem_tracing"
2249 if test "$no_cache" != 1; then
2250 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2253 if test "$wxUSE_MEM_TRACING" = yes; then
2254 echo "$ac_t""yes" 1>&6
2256 echo "$ac_t""no" 1>&6
2260 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2261 echo "configure:2262: checking "for --enable-profile"" >&5
2263 # Check whether --enable-profile or --disable-profile was given.
2264 if test "${enable_profile+set}" = set; then
2265 enableval
="$enable_profile"
2267 if test "$enableval" = yes; then
2268 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2270 ac_cv_use_profile
='wxUSE_PROFILE=no'
2275 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2276 if test "x$LINE" != x
; then
2277 eval "DEFAULT_$LINE"
2282 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2287 eval "$ac_cv_use_profile"
2288 if test "$no_cache" != 1; then
2289 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2292 if test "$wxUSE_PROFILE" = yes; then
2293 echo "$ac_t""yes" 1>&6
2295 echo "$ac_t""no" 1>&6
2299 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2300 echo "configure:2301: checking "for --enable-no_rtti"" >&5
2302 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2303 if test "${enable_no_rtti+set}" = set; then
2304 enableval
="$enable_no_rtti"
2306 if test "$enableval" = yes; then
2307 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2309 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2314 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2315 if test "x$LINE" != x
; then
2316 eval "DEFAULT_$LINE"
2321 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2326 eval "$ac_cv_use_no_rtti"
2327 if test "$no_cache" != 1; then
2328 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2331 if test "$wxUSE_NO_RTTI" = yes; then
2332 echo "$ac_t""yes" 1>&6
2334 echo "$ac_t""no" 1>&6
2338 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2339 echo "configure:2340: checking "for --enable-no_exceptions"" >&5
2341 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2342 if test "${enable_no_exceptions+set}" = set; then
2343 enableval
="$enable_no_exceptions"
2345 if test "$enableval" = yes; then
2346 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2348 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2353 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2354 if test "x$LINE" != x
; then
2355 eval "DEFAULT_$LINE"
2360 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2365 eval "$ac_cv_use_no_exceptions"
2366 if test "$no_cache" != 1; then
2367 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2370 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2371 echo "$ac_t""yes" 1>&6
2373 echo "$ac_t""no" 1>&6
2377 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2378 echo "configure:2379: checking "for --enable-permissive"" >&5
2380 # Check whether --enable-permissive or --disable-permissive was given.
2381 if test "${enable_permissive+set}" = set; then
2382 enableval
="$enable_permissive"
2384 if test "$enableval" = yes; then
2385 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2387 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2392 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2393 if test "x$LINE" != x
; then
2394 eval "DEFAULT_$LINE"
2399 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2404 eval "$ac_cv_use_permissive"
2405 if test "$no_cache" != 1; then
2406 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2409 if test "$wxUSE_PERMISSIVE" = yes; then
2410 echo "$ac_t""yes" 1>&6
2412 echo "$ac_t""no" 1>&6
2416 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2417 echo "configure:2418: checking "for --enable-no_deps"" >&5
2419 # Check whether --enable-no_deps or --disable-no_deps was given.
2420 if test "${enable_no_deps+set}" = set; then
2421 enableval
="$enable_no_deps"
2423 if test "$enableval" = yes; then
2424 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2426 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2431 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2432 if test "x$LINE" != x
; then
2433 eval "DEFAULT_$LINE"
2438 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2443 eval "$ac_cv_use_no_deps"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_NO_DEPS" = yes; then
2449 echo "$ac_t""yes" 1>&6
2451 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2458 echo "configure:2459: checking "for --enable-intl"" >&5
2460 # Check whether --enable-intl or --disable-intl was given.
2461 if test "${enable_intl+set}" = set; then
2462 enableval
="$enable_intl"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_intl
='wxUSE_INTL=yes'
2467 ac_cv_use_intl
='wxUSE_INTL=no'
2472 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2484 eval "$ac_cv_use_intl"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_INTL" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2496 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2497 echo "configure:2498: checking "for --enable-config"" >&5
2499 # Check whether --enable-config or --disable-config was given.
2500 if test "${enable_config+set}" = set; then
2501 enableval
="$enable_config"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_config
='wxUSE_CONFIG=yes'
2506 ac_cv_use_config
='wxUSE_CONFIG=no'
2511 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x
; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2523 eval "$ac_cv_use_config"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2528 if test "$wxUSE_CONFIG" = yes; then
2529 echo "$ac_t""yes" 1>&6
2531 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2537 echo "configure:2538: checking "for --enable-sockets"" >&5
2539 # Check whether --enable-sockets or --disable-sockets was given.
2540 if test "${enable_sockets+set}" = set; then
2541 enableval
="$enable_sockets"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2546 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2551 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2563 eval "$ac_cv_use_sockets"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_SOCKETS" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2576 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2577 echo "configure:2578: checking "for --enable-ipc"" >&5
2579 # Check whether --enable-ipc or --disable-ipc was given.
2580 if test "${enable_ipc+set}" = set; then
2581 enableval
="$enable_ipc"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_ipc
='wxUSE_IPC=yes'
2586 ac_cv_use_ipc
='wxUSE_IPC=no'
2591 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x
; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2603 eval "$ac_cv_use_ipc"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2608 if test "$wxUSE_IPC" = yes; then
2609 echo "$ac_t""yes" 1>&6
2611 echo "$ac_t""no" 1>&6
2616 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2617 echo "configure:2618: checking "for --enable-dialupman"" >&5
2619 # Check whether --enable-dialupman or --disable-dialupman was given.
2620 if test "${enable_dialupman+set}" = set; then
2621 enableval
="$enable_dialupman"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2626 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2631 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2643 eval "$ac_cv_use_dialupman"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2649 echo "$ac_t""yes" 1>&6
2651 echo "$ac_t""no" 1>&6
2655 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2656 echo "configure:2657: checking "for --enable-apple_ieee"" >&5
2658 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2659 if test "${enable_apple_ieee+set}" = set; then
2660 enableval
="$enable_apple_ieee"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2665 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2670 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x
; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2682 eval "$ac_cv_use_apple_ieee"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_APPLE_IEEE" = yes; then
2688 echo "$ac_t""yes" 1>&6
2690 echo "$ac_t""no" 1>&6
2694 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2695 echo "configure:2696: checking "for --enable-timedate"" >&5
2697 # Check whether --enable-timedate or --disable-timedate was given.
2698 if test "${enable_timedate+set}" = set; then
2699 enableval
="$enable_timedate"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2704 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2709 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2721 eval "$ac_cv_use_timedate"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_TIMEDATE" = yes; then
2727 echo "$ac_t""yes" 1>&6
2729 echo "$ac_t""no" 1>&6
2733 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2734 echo "configure:2735: checking "for --enable-wave"" >&5
2736 # Check whether --enable-wave or --disable-wave was given.
2737 if test "${enable_wave+set}" = set; then
2738 enableval
="$enable_wave"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_wave
='wxUSE_WAVE=yes'
2743 ac_cv_use_wave
='wxUSE_WAVE=no'
2748 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2760 eval "$ac_cv_use_wave"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_WAVE" = yes; then
2766 echo "$ac_t""yes" 1>&6
2768 echo "$ac_t""no" 1>&6
2772 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2773 echo "configure:2774: checking "for --enable-fraction"" >&5
2775 # Check whether --enable-fraction or --disable-fraction was given.
2776 if test "${enable_fraction+set}" = set; then
2777 enableval
="$enable_fraction"
2779 if test "$enableval" = yes; then
2780 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2782 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2787 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2799 eval "$ac_cv_use_fraction"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_FRACTION" = yes; then
2805 echo "$ac_t""yes" 1>&6
2807 echo "$ac_t""no" 1>&6
2811 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2812 echo "configure:2813: checking "for --enable-dynlib"" >&5
2814 # Check whether --enable-dynlib or --disable-dynlib was given.
2815 if test "${enable_dynlib+set}" = set; then
2816 enableval
="$enable_dynlib"
2818 if test "$enableval" = yes; then
2819 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2821 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2826 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2838 eval "$ac_cv_use_dynlib"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2843 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2844 echo "$ac_t""yes" 1>&6
2846 echo "$ac_t""no" 1>&6
2850 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2851 echo "configure:2852: checking "for --enable-longlong"" >&5
2853 # Check whether --enable-longlong or --disable-longlong was given.
2854 if test "${enable_longlong+set}" = set; then
2855 enableval
="$enable_longlong"
2857 if test "$enableval" = yes; then
2858 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2860 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2865 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2877 eval "$ac_cv_use_longlong"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_LONGLONG" = yes; then
2883 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2889 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2890 echo "configure:2891: checking "for --enable-log"" >&5
2892 # Check whether --enable-log or --disable-log was given.
2893 if test "${enable_log+set}" = set; then
2894 enableval
="$enable_log"
2896 if test "$enableval" = yes; then
2897 ac_cv_use_log
='wxUSE_LOG=yes'
2899 ac_cv_use_log
='wxUSE_LOG=no'
2904 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x
; then
2906 eval "DEFAULT_$LINE"
2911 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2916 eval "$ac_cv_use_log"
2917 if test "$no_cache" != 1; then
2918 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2921 if test "$wxUSE_LOG" = yes; then
2922 echo "$ac_t""yes" 1>&6
2924 echo "$ac_t""no" 1>&6
2928 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2929 echo "configure:2930: checking "for --enable-streams"" >&5
2931 # Check whether --enable-streams or --disable-streams was given.
2932 if test "${enable_streams+set}" = set; then
2933 enableval
="$enable_streams"
2935 if test "$enableval" = yes; then
2936 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2938 ac_cv_use_streams
='wxUSE_STREAMS=no'
2943 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2955 eval "$ac_cv_use_streams"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_STREAMS" = yes; then
2961 echo "$ac_t""yes" 1>&6
2963 echo "$ac_t""no" 1>&6
2967 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2968 echo "configure:2969: checking "for --enable-file"" >&5
2970 # Check whether --enable-file or --disable-file was given.
2971 if test "${enable_file+set}" = set; then
2972 enableval
="$enable_file"
2974 if test "$enableval" = yes; then
2975 ac_cv_use_file
='wxUSE_FILE=yes'
2977 ac_cv_use_file
='wxUSE_FILE=no'
2982 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2983 if test "x$LINE" != x
; then
2984 eval "DEFAULT_$LINE"
2989 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2994 eval "$ac_cv_use_file"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_FILE" = yes; then
3000 echo "$ac_t""yes" 1>&6
3002 echo "$ac_t""no" 1>&6
3006 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3007 echo "configure:3008: checking "for --enable-textfile"" >&5
3009 # Check whether --enable-textfile or --disable-textfile was given.
3010 if test "${enable_textfile+set}" = set; then
3011 enableval
="$enable_textfile"
3013 if test "$enableval" = yes; then
3014 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3016 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3021 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x
; then
3023 eval "DEFAULT_$LINE"
3028 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3033 eval "$ac_cv_use_textfile"
3034 if test "$no_cache" != 1; then
3035 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3038 if test "$wxUSE_TEXTFILE" = yes; then
3039 echo "$ac_t""yes" 1>&6
3041 echo "$ac_t""no" 1>&6
3045 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3046 echo "configure:3047: checking "for --enable-unicode"" >&5
3048 # Check whether --enable-unicode or --disable-unicode was given.
3049 if test "${enable_unicode+set}" = set; then
3050 enableval
="$enable_unicode"
3052 if test "$enableval" = yes; then
3053 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3055 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3060 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3061 if test "x$LINE" != x
; then
3062 eval "DEFAULT_$LINE"
3067 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3072 eval "$ac_cv_use_unicode"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_UNICODE" = yes; then
3078 echo "$ac_t""yes" 1>&6
3080 echo "$ac_t""no" 1>&6
3084 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3085 echo "configure:3086: checking "for --enable-wcsrtombs"" >&5
3087 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3088 if test "${enable_wcsrtombs+set}" = set; then
3089 enableval
="$enable_wcsrtombs"
3091 if test "$enableval" = yes; then
3092 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3094 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3099 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x
; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3111 eval "$ac_cv_use_wcsrtombs"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_WCSRTOMBS" = yes; then
3117 echo "$ac_t""yes" 1>&6
3119 echo "$ac_t""no" 1>&6
3123 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3124 echo "configure:3125: checking "for --enable-wxprintfv"" >&5
3126 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3127 if test "${enable_wxprintfv+set}" = set; then
3128 enableval
="$enable_wxprintfv"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3133 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3138 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3150 eval "$ac_cv_use_wxprintfv"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3162 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3163 echo "configure:3164: checking "for --enable-joystick"" >&5
3165 # Check whether --enable-joystick or --disable-joystick was given.
3166 if test "${enable_joystick+set}" = set; then
3167 enableval
="$enable_joystick"
3169 if test "$enableval" = yes; then
3170 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3172 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3177 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x
; then
3179 eval "DEFAULT_$LINE"
3184 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3189 eval "$ac_cv_use_joystick"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3194 if test "$wxUSE_JOYSTICK" = yes; then
3195 echo "$ac_t""yes" 1>&6
3197 echo "$ac_t""no" 1>&6
3201 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3202 echo "configure:3203: checking "for --enable-std_iostreams"" >&5
3204 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3205 if test "${enable_std_iostreams+set}" = set; then
3206 enableval
="$enable_std_iostreams"
3208 if test "$enableval" = yes; then
3209 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3211 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3216 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x
; then
3218 eval "DEFAULT_$LINE"
3223 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3228 eval "$ac_cv_use_std_iostreams"
3229 if test "$no_cache" != 1; then
3230 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3233 if test "$wxUSE_STD_IOSTREAM" = yes; then
3234 echo "$ac_t""yes" 1>&6
3236 echo "$ac_t""no" 1>&6
3240 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3241 echo "configure:3242: checking "for --enable-filesystem"" >&5
3243 # Check whether --enable-filesystem or --disable-filesystem was given.
3244 if test "${enable_filesystem+set}" = set; then
3245 enableval
="$enable_filesystem"
3247 if test "$enableval" = yes; then
3248 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3250 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3255 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x
; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3267 eval "$ac_cv_use_filesystem"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_FILESYSTEM" = yes; then
3273 echo "$ac_t""yes" 1>&6
3275 echo "$ac_t""no" 1>&6
3279 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3280 echo "configure:3281: checking "for --enable-fs_inet"" >&5
3282 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3283 if test "${enable_fs_inet+set}" = set; then
3284 enableval
="$enable_fs_inet"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3289 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3294 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3306 eval "$ac_cv_use_fs_inet"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_FS_INET" = yes; then
3312 echo "$ac_t""yes" 1>&6
3314 echo "$ac_t""no" 1>&6
3318 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3319 echo "configure:3320: checking "for --enable-fs_zip"" >&5
3321 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3322 if test "${enable_fs_zip+set}" = set; then
3323 enableval
="$enable_fs_zip"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3328 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3333 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x
; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3345 eval "$ac_cv_use_fs_zip"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3350 if test "$wxUSE_FS_ZIP" = yes; then
3351 echo "$ac_t""yes" 1>&6
3353 echo "$ac_t""no" 1>&6
3357 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3358 echo "configure:3359: checking "for --enable-zipstream"" >&5
3360 # Check whether --enable-zipstream or --disable-zipstream was given.
3361 if test "${enable_zipstream+set}" = set; then
3362 enableval
="$enable_zipstream"
3364 if test "$enableval" = yes; then
3365 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3367 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3372 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x
; then
3374 eval "DEFAULT_$LINE"
3379 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3384 eval "$ac_cv_use_zipstream"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3389 if test "$wxUSE_ZIPSTREAM" = yes; then
3390 echo "$ac_t""yes" 1>&6
3392 echo "$ac_t""no" 1>&6
3397 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3398 echo "configure:3399: checking "for --enable-catch_segvs"" >&5
3400 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3401 if test "${enable_catch_segvs+set}" = set; then
3402 enableval
="$enable_catch_segvs"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3407 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3412 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3424 eval "$ac_cv_use_catch_segvs"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3430 echo "$ac_t""yes" 1>&6
3432 echo "$ac_t""no" 1>&6
3438 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3439 echo "configure:3440: checking "for --enable-threads"" >&5
3441 # Check whether --enable-threads or --disable-threads was given.
3442 if test "${enable_threads+set}" = set; then
3443 enableval
="$enable_threads"
3445 if test "$enableval" = yes; then
3446 ac_cv_use_threads
='wxUSE_THREADS=yes'
3448 ac_cv_use_threads
='wxUSE_THREADS=no'
3453 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x
; then
3455 eval "DEFAULT_$LINE"
3460 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3465 eval "$ac_cv_use_threads"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3470 if test "$wxUSE_THREADS" = yes; then
3471 echo "$ac_t""yes" 1>&6
3473 echo "$ac_t""no" 1>&6
3477 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3478 echo "configure:3479: checking "for --enable-serial"" >&5
3480 # Check whether --enable-serial or --disable-serial was given.
3481 if test "${enable_serial+set}" = set; then
3482 enableval
="$enable_serial"
3484 if test "$enableval" = yes; then
3485 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3487 ac_cv_use_serial
='wxUSE_SERIAL=no'
3492 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x
; then
3494 eval "DEFAULT_$LINE"
3499 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3504 eval "$ac_cv_use_serial"
3505 if test "$no_cache" != 1; then
3506 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3509 if test "$wxUSE_SERIAL" = yes; then
3510 echo "$ac_t""yes" 1>&6
3512 echo "$ac_t""no" 1>&6
3516 if test "$wxUSE_GUI" = "yes"; then
3520 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3521 echo "configure:3522: checking "for --enable-docview"" >&5
3523 # Check whether --enable-docview or --disable-docview was given.
3524 if test "${enable_docview+set}" = set; then
3525 enableval
="$enable_docview"
3527 if test "$enableval" = yes; then
3528 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3530 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3535 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x
; then
3537 eval "DEFAULT_$LINE"
3542 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3547 eval "$ac_cv_use_docview"
3548 if test "$no_cache" != 1; then
3549 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3552 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3553 echo "$ac_t""yes" 1>&6
3555 echo "$ac_t""no" 1>&6
3559 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3560 echo "configure:3561: checking "for --enable-help"" >&5
3562 # Check whether --enable-help or --disable-help was given.
3563 if test "${enable_help+set}" = set; then
3564 enableval
="$enable_help"
3566 if test "$enableval" = yes; then
3567 ac_cv_use_help
='wxUSE_HELP=yes'
3569 ac_cv_use_help
='wxUSE_HELP=no'
3574 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x
; then
3576 eval "DEFAULT_$LINE"
3581 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3586 eval "$ac_cv_use_help"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_HELP" = yes; then
3592 echo "$ac_t""yes" 1>&6
3594 echo "$ac_t""no" 1>&6
3598 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3599 echo "configure:3600: checking "for --enable-constraints"" >&5
3601 # Check whether --enable-constraints or --disable-constraints was given.
3602 if test "${enable_constraints+set}" = set; then
3603 enableval
="$enable_constraints"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3608 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3613 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x
; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3625 eval "$ac_cv_use_constraints"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3630 if test "$wxUSE_CONSTRAINTS" = yes; then
3631 echo "$ac_t""yes" 1>&6
3633 echo "$ac_t""no" 1>&6
3637 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3638 echo "configure:3639: checking "for --enable-printarch"" >&5
3640 # Check whether --enable-printarch or --disable-printarch was given.
3641 if test "${enable_printarch+set}" = set; then
3642 enableval
="$enable_printarch"
3644 if test "$enableval" = yes; then
3645 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3647 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3652 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x
; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3664 eval "$ac_cv_use_printarch"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3669 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3670 echo "$ac_t""yes" 1>&6
3672 echo "$ac_t""no" 1>&6
3676 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3677 echo "configure:3678: checking "for --enable-mdi"" >&5
3679 # Check whether --enable-mdi or --disable-mdi was given.
3680 if test "${enable_mdi+set}" = set; then
3681 enableval
="$enable_mdi"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3686 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3691 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3703 eval "$ac_cv_use_mdi"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3708 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3709 echo "$ac_t""yes" 1>&6
3711 echo "$ac_t""no" 1>&6
3716 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3717 echo "configure:3718: checking "for --enable-postscript"" >&5
3719 # Check whether --enable-postscript or --disable-postscript was given.
3720 if test "${enable_postscript+set}" = set; then
3721 enableval
="$enable_postscript"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3726 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3731 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3743 eval "$ac_cv_use_postscript"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_POSTSCRIPT" = yes; then
3749 echo "$ac_t""yes" 1>&6
3751 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3758 echo "configure:3759: checking "for --enable-prologio"" >&5
3760 # Check whether --enable-prologio or --disable-prologio was given.
3761 if test "${enable_prologio+set}" = set; then
3762 enableval
="$enable_prologio"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3767 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3772 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3784 eval "$ac_cv_use_prologio"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_PROLOGIO" = yes; then
3790 echo "$ac_t""yes" 1>&6
3792 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3797 echo "configure:3798: checking "for --enable-resources"" >&5
3799 # Check whether --enable-resources or --disable-resources was given.
3800 if test "${enable_resources+set}" = set; then
3801 enableval
="$enable_resources"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3806 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3811 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3823 eval "$ac_cv_use_resources"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_RESOURCES" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3836 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3837 echo "configure:3838: checking "for --enable-xresources"" >&5
3839 # Check whether --enable-xresources or --disable-xresources was given.
3840 if test "${enable_xresources+set}" = set; then
3841 enableval
="$enable_xresources"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3846 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3851 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x
; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3863 eval "$ac_cv_use_xresources"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_X_RESOURCES" = yes; then
3869 echo "$ac_t""yes" 1>&6
3871 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3878 echo "configure:3879: checking "for --enable-clipboard"" >&5
3880 # Check whether --enable-clipboard or --disable-clipboard was given.
3881 if test "${enable_clipboard+set}" = set; then
3882 enableval
="$enable_clipboard"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3887 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3892 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3904 eval "$ac_cv_use_clipboard"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_CLIPBOARD" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3917 echo "configure:3918: checking "for --enable-dnd"" >&5
3919 # Check whether --enable-dnd or --disable-dnd was given.
3920 if test "${enable_dnd+set}" = set; then
3921 enableval
="$enable_dnd"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3926 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3931 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3943 eval "$ac_cv_use_dnd"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3956 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3957 echo "configure:3958: checking "for --enable-wxtree"" >&5
3959 # Check whether --enable-wxtree or --disable-wxtree was given.
3960 if test "${enable_wxtree+set}" = set; then
3961 enableval
="$enable_wxtree"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3966 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3971 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3983 eval "$ac_cv_use_wxtree"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_WXTREE" = yes; then
3989 echo "$ac_t""yes" 1>&6
3991 echo "$ac_t""no" 1>&6
3997 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3998 echo "configure:3999: checking "for --enable-controls"" >&5
4000 # Check whether --enable-controls or --disable-controls was given.
4001 if test "${enable_controls+set}" = set; then
4002 enableval
="$enable_controls"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4007 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4012 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4024 eval "$ac_cv_use_controls"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4029 if test "$wxUSE_CONTROLS" = yes; then
4030 echo "$ac_t""yes" 1>&6
4032 echo "$ac_t""no" 1>&6
4036 if test "$wxUSE_CONTROLS" = "yes"; then
4037 DEFAULT_wxUSE_ACCEL
=yes
4038 DEFAULT_wxUSE_CARET
=yes
4039 DEFAULT_wxUSE_COMBOBOX
=yes
4040 DEFAULT_wxUSE_BMPBUTTON
=yes
4041 DEFAULT_wxUSE_CHECKBOX
=yes
4042 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4043 DEFAULT_wxUSE_CHOICE
=yes
4044 DEFAULT_wxUSE_GAUGE
=yes
4045 DEFAULT_wxUSE_GRID
=yes
4046 DEFAULT_wxUSE_NEW_GRID
=yes
4047 DEFAULT_wxUSE_IMAGLIST
=yes
4048 DEFAULT_wxUSE_LISTBOX
=yes
4049 DEFAULT_wxUSE_LISTCTRL
=yes
4050 DEFAULT_wxUSE_NOTEBOOK
=yes
4051 DEFAULT_wxUSE_RADIOBOX
=yes
4052 DEFAULT_wxUSE_RADIOBTN
=yes
4053 DEFAULT_wxUSE_SASH
=yes
4054 DEFAULT_wxUSE_SCROLLBAR
=yes
4055 DEFAULT_wxUSE_SLIDER
=yes
4056 DEFAULT_wxUSE_SPINBTN
=yes
4057 DEFAULT_wxUSE_SPINCTRL
=yes
4058 DEFAULT_wxUSE_SPLITTER
=yes
4059 DEFAULT_wxUSE_STATBMP
=yes
4060 DEFAULT_wxUSE_STATBOX
=yes
4061 DEFAULT_wxUSE_STATLINE
=yes
4062 DEFAULT_wxUSE_STATUSBAR
=yes
4063 DEFAULT_wxUSE_TAB_DIALOG
=yes
4064 DEFAULT_wxUSE_TOOLBAR
=yes
4065 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4066 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4067 DEFAULT_wxUSE_TOOLTIPS
=yes
4068 DEFAULT_wxUSE_TREECTRL
=yes
4069 elif test "$wxUSE_CONTROLS" = "no"; then
4070 DEFAULT_wxUSE_ACCEL
=no
4071 DEFAULT_wxUSE_CARET
=no
4072 DEFAULT_wxUSE_COMBOBOX
=no
4073 DEFAULT_wxUSE_BMPBUTTON
=no
4074 DEFAULT_wxUSE_CHECKBOX
=no
4075 DEFAULT_wxUSE_CHECKLISTBOX
=no
4076 DEFAULT_wxUSE_CHOICE
=no
4077 DEFAULT_wxUSE_GAUGE
=no
4078 DEFAULT_wxUSE_GRID
=no
4079 DEFAULT_wxUSE_NEW_GRID
=no
4080 DEFAULT_wxUSE_IMAGLIST
=no
4081 DEFAULT_wxUSE_LISTBOX
=no
4082 DEFAULT_wxUSE_LISTCTRL
=no
4083 DEFAULT_wxUSE_NOTEBOOK
=no
4084 DEFAULT_wxUSE_RADIOBOX
=no
4085 DEFAULT_wxUSE_RADIOBTN
=no
4086 DEFAULT_wxUSE_SASH
=no
4087 DEFAULT_wxUSE_SCROLLBAR
=no
4088 DEFAULT_wxUSE_SLIDER
=no
4089 DEFAULT_wxUSE_SPINBTN
=no
4090 DEFAULT_wxUSE_SPINCTRL
=no
4091 DEFAULT_wxUSE_SPLITTER
=no
4092 DEFAULT_wxUSE_STATBMP
=no
4093 DEFAULT_wxUSE_STATBOX
=no
4094 DEFAULT_wxUSE_STATLINE
=no
4095 DEFAULT_wxUSE_STATUSBAR
=no
4096 DEFAULT_wxUSE_TAB_DIALOG
=no
4097 DEFAULT_wxUSE_TOOLBAR
=no
4098 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4099 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4100 DEFAULT_wxUSE_TOOLTIPS
=no
4101 DEFAULT_wxUSE_TREECTRL
=no
4105 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4106 echo "configure:4107: checking "for --enable-accel"" >&5
4108 # Check whether --enable-accel or --disable-accel was given.
4109 if test "${enable_accel+set}" = set; then
4110 enableval
="$enable_accel"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4115 ac_cv_use_accel
='wxUSE_ACCEL=no'
4120 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4132 eval "$ac_cv_use_accel"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_ACCEL" = yes; then
4138 echo "$ac_t""yes" 1>&6
4140 echo "$ac_t""no" 1>&6
4144 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4145 echo "configure:4146: checking "for --enable-caret"" >&5
4147 # Check whether --enable-caret or --disable-caret was given.
4148 if test "${enable_caret+set}" = set; then
4149 enableval
="$enable_caret"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_caret
='wxUSE_CARET=yes'
4154 ac_cv_use_caret
='wxUSE_CARET=no'
4159 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x
; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4171 eval "$ac_cv_use_caret"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_CARET" = yes; then
4177 echo "$ac_t""yes" 1>&6
4179 echo "$ac_t""no" 1>&6
4183 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4184 echo "configure:4185: checking "for --enable-bmpbutton"" >&5
4186 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4187 if test "${enable_bmpbutton+set}" = set; then
4188 enableval
="$enable_bmpbutton"
4190 if test "$enableval" = yes; then
4191 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4193 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4198 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4199 if test "x$LINE" != x
; then
4200 eval "DEFAULT_$LINE"
4205 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4210 eval "$ac_cv_use_bmpbutton"
4211 if test "$no_cache" != 1; then
4212 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4215 if test "$wxUSE_BMPBUTTON" = yes; then
4216 echo "$ac_t""yes" 1>&6
4218 echo "$ac_t""no" 1>&6
4222 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4223 echo "configure:4224: checking "for --enable-checkbox"" >&5
4225 # Check whether --enable-checkbox or --disable-checkbox was given.
4226 if test "${enable_checkbox+set}" = set; then
4227 enableval
="$enable_checkbox"
4229 if test "$enableval" = yes; then
4230 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4232 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4237 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x
; then
4239 eval "DEFAULT_$LINE"
4244 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4249 eval "$ac_cv_use_checkbox"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4254 if test "$wxUSE_CHECKBOX" = yes; then
4255 echo "$ac_t""yes" 1>&6
4257 echo "$ac_t""no" 1>&6
4261 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4262 echo "configure:4263: checking "for --enable-checklst"" >&5
4264 # Check whether --enable-checklst or --disable-checklst was given.
4265 if test "${enable_checklst+set}" = set; then
4266 enableval
="$enable_checklst"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4271 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4276 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x
; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4288 eval "$ac_cv_use_checklst"
4289 if test "$no_cache" != 1; then
4290 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4293 if test "$wxUSE_CHECKLST" = yes; then
4294 echo "$ac_t""yes" 1>&6
4296 echo "$ac_t""no" 1>&6
4300 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4301 echo "configure:4302: checking "for --enable-choice"" >&5
4303 # Check whether --enable-choice or --disable-choice was given.
4304 if test "${enable_choice+set}" = set; then
4305 enableval
="$enable_choice"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4310 ac_cv_use_choice
='wxUSE_CHOICE=no'
4315 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x
; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4327 eval "$ac_cv_use_choice"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4332 if test "$wxUSE_CHOICE" = yes; then
4333 echo "$ac_t""yes" 1>&6
4335 echo "$ac_t""no" 1>&6
4339 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4340 echo "configure:4341: checking "for --enable-combobox"" >&5
4342 # Check whether --enable-combobox or --disable-combobox was given.
4343 if test "${enable_combobox+set}" = set; then
4344 enableval
="$enable_combobox"
4346 if test "$enableval" = yes; then
4347 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4349 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4354 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4355 if test "x$LINE" != x
; then
4356 eval "DEFAULT_$LINE"
4361 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4366 eval "$ac_cv_use_combobox"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_COMBOBOX" = yes; then
4372 echo "$ac_t""yes" 1>&6
4374 echo "$ac_t""no" 1>&6
4378 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4379 echo "configure:4380: checking "for --enable-gauge"" >&5
4381 # Check whether --enable-gauge or --disable-gauge was given.
4382 if test "${enable_gauge+set}" = set; then
4383 enableval
="$enable_gauge"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4388 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4393 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4405 eval "$ac_cv_use_gauge"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_GAUGE" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4417 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4418 echo "configure:4419: checking "for --enable-grid"" >&5
4420 # Check whether --enable-grid or --disable-grid was given.
4421 if test "${enable_grid+set}" = set; then
4422 enableval
="$enable_grid"
4424 if test "$enableval" = yes; then
4425 ac_cv_use_grid
='wxUSE_GRID=yes'
4427 ac_cv_use_grid
='wxUSE_GRID=no'
4432 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x
; then
4434 eval "DEFAULT_$LINE"
4439 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4444 eval "$ac_cv_use_grid"
4445 if test "$no_cache" != 1; then
4446 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4449 if test "$wxUSE_GRID" = yes; then
4450 echo "$ac_t""yes" 1>&6
4452 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4457 echo "configure:4458: checking "for --enable-newgrid"" >&5
4459 # Check whether --enable-newgrid or --disable-newgrid was given.
4460 if test "${enable_newgrid+set}" = set; then
4461 enableval
="$enable_newgrid"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4466 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4471 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4483 eval "$ac_cv_use_newgrid"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_NEW_GRID" = yes; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4495 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4496 echo "configure:4497: checking "for --enable-imaglist"" >&5
4498 # Check whether --enable-imaglist or --disable-imaglist was given.
4499 if test "${enable_imaglist+set}" = set; then
4500 enableval
="$enable_imaglist"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4505 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4510 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4522 eval "$ac_cv_use_imaglist"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_IMAGLIST" = yes; then
4528 echo "$ac_t""yes" 1>&6
4530 echo "$ac_t""no" 1>&6
4534 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4535 echo "configure:4536: checking "for --enable-listbox"" >&5
4537 # Check whether --enable-listbox or --disable-listbox was given.
4538 if test "${enable_listbox+set}" = set; then
4539 enableval
="$enable_listbox"
4541 if test "$enableval" = yes; then
4542 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4544 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4549 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4550 if test "x$LINE" != x
; then
4551 eval "DEFAULT_$LINE"
4556 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4561 eval "$ac_cv_use_listbox"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_LISTBOX" = yes; then
4567 echo "$ac_t""yes" 1>&6
4569 echo "$ac_t""no" 1>&6
4573 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4574 echo "configure:4575: checking "for --enable-listctrl"" >&5
4576 # Check whether --enable-listctrl or --disable-listctrl was given.
4577 if test "${enable_listctrl+set}" = set; then
4578 enableval
="$enable_listctrl"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4583 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4588 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4600 eval "$ac_cv_use_listctrl"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_LISTCTRL" = yes; then
4606 echo "$ac_t""yes" 1>&6
4608 echo "$ac_t""no" 1>&6
4612 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4613 echo "configure:4614: checking "for --enable-notebook"" >&5
4615 # Check whether --enable-notebook or --disable-notebook was given.
4616 if test "${enable_notebook+set}" = set; then
4617 enableval
="$enable_notebook"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4622 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4627 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4639 eval "$ac_cv_use_notebook"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_NOTEBOOK" = yes; then
4645 echo "$ac_t""yes" 1>&6
4647 echo "$ac_t""no" 1>&6
4651 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4652 echo "configure:4653: checking "for --enable-radiobox"" >&5
4654 # Check whether --enable-radiobox or --disable-radiobox was given.
4655 if test "${enable_radiobox+set}" = set; then
4656 enableval
="$enable_radiobox"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4661 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4666 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x
; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4678 eval "$ac_cv_use_radiobox"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_RADIOBOX" = yes; then
4684 echo "$ac_t""yes" 1>&6
4686 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4691 echo "configure:4692: checking "for --enable-radiobtn"" >&5
4693 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4694 if test "${enable_radiobtn+set}" = set; then
4695 enableval
="$enable_radiobtn"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4700 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4705 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4717 eval "$ac_cv_use_radiobtn"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_RADIOBTN" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4729 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4730 echo "configure:4731: checking "for --enable-sash"" >&5
4732 # Check whether --enable-sash or --disable-sash was given.
4733 if test "${enable_sash+set}" = set; then
4734 enableval
="$enable_sash"
4736 if test "$enableval" = yes; then
4737 ac_cv_use_sash
='wxUSE_SASH=yes'
4739 ac_cv_use_sash
='wxUSE_SASH=no'
4744 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x
; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4756 eval "$ac_cv_use_sash"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_SASH" = yes; then
4762 echo "$ac_t""yes" 1>&6
4764 echo "$ac_t""no" 1>&6
4768 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4769 echo "configure:4770: checking "for --enable-scrollbar"" >&5
4771 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4772 if test "${enable_scrollbar+set}" = set; then
4773 enableval
="$enable_scrollbar"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4778 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4783 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x
; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4795 eval "$ac_cv_use_scrollbar"
4796 if test "$no_cache" != 1; then
4797 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4800 if test "$wxUSE_SCROLLBAR" = yes; then
4801 echo "$ac_t""yes" 1>&6
4803 echo "$ac_t""no" 1>&6
4807 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4808 echo "configure:4809: checking "for --enable-slider"" >&5
4810 # Check whether --enable-slider or --disable-slider was given.
4811 if test "${enable_slider+set}" = set; then
4812 enableval
="$enable_slider"
4814 if test "$enableval" = yes; then
4815 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4817 ac_cv_use_slider
='wxUSE_SLIDER=no'
4822 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x
; then
4824 eval "DEFAULT_$LINE"
4829 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4834 eval "$ac_cv_use_slider"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_SLIDER" = yes; then
4840 echo "$ac_t""yes" 1>&6
4842 echo "$ac_t""no" 1>&6
4846 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4847 echo "configure:4848: checking "for --enable-spinbtn"" >&5
4849 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4850 if test "${enable_spinbtn+set}" = set; then
4851 enableval
="$enable_spinbtn"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4856 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4861 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4873 eval "$ac_cv_use_spinbtn"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4878 if test "$wxUSE_SPINBTN" = yes; then
4879 echo "$ac_t""yes" 1>&6
4881 echo "$ac_t""no" 1>&6
4885 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4886 echo "configure:4887: checking "for --enable-spinctrl"" >&5
4888 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4889 if test "${enable_spinctrl+set}" = set; then
4890 enableval
="$enable_spinctrl"
4892 if test "$enableval" = yes; then
4893 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4895 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4900 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4901 if test "x$LINE" != x
; then
4902 eval "DEFAULT_$LINE"
4907 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4912 eval "$ac_cv_use_spinctrl"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_SPINCTRL" = yes; then
4918 echo "$ac_t""yes" 1>&6
4920 echo "$ac_t""no" 1>&6
4924 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4925 echo "configure:4926: checking "for --enable-splitter"" >&5
4927 # Check whether --enable-splitter or --disable-splitter was given.
4928 if test "${enable_splitter+set}" = set; then
4929 enableval
="$enable_splitter"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4934 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4939 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4951 eval "$ac_cv_use_splitter"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_SPLITTER" = yes; then
4957 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4963 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4964 echo "configure:4965: checking "for --enable-statbmp"" >&5
4966 # Check whether --enable-statbmp or --disable-statbmp was given.
4967 if test "${enable_statbmp+set}" = set; then
4968 enableval
="$enable_statbmp"
4970 if test "$enableval" = yes; then
4971 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4973 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4978 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4979 if test "x$LINE" != x
; then
4980 eval "DEFAULT_$LINE"
4985 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4990 eval "$ac_cv_use_statbmp"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4995 if test "$wxUSE_STATBMP" = yes; then
4996 echo "$ac_t""yes" 1>&6
4998 echo "$ac_t""no" 1>&6
5002 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5003 echo "configure:5004: checking "for --enable-statbox"" >&5
5005 # Check whether --enable-statbox or --disable-statbox was given.
5006 if test "${enable_statbox+set}" = set; then
5007 enableval
="$enable_statbox"
5009 if test "$enableval" = yes; then
5010 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5012 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5017 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5018 if test "x$LINE" != x
; then
5019 eval "DEFAULT_$LINE"
5024 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5029 eval "$ac_cv_use_statbox"
5030 if test "$no_cache" != 1; then
5031 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5034 if test "$wxUSE_STATBOX" = yes; then
5035 echo "$ac_t""yes" 1>&6
5037 echo "$ac_t""no" 1>&6
5041 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5042 echo "configure:5043: checking "for --enable-statline"" >&5
5044 # Check whether --enable-statline or --disable-statline was given.
5045 if test "${enable_statline+set}" = set; then
5046 enableval
="$enable_statline"
5048 if test "$enableval" = yes; then
5049 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5051 ac_cv_use_statline
='wxUSE_STATLINE=no'
5056 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x
; then
5058 eval "DEFAULT_$LINE"
5063 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5068 eval "$ac_cv_use_statline"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_STATLINE" = yes; then
5074 echo "$ac_t""yes" 1>&6
5076 echo "$ac_t""no" 1>&6
5080 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5081 echo "configure:5082: checking "for --enable-statusbar"" >&5
5083 # Check whether --enable-statusbar or --disable-statusbar was given.
5084 if test "${enable_statusbar+set}" = set; then
5085 enableval
="$enable_statusbar"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5090 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5095 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x
; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5107 eval "$ac_cv_use_statusbar"
5108 if test "$no_cache" != 1; then
5109 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5112 if test "$wxUSE_STATUSBAR" = yes; then
5113 echo "$ac_t""yes" 1>&6
5115 echo "$ac_t""no" 1>&6
5119 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5120 echo "configure:5121: checking "for --enable-tabdialog"" >&5
5122 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5123 if test "${enable_tabdialog+set}" = set; then
5124 enableval
="$enable_tabdialog"
5126 if test "$enableval" = yes; then
5127 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5129 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5134 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5135 if test "x$LINE" != x
; then
5136 eval "DEFAULT_$LINE"
5141 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5146 eval "$ac_cv_use_tabdialog"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5151 if test "$wxUSE_TABDIALOG" = yes; then
5152 echo "$ac_t""yes" 1>&6
5154 echo "$ac_t""no" 1>&6
5158 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5159 echo "configure:5160: checking "for --enable-toolbar"" >&5
5161 # Check whether --enable-toolbar or --disable-toolbar was given.
5162 if test "${enable_toolbar+set}" = set; then
5163 enableval
="$enable_toolbar"
5165 if test "$enableval" = yes; then
5166 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5168 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5173 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5174 if test "x$LINE" != x
; then
5175 eval "DEFAULT_$LINE"
5180 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5185 eval "$ac_cv_use_toolbar"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_TOOLBAR" = yes; then
5191 echo "$ac_t""yes" 1>&6
5193 echo "$ac_t""no" 1>&6
5197 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5198 echo "configure:5199: checking "for --enable-tbarnative"" >&5
5200 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5201 if test "${enable_tbarnative+set}" = set; then
5202 enableval
="$enable_tbarnative"
5204 if test "$enableval" = yes; then
5205 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5207 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5212 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x
; then
5214 eval "DEFAULT_$LINE"
5219 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5224 eval "$ac_cv_use_tbarnative"
5225 if test "$no_cache" != 1; then
5226 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5229 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5230 echo "$ac_t""yes" 1>&6
5232 echo "$ac_t""no" 1>&6
5236 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5237 echo "configure:5238: checking "for --enable-tbarsmpl"" >&5
5239 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5240 if test "${enable_tbarsmpl+set}" = set; then
5241 enableval
="$enable_tbarsmpl"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5246 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5251 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5263 eval "$ac_cv_use_tbarsmpl"
5264 if test "$no_cache" != 1; then
5265 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5268 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5269 echo "$ac_t""yes" 1>&6
5271 echo "$ac_t""no" 1>&6
5275 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5276 echo "configure:5277: checking "for --enable-treectrl"" >&5
5278 # Check whether --enable-treectrl or --disable-treectrl was given.
5279 if test "${enable_treectrl+set}" = set; then
5280 enableval
="$enable_treectrl"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5285 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5290 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5302 eval "$ac_cv_use_treectrl"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_TREECTRL" = yes; then
5308 echo "$ac_t""yes" 1>&6
5310 echo "$ac_t""no" 1>&6
5316 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5317 echo "configure:5318: checking "for --enable-commondlg"" >&5
5319 # Check whether --enable-commondlg or --disable-commondlg was given.
5320 if test "${enable_commondlg+set}" = set; then
5321 enableval
="$enable_commondlg"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5326 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5331 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5343 eval "$ac_cv_use_commondlg"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_COMMONDLGS" = yes; then
5349 echo "$ac_t""yes" 1>&6
5351 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5356 echo "configure:5357: checking "for --enable-dirdlg"" >&5
5358 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5359 if test "${enable_dirdlg+set}" = set; then
5360 enableval
="$enable_dirdlg"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5365 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5370 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5382 eval "$ac_cv_use_dirdlg"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_DIRDLG" = yes; then
5388 echo "$ac_t""yes" 1>&6
5390 echo "$ac_t""no" 1>&6
5394 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5395 echo "configure:5396: checking "for --enable-textdlg"" >&5
5397 # Check whether --enable-textdlg or --disable-textdlg was given.
5398 if test "${enable_textdlg+set}" = set; then
5399 enableval
="$enable_textdlg"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5404 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5409 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5421 eval "$ac_cv_use_textdlg"
5422 if test "$no_cache" != 1; then
5423 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5426 if test "$wxUSE_TEXTDLG" = yes; then
5427 echo "$ac_t""yes" 1>&6
5429 echo "$ac_t""no" 1>&6
5433 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5434 echo "configure:5435: checking "for --enable-tipdlg"" >&5
5436 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5437 if test "${enable_tipdlg+set}" = set; then
5438 enableval
="$enable_tipdlg"
5440 if test "$enableval" = yes; then
5441 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5443 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5448 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x
; then
5450 eval "DEFAULT_$LINE"
5455 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5460 eval "$ac_cv_use_tipdlg"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_STARTUP_TIPS" = yes; then
5466 echo "$ac_t""yes" 1>&6
5468 echo "$ac_t""no" 1>&6
5472 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5473 echo "configure:5474: checking "for --enable-progressdlg"" >&5
5475 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5476 if test "${enable_progressdlg+set}" = set; then
5477 enableval
="$enable_progressdlg"
5479 if test "$enableval" = yes; then
5480 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5482 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5487 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5488 if test "x$LINE" != x
; then
5489 eval "DEFAULT_$LINE"
5494 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5499 eval "$ac_cv_use_progressdlg"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_PROGRESSDLG" = yes; then
5505 echo "$ac_t""yes" 1>&6
5507 echo "$ac_t""no" 1>&6
5511 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5512 echo "configure:5513: checking "for --enable-miniframe"" >&5
5514 # Check whether --enable-miniframe or --disable-miniframe was given.
5515 if test "${enable_miniframe+set}" = set; then
5516 enableval
="$enable_miniframe"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5521 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5526 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x
; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5538 eval "$ac_cv_use_miniframe"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_MINIFRAME" = yes; then
5544 echo "$ac_t""yes" 1>&6
5546 echo "$ac_t""no" 1>&6
5550 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5551 echo "configure:5552: checking "for --enable-html"" >&5
5553 # Check whether --enable-html or --disable-html was given.
5554 if test "${enable_html+set}" = set; then
5555 enableval
="$enable_html"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_html
='wxUSE_HTML=yes'
5560 ac_cv_use_html
='wxUSE_HTML=no'
5565 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5577 eval "$ac_cv_use_html"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_HTML" = yes; then
5583 echo "$ac_t""yes" 1>&6
5585 echo "$ac_t""no" 1>&6
5589 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5590 echo "configure:5591: checking "for --enable-tooltips"" >&5
5592 # Check whether --enable-tooltips or --disable-tooltips was given.
5593 if test "${enable_tooltips+set}" = set; then
5594 enableval
="$enable_tooltips"
5596 if test "$enableval" = yes; then
5597 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5599 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5604 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5605 if test "x$LINE" != x
; then
5606 eval "DEFAULT_$LINE"
5611 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5616 eval "$ac_cv_use_tooltips"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5621 if test "$wxUSE_TOOLTIPS" = yes; then
5622 echo "$ac_t""yes" 1>&6
5624 echo "$ac_t""no" 1>&6
5628 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5629 echo "configure:5630: checking "for --enable-splines"" >&5
5631 # Check whether --enable-splines or --disable-splines was given.
5632 if test "${enable_splines+set}" = set; then
5633 enableval
="$enable_splines"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5638 ac_cv_use_splines
='wxUSE_SPLINES=no'
5643 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5655 eval "$ac_cv_use_splines"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5660 if test "$wxUSE_SPLINES" = yes; then
5661 echo "$ac_t""yes" 1>&6
5663 echo "$ac_t""no" 1>&6
5667 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5668 echo "configure:5669: checking "for --enable-validators"" >&5
5670 # Check whether --enable-validators or --disable-validators was given.
5671 if test "${enable_validators+set}" = set; then
5672 enableval
="$enable_validators"
5674 if test "$enableval" = yes; then
5675 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5677 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5682 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x
; then
5684 eval "DEFAULT_$LINE"
5689 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5694 eval "$ac_cv_use_validators"
5695 if test "$no_cache" != 1; then
5696 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5699 if test "$wxUSE_VALIDATORS" = yes; then
5700 echo "$ac_t""yes" 1>&6
5702 echo "$ac_t""no" 1>&6
5706 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5707 echo "configure:5708: checking "for --enable-busyinfo"" >&5
5709 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5710 if test "${enable_busyinfo+set}" = set; then
5711 enableval
="$enable_busyinfo"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5716 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5721 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5733 eval "$ac_cv_use_busyinfo"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_BUSYINFO" = yes; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5745 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5746 echo "configure:5747: checking "for --enable-plot"" >&5
5748 # Check whether --enable-plot or --disable-plot was given.
5749 if test "${enable_plot+set}" = set; then
5750 enableval
="$enable_plot"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_plot
='wxUSE_PLOT=yes'
5755 ac_cv_use_plot
='wxUSE_PLOT=no'
5760 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5772 eval "$ac_cv_use_plot"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5777 if test "$wxUSE_PLOT" = yes; then
5778 echo "$ac_t""yes" 1>&6
5780 echo "$ac_t""no" 1>&6
5786 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5787 echo "configure:5788: checking "for --enable-gif"" >&5
5789 # Check whether --enable-gif or --disable-gif was given.
5790 if test "${enable_gif+set}" = set; then
5791 enableval
="$enable_gif"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_gif
='wxUSE_GIF=yes'
5796 ac_cv_use_gif
='wxUSE_GIF=no'
5801 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5813 eval "$ac_cv_use_gif"
5814 if test "$no_cache" != 1; then
5815 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5818 if test "$wxUSE_GIF" = yes; then
5819 echo "$ac_t""yes" 1>&6
5821 echo "$ac_t""no" 1>&6
5825 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5826 echo "configure:5827: checking "for --enable-pcx"" >&5
5828 # Check whether --enable-pcx or --disable-pcx was given.
5829 if test "${enable_pcx+set}" = set; then
5830 enableval
="$enable_pcx"
5832 if test "$enableval" = yes; then
5833 ac_cv_use_pcx
='wxUSE_PCX=yes'
5835 ac_cv_use_pcx
='wxUSE_PCX=no'
5840 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x
; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5852 eval "$ac_cv_use_pcx"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_PCX" = yes; then
5858 echo "$ac_t""yes" 1>&6
5860 echo "$ac_t""no" 1>&6
5864 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5865 echo "configure:5866: checking "for --enable-pnm"" >&5
5867 # Check whether --enable-pnm or --disable-pnm was given.
5868 if test "${enable_pnm+set}" = set; then
5869 enableval
="$enable_pnm"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_pnm
='wxUSE_PNM=yes'
5874 ac_cv_use_pnm
='wxUSE_PNM=no'
5879 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5891 eval "$ac_cv_use_pnm"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_PNM" = yes; then
5897 echo "$ac_t""yes" 1>&6
5899 echo "$ac_t""no" 1>&6
5906 echo "saving argument cache $wx_arg_cache_file"
5907 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5911 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5912 echo "configure:5913: checking for toolkit" >&5
5914 if test "$wxUSE_GUI" = "yes"; then
5916 if test "$USE_BEOS" = 1; then
5917 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5920 if test "$TOOLKIT_GIVEN" = 1; then
5921 for toolkit
in `echo $ALL_TOOLKITS`; do
5923 eval "value=\$${var}"
5924 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5927 for toolkit
in `echo $ALL_TOOLKITS`; do
5928 if test "$has_toolkit_in_cache" != 1; then
5929 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5931 var
=DEFAULT_wxUSE_
$toolkit
5933 eval "wxUSE_$toolkit=\$${var}"
5937 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5941 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5942 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5951 case "$NUM_TOOLKITS" in
5955 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5958 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5961 for toolkit
in `echo $ALL_TOOLKITS`; do
5963 eval "value=\$${var}"
5964 if test "x$value" != x
; then
5965 cache_var
=CACHE_
$toolkit
5966 eval "cache=\$${cache_var}"
5967 if test "$cache" = 1; then
5968 echo "$var=$value" >> ${wx_arg_cache_file}
5970 if test "$value" = 1; then
5971 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5978 echo "$ac_t""base only" 1>&6
5982 cat > confcache
<<\EOF
5983 # This file is a shell script that caches the results of configure
5984 # tests run on this system so they can be shared between configure
5985 # scripts and configure runs. It is not useful on other systems.
5986 # If it contains results you don't want to keep, you may remove or edit it.
5988 # By default, configure uses ./config.cache as the cache file,
5989 # creating it if it does not exist already. You can give configure
5990 # the --cache-file=FILE option to use a different cache file; that is
5991 # what configure does when it calls configure scripts in
5992 # subdirectories, so they share the cache.
5993 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5994 # config.status only pays attention to the cache file if you give it the
5995 # --recheck option to rerun configure.
5998 # The following way of writing the cache mishandles newlines in values,
5999 # but we know of no workaround that is simple, portable, and efficient.
6000 # So, don't put newlines in cache variables' values.
6001 # Ultrix sh set writes to stderr and can't be redirected directly,
6002 # and sets the high bit in the cache file unless we assign to the vars.
6004 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6006 # `set' does not quote correctly, so add quotes (double-quote substitution
6007 # turns \\\\ into \\, and sed turns \\ into \).
6009 -e "s/'/'\\\\''/g" \
6010 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6013 # `set' quotes correctly as required by POSIX, so do not add quotes.
6014 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6017 if cmp -s $cache_file confcache
; then
6020 if test -w $cache_file; then
6021 echo "updating cache $cache_file"
6022 cat confcache
> $cache_file
6024 echo "not updating unwritable cache $cache_file"
6030 if test "$build" != "$host" ; then
6034 RANLIB
=$host_alias-ranlib
6035 DLLTOOL
=$host_alias-dlltool
6036 RESCOMP
=$host_alias-windres
6039 STRIP
=$host_alias-strip
6042 # Extract the first word of "gcc", so it can be a program name with args.
6043 set dummy gcc
; ac_word
=$2
6044 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6045 echo "configure:6046: checking for $ac_word" >&5
6046 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6047 echo $ac_n "(cached) $ac_c" 1>&6
6049 if test -n "$CC"; then
6050 ac_cv_prog_CC
="$CC" # Let the user override the test.
6052 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6054 for ac_dir
in $ac_dummy; do
6055 test -z "$ac_dir" && ac_dir
=.
6056 if test -f $ac_dir/$ac_word; then
6065 if test -n "$CC"; then
6066 echo "$ac_t""$CC" 1>&6
6068 echo "$ac_t""no" 1>&6
6071 if test -z "$CC"; then
6072 # Extract the first word of "cc", so it can be a program name with args.
6073 set dummy cc
; ac_word
=$2
6074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6075 echo "configure:6076: checking for $ac_word" >&5
6076 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6077 echo $ac_n "(cached) $ac_c" 1>&6
6079 if test -n "$CC"; then
6080 ac_cv_prog_CC
="$CC" # Let the user override the test.
6082 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6085 for ac_dir
in $ac_dummy; do
6086 test -z "$ac_dir" && ac_dir
=.
6087 if test -f $ac_dir/$ac_word; then
6088 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6089 ac_prog_rejected
=yes
6097 if test $ac_prog_rejected = yes; then
6098 # We found a bogon in the path, so make sure we never use it.
6099 set dummy
$ac_cv_prog_CC
6101 if test $# -gt 0; then
6102 # We chose a different compiler from the bogus one.
6103 # However, it has the same basename, so the bogon will be chosen
6104 # first if we set CC to just the basename; use the full file name.
6106 set dummy
"$ac_dir/$ac_word" "$@"
6114 if test -n "$CC"; then
6115 echo "$ac_t""$CC" 1>&6
6117 echo "$ac_t""no" 1>&6
6120 if test -z "$CC"; then
6121 case "`uname -s`" in
6123 # Extract the first word of "cl", so it can be a program name with args.
6124 set dummy cl
; ac_word
=$2
6125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6126 echo "configure:6127: checking for $ac_word" >&5
6127 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6128 echo $ac_n "(cached) $ac_c" 1>&6
6130 if test -n "$CC"; then
6131 ac_cv_prog_CC
="$CC" # Let the user override the test.
6133 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6135 for ac_dir
in $ac_dummy; do
6136 test -z "$ac_dir" && ac_dir
=.
6137 if test -f $ac_dir/$ac_word; then
6146 if test -n "$CC"; then
6147 echo "$ac_t""$CC" 1>&6
6149 echo "$ac_t""no" 1>&6
6154 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6157 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6158 echo "configure:6159: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6162 ac_cpp
='$CPP $CPPFLAGS'
6163 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6164 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6165 cross_compiling
=$ac_cv_prog_cc_cross
6167 cat > conftest.
$ac_ext << EOF
6169 #line 6170 "configure"
6170 #include "confdefs.h"
6174 if { (eval echo configure
:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6175 ac_cv_prog_cc_works
=yes
6176 # If we can't run a trivial program, we are probably using a cross compiler.
6177 if (.
/conftest
; exit) 2>/dev
/null
; then
6178 ac_cv_prog_cc_cross
=no
6180 ac_cv_prog_cc_cross
=yes
6183 echo "configure: failed program was:" >&5
6184 cat conftest.
$ac_ext >&5
6185 ac_cv_prog_cc_works
=no
6189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6190 ac_cpp
='$CPP $CPPFLAGS'
6191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6192 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6193 cross_compiling
=$ac_cv_prog_cc_cross
6195 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6196 if test $ac_cv_prog_cc_works = no
; then
6197 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6199 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6200 echo "configure:6201: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6201 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6202 cross_compiling
=$ac_cv_prog_cc_cross
6204 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6205 echo "configure:6206: checking whether we are using GNU C" >&5
6206 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6207 echo $ac_n "(cached) $ac_c" 1>&6
6209 cat > conftest.c
<<EOF
6214 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6221 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6223 if test $ac_cv_prog_gcc = yes; then
6229 ac_test_CFLAGS
="${CFLAGS+set}"
6230 ac_save_CFLAGS
="$CFLAGS"
6232 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6233 echo "configure:6234: checking whether ${CC-cc} accepts -g" >&5
6234 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6235 echo $ac_n "(cached) $ac_c" 1>&6
6237 echo 'void f(){}' > conftest.c
6238 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6247 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6248 if test "$ac_test_CFLAGS" = set; then
6249 CFLAGS
="$ac_save_CFLAGS"
6250 elif test $ac_cv_prog_cc_g = yes; then
6251 if test "$GCC" = yes; then
6257 if test "$GCC" = yes; then
6265 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6267 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6268 echo "configure:6269: checking how to run the C preprocessor" >&5
6269 # On Suns, sometimes $CPP names a directory.
6270 if test -n "$CPP" && test -d "$CPP"; then
6273 if test -z "$CPP"; then
6274 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6275 echo $ac_n "(cached) $ac_c" 1>&6
6277 # This must be in double quotes, not single quotes, because CPP may get
6278 # substituted into the Makefile and "${CC-cc}" will confuse make.
6280 # On the NeXT, cc -E runs the code through the compiler's parser,
6281 # not just through cpp.
6282 cat > conftest.
$ac_ext <<EOF
6283 #line 6284 "configure"
6284 #include "confdefs.h"
6288 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6289 { (eval echo configure
:6290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6290 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6291 if test -z "$ac_err"; then
6295 echo "configure: failed program was:" >&5
6296 cat conftest.
$ac_ext >&5
6298 CPP
="${CC-cc} -E -traditional-cpp"
6299 cat > conftest.
$ac_ext <<EOF
6300 #line 6301 "configure"
6301 #include "confdefs.h"
6305 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6306 { (eval echo configure
:6307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6307 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6308 if test -z "$ac_err"; then
6312 echo "configure: failed program was:" >&5
6313 cat conftest.
$ac_ext >&5
6315 CPP
="${CC-cc} -nologo -E"
6316 cat > conftest.
$ac_ext <<EOF
6317 #line 6318 "configure"
6318 #include "confdefs.h"
6322 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6323 { (eval echo configure
:6324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6324 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6325 if test -z "$ac_err"; then
6329 echo "configure: failed program was:" >&5
6330 cat conftest.
$ac_ext >&5
6339 ac_cv_prog_CPP
="$CPP"
6341 CPP
="$ac_cv_prog_CPP"
6343 ac_cv_prog_CPP
="$CPP"
6345 echo "$ac_t""$CPP" 1>&6
6348 if test $ac_cv_prog_gcc = yes; then
6349 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6350 echo "configure:6351: checking whether ${CC-cc} needs -traditional" >&5
6351 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6352 echo $ac_n "(cached) $ac_c" 1>&6
6354 ac_pattern
="Autoconf.*'x'"
6355 cat > conftest.
$ac_ext <<EOF
6356 #line 6357 "configure"
6357 #include "confdefs.h"
6361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6362 egrep "$ac_pattern" >/dev
/null
2>&1; then
6364 ac_cv_prog_gcc_traditional
=yes
6367 ac_cv_prog_gcc_traditional
=no
6372 if test $ac_cv_prog_gcc_traditional = no
; then
6373 cat > conftest.
$ac_ext <<EOF
6374 #line 6375 "configure"
6375 #include "confdefs.h"
6379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6380 egrep "$ac_pattern" >/dev
/null
2>&1; then
6382 ac_cv_prog_gcc_traditional
=yes
6389 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6390 if test $ac_cv_prog_gcc_traditional = yes; then
6391 CC
="$CC -traditional"
6398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6399 ac_cpp
='$CXXCPP $CPPFLAGS'
6400 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6401 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6402 cross_compiling
=$ac_cv_prog_cxx_cross
6405 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6407 # Extract the first word of "$ac_prog", so it can be a program name with args.
6408 set dummy
$ac_prog; ac_word
=$2
6409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6410 echo "configure:6411: checking for $ac_word" >&5
6411 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6412 echo $ac_n "(cached) $ac_c" 1>&6
6414 if test -n "$CXX"; then
6415 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6417 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6419 for ac_dir
in $ac_dummy; do
6420 test -z "$ac_dir" && ac_dir
=.
6421 if test -f $ac_dir/$ac_word; then
6422 ac_cv_prog_CXX
="$ac_prog"
6429 CXX
="$ac_cv_prog_CXX"
6430 if test -n "$CXX"; then
6431 echo "$ac_t""$CXX" 1>&6
6433 echo "$ac_t""no" 1>&6
6436 test -n "$CXX" && break
6438 test -n "$CXX" || CXX
="gcc"
6441 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6442 echo "configure:6443: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6446 ac_cpp
='$CXXCPP $CPPFLAGS'
6447 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6448 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6449 cross_compiling
=$ac_cv_prog_cxx_cross
6451 cat > conftest.
$ac_ext << EOF
6453 #line 6454 "configure"
6454 #include "confdefs.h"
6456 int main(){return(0);}
6458 if { (eval echo configure
:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6459 ac_cv_prog_cxx_works
=yes
6460 # If we can't run a trivial program, we are probably using a cross compiler.
6461 if (.
/conftest
; exit) 2>/dev
/null
; then
6462 ac_cv_prog_cxx_cross
=no
6464 ac_cv_prog_cxx_cross
=yes
6467 echo "configure: failed program was:" >&5
6468 cat conftest.
$ac_ext >&5
6469 ac_cv_prog_cxx_works
=no
6473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6474 ac_cpp
='$CXXCPP $CPPFLAGS'
6475 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6476 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6477 cross_compiling
=$ac_cv_prog_cxx_cross
6479 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6480 if test $ac_cv_prog_cxx_works = no
; then
6481 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6483 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6484 echo "configure:6485: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6485 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6486 cross_compiling
=$ac_cv_prog_cxx_cross
6488 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6489 echo "configure:6490: checking whether we are using GNU C++" >&5
6490 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6491 echo $ac_n "(cached) $ac_c" 1>&6
6493 cat > conftest.C
<<EOF
6498 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6505 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6507 if test $ac_cv_prog_gxx = yes; then
6513 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6514 ac_save_CXXFLAGS
="$CXXFLAGS"
6516 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6517 echo "configure:6518: checking whether ${CXX-g++} accepts -g" >&5
6518 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6519 echo $ac_n "(cached) $ac_c" 1>&6
6521 echo 'void f(){}' > conftest.cc
6522 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6523 ac_cv_prog_cxx_g
=yes
6531 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6532 if test "$ac_test_CXXFLAGS" = set; then
6533 CXXFLAGS
="$ac_save_CXXFLAGS"
6534 elif test $ac_cv_prog_cxx_g = yes; then
6535 if test "$GXX" = yes; then
6541 if test "$GXX" = yes; then
6549 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6550 echo "configure:6551: checking how to run the C++ preprocessor" >&5
6551 if test -z "$CXXCPP"; then
6552 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6553 echo $ac_n "(cached) $ac_c" 1>&6
6556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6557 ac_cpp
='$CXXCPP $CPPFLAGS'
6558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6560 cross_compiling
=$ac_cv_prog_cxx_cross
6561 CXXCPP
="${CXX-g++} -E"
6562 cat > conftest.
$ac_ext <<EOF
6563 #line 6564 "configure"
6564 #include "confdefs.h"
6567 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6568 { (eval echo configure
:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6569 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6570 if test -z "$ac_err"; then
6574 echo "configure: failed program was:" >&5
6575 cat conftest.
$ac_ext >&5
6580 ac_cv_prog_CXXCPP
="$CXXCPP"
6582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6583 ac_cpp
='$CXXCPP $CPPFLAGS'
6584 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6585 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6586 cross_compiling
=$ac_cv_prog_cxx_cross
6589 CXXCPP
="$ac_cv_prog_CXXCPP"
6590 echo "$ac_t""$CXXCPP" 1>&6
6593 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6597 ac_cpp
='$CPP $CPPFLAGS'
6598 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6599 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6600 cross_compiling
=$ac_cv_prog_cc_cross
6603 # Extract the first word of "ranlib", so it can be a program name with args.
6604 set dummy ranlib
; ac_word
=$2
6605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6606 echo "configure:6607: checking for $ac_word" >&5
6607 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6608 echo $ac_n "(cached) $ac_c" 1>&6
6610 if test -n "$RANLIB"; then
6611 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6613 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6615 for ac_dir
in $ac_dummy; do
6616 test -z "$ac_dir" && ac_dir
=.
6617 if test -f $ac_dir/$ac_word; then
6618 ac_cv_prog_RANLIB
="ranlib"
6623 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6626 RANLIB
="$ac_cv_prog_RANLIB"
6627 if test -n "$RANLIB"; then
6628 echo "$ac_t""$RANLIB" 1>&6
6630 echo "$ac_t""no" 1>&6
6634 # Extract the first word of "ar", so it can be a program name with args.
6635 set dummy
ar; ac_word
=$2
6636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6637 echo "configure:6638: checking for $ac_word" >&5
6638 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6639 echo $ac_n "(cached) $ac_c" 1>&6
6641 if test -n "$AR"; then
6642 ac_cv_prog_AR
="$AR" # Let the user override the test.
6644 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6646 for ac_dir
in $ac_dummy; do
6647 test -z "$ac_dir" && ac_dir
=.
6648 if test -f $ac_dir/$ac_word; then
6654 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6658 if test -n "$AR"; then
6659 echo "$ac_t""$AR" 1>&6
6661 echo "$ac_t""no" 1>&6
6665 # Find a good install program. We prefer a C program (faster),
6666 # so one script is as good as another. But avoid the broken or
6667 # incompatible versions:
6668 # SysV /etc/install, /usr/sbin/install
6669 # SunOS /usr/etc/install
6670 # IRIX /sbin/install
6672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6675 # ./install, which can be erroneously created by make from ./install.sh.
6676 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6677 echo "configure:6678: checking for a BSD compatible install" >&5
6678 if test -z "$INSTALL"; then
6679 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6680 echo $ac_n "(cached) $ac_c" 1>&6
6682 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6683 for ac_dir
in $PATH; do
6684 # Account for people who put trailing slashes in PATH elements.
6686 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6688 # OSF1 and SCO ODT 3.0 have their own names for install.
6689 # Don't use installbsd from OSF since it installs stuff as root
6691 for ac_prog
in ginstall scoinst
install; do
6692 if test -f $ac_dir/$ac_prog; then
6693 if test $ac_prog = install &&
6694 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6695 # AIX install. It has an incompatible calling convention.
6698 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6709 if test "${ac_cv_path_install+set}" = set; then
6710 INSTALL
="$ac_cv_path_install"
6712 # As a last resort, use the slow shell script. We don't cache a
6713 # path for INSTALL within a source directory, because that will
6714 # break other packages using the cache if that directory is
6715 # removed, or if the path is relative.
6716 INSTALL
="$ac_install_sh"
6719 echo "$ac_t""$INSTALL" 1>&6
6721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6722 # It thinks the first close brace ends the variable substitution.
6723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6727 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6730 # Extract the first word of "strip", so it can be a program name with args.
6731 set dummy strip
; ac_word
=$2
6732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6733 echo "configure:6734: checking for $ac_word" >&5
6734 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6735 echo $ac_n "(cached) $ac_c" 1>&6
6737 if test -n "$STRIP"; then
6738 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6740 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6742 for ac_dir
in $ac_dummy; do
6743 test -z "$ac_dir" && ac_dir
=.
6744 if test -f $ac_dir/$ac_word; then
6745 ac_cv_prog_STRIP
="strip"
6750 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6753 STRIP
="$ac_cv_prog_STRIP"
6754 if test -n "$STRIP"; then
6755 echo "$ac_t""$STRIP" 1>&6
6757 echo "$ac_t""no" 1>&6
6761 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6762 echo "configure:6763: checking "make for VPATH support
"" >&5
6763 cat - << EOF > confMake
6769 if test ! -d sub
; then
6772 echo dummy
> sub
/file
6773 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6775 rm -f sub
/file check final_file confMake
6777 if test "$RESULT" = 0; then
6778 echo "$ac_t""yes" 1>&6
6780 echo "$ac_t""no" 1>&6
6781 { echo "configure: error: You need a make-utility that is able to use the variable
6783 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6786 for ac_prog
in 'bison -y' byacc
6788 # Extract the first word of "$ac_prog", so it can be a program name with args.
6789 set dummy
$ac_prog; ac_word
=$2
6790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6791 echo "configure:6792: checking for $ac_word" >&5
6792 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6793 echo $ac_n "(cached) $ac_c" 1>&6
6795 if test -n "$YACC"; then
6796 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6798 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6800 for ac_dir
in $ac_dummy; do
6801 test -z "$ac_dir" && ac_dir
=.
6802 if test -f $ac_dir/$ac_word; then
6803 ac_cv_prog_YACC
="$ac_prog"
6810 YACC
="$ac_cv_prog_YACC"
6811 if test -n "$YACC"; then
6812 echo "$ac_t""$YACC" 1>&6
6814 echo "$ac_t""no" 1>&6
6817 test -n "$YACC" && break
6819 test -n "$YACC" || YACC
="yacc"
6822 # Extract the first word of "flex", so it can be a program name with args.
6823 set dummy flex
; ac_word
=$2
6824 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6825 echo "configure:6826: checking for $ac_word" >&5
6826 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6827 echo $ac_n "(cached) $ac_c" 1>&6
6829 if test -n "$LEX"; then
6830 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6832 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6834 for ac_dir
in $ac_dummy; do
6835 test -z "$ac_dir" && ac_dir
=.
6836 if test -f $ac_dir/$ac_word; then
6837 ac_cv_prog_LEX
="flex"
6842 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6845 LEX
="$ac_cv_prog_LEX"
6846 if test -n "$LEX"; then
6847 echo "$ac_t""$LEX" 1>&6
6849 echo "$ac_t""no" 1>&6
6852 if test -z "$LEXLIB"
6858 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6859 echo "configure:6860: checking for yywrap in -l$ac_lib" >&5
6860 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6862 echo $ac_n "(cached) $ac_c" 1>&6
6864 ac_save_LIBS
="$LIBS"
6865 LIBS
="-l$ac_lib $LIBS"
6866 cat > conftest.
$ac_ext <<EOF
6867 #line 6868 "configure"
6868 #include "confdefs.h"
6869 /* Override any gcc2 internal prototype to avoid an error. */
6870 /* We use char because int might match the return type of a gcc2
6871 builtin and then its argument prototype would still apply. */
6878 if { (eval echo configure
:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6880 eval "ac_cv_lib_$ac_lib_var=yes"
6882 echo "configure: failed program was:" >&5
6883 cat conftest.
$ac_ext >&5
6885 eval "ac_cv_lib_$ac_lib_var=no"
6888 LIBS
="$ac_save_LIBS"
6891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6892 echo "$ac_t""yes" 1>&6
6895 echo "$ac_t""no" 1>&6
6901 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6902 echo "configure:6903: checking whether ln -s works" >&5
6903 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6904 echo $ac_n "(cached) $ac_c" 1>&6
6907 if ln -s X conftestdata
2>/dev
/null
6910 ac_cv_prog_LN_S
="ln -s"
6915 LN_S
="$ac_cv_prog_LN_S"
6916 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6917 echo "$ac_t""yes" 1>&6
6919 echo "$ac_t""no" 1>&6
6925 /usr/local/include \
6927 /usr/Motif-1.2/include \
6928 /usr/Motif-2.1/include \
6930 /usr/include/Motif1.2 \
6931 /opt/xpm/include/X11 \
6932 /opt/GBxpm/include/ \
6933 /opt/GBxpm/X11/include/ \
6935 /usr/Motif1.2/include \
6937 /usr/openwin/include \
6941 /usr/X11R6/include \
6942 /usr/X11R6.4/include \
6943 /usr/X11R5/include \
6944 /usr/X11R4/include \
6946 /usr/include/X11R6 \
6947 /usr/include/X11R5 \
6948 /usr/include/X11R4 \
6950 /usr/local/X11R6/include \
6951 /usr/local/X11R5/include \
6952 /usr/local/X11R4/include \
6954 /usr/local/include/X11R6 \
6955 /usr/local/include/X11R5 \
6956 /usr/local/include/X11R4 \
6960 /usr/local/X11/include \
6961 /usr/local/include/X11 \
6965 /usr/XFree86/include/X11 \
6967 X:/XFree86/include \
6968 X:/XFree86/include/X11 \
6971 /usr/local/include/gtk \
6973 /usr/local/include/glib \
6976 /usr/local/include/qt \
6978 /usr/include/windows \
6980 /usr/local/include/wine \
6982 /usr/unsupported/include \
6983 /usr/athena/include \
6984 /usr/local/x11r5/include \
6985 /usr/lpp/Xamples/include \
6987 /usr/openwin/share/include \
6991 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6994 cat > confcache
<<\EOF
6995 # This file is a shell script that caches the results of configure
6996 # tests run on this system so they can be shared between configure
6997 # scripts and configure runs. It is not useful on other systems.
6998 # If it contains results you don't want to keep, you may remove or edit it.
7000 # By default, configure uses ./config.cache as the cache file,
7001 # creating it if it does not exist already. You can give configure
7002 # the --cache-file=FILE option to use a different cache file; that is
7003 # what configure does when it calls configure scripts in
7004 # subdirectories, so they share the cache.
7005 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7006 # config.status only pays attention to the cache file if you give it the
7007 # --recheck option to rerun configure.
7010 # The following way of writing the cache mishandles newlines in values,
7011 # but we know of no workaround that is simple, portable, and efficient.
7012 # So, don't put newlines in cache variables' values.
7013 # Ultrix sh set writes to stderr and can't be redirected directly,
7014 # and sets the high bit in the cache file unless we assign to the vars.
7016 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7018 # `set' does not quote correctly, so add quotes (double-quote substitution
7019 # turns \\\\ into \\, and sed turns \\ into \).
7021 -e "s/'/'\\\\''/g" \
7022 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7025 # `set' quotes correctly as required by POSIX, so do not add quotes.
7026 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7029 if cmp -s $cache_file confcache
; then
7032 if test -w $cache_file; then
7033 echo "updating cache $cache_file"
7034 cat confcache
> $cache_file
7036 echo "not updating unwritable cache $cache_file"
7045 if test "$wxUSE_GUI" = "yes"; then
7064 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7065 if test "$cross_compiling" = "yes" ; then
7066 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7068 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7069 echo "configure:7070: checking for Windows headers" >&5
7072 for ac_dir
in $SEARCH_INCLUDE;
7074 if test -f "$ac_dir/windows.h"; then
7075 ac_find_includes
=$ac_dir
7080 if test "$ac_find_includes" != "" ; then
7081 echo "$ac_t""found $ac_find_includes" 1>&6
7082 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7084 echo "$ac_t""no" 1>&6
7085 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7089 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7090 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7092 if test "$wxUSE_ODBC" = "yes" ; then
7093 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7096 if test "$wxUSE_MINGW" = 1; then
7097 LDFLAGS
="$LDFLAGS -mwindows"
7102 GUIOBJS
="\$(MSW_GUIOBJS)"
7103 GUIHEADERS
="\$(MSW_HEADERS)"
7104 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7105 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7109 RCINCSWITCH
="--include-dir"
7110 RCDEFSWITCH
="--define"
7111 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7114 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7116 RESPROGRAM
="\$(RES_PROGRAM)"
7120 if test "$wxUSE_GTK" = 1; then
7122 if test x
$gtk_config_exec_prefix != x
; then
7123 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7124 if test x
${GTK_CONFIG+set} != xset
; then
7125 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7128 if test x
$gtk_config_prefix != x
; then
7129 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7130 if test x
${GTK_CONFIG+set} != xset
; then
7131 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7135 # Extract the first word of "gtk-config", so it can be a program name with args.
7136 set dummy gtk
-config; ac_word
=$2
7137 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7138 echo "configure:7139: checking for $ac_word" >&5
7139 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7140 echo $ac_n "(cached) $ac_c" 1>&6
7142 case "$GTK_CONFIG" in
7144 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7147 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7150 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7152 for ac_dir
in $ac_dummy; do
7153 test -z "$ac_dir" && ac_dir
=.
7154 if test -f $ac_dir/$ac_word; then
7155 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7160 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7164 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7165 if test -n "$GTK_CONFIG"; then
7166 echo "$ac_t""$GTK_CONFIG" 1>&6
7168 echo "$ac_t""no" 1>&6
7171 min_gtk_version
=1.2.3
7172 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7173 echo "configure:7174: checking for GTK - version >= $min_gtk_version" >&5
7175 if test "$GTK_CONFIG" != "no" ; then
7176 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7177 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7178 ac_save_CFLAGS
="$CFLAGS"
7179 ac_save_LIBS
="$LIBS"
7180 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7181 LIBS
="$LIBS $GTK_LIBS"
7182 if test "$cross_compiling" = yes; then
7183 echo $ac_n "cross compiling; assumed OK... $ac_c"
7185 cat > conftest.
$ac_ext <<EOF
7186 #line 7187 "configure"
7187 #include "confdefs.h"
7189 #include <gtk/gtk.h>
7190 #include <gtk/gtkfeatures.h>
7197 int major, minor, micro;
7199 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7200 printf("%s, bad version string\n", "$min_gtk_version");
7204 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7205 (GTK_MINOR_VERSION != gtk_minor_version) ||
7206 (GTK_MICRO_VERSION != gtk_micro_version)) {
7207 printf("Headers vs. library version mismatch!\n");
7211 if (gtk_minor_version == 1) return FALSE;
7213 return !((gtk_major_version > major) ||
7214 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7215 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7219 if { (eval echo configure
:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7223 echo "configure: failed program was:" >&5
7224 cat conftest.
$ac_ext >&5
7231 CFLAGS
="$ac_save_CFLAGS"
7232 LIBS
="$ac_save_LIBS"
7236 if test "x$no_gtk" = x
; then
7237 echo "$ac_t""yes" 1>&6
7240 echo "$ac_t""no" 1>&6
7249 if test "$WXGTK12" != 1; then
7250 { echo "configure: error:
7251 Please check that gtk-config is in path, the directory
7252 where GTK+ libraries are installed (returned by
7253 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7254 equivalent variable and GTK+ is version 1.2.3 or above.
7259 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7262 GUI_TK_LIBRARY
="$GTK_LIBS"
7266 AFMINSTALL
=afminstall
7268 GUIOBJS
="\$(GTK_GUIOBJS)"
7269 GUIHEADERS
="\$(GTK_HEADERS)"
7270 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7271 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7272 GUIDEPS
="\$(GTK_GUIDEPS)"
7273 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7274 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7275 UNIXOBJS
="\$(UNIX_OBJS)"
7276 UNIXDEPS
="\$(UNIX_DEPS)"
7279 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7280 echo "configure:7281: checking for gdk_im_open in -lgdk" >&5
7281 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7283 echo $ac_n "(cached) $ac_c" 1>&6
7285 ac_save_LIBS
="$LIBS"
7287 cat > conftest.
$ac_ext <<EOF
7288 #line 7289 "configure"
7289 #include "confdefs.h"
7290 /* Override any gcc2 internal prototype to avoid an error. */
7291 /* We use char because int might match the return type of a gcc2
7292 builtin and then its argument prototype would still apply. */
7299 if { (eval echo configure
:7300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7301 eval "ac_cv_lib_$ac_lib_var=yes"
7303 echo "configure: failed program was:" >&5
7304 cat conftest.
$ac_ext >&5
7306 eval "ac_cv_lib_$ac_lib_var=no"
7309 LIBS
="$ac_save_LIBS"
7312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7313 echo "$ac_t""yes" 1>&6
7314 cat >> confdefs.h
<<\EOF
7319 echo "$ac_t""no" 1>&6
7324 if test "$wxUSE_WINE" = 1; then
7325 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7326 echo "configure:7327: checking for WINE includes" >&5
7329 for ac_dir
in $SEARCH_INCLUDE;
7331 if test -f "$ac_dir/windows.h"; then
7332 ac_find_includes
=$ac_dir
7337 if test "$ac_find_includes" != "" ; then
7338 echo "$ac_t""found $ac_find_includes" 1>&6
7339 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7341 echo "$ac_t""no" 1>&6
7342 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7346 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7347 echo "configure:7348: checking for Xpm library" >&5
7350 for ac_dir
in $SEARCH_LIB;
7352 for ac_extension
in a so sl
; do
7353 if test -f "$ac_dir/libXpm.$ac_extension"; then
7354 ac_find_libraries
=$ac_dir
7360 if test "$ac_find_libraries" != "" ; then
7361 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7363 cat >> confdefs.h
<<\EOF
7364 #define wxHAVE_LIB_XPM 1
7367 echo "$ac_t""found at $ac_find_libraries" 1>&6
7369 echo "$ac_t""no" 1>&6
7370 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7374 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7375 echo "configure:7376: checking for Mesa library" >&5
7378 for ac_dir
in $SEARCH_LIB;
7380 for ac_extension
in a so sl
; do
7381 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7382 ac_find_libraries
=$ac_dir
7388 if test "$ac_find_libraries" != "" ; then
7389 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7390 MESA_LINK
="-lMesaGL"
7391 echo "$ac_t""found at $ac_find_libraries" 1>&6
7393 { echo "configure: error: no" 1>&2; exit 1; }
7396 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7397 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7401 GUIHEADERS
="\$(MSW_HEADERS)"
7402 GUIOBJS
="\$(MSW_GUIOBJS)"
7403 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7404 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7405 GUIDEPS
="\$(MSW_GUIDEPS)"
7406 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7407 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7408 UNIXOBJS
="\$(UNIX_OBJS)"
7409 UNIXDEPS
="\$(UNIX_DEPS)"
7413 if test "$wxUSE_MOTIF" = 1; then
7414 # If we find X, set shell vars x_includes and x_libraries to the
7415 # paths, otherwise set no_x=yes.
7416 # Uses ac_ vars as temps to allow command line to override cache and checks.
7417 # --without-x overrides everything else, but does not touch the cache.
7418 echo $ac_n "checking for X""... $ac_c" 1>&6
7419 echo "configure:7420: checking for X" >&5
7421 # Check whether --with-x or --without-x was given.
7422 if test "${with_x+set}" = set; then
7427 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7428 if test "x$with_x" = xno
; then
7429 # The user explicitly disabled X.
7432 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7433 # Both variables are already set.
7436 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7437 echo $ac_n "(cached) $ac_c" 1>&6
7439 # One or both of the vars are not set, and there is no cached value.
7440 ac_x_includes
=NO ac_x_libraries
=NO
7442 if mkdir conftestdir
; then
7444 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7445 cat > Imakefile
<<'EOF'
7447 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7449 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7451 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7452 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7453 for ac_extension
in a so sl
; do
7454 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7455 test -f $ac_im_libdir/libX11.
$ac_extension; then
7456 ac_im_usrlibdir
=$ac_im_libdir; break
7459 # Screen out bogus values from the imake configuration. They are
7460 # bogus both because they are the default anyway, and because
7461 # using them would break gcc on systems where it needs fixed includes.
7462 case "$ac_im_incroot" in
7464 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7466 case "$ac_im_usrlibdir" in
7468 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7475 if test "$ac_x_includes" = NO
; then
7476 # Guess where to find include files, by looking for this one X11 .h file.
7477 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7479 # First, try using that file with no special directory specified.
7480 cat > conftest.
$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 #include <$x_direct_test_include>
7485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7486 { (eval echo configure
:7487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7488 if test -z "$ac_err"; then
7490 # We can compile using X headers with no special include directory.
7494 echo "configure: failed program was:" >&5
7495 cat conftest.
$ac_ext >&5
7497 # Look for the header file in a standard set of common directories.
7498 # Check X11 before X11Rn because it is often a symlink to the current release.
7501 /usr
/X
11R
6/include \
7502 /usr
/X
11R
5/include \
7503 /usr
/X
11R
4/include \
7506 /usr
/include
/X11R6 \
7507 /usr
/include
/X11R5 \
7508 /usr
/include
/X11R4 \
7510 /usr
/local
/X
11/include \
7511 /usr
/local
/X
11R
6/include \
7512 /usr
/local
/X
11R
5/include \
7513 /usr
/local
/X
11R
4/include \
7515 /usr
/local
/include
/X11 \
7516 /usr
/local
/include
/X11R6 \
7517 /usr
/local
/include
/X11R5 \
7518 /usr
/local
/include
/X11R4 \
7522 /usr
/XFree
86/include
/X11 \
7525 /usr
/local
/include \
7526 /usr
/unsupported
/include \
7527 /usr
/athena
/include \
7528 /usr
/local
/x
11r
5/include \
7529 /usr
/lpp
/Xamples
/include \
7531 /usr
/openwin
/include \
7532 /usr
/openwin
/share
/include \
7535 if test -r "$ac_dir/$x_direct_test_include"; then
7536 ac_x_includes
=$ac_dir
7542 fi # $ac_x_includes = NO
7544 if test "$ac_x_libraries" = NO
; then
7545 # Check for the libraries.
7547 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7548 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7550 # See if we find them without any special options.
7551 # Don't add to $LIBS permanently.
7552 ac_save_LIBS
="$LIBS"
7553 LIBS
="-l$x_direct_test_library $LIBS"
7554 cat > conftest.
$ac_ext <<EOF
7555 #line 7556 "configure"
7556 #include "confdefs.h"
7559 ${x_direct_test_function}()
7562 if { (eval echo configure
:7563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7564 LIBS
="$ac_save_LIBS"
7565 # We can link X programs with no special library path.
7568 echo "configure: failed program was:" >&5
7569 cat conftest.
$ac_ext >&5
7571 LIBS
="$ac_save_LIBS"
7572 # First see if replacing the include by lib works.
7573 # Check X11 before X11Rn because it is often a symlink to the current release.
7574 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7585 /usr
/local
/X
11/lib \
7586 /usr
/local
/X
11R
6/lib \
7587 /usr
/local
/X
11R
5/lib \
7588 /usr
/local
/X
11R
4/lib \
7590 /usr
/local
/lib
/X11 \
7591 /usr
/local
/lib
/X11R6 \
7592 /usr
/local
/lib
/X11R5 \
7593 /usr
/local
/lib
/X11R4 \
7597 /usr
/XFree
86/lib
/X11 \
7601 /usr
/unsupported
/lib \
7603 /usr
/local
/x
11r
5/lib \
7604 /usr
/lpp
/Xamples
/lib \
7608 /usr
/openwin
/share
/lib \
7611 for ac_extension
in a so sl
; do
7612 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7613 ac_x_libraries
=$ac_dir
7620 fi # $ac_x_libraries = NO
7622 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7623 # Didn't find X anywhere. Cache the known absence of X.
7624 ac_cv_have_x
="have_x=no"
7626 # Record where we found X for the cache.
7627 ac_cv_have_x
="have_x=yes \
7628 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7632 eval "$ac_cv_have_x"
7635 if test "$have_x" != yes; then
7636 echo "$ac_t""$have_x" 1>&6
7639 # If each of the values was on the command line, it overrides each guess.
7640 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7641 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7642 # Update the cache value to reflect the command line values.
7643 ac_cv_have_x
="have_x=yes \
7644 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7645 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7648 if test "$no_x" = yes; then
7649 # Not all programs may use this symbol, but it does not hurt to define it.
7650 cat >> confdefs.h
<<\EOF
7651 #define X_DISPLAY_MISSING 1
7654 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7656 if test -n "$x_includes"; then
7657 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7660 # It would also be nice to do this for all -L options, not just this one.
7661 if test -n "$x_libraries"; then
7662 X_LIBS
="$X_LIBS -L$x_libraries"
7663 # For Solaris; some versions of Sun CC require a space after -R and
7664 # others require no space. Words are not sufficient . . . .
7665 case "`(uname -sr) 2>/dev/null`" in
7667 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7668 echo "configure:7669: checking whether -R must be followed by a space" >&5
7669 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7670 cat > conftest.
$ac_ext <<EOF
7671 #line 7672 "configure"
7672 #include "confdefs.h"
7678 if { (eval echo configure
:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7682 echo "configure: failed program was:" >&5
7683 cat conftest.
$ac_ext >&5
7688 if test $ac_R_nospace = yes; then
7689 echo "$ac_t""no" 1>&6
7690 X_LIBS
="$X_LIBS -R$x_libraries"
7692 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7693 cat > conftest.
$ac_ext <<EOF
7694 #line 7695 "configure"
7695 #include "confdefs.h"
7701 if { (eval echo configure
:7702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7705 echo "configure: failed program was:" >&5
7706 cat conftest.
$ac_ext >&5
7711 if test $ac_R_space = yes; then
7712 echo "$ac_t""yes" 1>&6
7713 X_LIBS
="$X_LIBS -R $x_libraries"
7715 echo "$ac_t""neither works" 1>&6
7718 LIBS
="$ac_xsave_LIBS"
7722 # Check for system-dependent libraries X programs must link with.
7723 # Do this before checking for the system-independent R6 libraries
7724 # (-lICE), since we may need -lsocket or whatever for X linking.
7726 if test "$ISC" = yes; then
7727 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7729 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7730 # libraries were built with DECnet support. And karl@cs.umb.edu says
7731 # the Alpha needs dnet_stub (dnet does not exist).
7732 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7733 echo "configure:7734: checking for dnet_ntoa in -ldnet" >&5
7734 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7736 echo $ac_n "(cached) $ac_c" 1>&6
7738 ac_save_LIBS
="$LIBS"
7740 cat > conftest.
$ac_ext <<EOF
7741 #line 7742 "configure"
7742 #include "confdefs.h"
7743 /* Override any gcc2 internal prototype to avoid an error. */
7744 /* We use char because int might match the return type of a gcc2
7745 builtin and then its argument prototype would still apply. */
7752 if { (eval echo configure
:7753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7754 eval "ac_cv_lib_$ac_lib_var=yes"
7756 echo "configure: failed program was:" >&5
7757 cat conftest.
$ac_ext >&5
7759 eval "ac_cv_lib_$ac_lib_var=no"
7762 LIBS
="$ac_save_LIBS"
7765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7766 echo "$ac_t""yes" 1>&6
7767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7769 echo "$ac_t""no" 1>&6
7772 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7773 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7774 echo "configure:7775: checking for dnet_ntoa in -ldnet_stub" >&5
7775 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7777 echo $ac_n "(cached) $ac_c" 1>&6
7779 ac_save_LIBS
="$LIBS"
7780 LIBS
="-ldnet_stub $LIBS"
7781 cat > conftest.
$ac_ext <<EOF
7782 #line 7783 "configure"
7783 #include "confdefs.h"
7784 /* Override any gcc2 internal prototype to avoid an error. */
7785 /* We use char because int might match the return type of a gcc2
7786 builtin and then its argument prototype would still apply. */
7793 if { (eval echo configure
:7794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7795 eval "ac_cv_lib_$ac_lib_var=yes"
7797 echo "configure: failed program was:" >&5
7798 cat conftest.
$ac_ext >&5
7800 eval "ac_cv_lib_$ac_lib_var=no"
7803 LIBS
="$ac_save_LIBS"
7806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7807 echo "$ac_t""yes" 1>&6
7808 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7810 echo "$ac_t""no" 1>&6
7815 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7816 # to get the SysV transport functions.
7817 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7819 # The nsl library prevents programs from opening the X display
7820 # on Irix 5.2, according to dickey@clark.net.
7821 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7822 echo "configure:7823: checking for gethostbyname" >&5
7823 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7826 cat > conftest.
$ac_ext <<EOF
7827 #line 7828 "configure"
7828 #include "confdefs.h"
7829 /* System header to define __stub macros and hopefully few prototypes,
7830 which can conflict with char gethostbyname(); below. */
7832 /* Override any gcc2 internal prototype to avoid an error. */
7833 /* We use char because int might match the return type of a gcc2
7834 builtin and then its argument prototype would still apply. */
7835 char gethostbyname();
7839 /* The GNU C library defines this for functions which it implements
7840 to always fail with ENOSYS. Some functions are actually named
7841 something starting with __ and the normal name is an alias. */
7842 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7850 if { (eval echo configure
:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7852 eval "ac_cv_func_gethostbyname=yes"
7854 echo "configure: failed program was:" >&5
7855 cat conftest.
$ac_ext >&5
7857 eval "ac_cv_func_gethostbyname=no"
7862 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7863 echo "$ac_t""yes" 1>&6
7866 echo "$ac_t""no" 1>&6
7869 if test $ac_cv_func_gethostbyname = no
; then
7870 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7871 echo "configure:7872: checking for gethostbyname in -lnsl" >&5
7872 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7874 echo $ac_n "(cached) $ac_c" 1>&6
7876 ac_save_LIBS
="$LIBS"
7878 cat > conftest.
$ac_ext <<EOF
7879 #line 7880 "configure"
7880 #include "confdefs.h"
7881 /* Override any gcc2 internal prototype to avoid an error. */
7882 /* We use char because int might match the return type of a gcc2
7883 builtin and then its argument prototype would still apply. */
7884 char gethostbyname();
7890 if { (eval echo configure
:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7892 eval "ac_cv_lib_$ac_lib_var=yes"
7894 echo "configure: failed program was:" >&5
7895 cat conftest.
$ac_ext >&5
7897 eval "ac_cv_lib_$ac_lib_var=no"
7900 LIBS
="$ac_save_LIBS"
7903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7904 echo "$ac_t""yes" 1>&6
7905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7907 echo "$ac_t""no" 1>&6
7912 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7913 # socket/setsockopt and other routines are undefined under SCO ODT
7914 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7915 # on later versions), says simon@lia.di.epfl.ch: it contains
7916 # gethostby* variants that don't use the nameserver (or something).
7917 # -lsocket must be given before -lnsl if both are needed.
7918 # We assume that if connect needs -lnsl, so does gethostbyname.
7919 echo $ac_n "checking for connect""... $ac_c" 1>&6
7920 echo "configure:7921: checking for connect" >&5
7921 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7922 echo $ac_n "(cached) $ac_c" 1>&6
7924 cat > conftest.
$ac_ext <<EOF
7925 #line 7926 "configure"
7926 #include "confdefs.h"
7927 /* System header to define __stub macros and hopefully few prototypes,
7928 which can conflict with char connect(); below. */
7930 /* Override any gcc2 internal prototype to avoid an error. */
7931 /* We use char because int might match the return type of a gcc2
7932 builtin and then its argument prototype would still apply. */
7937 /* The GNU C library defines this for functions which it implements
7938 to always fail with ENOSYS. Some functions are actually named
7939 something starting with __ and the normal name is an alias. */
7940 #if defined (__stub_connect) || defined (__stub___connect)
7948 if { (eval echo configure
:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7950 eval "ac_cv_func_connect=yes"
7952 echo "configure: failed program was:" >&5
7953 cat conftest.
$ac_ext >&5
7955 eval "ac_cv_func_connect=no"
7960 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7961 echo "$ac_t""yes" 1>&6
7964 echo "$ac_t""no" 1>&6
7967 if test $ac_cv_func_connect = no
; then
7968 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7969 echo "configure:7970: checking for connect in -lsocket" >&5
7970 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7972 echo $ac_n "(cached) $ac_c" 1>&6
7974 ac_save_LIBS
="$LIBS"
7975 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7976 cat > conftest.
$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7979 /* Override any gcc2 internal prototype to avoid an error. */
7980 /* We use char because int might match the return type of a gcc2
7981 builtin and then its argument prototype would still apply. */
7988 if { (eval echo configure
:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7990 eval "ac_cv_lib_$ac_lib_var=yes"
7992 echo "configure: failed program was:" >&5
7993 cat conftest.
$ac_ext >&5
7995 eval "ac_cv_lib_$ac_lib_var=no"
7998 LIBS
="$ac_save_LIBS"
8001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8002 echo "$ac_t""yes" 1>&6
8003 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8005 echo "$ac_t""no" 1>&6
8010 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8011 echo $ac_n "checking for remove""... $ac_c" 1>&6
8012 echo "configure:8013: checking for remove" >&5
8013 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8014 echo $ac_n "(cached) $ac_c" 1>&6
8016 cat > conftest.
$ac_ext <<EOF
8017 #line 8018 "configure"
8018 #include "confdefs.h"
8019 /* System header to define __stub macros and hopefully few prototypes,
8020 which can conflict with char remove(); below. */
8022 /* Override any gcc2 internal prototype to avoid an error. */
8023 /* We use char because int might match the return type of a gcc2
8024 builtin and then its argument prototype would still apply. */
8029 /* The GNU C library defines this for functions which it implements
8030 to always fail with ENOSYS. Some functions are actually named
8031 something starting with __ and the normal name is an alias. */
8032 #if defined (__stub_remove) || defined (__stub___remove)
8040 if { (eval echo configure
:8041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8042 eval "ac_cv_func_remove=yes"
8044 echo "configure: failed program was:" >&5
8045 cat conftest.
$ac_ext >&5
8047 eval "ac_cv_func_remove=no"
8052 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8053 echo "$ac_t""yes" 1>&6
8056 echo "$ac_t""no" 1>&6
8059 if test $ac_cv_func_remove = no
; then
8060 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8061 echo "configure:8062: checking for remove in -lposix" >&5
8062 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8064 echo $ac_n "(cached) $ac_c" 1>&6
8066 ac_save_LIBS
="$LIBS"
8067 LIBS
="-lposix $LIBS"
8068 cat > conftest.
$ac_ext <<EOF
8069 #line 8070 "configure"
8070 #include "confdefs.h"
8071 /* Override any gcc2 internal prototype to avoid an error. */
8072 /* We use char because int might match the return type of a gcc2
8073 builtin and then its argument prototype would still apply. */
8080 if { (eval echo configure
:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8082 eval "ac_cv_lib_$ac_lib_var=yes"
8084 echo "configure: failed program was:" >&5
8085 cat conftest.
$ac_ext >&5
8087 eval "ac_cv_lib_$ac_lib_var=no"
8090 LIBS
="$ac_save_LIBS"
8093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8094 echo "$ac_t""yes" 1>&6
8095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8097 echo "$ac_t""no" 1>&6
8102 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8103 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8104 echo "configure:8105: checking for shmat" >&5
8105 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8106 echo $ac_n "(cached) $ac_c" 1>&6
8108 cat > conftest.
$ac_ext <<EOF
8109 #line 8110 "configure"
8110 #include "confdefs.h"
8111 /* System header to define __stub macros and hopefully few prototypes,
8112 which can conflict with char shmat(); below. */
8114 /* Override any gcc2 internal prototype to avoid an error. */
8115 /* We use char because int might match the return type of a gcc2
8116 builtin and then its argument prototype would still apply. */
8121 /* The GNU C library defines this for functions which it implements
8122 to always fail with ENOSYS. Some functions are actually named
8123 something starting with __ and the normal name is an alias. */
8124 #if defined (__stub_shmat) || defined (__stub___shmat)
8132 if { (eval echo configure
:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8134 eval "ac_cv_func_shmat=yes"
8136 echo "configure: failed program was:" >&5
8137 cat conftest.
$ac_ext >&5
8139 eval "ac_cv_func_shmat=no"
8144 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8145 echo "$ac_t""yes" 1>&6
8148 echo "$ac_t""no" 1>&6
8151 if test $ac_cv_func_shmat = no
; then
8152 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8153 echo "configure:8154: checking for shmat in -lipc" >&5
8154 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8156 echo $ac_n "(cached) $ac_c" 1>&6
8158 ac_save_LIBS
="$LIBS"
8160 cat > conftest.
$ac_ext <<EOF
8161 #line 8162 "configure"
8162 #include "confdefs.h"
8163 /* Override any gcc2 internal prototype to avoid an error. */
8164 /* We use char because int might match the return type of a gcc2
8165 builtin and then its argument prototype would still apply. */
8172 if { (eval echo configure
:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8174 eval "ac_cv_lib_$ac_lib_var=yes"
8176 echo "configure: failed program was:" >&5
8177 cat conftest.
$ac_ext >&5
8179 eval "ac_cv_lib_$ac_lib_var=no"
8182 LIBS
="$ac_save_LIBS"
8185 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8186 echo "$ac_t""yes" 1>&6
8187 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8189 echo "$ac_t""no" 1>&6
8195 # Check for libraries that X11R6 Xt/Xaw programs need.
8196 ac_save_LDFLAGS
="$LDFLAGS"
8197 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8199 # check for ICE first), but we must link in the order -lSM -lICE or
8200 # we get undefined symbols. So assume we have SM if we have ICE.
8201 # These have to be linked with before -lX11, unlike the other
8202 # libraries we check for below, so use a different variable.
8203 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8204 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8205 echo "configure:8206: checking for IceConnectionNumber in -lICE" >&5
8206 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8208 echo $ac_n "(cached) $ac_c" 1>&6
8210 ac_save_LIBS
="$LIBS"
8211 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8212 cat > conftest.
$ac_ext <<EOF
8213 #line 8214 "configure"
8214 #include "confdefs.h"
8215 /* Override any gcc2 internal prototype to avoid an error. */
8216 /* We use char because int might match the return type of a gcc2
8217 builtin and then its argument prototype would still apply. */
8218 char IceConnectionNumber();
8221 IceConnectionNumber()
8224 if { (eval echo configure
:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8226 eval "ac_cv_lib_$ac_lib_var=yes"
8228 echo "configure: failed program was:" >&5
8229 cat conftest.
$ac_ext >&5
8231 eval "ac_cv_lib_$ac_lib_var=no"
8234 LIBS
="$ac_save_LIBS"
8237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8238 echo "$ac_t""yes" 1>&6
8239 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8241 echo "$ac_t""no" 1>&6
8244 LDFLAGS
="$ac_save_LDFLAGS"
8249 if test "$no_x" = "yes"; then
8250 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8253 GUI_TK_LIBRARY
="$X_LIBS"
8254 TOOLKIT_INCLUDE
="$X_CFLAGS"
8256 AFMINSTALL
=afminstall
8259 COMPILED_X_PROGRAM
=0
8261 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8262 echo "configure:8263: checking for Motif/Lesstif headers" >&5
8265 for ac_dir
in $SEARCH_INCLUDE;
8267 if test -f "$ac_dir/Xm/Xm.h"; then
8268 ac_find_includes
=$ac_dir
8273 if test "$ac_find_includes" != "" ; then
8274 echo "$ac_t""found $ac_find_includes" 1>&6
8276 cat > conftest.
$ac_ext <<EOF
8277 #line 8278 "configure"
8278 #include "confdefs.h"
8286 version = xmUseVersion;
8290 if { (eval echo configure
:8291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8293 echo "$ac_t""found in default search path" 1>&6
8294 COMPILED_X_PROGRAM
=1
8297 echo "configure: failed program was:" >&5
8298 cat conftest.
$ac_ext >&5
8301 echo "$ac_t""no" 1>&6
8302 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8309 if test "$COMPILED_X_PROGRAM" = 0; then
8310 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8311 echo "configure:8312: checking for Motif/Lesstif library" >&5
8314 for ac_dir
in $SEARCH_LIB;
8316 for ac_extension
in a so sl
; do
8317 if test -f "$ac_dir/libXm.$ac_extension"; then
8318 ac_find_libraries
=$ac_dir
8324 if test "$ac_find_libraries" != "" ; then
8326 ac_path_to_include
=$ac_find_includes
8327 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8329 if test $result = 0; then
8330 ac_path_to_include
=""
8332 ac_path_to_include
="-I$ac_find_includes"
8336 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8338 if test $result = 0; then
8341 ac_path_to_link
="-L$ac_find_libraries"
8345 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8346 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8347 echo "$ac_t""found at $ac_find_libraries" 1>&6
8349 cat > conftest.
$ac_ext <<EOF
8350 #line 8351 "configure"
8351 #include "confdefs.h"
8359 version = xmUseVersion;
8363 if { (eval echo configure
:8364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8366 echo "$ac_t""found in default search path" 1>&6
8367 COMPILED_X_PROGRAM
=1
8370 echo "configure: failed program was:" >&5
8371 cat conftest.
$ac_ext >&5
8374 echo "$ac_t""no" 1>&6
8375 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8385 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8386 echo "configure:8387: checking for Xpm library" >&5
8389 for ac_dir
in $SEARCH_LIB;
8391 for ac_extension
in a so sl
; do
8392 if test -f "$ac_dir/libXpm.$ac_extension"; then
8393 ac_find_libraries
=$ac_dir
8399 if test "$ac_find_libraries" != "" ; then
8401 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8403 if test $result = 0; then
8406 ac_path_to_link
="-L$ac_find_libraries"
8409 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8411 cat >> confdefs.h
<<\EOF
8412 #define wxHAVE_LIB_XPM 1
8415 echo "$ac_t""found at $ac_find_libraries" 1>&6
8417 cat > conftest.
$ac_ext <<EOF
8418 #line 8419 "configure"
8419 #include "confdefs.h"
8421 #include <X11/xpm.h>
8427 version = XpmLibraryVersion();
8431 if { (eval echo configure
:8432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8435 cat >> confdefs.h
<<\EOF
8436 #define wxHAVE_LIB_XPM 1
8439 echo "$ac_t""found in default search path" 1>&6
8440 COMPILED_X_PROGRAM
=0
8443 echo "configure: failed program was:" >&5
8444 cat conftest.
$ac_ext >&5
8447 echo "$ac_t""no" 1>&6
8448 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8455 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8456 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8459 GUIHEADERS
="\$(MOTIF_HEADERS)"
8460 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8461 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8462 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8463 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8464 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8465 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8466 UNIXOBJS
="\$(UNIX_OBJS)"
8467 UNIXDEPS
="\$(UNIX_DEPS)"
8471 if test "$wxUSE_PM" = 1; then
8474 GUIOBJS
="\$(PM_GUIOBJS)"
8475 GUIHEADERS
="\$(PM_HEADERS)"
8476 COMMONOBJS
="\$(PM_COMMONOBJS)"
8477 GENERICOBJS
="\$(PM_GENERICOBJS)"
8478 GUIDEPS
="\$(PM_GUIDEPS)"
8479 COMMONDEPS
="\$(PM_COMMONDEPS)"
8480 GENERICDEPS
="\$(PM_GENERICDEPS)"
8486 if test "$TOOLKIT" != "PM" ; then
8487 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8492 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8494 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8496 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8498 if test "$TOOLKIT" != "MSW"; then
8499 if test "$wxUSE_ODBC" = "yes" ; then
8500 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8504 if test "$wxUSE_LIBJPEG" = "yes" ; then
8505 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8507 if test "$wxUSE_LIBTIFF" = "yes" ; then
8508 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8510 if test "$wxUSE_LIBPNG" = "yes" ; then
8511 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8513 if test "$wxUSE_ZLIB" = "yes" ; then
8514 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8516 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8518 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8519 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8520 RPM_SPEC
="wx\$(TOOLKIT).spec"
8522 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8523 DISTDIR
="wx\$(TOOLKIT)"
8528 TOOLKIT_DEF
="-D__WXBASE__"
8530 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8531 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8535 PORT_FILES
="src/files.lst"
8536 RPM_FILES
="src/rpmfiles.lst"
8537 RPM_SPEC
="wxBase.spec"
8543 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8544 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8546 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8547 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8549 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8550 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8552 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8553 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8554 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8555 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8556 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8557 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8566 if test "$wxUSE_SHARED" = "yes"; then
8569 if test "$GCC" = yes ; then
8570 SHARED_LD
="${CC} -shared -fPIC -o"
8573 SHARED_LD
="${CXX} -b -o"
8576 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8577 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_DIR}_gl.sl"
8578 if test "$wxUSE_OPENGL" = "yes"; then
8579 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
8581 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
8586 SHARED_LD
="${CC} -shared -o"
8588 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8589 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8590 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8592 if test "$wxUSE_OPENGL" = "yes"; then
8593 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8594 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8596 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8597 WX_ALL
="CREATE_LINKS"
8600 *-*-irix5* | *-*-irix6* )
8601 if test "$GCC" = yes ; then
8602 SHARED_LD
="${CC} -shared -o"
8605 SHARED_LD
="${CXX} -shared -o"
8607 if test "$wxUSE_OPENGL" = "yes"; then
8608 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8609 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8611 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8612 WX_ALL
="CREATE_LINKS"
8616 if test "$GCC" = yes ; then
8617 SHARED_LD
="${CC} -shared -o"
8620 SHARED_LD
="${CXX} -G -o"
8623 if test "$wxUSE_OPENGL" = "yes"; then
8624 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8625 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8627 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8628 WX_ALL
="CREATE_LINKS"
8632 SHARED_LD
="${CC} -shared -o"
8634 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8635 WX_ALL
="CREATE_LINKS"
8637 *-*-freebsd* | *-*-netbsd*)
8638 SHARED_LD
="${CC} -shared -o"
8640 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8641 WX_ALL
="CREATE_LINKS"
8644 SHARED_LD
="${CXX} -shared -o"
8646 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8647 WX_ALL
="CREATE_LINKS"
8650 SHARED_LD
="${CXX} -shared -o"
8652 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8653 WX_ALL
="CREATE_LINKS"
8656 SHARED_LD
="${CC} -shared -o"
8658 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8659 WX_ALL
="CREATE_LINKS"
8662 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8663 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8666 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8667 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8668 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8671 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8672 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8673 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8676 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8677 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8680 SHARED_LD
="${LD} -shared -o"
8682 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8683 WX_ALL
="CREATE_LINKS"
8686 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8689 if test "x$WX_TARGET_LIBRARY" = "x"; then
8690 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8691 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8693 WX_TARGET_LIBRARY_TYPE
="so"
8695 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8696 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8697 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8698 WX_TARGET_LIBRARY_TYPE
="a"
8702 for ac_hdr
in strings.h
8704 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8706 echo "configure:8707: checking for $ac_hdr" >&5
8707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8708 echo $ac_n "(cached) $ac_c" 1>&6
8710 cat > conftest.
$ac_ext <<EOF
8711 #line 8712 "configure"
8712 #include "confdefs.h"
8715 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8716 { (eval echo configure
:8717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8717 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8718 if test -z "$ac_err"; then
8720 eval "ac_cv_header_$ac_safe=yes"
8723 echo "configure: failed program was:" >&5
8724 cat conftest.
$ac_ext >&5
8726 eval "ac_cv_header_$ac_safe=no"
8730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8731 echo "$ac_t""yes" 1>&6
8732 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8733 cat >> confdefs.h
<<EOF
8734 #define $ac_tr_hdr 1
8738 echo "$ac_t""no" 1>&6
8742 for ac_hdr
in unistd.h
8744 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8746 echo "configure:8747: checking for $ac_hdr" >&5
8747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8750 cat > conftest.
$ac_ext <<EOF
8751 #line 8752 "configure"
8752 #include "confdefs.h"
8755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8756 { (eval echo configure
:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8757 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8758 if test -z "$ac_err"; then
8760 eval "ac_cv_header_$ac_safe=yes"
8763 echo "configure: failed program was:" >&5
8764 cat conftest.
$ac_ext >&5
8766 eval "ac_cv_header_$ac_safe=no"
8770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8771 echo "$ac_t""yes" 1>&6
8772 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8773 cat >> confdefs.h
<<EOF
8774 #define $ac_tr_hdr 1
8778 echo "$ac_t""no" 1>&6
8782 for ac_hdr
in wchar.h
8784 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8786 echo "configure:8787: checking for $ac_hdr" >&5
8787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 cat > conftest.
$ac_ext <<EOF
8791 #line 8792 "configure"
8792 #include "confdefs.h"
8795 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8796 { (eval echo configure
:8797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8797 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8798 if test -z "$ac_err"; then
8800 eval "ac_cv_header_$ac_safe=yes"
8803 echo "configure: failed program was:" >&5
8804 cat conftest.
$ac_ext >&5
8806 eval "ac_cv_header_$ac_safe=no"
8810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8811 echo "$ac_t""yes" 1>&6
8812 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8813 cat >> confdefs.h
<<EOF
8814 #define $ac_tr_hdr 1
8818 echo "$ac_t""no" 1>&6
8822 for ac_hdr
in wcstr.h
8824 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8825 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8826 echo "configure:8827: checking for $ac_hdr" >&5
8827 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8828 echo $ac_n "(cached) $ac_c" 1>&6
8830 cat > conftest.
$ac_ext <<EOF
8831 #line 8832 "configure"
8832 #include "confdefs.h"
8835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8836 { (eval echo configure
:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8838 if test -z "$ac_err"; then
8840 eval "ac_cv_header_$ac_safe=yes"
8843 echo "configure: failed program was:" >&5
8844 cat conftest.
$ac_ext >&5
8846 eval "ac_cv_header_$ac_safe=no"
8850 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8851 echo "$ac_t""yes" 1>&6
8852 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8853 cat >> confdefs.h
<<EOF
8854 #define $ac_tr_hdr 1
8858 echo "$ac_t""no" 1>&6
8862 for ac_hdr
in fnmatch.h
8864 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8865 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8866 echo "configure:8867: checking for $ac_hdr" >&5
8867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8868 echo $ac_n "(cached) $ac_c" 1>&6
8870 cat > conftest.
$ac_ext <<EOF
8871 #line 8872 "configure"
8872 #include "confdefs.h"
8875 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8876 { (eval echo configure
:8877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8877 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8878 if test -z "$ac_err"; then
8880 eval "ac_cv_header_$ac_safe=yes"
8883 echo "configure: failed program was:" >&5
8884 cat conftest.
$ac_ext >&5
8886 eval "ac_cv_header_$ac_safe=no"
8890 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8891 echo "$ac_t""yes" 1>&6
8892 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8893 cat >> confdefs.h
<<EOF
8894 #define $ac_tr_hdr 1
8898 echo "$ac_t""no" 1>&6
8903 if test "$wxUSE_GUI" = "yes"; then
8904 if test "$wxUSE_UNIX" = "yes"; then
8905 for ac_hdr
in X
11/XKBlib.h
8907 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8908 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8909 echo "configure:8910: checking for $ac_hdr" >&5
8910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8911 echo $ac_n "(cached) $ac_c" 1>&6
8913 cat > conftest.
$ac_ext <<EOF
8914 #line 8915 "configure"
8915 #include "confdefs.h"
8918 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8919 { (eval echo configure
:8920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8920 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8921 if test -z "$ac_err"; then
8923 eval "ac_cv_header_$ac_safe=yes"
8926 echo "configure: failed program was:" >&5
8927 cat conftest.
$ac_ext >&5
8929 eval "ac_cv_header_$ac_safe=no"
8933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8934 echo "$ac_t""yes" 1>&6
8935 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8936 cat >> confdefs.h
<<EOF
8937 #define $ac_tr_hdr 1
8941 echo "$ac_t""no" 1>&6
8949 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8950 echo "configure:8951: checking for ANSI C header files" >&5
8951 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8954 cat > conftest.
$ac_ext <<EOF
8955 #line 8956 "configure"
8956 #include "confdefs.h"
8962 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8963 { (eval echo configure
:8964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8964 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8965 if test -z "$ac_err"; then
8967 ac_cv_header_stdc
=yes
8970 echo "configure: failed program was:" >&5
8971 cat conftest.
$ac_ext >&5
8973 ac_cv_header_stdc
=no
8977 if test $ac_cv_header_stdc = yes; then
8978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8979 cat > conftest.
$ac_ext <<EOF
8980 #line 8981 "configure"
8981 #include "confdefs.h"
8984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8985 egrep "memchr" >/dev
/null
2>&1; then
8989 ac_cv_header_stdc
=no
8995 if test $ac_cv_header_stdc = yes; then
8996 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8997 cat > conftest.
$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9003 egrep "free" >/dev
/null
2>&1; then
9007 ac_cv_header_stdc
=no
9013 if test $ac_cv_header_stdc = yes; then
9014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9015 if test "$cross_compiling" = yes; then
9018 cat > conftest.
$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9022 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9023 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9025 int main () { int i; for (i = 0; i < 256; i++)
9026 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9030 if { (eval echo configure
:9031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9034 echo "configure: failed program was:" >&5
9035 cat conftest.
$ac_ext >&5
9037 ac_cv_header_stdc
=no
9045 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9046 if test $ac_cv_header_stdc = yes; then
9047 cat >> confdefs.h
<<\EOF
9048 #define STDC_HEADERS 1
9053 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9054 echo "configure:9055: checking for mode_t" >&5
9055 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9056 echo $ac_n "(cached) $ac_c" 1>&6
9058 cat > conftest.
$ac_ext <<EOF
9059 #line 9060 "configure"
9060 #include "confdefs.h"
9061 #include <sys/types.h>
9067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9068 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9070 ac_cv_type_mode_t
=yes
9073 ac_cv_type_mode_t
=no
9078 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9079 if test $ac_cv_type_mode_t = no
; then
9080 cat >> confdefs.h
<<\EOF
9086 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9087 echo "configure:9088: checking for off_t" >&5
9088 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9089 echo $ac_n "(cached) $ac_c" 1>&6
9091 cat > conftest.
$ac_ext <<EOF
9092 #line 9093 "configure"
9093 #include "confdefs.h"
9094 #include <sys/types.h>
9100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9101 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9103 ac_cv_type_off_t
=yes
9111 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9112 if test $ac_cv_type_off_t = no
; then
9113 cat >> confdefs.h
<<\EOF
9119 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9120 echo "configure:9121: checking for pid_t" >&5
9121 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9122 echo $ac_n "(cached) $ac_c" 1>&6
9124 cat > conftest.
$ac_ext <<EOF
9125 #line 9126 "configure"
9126 #include "confdefs.h"
9127 #include <sys/types.h>
9133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9134 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9136 ac_cv_type_pid_t
=yes
9144 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9145 if test $ac_cv_type_pid_t = no
; then
9146 cat >> confdefs.h
<<\EOF
9152 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9153 echo "configure:9154: checking for size_t" >&5
9154 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9157 cat > conftest.
$ac_ext <<EOF
9158 #line 9159 "configure"
9159 #include "confdefs.h"
9160 #include <sys/types.h>
9166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9167 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9169 ac_cv_type_size_t
=yes
9172 ac_cv_type_size_t
=no
9177 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9178 if test $ac_cv_type_size_t = no
; then
9179 cat >> confdefs.h
<<\EOF
9180 #define size_t unsigned
9185 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9186 echo "configure:9187: checking for uid_t in sys/types.h" >&5
9187 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9188 echo $ac_n "(cached) $ac_c" 1>&6
9190 cat > conftest.
$ac_ext <<EOF
9191 #line 9192 "configure"
9192 #include "confdefs.h"
9193 #include <sys/types.h>
9195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9196 egrep "uid_t" >/dev
/null
2>&1; then
9198 ac_cv_type_uid_t
=yes
9207 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9208 if test $ac_cv_type_uid_t = no
; then
9209 cat >> confdefs.h
<<\EOF
9213 cat >> confdefs.h
<<\EOF
9221 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9222 echo "configure:9223: checking for pw_gecos in struct passwd" >&5
9223 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9224 echo $ac_n "(cached) $ac_c" 1>&6
9227 cat > conftest.
$ac_ext <<EOF
9228 #line 9229 "configure"
9229 #include "confdefs.h"
9239 if { (eval echo configure
:9240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9242 wx_cv_struct_pw_gecos
=yes
9243 cat >> confdefs.h
<<\EOF
9244 #define HAVE_PW_GECOS 1
9249 echo "configure: failed program was:" >&5
9250 cat conftest.
$ac_ext >&5
9253 wx_cv_struct_pw_gecos
=no
9262 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9265 echo $ac_n "checking for working const""... $ac_c" 1>&6
9266 echo "configure:9267: checking for working const" >&5
9267 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9268 echo $ac_n "(cached) $ac_c" 1>&6
9270 cat > conftest.
$ac_ext <<EOF
9271 #line 9272 "configure"
9272 #include "confdefs.h"
9276 /* Ultrix mips cc rejects this. */
9277 typedef int charset[2]; const charset x = {0,0};
9278 /* SunOS 4.1.1 cc rejects this. */
9279 char const *const *ccp;
9281 /* NEC SVR4.0.2 mips cc rejects this. */
9282 struct point {int x, y;};
9283 static struct point const zero = {0,0};
9284 /* AIX XL C 1.02.0.0 rejects this.
9285 It does not let you subtract one const X* pointer from another in an arm
9286 of an if-expression whose if-part is not a constant expression */
9287 const char *g = "string";
9288 ccp = &g + (g ? g-g : 0);
9289 /* HPUX 7.0 cc rejects these. */
9292 ccp = (char const *const *) p;
9293 { /* SCO 3.2v4 cc rejects this. */
9295 char const *s = 0 ? (char *) 0 : (char const *) 0;
9299 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9301 const int *foo = &x[0];
9304 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9305 typedef const int *iptr;
9309 { /* AIX XL C 1.02.0.0 rejects this saying
9310 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9311 struct s { int j; const int *ap[3]; };
9312 struct s *b; b->j = 5;
9314 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9320 if { (eval echo configure
:9321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9324 echo "configure: failed program was:" >&5
9325 cat conftest.
$ac_ext >&5
9332 echo "$ac_t""$ac_cv_c_const" 1>&6
9333 if test $ac_cv_c_const = no
; then
9334 cat >> confdefs.h
<<\EOF
9340 echo $ac_n "checking for inline""... $ac_c" 1>&6
9341 echo "configure:9342: checking for inline" >&5
9342 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9343 echo $ac_n "(cached) $ac_c" 1>&6
9346 for ac_kw
in inline __inline__ __inline
; do
9347 cat > conftest.
$ac_ext <<EOF
9348 #line 9349 "configure"
9349 #include "confdefs.h"
9352 } int $ac_kw foo() {
9355 if { (eval echo configure
:9356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9357 ac_cv_c_inline
=$ac_kw; break
9359 echo "configure: failed program was:" >&5
9360 cat conftest.
$ac_ext >&5
9367 echo "$ac_t""$ac_cv_c_inline" 1>&6
9368 case "$ac_cv_c_inline" in
9370 no
) cat >> confdefs.h
<<\EOF
9374 *) cat >> confdefs.h
<<EOF
9375 #define inline $ac_cv_c_inline
9381 echo $ac_n "checking size of char""... $ac_c" 1>&6
9382 echo "configure:9383: checking size of char" >&5
9383 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9384 echo $ac_n "(cached) $ac_c" 1>&6
9386 if test "$cross_compiling" = yes; then
9389 cat > conftest.
$ac_ext <<EOF
9390 #line 9391 "configure"
9391 #include "confdefs.h"
9395 FILE *f=fopen("conftestval", "w");
9397 fprintf(f, "%d\n", sizeof(char));
9401 if { (eval echo configure
:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9403 ac_cv_sizeof_char
=`cat conftestval`
9405 echo "configure: failed program was:" >&5
9406 cat conftest.
$ac_ext >&5
9414 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9415 cat >> confdefs.h
<<EOF
9416 #define SIZEOF_CHAR $ac_cv_sizeof_char
9420 echo $ac_n "checking size of short""... $ac_c" 1>&6
9421 echo "configure:9422: checking size of short" >&5
9422 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9423 echo $ac_n "(cached) $ac_c" 1>&6
9425 if test "$cross_compiling" = yes; then
9426 ac_cv_sizeof_short
=2
9428 cat > conftest.
$ac_ext <<EOF
9429 #line 9430 "configure"
9430 #include "confdefs.h"
9434 FILE *f=fopen("conftestval", "w");
9436 fprintf(f, "%d\n", sizeof(short));
9440 if { (eval echo configure
:9441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9442 ac_cv_sizeof_short
=`cat conftestval`
9444 echo "configure: failed program was:" >&5
9445 cat conftest.
$ac_ext >&5
9447 ac_cv_sizeof_short
=0
9453 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9454 cat >> confdefs.h
<<EOF
9455 #define SIZEOF_SHORT $ac_cv_sizeof_short
9459 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9460 echo "configure:9461: checking size of int *" >&5
9461 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9462 echo $ac_n "(cached) $ac_c" 1>&6
9464 if test "$cross_compiling" = yes; then
9465 ac_cv_sizeof_int_p
=4
9467 cat > conftest.
$ac_ext <<EOF
9468 #line 9469 "configure"
9469 #include "confdefs.h"
9473 FILE *f=fopen("conftestval", "w");
9475 fprintf(f, "%d\n", sizeof(int *));
9479 if { (eval echo configure
:9480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9481 ac_cv_sizeof_int_p
=`cat conftestval`
9483 echo "configure: failed program was:" >&5
9484 cat conftest.
$ac_ext >&5
9486 ac_cv_sizeof_int_p
=0
9492 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9493 cat >> confdefs.h
<<EOF
9494 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9498 echo $ac_n "checking size of int""... $ac_c" 1>&6
9499 echo "configure:9500: checking size of int" >&5
9500 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9501 echo $ac_n "(cached) $ac_c" 1>&6
9503 if test "$cross_compiling" = yes; then
9506 cat > conftest.
$ac_ext <<EOF
9507 #line 9508 "configure"
9508 #include "confdefs.h"
9512 FILE *f=fopen("conftestval", "w");
9514 fprintf(f, "%d\n", sizeof(int));
9518 if { (eval echo configure
:9519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9520 ac_cv_sizeof_int
=`cat conftestval`
9522 echo "configure: failed program was:" >&5
9523 cat conftest.
$ac_ext >&5
9531 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9532 cat >> confdefs.h
<<EOF
9533 #define SIZEOF_INT $ac_cv_sizeof_int
9537 echo $ac_n "checking size of long""... $ac_c" 1>&6
9538 echo "configure:9539: checking size of long" >&5
9539 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9540 echo $ac_n "(cached) $ac_c" 1>&6
9542 if test "$cross_compiling" = yes; then
9545 cat > conftest.
$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9551 FILE *f=fopen("conftestval", "w");
9553 fprintf(f, "%d\n", sizeof(long));
9557 if { (eval echo configure
:9558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9559 ac_cv_sizeof_long
=`cat conftestval`
9561 echo "configure: failed program was:" >&5
9562 cat conftest.
$ac_ext >&5
9570 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9571 cat >> confdefs.h
<<EOF
9572 #define SIZEOF_LONG $ac_cv_sizeof_long
9576 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9577 echo "configure:9578: checking size of long long" >&5
9578 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9579 echo $ac_n "(cached) $ac_c" 1>&6
9581 if test "$cross_compiling" = yes; then
9582 ac_cv_sizeof_long_long
=0
9584 cat > conftest.
$ac_ext <<EOF
9585 #line 9586 "configure"
9586 #include "confdefs.h"
9590 FILE *f=fopen("conftestval", "w");
9592 fprintf(f, "%d\n", sizeof(long long));
9596 if { (eval echo configure
:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9598 ac_cv_sizeof_long_long
=`cat conftestval`
9600 echo "configure: failed program was:" >&5
9601 cat conftest.
$ac_ext >&5
9603 ac_cv_sizeof_long_long
=0
9609 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9610 cat >> confdefs.h
<<EOF
9611 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9616 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9617 echo "configure:9618: checking whether byte ordering is bigendian" >&5
9618 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9619 echo $ac_n "(cached) $ac_c" 1>&6
9621 ac_cv_c_bigendian
=unknown
9622 # See if sys/param.h defines the BYTE_ORDER macro.
9623 cat > conftest.
$ac_ext <<EOF
9624 #line 9625 "configure"
9625 #include "confdefs.h"
9626 #include <sys/types.h>
9627 #include <sys/param.h>
9630 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9635 if { (eval echo configure
:9636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9637 # It does; now see whether it defined to BIG_ENDIAN or not.
9638 cat > conftest.
$ac_ext <<EOF
9639 #line 9640 "configure"
9640 #include "confdefs.h"
9641 #include <sys/types.h>
9642 #include <sys/param.h>
9645 #if BYTE_ORDER != BIG_ENDIAN
9650 if { (eval echo configure
:9651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9652 ac_cv_c_bigendian
=yes
9654 echo "configure: failed program was:" >&5
9655 cat conftest.
$ac_ext >&5
9657 ac_cv_c_bigendian
=no
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9665 if test $ac_cv_c_bigendian = unknown
; then
9666 if test "$cross_compiling" = yes; then
9667 ac_cv_c_bigendian
=unknown
9669 cat > conftest.
$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9673 /* Are we little or big endian? From Harbison&Steele. */
9677 char c[sizeof (long)];
9680 exit (u.c[sizeof (long) - 1] == 1);
9683 if { (eval echo configure
:9684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9685 ac_cv_c_bigendian
=no
9687 echo "configure: failed program was:" >&5
9688 cat conftest.
$ac_ext >&5
9690 ac_cv_c_bigendian
=yes
9698 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9699 if test $ac_cv_c_bigendian = unknown
; then
9700 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
9702 if test $ac_cv_c_bigendian = yes; then
9703 cat >> confdefs.h
<<\EOF
9704 #define WORDS_BIGENDIAN 1
9711 if test "$cross_compiling" = "yes"; then
9712 cat >> confdefs.h
<<\EOF
9713 #define wxUSE_IOSTREAMH 1
9719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9720 ac_cpp
='$CXXCPP $CPPFLAGS'
9721 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9722 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9723 cross_compiling
=$ac_cv_prog_cxx_cross
9726 for ac_hdr
in iostream
9728 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9730 echo "configure:9731: checking for $ac_hdr" >&5
9731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9739 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9740 { (eval echo configure
:9741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9741 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9742 if test -z "$ac_err"; then
9744 eval "ac_cv_header_$ac_safe=yes"
9747 echo "configure: failed program was:" >&5
9748 cat conftest.
$ac_ext >&5
9750 eval "ac_cv_header_$ac_safe=no"
9754 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9755 echo "$ac_t""yes" 1>&6
9756 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9757 cat >> confdefs.h
<<EOF
9758 #define $ac_tr_hdr 1
9762 echo "$ac_t""no" 1>&6
9767 if test "x$HAVE_IOSTREAM" = x
; then
9768 cat >> confdefs.h
<<\EOF
9769 #define wxUSE_IOSTREAMH 1
9777 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9778 ac_cpp
='$CPP $CPPFLAGS'
9779 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9780 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9781 cross_compiling
=$ac_cv_prog_cc_cross
9787 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9788 echo "configure:9789: checking if C++ compiler supports bool" >&5
9789 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9790 echo $ac_n "(cached) $ac_c" 1>&6
9795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9796 ac_cpp
='$CXXCPP $CPPFLAGS'
9797 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9798 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9799 cross_compiling
=$ac_cv_prog_cxx_cross
9802 cat > conftest.
$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9815 if { (eval echo configure
:9816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9818 cat >> confdefs.h
<<\EOF
9825 echo "configure: failed program was:" >&5
9826 cat conftest.
$ac_ext >&5
9836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9837 ac_cpp
='$CPP $CPPFLAGS'
9838 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9839 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9840 cross_compiling
=$ac_cv_prog_cc_cross
9845 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9847 if test "$wx_cv_cpp_bool" = "yes"; then
9848 cat >> confdefs.h
<<\EOF
9856 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9857 echo "configure:9858: checking if you need GNU extensions" >&5
9858 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9859 echo $ac_n "(cached) $ac_c" 1>&6
9862 cat > conftest.
$ac_ext <<EOF
9863 #line 9864 "configure"
9864 #include "confdefs.h"
9865 #include <features.h>
9869 #ifndef __GNU_LIBRARY__
9870 Compile error wanted
9876 if { (eval echo configure
:9877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9878 wx_cv_gnu_extensions
=yes
9880 echo "configure: failed program was:" >&5
9881 cat conftest.
$ac_ext >&5
9883 wx_cv_gnu_extensions
=no
9890 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9891 if test "$wx_cv_gnu_extensions" = "yes"; then
9892 cat >> confdefs.h
<<EOF
9893 #define _GNU_SOURCE 1
9900 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9901 echo "configure:9902: checking for wcslen in -lc" >&5
9902 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9903 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9904 echo $ac_n "(cached) $ac_c" 1>&6
9906 ac_save_LIBS
="$LIBS"
9908 cat > conftest.
$ac_ext <<EOF
9909 #line 9910 "configure"
9910 #include "confdefs.h"
9911 /* Override any gcc2 internal prototype to avoid an error. */
9912 /* We use char because int might match the return type of a gcc2
9913 builtin and then its argument prototype would still apply. */
9920 if { (eval echo configure
:9921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9922 eval "ac_cv_lib_$ac_lib_var=yes"
9924 echo "configure: failed program was:" >&5
9925 cat conftest.
$ac_ext >&5
9927 eval "ac_cv_lib_$ac_lib_var=no"
9930 LIBS
="$ac_save_LIBS"
9933 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9934 echo "$ac_t""yes" 1>&6
9936 cat >> confdefs.h
<<\EOF
9937 #define HAVE_WCSLEN 1
9943 echo "$ac_t""no" 1>&6
9945 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9946 echo "configure:9947: checking for wcslen in -lw" >&5
9947 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9949 echo $ac_n "(cached) $ac_c" 1>&6
9951 ac_save_LIBS
="$LIBS"
9953 cat > conftest.
$ac_ext <<EOF
9954 #line 9955 "configure"
9955 #include "confdefs.h"
9956 /* Override any gcc2 internal prototype to avoid an error. */
9957 /* We use char because int might match the return type of a gcc2
9958 builtin and then its argument prototype would still apply. */
9965 if { (eval echo configure
:9966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9967 eval "ac_cv_lib_$ac_lib_var=yes"
9969 echo "configure: failed program was:" >&5
9970 cat conftest.
$ac_ext >&5
9972 eval "ac_cv_lib_$ac_lib_var=no"
9975 LIBS
="$ac_save_LIBS"
9978 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9979 echo "$ac_t""yes" 1>&6
9981 cat >> confdefs.h
<<\EOF
9982 #define HAVE_WCSLEN 1
9988 echo "$ac_t""no" 1>&6
9995 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9996 echo "configure:9997: checking for vprintf" >&5
9997 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9998 echo $ac_n "(cached) $ac_c" 1>&6
10000 cat > conftest.
$ac_ext <<EOF
10001 #line 10002 "configure"
10002 #include "confdefs.h"
10003 /* System header to define __stub macros and hopefully few prototypes,
10004 which can conflict with char vprintf(); below. */
10005 #include <assert.h>
10006 /* Override any gcc2 internal prototype to avoid an error. */
10007 /* We use char because int might match the return type of a gcc2
10008 builtin and then its argument prototype would still apply. */
10013 /* The GNU C library defines this for functions which it implements
10014 to always fail with ENOSYS. Some functions are actually named
10015 something starting with __ and the normal name is an alias. */
10016 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10024 if { (eval echo configure
:10025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10026 eval "ac_cv_func_vprintf=yes"
10028 echo "configure: failed program was:" >&5
10029 cat conftest.
$ac_ext >&5
10031 eval "ac_cv_func_vprintf=no"
10036 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10037 echo "$ac_t""yes" 1>&6
10038 cat >> confdefs.h
<<\EOF
10039 #define HAVE_VPRINTF 1
10043 echo "$ac_t""no" 1>&6
10046 if test "$ac_cv_func_vprintf" != yes; then
10047 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10048 echo "configure:10049: checking for _doprnt" >&5
10049 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10050 echo $ac_n "(cached) $ac_c" 1>&6
10052 cat > conftest.
$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10055 /* System header to define __stub macros and hopefully few prototypes,
10056 which can conflict with char _doprnt(); below. */
10057 #include <assert.h>
10058 /* Override any gcc2 internal prototype to avoid an error. */
10059 /* We use char because int might match the return type of a gcc2
10060 builtin and then its argument prototype would still apply. */
10065 /* The GNU C library defines this for functions which it implements
10066 to always fail with ENOSYS. Some functions are actually named
10067 something starting with __ and the normal name is an alias. */
10068 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10076 if { (eval echo configure
:10077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10078 eval "ac_cv_func__doprnt=yes"
10080 echo "configure: failed program was:" >&5
10081 cat conftest.
$ac_ext >&5
10083 eval "ac_cv_func__doprnt=no"
10088 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10089 echo "$ac_t""yes" 1>&6
10090 cat >> confdefs.h
<<\EOF
10091 #define HAVE_DOPRNT 1
10095 echo "$ac_t""no" 1>&6
10101 for ac_func
in vsnprintf
10103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10104 echo "configure:10105: checking for $ac_func" >&5
10105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10106 echo $ac_n "(cached) $ac_c" 1>&6
10108 cat > conftest.
$ac_ext <<EOF
10109 #line 10110 "configure"
10110 #include "confdefs.h"
10111 /* System header to define __stub macros and hopefully few prototypes,
10112 which can conflict with char $ac_func(); below. */
10113 #include <assert.h>
10114 /* Override any gcc2 internal prototype to avoid an error. */
10115 /* We use char because int might match the return type of a gcc2
10116 builtin and then its argument prototype would still apply. */
10121 /* The GNU C library defines this for functions which it implements
10122 to always fail with ENOSYS. Some functions are actually named
10123 something starting with __ and the normal name is an alias. */
10124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10132 if { (eval echo configure
:10133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10134 eval "ac_cv_func_$ac_func=yes"
10136 echo "configure: failed program was:" >&5
10137 cat conftest.
$ac_ext >&5
10139 eval "ac_cv_func_$ac_func=no"
10144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10145 echo "$ac_t""yes" 1>&6
10146 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10147 cat >> confdefs.h
<<EOF
10148 #define $ac_tr_func 1
10150 cat >> confdefs.h
<<\EOF
10151 #define HAVE_VSNPRINTF 1
10155 echo "$ac_t""no" 1>&6
10156 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10165 ac_cpp
='$CXXCPP $CPPFLAGS'
10166 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10167 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10168 cross_compiling
=$ac_cv_prog_cxx_cross
10171 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10172 echo "configure:10173: checking for vsscanf" >&5
10173 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10174 echo $ac_n "(cached) $ac_c" 1>&6
10177 if test "$cross_compiling" = yes; then
10178 wx_cv_func_vsscanf
=no
10181 cat > conftest.
$ac_ext <<EOF
10182 #line 10183 "configure"
10183 #include "confdefs.h"
10185 extern "C" void exit(int);
10189 #include <stdarg.h>
10191 int try_vsscanf(const char *format, ...)
10194 va_start(ap, format);
10196 vsscanf("17", format, ap);
10204 try_vsscanf("%d", &i);
10205 return i == 17 ? 0 : 1;
10209 if { (eval echo configure
:10210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10212 cat >> confdefs.h
<<\EOF
10213 #define HAVE_VSSCANF 1
10216 wx_cv_func_vsscanf
=yes
10219 echo "configure: failed program was:" >&5
10220 cat conftest.
$ac_ext >&5
10222 wx_cv_func_vsscanf
=no
10230 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10234 ac_cpp
='$CPP $CPPFLAGS'
10235 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10236 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10237 cross_compiling
=$ac_cv_prog_cc_cross
10240 if test "$TOOLKIT" != "MSW"; then
10242 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
10243 for ac_func
in sigaction
10245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10246 echo "configure:10247: checking for $ac_func" >&5
10247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10248 echo $ac_n "(cached) $ac_c" 1>&6
10250 cat > conftest.
$ac_ext <<EOF
10251 #line 10252 "configure"
10252 #include "confdefs.h"
10253 /* System header to define __stub macros and hopefully few prototypes,
10254 which can conflict with char $ac_func(); below. */
10255 #include <assert.h>
10256 /* Override any gcc2 internal prototype to avoid an error. */
10257 /* We use char because int might match the return type of a gcc2
10258 builtin and then its argument prototype would still apply. */
10263 /* The GNU C library defines this for functions which it implements
10264 to always fail with ENOSYS. Some functions are actually named
10265 something starting with __ and the normal name is an alias. */
10266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10274 if { (eval echo configure
:10275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10276 eval "ac_cv_func_$ac_func=yes"
10278 echo "configure: failed program was:" >&5
10279 cat conftest.
$ac_ext >&5
10281 eval "ac_cv_func_$ac_func=no"
10286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10287 echo "$ac_t""yes" 1>&6
10288 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10289 cat >> confdefs.h
<<EOF
10290 #define $ac_tr_func 1
10294 echo "$ac_t""no" 1>&6
10299 if test "$ac_cv_func_sigaction" = "no"; then
10300 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
10301 wxUSE_ON_FATAL_EXCEPTION
=no
10305 for ac_func
in vfork
10307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10308 echo "configure:10309: checking for $ac_func" >&5
10309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10310 echo $ac_n "(cached) $ac_c" 1>&6
10312 cat > conftest.
$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char $ac_func(); below. */
10317 #include <assert.h>
10318 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10325 /* The GNU C library defines this for functions which it implements
10326 to always fail with ENOSYS. Some functions are actually named
10327 something starting with __ and the normal name is an alias. */
10328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10336 if { (eval echo configure
:10337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10338 eval "ac_cv_func_$ac_func=yes"
10340 echo "configure: failed program was:" >&5
10341 cat conftest.
$ac_ext >&5
10343 eval "ac_cv_func_$ac_func=no"
10348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10349 echo "$ac_t""yes" 1>&6
10350 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10351 cat >> confdefs.h
<<EOF
10352 #define $ac_tr_func 1
10356 echo "$ac_t""no" 1>&6
10361 for ac_func
in timegm
10363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10364 echo "configure:10365: checking for $ac_func" >&5
10365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10366 echo $ac_n "(cached) $ac_c" 1>&6
10368 cat > conftest.
$ac_ext <<EOF
10369 #line 10370 "configure"
10370 #include "confdefs.h"
10371 /* System header to define __stub macros and hopefully few prototypes,
10372 which can conflict with char $ac_func(); below. */
10373 #include <assert.h>
10374 /* Override any gcc2 internal prototype to avoid an error. */
10375 /* We use char because int might match the return type of a gcc2
10376 builtin and then its argument prototype would still apply. */
10381 /* The GNU C library defines this for functions which it implements
10382 to always fail with ENOSYS. Some functions are actually named
10383 something starting with __ and the normal name is an alias. */
10384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10392 if { (eval echo configure
:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10394 eval "ac_cv_func_$ac_func=yes"
10396 echo "configure: failed program was:" >&5
10397 cat conftest.
$ac_ext >&5
10399 eval "ac_cv_func_$ac_func=no"
10404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10405 echo "$ac_t""yes" 1>&6
10406 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10407 cat >> confdefs.h
<<EOF
10408 #define $ac_tr_func 1
10412 echo "$ac_t""no" 1>&6
10417 HAVE_SOME_SLEEP_FUNC
=0
10418 if test "$USE_BEOS" = 1; then
10419 cat >> confdefs.h
<<\EOF
10420 #define HAVE_SLEEP 1
10423 HAVE_SOME_SLEEP_FUNC
=1
10426 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10428 for ac_func
in nanosleep
10430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10431 echo "configure:10432: checking for $ac_func" >&5
10432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10435 cat > conftest.
$ac_ext <<EOF
10436 #line 10437 "configure"
10437 #include "confdefs.h"
10438 /* System header to define __stub macros and hopefully few prototypes,
10439 which can conflict with char $ac_func(); below. */
10440 #include <assert.h>
10441 /* Override any gcc2 internal prototype to avoid an error. */
10442 /* We use char because int might match the return type of a gcc2
10443 builtin and then its argument prototype would still apply. */
10448 /* The GNU C library defines this for functions which it implements
10449 to always fail with ENOSYS. Some functions are actually named
10450 something starting with __ and the normal name is an alias. */
10451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10459 if { (eval echo configure
:10460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10461 eval "ac_cv_func_$ac_func=yes"
10463 echo "configure: failed program was:" >&5
10464 cat conftest.
$ac_ext >&5
10466 eval "ac_cv_func_$ac_func=no"
10471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10472 echo "$ac_t""yes" 1>&6
10473 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10474 cat >> confdefs.h
<<EOF
10475 #define $ac_tr_func 1
10477 cat >> confdefs.h
<<\EOF
10478 #define HAVE_NANOSLEEP 1
10482 echo "$ac_t""no" 1>&6
10483 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10484 echo "configure:10485: checking for nanosleep in -lposix4" >&5
10485 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10487 echo $ac_n "(cached) $ac_c" 1>&6
10489 ac_save_LIBS
="$LIBS"
10490 LIBS
="-lposix4 $LIBS"
10491 cat > conftest.
$ac_ext <<EOF
10492 #line 10493 "configure"
10493 #include "confdefs.h"
10494 /* Override any gcc2 internal prototype to avoid an error. */
10495 /* We use char because int might match the return type of a gcc2
10496 builtin and then its argument prototype would still apply. */
10503 if { (eval echo configure
:10504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10505 eval "ac_cv_lib_$ac_lib_var=yes"
10507 echo "configure: failed program was:" >&5
10508 cat conftest.
$ac_ext >&5
10510 eval "ac_cv_lib_$ac_lib_var=no"
10513 LIBS
="$ac_save_LIBS"
10516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10517 echo "$ac_t""yes" 1>&6
10519 cat >> confdefs.h
<<\EOF
10520 #define HAVE_NANOSLEEP 1
10523 POSIX4_LINK
="-lposix4"
10526 echo "$ac_t""no" 1>&6
10528 for ac_func
in usleep
10530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10531 echo "configure:10532: checking for $ac_func" >&5
10532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10533 echo $ac_n "(cached) $ac_c" 1>&6
10535 cat > conftest.
$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10538 /* System header to define __stub macros and hopefully few prototypes,
10539 which can conflict with char $ac_func(); below. */
10540 #include <assert.h>
10541 /* Override any gcc2 internal prototype to avoid an error. */
10542 /* We use char because int might match the return type of a gcc2
10543 builtin and then its argument prototype would still apply. */
10548 /* The GNU C library defines this for functions which it implements
10549 to always fail with ENOSYS. Some functions are actually named
10550 something starting with __ and the normal name is an alias. */
10551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10559 if { (eval echo configure
:10560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10561 eval "ac_cv_func_$ac_func=yes"
10563 echo "configure: failed program was:" >&5
10564 cat conftest.
$ac_ext >&5
10566 eval "ac_cv_func_$ac_func=no"
10571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10572 echo "$ac_t""yes" 1>&6
10573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10574 cat >> confdefs.h
<<EOF
10575 #define $ac_tr_func 1
10579 echo "$ac_t""no" 1>&6
10583 echo "configure: warning: wxSleep() function will not work" 1>&2
10595 for ac_func
in uname gethostname
10597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10598 echo "configure:10599: checking for $ac_func" >&5
10599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10602 cat > conftest.
$ac_ext <<EOF
10603 #line 10604 "configure"
10604 #include "confdefs.h"
10605 /* System header to define __stub macros and hopefully few prototypes,
10606 which can conflict with char $ac_func(); below. */
10607 #include <assert.h>
10608 /* Override any gcc2 internal prototype to avoid an error. */
10609 /* We use char because int might match the return type of a gcc2
10610 builtin and then its argument prototype would still apply. */
10615 /* The GNU C library defines this for functions which it implements
10616 to always fail with ENOSYS. Some functions are actually named
10617 something starting with __ and the normal name is an alias. */
10618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10626 if { (eval echo configure
:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10628 eval "ac_cv_func_$ac_func=yes"
10630 echo "configure: failed program was:" >&5
10631 cat conftest.
$ac_ext >&5
10633 eval "ac_cv_func_$ac_func=no"
10638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10639 echo "$ac_t""yes" 1>&6
10640 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10641 cat >> confdefs.h
<<EOF
10642 #define $ac_tr_func 1
10646 echo "$ac_t""no" 1>&6
10653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10654 ac_cpp
='$CXXCPP $CPPFLAGS'
10655 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10656 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10657 cross_compiling
=$ac_cv_prog_cxx_cross
10660 for ac_func
in strtok_r
10662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10663 echo "configure:10664: checking for $ac_func" >&5
10664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10665 echo $ac_n "(cached) $ac_c" 1>&6
10667 cat > conftest.
$ac_ext <<EOF
10668 #line 10669 "configure"
10669 #include "confdefs.h"
10670 /* System header to define __stub macros and hopefully few prototypes,
10671 which can conflict with char $ac_func(); below. */
10672 #include <assert.h>
10673 /* Override any gcc2 internal prototype to avoid an error. */
10677 /* We use char because int might match the return type of a gcc2
10678 builtin and then its argument prototype would still apply. */
10683 /* The GNU C library defines this for functions which it implements
10684 to always fail with ENOSYS. Some functions are actually named
10685 something starting with __ and the normal name is an alias. */
10686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10694 if { (eval echo configure
:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10696 eval "ac_cv_func_$ac_func=yes"
10698 echo "configure: failed program was:" >&5
10699 cat conftest.
$ac_ext >&5
10701 eval "ac_cv_func_$ac_func=no"
10706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10707 echo "$ac_t""yes" 1>&6
10708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10709 cat >> confdefs.h
<<EOF
10710 #define $ac_tr_func 1
10714 echo "$ac_t""no" 1>&6
10720 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10721 ac_cpp
='$CPP $CPPFLAGS'
10722 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10723 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10724 cross_compiling
=$ac_cv_prog_cc_cross
10728 for ac_func
in inet_addr
10730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10731 echo "configure:10732: checking for $ac_func" >&5
10732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10733 echo $ac_n "(cached) $ac_c" 1>&6
10735 cat > conftest.
$ac_ext <<EOF
10736 #line 10737 "configure"
10737 #include "confdefs.h"
10738 /* System header to define __stub macros and hopefully few prototypes,
10739 which can conflict with char $ac_func(); below. */
10740 #include <assert.h>
10741 /* Override any gcc2 internal prototype to avoid an error. */
10742 /* We use char because int might match the return type of a gcc2
10743 builtin and then its argument prototype would still apply. */
10748 /* The GNU C library defines this for functions which it implements
10749 to always fail with ENOSYS. Some functions are actually named
10750 something starting with __ and the normal name is an alias. */
10751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10759 if { (eval echo configure
:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10761 eval "ac_cv_func_$ac_func=yes"
10763 echo "configure: failed program was:" >&5
10764 cat conftest.
$ac_ext >&5
10766 eval "ac_cv_func_$ac_func=no"
10771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10772 echo "$ac_t""yes" 1>&6
10773 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10774 cat >> confdefs.h
<<EOF
10775 #define $ac_tr_func 1
10777 cat >> confdefs.h
<<\EOF
10778 #define HAVE_INET_ADDR 1
10782 echo "$ac_t""no" 1>&6
10783 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10784 echo "configure:10785: checking for inet_addr in -lnsl" >&5
10785 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10789 ac_save_LIBS
="$LIBS"
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10794 /* Override any gcc2 internal prototype to avoid an error. */
10795 /* We use char because int might match the return type of a gcc2
10796 builtin and then its argument prototype would still apply. */
10803 if { (eval echo configure
:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10805 eval "ac_cv_lib_$ac_lib_var=yes"
10807 echo "configure: failed program was:" >&5
10808 cat conftest.
$ac_ext >&5
10810 eval "ac_cv_lib_$ac_lib_var=no"
10813 LIBS
="$ac_save_LIBS"
10816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10817 echo "$ac_t""yes" 1>&6
10820 echo "$ac_t""no" 1>&6
10821 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10822 echo "configure:10823: checking for inet_addr in -lresolv" >&5
10823 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10825 echo $ac_n "(cached) $ac_c" 1>&6
10827 ac_save_LIBS
="$LIBS"
10828 LIBS
="-lresolv $LIBS"
10829 cat > conftest.
$ac_ext <<EOF
10830 #line 10831 "configure"
10831 #include "confdefs.h"
10832 /* Override any gcc2 internal prototype to avoid an error. */
10833 /* We use char because int might match the return type of a gcc2
10834 builtin and then its argument prototype would still apply. */
10841 if { (eval echo configure
:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10843 eval "ac_cv_lib_$ac_lib_var=yes"
10845 echo "configure: failed program was:" >&5
10846 cat conftest.
$ac_ext >&5
10848 eval "ac_cv_lib_$ac_lib_var=no"
10851 LIBS
="$ac_save_LIBS"
10854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10855 echo "$ac_t""yes" 1>&6
10859 echo "$ac_t""no" 1>&6
10871 for ac_func
in inet_aton
10873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10874 echo "configure:10875: checking for $ac_func" >&5
10875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10876 echo $ac_n "(cached) $ac_c" 1>&6
10878 cat > conftest.
$ac_ext <<EOF
10879 #line 10880 "configure"
10880 #include "confdefs.h"
10881 /* System header to define __stub macros and hopefully few prototypes,
10882 which can conflict with char $ac_func(); below. */
10883 #include <assert.h>
10884 /* Override any gcc2 internal prototype to avoid an error. */
10885 /* We use char because int might match the return type of a gcc2
10886 builtin and then its argument prototype would still apply. */
10891 /* The GNU C library defines this for functions which it implements
10892 to always fail with ENOSYS. Some functions are actually named
10893 something starting with __ and the normal name is an alias. */
10894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10902 if { (eval echo configure
:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10904 eval "ac_cv_func_$ac_func=yes"
10906 echo "configure: failed program was:" >&5
10907 cat conftest.
$ac_ext >&5
10909 eval "ac_cv_func_$ac_func=no"
10914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10915 echo "$ac_t""yes" 1>&6
10916 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10917 cat >> confdefs.h
<<EOF
10918 #define $ac_tr_func 1
10920 cat >> confdefs.h
<<\EOF
10921 #define HAVE_INET_ATON 1
10925 echo "$ac_t""no" 1>&6
10926 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10927 echo "configure:10928: checking for inet_aton in -l$INET_LINK" >&5
10928 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10929 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10930 echo $ac_n "(cached) $ac_c" 1>&6
10932 ac_save_LIBS
="$LIBS"
10933 LIBS
="-l$INET_LINK $LIBS"
10934 cat > conftest.
$ac_ext <<EOF
10935 #line 10936 "configure"
10936 #include "confdefs.h"
10937 /* Override any gcc2 internal prototype to avoid an error. */
10938 /* We use char because int might match the return type of a gcc2
10939 builtin and then its argument prototype would still apply. */
10946 if { (eval echo configure
:10947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10948 eval "ac_cv_lib_$ac_lib_var=yes"
10950 echo "configure: failed program was:" >&5
10951 cat conftest.
$ac_ext >&5
10953 eval "ac_cv_lib_$ac_lib_var=no"
10956 LIBS
="$ac_save_LIBS"
10959 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10960 echo "$ac_t""yes" 1>&6
10961 cat >> confdefs.h
<<\EOF
10962 #define HAVE_INET_ATON 1
10966 echo "$ac_t""no" 1>&6
10974 if test "x$INET_LINK" != "x"; then
10975 cat >> confdefs.h
<<\EOF
10976 #define HAVE_INET_ADDR 1
10979 INET_LINK
="-l$INET_LINK"
10985 cat > confcache
<<\EOF
10986 # This file is a shell script that caches the results of configure
10987 # tests run on this system so they can be shared between configure
10988 # scripts and configure runs. It is not useful on other systems.
10989 # If it contains results you don't want to keep, you may remove or edit it.
10991 # By default, configure uses ./config.cache as the cache file,
10992 # creating it if it does not exist already. You can give configure
10993 # the --cache-file=FILE option to use a different cache file; that is
10994 # what configure does when it calls configure scripts in
10995 # subdirectories, so they share the cache.
10996 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10997 # config.status only pays attention to the cache file if you give it the
10998 # --recheck option to rerun configure.
11001 # The following way of writing the cache mishandles newlines in values,
11002 # but we know of no workaround that is simple, portable, and efficient.
11003 # So, don't put newlines in cache variables' values.
11004 # Ultrix sh set writes to stderr and can't be redirected directly,
11005 # and sets the high bit in the cache file unless we assign to the vars.
11007 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11009 # `set' does not quote correctly, so add quotes (double-quote substitution
11010 # turns \\\\ into \\, and sed turns \\ into \).
11012 -e "s/'/'\\\\''/g" \
11013 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11016 # `set' quotes correctly as required by POSIX, so do not add quotes.
11017 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11020 if cmp -s $cache_file confcache
; then
11023 if test -w $cache_file; then
11024 echo "updating cache $cache_file"
11025 cat confcache
> $cache_file
11027 echo "not updating unwritable cache $cache_file"
11034 if test "$TOOLKIT" != "MSW"; then
11040 if test "$wxUSE_THREADS" = "yes" ; then
11041 if test "$wxUSE_WINE" = 1 ; then
11042 echo "configure: warning: Threads are not supported under WINE" 1>&2
11044 elif test "$USE_BEOS" = 1; then
11045 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11050 if test "$wxUSE_THREADS" = "yes" ; then
11052 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
11053 echo "configure:11054: checking for pthread_create in -lpthread" >&5
11054 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
11055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11056 echo $ac_n "(cached) $ac_c" 1>&6
11058 ac_save_LIBS
="$LIBS"
11059 LIBS
="-lpthread $LIBS"
11060 cat > conftest.
$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11063 /* Override any gcc2 internal prototype to avoid an error. */
11064 /* We use char because int might match the return type of a gcc2
11065 builtin and then its argument prototype would still apply. */
11066 char pthread_create();
11072 if { (eval echo configure
:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11074 eval "ac_cv_lib_$ac_lib_var=yes"
11076 echo "configure: failed program was:" >&5
11077 cat conftest.
$ac_ext >&5
11079 eval "ac_cv_lib_$ac_lib_var=no"
11082 LIBS
="$ac_save_LIBS"
11085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11086 echo "$ac_t""yes" 1>&6
11088 THREADS_OBJ
="threadpsx.lo"
11089 THREADS_LINK
="pthread"
11092 echo "$ac_t""no" 1>&6
11094 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
11095 echo "configure:11096: checking for pthread_create in -lc_r" >&5
11096 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
11097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11098 echo $ac_n "(cached) $ac_c" 1>&6
11100 ac_save_LIBS
="$LIBS"
11102 cat > conftest.
$ac_ext <<EOF
11103 #line 11104 "configure"
11104 #include "confdefs.h"
11105 /* Override any gcc2 internal prototype to avoid an error. */
11106 /* We use char because int might match the return type of a gcc2
11107 builtin and then its argument prototype would still apply. */
11108 char pthread_create();
11114 if { (eval echo configure
:11115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11116 eval "ac_cv_lib_$ac_lib_var=yes"
11118 echo "configure: failed program was:" >&5
11119 cat conftest.
$ac_ext >&5
11121 eval "ac_cv_lib_$ac_lib_var=no"
11124 LIBS
="$ac_save_LIBS"
11127 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11128 echo "$ac_t""yes" 1>&6
11130 THREADS_OBJ
="threadpsx.lo"
11134 echo "$ac_t""no" 1>&6
11136 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11137 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11138 echo "configure:11139: checking for sys/prctl.h" >&5
11139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11140 echo $ac_n "(cached) $ac_c" 1>&6
11142 cat > conftest.
$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11145 #include <sys/prctl.h>
11147 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11148 { (eval echo configure
:11149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11149 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11150 if test -z "$ac_err"; then
11152 eval "ac_cv_header_$ac_safe=yes"
11155 echo "configure: failed program was:" >&5
11156 cat conftest.
$ac_ext >&5
11158 eval "ac_cv_header_$ac_safe=no"
11162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11163 echo "$ac_t""yes" 1>&6
11165 THREADS_OBJ
="threadsgi.lo"
11168 echo "$ac_t""no" 1>&6
11178 if test -z "$THREADS_OBJ" ; then
11180 echo "configure: warning: No thread support on this system" 1>&2
11184 if test "$wxUSE_THREADS" = "yes" ; then
11185 for ac_func
in thr_setconcurrency
11187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11188 echo "configure:11189: checking for $ac_func" >&5
11189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11192 cat > conftest.
$ac_ext <<EOF
11193 #line 11194 "configure"
11194 #include "confdefs.h"
11195 /* System header to define __stub macros and hopefully few prototypes,
11196 which can conflict with char $ac_func(); below. */
11197 #include <assert.h>
11198 /* Override any gcc2 internal prototype to avoid an error. */
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11205 /* The GNU C library defines this for functions which it implements
11206 to always fail with ENOSYS. Some functions are actually named
11207 something starting with __ and the normal name is an alias. */
11208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11216 if { (eval echo configure
:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11218 eval "ac_cv_func_$ac_func=yes"
11220 echo "configure: failed program was:" >&5
11221 cat conftest.
$ac_ext >&5
11223 eval "ac_cv_func_$ac_func=no"
11228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11229 echo "$ac_t""yes" 1>&6
11230 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11231 cat >> confdefs.h
<<EOF
11232 #define $ac_tr_func 1
11236 echo "$ac_t""no" 1>&6
11242 for ac_hdr
in sched.h
11244 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11245 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11246 echo "configure:11247: checking for $ac_hdr" >&5
11247 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11250 cat > conftest.
$ac_ext <<EOF
11251 #line 11252 "configure"
11252 #include "confdefs.h"
11255 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11256 { (eval echo configure
:11257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11257 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11258 if test -z "$ac_err"; then
11260 eval "ac_cv_header_$ac_safe=yes"
11263 echo "configure: failed program was:" >&5
11264 cat conftest.
$ac_ext >&5
11266 eval "ac_cv_header_$ac_safe=no"
11270 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11271 echo "$ac_t""yes" 1>&6
11272 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11273 cat >> confdefs.h
<<EOF
11274 #define $ac_tr_hdr 1
11278 echo "$ac_t""no" 1>&6
11283 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11284 echo "configure:11285: checking for sched_yield in -l$THREADS_LINK" >&5
11285 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11287 echo $ac_n "(cached) $ac_c" 1>&6
11289 ac_save_LIBS
="$LIBS"
11290 LIBS
="-l$THREADS_LINK $LIBS"
11291 cat > conftest.
$ac_ext <<EOF
11292 #line 11293 "configure"
11293 #include "confdefs.h"
11294 /* Override any gcc2 internal prototype to avoid an error. */
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char sched_yield();
11303 if { (eval echo configure
:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11305 eval "ac_cv_lib_$ac_lib_var=yes"
11307 echo "configure: failed program was:" >&5
11308 cat conftest.
$ac_ext >&5
11310 eval "ac_cv_lib_$ac_lib_var=no"
11313 LIBS
="$ac_save_LIBS"
11316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11317 echo "$ac_t""yes" 1>&6
11318 cat >> confdefs.h
<<\EOF
11319 #define HAVE_SCHED_YIELD 1
11323 echo "$ac_t""no" 1>&6
11324 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11325 echo "configure:11326: checking for sched_yield in -l"posix4
"" >&5
11326 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11328 echo $ac_n "(cached) $ac_c" 1>&6
11330 ac_save_LIBS
="$LIBS"
11331 LIBS
="-l"posix4
" $LIBS"
11332 cat > conftest.
$ac_ext <<EOF
11333 #line 11334 "configure"
11334 #include "confdefs.h"
11335 /* Override any gcc2 internal prototype to avoid an error. */
11336 /* We use char because int might match the return type of a gcc2
11337 builtin and then its argument prototype would still apply. */
11338 char sched_yield();
11344 if { (eval echo configure
:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11346 eval "ac_cv_lib_$ac_lib_var=yes"
11348 echo "configure: failed program was:" >&5
11349 cat conftest.
$ac_ext >&5
11351 eval "ac_cv_lib_$ac_lib_var=no"
11354 LIBS
="$ac_save_LIBS"
11357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11358 echo "$ac_t""yes" 1>&6
11359 cat >> confdefs.h
<<\EOF
11360 #define HAVE_SCHED_YIELD 1
11362 POSIX4_LINK
="-lposix4"
11364 echo "$ac_t""no" 1>&6
11365 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11373 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11374 echo "configure:11375: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11375 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11377 echo $ac_n "(cached) $ac_c" 1>&6
11379 ac_save_LIBS
="$LIBS"
11380 LIBS
="-l$THREADS_LINK $LIBS"
11381 cat > conftest.
$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11384 /* Override any gcc2 internal prototype to avoid an error. */
11385 /* We use char because int might match the return type of a gcc2
11386 builtin and then its argument prototype would still apply. */
11387 char pthread_attr_getschedpolicy();
11390 pthread_attr_getschedpolicy()
11393 if { (eval echo configure
:11394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11395 eval "ac_cv_lib_$ac_lib_var=yes"
11397 echo "configure: failed program was:" >&5
11398 cat conftest.
$ac_ext >&5
11400 eval "ac_cv_lib_$ac_lib_var=no"
11403 LIBS
="$ac_save_LIBS"
11406 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11407 echo "$ac_t""yes" 1>&6
11408 cat >> confdefs.h
<<\EOF
11409 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11413 echo "$ac_t""no" 1>&6
11414 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11415 echo "configure:11416: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11416 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11418 echo $ac_n "(cached) $ac_c" 1>&6
11420 ac_save_LIBS
="$LIBS"
11421 LIBS
="-l"posix4
" $LIBS"
11422 cat > conftest.
$ac_ext <<EOF
11423 #line 11424 "configure"
11424 #include "confdefs.h"
11425 /* Override any gcc2 internal prototype to avoid an error. */
11426 /* We use char because int might match the return type of a gcc2
11427 builtin and then its argument prototype would still apply. */
11428 char pthread_attr_getschedpolicy();
11431 pthread_attr_getschedpolicy()
11434 if { (eval echo configure
:11435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11436 eval "ac_cv_lib_$ac_lib_var=yes"
11438 echo "configure: failed program was:" >&5
11439 cat conftest.
$ac_ext >&5
11441 eval "ac_cv_lib_$ac_lib_var=no"
11444 LIBS
="$ac_save_LIBS"
11447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11448 echo "$ac_t""yes" 1>&6
11449 cat >> confdefs.h
<<\EOF
11450 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11452 POSIX4_LINK
="-lposix4"
11454 echo "$ac_t""no" 1>&6
11455 echo "configure: warning: Setting thread priority will not work" 1>&2
11463 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11464 echo "configure:11465: checking for pthread_cancel in -l$THREADS_LINK" >&5
11465 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11466 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11467 echo $ac_n "(cached) $ac_c" 1>&6
11469 ac_save_LIBS
="$LIBS"
11470 LIBS
="-l$THREADS_LINK $LIBS"
11471 cat > conftest.
$ac_ext <<EOF
11472 #line 11473 "configure"
11473 #include "confdefs.h"
11474 /* Override any gcc2 internal prototype to avoid an error. */
11475 /* We use char because int might match the return type of a gcc2
11476 builtin and then its argument prototype would still apply. */
11477 char pthread_cancel();
11483 if { (eval echo configure
:11484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11485 eval "ac_cv_lib_$ac_lib_var=yes"
11487 echo "configure: failed program was:" >&5
11488 cat conftest.
$ac_ext >&5
11490 eval "ac_cv_lib_$ac_lib_var=no"
11493 LIBS
="$ac_save_LIBS"
11496 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11497 echo "$ac_t""yes" 1>&6
11498 cat >> confdefs.h
<<\EOF
11499 #define HAVE_PTHREAD_CANCEL 1
11503 echo "$ac_t""no" 1>&6
11504 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11508 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11509 echo "configure:11510: checking for pthread_cleanup_push/pop" >&5
11510 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11511 echo $ac_n "(cached) $ac_c" 1>&6
11514 cat > conftest.
$ac_ext <<EOF
11515 #line 11516 "configure"
11516 #include "confdefs.h"
11517 #include <pthread.h>
11520 pthread_cleanup_push(NULL, NULL);
11521 pthread_cleanup_pop(0);
11525 if { (eval echo configure
:11526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11528 wx_cv_func_pthread_cleanup_push
=yes
11529 cat >> confdefs.h
<<\EOF
11530 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11535 echo "configure: failed program was:" >&5
11536 cat conftest.
$ac_ext >&5
11539 wx_cv_func_pthread_cleanup_push
=no
11546 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11548 THREADS_LINK
="-l$THREADS_LINK"
11553 if test "$wxUSE_THREADS" = "yes"; then
11554 cat >> confdefs.h
<<\EOF
11555 #define wxUSE_THREADS 1
11559 CFLAGS
="${CFLAGS} -D_REENTRANT"
11560 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11564 if test "$ac_cv_func_strtok_r" = "yes"; then
11565 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11566 echo "configure:11567: checking if -D_REENTRANT is needed" >&5
11567 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11568 CFLAGS
="${CFLAGS} -D_REENTRANT"
11569 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11570 echo "$ac_t""yes" 1>&6
11572 echo "$ac_t""no" 1>&6
11577 if test "$WXGTK13" = 1 ; then
11578 cat >> confdefs.h
<<EOF
11579 #define __WXGTK13__ $WXGTK13
11585 if test "$WXGTK12" = 1 ; then
11586 cat >> confdefs.h
<<EOF
11587 #define __WXGTK12__ $WXGTK12
11592 if test "$WXWINE" = 1 ; then
11593 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11596 if test "$wxUSE_CYGWIN" = 1 ; then
11597 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11602 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11607 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11608 wxUSE_DEBUG_INFO
=yes
11612 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11613 cat >> confdefs.h
<<\EOF
11617 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11619 if test "$wxUSE_GTK" = 1 ; then
11620 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11624 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11625 cat >> confdefs.h
<<\EOF
11626 #define wxUSE_MEMORY_TRACING 1
11629 cat >> confdefs.h
<<\EOF
11630 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11633 cat >> confdefs.h
<<\EOF
11634 #define wxUSE_DEBUG_NEW_ALWAYS 1
11637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11640 if test "$wxUSE_DMALLOC" = "yes" ; then
11641 DMALLOC_LINK
="-ldmalloc"
11645 if test "$wxUSE_PROFILE" = "yes" ; then
11651 if test "$GCC" = yes ; then
11652 if test "$wxUSE_NO_RTTI" = "yes" ; then
11653 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11655 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11656 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11658 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11659 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11661 if test "$wxUSE_NO_DEPS" = "no" ; then
11662 DEP_INFO_FLAGS
="-MMD"
11667 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11668 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11669 if test "$wxUSE_OPTIMISE" = "no" ; then
11672 if test "$GCC" = yes ; then
11675 i586
-*-*|i686
-*-* )
11676 OPTIMISE
="${OPTIMISE} "
11686 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
11687 cat >> confdefs.h
<<\EOF
11688 #define wxUSE_ZLIB 1
11691 if test "$wxUSE_ZLIB" = "yes" ; then
11692 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11695 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11696 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11697 echo "configure:11698: checking for zlib.h" >&5
11698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11699 echo $ac_n "(cached) $ac_c" 1>&6
11701 cat > conftest.
$ac_ext <<EOF
11702 #line 11703 "configure"
11703 #include "confdefs.h"
11706 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11707 { (eval echo configure
:11708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11708 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11709 if test -z "$ac_err"; then
11711 eval "ac_cv_header_$ac_safe=yes"
11714 echo "configure: failed program was:" >&5
11715 cat conftest.
$ac_ext >&5
11717 eval "ac_cv_header_$ac_safe=no"
11721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11722 echo "$ac_t""yes" 1>&6
11723 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11724 echo "configure:11725: checking for deflate in -lz" >&5
11725 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11727 echo $ac_n "(cached) $ac_c" 1>&6
11729 ac_save_LIBS
="$LIBS"
11731 cat > conftest.
$ac_ext <<EOF
11732 #line 11733 "configure"
11733 #include "confdefs.h"
11734 /* Override any gcc2 internal prototype to avoid an error. */
11735 /* We use char because int might match the return type of a gcc2
11736 builtin and then its argument prototype would still apply. */
11743 if { (eval echo configure
:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11745 eval "ac_cv_lib_$ac_lib_var=yes"
11747 echo "configure: failed program was:" >&5
11748 cat conftest.
$ac_ext >&5
11750 eval "ac_cv_lib_$ac_lib_var=no"
11753 LIBS
="$ac_save_LIBS"
11756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11757 echo "$ac_t""yes" 1>&6
11760 echo "$ac_t""no" 1>&6
11764 echo "$ac_t""no" 1>&6
11767 if test "x$ZLIB_LINK" = "x" ; then
11768 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
11774 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
11775 cat >> confdefs.h
<<\EOF
11776 #define wxUSE_LIBPNG 1
11779 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11780 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
11784 if test "$wxUSE_LIBPNG" = "yes" ; then
11785 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11788 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11789 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11790 echo "configure:11791: checking for png.h" >&5
11791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11792 echo $ac_n "(cached) $ac_c" 1>&6
11794 cat > conftest.
$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11800 { (eval echo configure
:11801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11802 if test -z "$ac_err"; then
11804 eval "ac_cv_header_$ac_safe=yes"
11807 echo "configure: failed program was:" >&5
11808 cat conftest.
$ac_ext >&5
11810 eval "ac_cv_header_$ac_safe=no"
11814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11815 echo "$ac_t""yes" 1>&6
11816 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11817 echo "configure:11818: checking for png_check_sig in -lpng" >&5
11818 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11820 echo $ac_n "(cached) $ac_c" 1>&6
11822 ac_save_LIBS
="$LIBS"
11823 LIBS
="-lpng -lz -lm $LIBS"
11824 cat > conftest.
$ac_ext <<EOF
11825 #line 11826 "configure"
11826 #include "confdefs.h"
11827 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11830 char png_check_sig();
11836 if { (eval echo configure
:11837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11838 eval "ac_cv_lib_$ac_lib_var=yes"
11840 echo "configure: failed program was:" >&5
11841 cat conftest.
$ac_ext >&5
11843 eval "ac_cv_lib_$ac_lib_var=no"
11846 LIBS
="$ac_save_LIBS"
11849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11850 echo "$ac_t""yes" 1>&6
11853 echo "$ac_t""no" 1>&6
11858 echo "$ac_t""no" 1>&6
11861 if test "x$PNG_LINK" = "x" ; then
11862 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
11866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11870 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
11871 cat >> confdefs.h
<<\EOF
11872 #define wxUSE_LIBJPEG 1
11875 if test "$wxUSE_LIBJPEG" = "yes" ; then
11876 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11879 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
11880 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11881 echo "configure:11882: checking for jpeglib.h" >&5
11882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11883 echo $ac_n "(cached) $ac_c" 1>&6
11885 cat > conftest.
$ac_ext <<EOF
11886 #line 11887 "configure"
11887 #include "confdefs.h"
11888 #include <jpeglib.h>
11890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11891 { (eval echo configure
:11892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11893 if test -z "$ac_err"; then
11895 eval "ac_cv_header_$ac_safe=yes"
11898 echo "configure: failed program was:" >&5
11899 cat conftest.
$ac_ext >&5
11901 eval "ac_cv_header_$ac_safe=no"
11905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11906 echo "$ac_t""yes" 1>&6
11907 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11908 echo "configure:11909: checking for jpeg_read_header in -ljpeg" >&5
11909 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11911 echo $ac_n "(cached) $ac_c" 1>&6
11913 ac_save_LIBS
="$LIBS"
11914 LIBS
="-ljpeg $LIBS"
11915 cat > conftest.
$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11918 /* Override any gcc2 internal prototype to avoid an error. */
11919 /* We use char because int might match the return type of a gcc2
11920 builtin and then its argument prototype would still apply. */
11921 char jpeg_read_header();
11927 if { (eval echo configure
:11928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11929 eval "ac_cv_lib_$ac_lib_var=yes"
11931 echo "configure: failed program was:" >&5
11932 cat conftest.
$ac_ext >&5
11934 eval "ac_cv_lib_$ac_lib_var=no"
11937 LIBS
="$ac_save_LIBS"
11940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11941 echo "$ac_t""yes" 1>&6
11944 echo "$ac_t""no" 1>&6
11948 echo "$ac_t""no" 1>&6
11951 if test "x$JPEG_LINK" = "x" ; then
11952 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
11958 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
11959 cat >> confdefs.h
<<\EOF
11960 #define wxUSE_LIBTIFF 1
11963 if test "$wxUSE_LIBTIFF" = "yes" ; then
11964 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11967 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11968 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11969 echo "configure:11970: checking for tiffio.h" >&5
11970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11971 echo $ac_n "(cached) $ac_c" 1>&6
11973 cat > conftest.
$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11976 #include <tiffio.h>
11978 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11979 { (eval echo configure
:11980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11980 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11981 if test -z "$ac_err"; then
11983 eval "ac_cv_header_$ac_safe=yes"
11986 echo "configure: failed program was:" >&5
11987 cat conftest.
$ac_ext >&5
11989 eval "ac_cv_header_$ac_safe=no"
11993 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11994 echo "$ac_t""yes" 1>&6
11995 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11996 echo "configure:11997: checking for TIFFError in -ltiff" >&5
11997 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11999 echo $ac_n "(cached) $ac_c" 1>&6
12001 ac_save_LIBS
="$LIBS"
12002 LIBS
="-ltiff -lm $LIBS"
12003 cat > conftest.
$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12006 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12015 if { (eval echo configure
:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12017 eval "ac_cv_lib_$ac_lib_var=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.
$ac_ext >&5
12022 eval "ac_cv_lib_$ac_lib_var=no"
12025 LIBS
="$ac_save_LIBS"
12028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12029 echo "$ac_t""yes" 1>&6
12032 echo "$ac_t""no" 1>&6
12036 echo "$ac_t""no" 1>&6
12039 if test "x$TIFF_LINK" = "x" ; then
12040 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
12045 if test "$wxUSE_OPENGL" = "yes"; then
12046 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12047 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12048 echo "configure:12049: checking for GL/gl.h" >&5
12049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12050 echo $ac_n "(cached) $ac_c" 1>&6
12052 cat > conftest.
$ac_ext <<EOF
12053 #line 12054 "configure"
12054 #include "confdefs.h"
12057 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12058 { (eval echo configure
:12059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12059 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12060 if test -z "$ac_err"; then
12062 eval "ac_cv_header_$ac_safe=yes"
12065 echo "configure: failed program was:" >&5
12066 cat conftest.
$ac_ext >&5
12068 eval "ac_cv_header_$ac_safe=no"
12072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12073 echo "$ac_t""yes" 1>&6
12075 cat >> confdefs.h
<<\EOF
12076 #define wxUSE_OPENGL 1
12079 cat >> confdefs.h
<<\EOF
12080 #define wxUSE_GLCANVAS 1
12083 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
12084 echo "configure:12085: checking for glFlush in -lGL" >&5
12085 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
12086 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12087 echo $ac_n "(cached) $ac_c" 1>&6
12089 ac_save_LIBS
="$LIBS"
12091 cat > conftest.
$ac_ext <<EOF
12092 #line 12093 "configure"
12093 #include "confdefs.h"
12094 /* Override any gcc2 internal prototype to avoid an error. */
12095 /* We use char because int might match the return type of a gcc2
12096 builtin and then its argument prototype would still apply. */
12103 if { (eval echo configure
:12104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12105 eval "ac_cv_lib_$ac_lib_var=yes"
12107 echo "configure: failed program was:" >&5
12108 cat conftest.
$ac_ext >&5
12110 eval "ac_cv_lib_$ac_lib_var=no"
12113 LIBS
="$ac_save_LIBS"
12116 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12117 echo "$ac_t""yes" 1>&6
12122 echo "$ac_t""no" 1>&6
12124 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
12125 echo "configure:12126: checking for glFlush in -lMesaGL" >&5
12126 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
12127 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12128 echo $ac_n "(cached) $ac_c" 1>&6
12130 ac_save_LIBS
="$LIBS"
12131 LIBS
="-lMesaGL $LIBS"
12132 cat > conftest.
$ac_ext <<EOF
12133 #line 12134 "configure"
12134 #include "confdefs.h"
12135 /* Override any gcc2 internal prototype to avoid an error. */
12136 /* We use char because int might match the return type of a gcc2
12137 builtin and then its argument prototype would still apply. */
12144 if { (eval echo configure
:12145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12146 eval "ac_cv_lib_$ac_lib_var=yes"
12148 echo "configure: failed program was:" >&5
12149 cat conftest.
$ac_ext >&5
12151 eval "ac_cv_lib_$ac_lib_var=no"
12154 LIBS
="$ac_save_LIBS"
12157 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12158 echo "$ac_t""yes" 1>&6
12160 OPENGL_LINK
="-lMesaGL"
12163 echo "$ac_t""no" 1>&6
12171 echo "$ac_t""no" 1>&6
12178 if test "$wxUSE_GUI" = "yes"; then
12179 cat >> confdefs.h
<<\EOF
12180 #define wxUSE_GUI 1
12185 cat >> confdefs.h
<<\EOF
12186 #define wxUSE_NOGUI 1
12192 if test "$wxUSE_UNIX" = "yes"; then
12193 cat >> confdefs.h
<<\EOF
12194 #define wxUSE_UNIX 1
12200 if test "$wxUSE_APPLE_IEEE" = "yes"; then
12201 cat >> confdefs.h
<<\EOF
12202 #define wxUSE_APPLE_IEEE 1
12207 if test "$wxUSE_WAVE" = "yes"; then
12208 cat >> confdefs.h
<<\EOF
12209 #define wxUSE_WAVE 1
12214 if test "$wxUSE_FILE" = "yes"; then
12215 cat >> confdefs.h
<<\EOF
12216 #define wxUSE_FILE 1
12221 if test "$wxUSE_FILESYSTEM" = "yes"; then
12222 cat >> confdefs.h
<<\EOF
12223 #define wxUSE_FILESYSTEM 1
12228 if test "$wxUSE_FS_INET" = "yes"; then
12229 cat >> confdefs.h
<<\EOF
12230 #define wxUSE_FS_INET 1
12235 if test "$wxUSE_FS_ZIP" = "yes"; then
12236 cat >> confdefs.h
<<\EOF
12237 #define wxUSE_FS_ZIP 1
12242 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12243 cat >> confdefs.h
<<\EOF
12244 #define wxUSE_ZIPSTREAM 1
12249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12250 cat >> confdefs.h
<<\EOF
12251 #define wxUSE_ON_FATAL_EXCEPTION 1
12256 if test "$wxUSE_BUSYINFO" = "yes"; then
12257 cat >> confdefs.h
<<\EOF
12258 #define wxUSE_BUSYINFO 1
12263 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
12264 cat >> confdefs.h
<<\EOF
12265 #define wxUSE_STD_IOSTREAM 1
12270 if test "$wxUSE_TEXTFILE" = "yes"; then
12271 if test "$wxUSE_FILE" != "yes"; then
12272 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
12274 cat >> confdefs.h
<<\EOF
12275 #define wxUSE_TEXTFILE 1
12281 if test "$wxUSE_CONFIG" = "yes" ; then
12282 if test "$wxUSE_TEXTFILE" != "yes"; then
12283 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
12285 cat >> confdefs.h
<<\EOF
12286 #define wxUSE_CONFIG 1
12289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
12293 if test "$wxUSE_INTL" = "yes" ; then
12294 if test "$wxUSE_FILE" != "yes"; then
12295 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
12297 cat >> confdefs.h
<<\EOF
12298 #define wxUSE_INTL 1
12301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
12305 if test "$wxUSE_LOG" = "yes"; then
12306 cat >> confdefs.h
<<\EOF
12307 #define wxUSE_LOG 1
12312 if test "$wxUSE_LONGLONG" = "yes"; then
12313 cat >> confdefs.h
<<\EOF
12314 #define wxUSE_LONGLONG 1
12319 if test "$wxUSE_PLOT" = "yes"; then
12320 cat >> confdefs.h
<<\EOF
12321 #define wxUSE_PLOT 1
12326 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
12327 cat >> confdefs.h
<<\EOF
12328 #define wxUSE_DIALUP_MANAGER 1
12331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
12334 if test "$wxUSE_STREAMS" = "yes" ; then
12335 cat >> confdefs.h
<<\EOF
12336 #define wxUSE_STREAMS 1
12342 if test "$wxUSE_TIMEDATE" = "yes"; then
12343 for ac_func
in strptime
12345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12346 echo "configure:12347: checking for $ac_func" >&5
12347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12348 echo $ac_n "(cached) $ac_c" 1>&6
12350 cat > conftest.
$ac_ext <<EOF
12351 #line 12352 "configure"
12352 #include "confdefs.h"
12353 /* System header to define __stub macros and hopefully few prototypes,
12354 which can conflict with char $ac_func(); below. */
12355 #include <assert.h>
12356 /* Override any gcc2 internal prototype to avoid an error. */
12357 /* We use char because int might match the return type of a gcc2
12358 builtin and then its argument prototype would still apply. */
12363 /* The GNU C library defines this for functions which it implements
12364 to always fail with ENOSYS. Some functions are actually named
12365 something starting with __ and the normal name is an alias. */
12366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12374 if { (eval echo configure
:12375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12376 eval "ac_cv_func_$ac_func=yes"
12378 echo "configure: failed program was:" >&5
12379 cat conftest.
$ac_ext >&5
12381 eval "ac_cv_func_$ac_func=no"
12386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12387 echo "$ac_t""yes" 1>&6
12388 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12389 cat >> confdefs.h
<<EOF
12390 #define $ac_tr_func 1
12394 echo "$ac_t""no" 1>&6
12399 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
12400 echo "configure:12401: checking for timezone variable in <time.h>" >&5
12401 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12405 cat > conftest.
$ac_ext <<EOF
12406 #line 12407 "configure"
12407 #include "confdefs.h"
12418 if { (eval echo configure
:12419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12421 wx_cv_var_timezone
=__timezone
12424 echo "configure: failed program was:" >&5
12425 cat conftest.
$ac_ext >&5
12428 cat > conftest.
$ac_ext <<EOF
12429 #line 12430 "configure"
12430 #include "confdefs.h"
12441 if { (eval echo configure
:12442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12444 wx_cv_var_timezone
=_timezone
12447 echo "configure: failed program was:" >&5
12448 cat conftest.
$ac_ext >&5
12451 cat > conftest.
$ac_ext <<EOF
12452 #line 12453 "configure"
12453 #include "confdefs.h"
12464 if { (eval echo configure
:12465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12467 wx_cv_var_timezone
=timezone
12470 echo "configure: failed program was:" >&5
12471 cat conftest.
$ac_ext >&5
12473 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12489 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12491 cat >> confdefs.h
<<EOF
12492 #define WX_TIMEZONE $wx_cv_var_timezone
12496 for ac_func
in localtime
12498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12499 echo "configure:12500: checking for $ac_func" >&5
12500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12501 echo $ac_n "(cached) $ac_c" 1>&6
12503 cat > conftest.
$ac_ext <<EOF
12504 #line 12505 "configure"
12505 #include "confdefs.h"
12506 /* System header to define __stub macros and hopefully few prototypes,
12507 which can conflict with char $ac_func(); below. */
12508 #include <assert.h>
12509 /* Override any gcc2 internal prototype to avoid an error. */
12510 /* We use char because int might match the return type of a gcc2
12511 builtin and then its argument prototype would still apply. */
12516 /* The GNU C library defines this for functions which it implements
12517 to always fail with ENOSYS. Some functions are actually named
12518 something starting with __ and the normal name is an alias. */
12519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12527 if { (eval echo configure
:12528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12529 eval "ac_cv_func_$ac_func=yes"
12531 echo "configure: failed program was:" >&5
12532 cat conftest.
$ac_ext >&5
12534 eval "ac_cv_func_$ac_func=no"
12539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12540 echo "$ac_t""yes" 1>&6
12541 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12542 cat >> confdefs.h
<<EOF
12543 #define $ac_tr_func 1
12547 echo "$ac_t""no" 1>&6
12552 if test "$ac_cv_func_localtime" = "yes"; then
12553 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12554 echo "configure:12555: checking for tm_gmtoff in struct tm" >&5
12555 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12556 echo $ac_n "(cached) $ac_c" 1>&6
12559 cat > conftest.
$ac_ext <<EOF
12560 #line 12561 "configure"
12561 #include "confdefs.h"
12572 if { (eval echo configure
:12573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12575 wx_cv_struct_tm_has_gmtoff
=yes
12576 cat >> confdefs.h
<<\EOF
12577 #define WX_GMTOFF_IN_TM 1
12582 echo "configure: failed program was:" >&5
12583 cat conftest.
$ac_ext >&5
12585 wx_cv_struct_tm_has_gmtoff
=no
12592 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12595 for ac_func
in gettimeofday ftime
12597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12598 echo "configure:12599: checking for $ac_func" >&5
12599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12600 echo $ac_n "(cached) $ac_c" 1>&6
12602 cat > conftest.
$ac_ext <<EOF
12603 #line 12604 "configure"
12604 #include "confdefs.h"
12605 /* System header to define __stub macros and hopefully few prototypes,
12606 which can conflict with char $ac_func(); below. */
12607 #include <assert.h>
12608 /* Override any gcc2 internal prototype to avoid an error. */
12609 /* We use char because int might match the return type of a gcc2
12610 builtin and then its argument prototype would still apply. */
12615 /* The GNU C library defines this for functions which it implements
12616 to always fail with ENOSYS. Some functions are actually named
12617 something starting with __ and the normal name is an alias. */
12618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12626 if { (eval echo configure
:12627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12628 eval "ac_cv_func_$ac_func=yes"
12630 echo "configure: failed program was:" >&5
12631 cat conftest.
$ac_ext >&5
12633 eval "ac_cv_func_$ac_func=no"
12638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12639 echo "$ac_t""yes" 1>&6
12640 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12641 cat >> confdefs.h
<<EOF
12642 #define $ac_tr_func 1
12646 echo "$ac_t""no" 1>&6
12651 if test "$ac_cv_func_gettimeofday" = "yes"; then
12652 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12653 echo "configure:12654: checking whether gettimeofday takes two arguments" >&5
12654 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12655 echo $ac_n "(cached) $ac_c" 1>&6
12660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12661 ac_cpp
='$CXXCPP $CPPFLAGS'
12662 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12663 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12664 cross_compiling
=$ac_cv_prog_cxx_cross
12667 cat > conftest.
$ac_ext <<EOF
12668 #line 12669 "configure"
12669 #include "confdefs.h"
12671 #include <sys/time.h>
12672 #include <unistd.h>
12677 struct timezone tz;
12678 gettimeofday(&tv, &tz);
12682 if { (eval echo configure
:12683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12684 wx_cv_func_gettimeofday_has_2_args
=yes
12686 echo "configure: failed program was:" >&5
12687 cat conftest.
$ac_ext >&5
12689 cat > conftest.
$ac_ext <<EOF
12690 #line 12691 "configure"
12691 #include "confdefs.h"
12693 #include <sys/time.h>
12694 #include <unistd.h>
12703 if { (eval echo configure
:12704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12705 wx_cv_func_gettimeofday_has_2_args
=no
12707 echo "configure: failed program was:" >&5
12708 cat conftest.
$ac_ext >&5
12710 wx_cv_func_gettimeofday_has_2_args
=unknown
12718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12719 ac_cpp
='$CPP $CPPFLAGS'
12720 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12721 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12722 cross_compiling
=$ac_cv_prog_cc_cross
12727 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12729 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12730 cat >> confdefs.h
<<\EOF
12731 #define WX_GETTIMEOFDAY_NO_TZ 1
12737 cat >> confdefs.h
<<\EOF
12738 #define wxUSE_TIMEDATE 1
12741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12745 if test "$TOOLKIT" != "MSW"; then
12747 if test "$wxUSE_SOCKETS" = "yes"; then
12748 echo $ac_n "checking for socket""... $ac_c" 1>&6
12749 echo "configure:12750: checking for socket" >&5
12750 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12751 echo $ac_n "(cached) $ac_c" 1>&6
12753 cat > conftest.
$ac_ext <<EOF
12754 #line 12755 "configure"
12755 #include "confdefs.h"
12756 /* System header to define __stub macros and hopefully few prototypes,
12757 which can conflict with char socket(); below. */
12758 #include <assert.h>
12759 /* Override any gcc2 internal prototype to avoid an error. */
12760 /* We use char because int might match the return type of a gcc2
12761 builtin and then its argument prototype would still apply. */
12766 /* The GNU C library defines this for functions which it implements
12767 to always fail with ENOSYS. Some functions are actually named
12768 something starting with __ and the normal name is an alias. */
12769 #if defined (__stub_socket) || defined (__stub___socket)
12777 if { (eval echo configure
:12778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12779 eval "ac_cv_func_socket=yes"
12781 echo "configure: failed program was:" >&5
12782 cat conftest.
$ac_ext >&5
12784 eval "ac_cv_func_socket=no"
12789 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12790 echo "$ac_t""yes" 1>&6
12793 echo "$ac_t""no" 1>&6
12794 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12795 echo "configure:12796: checking for socket in -lsocket" >&5
12796 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12797 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12798 echo $ac_n "(cached) $ac_c" 1>&6
12800 ac_save_LIBS
="$LIBS"
12801 LIBS
="-lsocket $LIBS"
12802 cat > conftest.
$ac_ext <<EOF
12803 #line 12804 "configure"
12804 #include "confdefs.h"
12805 /* Override any gcc2 internal prototype to avoid an error. */
12806 /* We use char because int might match the return type of a gcc2
12807 builtin and then its argument prototype would still apply. */
12814 if { (eval echo configure
:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12816 eval "ac_cv_lib_$ac_lib_var=yes"
12818 echo "configure: failed program was:" >&5
12819 cat conftest.
$ac_ext >&5
12821 eval "ac_cv_lib_$ac_lib_var=no"
12824 LIBS
="$ac_save_LIBS"
12827 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12828 echo "$ac_t""yes" 1>&6
12829 INET_LINK
="$INET_LINK -lsocket"
12831 echo "$ac_t""no" 1>&6
12833 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12846 if test "$wxUSE_SOCKETS" = "yes" ; then
12847 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12848 echo "configure:12849: checking what is the type of the third argument of getsockname" >&5
12849 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12850 echo $ac_n "(cached) $ac_c" 1>&6
12855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12856 ac_cpp
='$CXXCPP $CPPFLAGS'
12857 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12858 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12859 cross_compiling
=$ac_cv_prog_cxx_cross
12862 cat > conftest.
$ac_ext <<EOF
12863 #line 12864 "configure"
12864 #include "confdefs.h"
12866 #include <sys/types.h>
12867 #include <sys/socket.h>
12872 getsockname(0, 0, &len);
12876 if { (eval echo configure
:12877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12878 wx_cv_type_getsockname3
=socklen_t
12880 echo "configure: failed program was:" >&5
12881 cat conftest.
$ac_ext >&5
12883 cat > conftest.
$ac_ext <<EOF
12884 #line 12885 "configure"
12885 #include "confdefs.h"
12887 #include <sys/types.h>
12888 #include <sys/socket.h>
12893 getsockname(0, 0, &len);
12897 if { (eval echo configure
:12898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12899 wx_cv_type_getsockname3
=size_t
12901 echo "configure: failed program was:" >&5
12902 cat conftest.
$ac_ext >&5
12904 cat > conftest.
$ac_ext <<EOF
12905 #line 12906 "configure"
12906 #include "confdefs.h"
12908 #include <sys/types.h>
12909 #include <sys/socket.h>
12914 getsockname(0, 0, &len);
12918 if { (eval echo configure
:12919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12920 wx_cv_type_getsockname3
=int
12922 echo "configure: failed program was:" >&5
12923 cat conftest.
$ac_ext >&5
12925 wx_cv_type_getsockname3
=unknown
12937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12938 ac_cpp
='$CPP $CPPFLAGS'
12939 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12940 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12941 cross_compiling
=$ac_cv_prog_cc_cross
12946 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12948 if test "$wx_cv_type_getsockname3" = "unknown"; then
12950 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12952 cat >> confdefs.h
<<EOF
12953 #define SOCKLEN_T $wx_cv_type_getsockname3
12959 if test "$wxUSE_SOCKETS" = "yes" ; then
12960 cat >> confdefs.h
<<\EOF
12961 #define wxUSE_SOCKETS 1
12964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12965 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12969 if test "$TOOLKIT" != "MSW"; then
12971 if test "$wxUSE_JOYSTICK" = 1; then
12972 for ac_hdr
in linux
/joystick.h
12974 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12975 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12976 echo "configure:12977: checking for $ac_hdr" >&5
12977 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12978 echo $ac_n "(cached) $ac_c" 1>&6
12980 cat > conftest.
$ac_ext <<EOF
12981 #line 12982 "configure"
12982 #include "confdefs.h"
12985 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12986 { (eval echo configure
:12987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12987 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12988 if test -z "$ac_err"; then
12990 eval "ac_cv_header_$ac_safe=yes"
12993 echo "configure: failed program was:" >&5
12994 cat conftest.
$ac_ext >&5
12996 eval "ac_cv_header_$ac_safe=no"
13000 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13001 echo "$ac_t""yes" 1>&6
13002 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13003 cat >> confdefs.h
<<EOF
13004 #define $ac_tr_hdr 1
13008 echo "$ac_t""no" 1>&6
13012 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
13014 echo "configure: warning: Joystick not supported yb this system" 1>&2
13020 if test "$wxUSE_JOYSTICK" = 1; then
13021 cat >> confdefs.h
<<\EOF
13022 #define wxUSE_JOYSTICK 1
13025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
13029 if test "$TOOLKIT" != "MSW"; then
13033 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
13034 for ac_func
in dlopen
13036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13037 echo "configure:13038: checking for $ac_func" >&5
13038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13039 echo $ac_n "(cached) $ac_c" 1>&6
13041 cat > conftest.
$ac_ext <<EOF
13042 #line 13043 "configure"
13043 #include "confdefs.h"
13044 /* System header to define __stub macros and hopefully few prototypes,
13045 which can conflict with char $ac_func(); below. */
13046 #include <assert.h>
13047 /* Override any gcc2 internal prototype to avoid an error. */
13048 /* We use char because int might match the return type of a gcc2
13049 builtin and then its argument prototype would still apply. */
13054 /* The GNU C library defines this for functions which it implements
13055 to always fail with ENOSYS. Some functions are actually named
13056 something starting with __ and the normal name is an alias. */
13057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13065 if { (eval echo configure
:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13067 eval "ac_cv_func_$ac_func=yes"
13069 echo "configure: failed program was:" >&5
13070 cat conftest.
$ac_ext >&5
13072 eval "ac_cv_func_$ac_func=no"
13077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13078 echo "$ac_t""yes" 1>&6
13079 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13080 cat >> confdefs.h
<<EOF
13081 #define $ac_tr_func 1
13084 cat >> confdefs.h
<<\EOF
13085 #define HAVE_DLOPEN 1
13091 echo "$ac_t""no" 1>&6
13092 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
13093 echo "configure:13094: checking for dlopen in -ldl" >&5
13094 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
13095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13096 echo $ac_n "(cached) $ac_c" 1>&6
13098 ac_save_LIBS
="$LIBS"
13100 cat > conftest.
$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13103 /* Override any gcc2 internal prototype to avoid an error. */
13104 /* We use char because int might match the return type of a gcc2
13105 builtin and then its argument prototype would still apply. */
13112 if { (eval echo configure
:13113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13114 eval "ac_cv_lib_$ac_lib_var=yes"
13116 echo "configure: failed program was:" >&5
13117 cat conftest.
$ac_ext >&5
13119 eval "ac_cv_lib_$ac_lib_var=no"
13122 LIBS
="$ac_save_LIBS"
13125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13126 echo "$ac_t""yes" 1>&6
13128 cat >> confdefs.h
<<\EOF
13129 #define HAVE_DLOPEN 1
13136 echo "$ac_t""no" 1>&6
13138 for ac_func
in shl_load
13140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13141 echo "configure:13142: checking for $ac_func" >&5
13142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13143 echo $ac_n "(cached) $ac_c" 1>&6
13145 cat > conftest.
$ac_ext <<EOF
13146 #line 13147 "configure"
13147 #include "confdefs.h"
13148 /* System header to define __stub macros and hopefully few prototypes,
13149 which can conflict with char $ac_func(); below. */
13150 #include <assert.h>
13151 /* Override any gcc2 internal prototype to avoid an error. */
13152 /* We use char because int might match the return type of a gcc2
13153 builtin and then its argument prototype would still apply. */
13158 /* The GNU C library defines this for functions which it implements
13159 to always fail with ENOSYS. Some functions are actually named
13160 something starting with __ and the normal name is an alias. */
13161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13169 if { (eval echo configure
:13170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13171 eval "ac_cv_func_$ac_func=yes"
13173 echo "configure: failed program was:" >&5
13174 cat conftest.
$ac_ext >&5
13176 eval "ac_cv_func_$ac_func=no"
13181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13182 echo "$ac_t""yes" 1>&6
13183 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13184 cat >> confdefs.h
<<EOF
13185 #define $ac_tr_func 1
13188 cat >> confdefs.h
<<\EOF
13189 #define HAVE_SHL_LOAD 1
13195 echo "$ac_t""no" 1>&6
13207 if test "$HAVE_DL_FUNCS" = 0; then
13208 if test "$HAVE_SHL_FUNCS" = 0; then
13209 if test "$USE_UNIX" = 1; then
13210 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
13211 wxUSE_DYNLIB_CLASS
=no
13213 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
13221 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
13222 cat >> confdefs.h
<<\EOF
13223 #define wxUSE_DYNLIB_CLASS 1
13232 if test "$wxUSE_UNICODE" = "yes" ; then
13233 cat >> confdefs.h
<<\EOF
13234 #define wxUSE_UNICODE 1
13239 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
13240 cat >> confdefs.h
<<\EOF
13241 #define wxUSE_WCSRTOMBS 1
13246 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
13247 cat >> confdefs.h
<<\EOF
13248 #define wxUSE_EXPERIMENTAL_PRINTF 1
13254 if test "$wxUSE_SERIAL" = "yes" ; then
13255 cat >> confdefs.h
<<\EOF
13256 #define wxUSE_SERIAL 1
13263 if test "$wxUSE_ODBC" = "yes" ; then
13264 cat >> confdefs.h
<<\EOF
13265 #define wxUSE_ODBC 1
13268 WXODBCFLAG
="-D_IODBC_"
13269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
13270 IODBCOBJS
="\$(IODBC_OBJS)"
13276 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
13277 cat >> confdefs.h
<<\EOF
13278 #define wxUSE_POSTSCRIPT 1
13283 cat >> confdefs.h
<<\EOF
13284 #define wxUSE_AFM_FOR_POSTSCRIPT 1
13288 cat >> confdefs.h
<<\EOF
13289 #define wxUSE_NORMALIZED_PS_FONTS 1
13294 if test "$wxUSE_CONSTRAINTS" = "yes"; then
13295 cat >> confdefs.h
<<\EOF
13296 #define wxUSE_CONSTRAINTS 1
13299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
13302 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13303 cat >> confdefs.h
<<\EOF
13304 #define wxUSE_MDI_ARCHITECTURE 1
13307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
13310 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
13311 cat >> confdefs.h
<<\EOF
13312 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
13315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
13316 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
13321 if test "$wxUSE_HELP" = "yes"; then
13322 cat >> confdefs.h
<<\EOF
13323 #define wxUSE_HELP 1
13326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
13329 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13330 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13331 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
13333 cat >> confdefs.h
<<\EOF
13334 #define wxUSE_PRINTING_ARCHITECTURE 1
13338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
13341 if test "$wxUSE_PROLOGIO" = "yes" ; then
13342 cat >> confdefs.h
<<\EOF
13343 #define wxUSE_PROLOGIO 1
13348 if test "$wxUSE_RESOURCES" = "yes" ; then
13349 if test "$wxUSE_PROLOGIO" = "yes" ; then
13350 cat >> confdefs.h
<<\EOF
13351 #define wxUSE_RESOURCES 1
13354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
13356 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
13360 if test "$wxUSE_X_RESOURCES" = "yes"; then
13361 cat >> confdefs.h
<<\EOF
13362 #define wxUSE_X_RESOURCES 1
13368 if test "$wxUSE_IPC" = "yes"; then
13369 if test "$wxUSE_SOCKETS" != "yes"; then
13370 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
13373 cat >> confdefs.h
<<\EOF
13374 #define wxUSE_IPC 1
13379 if test "$wxUSE_CLIPBOARD" = "yes"; then
13380 cat >> confdefs.h
<<\EOF
13381 #define wxUSE_CLIPBOARD 1
13386 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
13387 if test "$wxUSE_GTK" = 1; then
13388 if test "$WXGTK12" != 1; then
13389 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
13390 wxUSE_DRAG_AND_DROP
=no
13394 if test "$wxUSE_MOTIF" = 1; then
13395 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
13396 wxUSE_DRAG_AND_DROP
=no
13399 if test "$USE_WIN32" = 1; then
13400 for ac_hdr
in ole2.h
13402 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13404 echo "configure:13405: checking for $ac_hdr" >&5
13405 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13406 echo $ac_n "(cached) $ac_c" 1>&6
13408 cat > conftest.
$ac_ext <<EOF
13409 #line 13410 "configure"
13410 #include "confdefs.h"
13413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13414 { (eval echo configure
:13415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13415 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13416 if test -z "$ac_err"; then
13418 eval "ac_cv_header_$ac_safe=yes"
13421 echo "configure: failed program was:" >&5
13422 cat conftest.
$ac_ext >&5
13424 eval "ac_cv_header_$ac_safe=no"
13428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13429 echo "$ac_t""yes" 1>&6
13430 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13431 cat >> confdefs.h
<<EOF
13432 #define $ac_tr_hdr 1
13436 echo "$ac_t""no" 1>&6
13440 if test "x$HAVE_OLE2_H" = x
; then
13441 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
13442 wxUSE_DRAG_AND_DROP
=no
13446 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
13447 cat >> confdefs.h
<<\EOF
13448 #define wxUSE_DRAG_AND_DROP 1
13451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13456 if test "$wxUSE_SPLINES" = "yes" ; then
13457 cat >> confdefs.h
<<\EOF
13458 #define wxUSE_SPLINES 1
13464 if test "$wxUSE_ACCEL" = "yes"; then
13465 cat >> confdefs.h
<<\EOF
13466 #define wxUSE_ACCEL 1
13471 if test "$wxUSE_CARET" = "yes"; then
13472 cat >> confdefs.h
<<\EOF
13473 #define wxUSE_CARET 1
13476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13479 if test "$wxUSE_COMBOBOX" = "yes"; then
13480 cat >> confdefs.h
<<\EOF
13481 #define wxUSE_COMBOBOX 1
13486 if test "$wxUSE_CHOICE" = "yes"; then
13487 cat >> confdefs.h
<<\EOF
13488 #define wxUSE_CHOICE 1
13493 if test "$wxUSE_BMPBUTTON" = "yes"; then
13494 cat >> confdefs.h
<<\EOF
13495 #define wxUSE_BMPBUTTON 1
13500 if test "$wxUSE_CHECKBOX" = "yes"; then
13501 cat >> confdefs.h
<<\EOF
13502 #define wxUSE_CHECKBOX 1
13507 if test "$wxUSE_CHECKLST" = "yes"; then
13508 cat >> confdefs.h
<<\EOF
13509 #define wxUSE_CHECKLISTBOX 1
13512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
13515 if test "$wxUSE_GAUGE" = "yes"; then
13516 cat >> confdefs.h
<<\EOF
13517 #define wxUSE_GAUGE 1
13522 if test "$wxUSE_NEW_GRID" = "yes"; then
13524 cat >> confdefs.h
<<\EOF
13525 #define wxUSE_NEW_GRID 1
13528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13531 if test "$wxUSE_GRID" = "yes"; then
13532 cat >> confdefs.h
<<\EOF
13533 #define wxUSE_GRID 1
13536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13539 if test "$wxUSE_IMAGLIST" = "yes"; then
13540 cat >> confdefs.h
<<\EOF
13541 #define wxUSE_IMAGLIST 1
13546 if test "$wxUSE_LISTBOX" = "yes"; then
13547 cat >> confdefs.h
<<\EOF
13548 #define wxUSE_LISTBOX 1
13553 if test "$wxUSE_LISTCTRL" = "yes"; then
13554 if test "$wxUSE_IMAGLIST" = "yes"; then
13555 cat >> confdefs.h
<<\EOF
13556 #define wxUSE_LISTCTRL 1
13559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13561 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13565 if test "$wxUSE_NOTEBOOK" = "yes"; then
13566 cat >> confdefs.h
<<\EOF
13567 #define wxUSE_NOTEBOOK 1
13570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13573 if test "$wxUSE_RADIOBOX" = "yes"; then
13574 cat >> confdefs.h
<<\EOF
13575 #define wxUSE_RADIOBOX 1
13580 if test "$wxUSE_RADIOBTN" = "yes"; then
13581 cat >> confdefs.h
<<\EOF
13582 #define wxUSE_RADIOBTN 1
13587 if test "$wxUSE_SASH" = "yes"; then
13588 cat >> confdefs.h
<<\EOF
13589 #define wxUSE_SASH 1
13592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13595 if test "$wxUSE_SCROLLBAR" = "yes"; then
13596 cat >> confdefs.h
<<\EOF
13597 #define wxUSE_SCROLLBAR 1
13600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13603 if test "$wxUSE_SLIDER" = "yes"; then
13604 cat >> confdefs.h
<<\EOF
13605 #define wxUSE_SLIDER 1
13610 if test "$wxUSE_SPINBTN" = "yes"; then
13611 cat >> confdefs.h
<<\EOF
13612 #define wxUSE_SPINBTN 1
13617 if test "$wxUSE_SPINCTRL" = "yes"; then
13618 cat >> confdefs.h
<<\EOF
13619 #define wxUSE_SPINCTRL 1
13624 if test "$wxUSE_SPLITTER" = "yes"; then
13625 cat >> confdefs.h
<<\EOF
13626 #define wxUSE_SPLITTER 1
13629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13632 if test "$wxUSE_STATBMP" = "yes"; then
13633 cat >> confdefs.h
<<\EOF
13634 #define wxUSE_STATBMP 1
13639 if test "$wxUSE_STATBOX" = "yes"; then
13640 cat >> confdefs.h
<<\EOF
13641 #define wxUSE_STATBOX 1
13646 if test "$wxUSE_STATLINE" = "yes"; then
13647 if test "$wxUSE_WINE" = 1 ; then
13648 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13650 cat >> confdefs.h
<<\EOF
13651 #define wxUSE_STATLINE 1
13657 if test "$wxUSE_STATUSBAR" = "yes"; then
13658 cat >> confdefs.h
<<\EOF
13659 #define wxUSE_STATUSBAR 1
13663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13666 if test "$wxUSE_TABDIALOG" = "yes"; then
13667 cat >> confdefs.h
<<\EOF
13668 #define wxUSE_TAB_DIALOG 1
13671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13674 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13675 cat >> confdefs.h
<<\EOF
13676 #define wxUSE_TOOLBAR_SIMPLE 1
13679 wxUSE_TOOLBAR
="yes"
13682 if test "$wxUSE_TOOLBAR" = "yes"; then
13683 cat >> confdefs.h
<<\EOF
13684 #define wxUSE_TOOLBAR 1
13688 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13689 wxUSE_TOOLBAR_NATIVE
="yes"
13692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13695 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13696 cat >> confdefs.h
<<\EOF
13697 #define wxUSE_TOOLBAR_NATIVE 1
13702 if test "$wxUSE_TOOLTIPS" = "yes"; then
13703 if test "$wxUSE_MOTIF" = 1; then
13704 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13706 if test "$wxUSE_WINE" = 1; then
13707 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13709 cat >> confdefs.h
<<\EOF
13710 #define wxUSE_TOOLTIPS 1
13717 if test "$wxUSE_TREECTRL" = "yes"; then
13718 if test "$wxUSE_IMAGLIST" = "yes"; then
13719 cat >> confdefs.h
<<\EOF
13720 #define wxUSE_TREECTRL 1
13723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13725 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13731 if test "$wxUSE_METAFILE" = "yes"; then
13732 cat >> confdefs.h
<<\EOF
13733 #define wxUSE_METAFILE 1
13738 if test "$wxUSE_DIRDLG" = "yes"; then
13739 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13740 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13742 if test "$wxUSE_TREECTRL" != "yes"; then
13743 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13745 cat >> confdefs.h
<<\EOF
13746 #define wxUSE_DIRDLG 1
13753 if test "$wxUSE_TEXTDLG" = "yes"; then
13754 cat >> confdefs.h
<<\EOF
13755 #define wxUSE_TEXTDLG 1
13760 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13761 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13762 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13764 cat >> confdefs.h
<<\EOF
13765 #define wxUSE_STARTUP_TIPS 1
13771 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13772 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13773 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13775 cat >> confdefs.h
<<\EOF
13776 #define wxUSE_PROGRESSDLG 1
13782 if test "$wxUSE_MINIFRAME" = "yes"; then
13783 cat >> confdefs.h
<<\EOF
13784 #define wxUSE_MINIFRAME 1
13787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13790 if test "$wxUSE_HTML" = "yes"; then
13791 cat >> confdefs.h
<<\EOF
13792 #define wxUSE_HTML 1
13795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13796 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13799 if test "$wxUSE_VALIDATORS" = "yes"; then
13800 cat >> confdefs.h
<<\EOF
13801 #define wxUSE_VALIDATORS 1
13804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13807 if test "$wxUSE_GIF" = "yes" ; then
13808 cat >> confdefs.h
<<\EOF
13809 #define wxUSE_GIF 1
13814 if test "$wxUSE_PCX" = "yes" ; then
13815 cat >> confdefs.h
<<\EOF
13816 #define wxUSE_PCX 1
13821 if test "$wxUSE_PNM" = "yes" ; then
13822 cat >> confdefs.h
<<\EOF
13823 #define wxUSE_PNM 1
13829 if test "$cross_compiling" = "yes"; then
13832 OSINFO
=`uname -s -r -m`
13833 OSINFO
="\"$OSINFO\""
13836 cat >> confdefs.h
<<EOF
13837 #define WXWIN_OS_DESCRIPTION $OSINFO
13842 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $TOOLKIT_LINK"
13844 EXTRA_LIBS
="$LIBS $ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13845 if test "$wxUSE_GUI" = "yes"; then
13846 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK"
13849 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13851 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13853 if test "$GXX" = yes ; then
13854 CXXWARNINGS
="-Wall"
13856 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13858 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13859 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13861 LDFLAGS
="$LDFLAGS $PROFILE"
13863 if test "$wxUSE_GUI" = "yes"; then
13865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
13866 font fractal image menu minimal richedit"
13868 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13873 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13965 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13966 echo "configure:13967: checking whether ${MAKE-make} sets \${MAKE}" >&5
13967 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13968 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13969 echo $ac_n "(cached) $ac_c" 1>&6
13971 cat > conftestmake
<<\EOF
13973 @
echo 'ac_maketemp="${MAKE}"'
13975 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13976 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13977 if test -n "$ac_maketemp"; then
13978 eval ac_cv_prog_make_
${ac_make}_set
=yes
13980 eval ac_cv_prog_make_
${ac_make}_set
=no
13984 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13985 echo "$ac_t""yes" 1>&6
13988 echo "$ac_t""no" 1>&6
13989 SET_MAKE
="MAKE=${MAKE-make}"
13993 if test -d include
; then
13994 if test -d include
/wx
; then
13995 if test -d include
/wx
/${TOOLKIT_DIR}; then
13996 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13997 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
14005 if test "$wxUSE_GUI" = "yes"; then
14006 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
14007 wx_cv_path_ifs
=$PATH_IFS
14008 wx_cv_program_ext
=$PROGRAM_EXT
14009 wx_cv_target_library
=$WX_TARGET_LIBRARY
14010 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
14011 subdirs
="demos samples utils contrib"
14016 cat > confcache
<<\EOF
14017 # This file is a shell script that caches the results of configure
14018 # tests run on this system so they can be shared between configure
14019 # scripts and configure runs. It is not useful on other systems.
14020 # If it contains results you don't want to keep, you may remove or edit it.
14022 # By default, configure uses ./config.cache as the cache file,
14023 # creating it if it does not exist already. You can give configure
14024 # the --cache-file=FILE option to use a different cache file; that is
14025 # what configure does when it calls configure scripts in
14026 # subdirectories, so they share the cache.
14027 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14028 # config.status only pays attention to the cache file if you give it the
14029 # --recheck option to rerun configure.
14032 # The following way of writing the cache mishandles newlines in values,
14033 # but we know of no workaround that is simple, portable, and efficient.
14034 # So, don't put newlines in cache variables' values.
14035 # Ultrix sh set writes to stderr and can't be redirected directly,
14036 # and sets the high bit in the cache file unless we assign to the vars.
14038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14040 # `set' does not quote correctly, so add quotes (double-quote substitution
14041 # turns \\\\ into \\, and sed turns \\ into \).
14043 -e "s/'/'\\\\''/g" \
14044 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14047 # `set' quotes correctly as required by POSIX, so do not add quotes.
14048 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14051 if cmp -s $cache_file confcache
; then
14054 if test -w $cache_file; then
14055 echo "updating cache $cache_file"
14056 cat confcache
> $cache_file
14058 echo "not updating unwritable cache $cache_file"
14063 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
14065 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14066 # Let make expand exec_prefix.
14067 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14069 # Any assignment to VPATH causes Sun make to only execute
14070 # the first set of double-colon rules, so remove it if not needed.
14071 # If there is a colon in the path, we need to keep it.
14072 if test "x$srcdir" = x.
; then
14073 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
14076 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
14078 DEFS
=-DHAVE_CONFIG_H
14080 # Without the "./", some shells look in PATH for config.status.
14081 : ${CONFIG_STATUS=./config.status}
14083 echo creating
$CONFIG_STATUS
14084 rm -f $CONFIG_STATUS
14085 cat > $CONFIG_STATUS <<EOF
14087 # Generated automatically by configure.
14088 # Run this file to recreate the current configuration.
14089 # This directory was configured as follows,
14090 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14092 # $0 $ac_configure_args
14094 # Compiler output produced by configure, useful for debugging
14095 # configure, is in ./config.log if it exists.
14097 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
14100 case "\$ac_option" in
14101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14102 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
14103 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
14104 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
14105 echo "$CONFIG_STATUS generated by autoconf version 2.13"
14107 -help | --help | --hel | --he | --h)
14108 echo "\$ac_cs_usage"; exit 0 ;;
14109 *) echo "\$ac_cs_usage"; exit 1 ;;
14113 ac_given_srcdir=$srcdir
14114 ac_given_INSTALL="$INSTALL"
14116 trap 'rm -fr `echo "
14122 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
14124 cat >> $CONFIG_STATUS <<EOF
14126 # Protect against being on the right side of a sed subst in config.status.
14127 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
14128 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
14132 s%@CFLAGS@%$CFLAGS%g
14133 s%@CPPFLAGS@%$CPPFLAGS%g
14134 s%@CXXFLAGS@%$CXXFLAGS%g
14135 s%@FFLAGS@%$FFLAGS%g
14137 s%@LDFLAGS@%$LDFLAGS%g
14139 s%@exec_prefix@%$exec_prefix%g
14140 s%@prefix@%$prefix%g
14141 s%@program_transform_name@%$program_transform_name%g
14142 s%@bindir@%$bindir%g
14143 s%@sbindir@%$sbindir%g
14144 s%@libexecdir@%$libexecdir%g
14145 s%@datadir@%$datadir%g
14146 s%@sysconfdir@%$sysconfdir%g
14147 s%@sharedstatedir@%$sharedstatedir%g
14148 s%@localstatedir@%$localstatedir%g
14149 s%@libdir@%$libdir%g
14150 s%@includedir@%$includedir%g
14151 s%@oldincludedir@%$oldincludedir%g
14152 s%@infodir@%$infodir%g
14153 s%@mandir@%$mandir%g
14155 s%@host_alias@%$host_alias%g
14156 s%@host_cpu@%$host_cpu%g
14157 s%@host_vendor@%$host_vendor%g
14158 s%@host_os@%$host_os%g
14159 s%@target@%$target%g
14160 s%@target_alias@%$target_alias%g
14161 s%@target_cpu@%$target_cpu%g
14162 s%@target_vendor@%$target_vendor%g
14163 s%@target_os@%$target_os%g
14165 s%@build_alias@%$build_alias%g
14166 s%@build_cpu@%$build_cpu%g
14167 s%@build_vendor@%$build_vendor%g
14168 s%@build_os@%$build_os%g
14172 s%@CXXCPP@%$CXXCPP%g
14173 s%@RANLIB@%$RANLIB%g
14175 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
14176 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
14177 s%@INSTALL_DATA@%$INSTALL_DATA%g
14181 s%@LEXLIB@%$LEXLIB%g
14183 s%@GTK_CONFIG@%$GTK_CONFIG%g
14184 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
14185 s%@GTK_LIBS@%$GTK_LIBS%g
14186 s%@X_CFLAGS@%$X_CFLAGS%g
14187 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
14188 s%@X_LIBS@%$X_LIBS%g
14189 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
14190 s%@LEX_STEM@%$LEX_STEM%g
14191 s%@PATH_IFS@%$PATH_IFS%g
14192 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
14193 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
14194 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
14195 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
14196 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
14197 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
14198 s%@WX_LIBRARY@%$WX_LIBRARY%g
14199 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
14200 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
14201 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
14202 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
14203 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
14204 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
14205 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
14206 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
14207 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
14208 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
14209 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
14210 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
14211 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
14212 s%@WX_ALL@%$WX_ALL%g
14213 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
14214 s%@SHARED_LD@%$SHARED_LD%g
14215 s%@PIC_FLAG@%$PIC_FLAG%g
14216 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
14217 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
14218 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
14219 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
14220 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
14221 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
14222 s%@USE_GUI@%$USE_GUI%g
14223 s%@AFMINSTALL@%$AFMINSTALL%g
14224 s%@TOOLKIT@%$TOOLKIT%g
14225 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
14226 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
14227 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
14228 s%@GUIHEADERS@%$GUIHEADERS%g
14229 s%@GUIOBJS@%$GUIOBJS%g
14230 s%@COMMONOBJS@%$COMMONOBJS%g
14231 s%@GENERICOBJS@%$GENERICOBJS%g
14232 s%@GUIDEPS@%$GUIDEPS%g
14233 s%@COMMONDEPS@%$COMMONDEPS%g
14234 s%@GENERICDEPS@%$GENERICDEPS%g
14235 s%@IODBCOBJS@%$IODBCOBJS%g
14236 s%@UNIXOBJS@%$UNIXOBJS%g
14237 s%@UNIXDEPS@%$UNIXDEPS%g
14238 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
14239 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
14240 s%@GUIDIST@%$GUIDIST%g
14241 s%@PORT_FILES@%$PORT_FILES%g
14242 s%@DISTDIR@%$DISTDIR%g
14243 s%@RPM_SPEC@%$RPM_SPEC%g
14244 s%@RPM_FILES@%$RPM_FILES%g
14245 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
14246 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
14247 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
14248 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
14249 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
14250 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
14251 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
14252 s%@EXTRADEFS@%$EXTRADEFS%g
14253 s%@LD_LIBS@%$LD_LIBS%g
14254 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
14255 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
14256 s%@RESPROGRAM@%$RESPROGRAM%g
14257 s%@RESCOMP@%$RESCOMP%g
14258 s%@RESFLAGS@%$RESFLAGS%g
14259 s%@DLLTOOL@%$DLLTOOL%g
14263 s%@MAKEINFO@%$MAKEINFO%g
14264 s%@SET_MAKE@%$SET_MAKE%g
14265 s%@subdirs@%$subdirs%g
14270 cat >> $CONFIG_STATUS <<\EOF
14272 # Split the substitutions into bite-sized pieces for seds with
14273 # small command number limits, like on Digital OSF/1 and HP-UX.
14274 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
14275 ac_file
=1 # Number of current file.
14276 ac_beg
=1 # First line for current file.
14277 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
14280 while $ac_more_lines; do
14281 if test $ac_beg -gt 1; then
14282 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
14284 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
14286 if test ! -s conftest.s
$ac_file; then
14287 ac_more_lines
=false
14288 rm -f conftest.s
$ac_file
14290 if test -z "$ac_sed_cmds"; then
14291 ac_sed_cmds
="sed -f conftest.s$ac_file"
14293 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
14295 ac_file
=`expr $ac_file + 1`
14297 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
14300 if test -z "$ac_sed_cmds"; then
14305 cat >> $CONFIG_STATUS <<EOF
14307 CONFIG_FILES=\${CONFIG_FILES-"wx-config
14314 cat >> $CONFIG_STATUS <<\EOF
14315 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
14316 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14318 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14319 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14320 *) ac_file_in
="${ac_file}.in" ;;
14323 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
14325 # Remove last slash and all that follows it. Not all systems have dirname.
14326 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14327 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
14328 # The file is in a subdirectory.
14329 test ! -d "$ac_dir" && mkdir "$ac_dir"
14330 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
14331 # A "../" for each directory in $ac_dir_suffix.
14332 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
14334 ac_dir_suffix
= ac_dots
=
14337 case "$ac_given_srcdir" in
14339 if test -z "$ac_dots"; then top_srcdir
=.
14340 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
14341 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
14342 *) # Relative path.
14343 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
14344 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14347 case "$ac_given_INSTALL" in
14348 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
14349 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
14352 echo creating
"$ac_file"
14354 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
14356 *Makefile
*) ac_comsub
="1i\\
14357 # $configure_input" ;;
14361 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14363 s%@configure_input@%$configure_input%g
14364 s%@srcdir@%$srcdir%g
14365 s%@top_srcdir@%$top_srcdir%g
14366 s%@INSTALL@%$INSTALL%g
14367 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
14371 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14372 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14374 # ac_d sets the value in "#define NAME VALUE" lines.
14375 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14376 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
14379 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
14380 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14381 ac_uB
='\([ ]\)%\1#\2define\3'
14384 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14385 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14386 ac_eB
='$%\1#\2define\3'
14390 if test "${CONFIG_HEADERS+set}" != set; then
14392 cat >> $CONFIG_STATUS <<EOF
14393 CONFIG_HEADERS="setup.h:setup.h.in"
14395 cat >> $CONFIG_STATUS <<\EOF
14397 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
14398 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14400 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14401 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14402 *) ac_file_in
="${ac_file}.in" ;;
14405 echo creating
$ac_file
14407 rm -f conftest.frag conftest.
in conftest.out
14408 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14409 cat $ac_file_inputs > conftest.
in
14413 # Transform confdefs.h into a sed script conftest.vals that substitutes
14414 # the proper values into config.h.in to produce config.h. And first:
14415 # Protect against being on the right side of a sed subst in config.status.
14416 # Protect against being in an unquoted here document in config.status.
14417 rm -f conftest.vals
14418 cat > conftest.hdr
<<\EOF
14421 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
14425 sed -n -f conftest.hdr confdefs.h > conftest.vals
14428 # This sed command replaces #undef with comments. This is necessary, for
14429 # example, in the case of _POSIX_SOURCE, which is predefined and required
14430 # on some systems where configure will not decide to define it.
14431 cat >> conftest.vals <<\EOF
14432 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
14435 # Break up conftest.vals because some shells have a limit on
14436 # the size of here documents, and old seds have small limits too.
14438 rm -f conftest.tail
14441 ac_lines=`grep -c . conftest.vals
`
14442 # grep -c gives empty output for an empty file on some AIX systems.
14443 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
14444 # Write a limited-size here document to conftest.frag.
14445 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
14446 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
14448 sed -f conftest.frag conftest.in > conftest.out
14450 mv conftest.out conftest.in
14451 ' >> $CONFIG_STATUS
14452 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
14453 rm -f conftest.vals
14454 mv conftest.tail conftest.vals
14456 rm -f conftest.vals
14458 cat >> $CONFIG_STATUS <<\EOF
14459 rm -f conftest.frag conftest.h
14460 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
14461 cat conftest.in >> conftest.h
14463 if cmp -s $ac_file conftest.h 2>/dev/null; then
14464 echo "$ac_file is unchanged"
14467 # Remove last slash and all that follows it. Not all systems have dirname.
14468 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14469 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
14470 # The file is in a subdirectory.
14471 test ! -d "$ac_dir" && mkdir "$ac_dir"
14474 mv conftest.h $ac_file
14479 cat >> $CONFIG_STATUS <<EOF
14481 TOOLKIT_DIR="${TOOLKIT_DIR}"
14486 cat >> $CONFIG_STATUS <<\EOF
14489 mv wx-config wx${TOOLKIT_DIR}-config
14490 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
14493 if test ! -d lib; then
14496 if test ! -d lib/wx; then
14499 if test ! -d lib/wx/include; then
14500 mkdir lib/wx/include
14502 if test ! -d lib/wx/include/wx; then
14503 mkdir lib/wx/include/wx
14505 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
14506 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
14508 if test -f setup.h; then
14509 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
14513 if test ! -d include; then
14516 if test ! -d include/wx; then
14519 if test ! -d include/wx/${TOOLKIT_DIR}; then
14520 mkdir include/wx/${TOOLKIT_DIR}
14522 if test -f setup.h; then
14523 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
14529 chmod +x $CONFIG_STATUS
14530 rm -fr confdefs* $ac_clean_files
14531 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
14533 if test "$no_recursion" != yes; then
14535 # Remove --cache-file and --srcdir arguments so they do not pile up.
14536 ac_sub_configure_args=
14538 for ac_arg in $ac_configure_args; do
14539 if test -n "$ac_prev"; then
14544 -cache-file | --cache-file | --cache-fil | --cache-fi \
14545 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14546 ac_prev=cache_file ;;
14547 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14548 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
14550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14554 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
14558 for ac_config_dir in demos samples utils contrib; do
14560 # Do not complain, so a configure script can configure whichever
14561 # parts of a large source tree are present.
14562 if test ! -d $srcdir/$ac_config_dir; then
14566 echo configuring in $ac_config_dir
14571 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14573 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14581 # A "../" for each directory in /$ac_config_dir.
14582 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14585 .) # No --srcdir option. We are building in place.
14586 ac_sub_srcdir=$srcdir ;;
14587 /*) # Absolute path.
14588 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14589 *) # Relative path.
14590 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14593 # Check for guested configure; otherwise get Cygnus style configure.
14594 if test -f $ac_sub_srcdir/configure; then
14595 ac_sub_configure=$ac_sub_srcdir/configure
14596 elif test -f $ac_sub_srcdir/configure.in; then
14597 ac_sub_configure=$ac_configure
14599 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14603 # The recursion is here.
14604 if test -n "$ac_sub_configure"; then
14606 # Make the cache file name correct relative to the subdirectory.
14607 case "$cache_file" in
14608 /*) ac_sub_cache_file=$cache_file ;;
14609 *) # Relative path.
14610 ac_sub_cache_file="$ac_dots$cache_file" ;;
14612 case "$ac_given_INSTALL" in
14613 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14614 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14617 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14618 # The eval makes quoting arguments work.
14619 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14622 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }