3 # From configure.in Id: configure.in
42 # Configure paths for GTK+
46 # Guess values for system-dependent variables and create Makefiles.
47 # Generated automatically using autoconf version 2.13
48 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 # This configure script is free software; the Free Software Foundation
51 # gives unlimited permission to copy, distribute and modify it.
55 ac_default_prefix
=/usr
/local
56 # Any additions from configure.in:
58 --enable-gui use GUI classes"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-cygwin use Cygwin for MS-Windows"
70 --with-mingw use GCC Minimal MS-Windows"
72 --with-pm use OS/2 Presentation Manager"
74 --with-gtk-prefix=PFX Prefix where GTK is installed"
76 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-burnt_name create set name in shared library "
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
104 --enable-debug_info create code with debugging information"
106 --enable-debug_gdb create code with extra GDB debugging information"
108 --enable-debug_cntxt use wxDebugContext"
110 --enable-mem_tracing create code with memory tracing"
112 --enable-profile create code with profiling information"
114 --enable-no_rtti create code without RTTI information"
116 --enable-no_exceptions create code without exceptions information"
118 --enable-permissive compile code disregarding strict ANSI"
120 --enable-no_deps create code without dependency information"
122 --enable-intl use internationalization system"
124 --enable-config use wxConfig (and derived) classes"
126 --enable-sockets use socket/network classes"
128 --enable-ipc use interprocess communication (wxSocket etc.)"
130 --enable-dialupman use dialup network classes"
132 --enable-apple_ieee use the Apple IEEE codec"
134 --enable-timedate use date/time classes"
136 --enable-wave use wxWave class"
138 --enable-fraction use wxFraction class"
140 --enable-dynlib use wxLibrary class for DLL loading"
142 --enable-longlong use wxLongLong class"
144 --enable-geometry use geometry class"
146 --enable-log use logging system"
148 --enable-streams use wxStream etc classes"
150 --enable-file use wxFile classes"
152 --enable-textfile use wxTextFile classes"
154 --enable-unicode compile wxString with Unicode support"
156 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
158 --enable-wxprintfv use wxWindows implementation of vprintf()"
160 --enable-std_iostreams use standard C++ stream classes"
162 --enable-filesystem use virtual file systems classes"
164 --enable-fs_inet use virtual HTTP/FTP filesystems"
166 --enable-fs_zip use virtual ZIP filesystems"
168 --enable-zipstream use wxZipInputStream"
170 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
172 --enable-threads use threads"
174 --enable-serial use class serialization"
176 --enable-docview use document view architecture"
178 --enable-help use help (using external browser at present)"
180 --enable-constraints use layout-constraints system"
182 --enable-printarch use printing architecture"
184 --enable-mdi use multiple document interface architecture"
186 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
188 --enable-prologio use Prolog IO library"
190 --enable-resources use wxWindows resources"
192 --enable-xresources use X resources for save (default for gtk+)"
194 --enable-clipboard use wxClipboard classes"
196 --enable-dnd use Drag'n'Drop classes"
198 --enable-metafile use win32 metafiles"
200 --enable-wxtree make wxTree library"
202 --enable-controls use all usual controls"
204 --enable-accel use accelerators"
206 --enable-caret use wxCaret class"
208 --enable-bmpbutton use wxBitmapButton class"
210 --enable-checkbox use wxCheckBox class"
212 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
214 --enable-choice use wxChoice class"
216 --enable-combobox use wxComboBox classes"
218 --enable-gauge use wxGauge class"
220 --enable-grid use wxGrid class"
222 --enable-newgrid use new wxGrid class"
224 --enable-imaglist use wxImageList class"
226 --enable-listbox use wxListBox class"
228 --enable-listctrl use wxListCtrl class"
230 --enable-notebook use wxNotebook class"
232 --enable-radiobox use wxRadioBox class"
234 --enable-radiobtn use wxRadioButton class"
236 --enable-sash use wxSashWindow class"
238 --enable-scrollbar use wxScrollBar class and scrollable windows"
240 --enable-slider use wxSlider class"
242 --enable-spinbtn use wxSpinButton class"
244 --enable-spinctrl use wxSpinCtrl class"
246 --enable-splitter use wxSplitterWindow class"
248 --enable-statbmp use wxStaticBitmap class"
250 --enable-statbox use wxStaticBox class"
252 --enable-statline use wxStaticLine class"
254 --enable-statusbar use wxStatusBar class"
256 --enable-tabdialog use wxTabControl class"
258 --enable-toolbar use wxToolBar class"
260 --enable-tbarnative use native wxToolBar class"
262 --enable-tbarsmpl use wxToolBarSimple class"
264 --enable-treectrl use wxTreeCtrl class"
266 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
268 --enable-dirdlg use wxDirDialog"
270 --enable-textdlg use wxTextDialog"
272 --enable-tipdlg use startup tips"
274 --enable-progressdlg use wxProgressDialog"
276 --enable-miniframe use wxMiniFrame class"
278 --enable-html use wxHTML sub-library"
280 --enable-tooltips use wxToolTip class"
282 --enable-splines use spline drawing code"
284 --enable-validators use wxValidator and derived classes"
286 --enable-busyinfo use wxBusyInfo"
288 --enable-joystick compile in joystick support (Linux only)"
290 --enable-gif use gif images (GIF file format)"
292 --enable-pcx use pcx images (PCX file format)"
294 --enable-pnm use pnm images (PNM file format)"
296 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
298 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
300 --disable-gtktest Do not try to compile and run a test GTK program"
302 --with-x use the X Window System"
304 # Initialize some variables set by options.
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
308 cache_file
=.
/config.cache
317 program_transform_name
=s
,x
,x
,
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
338 # Initialize some other variables.
341 SHELL
=${CONFIG_SHELL-/bin/sh}
342 # Maximum number of lines to put in a shell here document.
349 # If the previous option needs an argument, assign it.
350 if test -n "$ac_prev"; then
351 eval "$ac_prev=\$ac_option"
357 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir | --bindir | --bindi | --bind | --bin | --bi)
367 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
368 bindir
="$ac_optarg" ;;
370 -build | --build | --buil | --bui | --bu)
372 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
373 build
="$ac_optarg" ;;
375 -cache-file | --cache-file | --cache-fil | --cache-fi \
376 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
377 ac_prev
=cache_file
;;
378 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
379 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
380 cache_file
="$ac_optarg" ;;
382 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
384 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
386 datadir
="$ac_optarg" ;;
388 -disable-* | --disable-*)
389 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
390 # Reject names that are not valid shell variable names.
391 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
392 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
394 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
395 eval "enable_${ac_feature}=no" ;;
397 -enable-* | --enable-*)
398 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
399 # Reject names that are not valid shell variable names.
400 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
401 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
403 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
408 eval "enable_${ac_feature}='$ac_optarg'" ;;
410 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
411 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
412 | --exec | --exe | --ex)
413 ac_prev
=exec_prefix
;;
414 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
415 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
416 | --exec=* | --exe=* | --ex=*)
417 exec_prefix
="$ac_optarg" ;;
419 -gas | --gas | --ga | --g)
420 # Obsolete; use --with-gas.
423 -help | --help | --hel | --he)
424 # Omit some internal or obsolete options to make the list less imposing.
425 # This message is too long to be a string in the A/UX 3.1 sh.
427 Usage: configure [options] [host]
428 Options: [defaults in brackets after descriptions]
430 --cache-file=FILE cache test results in FILE
431 --help print this message
432 --no-create do not create output files
433 --quiet, --silent do not print \`checking...' messages
434 --version print the version of autoconf that created configure
435 Directory and file names:
436 --prefix=PREFIX install architecture-independent files in PREFIX
438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
440 --bindir=DIR user executables in DIR [EPREFIX/bin]
441 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
442 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
443 --datadir=DIR read-only architecture-independent data in DIR
445 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
446 --sharedstatedir=DIR modifiable architecture-independent data in DIR
448 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
449 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
450 --includedir=DIR C header files in DIR [PREFIX/include]
451 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
452 --infodir=DIR info documentation in DIR [PREFIX/info]
453 --mandir=DIR man documentation in DIR [PREFIX/man]
454 --srcdir=DIR find the sources in DIR [configure dir or ..]
455 --program-prefix=PREFIX prepend PREFIX to installed program names
456 --program-suffix=SUFFIX append SUFFIX to installed program names
457 --program-transform-name=PROGRAM
458 run sed PROGRAM on installed program names
462 --build=BUILD configure for building on BUILD [BUILD=HOST]
463 --host=HOST configure for HOST [guessed]
464 --target=TARGET configure for TARGET [TARGET=HOST]
465 Features and packages:
466 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
467 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
470 --x-includes=DIR X include files are in DIR
471 --x-libraries=DIR X library files are in DIR
473 if test -n "$ac_help"; then
474 echo "--enable and --with options recognized:$ac_help"
478 -host | --host | --hos | --ho)
480 -host=* | --host=* | --hos=* | --ho=*)
483 -includedir | --includedir | --includedi | --included | --include \
484 | --includ | --inclu | --incl | --inc)
485 ac_prev
=includedir
;;
486 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
487 | --includ=* | --inclu=* | --incl=* | --inc=*)
488 includedir
="$ac_optarg" ;;
490 -infodir | --infodir | --infodi | --infod | --info | --inf)
492 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
493 infodir
="$ac_optarg" ;;
495 -libdir | --libdir | --libdi | --libd)
497 -libdir=* | --libdir=* | --libdi=* | --libd=*)
498 libdir
="$ac_optarg" ;;
500 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
501 | --libexe | --libex | --libe)
502 ac_prev
=libexecdir
;;
503 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
504 | --libexe=* | --libex=* | --libe=*)
505 libexecdir
="$ac_optarg" ;;
507 -localstatedir | --localstatedir | --localstatedi | --localstated \
508 | --localstate | --localstat | --localsta | --localst \
509 | --locals | --local | --loca | --loc | --lo)
510 ac_prev
=localstatedir
;;
511 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
512 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
513 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
514 localstatedir
="$ac_optarg" ;;
516 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
518 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
519 mandir
="$ac_optarg" ;;
522 # Obsolete; use --without-fp.
525 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
529 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
530 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
533 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
534 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
535 | --oldin | --oldi | --old | --ol | --o)
536 ac_prev
=oldincludedir
;;
537 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
538 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
539 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
540 oldincludedir
="$ac_optarg" ;;
542 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
544 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
545 prefix
="$ac_optarg" ;;
547 -program-prefix | --program-prefix | --program-prefi | --program-pref \
548 | --program-pre | --program-pr | --program-p)
549 ac_prev
=program_prefix
;;
550 -program-prefix=* | --program-prefix=* | --program-prefi=* \
551 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
552 program_prefix
="$ac_optarg" ;;
554 -program-suffix | --program-suffix | --program-suffi | --program-suff \
555 | --program-suf | --program-su | --program-s)
556 ac_prev
=program_suffix
;;
557 -program-suffix=* | --program-suffix=* | --program-suffi=* \
558 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
559 program_suffix
="$ac_optarg" ;;
561 -program-transform-name | --program-transform-name \
562 | --program-transform-nam | --program-transform-na \
563 | --program-transform-n | --program-transform- \
564 | --program-transform | --program-transfor \
565 | --program-transfo | --program-transf \
566 | --program-trans | --program-tran \
567 | --progr-tra | --program-tr | --program-t)
568 ac_prev
=program_transform_name
;;
569 -program-transform-name=* | --program-transform-name=* \
570 | --program-transform-nam=* | --program-transform-na=* \
571 | --program-transform-n=* | --program-transform-=* \
572 | --program-transform=* | --program-transfor=* \
573 | --program-transfo=* | --program-transf=* \
574 | --program-trans=* | --program-tran=* \
575 | --progr-tra=* | --program-tr=* | --program-t=*)
576 program_transform_name
="$ac_optarg" ;;
578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
579 | -silent | --silent | --silen | --sile | --sil)
582 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
584 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
586 sbindir
="$ac_optarg" ;;
588 -sharedstatedir | --sharedstatedir | --sharedstatedi \
589 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
590 | --sharedst | --shareds | --shared | --share | --shar \
592 ac_prev
=sharedstatedir
;;
593 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
594 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
595 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
597 sharedstatedir
="$ac_optarg" ;;
599 -site | --site | --sit)
601 -site=* | --site=* | --sit=*)
604 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
606 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
607 srcdir
="$ac_optarg" ;;
609 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
610 | --syscon | --sysco | --sysc | --sys | --sy)
611 ac_prev
=sysconfdir
;;
612 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
613 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
614 sysconfdir
="$ac_optarg" ;;
616 -target | --target | --targe | --targ | --tar | --ta | --t)
618 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
619 target
="$ac_optarg" ;;
621 -v | -verbose | --verbose | --verbos | --verbo | --verb)
624 -version | --version | --versio | --versi | --vers)
625 echo "configure generated by autoconf version 2.13"
629 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
630 # Reject names that are not valid shell variable names.
631 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
632 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
634 ac_package
=`echo $ac_package| sed 's/-/_/g'`
639 eval "with_${ac_package}='$ac_optarg'" ;;
641 -without-* | --without-*)
642 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
643 # Reject names that are not valid shell variable names.
644 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
645 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
647 ac_package
=`echo $ac_package| sed 's/-/_/g'`
648 eval "with_${ac_package}=no" ;;
651 # Obsolete; use --with-x.
654 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
655 | --x-incl | --x-inc | --x-in | --x-i)
656 ac_prev
=x_includes
;;
657 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
658 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
659 x_includes
="$ac_optarg" ;;
661 -x-libraries | --x-libraries | --x-librarie | --x-librari \
662 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
663 ac_prev
=x_libraries
;;
664 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
665 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
666 x_libraries
="$ac_optarg" ;;
668 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
672 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
673 echo "configure: warning: $ac_option: invalid host type" 1>&2
675 if test "x$nonopt" != xNONE
; then
676 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
684 if test -n "$ac_prev"; then
685 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
688 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
690 # File descriptor usage:
693 # 2 errors and warnings
694 # 3 some systems may open it to /dev/tty
695 # 4 used on the Kubota Titan
696 # 6 checking for... messages and results
697 # 5 compiler messages saved in config.log
698 if test "$silent" = yes; then
706 This file contains any messages produced by compilers while
707 running configure, to aid debugging if configure makes a mistake.
710 # Strip out --no-create and --no-recursion so they do not pile up.
711 # Also quote any args containing shell metacharacters.
716 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
717 | --no-cr | --no-c) ;;
718 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
719 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
720 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
721 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
722 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
727 # Only set these to C if already set. These must not be set unconditionally
728 # because not all systems understand e.g. LANG=C (notably SCO).
729 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
730 # Non-C LC_CTYPE values break the ctype check.
731 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
732 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
733 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
734 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
736 # confdefs.h avoids OS command line length limits that DEFS can exceed.
737 rm -rf conftest
* confdefs.h
738 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
741 # A filename unique to this package, relative to the directory that
742 # configure is in, which we can look for to find out if srcdir is correct.
743 ac_unique_file
=wx
-config.
in
745 # Find the source files, if location was not specified.
746 if test -z "$srcdir"; then
747 ac_srcdir_defaulted
=yes
748 # Try the directory containing this script, then its parent.
750 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
751 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
753 if test ! -r $srcdir/$ac_unique_file; then
757 ac_srcdir_defaulted
=no
759 if test ! -r $srcdir/$ac_unique_file; then
760 if test "$ac_srcdir_defaulted" = yes; then
761 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
763 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
766 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
768 # Prefer explicitly selected file to automatically selected ones.
769 if test -z "$CONFIG_SITE"; then
770 if test "x$prefix" != xNONE
; then
771 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
773 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
776 for ac_site_file
in $CONFIG_SITE; do
777 if test -r "$ac_site_file"; then
778 echo "loading site script $ac_site_file"
783 if test -r "$cache_file"; then
784 echo "loading cache $cache_file"
787 echo "creating cache $cache_file"
792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
793 ac_cpp
='$CPP $CPPFLAGS'
794 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
795 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
796 cross_compiling
=$ac_cv_prog_cc_cross
800 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
801 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
802 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
809 ac_n
= ac_c
='\c' ac_t
=
815 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
816 if test -f $ac_dir/install-sh; then
818 ac_install_sh
="$ac_aux_dir/install-sh -c"
820 elif test -f $ac_dir/install.sh
; then
822 ac_install_sh
="$ac_aux_dir/install.sh -c"
826 if test -z "$ac_aux_dir"; then
827 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
829 ac_config_guess
=$ac_aux_dir/config.guess
830 ac_config_sub
=$ac_aux_dir/config.sub
831 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
834 # Do some error checking and defaulting for the host and target type.
836 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
839 # 1. You are not allowed to specify --host, --target, and nonopt at the
841 # 2. Host defaults to nonopt.
842 # 3. If nonopt is not specified, then host defaults to the current host,
843 # as determined by config.guess.
844 # 4. Target and build default to nonopt.
845 # 5. If nonopt is not specified, then target and build default to host.
847 # The aliases save the names the user supplied, while $host etc.
848 # will get canonicalized.
849 case $host---$target---$nonopt in
850 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
851 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
855 # Make sure we can run config.sub.
856 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
857 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
860 echo $ac_n "checking host system type""... $ac_c" 1>&6
861 echo "configure:862: checking host system type" >&5
864 case "$host_alias" in
868 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
869 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
871 *) host_alias
=$nonopt ;;
875 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
876 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$host" 1>&6
881 echo $ac_n "checking target system type""... $ac_c" 1>&6
882 echo "configure:883: checking target system type" >&5
885 case "$target_alias" in
888 NONE
) target_alias
=$host_alias ;;
889 *) target_alias
=$nonopt ;;
893 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
894 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
895 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
896 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
897 echo "$ac_t""$target" 1>&6
899 echo $ac_n "checking build system type""... $ac_c" 1>&6
900 echo "configure:901: checking build system type" >&5
903 case "$build_alias" in
906 NONE
) build_alias
=$host_alias ;;
907 *) build_alias
=$nonopt ;;
911 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
912 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
913 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
914 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
915 echo "$ac_t""$build" 1>&6
917 test "$host_alias" != "$target_alias" &&
918 test "$program_prefix$program_suffix$program_transform_name" = \
920 program_prefix
=${target_alias}-
924 WX_MAJOR_VERSION_NUMBER
=2
925 WX_MINOR_VERSION_NUMBER
=3
931 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
933 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
934 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
935 WX_REVISION
=$WX_INTERFACE_AGE
936 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
963 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
965 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
968 DEFAULT_wxUSE_MOTIF
=0
974 DEFAULT_DEFAULT_wxUSE_GTK
=0
975 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
976 DEFAULT_DEFAULT_wxUSE_MSW
=0
977 DEFAULT_DEFAULT_wxUSE_MAC
=0
978 DEFAULT_DEFAULT_wxUSE_WINE
=0
979 DEFAULT_DEFAULT_wxUSE_PM
=0
986 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
987 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
988 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
1000 if test "x$TMP" = "xalpha"; then
1002 cat >> confdefs.h
<<\EOF
1007 DEFAULT_DEFAULT_wxUSE_GTK
=1
1009 *-*-irix5* | *-*-irix6* )
1012 cat >> confdefs.h
<<\EOF
1016 cat >> confdefs.h
<<\EOF
1020 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1031 #define __SOLARIS__ 1
1034 cat >> confdefs.h
<<\EOF
1038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1039 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1045 cat >> confdefs.h
<<\EOF
1049 cat >> confdefs.h
<<\EOF
1053 cat >> confdefs.h
<<\EOF
1057 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1062 cat >> confdefs.h
<<\EOF
1063 #define __FREEBSD__ 1
1066 cat >> confdefs.h
<<\EOF
1070 DEFAULT_DEFAULT_wxUSE_GTK
=1
1075 cat >> confdefs.h
<<\EOF
1076 #define __FREEBSD__ 1
1079 cat >> confdefs.h
<<\EOF
1080 #define __NETBSD__ 1
1083 DEFAULT_DEFAULT_wxUSE_GTK
=1
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1097 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1110 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1115 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1123 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1144 *-*-cygwin32* | *-*-mingw32* )
1147 cat >> confdefs.h
<<\EOF
1151 cat >> confdefs.h
<<\EOF
1155 cat >> confdefs.h
<<\EOF
1156 #define __WINDOWS__ 1
1159 cat >> confdefs.h
<<\EOF
1160 #define __GNUWIN32__ 1
1163 cat >> confdefs.h
<<\EOF
1167 cat >> confdefs.h
<<\EOF
1168 #define WINVER 0x0400
1172 DEFAULT_DEFAULT_wxUSE_MSW
=1
1176 cat >> confdefs.h
<<\EOF
1181 DEFAULT_DEFAULT_wxUSE_PM
=1
1187 cat >> confdefs.h
<<\EOF
1191 cat >> confdefs.h
<<\EOF
1195 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_MAC
=1
1204 cat >> confdefs.h
<<\EOF
1211 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1214 if test "$USE_UNIX" = 1 ; then
1216 cat >> confdefs.h
<<\EOF
1221 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1222 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1225 if test "$USE_BEOS" = 1; then
1226 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1227 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1230 if test "$USE_LINUX" = 1; then
1231 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1232 echo "configure:1233: checking for gettext in -lc" >&5
1233 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1235 echo $ac_n "(cached) $ac_c" 1>&6
1237 ac_save_LIBS
="$LIBS"
1239 cat > conftest.
$ac_ext <<EOF
1240 #line 1241 "configure"
1241 #include "confdefs.h"
1242 /* Override any gcc2 internal prototype to avoid an error. */
1243 /* We use char because int might match the return type of a gcc2
1244 builtin and then its argument prototype would still apply. */
1251 if { (eval echo configure
:1252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1253 eval "ac_cv_lib_$ac_lib_var=yes"
1255 echo "configure: failed program was:" >&5
1256 cat conftest.
$ac_ext >&5
1258 eval "ac_cv_lib_$ac_lib_var=no"
1261 LIBS
="$ac_save_LIBS"
1264 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1265 echo "$ac_t""yes" 1>&6
1266 cat >> confdefs.h
<<\EOF
1267 #define wxHAVE_GLIBC2 1
1271 echo "$ac_t""no" 1>&6
1279 wx_arg_cache_file
="configarg.cache"
1280 echo "loading argument cache $wx_arg_cache_file"
1281 rm -f ${wx_arg_cache_file}.tmp
1282 touch ${wx_arg_cache_file}.tmp
1283 touch ${wx_arg_cache_file}
1287 if test $DEBUG_CONFIGURE = 1; then
1288 DEFAULT_wxUSE_THREADS
=yes
1290 DEFAULT_wxUSE_SHARED
=yes
1291 DEFAULT_wxUSE_BURNT_NAME
=no
1292 DEFAULT_wxUSE_OPTIMISE
=yes
1293 DEFAULT_wxUSE_PROFILE
=no
1294 DEFAULT_wxUSE_NO_DEPS
=no
1295 DEFAULT_wxUSE_NO_RTTI
=no
1296 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1297 DEFAULT_wxUSE_PERMISSIVE
=no
1298 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1299 DEFAULT_wxUSE_DEBUG_INFO
=yes
1300 DEFAULT_wxUSE_DEBUG_GDB
=yes
1301 DEFAULT_wxUSE_MEM_TRACING
=no
1302 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1303 DEFAULT_wxUSE_DMALLOC
=no
1304 DEFAULT_wxUSE_APPLE_IEEE
=no
1306 DEFAULT_wxUSE_LOG
=yes
1308 DEFAULT_wxUSE_GUI
=yes
1310 DEFAULT_wxUSE_ZLIB
=no
1311 DEFAULT_wxUSE_LIBPNG
=no
1312 DEFAULT_wxUSE_LIBJPEG
=no
1313 DEFAULT_wxUSE_LIBTIFF
=no
1314 DEFAULT_wxUSE_ODBC
=no
1315 DEFAULT_wxUSE_FREETYPE
=no
1316 DEFAULT_wxUSE_OPENGL
=no
1318 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1319 DEFAULT_wxUSE_STD_IOSTREAM
=no
1320 DEFAULT_wxUSE_FILE
=no
1321 DEFAULT_wxUSE_TEXTFILE
=no
1322 DEFAULT_wxUSE_TIMEDATE
=no
1323 DEFAULT_wxUSE_WAVE
=no
1324 DEFAULT_wxUSE_INTL
=no
1325 DEFAULT_wxUSE_CONFIG
=no
1326 DEFAULT_wxUSE_STREAMS
=no
1327 DEFAULT_wxUSE_SOCKETS
=no
1328 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1329 DEFAULT_wxUSE_SERIAL
=no
1330 DEFAULT_wxUSE_JOYSTICK
=no
1331 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1332 DEFAULT_wxUSE_LONGLONG
=no
1333 DEFAULT_wxUSE_GEOMETRY
=no
1335 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1336 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1337 DEFAULT_wxUSE_POSTSCRIPT
=no
1339 DEFAULT_wxUSE_X_RESOURCES
=no
1340 DEFAULT_wxUSE_CLIPBOARD
=no
1341 DEFAULT_wxUSE_TOOLTIPS
=no
1342 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1343 DEFAULT_wxUSE_SPLINES
=no
1345 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1346 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1347 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1349 DEFAULT_wxUSE_PROLOGIO
=no
1350 DEFAULT_wxUSE_RESOURCES
=no
1351 DEFAULT_wxUSE_CONSTRAINTS
=no
1352 DEFAULT_wxUSE_IPC
=no
1353 DEFAULT_wxUSE_HELP
=no
1354 DEFAULT_wxUSE_WXTREE
=no
1355 DEFAULT_wxUSE_METAFILE
=no
1357 DEFAULT_wxUSE_COMMONDLGS
=no
1358 DEFAULT_wxUSE_DIRDLG
=no
1359 DEFAULT_wxUSE_TEXTDLG
=no
1360 DEFAULT_wxUSE_STARTUP_TIPS
=no
1361 DEFAULT_wxUSE_PROGRESSDLG
=no
1362 DEFAULT_wxUSE_MINIFRAME
=no
1363 DEFAULT_wxUSE_HTML
=no
1364 DEFAULT_wxUSE_FILESYSTEM
=no
1365 DEFAULT_wxUSE_FS_INET
=no
1366 DEFAULT_wxUSE_FS_ZIP
=no
1367 DEFAULT_wxUSE_BUSYINFO
=no
1368 DEFAULT_wxUSE_ZIPSTREAM
=no
1369 DEFAULT_wxUSE_VALIDATORS
=yes
1371 DEFAULT_wxUSE_ACCEL
=no
1372 DEFAULT_wxUSE_CARET
=no
1373 DEFAULT_wxUSE_BMPBUTTON
=no
1374 DEFAULT_wxUSE_CHECKBOX
=no
1375 DEFAULT_wxUSE_CHECKLST
=no
1376 DEFAULT_wxUSE_CHOICE
=yes
1377 DEFAULT_wxUSE_COMBOBOX
=no
1378 DEFAULT_wxUSE_GAUGE
=no
1379 DEFAULT_wxUSE_GRID
=no
1380 DEFAULT_wxUSE_NEW_GRID
=no
1381 DEFAULT_wxUSE_IMAGLIST
=no
1382 DEFAULT_wxUSE_LISTBOX
=no
1383 DEFAULT_wxUSE_LISTCTRL
=no
1384 DEFAULT_wxUSE_NOTEBOOK
=no
1385 DEFAULT_wxUSE_RADIOBOX
=no
1386 DEFAULT_wxUSE_RADIOBTN
=no
1387 DEFAULT_wxUSE_SASH
=no
1388 DEFAULT_wxUSE_SCROLLBAR
=no
1389 DEFAULT_wxUSE_SLIDER
=no
1390 DEFAULT_wxUSE_SPINBTN
=no
1391 DEFAULT_wxUSE_SPINCTRL
=no
1392 DEFAULT_wxUSE_SPLITTER
=no
1393 DEFAULT_wxUSE_STATBMP
=no
1394 DEFAULT_wxUSE_STATBOX
=no
1395 DEFAULT_wxUSE_STATLINE
=no
1396 DEFAULT_wxUSE_STATUSBAR
=yes
1397 DEFAULT_wxUSE_TABDIALOG
=no
1398 DEFAULT_wxUSE_TOOLBAR
=no
1399 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1400 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1401 DEFAULT_wxUSE_TREECTRL
=no
1403 DEFAULT_wxUSE_UNICODE
=no
1404 DEFAULT_wxUSE_WCSRTOMBS
=no
1406 DEFAULT_wxUSE_GIF
=no
1407 DEFAULT_wxUSE_PCX
=no
1408 DEFAULT_wxUSE_PNM
=no
1410 DEFAULT_wxUSE_THREADS
=yes
1412 DEFAULT_wxUSE_SHARED
=yes
1413 DEFAULT_wxUSE_BURNT_NAME
=no
1414 DEFAULT_wxUSE_OPTIMISE
=yes
1415 DEFAULT_wxUSE_PROFILE
=no
1416 DEFAULT_wxUSE_NO_DEPS
=no
1417 DEFAULT_wxUSE_NO_RTTI
=no
1418 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1419 DEFAULT_wxUSE_PERMISSIVE
=no
1420 DEFAULT_wxUSE_DEBUG_FLAG
=no
1421 DEFAULT_wxUSE_DEBUG_INFO
=no
1422 DEFAULT_wxUSE_DEBUG_GDB
=no
1423 DEFAULT_wxUSE_MEM_TRACING
=no
1424 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1425 DEFAULT_wxUSE_DMALLOC
=no
1426 DEFAULT_wxUSE_APPLE_IEEE
=yes
1428 DEFAULT_wxUSE_LOG
=yes
1430 DEFAULT_wxUSE_GUI
=yes
1432 DEFAULT_wxUSE_ZLIB
=yes
1433 DEFAULT_wxUSE_LIBPNG
=yes
1434 DEFAULT_wxUSE_LIBJPEG
=yes
1435 DEFAULT_wxUSE_LIBTIFF
=yes
1436 DEFAULT_wxUSE_ODBC
=no
1437 DEFAULT_wxUSE_FREETYPE
=no
1438 DEFAULT_wxUSE_OPENGL
=no
1440 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1441 DEFAULT_wxUSE_STD_IOSTREAM
=no
1442 DEFAULT_wxUSE_FILE
=yes
1443 DEFAULT_wxUSE_TEXTFILE
=yes
1444 DEFAULT_wxUSE_TIMEDATE
=yes
1445 DEFAULT_wxUSE_WAVE
=no
1446 DEFAULT_wxUSE_INTL
=yes
1447 DEFAULT_wxUSE_CONFIG
=yes
1448 DEFAULT_wxUSE_STREAMS
=yes
1449 DEFAULT_wxUSE_SOCKETS
=yes
1450 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1451 DEFAULT_wxUSE_SERIAL
=yes
1452 DEFAULT_wxUSE_JOYSTICK
=yes
1453 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1454 DEFAULT_wxUSE_LONGLONG
=yes
1455 DEFAULT_wxUSE_GEOMETRY
=yes
1457 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1458 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1459 DEFAULT_wxUSE_POSTSCRIPT
=yes
1461 DEFAULT_wxUSE_X_RESOURCES
=no
1462 DEFAULT_wxUSE_CLIPBOARD
=yes
1463 DEFAULT_wxUSE_TOOLTIPS
=yes
1464 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1465 DEFAULT_wxUSE_SPLINES
=yes
1467 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1468 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1469 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1471 DEFAULT_wxUSE_PROLOGIO
=yes
1472 DEFAULT_wxUSE_RESOURCES
=yes
1473 DEFAULT_wxUSE_CONSTRAINTS
=yes
1474 DEFAULT_wxUSE_IPC
=yes
1475 DEFAULT_wxUSE_HELP
=yes
1476 DEFAULT_wxUSE_WXTREE
=yes
1477 DEFAULT_wxUSE_METAFILE
=yes
1479 DEFAULT_wxUSE_COMMONDLGS
=yes
1480 DEFAULT_wxUSE_DIRDLG
=yes
1481 DEFAULT_wxUSE_TEXTDLG
=yes
1482 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1483 DEFAULT_wxUSE_PROGRESSDLG
=yes
1484 DEFAULT_wxUSE_MINIFRAME
=yes
1485 DEFAULT_wxUSE_HTML
=yes
1486 DEFAULT_wxUSE_FILESYSTEM
=yes
1487 DEFAULT_wxUSE_FS_INET
=yes
1488 DEFAULT_wxUSE_FS_ZIP
=yes
1489 DEFAULT_wxUSE_BUSYINFO
=yes
1490 DEFAULT_wxUSE_ZIPSTREAM
=yes
1491 DEFAULT_wxUSE_VALIDATORS
=yes
1493 DEFAULT_wxUSE_ACCEL
=yes
1494 DEFAULT_wxUSE_CARET
=yes
1495 DEFAULT_wxUSE_BMPBUTTON
=yes
1496 DEFAULT_wxUSE_CHECKBOX
=yes
1497 DEFAULT_wxUSE_CHECKLST
=yes
1498 DEFAULT_wxUSE_CHOICE
=yes
1499 DEFAULT_wxUSE_COMBOBOX
=yes
1500 DEFAULT_wxUSE_GAUGE
=yes
1501 DEFAULT_wxUSE_GRID
=yes
1502 DEFAULT_wxUSE_NEW_GRID
=yes
1503 DEFAULT_wxUSE_IMAGLIST
=yes
1504 DEFAULT_wxUSE_LISTBOX
=yes
1505 DEFAULT_wxUSE_LISTCTRL
=yes
1506 DEFAULT_wxUSE_NOTEBOOK
=yes
1507 DEFAULT_wxUSE_RADIOBOX
=yes
1508 DEFAULT_wxUSE_RADIOBTN
=yes
1509 DEFAULT_wxUSE_SASH
=yes
1510 DEFAULT_wxUSE_SCROLLBAR
=yes
1511 DEFAULT_wxUSE_SLIDER
=yes
1512 DEFAULT_wxUSE_SPINBTN
=yes
1513 DEFAULT_wxUSE_SPINCTRL
=yes
1514 DEFAULT_wxUSE_SPLITTER
=yes
1515 DEFAULT_wxUSE_STATBMP
=yes
1516 DEFAULT_wxUSE_STATBOX
=yes
1517 DEFAULT_wxUSE_STATLINE
=yes
1518 DEFAULT_wxUSE_STATUSBAR
=yes
1519 DEFAULT_wxUSE_TABDIALOG
=no
1520 DEFAULT_wxUSE_TOOLBAR
=yes
1521 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1522 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1523 DEFAULT_wxUSE_TREECTRL
=yes
1525 DEFAULT_wxUSE_UNICODE
=no
1526 DEFAULT_wxUSE_WCSRTOMBS
=no
1528 DEFAULT_wxUSE_GIF
=yes
1529 DEFAULT_wxUSE_PCX
=yes
1530 DEFAULT_wxUSE_PNM
=yes
1535 for toolkit
in `echo $ALL_TOOLKITS`; do
1536 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1537 if test "x$LINE" != x
; then
1538 has_toolkit_in_cache
=1
1539 eval "DEFAULT_$LINE"
1540 eval "CACHE_$toolkit=1"
1546 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1547 echo "configure:1548: checking "for --enable-gui"" >&5
1549 # Check whether --enable-gui or --disable-gui was given.
1550 if test "${enable_gui+set}" = set; then
1551 enableval
="$enable_gui"
1553 if test "$enableval" = yes; then
1554 ac_cv_use_gui
='wxUSE_GUI=yes'
1556 ac_cv_use_gui
='wxUSE_GUI=no'
1561 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1562 if test "x$LINE" != x
; then
1563 eval "DEFAULT_$LINE"
1568 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1573 eval "$ac_cv_use_gui"
1574 if test "$no_cache" != 1; then
1575 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1578 if test "$wxUSE_GUI" = yes; then
1579 echo "$ac_t""yes" 1>&6
1581 echo "$ac_t""no" 1>&6
1585 if test "$wxUSE_GUI" = "yes"; then
1587 # Check whether --with-gtk or --without-gtk was given.
1588 if test "${with_gtk+set}" = set; then
1590 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1593 # Check whether --with-motif or --without-motif was given.
1594 if test "${with_motif+set}" = set; then
1595 withval
="$with_motif"
1596 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1599 # Check whether --with-mac or --without-mac was given.
1600 if test "${with_mac+set}" = set; then
1602 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1605 # Check whether --with-wine or --without-wine was given.
1606 if test "${with_wine+set}" = set; then
1607 withval
="$with_wine"
1608 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1611 # Check whether --with-cygwin or --without-cygwin was given.
1612 if test "${with_cygwin+set}" = set; then
1613 withval
="$with_cygwin"
1614 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1617 # Check whether --with-mingw or --without-mingw was given.
1618 if test "${with_mingw+set}" = set; then
1619 withval
="$with_mingw"
1620 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1623 # Check whether --with-pm or --without-pm was given.
1624 if test "${with_pm+set}" = set; then
1626 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1630 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1631 if test "${with_gtk_prefix+set}" = set; then
1632 withval
="$with_gtk_prefix"
1633 gtk_config_prefix
="$withval"
1635 gtk_config_prefix
=""
1638 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1639 if test "${with_gtk_exec_prefix+set}" = set; then
1640 withval
="$with_gtk_exec_prefix"
1641 gtk_config_exec_prefix
="$withval"
1643 gtk_config_exec_prefix
=""
1648 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1649 echo "configure:1650: checking "for --with-libpng"" >&5
1651 # Check whether --with-libpng or --without-libpng was given.
1652 if test "${with_libpng+set}" = set; then
1653 withval
="$with_libpng"
1655 if test "$withval" = yes; then
1656 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1657 elif test "$withval" = no
; then
1658 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1659 elif test "$withval" = sys
; then
1660 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1662 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1667 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1668 if test "x$LINE" != x
; then
1669 eval "DEFAULT_$LINE"
1674 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1679 eval "$ac_cv_use_libpng"
1680 if test "$no_cache" != 1; then
1681 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1684 if test "$wxUSE_LIBPNG" = yes; then
1685 echo "$ac_t""yes" 1>&6
1686 elif test "$wxUSE_LIBPNG" = no
; then
1687 echo "$ac_t""no" 1>&6
1688 elif test "$wxUSE_LIBPNG" = sys
; then
1689 echo "$ac_t""system version" 1>&6
1691 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1695 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-libjpeg"" >&5
1698 # Check whether --with-libjpeg or --without-libjpeg was given.
1699 if test "${with_libjpeg+set}" = set; then
1700 withval
="$with_libjpeg"
1702 if test "$withval" = yes; then
1703 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1704 elif test "$withval" = no
; then
1705 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1706 elif test "$withval" = sys
; then
1707 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1709 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1714 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1715 if test "x$LINE" != x
; then
1716 eval "DEFAULT_$LINE"
1721 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1726 eval "$ac_cv_use_libjpeg"
1727 if test "$no_cache" != 1; then
1728 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1731 if test "$wxUSE_LIBJPEG" = yes; then
1732 echo "$ac_t""yes" 1>&6
1733 elif test "$wxUSE_LIBJPEG" = no
; then
1734 echo "$ac_t""no" 1>&6
1735 elif test "$wxUSE_LIBJPEG" = sys
; then
1736 echo "$ac_t""system version" 1>&6
1738 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1742 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1743 echo "configure:1744: checking "for --with-libtiff"" >&5
1745 # Check whether --with-libtiff or --without-libtiff was given.
1746 if test "${with_libtiff+set}" = set; then
1747 withval
="$with_libtiff"
1749 if test "$withval" = yes; then
1750 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1751 elif test "$withval" = no
; then
1752 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1753 elif test "$withval" = sys
; then
1754 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1756 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1761 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1762 if test "x$LINE" != x
; then
1763 eval "DEFAULT_$LINE"
1768 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1773 eval "$ac_cv_use_libtiff"
1774 if test "$no_cache" != 1; then
1775 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1778 if test "$wxUSE_LIBTIFF" = yes; then
1779 echo "$ac_t""yes" 1>&6
1780 elif test "$wxUSE_LIBTIFF" = no
; then
1781 echo "$ac_t""no" 1>&6
1782 elif test "$wxUSE_LIBTIFF" = sys
; then
1783 echo "$ac_t""system version" 1>&6
1785 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1789 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1790 echo "configure:1791: checking "for --with-freetype"" >&5
1792 # Check whether --with-freetype or --without-freetype was given.
1793 if test "${with_freetype+set}" = set; then
1794 withval
="$with_freetype"
1796 if test "$withval" = yes; then
1797 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1798 elif test "$withval" = no
; then
1799 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1800 elif test "$withval" = sys
; then
1801 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1803 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1808 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1809 if test "x$LINE" != x
; then
1810 eval "DEFAULT_$LINE"
1815 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1820 eval "$ac_cv_use_freetype"
1821 if test "$no_cache" != 1; then
1822 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1825 if test "$wxUSE_FREETYPE" = yes; then
1826 echo "$ac_t""yes" 1>&6
1827 elif test "$wxUSE_FREETYPE" = no
; then
1828 echo "$ac_t""no" 1>&6
1829 elif test "$wxUSE_FREETYPE" = sys
; then
1830 echo "$ac_t""system version" 1>&6
1832 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1836 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1837 echo "configure:1838: checking "for --with-opengl"" >&5
1839 # Check whether --with-opengl or --without-opengl was given.
1840 if test "${with_opengl+set}" = set; then
1841 withval
="$with_opengl"
1843 if test "$withval" = yes; then
1844 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1846 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1851 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1852 if test "x$LINE" != x
; then
1853 eval "DEFAULT_$LINE"
1858 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1863 eval "$ac_cv_use_opengl"
1864 if test "$no_cache" != 1; then
1865 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1868 if test "$wxUSE_OPENGL" = yes; then
1869 echo "$ac_t""yes" 1>&6
1871 echo "$ac_t""no" 1>&6
1878 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1879 echo "configure:1880: checking "for --with-dmalloc"" >&5
1881 # Check whether --with-dmalloc or --without-dmalloc was given.
1882 if test "${with_dmalloc+set}" = set; then
1883 withval
="$with_dmalloc"
1885 if test "$withval" = yes; then
1886 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1888 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1893 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1894 if test "x$LINE" != x
; then
1895 eval "DEFAULT_$LINE"
1900 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1905 eval "$ac_cv_use_dmalloc"
1906 if test "$no_cache" != 1; then
1907 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1910 if test "$wxUSE_DMALLOC" = yes; then
1911 echo "$ac_t""yes" 1>&6
1913 echo "$ac_t""no" 1>&6
1917 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1918 echo "configure:1919: checking "for --with-zlib"" >&5
1920 # Check whether --with-zlib or --without-zlib was given.
1921 if test "${with_zlib+set}" = set; then
1922 withval
="$with_zlib"
1924 if test "$withval" = yes; then
1925 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1926 elif test "$withval" = no
; then
1927 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1928 elif test "$withval" = sys
; then
1929 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1931 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1936 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1937 if test "x$LINE" != x
; then
1938 eval "DEFAULT_$LINE"
1943 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1948 eval "$ac_cv_use_zlib"
1949 if test "$no_cache" != 1; then
1950 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1953 if test "$wxUSE_ZLIB" = yes; then
1954 echo "$ac_t""yes" 1>&6
1955 elif test "$wxUSE_ZLIB" = no
; then
1956 echo "$ac_t""no" 1>&6
1957 elif test "$wxUSE_ZLIB" = sys
; then
1958 echo "$ac_t""system version" 1>&6
1960 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1964 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1965 echo "configure:1966: checking "for --with-odbc"" >&5
1967 # Check whether --with-odbc or --without-odbc was given.
1968 if test "${with_odbc+set}" = set; then
1969 withval
="$with_odbc"
1971 if test "$withval" = yes; then
1972 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1974 ac_cv_use_odbc
='wxUSE_ODBC=no'
1979 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1980 if test "x$LINE" != x
; then
1981 eval "DEFAULT_$LINE"
1986 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1991 eval "$ac_cv_use_odbc"
1992 if test "$no_cache" != 1; then
1993 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1996 if test "$wxUSE_ODBC" = yes; then
1997 echo "$ac_t""yes" 1>&6
1999 echo "$ac_t""no" 1>&6
2006 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
2007 echo "configure:2008: checking "for --enable-shared"" >&5
2009 # Check whether --enable-shared or --disable-shared was given.
2010 if test "${enable_shared+set}" = set; then
2011 enableval
="$enable_shared"
2013 if test "$enableval" = yes; then
2014 ac_cv_use_shared
='wxUSE_SHARED=yes'
2016 ac_cv_use_shared
='wxUSE_SHARED=no'
2021 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2022 if test "x$LINE" != x
; then
2023 eval "DEFAULT_$LINE"
2028 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2033 eval "$ac_cv_use_shared"
2034 if test "$no_cache" != 1; then
2035 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2038 if test "$wxUSE_SHARED" = yes; then
2039 echo "$ac_t""yes" 1>&6
2041 echo "$ac_t""no" 1>&6
2045 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2046 echo "configure:2047: checking "for --enable-burnt_name"" >&5
2048 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2049 if test "${enable_burnt_name+set}" = set; then
2050 enableval
="$enable_burnt_name"
2052 if test "$enableval" = yes; then
2053 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2055 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2060 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2061 if test "x$LINE" != x
; then
2062 eval "DEFAULT_$LINE"
2067 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2072 eval "$ac_cv_use_burnt_name"
2073 if test "$no_cache" != 1; then
2074 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2077 if test "$wxUSE_BURNT_NAME" = yes; then
2078 echo "$ac_t""yes" 1>&6
2080 echo "$ac_t""no" 1>&6
2084 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2085 echo "configure:2086: checking "for --enable-optimise"" >&5
2087 # Check whether --enable-optimise or --disable-optimise was given.
2088 if test "${enable_optimise+set}" = set; then
2089 enableval
="$enable_optimise"
2091 if test "$enableval" = yes; then
2092 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2094 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2099 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2100 if test "x$LINE" != x
; then
2101 eval "DEFAULT_$LINE"
2106 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2111 eval "$ac_cv_use_optimise"
2112 if test "$no_cache" != 1; then
2113 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2116 if test "$wxUSE_OPTIMISE" = yes; then
2117 echo "$ac_t""yes" 1>&6
2119 echo "$ac_t""no" 1>&6
2123 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2124 echo "configure:2125: checking "for --enable-debug"" >&5
2126 # Check whether --enable-debug or --disable-debug was given.
2127 if test "${enable_debug+set}" = set; then
2128 enableval
="$enable_debug"
2130 if test "$enableval" = yes; then
2131 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2133 ac_cv_use_debug
='wxUSE_DEBUG=no'
2138 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2139 if test "x$LINE" != x
; then
2140 eval "DEFAULT_$LINE"
2145 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2150 eval "$ac_cv_use_debug"
2151 if test "$no_cache" != 1; then
2152 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2155 if test "$wxUSE_DEBUG" = yes; then
2156 echo "$ac_t""yes" 1>&6
2158 echo "$ac_t""no" 1>&6
2162 if test "$wxUSE_DEBUG" = "yes"; then
2163 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2164 DEFAULT_wxUSE_DEBUG_INFO
=yes
2165 elif test "$wxUSE_DEBUG" = "no"; then
2166 DEFAULT_wxUSE_DEBUG_FLAG
=no
2167 DEFAULT_wxUSE_DEBUG_INFO
=no
2171 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2172 echo "configure:2173: checking "for --enable-debug_flag"" >&5
2174 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2175 if test "${enable_debug_flag+set}" = set; then
2176 enableval
="$enable_debug_flag"
2178 if test "$enableval" = yes; then
2179 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2181 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2186 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2198 eval "$ac_cv_use_debug_flag"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_DEBUG_FLAG" = yes; then
2204 echo "$ac_t""yes" 1>&6
2206 echo "$ac_t""no" 1>&6
2210 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2211 echo "configure:2212: checking "for --enable-debug_info"" >&5
2213 # Check whether --enable-debug_info or --disable-debug_info was given.
2214 if test "${enable_debug_info+set}" = set; then
2215 enableval
="$enable_debug_info"
2217 if test "$enableval" = yes; then
2218 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2220 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2225 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2226 if test "x$LINE" != x
; then
2227 eval "DEFAULT_$LINE"
2232 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2237 eval "$ac_cv_use_debug_info"
2238 if test "$no_cache" != 1; then
2239 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2242 if test "$wxUSE_DEBUG_INFO" = yes; then
2243 echo "$ac_t""yes" 1>&6
2245 echo "$ac_t""no" 1>&6
2249 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2250 echo "configure:2251: checking "for --enable-debug_gdb"" >&5
2252 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2253 if test "${enable_debug_gdb+set}" = set; then
2254 enableval
="$enable_debug_gdb"
2256 if test "$enableval" = yes; then
2257 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2259 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2264 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x
; then
2266 eval "DEFAULT_$LINE"
2271 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2276 eval "$ac_cv_use_debug_gdb"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2281 if test "$wxUSE_DEBUG_GDB" = yes; then
2282 echo "$ac_t""yes" 1>&6
2284 echo "$ac_t""no" 1>&6
2288 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2289 echo "configure:2290: checking "for --enable-debug_cntxt"" >&5
2291 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2292 if test "${enable_debug_cntxt+set}" = set; then
2293 enableval
="$enable_debug_cntxt"
2295 if test "$enableval" = yes; then
2296 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2298 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2303 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2304 if test "x$LINE" != x
; then
2305 eval "DEFAULT_$LINE"
2310 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2315 eval "$ac_cv_use_debug_cntxt"
2316 if test "$no_cache" != 1; then
2317 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2320 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2321 echo "$ac_t""yes" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2328 echo "configure:2329: checking "for --enable-mem_tracing"" >&5
2330 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2331 if test "${enable_mem_tracing+set}" = set; then
2332 enableval
="$enable_mem_tracing"
2334 if test "$enableval" = yes; then
2335 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2337 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2342 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2343 if test "x$LINE" != x
; then
2344 eval "DEFAULT_$LINE"
2349 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2354 eval "$ac_cv_use_mem_tracing"
2355 if test "$no_cache" != 1; then
2356 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2359 if test "$wxUSE_MEM_TRACING" = yes; then
2360 echo "$ac_t""yes" 1>&6
2362 echo "$ac_t""no" 1>&6
2366 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2367 echo "configure:2368: checking "for --enable-profile"" >&5
2369 # Check whether --enable-profile or --disable-profile was given.
2370 if test "${enable_profile+set}" = set; then
2371 enableval
="$enable_profile"
2373 if test "$enableval" = yes; then
2374 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2376 ac_cv_use_profile
='wxUSE_PROFILE=no'
2381 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2382 if test "x$LINE" != x
; then
2383 eval "DEFAULT_$LINE"
2388 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2393 eval "$ac_cv_use_profile"
2394 if test "$no_cache" != 1; then
2395 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2398 if test "$wxUSE_PROFILE" = yes; then
2399 echo "$ac_t""yes" 1>&6
2401 echo "$ac_t""no" 1>&6
2405 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2406 echo "configure:2407: checking "for --enable-no_rtti"" >&5
2408 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2409 if test "${enable_no_rtti+set}" = set; then
2410 enableval
="$enable_no_rtti"
2412 if test "$enableval" = yes; then
2413 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2415 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2420 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2421 if test "x$LINE" != x
; then
2422 eval "DEFAULT_$LINE"
2427 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2432 eval "$ac_cv_use_no_rtti"
2433 if test "$no_cache" != 1; then
2434 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2437 if test "$wxUSE_NO_RTTI" = yes; then
2438 echo "$ac_t""yes" 1>&6
2440 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2445 echo "configure:2446: checking "for --enable-no_exceptions"" >&5
2447 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2448 if test "${enable_no_exceptions+set}" = set; then
2449 enableval
="$enable_no_exceptions"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2454 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2459 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2471 eval "$ac_cv_use_no_exceptions"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2483 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2484 echo "configure:2485: checking "for --enable-permissive"" >&5
2486 # Check whether --enable-permissive or --disable-permissive was given.
2487 if test "${enable_permissive+set}" = set; then
2488 enableval
="$enable_permissive"
2490 if test "$enableval" = yes; then
2491 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2493 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2498 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2499 if test "x$LINE" != x
; then
2500 eval "DEFAULT_$LINE"
2505 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2510 eval "$ac_cv_use_permissive"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_PERMISSIVE" = yes; then
2516 echo "$ac_t""yes" 1>&6
2518 echo "$ac_t""no" 1>&6
2522 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2523 echo "configure:2524: checking "for --enable-no_deps"" >&5
2525 # Check whether --enable-no_deps or --disable-no_deps was given.
2526 if test "${enable_no_deps+set}" = set; then
2527 enableval
="$enable_no_deps"
2529 if test "$enableval" = yes; then
2530 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2532 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2537 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2538 if test "x$LINE" != x
; then
2539 eval "DEFAULT_$LINE"
2544 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2549 eval "$ac_cv_use_no_deps"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2554 if test "$wxUSE_NO_DEPS" = yes; then
2555 echo "$ac_t""yes" 1>&6
2557 echo "$ac_t""no" 1>&6
2563 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2564 echo "configure:2565: checking "for --enable-intl"" >&5
2566 # Check whether --enable-intl or --disable-intl was given.
2567 if test "${enable_intl+set}" = set; then
2568 enableval
="$enable_intl"
2570 if test "$enableval" = yes; then
2571 ac_cv_use_intl
='wxUSE_INTL=yes'
2573 ac_cv_use_intl
='wxUSE_INTL=no'
2578 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2579 if test "x$LINE" != x
; then
2580 eval "DEFAULT_$LINE"
2585 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2590 eval "$ac_cv_use_intl"
2591 if test "$no_cache" != 1; then
2592 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2595 if test "$wxUSE_INTL" = yes; then
2596 echo "$ac_t""yes" 1>&6
2598 echo "$ac_t""no" 1>&6
2602 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2603 echo "configure:2604: checking "for --enable-config"" >&5
2605 # Check whether --enable-config or --disable-config was given.
2606 if test "${enable_config+set}" = set; then
2607 enableval
="$enable_config"
2609 if test "$enableval" = yes; then
2610 ac_cv_use_config
='wxUSE_CONFIG=yes'
2612 ac_cv_use_config
='wxUSE_CONFIG=no'
2617 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2618 if test "x$LINE" != x
; then
2619 eval "DEFAULT_$LINE"
2624 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2629 eval "$ac_cv_use_config"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2634 if test "$wxUSE_CONFIG" = yes; then
2635 echo "$ac_t""yes" 1>&6
2637 echo "$ac_t""no" 1>&6
2642 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2643 echo "configure:2644: checking "for --enable-sockets"" >&5
2645 # Check whether --enable-sockets or --disable-sockets was given.
2646 if test "${enable_sockets+set}" = set; then
2647 enableval
="$enable_sockets"
2649 if test "$enableval" = yes; then
2650 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2652 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2657 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2658 if test "x$LINE" != x
; then
2659 eval "DEFAULT_$LINE"
2664 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2669 eval "$ac_cv_use_sockets"
2670 if test "$no_cache" != 1; then
2671 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2674 if test "$wxUSE_SOCKETS" = yes; then
2675 echo "$ac_t""yes" 1>&6
2677 echo "$ac_t""no" 1>&6
2682 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2683 echo "configure:2684: checking "for --enable-ipc"" >&5
2685 # Check whether --enable-ipc or --disable-ipc was given.
2686 if test "${enable_ipc+set}" = set; then
2687 enableval
="$enable_ipc"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_ipc
='wxUSE_IPC=yes'
2692 ac_cv_use_ipc
='wxUSE_IPC=no'
2697 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2709 eval "$ac_cv_use_ipc"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2714 if test "$wxUSE_IPC" = yes; then
2715 echo "$ac_t""yes" 1>&6
2717 echo "$ac_t""no" 1>&6
2722 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2723 echo "configure:2724: checking "for --enable-dialupman"" >&5
2725 # Check whether --enable-dialupman or --disable-dialupman was given.
2726 if test "${enable_dialupman+set}" = set; then
2727 enableval
="$enable_dialupman"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2732 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2737 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2749 eval "$ac_cv_use_dialupman"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2755 echo "$ac_t""yes" 1>&6
2757 echo "$ac_t""no" 1>&6
2761 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2762 echo "configure:2763: checking "for --enable-apple_ieee"" >&5
2764 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2765 if test "${enable_apple_ieee+set}" = set; then
2766 enableval
="$enable_apple_ieee"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2771 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2776 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x
; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2788 eval "$ac_cv_use_apple_ieee"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_APPLE_IEEE" = yes; then
2794 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no" 1>&6
2800 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2801 echo "configure:2802: checking "for --enable-timedate"" >&5
2803 # Check whether --enable-timedate or --disable-timedate was given.
2804 if test "${enable_timedate+set}" = set; then
2805 enableval
="$enable_timedate"
2807 if test "$enableval" = yes; then
2808 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2810 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2815 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2816 if test "x$LINE" != x
; then
2817 eval "DEFAULT_$LINE"
2822 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2827 eval "$ac_cv_use_timedate"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_TIMEDATE" = yes; then
2833 echo "$ac_t""yes" 1>&6
2835 echo "$ac_t""no" 1>&6
2839 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2840 echo "configure:2841: checking "for --enable-wave"" >&5
2842 # Check whether --enable-wave or --disable-wave was given.
2843 if test "${enable_wave+set}" = set; then
2844 enableval
="$enable_wave"
2846 if test "$enableval" = yes; then
2847 ac_cv_use_wave
='wxUSE_WAVE=yes'
2849 ac_cv_use_wave
='wxUSE_WAVE=no'
2854 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2855 if test "x$LINE" != x
; then
2856 eval "DEFAULT_$LINE"
2861 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2866 eval "$ac_cv_use_wave"
2867 if test "$no_cache" != 1; then
2868 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2871 if test "$wxUSE_WAVE" = yes; then
2872 echo "$ac_t""yes" 1>&6
2874 echo "$ac_t""no" 1>&6
2878 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2879 echo "configure:2880: checking "for --enable-fraction"" >&5
2881 # Check whether --enable-fraction or --disable-fraction was given.
2882 if test "${enable_fraction+set}" = set; then
2883 enableval
="$enable_fraction"
2885 if test "$enableval" = yes; then
2886 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2888 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2893 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x
; then
2895 eval "DEFAULT_$LINE"
2900 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2905 eval "$ac_cv_use_fraction"
2906 if test "$no_cache" != 1; then
2907 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2910 if test "$wxUSE_FRACTION" = yes; then
2911 echo "$ac_t""yes" 1>&6
2913 echo "$ac_t""no" 1>&6
2917 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2918 echo "configure:2919: checking "for --enable-dynlib"" >&5
2920 # Check whether --enable-dynlib or --disable-dynlib was given.
2921 if test "${enable_dynlib+set}" = set; then
2922 enableval
="$enable_dynlib"
2924 if test "$enableval" = yes; then
2925 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2927 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2932 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2933 if test "x$LINE" != x
; then
2934 eval "DEFAULT_$LINE"
2939 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2944 eval "$ac_cv_use_dynlib"
2945 if test "$no_cache" != 1; then
2946 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2949 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2950 echo "$ac_t""yes" 1>&6
2952 echo "$ac_t""no" 1>&6
2956 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2957 echo "configure:2958: checking "for --enable-longlong"" >&5
2959 # Check whether --enable-longlong or --disable-longlong was given.
2960 if test "${enable_longlong+set}" = set; then
2961 enableval
="$enable_longlong"
2963 if test "$enableval" = yes; then
2964 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2966 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2971 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2972 if test "x$LINE" != x
; then
2973 eval "DEFAULT_$LINE"
2978 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2983 eval "$ac_cv_use_longlong"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_LONGLONG" = yes; then
2989 echo "$ac_t""yes" 1>&6
2991 echo "$ac_t""no" 1>&6
2995 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
2996 echo "configure:2997: checking "for --enable-geometry"" >&5
2998 # Check whether --enable-geometry or --disable-geometry was given.
2999 if test "${enable_geometry+set}" = set; then
3000 enableval
="$enable_geometry"
3002 if test "$enableval" = yes; then
3003 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3005 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3010 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3022 eval "$ac_cv_use_geometry"
3023 if test "$no_cache" != 1; then
3024 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3027 if test "$wxUSE_GEOMETRY" = yes; then
3028 echo "$ac_t""yes" 1>&6
3030 echo "$ac_t""no" 1>&6
3034 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3035 echo "configure:3036: checking "for --enable-log"" >&5
3037 # Check whether --enable-log or --disable-log was given.
3038 if test "${enable_log+set}" = set; then
3039 enableval
="$enable_log"
3041 if test "$enableval" = yes; then
3042 ac_cv_use_log
='wxUSE_LOG=yes'
3044 ac_cv_use_log
='wxUSE_LOG=no'
3049 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x
; then
3051 eval "DEFAULT_$LINE"
3056 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3061 eval "$ac_cv_use_log"
3062 if test "$no_cache" != 1; then
3063 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3066 if test "$wxUSE_LOG" = yes; then
3067 echo "$ac_t""yes" 1>&6
3069 echo "$ac_t""no" 1>&6
3073 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3074 echo "configure:3075: checking "for --enable-streams"" >&5
3076 # Check whether --enable-streams or --disable-streams was given.
3077 if test "${enable_streams+set}" = set; then
3078 enableval
="$enable_streams"
3080 if test "$enableval" = yes; then
3081 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3083 ac_cv_use_streams
='wxUSE_STREAMS=no'
3088 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x
; then
3090 eval "DEFAULT_$LINE"
3095 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3100 eval "$ac_cv_use_streams"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_STREAMS" = yes; then
3106 echo "$ac_t""yes" 1>&6
3108 echo "$ac_t""no" 1>&6
3112 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3113 echo "configure:3114: checking "for --enable-file"" >&5
3115 # Check whether --enable-file or --disable-file was given.
3116 if test "${enable_file+set}" = set; then
3117 enableval
="$enable_file"
3119 if test "$enableval" = yes; then
3120 ac_cv_use_file
='wxUSE_FILE=yes'
3122 ac_cv_use_file
='wxUSE_FILE=no'
3127 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3139 eval "$ac_cv_use_file"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_FILE" = yes; then
3145 echo "$ac_t""yes" 1>&6
3147 echo "$ac_t""no" 1>&6
3151 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3152 echo "configure:3153: checking "for --enable-textfile"" >&5
3154 # Check whether --enable-textfile or --disable-textfile was given.
3155 if test "${enable_textfile+set}" = set; then
3156 enableval
="$enable_textfile"
3158 if test "$enableval" = yes; then
3159 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3161 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3166 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x
; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3178 eval "$ac_cv_use_textfile"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3183 if test "$wxUSE_TEXTFILE" = yes; then
3184 echo "$ac_t""yes" 1>&6
3186 echo "$ac_t""no" 1>&6
3190 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3191 echo "configure:3192: checking "for --enable-unicode"" >&5
3193 # Check whether --enable-unicode or --disable-unicode was given.
3194 if test "${enable_unicode+set}" = set; then
3195 enableval
="$enable_unicode"
3197 if test "$enableval" = yes; then
3198 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3200 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3205 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x
; then
3207 eval "DEFAULT_$LINE"
3212 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3217 eval "$ac_cv_use_unicode"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3222 if test "$wxUSE_UNICODE" = yes; then
3223 echo "$ac_t""yes" 1>&6
3225 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3230 echo "configure:3231: checking "for --enable-wcsrtombs"" >&5
3232 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3233 if test "${enable_wcsrtombs+set}" = set; then
3234 enableval
="$enable_wcsrtombs"
3236 if test "$enableval" = yes; then
3237 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3239 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3244 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3256 eval "$ac_cv_use_wcsrtombs"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_WCSRTOMBS" = yes; then
3262 echo "$ac_t""yes" 1>&6
3264 echo "$ac_t""no" 1>&6
3268 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3269 echo "configure:3270: checking "for --enable-wxprintfv"" >&5
3271 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3272 if test "${enable_wxprintfv+set}" = set; then
3273 enableval
="$enable_wxprintfv"
3275 if test "$enableval" = yes; then
3276 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3278 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3283 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3295 eval "$ac_cv_use_wxprintfv"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3301 echo "$ac_t""yes" 1>&6
3303 echo "$ac_t""no" 1>&6
3307 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3308 echo "configure:3309: checking "for --enable-std_iostreams"" >&5
3310 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3311 if test "${enable_std_iostreams+set}" = set; then
3312 enableval
="$enable_std_iostreams"
3314 if test "$enableval" = yes; then
3315 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3317 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3322 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3334 eval "$ac_cv_use_std_iostreams"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_STD_IOSTREAM" = yes; then
3340 echo "$ac_t""yes" 1>&6
3342 echo "$ac_t""no" 1>&6
3346 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3347 echo "configure:3348: checking "for --enable-filesystem"" >&5
3349 # Check whether --enable-filesystem or --disable-filesystem was given.
3350 if test "${enable_filesystem+set}" = set; then
3351 enableval
="$enable_filesystem"
3353 if test "$enableval" = yes; then
3354 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3356 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3361 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3373 eval "$ac_cv_use_filesystem"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_FILESYSTEM" = yes; then
3379 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3385 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3386 echo "configure:3387: checking "for --enable-fs_inet"" >&5
3388 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3389 if test "${enable_fs_inet+set}" = set; then
3390 enableval
="$enable_fs_inet"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3395 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3400 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3412 eval "$ac_cv_use_fs_inet"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3417 if test "$wxUSE_FS_INET" = yes; then
3418 echo "$ac_t""yes" 1>&6
3420 echo "$ac_t""no" 1>&6
3424 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3425 echo "configure:3426: checking "for --enable-fs_zip"" >&5
3427 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3428 if test "${enable_fs_zip+set}" = set; then
3429 enableval
="$enable_fs_zip"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3434 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3439 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x
; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3451 eval "$ac_cv_use_fs_zip"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_FS_ZIP" = yes; then
3457 echo "$ac_t""yes" 1>&6
3459 echo "$ac_t""no" 1>&6
3463 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3464 echo "configure:3465: checking "for --enable-zipstream"" >&5
3466 # Check whether --enable-zipstream or --disable-zipstream was given.
3467 if test "${enable_zipstream+set}" = set; then
3468 enableval
="$enable_zipstream"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3473 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3478 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3490 eval "$ac_cv_use_zipstream"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_ZIPSTREAM" = yes; then
3496 echo "$ac_t""yes" 1>&6
3498 echo "$ac_t""no" 1>&6
3503 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3504 echo "configure:3505: checking "for --enable-catch_segvs"" >&5
3506 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3507 if test "${enable_catch_segvs+set}" = set; then
3508 enableval
="$enable_catch_segvs"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3513 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3518 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x
; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3530 eval "$ac_cv_use_catch_segvs"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3536 echo "$ac_t""yes" 1>&6
3538 echo "$ac_t""no" 1>&6
3544 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3545 echo "configure:3546: checking "for --enable-threads"" >&5
3547 # Check whether --enable-threads or --disable-threads was given.
3548 if test "${enable_threads+set}" = set; then
3549 enableval
="$enable_threads"
3551 if test "$enableval" = yes; then
3552 ac_cv_use_threads
='wxUSE_THREADS=yes'
3554 ac_cv_use_threads
='wxUSE_THREADS=no'
3559 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x
; then
3561 eval "DEFAULT_$LINE"
3566 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3571 eval "$ac_cv_use_threads"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_THREADS" = yes; then
3577 echo "$ac_t""yes" 1>&6
3579 echo "$ac_t""no" 1>&6
3583 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3584 echo "configure:3585: checking "for --enable-serial"" >&5
3586 # Check whether --enable-serial or --disable-serial was given.
3587 if test "${enable_serial+set}" = set; then
3588 enableval
="$enable_serial"
3590 if test "$enableval" = yes; then
3591 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3593 ac_cv_use_serial
='wxUSE_SERIAL=no'
3598 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3605 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3610 eval "$ac_cv_use_serial"
3611 if test "$no_cache" != 1; then
3612 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3615 if test "$wxUSE_SERIAL" = yes; then
3616 echo "$ac_t""yes" 1>&6
3618 echo "$ac_t""no" 1>&6
3622 if test "$wxUSE_GUI" = "yes"; then
3626 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3627 echo "configure:3628: checking "for --enable-docview"" >&5
3629 # Check whether --enable-docview or --disable-docview was given.
3630 if test "${enable_docview+set}" = set; then
3631 enableval
="$enable_docview"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3636 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3641 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3653 eval "$ac_cv_use_docview"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3666 echo "configure:3667: checking "for --enable-help"" >&5
3668 # Check whether --enable-help or --disable-help was given.
3669 if test "${enable_help+set}" = set; then
3670 enableval
="$enable_help"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_help
='wxUSE_HELP=yes'
3675 ac_cv_use_help
='wxUSE_HELP=no'
3680 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3692 eval "$ac_cv_use_help"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_HELP" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3705 echo "configure:3706: checking "for --enable-constraints"" >&5
3707 # Check whether --enable-constraints or --disable-constraints was given.
3708 if test "${enable_constraints+set}" = set; then
3709 enableval
="$enable_constraints"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3714 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3719 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3731 eval "$ac_cv_use_constraints"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_CONSTRAINTS" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3744 echo "configure:3745: checking "for --enable-printarch"" >&5
3746 # Check whether --enable-printarch or --disable-printarch was given.
3747 if test "${enable_printarch+set}" = set; then
3748 enableval
="$enable_printarch"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3753 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3758 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3770 eval "$ac_cv_use_printarch"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3783 echo "configure:3784: checking "for --enable-mdi"" >&5
3785 # Check whether --enable-mdi or --disable-mdi was given.
3786 if test "${enable_mdi+set}" = set; then
3787 enableval
="$enable_mdi"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3792 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3797 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3809 eval "$ac_cv_use_mdi"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3823 echo "configure:3824: checking "for --enable-postscript"" >&5
3825 # Check whether --enable-postscript or --disable-postscript was given.
3826 if test "${enable_postscript+set}" = set; then
3827 enableval
="$enable_postscript"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3832 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3837 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3849 eval "$ac_cv_use_postscript"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_POSTSCRIPT" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3863 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3864 echo "configure:3865: checking "for --enable-prologio"" >&5
3866 # Check whether --enable-prologio or --disable-prologio was given.
3867 if test "${enable_prologio+set}" = set; then
3868 enableval
="$enable_prologio"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3873 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3878 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x
; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3890 eval "$ac_cv_use_prologio"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_PROLOGIO" = yes; then
3896 echo "$ac_t""yes" 1>&6
3898 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3903 echo "configure:3904: checking "for --enable-resources"" >&5
3905 # Check whether --enable-resources or --disable-resources was given.
3906 if test "${enable_resources+set}" = set; then
3907 enableval
="$enable_resources"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3912 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3917 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3929 eval "$ac_cv_use_resources"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_RESOURCES" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3942 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3943 echo "configure:3944: checking "for --enable-xresources"" >&5
3945 # Check whether --enable-xresources or --disable-xresources was given.
3946 if test "${enable_xresources+set}" = set; then
3947 enableval
="$enable_xresources"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3952 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3957 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x
; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3969 eval "$ac_cv_use_xresources"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3974 if test "$wxUSE_X_RESOURCES" = yes; then
3975 echo "$ac_t""yes" 1>&6
3977 echo "$ac_t""no" 1>&6
3983 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3984 echo "configure:3985: checking "for --enable-clipboard"" >&5
3986 # Check whether --enable-clipboard or --disable-clipboard was given.
3987 if test "${enable_clipboard+set}" = set; then
3988 enableval
="$enable_clipboard"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3993 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3998 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4010 eval "$ac_cv_use_clipboard"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4015 if test "$wxUSE_CLIPBOARD" = yes; then
4016 echo "$ac_t""yes" 1>&6
4018 echo "$ac_t""no" 1>&6
4022 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
4023 echo "configure:4024: checking "for --enable-dnd"" >&5
4025 # Check whether --enable-dnd or --disable-dnd was given.
4026 if test "${enable_dnd+set}" = set; then
4027 enableval
="$enable_dnd"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4032 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4037 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4049 eval "$ac_cv_use_dnd"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4055 echo "$ac_t""yes" 1>&6
4057 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking "for --enable-metafile"""... $ac_c" 1>&6
4062 echo "configure:4063: checking "for --enable-metafile"" >&5
4064 # Check whether --enable-metafile or --disable-metafile was given.
4065 if test "${enable_metafile+set}" = set; then
4066 enableval
="$enable_metafile"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4071 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4076 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4088 eval "$ac_cv_use_metafile"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_METAFILE" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4101 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4102 echo "configure:4103: checking "for --enable-wxtree"" >&5
4104 # Check whether --enable-wxtree or --disable-wxtree was given.
4105 if test "${enable_wxtree+set}" = set; then
4106 enableval
="$enable_wxtree"
4108 if test "$enableval" = yes; then
4109 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4111 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4116 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x
; then
4118 eval "DEFAULT_$LINE"
4123 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4128 eval "$ac_cv_use_wxtree"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4133 if test "$wxUSE_WXTREE" = yes; then
4134 echo "$ac_t""yes" 1>&6
4136 echo "$ac_t""no" 1>&6
4142 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4143 echo "configure:4144: checking "for --enable-controls"" >&5
4145 # Check whether --enable-controls or --disable-controls was given.
4146 if test "${enable_controls+set}" = set; then
4147 enableval
="$enable_controls"
4149 if test "$enableval" = yes; then
4150 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4152 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4157 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x
; then
4159 eval "DEFAULT_$LINE"
4164 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4169 eval "$ac_cv_use_controls"
4170 if test "$no_cache" != 1; then
4171 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4174 if test "$wxUSE_CONTROLS" = yes; then
4175 echo "$ac_t""yes" 1>&6
4177 echo "$ac_t""no" 1>&6
4181 if test "$wxUSE_CONTROLS" = "yes"; then
4182 DEFAULT_wxUSE_ACCEL
=yes
4183 DEFAULT_wxUSE_CARET
=yes
4184 DEFAULT_wxUSE_COMBOBOX
=yes
4185 DEFAULT_wxUSE_BMPBUTTON
=yes
4186 DEFAULT_wxUSE_CHECKBOX
=yes
4187 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4188 DEFAULT_wxUSE_CHOICE
=yes
4189 DEFAULT_wxUSE_GAUGE
=yes
4190 DEFAULT_wxUSE_GRID
=yes
4191 DEFAULT_wxUSE_NEW_GRID
=yes
4192 DEFAULT_wxUSE_IMAGLIST
=yes
4193 DEFAULT_wxUSE_LISTBOX
=yes
4194 DEFAULT_wxUSE_LISTCTRL
=yes
4195 DEFAULT_wxUSE_NOTEBOOK
=yes
4196 DEFAULT_wxUSE_RADIOBOX
=yes
4197 DEFAULT_wxUSE_RADIOBTN
=yes
4198 DEFAULT_wxUSE_SASH
=yes
4199 DEFAULT_wxUSE_SCROLLBAR
=yes
4200 DEFAULT_wxUSE_SLIDER
=yes
4201 DEFAULT_wxUSE_SPINBTN
=yes
4202 DEFAULT_wxUSE_SPINCTRL
=yes
4203 DEFAULT_wxUSE_SPLITTER
=yes
4204 DEFAULT_wxUSE_STATBMP
=yes
4205 DEFAULT_wxUSE_STATBOX
=yes
4206 DEFAULT_wxUSE_STATLINE
=yes
4207 DEFAULT_wxUSE_STATUSBAR
=yes
4208 DEFAULT_wxUSE_TAB_DIALOG
=yes
4209 DEFAULT_wxUSE_TOOLBAR
=yes
4210 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4211 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4212 DEFAULT_wxUSE_TOOLTIPS
=yes
4213 DEFAULT_wxUSE_TREECTRL
=yes
4214 elif test "$wxUSE_CONTROLS" = "no"; then
4215 DEFAULT_wxUSE_ACCEL
=no
4216 DEFAULT_wxUSE_CARET
=no
4217 DEFAULT_wxUSE_COMBOBOX
=no
4218 DEFAULT_wxUSE_BMPBUTTON
=no
4219 DEFAULT_wxUSE_CHECKBOX
=no
4220 DEFAULT_wxUSE_CHECKLISTBOX
=no
4221 DEFAULT_wxUSE_CHOICE
=no
4222 DEFAULT_wxUSE_GAUGE
=no
4223 DEFAULT_wxUSE_GRID
=no
4224 DEFAULT_wxUSE_NEW_GRID
=no
4225 DEFAULT_wxUSE_IMAGLIST
=no
4226 DEFAULT_wxUSE_LISTBOX
=no
4227 DEFAULT_wxUSE_LISTCTRL
=no
4228 DEFAULT_wxUSE_NOTEBOOK
=no
4229 DEFAULT_wxUSE_RADIOBOX
=no
4230 DEFAULT_wxUSE_RADIOBTN
=no
4231 DEFAULT_wxUSE_SASH
=no
4232 DEFAULT_wxUSE_SCROLLBAR
=no
4233 DEFAULT_wxUSE_SLIDER
=no
4234 DEFAULT_wxUSE_SPINBTN
=no
4235 DEFAULT_wxUSE_SPINCTRL
=no
4236 DEFAULT_wxUSE_SPLITTER
=no
4237 DEFAULT_wxUSE_STATBMP
=no
4238 DEFAULT_wxUSE_STATBOX
=no
4239 DEFAULT_wxUSE_STATLINE
=no
4240 DEFAULT_wxUSE_STATUSBAR
=no
4241 DEFAULT_wxUSE_TAB_DIALOG
=no
4242 DEFAULT_wxUSE_TOOLBAR
=no
4243 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4244 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4245 DEFAULT_wxUSE_TOOLTIPS
=no
4246 DEFAULT_wxUSE_TREECTRL
=no
4250 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4251 echo "configure:4252: checking "for --enable-accel"" >&5
4253 # Check whether --enable-accel or --disable-accel was given.
4254 if test "${enable_accel+set}" = set; then
4255 enableval
="$enable_accel"
4257 if test "$enableval" = yes; then
4258 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4260 ac_cv_use_accel
='wxUSE_ACCEL=no'
4265 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x
; then
4267 eval "DEFAULT_$LINE"
4272 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4277 eval "$ac_cv_use_accel"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4282 if test "$wxUSE_ACCEL" = yes; then
4283 echo "$ac_t""yes" 1>&6
4285 echo "$ac_t""no" 1>&6
4289 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4290 echo "configure:4291: checking "for --enable-caret"" >&5
4292 # Check whether --enable-caret or --disable-caret was given.
4293 if test "${enable_caret+set}" = set; then
4294 enableval
="$enable_caret"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_caret
='wxUSE_CARET=yes'
4299 ac_cv_use_caret
='wxUSE_CARET=no'
4304 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4316 eval "$ac_cv_use_caret"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_CARET" = yes; then
4322 echo "$ac_t""yes" 1>&6
4324 echo "$ac_t""no" 1>&6
4328 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4329 echo "configure:4330: checking "for --enable-bmpbutton"" >&5
4331 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4332 if test "${enable_bmpbutton+set}" = set; then
4333 enableval
="$enable_bmpbutton"
4335 if test "$enableval" = yes; then
4336 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4338 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4343 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x
; then
4345 eval "DEFAULT_$LINE"
4350 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4355 eval "$ac_cv_use_bmpbutton"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_BMPBUTTON" = yes; then
4361 echo "$ac_t""yes" 1>&6
4363 echo "$ac_t""no" 1>&6
4367 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4368 echo "configure:4369: checking "for --enable-checkbox"" >&5
4370 # Check whether --enable-checkbox or --disable-checkbox was given.
4371 if test "${enable_checkbox+set}" = set; then
4372 enableval
="$enable_checkbox"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4377 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4382 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4394 eval "$ac_cv_use_checkbox"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_CHECKBOX" = yes; then
4400 echo "$ac_t""yes" 1>&6
4402 echo "$ac_t""no" 1>&6
4406 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4407 echo "configure:4408: checking "for --enable-checklst"" >&5
4409 # Check whether --enable-checklst or --disable-checklst was given.
4410 if test "${enable_checklst+set}" = set; then
4411 enableval
="$enable_checklst"
4413 if test "$enableval" = yes; then
4414 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4416 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4421 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x
; then
4423 eval "DEFAULT_$LINE"
4428 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4433 eval "$ac_cv_use_checklst"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_CHECKLST" = yes; then
4439 echo "$ac_t""yes" 1>&6
4441 echo "$ac_t""no" 1>&6
4445 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4446 echo "configure:4447: checking "for --enable-choice"" >&5
4448 # Check whether --enable-choice or --disable-choice was given.
4449 if test "${enable_choice+set}" = set; then
4450 enableval
="$enable_choice"
4452 if test "$enableval" = yes; then
4453 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4455 ac_cv_use_choice
='wxUSE_CHOICE=no'
4460 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4461 if test "x$LINE" != x
; then
4462 eval "DEFAULT_$LINE"
4467 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4472 eval "$ac_cv_use_choice"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4477 if test "$wxUSE_CHOICE" = yes; then
4478 echo "$ac_t""yes" 1>&6
4480 echo "$ac_t""no" 1>&6
4484 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4485 echo "configure:4486: checking "for --enable-combobox"" >&5
4487 # Check whether --enable-combobox or --disable-combobox was given.
4488 if test "${enable_combobox+set}" = set; then
4489 enableval
="$enable_combobox"
4491 if test "$enableval" = yes; then
4492 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4494 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4499 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4500 if test "x$LINE" != x
; then
4501 eval "DEFAULT_$LINE"
4506 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4511 eval "$ac_cv_use_combobox"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_COMBOBOX" = yes; then
4517 echo "$ac_t""yes" 1>&6
4519 echo "$ac_t""no" 1>&6
4523 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4524 echo "configure:4525: checking "for --enable-gauge"" >&5
4526 # Check whether --enable-gauge or --disable-gauge was given.
4527 if test "${enable_gauge+set}" = set; then
4528 enableval
="$enable_gauge"
4530 if test "$enableval" = yes; then
4531 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4533 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4538 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x
; then
4540 eval "DEFAULT_$LINE"
4545 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4550 eval "$ac_cv_use_gauge"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_GAUGE" = yes; then
4556 echo "$ac_t""yes" 1>&6
4558 echo "$ac_t""no" 1>&6
4562 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4563 echo "configure:4564: checking "for --enable-grid"" >&5
4565 # Check whether --enable-grid or --disable-grid was given.
4566 if test "${enable_grid+set}" = set; then
4567 enableval
="$enable_grid"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_grid
='wxUSE_GRID=yes'
4572 ac_cv_use_grid
='wxUSE_GRID=no'
4577 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x
; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4589 eval "$ac_cv_use_grid"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_GRID" = yes; then
4595 echo "$ac_t""yes" 1>&6
4597 echo "$ac_t""no" 1>&6
4601 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4602 echo "configure:4603: checking "for --enable-newgrid"" >&5
4604 # Check whether --enable-newgrid or --disable-newgrid was given.
4605 if test "${enable_newgrid+set}" = set; then
4606 enableval
="$enable_newgrid"
4608 if test "$enableval" = yes; then
4609 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4611 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4616 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x
; then
4618 eval "DEFAULT_$LINE"
4623 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4628 eval "$ac_cv_use_newgrid"
4629 if test "$no_cache" != 1; then
4630 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4633 if test "$wxUSE_NEW_GRID" = yes; then
4634 echo "$ac_t""yes" 1>&6
4636 echo "$ac_t""no" 1>&6
4640 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4641 echo "configure:4642: checking "for --enable-imaglist"" >&5
4643 # Check whether --enable-imaglist or --disable-imaglist was given.
4644 if test "${enable_imaglist+set}" = set; then
4645 enableval
="$enable_imaglist"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4650 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4655 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x
; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4667 eval "$ac_cv_use_imaglist"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4672 if test "$wxUSE_IMAGLIST" = yes; then
4673 echo "$ac_t""yes" 1>&6
4675 echo "$ac_t""no" 1>&6
4679 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4680 echo "configure:4681: checking "for --enable-listbox"" >&5
4682 # Check whether --enable-listbox or --disable-listbox was given.
4683 if test "${enable_listbox+set}" = set; then
4684 enableval
="$enable_listbox"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4689 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4694 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4706 eval "$ac_cv_use_listbox"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4711 if test "$wxUSE_LISTBOX" = yes; then
4712 echo "$ac_t""yes" 1>&6
4714 echo "$ac_t""no" 1>&6
4718 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4719 echo "configure:4720: checking "for --enable-listctrl"" >&5
4721 # Check whether --enable-listctrl or --disable-listctrl was given.
4722 if test "${enable_listctrl+set}" = set; then
4723 enableval
="$enable_listctrl"
4725 if test "$enableval" = yes; then
4726 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4728 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4733 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x
; then
4735 eval "DEFAULT_$LINE"
4740 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4745 eval "$ac_cv_use_listctrl"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_LISTCTRL" = yes; then
4751 echo "$ac_t""yes" 1>&6
4753 echo "$ac_t""no" 1>&6
4757 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4758 echo "configure:4759: checking "for --enable-notebook"" >&5
4760 # Check whether --enable-notebook or --disable-notebook was given.
4761 if test "${enable_notebook+set}" = set; then
4762 enableval
="$enable_notebook"
4764 if test "$enableval" = yes; then
4765 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4767 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4772 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4773 if test "x$LINE" != x
; then
4774 eval "DEFAULT_$LINE"
4779 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4784 eval "$ac_cv_use_notebook"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4789 if test "$wxUSE_NOTEBOOK" = yes; then
4790 echo "$ac_t""yes" 1>&6
4792 echo "$ac_t""no" 1>&6
4796 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4797 echo "configure:4798: checking "for --enable-radiobox"" >&5
4799 # Check whether --enable-radiobox or --disable-radiobox was given.
4800 if test "${enable_radiobox+set}" = set; then
4801 enableval
="$enable_radiobox"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4806 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4811 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4823 eval "$ac_cv_use_radiobox"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_RADIOBOX" = yes; then
4829 echo "$ac_t""yes" 1>&6
4831 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4836 echo "configure:4837: checking "for --enable-radiobtn"" >&5
4838 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4839 if test "${enable_radiobtn+set}" = set; then
4840 enableval
="$enable_radiobtn"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4845 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4850 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x
; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4862 eval "$ac_cv_use_radiobtn"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_RADIOBTN" = yes; then
4868 echo "$ac_t""yes" 1>&6
4870 echo "$ac_t""no" 1>&6
4874 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4875 echo "configure:4876: checking "for --enable-sash"" >&5
4877 # Check whether --enable-sash or --disable-sash was given.
4878 if test "${enable_sash+set}" = set; then
4879 enableval
="$enable_sash"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_sash
='wxUSE_SASH=yes'
4884 ac_cv_use_sash
='wxUSE_SASH=no'
4889 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x
; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4901 eval "$ac_cv_use_sash"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_SASH" = yes; then
4907 echo "$ac_t""yes" 1>&6
4909 echo "$ac_t""no" 1>&6
4913 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4914 echo "configure:4915: checking "for --enable-scrollbar"" >&5
4916 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4917 if test "${enable_scrollbar+set}" = set; then
4918 enableval
="$enable_scrollbar"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4923 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4928 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x
; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4940 eval "$ac_cv_use_scrollbar"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_SCROLLBAR" = yes; then
4946 echo "$ac_t""yes" 1>&6
4948 echo "$ac_t""no" 1>&6
4952 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4953 echo "configure:4954: checking "for --enable-slider"" >&5
4955 # Check whether --enable-slider or --disable-slider was given.
4956 if test "${enable_slider+set}" = set; then
4957 enableval
="$enable_slider"
4959 if test "$enableval" = yes; then
4960 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4962 ac_cv_use_slider
='wxUSE_SLIDER=no'
4967 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4974 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4979 eval "$ac_cv_use_slider"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_SLIDER" = yes; then
4985 echo "$ac_t""yes" 1>&6
4987 echo "$ac_t""no" 1>&6
4991 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4992 echo "configure:4993: checking "for --enable-spinbtn"" >&5
4994 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4995 if test "${enable_spinbtn+set}" = set; then
4996 enableval
="$enable_spinbtn"
4998 if test "$enableval" = yes; then
4999 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5001 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5006 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5007 if test "x$LINE" != x
; then
5008 eval "DEFAULT_$LINE"
5013 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5018 eval "$ac_cv_use_spinbtn"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_SPINBTN" = yes; then
5024 echo "$ac_t""yes" 1>&6
5026 echo "$ac_t""no" 1>&6
5030 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
5031 echo "configure:5032: checking "for --enable-spinctrl"" >&5
5033 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5034 if test "${enable_spinctrl+set}" = set; then
5035 enableval
="$enable_spinctrl"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5040 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5045 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5057 eval "$ac_cv_use_spinctrl"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_SPINCTRL" = yes; then
5063 echo "$ac_t""yes" 1>&6
5065 echo "$ac_t""no" 1>&6
5069 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5070 echo "configure:5071: checking "for --enable-splitter"" >&5
5072 # Check whether --enable-splitter or --disable-splitter was given.
5073 if test "${enable_splitter+set}" = set; then
5074 enableval
="$enable_splitter"
5076 if test "$enableval" = yes; then
5077 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5079 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5084 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x
; then
5086 eval "DEFAULT_$LINE"
5091 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5096 eval "$ac_cv_use_splitter"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_SPLITTER" = yes; then
5102 echo "$ac_t""yes" 1>&6
5104 echo "$ac_t""no" 1>&6
5108 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5109 echo "configure:5110: checking "for --enable-statbmp"" >&5
5111 # Check whether --enable-statbmp or --disable-statbmp was given.
5112 if test "${enable_statbmp+set}" = set; then
5113 enableval
="$enable_statbmp"
5115 if test "$enableval" = yes; then
5116 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5118 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5123 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5124 if test "x$LINE" != x
; then
5125 eval "DEFAULT_$LINE"
5130 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5135 eval "$ac_cv_use_statbmp"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_STATBMP" = yes; then
5141 echo "$ac_t""yes" 1>&6
5143 echo "$ac_t""no" 1>&6
5147 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5148 echo "configure:5149: checking "for --enable-statbox"" >&5
5150 # Check whether --enable-statbox or --disable-statbox was given.
5151 if test "${enable_statbox+set}" = set; then
5152 enableval
="$enable_statbox"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5157 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5162 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5174 eval "$ac_cv_use_statbox"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_STATBOX" = yes; then
5180 echo "$ac_t""yes" 1>&6
5182 echo "$ac_t""no" 1>&6
5186 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5187 echo "configure:5188: checking "for --enable-statline"" >&5
5189 # Check whether --enable-statline or --disable-statline was given.
5190 if test "${enable_statline+set}" = set; then
5191 enableval
="$enable_statline"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5196 ac_cv_use_statline
='wxUSE_STATLINE=no'
5201 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5213 eval "$ac_cv_use_statline"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_STATLINE" = yes; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5225 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5226 echo "configure:5227: checking "for --enable-statusbar"" >&5
5228 # Check whether --enable-statusbar or --disable-statusbar was given.
5229 if test "${enable_statusbar+set}" = set; then
5230 enableval
="$enable_statusbar"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5235 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5240 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5252 eval "$ac_cv_use_statusbar"
5253 if test "$no_cache" != 1; then
5254 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5257 if test "$wxUSE_STATUSBAR" = yes; then
5258 echo "$ac_t""yes" 1>&6
5260 echo "$ac_t""no" 1>&6
5264 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5265 echo "configure:5266: checking "for --enable-tabdialog"" >&5
5267 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5268 if test "${enable_tabdialog+set}" = set; then
5269 enableval
="$enable_tabdialog"
5271 if test "$enableval" = yes; then
5272 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5274 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5279 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5280 if test "x$LINE" != x
; then
5281 eval "DEFAULT_$LINE"
5286 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5291 eval "$ac_cv_use_tabdialog"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5296 if test "$wxUSE_TABDIALOG" = yes; then
5297 echo "$ac_t""yes" 1>&6
5299 echo "$ac_t""no" 1>&6
5303 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5304 echo "configure:5305: checking "for --enable-toolbar"" >&5
5306 # Check whether --enable-toolbar or --disable-toolbar was given.
5307 if test "${enable_toolbar+set}" = set; then
5308 enableval
="$enable_toolbar"
5310 if test "$enableval" = yes; then
5311 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5313 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5318 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x
; then
5320 eval "DEFAULT_$LINE"
5325 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5330 eval "$ac_cv_use_toolbar"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_TOOLBAR" = yes; then
5336 echo "$ac_t""yes" 1>&6
5338 echo "$ac_t""no" 1>&6
5342 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5343 echo "configure:5344: checking "for --enable-tbarnative"" >&5
5345 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5346 if test "${enable_tbarnative+set}" = set; then
5347 enableval
="$enable_tbarnative"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5352 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5357 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x
; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5369 eval "$ac_cv_use_tbarnative"
5370 if test "$no_cache" != 1; then
5371 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5374 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5375 echo "$ac_t""yes" 1>&6
5377 echo "$ac_t""no" 1>&6
5381 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5382 echo "configure:5383: checking "for --enable-tbarsmpl"" >&5
5384 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5385 if test "${enable_tbarsmpl+set}" = set; then
5386 enableval
="$enable_tbarsmpl"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5391 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5396 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5408 eval "$ac_cv_use_tbarsmpl"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5413 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5414 echo "$ac_t""yes" 1>&6
5416 echo "$ac_t""no" 1>&6
5420 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5421 echo "configure:5422: checking "for --enable-treectrl"" >&5
5423 # Check whether --enable-treectrl or --disable-treectrl was given.
5424 if test "${enable_treectrl+set}" = set; then
5425 enableval
="$enable_treectrl"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5430 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5435 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5447 eval "$ac_cv_use_treectrl"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_TREECTRL" = yes; then
5453 echo "$ac_t""yes" 1>&6
5455 echo "$ac_t""no" 1>&6
5461 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5462 echo "configure:5463: checking "for --enable-commondlg"" >&5
5464 # Check whether --enable-commondlg or --disable-commondlg was given.
5465 if test "${enable_commondlg+set}" = set; then
5466 enableval
="$enable_commondlg"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5471 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5476 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5488 eval "$ac_cv_use_commondlg"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_COMMONDLGS" = yes; then
5494 echo "$ac_t""yes" 1>&6
5496 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5501 echo "configure:5502: checking "for --enable-dirdlg"" >&5
5503 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5504 if test "${enable_dirdlg+set}" = set; then
5505 enableval
="$enable_dirdlg"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5510 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5515 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5527 eval "$ac_cv_use_dirdlg"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_DIRDLG" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5539 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5540 echo "configure:5541: checking "for --enable-textdlg"" >&5
5542 # Check whether --enable-textdlg or --disable-textdlg was given.
5543 if test "${enable_textdlg+set}" = set; then
5544 enableval
="$enable_textdlg"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5549 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5554 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5566 eval "$ac_cv_use_textdlg"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_TEXTDLG" = yes; then
5572 echo "$ac_t""yes" 1>&6
5574 echo "$ac_t""no" 1>&6
5578 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5579 echo "configure:5580: checking "for --enable-tipdlg"" >&5
5581 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5582 if test "${enable_tipdlg+set}" = set; then
5583 enableval
="$enable_tipdlg"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5588 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5593 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5605 eval "$ac_cv_use_tipdlg"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5610 if test "$wxUSE_STARTUP_TIPS" = yes; then
5611 echo "$ac_t""yes" 1>&6
5613 echo "$ac_t""no" 1>&6
5617 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5618 echo "configure:5619: checking "for --enable-progressdlg"" >&5
5620 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5621 if test "${enable_progressdlg+set}" = set; then
5622 enableval
="$enable_progressdlg"
5624 if test "$enableval" = yes; then
5625 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5627 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5632 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x
; then
5634 eval "DEFAULT_$LINE"
5639 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5644 eval "$ac_cv_use_progressdlg"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5649 if test "$wxUSE_PROGRESSDLG" = yes; then
5650 echo "$ac_t""yes" 1>&6
5652 echo "$ac_t""no" 1>&6
5656 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5657 echo "configure:5658: checking "for --enable-miniframe"" >&5
5659 # Check whether --enable-miniframe or --disable-miniframe was given.
5660 if test "${enable_miniframe+set}" = set; then
5661 enableval
="$enable_miniframe"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5666 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5671 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5683 eval "$ac_cv_use_miniframe"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_MINIFRAME" = yes; then
5689 echo "$ac_t""yes" 1>&6
5691 echo "$ac_t""no" 1>&6
5695 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5696 echo "configure:5697: checking "for --enable-html"" >&5
5698 # Check whether --enable-html or --disable-html was given.
5699 if test "${enable_html+set}" = set; then
5700 enableval
="$enable_html"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_html
='wxUSE_HTML=yes'
5705 ac_cv_use_html
='wxUSE_HTML=no'
5710 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x
; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5722 eval "$ac_cv_use_html"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5727 if test "$wxUSE_HTML" = yes; then
5728 echo "$ac_t""yes" 1>&6
5730 echo "$ac_t""no" 1>&6
5734 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5735 echo "configure:5736: checking "for --enable-tooltips"" >&5
5737 # Check whether --enable-tooltips or --disable-tooltips was given.
5738 if test "${enable_tooltips+set}" = set; then
5739 enableval
="$enable_tooltips"
5741 if test "$enableval" = yes; then
5742 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5744 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5749 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x
; then
5751 eval "DEFAULT_$LINE"
5756 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5761 eval "$ac_cv_use_tooltips"
5762 if test "$no_cache" != 1; then
5763 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5766 if test "$wxUSE_TOOLTIPS" = yes; then
5767 echo "$ac_t""yes" 1>&6
5769 echo "$ac_t""no" 1>&6
5773 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5774 echo "configure:5775: checking "for --enable-splines"" >&5
5776 # Check whether --enable-splines or --disable-splines was given.
5777 if test "${enable_splines+set}" = set; then
5778 enableval
="$enable_splines"
5780 if test "$enableval" = yes; then
5781 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5783 ac_cv_use_splines
='wxUSE_SPLINES=no'
5788 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x
; then
5790 eval "DEFAULT_$LINE"
5795 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5800 eval "$ac_cv_use_splines"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_SPLINES" = yes; then
5806 echo "$ac_t""yes" 1>&6
5808 echo "$ac_t""no" 1>&6
5812 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5813 echo "configure:5814: checking "for --enable-validators"" >&5
5815 # Check whether --enable-validators or --disable-validators was given.
5816 if test "${enable_validators+set}" = set; then
5817 enableval
="$enable_validators"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5822 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5827 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5839 eval "$ac_cv_use_validators"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5844 if test "$wxUSE_VALIDATORS" = yes; then
5845 echo "$ac_t""yes" 1>&6
5847 echo "$ac_t""no" 1>&6
5851 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5852 echo "configure:5853: checking "for --enable-busyinfo"" >&5
5854 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5855 if test "${enable_busyinfo+set}" = set; then
5856 enableval
="$enable_busyinfo"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5861 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5866 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x
; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5878 eval "$ac_cv_use_busyinfo"
5879 if test "$no_cache" != 1; then
5880 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5883 if test "$wxUSE_BUSYINFO" = yes; then
5884 echo "$ac_t""yes" 1>&6
5886 echo "$ac_t""no" 1>&6
5890 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5891 echo "configure:5892: checking "for --enable-joystick"" >&5
5893 # Check whether --enable-joystick or --disable-joystick was given.
5894 if test "${enable_joystick+set}" = set; then
5895 enableval
="$enable_joystick"
5897 if test "$enableval" = yes; then
5898 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5900 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5905 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x
; then
5907 eval "DEFAULT_$LINE"
5912 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5917 eval "$ac_cv_use_joystick"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_JOYSTICK" = yes; then
5923 echo "$ac_t""yes" 1>&6
5925 echo "$ac_t""no" 1>&6
5931 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5932 echo "configure:5933: checking "for --enable-gif"" >&5
5934 # Check whether --enable-gif or --disable-gif was given.
5935 if test "${enable_gif+set}" = set; then
5936 enableval
="$enable_gif"
5938 if test "$enableval" = yes; then
5939 ac_cv_use_gif
='wxUSE_GIF=yes'
5941 ac_cv_use_gif
='wxUSE_GIF=no'
5946 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x
; then
5948 eval "DEFAULT_$LINE"
5953 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5958 eval "$ac_cv_use_gif"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_GIF" = yes; then
5964 echo "$ac_t""yes" 1>&6
5966 echo "$ac_t""no" 1>&6
5970 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5971 echo "configure:5972: checking "for --enable-pcx"" >&5
5973 # Check whether --enable-pcx or --disable-pcx was given.
5974 if test "${enable_pcx+set}" = set; then
5975 enableval
="$enable_pcx"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_pcx
='wxUSE_PCX=yes'
5980 ac_cv_use_pcx
='wxUSE_PCX=no'
5985 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5997 eval "$ac_cv_use_pcx"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_PCX" = yes; then
6003 echo "$ac_t""yes" 1>&6
6005 echo "$ac_t""no" 1>&6
6009 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6010 echo "configure:6011: checking "for --enable-pnm"" >&5
6012 # Check whether --enable-pnm or --disable-pnm was given.
6013 if test "${enable_pnm+set}" = set; then
6014 enableval
="$enable_pnm"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_pnm
='wxUSE_PNM=yes'
6019 ac_cv_use_pnm
='wxUSE_PNM=no'
6024 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6036 eval "$ac_cv_use_pnm"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_PNM" = yes; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6051 echo "saving argument cache $wx_arg_cache_file"
6052 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6056 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6057 echo "configure:6058: checking for toolkit" >&5
6059 if test "$wxUSE_GUI" = "yes"; then
6061 if test "$USE_BEOS" = 1; then
6062 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6065 if test "$TOOLKIT_GIVEN" = 1; then
6066 for toolkit
in `echo $ALL_TOOLKITS`; do
6068 eval "value=\$${var}"
6069 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6072 for toolkit
in `echo $ALL_TOOLKITS`; do
6073 if test "$has_toolkit_in_cache" != 1; then
6074 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6076 var
=DEFAULT_wxUSE_
$toolkit
6078 eval "wxUSE_$toolkit=\$${var}"
6082 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6086 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6087 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6096 case "$NUM_TOOLKITS" in
6100 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6103 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6106 for toolkit
in `echo $ALL_TOOLKITS`; do
6108 eval "value=\$${var}"
6109 if test "x$value" != x
; then
6110 cache_var
=CACHE_
$toolkit
6111 eval "cache=\$${cache_var}"
6112 if test "$cache" = 1; then
6113 echo "$var=$value" >> ${wx_arg_cache_file}
6115 if test "$value" = 1; then
6116 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6123 echo "$ac_t""base only" 1>&6
6127 cat > confcache
<<\EOF
6128 # This file is a shell script that caches the results of configure
6129 # tests run on this system so they can be shared between configure
6130 # scripts and configure runs. It is not useful on other systems.
6131 # If it contains results you don't want to keep, you may remove or edit it.
6133 # By default, configure uses ./config.cache as the cache file,
6134 # creating it if it does not exist already. You can give configure
6135 # the --cache-file=FILE option to use a different cache file; that is
6136 # what configure does when it calls configure scripts in
6137 # subdirectories, so they share the cache.
6138 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6139 # config.status only pays attention to the cache file if you give it the
6140 # --recheck option to rerun configure.
6143 # The following way of writing the cache mishandles newlines in values,
6144 # but we know of no workaround that is simple, portable, and efficient.
6145 # So, don't put newlines in cache variables' values.
6146 # Ultrix sh set writes to stderr and can't be redirected directly,
6147 # and sets the high bit in the cache file unless we assign to the vars.
6149 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6151 # `set' does not quote correctly, so add quotes (double-quote substitution
6152 # turns \\\\ into \\, and sed turns \\ into \).
6154 -e "s/'/'\\\\''/g" \
6155 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6158 # `set' quotes correctly as required by POSIX, so do not add quotes.
6159 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6162 if cmp -s $cache_file confcache
; then
6165 if test -w $cache_file; then
6166 echo "updating cache $cache_file"
6167 cat confcache
> $cache_file
6169 echo "not updating unwritable cache $cache_file"
6175 if test "$build" != "$host" ; then
6179 RANLIB
=$host_alias-ranlib
6180 DLLTOOL
=$host_alias-dlltool
6181 RESCOMP
=$host_alias-windres
6184 STRIP
=$host_alias-strip
6187 # Extract the first word of "gcc", so it can be a program name with args.
6188 set dummy gcc
; ac_word
=$2
6189 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6190 echo "configure:6191: checking for $ac_word" >&5
6191 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6192 echo $ac_n "(cached) $ac_c" 1>&6
6194 if test -n "$CC"; then
6195 ac_cv_prog_CC
="$CC" # Let the user override the test.
6197 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6199 for ac_dir
in $ac_dummy; do
6200 test -z "$ac_dir" && ac_dir
=.
6201 if test -f $ac_dir/$ac_word; then
6210 if test -n "$CC"; then
6211 echo "$ac_t""$CC" 1>&6
6213 echo "$ac_t""no" 1>&6
6216 if test -z "$CC"; then
6217 # Extract the first word of "cc", so it can be a program name with args.
6218 set dummy cc
; ac_word
=$2
6219 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6220 echo "configure:6221: checking for $ac_word" >&5
6221 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6224 if test -n "$CC"; then
6225 ac_cv_prog_CC
="$CC" # Let the user override the test.
6227 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6230 for ac_dir
in $ac_dummy; do
6231 test -z "$ac_dir" && ac_dir
=.
6232 if test -f $ac_dir/$ac_word; then
6233 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6234 ac_prog_rejected
=yes
6242 if test $ac_prog_rejected = yes; then
6243 # We found a bogon in the path, so make sure we never use it.
6244 set dummy
$ac_cv_prog_CC
6246 if test $# -gt 0; then
6247 # We chose a different compiler from the bogus one.
6248 # However, it has the same basename, so the bogon will be chosen
6249 # first if we set CC to just the basename; use the full file name.
6251 set dummy
"$ac_dir/$ac_word" "$@"
6259 if test -n "$CC"; then
6260 echo "$ac_t""$CC" 1>&6
6262 echo "$ac_t""no" 1>&6
6265 if test -z "$CC"; then
6266 case "`uname -s`" in
6268 # Extract the first word of "cl", so it can be a program name with args.
6269 set dummy cl
; ac_word
=$2
6270 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6271 echo "configure:6272: checking for $ac_word" >&5
6272 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6273 echo $ac_n "(cached) $ac_c" 1>&6
6275 if test -n "$CC"; then
6276 ac_cv_prog_CC
="$CC" # Let the user override the test.
6278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6280 for ac_dir
in $ac_dummy; do
6281 test -z "$ac_dir" && ac_dir
=.
6282 if test -f $ac_dir/$ac_word; then
6291 if test -n "$CC"; then
6292 echo "$ac_t""$CC" 1>&6
6294 echo "$ac_t""no" 1>&6
6299 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6302 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6303 echo "configure:6304: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6307 ac_cpp
='$CPP $CPPFLAGS'
6308 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6309 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6310 cross_compiling
=$ac_cv_prog_cc_cross
6312 cat > conftest.
$ac_ext << EOF
6314 #line 6315 "configure"
6315 #include "confdefs.h"
6319 if { (eval echo configure
:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6320 ac_cv_prog_cc_works
=yes
6321 # If we can't run a trivial program, we are probably using a cross compiler.
6322 if (.
/conftest
; exit) 2>/dev
/null
; then
6323 ac_cv_prog_cc_cross
=no
6325 ac_cv_prog_cc_cross
=yes
6328 echo "configure: failed program was:" >&5
6329 cat conftest.
$ac_ext >&5
6330 ac_cv_prog_cc_works
=no
6334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6335 ac_cpp
='$CPP $CPPFLAGS'
6336 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6337 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6338 cross_compiling
=$ac_cv_prog_cc_cross
6340 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6341 if test $ac_cv_prog_cc_works = no
; then
6342 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6344 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6345 echo "configure:6346: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6346 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6347 cross_compiling
=$ac_cv_prog_cc_cross
6349 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6350 echo "configure:6351: checking whether we are using GNU C" >&5
6351 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6352 echo $ac_n "(cached) $ac_c" 1>&6
6354 cat > conftest.c
<<EOF
6359 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6366 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6368 if test $ac_cv_prog_gcc = yes; then
6374 ac_test_CFLAGS
="${CFLAGS+set}"
6375 ac_save_CFLAGS
="$CFLAGS"
6377 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6378 echo "configure:6379: checking whether ${CC-cc} accepts -g" >&5
6379 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6380 echo $ac_n "(cached) $ac_c" 1>&6
6382 echo 'void f(){}' > conftest.c
6383 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6392 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6393 if test "$ac_test_CFLAGS" = set; then
6394 CFLAGS
="$ac_save_CFLAGS"
6395 elif test $ac_cv_prog_cc_g = yes; then
6396 if test "$GCC" = yes; then
6402 if test "$GCC" = yes; then
6410 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6412 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6413 echo "configure:6414: checking how to run the C preprocessor" >&5
6414 # On Suns, sometimes $CPP names a directory.
6415 if test -n "$CPP" && test -d "$CPP"; then
6418 if test -z "$CPP"; then
6419 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6420 echo $ac_n "(cached) $ac_c" 1>&6
6422 # This must be in double quotes, not single quotes, because CPP may get
6423 # substituted into the Makefile and "${CC-cc}" will confuse make.
6425 # On the NeXT, cc -E runs the code through the compiler's parser,
6426 # not just through cpp.
6427 cat > conftest.
$ac_ext <<EOF
6428 #line 6429 "configure"
6429 #include "confdefs.h"
6433 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6434 { (eval echo configure
:6435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6435 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6436 if test -z "$ac_err"; then
6440 echo "configure: failed program was:" >&5
6441 cat conftest.
$ac_ext >&5
6443 CPP
="${CC-cc} -E -traditional-cpp"
6444 cat > conftest.
$ac_ext <<EOF
6445 #line 6446 "configure"
6446 #include "confdefs.h"
6450 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6451 { (eval echo configure
:6452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6452 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6453 if test -z "$ac_err"; then
6457 echo "configure: failed program was:" >&5
6458 cat conftest.
$ac_ext >&5
6460 CPP
="${CC-cc} -nologo -E"
6461 cat > conftest.
$ac_ext <<EOF
6462 #line 6463 "configure"
6463 #include "confdefs.h"
6467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6468 { (eval echo configure
:6469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6470 if test -z "$ac_err"; then
6474 echo "configure: failed program was:" >&5
6475 cat conftest.
$ac_ext >&5
6484 ac_cv_prog_CPP
="$CPP"
6486 CPP
="$ac_cv_prog_CPP"
6488 ac_cv_prog_CPP
="$CPP"
6490 echo "$ac_t""$CPP" 1>&6
6493 if test $ac_cv_prog_gcc = yes; then
6494 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6495 echo "configure:6496: checking whether ${CC-cc} needs -traditional" >&5
6496 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6497 echo $ac_n "(cached) $ac_c" 1>&6
6499 ac_pattern
="Autoconf.*'x'"
6500 cat > conftest.
$ac_ext <<EOF
6501 #line 6502 "configure"
6502 #include "confdefs.h"
6506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6507 egrep "$ac_pattern" >/dev
/null
2>&1; then
6509 ac_cv_prog_gcc_traditional
=yes
6512 ac_cv_prog_gcc_traditional
=no
6517 if test $ac_cv_prog_gcc_traditional = no
; then
6518 cat > conftest.
$ac_ext <<EOF
6519 #line 6520 "configure"
6520 #include "confdefs.h"
6524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6525 egrep "$ac_pattern" >/dev
/null
2>&1; then
6527 ac_cv_prog_gcc_traditional
=yes
6534 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6535 if test $ac_cv_prog_gcc_traditional = yes; then
6536 CC
="$CC -traditional"
6543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6544 ac_cpp
='$CXXCPP $CPPFLAGS'
6545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6547 cross_compiling
=$ac_cv_prog_cxx_cross
6550 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6552 # Extract the first word of "$ac_prog", so it can be a program name with args.
6553 set dummy
$ac_prog; ac_word
=$2
6554 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6555 echo "configure:6556: checking for $ac_word" >&5
6556 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6557 echo $ac_n "(cached) $ac_c" 1>&6
6559 if test -n "$CXX"; then
6560 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6564 for ac_dir
in $ac_dummy; do
6565 test -z "$ac_dir" && ac_dir
=.
6566 if test -f $ac_dir/$ac_word; then
6567 ac_cv_prog_CXX
="$ac_prog"
6574 CXX
="$ac_cv_prog_CXX"
6575 if test -n "$CXX"; then
6576 echo "$ac_t""$CXX" 1>&6
6578 echo "$ac_t""no" 1>&6
6581 test -n "$CXX" && break
6583 test -n "$CXX" || CXX
="gcc"
6586 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6587 echo "configure:6588: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6591 ac_cpp
='$CXXCPP $CPPFLAGS'
6592 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6593 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6594 cross_compiling
=$ac_cv_prog_cxx_cross
6596 cat > conftest.
$ac_ext << EOF
6598 #line 6599 "configure"
6599 #include "confdefs.h"
6601 int main(){return(0);}
6603 if { (eval echo configure
:6604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6604 ac_cv_prog_cxx_works
=yes
6605 # If we can't run a trivial program, we are probably using a cross compiler.
6606 if (.
/conftest
; exit) 2>/dev
/null
; then
6607 ac_cv_prog_cxx_cross
=no
6609 ac_cv_prog_cxx_cross
=yes
6612 echo "configure: failed program was:" >&5
6613 cat conftest.
$ac_ext >&5
6614 ac_cv_prog_cxx_works
=no
6618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6619 ac_cpp
='$CXXCPP $CPPFLAGS'
6620 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6621 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6622 cross_compiling
=$ac_cv_prog_cxx_cross
6624 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6625 if test $ac_cv_prog_cxx_works = no
; then
6626 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6628 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6629 echo "configure:6630: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6630 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6631 cross_compiling
=$ac_cv_prog_cxx_cross
6633 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6634 echo "configure:6635: checking whether we are using GNU C++" >&5
6635 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6636 echo $ac_n "(cached) $ac_c" 1>&6
6638 cat > conftest.C
<<EOF
6643 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6650 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6652 if test $ac_cv_prog_gxx = yes; then
6658 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6659 ac_save_CXXFLAGS
="$CXXFLAGS"
6661 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6662 echo "configure:6663: checking whether ${CXX-g++} accepts -g" >&5
6663 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6664 echo $ac_n "(cached) $ac_c" 1>&6
6666 echo 'void f(){}' > conftest.cc
6667 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6668 ac_cv_prog_cxx_g
=yes
6676 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6677 if test "$ac_test_CXXFLAGS" = set; then
6678 CXXFLAGS
="$ac_save_CXXFLAGS"
6679 elif test $ac_cv_prog_cxx_g = yes; then
6680 if test "$GXX" = yes; then
6686 if test "$GXX" = yes; then
6694 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6695 echo "configure:6696: checking how to run the C++ preprocessor" >&5
6696 if test -z "$CXXCPP"; then
6697 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6698 echo $ac_n "(cached) $ac_c" 1>&6
6701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6702 ac_cpp
='$CXXCPP $CPPFLAGS'
6703 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6704 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6705 cross_compiling
=$ac_cv_prog_cxx_cross
6706 CXXCPP
="${CXX-g++} -E"
6707 cat > conftest.
$ac_ext <<EOF
6708 #line 6709 "configure"
6709 #include "confdefs.h"
6712 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6713 { (eval echo configure
:6714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6714 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6715 if test -z "$ac_err"; then
6719 echo "configure: failed program was:" >&5
6720 cat conftest.
$ac_ext >&5
6725 ac_cv_prog_CXXCPP
="$CXXCPP"
6727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6728 ac_cpp
='$CXXCPP $CPPFLAGS'
6729 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6730 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6731 cross_compiling
=$ac_cv_prog_cxx_cross
6734 CXXCPP
="$ac_cv_prog_CXXCPP"
6735 echo "$ac_t""$CXXCPP" 1>&6
6738 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6742 ac_cpp
='$CPP $CPPFLAGS'
6743 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6744 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6745 cross_compiling
=$ac_cv_prog_cc_cross
6748 # Extract the first word of "ranlib", so it can be a program name with args.
6749 set dummy ranlib
; ac_word
=$2
6750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6751 echo "configure:6752: checking for $ac_word" >&5
6752 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6753 echo $ac_n "(cached) $ac_c" 1>&6
6755 if test -n "$RANLIB"; then
6756 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6758 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6760 for ac_dir
in $ac_dummy; do
6761 test -z "$ac_dir" && ac_dir
=.
6762 if test -f $ac_dir/$ac_word; then
6763 ac_cv_prog_RANLIB
="ranlib"
6768 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6771 RANLIB
="$ac_cv_prog_RANLIB"
6772 if test -n "$RANLIB"; then
6773 echo "$ac_t""$RANLIB" 1>&6
6775 echo "$ac_t""no" 1>&6
6779 # Extract the first word of "ar", so it can be a program name with args.
6780 set dummy
ar; ac_word
=$2
6781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6782 echo "configure:6783: checking for $ac_word" >&5
6783 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6784 echo $ac_n "(cached) $ac_c" 1>&6
6786 if test -n "$AR"; then
6787 ac_cv_prog_AR
="$AR" # Let the user override the test.
6789 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6791 for ac_dir
in $ac_dummy; do
6792 test -z "$ac_dir" && ac_dir
=.
6793 if test -f $ac_dir/$ac_word; then
6799 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6803 if test -n "$AR"; then
6804 echo "$ac_t""$AR" 1>&6
6806 echo "$ac_t""no" 1>&6
6810 # Find a good install program. We prefer a C program (faster),
6811 # so one script is as good as another. But avoid the broken or
6812 # incompatible versions:
6813 # SysV /etc/install, /usr/sbin/install
6814 # SunOS /usr/etc/install
6815 # IRIX /sbin/install
6817 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6818 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6819 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6820 # ./install, which can be erroneously created by make from ./install.sh.
6821 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6822 echo "configure:6823: checking for a BSD compatible install" >&5
6823 if test -z "$INSTALL"; then
6824 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6825 echo $ac_n "(cached) $ac_c" 1>&6
6827 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6828 for ac_dir
in $PATH; do
6829 # Account for people who put trailing slashes in PATH elements.
6831 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6833 # OSF1 and SCO ODT 3.0 have their own names for install.
6834 # Don't use installbsd from OSF since it installs stuff as root
6836 for ac_prog
in ginstall scoinst
install; do
6837 if test -f $ac_dir/$ac_prog; then
6838 if test $ac_prog = install &&
6839 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6840 # AIX install. It has an incompatible calling convention.
6843 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6854 if test "${ac_cv_path_install+set}" = set; then
6855 INSTALL
="$ac_cv_path_install"
6857 # As a last resort, use the slow shell script. We don't cache a
6858 # path for INSTALL within a source directory, because that will
6859 # break other packages using the cache if that directory is
6860 # removed, or if the path is relative.
6861 INSTALL
="$ac_install_sh"
6864 echo "$ac_t""$INSTALL" 1>&6
6866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6867 # It thinks the first close brace ends the variable substitution.
6868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6872 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6875 # Extract the first word of "strip", so it can be a program name with args.
6876 set dummy strip
; ac_word
=$2
6877 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6878 echo "configure:6879: checking for $ac_word" >&5
6879 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6880 echo $ac_n "(cached) $ac_c" 1>&6
6882 if test -n "$STRIP"; then
6883 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6885 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6887 for ac_dir
in $ac_dummy; do
6888 test -z "$ac_dir" && ac_dir
=.
6889 if test -f $ac_dir/$ac_word; then
6890 ac_cv_prog_STRIP
="strip"
6895 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6898 STRIP
="$ac_cv_prog_STRIP"
6899 if test -n "$STRIP"; then
6900 echo "$ac_t""$STRIP" 1>&6
6902 echo "$ac_t""no" 1>&6
6906 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6907 echo "configure:6908: checking "make for VPATH support
"" >&5
6908 cat - << EOF > confMake
6914 if test ! -d sub
; then
6917 echo dummy
> sub
/file
6918 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6920 rm -f sub
/file check final_file confMake
6922 if test "$RESULT" = 0; then
6923 echo "$ac_t""yes" 1>&6
6925 echo "$ac_t""no" 1>&6
6926 { echo "configure: error: You need a make-utility that is able to use the variable
6928 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6931 for ac_prog
in 'bison -y' byacc
6933 # Extract the first word of "$ac_prog", so it can be a program name with args.
6934 set dummy
$ac_prog; ac_word
=$2
6935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6936 echo "configure:6937: checking for $ac_word" >&5
6937 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6938 echo $ac_n "(cached) $ac_c" 1>&6
6940 if test -n "$YACC"; then
6941 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6943 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6945 for ac_dir
in $ac_dummy; do
6946 test -z "$ac_dir" && ac_dir
=.
6947 if test -f $ac_dir/$ac_word; then
6948 ac_cv_prog_YACC
="$ac_prog"
6955 YACC
="$ac_cv_prog_YACC"
6956 if test -n "$YACC"; then
6957 echo "$ac_t""$YACC" 1>&6
6959 echo "$ac_t""no" 1>&6
6962 test -n "$YACC" && break
6964 test -n "$YACC" || YACC
="yacc"
6967 # Extract the first word of "flex", so it can be a program name with args.
6968 set dummy flex
; ac_word
=$2
6969 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6970 echo "configure:6971: checking for $ac_word" >&5
6971 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6972 echo $ac_n "(cached) $ac_c" 1>&6
6974 if test -n "$LEX"; then
6975 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6977 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6979 for ac_dir
in $ac_dummy; do
6980 test -z "$ac_dir" && ac_dir
=.
6981 if test -f $ac_dir/$ac_word; then
6982 ac_cv_prog_LEX
="flex"
6987 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6990 LEX
="$ac_cv_prog_LEX"
6991 if test -n "$LEX"; then
6992 echo "$ac_t""$LEX" 1>&6
6994 echo "$ac_t""no" 1>&6
6997 if test -z "$LEXLIB"
7003 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
7004 echo "configure:7005: checking for yywrap in -l$ac_lib" >&5
7005 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
7006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7007 echo $ac_n "(cached) $ac_c" 1>&6
7009 ac_save_LIBS
="$LIBS"
7010 LIBS
="-l$ac_lib $LIBS"
7011 cat > conftest.
$ac_ext <<EOF
7012 #line 7013 "configure"
7013 #include "confdefs.h"
7014 /* Override any gcc2 internal prototype to avoid an error. */
7015 /* We use char because int might match the return type of a gcc2
7016 builtin and then its argument prototype would still apply. */
7023 if { (eval echo configure
:7024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7025 eval "ac_cv_lib_$ac_lib_var=yes"
7027 echo "configure: failed program was:" >&5
7028 cat conftest.
$ac_ext >&5
7030 eval "ac_cv_lib_$ac_lib_var=no"
7033 LIBS
="$ac_save_LIBS"
7036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7037 echo "$ac_t""yes" 1>&6
7040 echo "$ac_t""no" 1>&6
7046 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7047 echo "configure:7048: checking whether ln -s works" >&5
7048 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7049 echo $ac_n "(cached) $ac_c" 1>&6
7052 if ln -s X conftestdata
2>/dev
/null
7055 ac_cv_prog_LN_S
="ln -s"
7060 LN_S
="$ac_cv_prog_LN_S"
7061 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7062 echo "$ac_t""yes" 1>&6
7064 echo "$ac_t""no" 1>&6
7070 /usr/local/include \
7072 /usr/Motif-1.2/include \
7073 /usr/Motif-2.1/include \
7075 /usr/include/Motif1.2 \
7076 /opt/xpm/include/X11 \
7077 /opt/GBxpm/include/ \
7078 /opt/GBxpm/X11/include/ \
7080 /usr/Motif1.2/include \
7082 /usr/openwin/include \
7086 /usr/X11R6/include \
7087 /usr/X11R6.4/include \
7088 /usr/X11R5/include \
7089 /usr/X11R4/include \
7091 /usr/include/X11R6 \
7092 /usr/include/X11R5 \
7093 /usr/include/X11R4 \
7095 /usr/local/X11R6/include \
7096 /usr/local/X11R5/include \
7097 /usr/local/X11R4/include \
7099 /usr/local/include/X11R6 \
7100 /usr/local/include/X11R5 \
7101 /usr/local/include/X11R4 \
7105 /usr/local/X11/include \
7106 /usr/local/include/X11 \
7110 /usr/XFree86/include/X11 \
7112 X:/XFree86/include \
7113 X:/XFree86/include/X11 \
7116 /usr/local/include/gtk \
7118 /usr/local/include/glib \
7121 /usr/local/include/qt \
7123 /usr/include/windows \
7125 /usr/local/include/wine \
7127 /usr/unsupported/include \
7128 /usr/athena/include \
7129 /usr/local/x11r5/include \
7130 /usr/lpp/Xamples/include \
7132 /usr/openwin/share/include \
7136 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7139 cat > confcache
<<\EOF
7140 # This file is a shell script that caches the results of configure
7141 # tests run on this system so they can be shared between configure
7142 # scripts and configure runs. It is not useful on other systems.
7143 # If it contains results you don't want to keep, you may remove or edit it.
7145 # By default, configure uses ./config.cache as the cache file,
7146 # creating it if it does not exist already. You can give configure
7147 # the --cache-file=FILE option to use a different cache file; that is
7148 # what configure does when it calls configure scripts in
7149 # subdirectories, so they share the cache.
7150 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7151 # config.status only pays attention to the cache file if you give it the
7152 # --recheck option to rerun configure.
7155 # The following way of writing the cache mishandles newlines in values,
7156 # but we know of no workaround that is simple, portable, and efficient.
7157 # So, don't put newlines in cache variables' values.
7158 # Ultrix sh set writes to stderr and can't be redirected directly,
7159 # and sets the high bit in the cache file unless we assign to the vars.
7161 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7163 # `set' does not quote correctly, so add quotes (double-quote substitution
7164 # turns \\\\ into \\, and sed turns \\ into \).
7166 -e "s/'/'\\\\''/g" \
7167 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7170 # `set' quotes correctly as required by POSIX, so do not add quotes.
7171 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7174 if cmp -s $cache_file confcache
; then
7177 if test -w $cache_file; then
7178 echo "updating cache $cache_file"
7179 cat confcache
> $cache_file
7181 echo "not updating unwritable cache $cache_file"
7190 if test "$wxUSE_GUI" = "yes"; then
7210 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7211 if test "$cross_compiling" = "yes" ; then
7212 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7214 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7215 echo "configure:7216: checking for Windows headers" >&5
7218 for ac_dir
in $SEARCH_INCLUDE;
7220 if test -f "$ac_dir/windows.h"; then
7221 ac_find_includes
=$ac_dir
7226 if test "$ac_find_includes" != "" ; then
7227 echo "$ac_t""found $ac_find_includes" 1>&6
7228 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7230 echo "$ac_t""no" 1>&6
7231 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7235 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7236 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7238 if test "$wxUSE_ODBC" = "yes" ; then
7239 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7242 if test "$wxUSE_MINGW" = 1; then
7243 LDFLAGS
="$LDFLAGS -mwindows"
7248 GUIOBJS
="\$(MSW_GUIOBJS)"
7249 GUIHEADERS
="\$(MSW_HEADERS)"
7250 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7251 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7255 RCINCSWITCH
="--include-dir"
7256 RCDEFSWITCH
="--define"
7257 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7260 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7262 RESPROGRAM
="\$(RES_PROGRAM)"
7266 if test "$wxUSE_GTK" = 1; then
7267 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7268 if test "${with_gtk_prefix+set}" = set; then
7269 withval
="$with_gtk_prefix"
7270 gtk_config_prefix
="$withval"
7272 gtk_config_prefix
=""
7275 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7276 if test "${with_gtk_exec_prefix+set}" = set; then
7277 withval
="$with_gtk_exec_prefix"
7278 gtk_config_exec_prefix
="$withval"
7280 gtk_config_exec_prefix
=""
7283 # Check whether --enable-gtktest or --disable-gtktest was given.
7284 if test "${enable_gtktest+set}" = set; then
7285 enableval
="$enable_gtktest"
7292 for module
in . gthread
7296 gtk_config_args
="$gtk_config_args gthread"
7301 if test x
$gtk_config_exec_prefix != x
; then
7302 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7303 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7304 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7307 if test x
$gtk_config_prefix != x
; then
7308 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7309 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7310 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7314 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7315 set dummy gtk
-config-2.0
; ac_word
=$2
7316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7317 echo "configure:7318: checking for $ac_word" >&5
7318 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7319 echo $ac_n "(cached) $ac_c" 1>&6
7321 case "$GTK_CONFIG_2_0" in
7323 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7326 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7329 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7331 for ac_dir
in $ac_dummy; do
7332 test -z "$ac_dir" && ac_dir
=.
7333 if test -f $ac_dir/$ac_word; then
7334 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7339 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7343 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7344 if test -n "$GTK_CONFIG_2_0"; then
7345 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7347 echo "$ac_t""no" 1>&6
7350 min_gtk_version
=1.3.1
7351 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7352 echo "configure:7353: checking for GTK - version >= $min_gtk_version" >&5
7354 if test "$GTK_CONFIG_2_0" = "no" ; then
7357 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7358 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7359 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7361 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7363 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7364 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7365 if test "x$enable_gtktest" = "xyes" ; then
7366 ac_save_CFLAGS
="$CFLAGS"
7367 ac_save_LIBS
="$LIBS"
7368 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7369 LIBS
="$GTK_LIBS $LIBS"
7371 if test "$cross_compiling" = yes; then
7372 echo $ac_n "cross compiling; assumed OK... $ac_c"
7374 cat > conftest.
$ac_ext <<EOF
7375 #line 7376 "configure"
7376 #include "confdefs.h"
7378 #include <gtk/gtk.h>
7385 int major, minor, micro;
7388 system ("touch conf.gtktest");
7390 /* HP/UX 9 (%@#!) writes to sscanf strings */
7391 tmp_version = g_strdup("$min_gtk_version");
7392 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7393 printf("%s, bad version string\n", "$min_gtk_version");
7397 if ((gtk_major_version != $gtk_config_major_version) ||
7398 (gtk_minor_version != $gtk_config_minor_version) ||
7399 (gtk_micro_version != $gtk_config_micro_version))
7401 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7402 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7403 gtk_major_version, gtk_minor_version, gtk_micro_version);
7404 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7405 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7406 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7407 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7408 printf("*** required on your system.\n");
7409 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7410 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7411 printf("*** before re-running configure\n");
7413 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7414 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7415 (gtk_minor_version != GTK_MINOR_VERSION) ||
7416 (gtk_micro_version != GTK_MICRO_VERSION))
7418 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7419 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7420 printf("*** library (version %d.%d.%d)\n",
7421 gtk_major_version, gtk_minor_version, gtk_micro_version);
7423 #endif /* defined (GTK_MAJOR_VERSION) ... */
7426 if ((gtk_major_version > major) ||
7427 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7428 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7434 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7435 gtk_major_version, gtk_minor_version, gtk_micro_version);
7436 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7437 major, minor, micro);
7438 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7440 printf("*** If you have already installed a sufficiently new version, this error\n");
7441 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7442 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7443 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7444 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7445 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7446 printf("*** so that the correct libraries are found at run-time))\n");
7453 if { (eval echo configure
:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7457 echo "configure: failed program was:" >&5
7458 cat conftest.
$ac_ext >&5
7465 CFLAGS
="$ac_save_CFLAGS"
7466 LIBS
="$ac_save_LIBS"
7469 if test "x$no_gtk" = x
; then
7470 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7473 echo "$ac_t""no" 1>&6
7474 if test "$GTK_CONFIG_2_0" = "no" ; then
7475 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7476 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7477 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7478 echo "*** full path to gtk-config-2.0."
7480 if test -f conf.gtktest
; then
7483 echo "*** Could not run GTK test program, checking why..."
7484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7485 LIBS
="$LIBS $GTK_LIBS"
7486 cat > conftest.
$ac_ext <<EOF
7487 #line 7488 "configure"
7488 #include "confdefs.h"
7490 #include <gtk/gtk.h>
7494 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7497 if { (eval echo configure
:7498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7499 echo "*** The test program compiled, but did not run. This usually means"
7500 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7501 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7504 echo "*** is required on your system"
7506 echo "*** If you have an old version installed, it is best to remove it, although"
7507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7509 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7510 echo "*** came with the system with the command"
7512 echo "*** rpm --erase --nodeps gtk gtk-devel"
7514 echo "configure: failed program was:" >&5
7515 cat conftest.
$ac_ext >&5
7517 echo "*** The test program failed to compile or link. See the file config.log for the"
7518 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7519 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7520 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7523 CFLAGS
="$ac_save_CFLAGS"
7524 LIBS
="$ac_save_LIBS"
7531 if test x
$gtk_config_exec_prefix != x
; then
7532 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7533 if test x
${GTK_CONFIG+set} != xset
; then
7534 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7537 if test x
$gtk_config_prefix != x
; then
7538 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7539 if test x
${GTK_CONFIG+set} != xset
; then
7540 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7544 # Extract the first word of "gtk-config", so it can be a program name with args.
7545 set dummy gtk
-config; ac_word
=$2
7546 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7547 echo "configure:7548: checking for $ac_word" >&5
7548 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7549 echo $ac_n "(cached) $ac_c" 1>&6
7551 case "$GTK_CONFIG" in
7553 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7556 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7559 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7561 for ac_dir
in $ac_dummy; do
7562 test -z "$ac_dir" && ac_dir
=.
7563 if test -f $ac_dir/$ac_word; then
7564 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7569 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7573 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7574 if test -n "$GTK_CONFIG"; then
7575 echo "$ac_t""$GTK_CONFIG" 1>&6
7577 echo "$ac_t""no" 1>&6
7580 min_gtk_version
=1.2.7
7581 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7582 echo "configure:7583: checking for GTK - version >= $min_gtk_version" >&5
7584 if test "$GTK_CONFIG" != "no" ; then
7585 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7586 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7587 ac_save_CFLAGS
="$CFLAGS"
7588 ac_save_LIBS
="$LIBS"
7589 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7590 LIBS
="$LIBS $GTK_LIBS"
7591 if test "$cross_compiling" = yes; then
7592 echo $ac_n "cross compiling; assumed OK... $ac_c"
7594 cat > conftest.
$ac_ext <<EOF
7595 #line 7596 "configure"
7596 #include "confdefs.h"
7598 #include <gtk/gtk.h>
7599 #include <gtk/gtkfeatures.h>
7606 int major, minor, micro;
7608 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7609 printf("%s, bad version string\n", "$min_gtk_version");
7613 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7614 (GTK_MINOR_VERSION != gtk_minor_version) ||
7615 (GTK_MICRO_VERSION != gtk_micro_version)) {
7616 printf("Headers vs. library version mismatch!\n");
7620 if (gtk_minor_version == 1) return FALSE;
7622 return !((gtk_major_version > major) ||
7623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7628 if { (eval echo configure
:7629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7632 echo "configure: failed program was:" >&5
7633 cat conftest.
$ac_ext >&5
7640 CFLAGS
="$ac_save_CFLAGS"
7641 LIBS
="$ac_save_LIBS"
7645 if test "x$no_gtk" = x
; then
7646 echo "$ac_t""yes" 1>&6
7649 echo "$ac_t""no" 1>&6
7658 if test x
$gtk_config_exec_prefix != x
; then
7659 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7660 if test x
${GTK_CONFIG+set} != xset
; then
7661 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7664 if test x
$gtk_config_prefix != x
; then
7665 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7666 if test x
${GTK_CONFIG+set} != xset
; then
7667 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7671 # Extract the first word of "gtk-config", so it can be a program name with args.
7672 set dummy gtk
-config; ac_word
=$2
7673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7674 echo "configure:7675: checking for $ac_word" >&5
7675 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7676 echo $ac_n "(cached) $ac_c" 1>&6
7678 case "$GTK_CONFIG" in
7680 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7683 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7686 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7688 for ac_dir
in $ac_dummy; do
7689 test -z "$ac_dir" && ac_dir
=.
7690 if test -f $ac_dir/$ac_word; then
7691 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7696 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7700 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7701 if test -n "$GTK_CONFIG"; then
7702 echo "$ac_t""$GTK_CONFIG" 1>&6
7704 echo "$ac_t""no" 1>&6
7707 min_gtk_version
=1.2.3
7708 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7709 echo "configure:7710: checking for GTK - version >= $min_gtk_version" >&5
7711 if test "$GTK_CONFIG" != "no" ; then
7712 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7713 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7714 ac_save_CFLAGS
="$CFLAGS"
7715 ac_save_LIBS
="$LIBS"
7716 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7717 LIBS
="$LIBS $GTK_LIBS"
7718 if test "$cross_compiling" = yes; then
7719 echo $ac_n "cross compiling; assumed OK... $ac_c"
7721 cat > conftest.
$ac_ext <<EOF
7722 #line 7723 "configure"
7723 #include "confdefs.h"
7725 #include <gtk/gtk.h>
7726 #include <gtk/gtkfeatures.h>
7733 int major, minor, micro;
7735 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7736 printf("%s, bad version string\n", "$min_gtk_version");
7740 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7741 (GTK_MINOR_VERSION != gtk_minor_version) ||
7742 (GTK_MICRO_VERSION != gtk_micro_version)) {
7743 printf("Headers vs. library version mismatch!\n");
7747 if (gtk_minor_version == 1) return FALSE;
7749 return !((gtk_major_version > major) ||
7750 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7751 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7755 if { (eval echo configure
:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7759 echo "configure: failed program was:" >&5
7760 cat conftest.
$ac_ext >&5
7767 CFLAGS
="$ac_save_CFLAGS"
7768 LIBS
="$ac_save_LIBS"
7772 if test "x$no_gtk" = x
; then
7773 echo "$ac_t""yes" 1>&6
7776 echo "$ac_t""no" 1>&6
7791 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7792 { echo "configure: error:
7793 Please check that gtk-config is in path, the directory
7794 where GTK+ libraries are installed (returned by
7795 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7796 equivalent variable and GTK+ is version 1.2.3 or above.
7800 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7803 GUI_TK_LIBRARY
="$GTK_LIBS"
7807 AFMINSTALL
=afminstall
7809 GUIOBJS
="\$(GTK_GUIOBJS)"
7810 GUIHEADERS
="\$(GTK_HEADERS)"
7811 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7812 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7813 GUIDEPS
="\$(GTK_GUIDEPS)"
7814 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7815 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7816 UNIXOBJS
="\$(UNIX_OBJS)"
7817 UNIXDEPS
="\$(UNIX_DEPS)"
7820 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7821 echo "configure:7822: checking for gdk_im_open in -lgdk" >&5
7822 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7824 echo $ac_n "(cached) $ac_c" 1>&6
7826 ac_save_LIBS
="$LIBS"
7828 cat > conftest.
$ac_ext <<EOF
7829 #line 7830 "configure"
7830 #include "confdefs.h"
7831 /* Override any gcc2 internal prototype to avoid an error. */
7832 /* We use char because int might match the return type of a gcc2
7833 builtin and then its argument prototype would still apply. */
7840 if { (eval echo configure
:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7842 eval "ac_cv_lib_$ac_lib_var=yes"
7844 echo "configure: failed program was:" >&5
7845 cat conftest.
$ac_ext >&5
7847 eval "ac_cv_lib_$ac_lib_var=no"
7850 LIBS
="$ac_save_LIBS"
7853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7854 echo "$ac_t""yes" 1>&6
7855 cat >> confdefs.h
<<\EOF
7860 echo "$ac_t""no" 1>&6
7865 if test "$wxUSE_WINE" = 1; then
7866 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7867 echo "configure:7868: checking for WINE includes" >&5
7870 for ac_dir
in $SEARCH_INCLUDE;
7872 if test -f "$ac_dir/windows.h"; then
7873 ac_find_includes
=$ac_dir
7878 if test "$ac_find_includes" != "" ; then
7879 echo "$ac_t""found $ac_find_includes" 1>&6
7880 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7882 echo "$ac_t""no" 1>&6
7883 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7887 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7888 echo "configure:7889: checking for Xpm library" >&5
7891 for ac_dir
in $SEARCH_LIB;
7893 for ac_extension
in a so sl
; do
7894 if test -f "$ac_dir/libXpm.$ac_extension"; then
7895 ac_find_libraries
=$ac_dir
7901 if test "$ac_find_libraries" != "" ; then
7902 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7904 cat >> confdefs.h
<<\EOF
7905 #define wxHAVE_LIB_XPM 1
7908 echo "$ac_t""found at $ac_find_libraries" 1>&6
7910 echo "$ac_t""no" 1>&6
7911 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7915 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7916 echo "configure:7917: checking for Mesa library" >&5
7919 for ac_dir
in $SEARCH_LIB;
7921 for ac_extension
in a so sl
; do
7922 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7923 ac_find_libraries
=$ac_dir
7929 if test "$ac_find_libraries" != "" ; then
7930 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7931 MESA_LINK
="-lMesaGL"
7932 echo "$ac_t""found at $ac_find_libraries" 1>&6
7934 { echo "configure: error: no" 1>&2; exit 1; }
7937 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7938 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7942 GUIHEADERS
="\$(MSW_HEADERS)"
7943 GUIOBJS
="\$(MSW_GUIOBJS)"
7944 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7945 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7946 GUIDEPS
="\$(MSW_GUIDEPS)"
7947 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7948 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7949 UNIXOBJS
="\$(UNIX_OBJS)"
7950 UNIXDEPS
="\$(UNIX_DEPS)"
7955 # If we find X, set shell vars x_includes and x_libraries to the
7956 # paths, otherwise set no_x=yes.
7957 # Uses ac_ vars as temps to allow command line to override cache and checks.
7958 # --without-x overrides everything else, but does not touch the cache.
7959 echo $ac_n "checking for X""... $ac_c" 1>&6
7960 echo "configure:7961: checking for X" >&5
7962 # Check whether --with-x or --without-x was given.
7963 if test "${with_x+set}" = set; then
7968 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7969 if test "x$with_x" = xno
; then
7970 # The user explicitly disabled X.
7973 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7974 # Both variables are already set.
7977 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7978 echo $ac_n "(cached) $ac_c" 1>&6
7980 # One or both of the vars are not set, and there is no cached value.
7981 ac_x_includes
=NO ac_x_libraries
=NO
7983 if mkdir conftestdir
; then
7985 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7986 cat > Imakefile
<<'EOF'
7988 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7990 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7991 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7992 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7993 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7994 for ac_extension
in a so sl
; do
7995 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7996 test -f $ac_im_libdir/libX11.
$ac_extension; then
7997 ac_im_usrlibdir
=$ac_im_libdir; break
8000 # Screen out bogus values from the imake configuration. They are
8001 # bogus both because they are the default anyway, and because
8002 # using them would break gcc on systems where it needs fixed includes.
8003 case "$ac_im_incroot" in
8005 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
8007 case "$ac_im_usrlibdir" in
8009 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
8016 if test "$ac_x_includes" = NO
; then
8017 # Guess where to find include files, by looking for this one X11 .h file.
8018 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
8020 # First, try using that file with no special directory specified.
8021 cat > conftest.
$ac_ext <<EOF
8022 #line 8023 "configure"
8023 #include "confdefs.h"
8024 #include <$x_direct_test_include>
8026 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8027 { (eval echo configure
:8028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8028 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8029 if test -z "$ac_err"; then
8031 # We can compile using X headers with no special include directory.
8035 echo "configure: failed program was:" >&5
8036 cat conftest.
$ac_ext >&5
8038 # Look for the header file in a standard set of common directories.
8039 # Check X11 before X11Rn because it is often a symlink to the current release.
8042 /usr
/X
11R
6/include \
8043 /usr
/X
11R
5/include \
8044 /usr
/X
11R
4/include \
8047 /usr
/include
/X11R6 \
8048 /usr
/include
/X11R5 \
8049 /usr
/include
/X11R4 \
8051 /usr
/local
/X
11/include \
8052 /usr
/local
/X
11R
6/include \
8053 /usr
/local
/X
11R
5/include \
8054 /usr
/local
/X
11R
4/include \
8056 /usr
/local
/include
/X11 \
8057 /usr
/local
/include
/X11R6 \
8058 /usr
/local
/include
/X11R5 \
8059 /usr
/local
/include
/X11R4 \
8063 /usr
/XFree
86/include
/X11 \
8066 /usr
/local
/include \
8067 /usr
/unsupported
/include \
8068 /usr
/athena
/include \
8069 /usr
/local
/x
11r
5/include \
8070 /usr
/lpp
/Xamples
/include \
8072 /usr
/openwin
/include \
8073 /usr
/openwin
/share
/include \
8076 if test -r "$ac_dir/$x_direct_test_include"; then
8077 ac_x_includes
=$ac_dir
8083 fi # $ac_x_includes = NO
8085 if test "$ac_x_libraries" = NO
; then
8086 # Check for the libraries.
8088 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8089 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8091 # See if we find them without any special options.
8092 # Don't add to $LIBS permanently.
8093 ac_save_LIBS
="$LIBS"
8094 LIBS
="-l$x_direct_test_library $LIBS"
8095 cat > conftest.
$ac_ext <<EOF
8096 #line 8097 "configure"
8097 #include "confdefs.h"
8100 ${x_direct_test_function}()
8103 if { (eval echo configure
:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8105 LIBS
="$ac_save_LIBS"
8106 # We can link X programs with no special library path.
8109 echo "configure: failed program was:" >&5
8110 cat conftest.
$ac_ext >&5
8112 LIBS
="$ac_save_LIBS"
8113 # First see if replacing the include by lib works.
8114 # Check X11 before X11Rn because it is often a symlink to the current release.
8115 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8126 /usr
/local
/X
11/lib \
8127 /usr
/local
/X
11R
6/lib \
8128 /usr
/local
/X
11R
5/lib \
8129 /usr
/local
/X
11R
4/lib \
8131 /usr
/local
/lib
/X11 \
8132 /usr
/local
/lib
/X11R6 \
8133 /usr
/local
/lib
/X11R5 \
8134 /usr
/local
/lib
/X11R4 \
8138 /usr
/XFree
86/lib
/X11 \
8142 /usr
/unsupported
/lib \
8144 /usr
/local
/x
11r
5/lib \
8145 /usr
/lpp
/Xamples
/lib \
8149 /usr
/openwin
/share
/lib \
8152 for ac_extension
in a so sl
; do
8153 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8154 ac_x_libraries
=$ac_dir
8161 fi # $ac_x_libraries = NO
8163 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8164 # Didn't find X anywhere. Cache the known absence of X.
8165 ac_cv_have_x
="have_x=no"
8167 # Record where we found X for the cache.
8168 ac_cv_have_x
="have_x=yes \
8169 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8173 eval "$ac_cv_have_x"
8176 if test "$have_x" != yes; then
8177 echo "$ac_t""$have_x" 1>&6
8180 # If each of the values was on the command line, it overrides each guess.
8181 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8182 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8183 # Update the cache value to reflect the command line values.
8184 ac_cv_have_x
="have_x=yes \
8185 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8186 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8189 if test "$no_x" = yes; then
8190 # Not all programs may use this symbol, but it does not hurt to define it.
8191 cat >> confdefs.h
<<\EOF
8192 #define X_DISPLAY_MISSING 1
8195 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8197 if test -n "$x_includes"; then
8198 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8201 # It would also be nice to do this for all -L options, not just this one.
8202 if test -n "$x_libraries"; then
8203 X_LIBS
="$X_LIBS -L$x_libraries"
8204 # For Solaris; some versions of Sun CC require a space after -R and
8205 # others require no space. Words are not sufficient . . . .
8206 case "`(uname -sr) 2>/dev/null`" in
8208 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8209 echo "configure:8210: checking whether -R must be followed by a space" >&5
8210 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8211 cat > conftest.
$ac_ext <<EOF
8212 #line 8213 "configure"
8213 #include "confdefs.h"
8219 if { (eval echo configure
:8220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8223 echo "configure: failed program was:" >&5
8224 cat conftest.
$ac_ext >&5
8229 if test $ac_R_nospace = yes; then
8230 echo "$ac_t""no" 1>&6
8231 X_LIBS
="$X_LIBS -R$x_libraries"
8233 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8234 cat > conftest.
$ac_ext <<EOF
8235 #line 8236 "configure"
8236 #include "confdefs.h"
8242 if { (eval echo configure
:8243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8246 echo "configure: failed program was:" >&5
8247 cat conftest.
$ac_ext >&5
8252 if test $ac_R_space = yes; then
8253 echo "$ac_t""yes" 1>&6
8254 X_LIBS
="$X_LIBS -R $x_libraries"
8256 echo "$ac_t""neither works" 1>&6
8259 LIBS
="$ac_xsave_LIBS"
8263 # Check for system-dependent libraries X programs must link with.
8264 # Do this before checking for the system-independent R6 libraries
8265 # (-lICE), since we may need -lsocket or whatever for X linking.
8267 if test "$ISC" = yes; then
8268 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8270 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8271 # libraries were built with DECnet support. And karl@cs.umb.edu says
8272 # the Alpha needs dnet_stub (dnet does not exist).
8273 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8274 echo "configure:8275: checking for dnet_ntoa in -ldnet" >&5
8275 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8277 echo $ac_n "(cached) $ac_c" 1>&6
8279 ac_save_LIBS
="$LIBS"
8281 cat > conftest.
$ac_ext <<EOF
8282 #line 8283 "configure"
8283 #include "confdefs.h"
8284 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8293 if { (eval echo configure
:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8295 eval "ac_cv_lib_$ac_lib_var=yes"
8297 echo "configure: failed program was:" >&5
8298 cat conftest.
$ac_ext >&5
8300 eval "ac_cv_lib_$ac_lib_var=no"
8303 LIBS
="$ac_save_LIBS"
8306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8307 echo "$ac_t""yes" 1>&6
8308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8310 echo "$ac_t""no" 1>&6
8313 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8314 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8315 echo "configure:8316: checking for dnet_ntoa in -ldnet_stub" >&5
8316 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8318 echo $ac_n "(cached) $ac_c" 1>&6
8320 ac_save_LIBS
="$LIBS"
8321 LIBS
="-ldnet_stub $LIBS"
8322 cat > conftest.
$ac_ext <<EOF
8323 #line 8324 "configure"
8324 #include "confdefs.h"
8325 /* Override any gcc2 internal prototype to avoid an error. */
8326 /* We use char because int might match the return type of a gcc2
8327 builtin and then its argument prototype would still apply. */
8334 if { (eval echo configure
:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8336 eval "ac_cv_lib_$ac_lib_var=yes"
8338 echo "configure: failed program was:" >&5
8339 cat conftest.
$ac_ext >&5
8341 eval "ac_cv_lib_$ac_lib_var=no"
8344 LIBS
="$ac_save_LIBS"
8347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8348 echo "$ac_t""yes" 1>&6
8349 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8351 echo "$ac_t""no" 1>&6
8356 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8357 # to get the SysV transport functions.
8358 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8360 # The nsl library prevents programs from opening the X display
8361 # on Irix 5.2, according to dickey@clark.net.
8362 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8363 echo "configure:8364: checking for gethostbyname" >&5
8364 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8365 echo $ac_n "(cached) $ac_c" 1>&6
8367 cat > conftest.
$ac_ext <<EOF
8368 #line 8369 "configure"
8369 #include "confdefs.h"
8370 /* System header to define __stub macros and hopefully few prototypes,
8371 which can conflict with char gethostbyname(); below. */
8373 /* Override any gcc2 internal prototype to avoid an error. */
8374 /* We use char because int might match the return type of a gcc2
8375 builtin and then its argument prototype would still apply. */
8376 char gethostbyname();
8380 /* The GNU C library defines this for functions which it implements
8381 to always fail with ENOSYS. Some functions are actually named
8382 something starting with __ and the normal name is an alias. */
8383 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8391 if { (eval echo configure
:8392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8393 eval "ac_cv_func_gethostbyname=yes"
8395 echo "configure: failed program was:" >&5
8396 cat conftest.
$ac_ext >&5
8398 eval "ac_cv_func_gethostbyname=no"
8403 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8404 echo "$ac_t""yes" 1>&6
8407 echo "$ac_t""no" 1>&6
8410 if test $ac_cv_func_gethostbyname = no
; then
8411 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8412 echo "configure:8413: checking for gethostbyname in -lnsl" >&5
8413 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8415 echo $ac_n "(cached) $ac_c" 1>&6
8417 ac_save_LIBS
="$LIBS"
8419 cat > conftest.
$ac_ext <<EOF
8420 #line 8421 "configure"
8421 #include "confdefs.h"
8422 /* Override any gcc2 internal prototype to avoid an error. */
8423 /* We use char because int might match the return type of a gcc2
8424 builtin and then its argument prototype would still apply. */
8425 char gethostbyname();
8431 if { (eval echo configure
:8432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8433 eval "ac_cv_lib_$ac_lib_var=yes"
8435 echo "configure: failed program was:" >&5
8436 cat conftest.
$ac_ext >&5
8438 eval "ac_cv_lib_$ac_lib_var=no"
8441 LIBS
="$ac_save_LIBS"
8444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8445 echo "$ac_t""yes" 1>&6
8446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8448 echo "$ac_t""no" 1>&6
8453 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8454 # socket/setsockopt and other routines are undefined under SCO ODT
8455 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8456 # on later versions), says simon@lia.di.epfl.ch: it contains
8457 # gethostby* variants that don't use the nameserver (or something).
8458 # -lsocket must be given before -lnsl if both are needed.
8459 # We assume that if connect needs -lnsl, so does gethostbyname.
8460 echo $ac_n "checking for connect""... $ac_c" 1>&6
8461 echo "configure:8462: checking for connect" >&5
8462 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8463 echo $ac_n "(cached) $ac_c" 1>&6
8465 cat > conftest.
$ac_ext <<EOF
8466 #line 8467 "configure"
8467 #include "confdefs.h"
8468 /* System header to define __stub macros and hopefully few prototypes,
8469 which can conflict with char connect(); below. */
8471 /* Override any gcc2 internal prototype to avoid an error. */
8472 /* We use char because int might match the return type of a gcc2
8473 builtin and then its argument prototype would still apply. */
8478 /* The GNU C library defines this for functions which it implements
8479 to always fail with ENOSYS. Some functions are actually named
8480 something starting with __ and the normal name is an alias. */
8481 #if defined (__stub_connect) || defined (__stub___connect)
8489 if { (eval echo configure
:8490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8491 eval "ac_cv_func_connect=yes"
8493 echo "configure: failed program was:" >&5
8494 cat conftest.
$ac_ext >&5
8496 eval "ac_cv_func_connect=no"
8501 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8502 echo "$ac_t""yes" 1>&6
8505 echo "$ac_t""no" 1>&6
8508 if test $ac_cv_func_connect = no
; then
8509 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8510 echo "configure:8511: checking for connect in -lsocket" >&5
8511 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8513 echo $ac_n "(cached) $ac_c" 1>&6
8515 ac_save_LIBS
="$LIBS"
8516 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8517 cat > conftest.
$ac_ext <<EOF
8518 #line 8519 "configure"
8519 #include "confdefs.h"
8520 /* Override any gcc2 internal prototype to avoid an error. */
8521 /* We use char because int might match the return type of a gcc2
8522 builtin and then its argument prototype would still apply. */
8529 if { (eval echo configure
:8530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8531 eval "ac_cv_lib_$ac_lib_var=yes"
8533 echo "configure: failed program was:" >&5
8534 cat conftest.
$ac_ext >&5
8536 eval "ac_cv_lib_$ac_lib_var=no"
8539 LIBS
="$ac_save_LIBS"
8542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8543 echo "$ac_t""yes" 1>&6
8544 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8546 echo "$ac_t""no" 1>&6
8551 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8552 echo $ac_n "checking for remove""... $ac_c" 1>&6
8553 echo "configure:8554: checking for remove" >&5
8554 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8555 echo $ac_n "(cached) $ac_c" 1>&6
8557 cat > conftest.
$ac_ext <<EOF
8558 #line 8559 "configure"
8559 #include "confdefs.h"
8560 /* System header to define __stub macros and hopefully few prototypes,
8561 which can conflict with char remove(); below. */
8563 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8570 /* The GNU C library defines this for functions which it implements
8571 to always fail with ENOSYS. Some functions are actually named
8572 something starting with __ and the normal name is an alias. */
8573 #if defined (__stub_remove) || defined (__stub___remove)
8581 if { (eval echo configure
:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8583 eval "ac_cv_func_remove=yes"
8585 echo "configure: failed program was:" >&5
8586 cat conftest.
$ac_ext >&5
8588 eval "ac_cv_func_remove=no"
8593 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8594 echo "$ac_t""yes" 1>&6
8597 echo "$ac_t""no" 1>&6
8600 if test $ac_cv_func_remove = no
; then
8601 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8602 echo "configure:8603: checking for remove in -lposix" >&5
8603 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8605 echo $ac_n "(cached) $ac_c" 1>&6
8607 ac_save_LIBS
="$LIBS"
8608 LIBS
="-lposix $LIBS"
8609 cat > conftest.
$ac_ext <<EOF
8610 #line 8611 "configure"
8611 #include "confdefs.h"
8612 /* Override any gcc2 internal prototype to avoid an error. */
8613 /* We use char because int might match the return type of a gcc2
8614 builtin and then its argument prototype would still apply. */
8621 if { (eval echo configure
:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8623 eval "ac_cv_lib_$ac_lib_var=yes"
8625 echo "configure: failed program was:" >&5
8626 cat conftest.
$ac_ext >&5
8628 eval "ac_cv_lib_$ac_lib_var=no"
8631 LIBS
="$ac_save_LIBS"
8634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8635 echo "$ac_t""yes" 1>&6
8636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8638 echo "$ac_t""no" 1>&6
8643 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8644 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8645 echo "configure:8646: checking for shmat" >&5
8646 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8647 echo $ac_n "(cached) $ac_c" 1>&6
8649 cat > conftest.
$ac_ext <<EOF
8650 #line 8651 "configure"
8651 #include "confdefs.h"
8652 /* System header to define __stub macros and hopefully few prototypes,
8653 which can conflict with char shmat(); below. */
8655 /* Override any gcc2 internal prototype to avoid an error. */
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8662 /* The GNU C library defines this for functions which it implements
8663 to always fail with ENOSYS. Some functions are actually named
8664 something starting with __ and the normal name is an alias. */
8665 #if defined (__stub_shmat) || defined (__stub___shmat)
8673 if { (eval echo configure
:8674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8675 eval "ac_cv_func_shmat=yes"
8677 echo "configure: failed program was:" >&5
8678 cat conftest.
$ac_ext >&5
8680 eval "ac_cv_func_shmat=no"
8685 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8686 echo "$ac_t""yes" 1>&6
8689 echo "$ac_t""no" 1>&6
8692 if test $ac_cv_func_shmat = no
; then
8693 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8694 echo "configure:8695: checking for shmat in -lipc" >&5
8695 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8696 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8697 echo $ac_n "(cached) $ac_c" 1>&6
8699 ac_save_LIBS
="$LIBS"
8701 cat > conftest.
$ac_ext <<EOF
8702 #line 8703 "configure"
8703 #include "confdefs.h"
8704 /* Override any gcc2 internal prototype to avoid an error. */
8705 /* We use char because int might match the return type of a gcc2
8706 builtin and then its argument prototype would still apply. */
8713 if { (eval echo configure
:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8715 eval "ac_cv_lib_$ac_lib_var=yes"
8717 echo "configure: failed program was:" >&5
8718 cat conftest.
$ac_ext >&5
8720 eval "ac_cv_lib_$ac_lib_var=no"
8723 LIBS
="$ac_save_LIBS"
8726 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8727 echo "$ac_t""yes" 1>&6
8728 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8730 echo "$ac_t""no" 1>&6
8736 # Check for libraries that X11R6 Xt/Xaw programs need.
8737 ac_save_LDFLAGS
="$LDFLAGS"
8738 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8739 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8740 # check for ICE first), but we must link in the order -lSM -lICE or
8741 # we get undefined symbols. So assume we have SM if we have ICE.
8742 # These have to be linked with before -lX11, unlike the other
8743 # libraries we check for below, so use a different variable.
8744 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8745 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8746 echo "configure:8747: checking for IceConnectionNumber in -lICE" >&5
8747 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8748 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8749 echo $ac_n "(cached) $ac_c" 1>&6
8751 ac_save_LIBS
="$LIBS"
8752 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8753 cat > conftest.
$ac_ext <<EOF
8754 #line 8755 "configure"
8755 #include "confdefs.h"
8756 /* Override any gcc2 internal prototype to avoid an error. */
8757 /* We use char because int might match the return type of a gcc2
8758 builtin and then its argument prototype would still apply. */
8759 char IceConnectionNumber();
8762 IceConnectionNumber()
8765 if { (eval echo configure
:8766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8767 eval "ac_cv_lib_$ac_lib_var=yes"
8769 echo "configure: failed program was:" >&5
8770 cat conftest.
$ac_ext >&5
8772 eval "ac_cv_lib_$ac_lib_var=no"
8775 LIBS
="$ac_save_LIBS"
8778 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8779 echo "$ac_t""yes" 1>&6
8780 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8782 echo "$ac_t""no" 1>&6
8785 LDFLAGS
="$ac_save_LDFLAGS"
8789 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8790 LDFLAGS
="$LDFLAGS $X_LIBS"
8792 if test "$wxUSE_MOTIF" = 1; then
8793 if test "$no_x" = "yes"; then
8794 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8797 GUI_TK_LIBRARY
="$X_LIBS"
8798 TOOLKIT_INCLUDE
="$X_CFLAGS"
8800 AFMINSTALL
=afminstall
8803 COMPILED_X_PROGRAM
=0
8805 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8806 echo "configure:8807: checking for Motif/Lesstif headers" >&5
8809 for ac_dir
in $SEARCH_INCLUDE;
8811 if test -f "$ac_dir/Xm/Xm.h"; then
8812 ac_find_includes
=$ac_dir
8817 if test "$ac_find_includes" != "" ; then
8818 echo "$ac_t""found $ac_find_includes" 1>&6
8820 cat > conftest.
$ac_ext <<EOF
8821 #line 8822 "configure"
8822 #include "confdefs.h"
8830 version = xmUseVersion;
8834 if { (eval echo configure
:8835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8837 echo "$ac_t""found in default search path" 1>&6
8838 COMPILED_X_PROGRAM
=1
8841 echo "configure: failed program was:" >&5
8842 cat conftest.
$ac_ext >&5
8845 echo "$ac_t""no" 1>&6
8846 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8853 if test "$COMPILED_X_PROGRAM" = 0; then
8854 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8855 echo "configure:8856: checking for Motif/Lesstif library" >&5
8858 for ac_dir
in $SEARCH_LIB;
8860 for ac_extension
in a so sl
; do
8861 if test -f "$ac_dir/libXm.$ac_extension"; then
8862 ac_find_libraries
=$ac_dir
8868 if test "$ac_find_libraries" != "" ; then
8870 ac_path_to_include
=$ac_find_includes
8871 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8873 if test $result = 0; then
8874 ac_path_to_include
=""
8876 ac_path_to_include
="-I$ac_find_includes"
8880 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8882 if test $result = 0; then
8885 ac_path_to_link
="-L$ac_find_libraries"
8889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8890 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8891 echo "$ac_t""found at $ac_find_libraries" 1>&6
8893 cat > conftest.
$ac_ext <<EOF
8894 #line 8895 "configure"
8895 #include "confdefs.h"
8903 version = xmUseVersion;
8907 if { (eval echo configure
:8908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8910 echo "$ac_t""found in default search path" 1>&6
8911 COMPILED_X_PROGRAM
=1
8914 echo "configure: failed program was:" >&5
8915 cat conftest.
$ac_ext >&5
8918 echo "$ac_t""no" 1>&6
8919 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8929 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8930 echo "configure:8931: checking for Xpm library" >&5
8933 for ac_dir
in $SEARCH_LIB;
8935 for ac_extension
in a so sl
; do
8936 if test -f "$ac_dir/libXpm.$ac_extension"; then
8937 ac_find_libraries
=$ac_dir
8943 if test "$ac_find_libraries" != "" ; then
8945 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8947 if test $result = 0; then
8950 ac_path_to_link
="-L$ac_find_libraries"
8953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8955 cat >> confdefs.h
<<\EOF
8956 #define wxHAVE_LIB_XPM 1
8959 echo "$ac_t""found at $ac_find_libraries" 1>&6
8961 cat > conftest.
$ac_ext <<EOF
8962 #line 8963 "configure"
8963 #include "confdefs.h"
8965 #include <X11/xpm.h>
8971 version = XpmLibraryVersion();
8975 if { (eval echo configure
:8976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8979 cat >> confdefs.h
<<\EOF
8980 #define wxHAVE_LIB_XPM 1
8983 echo "$ac_t""found in default search path" 1>&6
8984 COMPILED_X_PROGRAM
=0
8987 echo "configure: failed program was:" >&5
8988 cat conftest.
$ac_ext >&5
8991 echo "$ac_t""no" 1>&6
8992 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8999 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
9000 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9003 GUIHEADERS
="\$(MOTIF_HEADERS)"
9004 GUIOBJS
="\$(MOTIF_GUIOBJS)"
9005 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
9006 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
9007 GUIDEPS
="\$(MOTIF_GUIDEPS)"
9008 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
9009 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
9010 UNIXOBJS
="\$(UNIX_OBJS)"
9011 UNIXDEPS
="\$(UNIX_DEPS)"
9015 if test "$wxUSE_MAC" = 1; then
9017 UNIXOBJS
="\$(UNIX_OBJS)"
9018 UNIXDEPS
="\$(UNIX_DEPS)"
9022 if test "$wxUSE_PM" = 1; then
9025 GUIOBJS
="\$(PM_GUIOBJS)"
9026 GUIHEADERS
="\$(PM_HEADERS)"
9027 COMMONOBJS
="\$(PM_COMMONOBJS)"
9028 GENERICOBJS
="\$(PM_GENERICOBJS)"
9029 GUIDEPS
="\$(PM_GUIDEPS)"
9030 COMMONDEPS
="\$(PM_COMMONDEPS)"
9031 GENERICDEPS
="\$(PM_GENERICDEPS)"
9037 if test "$TOOLKIT" != "PM" ; then
9038 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9043 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9044 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9046 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9049 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9051 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9053 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9055 if test "$TOOLKIT" != "MSW"; then
9056 if test "$wxUSE_ODBC" = "yes" ; then
9057 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9061 if test "$wxUSE_LIBJPEG" = "yes" ; then
9062 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9064 if test "$wxUSE_LIBTIFF" = "yes" ; then
9065 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9067 if test "$wxUSE_LIBPNG" = "yes" ; then
9068 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9070 if test "$wxUSE_ZLIB" = "yes" ; then
9071 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9073 if test "$wxUSE_FREETYPE" = "yes" ; then
9074 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9076 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9078 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9079 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9080 RPM_SPEC
="wx\$(TOOLKIT).spec"
9082 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9083 DISTDIR
="wx\$(TOOLKIT)"
9089 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9090 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9092 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9095 TOOLKIT_DEF
="-D__WXBASE__"
9097 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9098 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9100 if test "$wxUSE_ZLIB" = "yes" ; then
9101 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9104 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9106 PORT_FILES
="src/files.lst"
9107 RPM_FILES
="src/rpmfiles.lst"
9108 RPM_SPEC
="wxBase.spec"
9113 if test "$USE_UNIX" = 1 ; then
9114 ALL_OBJECTS
="${ALL_OBJECTS} dl_macosx.o"
9115 ALL_DEPFILES
="${ALL_DEPFILES} dl_macosx.d"
9119 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9120 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9122 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9123 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9125 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9126 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9128 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9129 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9130 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9131 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9132 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9133 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9140 WX_TARGET_LIBRARY_SONAME
=
9143 if test "$wxUSE_SHARED" = "yes"; then
9146 if test "$GCC" = yes ; then
9147 SHARED_LD
="${CC} -shared -fPIC -o"
9150 LDFLAGS
="-L/usr/lib"
9152 SHARED_LD
="${CXX} -b -o"
9155 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9156 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9157 if test "$wxUSE_OPENGL" = "yes"; then
9158 WX_ALL_INSTALLED
="preinstall_gl"
9159 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9161 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9166 SHARED_LD
="${CC} -shared -o"
9168 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9169 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9170 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9171 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9173 if test "$wxUSE_OPENGL" = "yes"; then
9174 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9175 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9177 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9178 WX_ALL
="CREATE_LINKS"
9181 *-*-irix5* | *-*-irix6* )
9182 if test "$GCC" = yes ; then
9183 SHARED_LD
="${CC} -shared -o"
9186 SHARED_LD
="${CXX} -shared -o"
9188 if test "$wxUSE_OPENGL" = "yes"; then
9189 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9190 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9192 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9193 WX_ALL
="CREATE_LINKS"
9197 if test "$GCC" = yes ; then
9198 SHARED_LD
="${CC} -shared -o"
9201 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9203 SHARED_LD
="${CXX} -G -o"
9206 if test "$wxUSE_OPENGL" = "yes"; then
9207 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9208 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9210 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9211 WX_ALL
="CREATE_LINKS"
9215 SHARED_LD
="${CC} -shared -o"
9217 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9218 WX_ALL
="CREATE_LINKS"
9220 *-*-freebsd* | *-*-netbsd* )
9221 SHARED_LD
="${CC} -shared -o"
9223 if test "$wxUSE_OPENGL" = "yes"; then
9224 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9225 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9227 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9228 WX_ALL
="CREATE_LINKS"
9232 SHARED_LD
="libtool -dynamic -o"
9234 if test "$wxUSE_OPENGL" = "yes"; then
9235 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9236 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9238 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9239 WX_ALL
="CREATE_LINKS"
9243 SHARED_LD
="${CXX} -shared -o"
9245 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9246 WX_ALL
="CREATE_LINKS"
9249 SHARED_LD
="${CXX} -shared -o"
9251 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9252 WX_ALL
="CREATE_LINKS"
9255 SHARED_LD
="${CC} -shared -o"
9257 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9258 WX_ALL
="CREATE_LINKS"
9261 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9262 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9265 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9266 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9267 if test "$wxUSE_OPENGL" = "yes"; then
9268 WX_ALL_INSTALLED
="preinstall_gl"
9269 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9271 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9275 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9276 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9277 if test "$wxUSE_OPENGL" = "yes"; then
9278 WX_ALL_INSTALLED
="preinstall_gl"
9279 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9281 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9285 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9286 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9289 SHARED_LD
="${LD} -shared -o"
9291 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9292 WX_ALL
="CREATE_LINKS"
9295 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9298 if test "x$WX_TARGET_LIBRARY" = "x"; then
9299 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9300 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9302 WX_TARGET_LIBRARY_TYPE
="so"
9304 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9305 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9307 if test "$wxUSE_OPENGL" = "yes"; then
9308 WX_ALL_INSTALLED
="preinstall_gl"
9309 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9311 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9314 if test "$wxUSE_GUI" = "no"; then
9315 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9318 WX_TARGET_LIBRARY_TYPE
="a"
9322 for ac_hdr
in strings.h
9324 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9325 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9326 echo "configure:9327: checking for $ac_hdr" >&5
9327 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9330 cat > conftest.
$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9335 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9336 { (eval echo configure
:9337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9337 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9338 if test -z "$ac_err"; then
9340 eval "ac_cv_header_$ac_safe=yes"
9343 echo "configure: failed program was:" >&5
9344 cat conftest.
$ac_ext >&5
9346 eval "ac_cv_header_$ac_safe=no"
9350 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9351 echo "$ac_t""yes" 1>&6
9352 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9353 cat >> confdefs.h
<<EOF
9354 #define $ac_tr_hdr 1
9358 echo "$ac_t""no" 1>&6
9362 for ac_hdr
in unistd.h
9364 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9365 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9366 echo "configure:9367: checking for $ac_hdr" >&5
9367 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9368 echo $ac_n "(cached) $ac_c" 1>&6
9370 cat > conftest.
$ac_ext <<EOF
9371 #line 9372 "configure"
9372 #include "confdefs.h"
9375 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9376 { (eval echo configure
:9377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9377 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9378 if test -z "$ac_err"; then
9380 eval "ac_cv_header_$ac_safe=yes"
9383 echo "configure: failed program was:" >&5
9384 cat conftest.
$ac_ext >&5
9386 eval "ac_cv_header_$ac_safe=no"
9390 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9391 echo "$ac_t""yes" 1>&6
9392 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9393 cat >> confdefs.h
<<EOF
9394 #define $ac_tr_hdr 1
9398 echo "$ac_t""no" 1>&6
9402 for ac_hdr
in fcntl.h
9404 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9406 echo "configure:9407: checking for $ac_hdr" >&5
9407 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9408 echo $ac_n "(cached) $ac_c" 1>&6
9410 cat > conftest.
$ac_ext <<EOF
9411 #line 9412 "configure"
9412 #include "confdefs.h"
9415 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9416 { (eval echo configure
:9417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9417 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9418 if test -z "$ac_err"; then
9420 eval "ac_cv_header_$ac_safe=yes"
9423 echo "configure: failed program was:" >&5
9424 cat conftest.
$ac_ext >&5
9426 eval "ac_cv_header_$ac_safe=no"
9430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9431 echo "$ac_t""yes" 1>&6
9432 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9433 cat >> confdefs.h
<<EOF
9434 #define $ac_tr_hdr 1
9438 echo "$ac_t""no" 1>&6
9442 for ac_hdr
in wchar.h
9444 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9446 echo "configure:9447: checking for $ac_hdr" >&5
9447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9448 echo $ac_n "(cached) $ac_c" 1>&6
9450 cat > conftest.
$ac_ext <<EOF
9451 #line 9452 "configure"
9452 #include "confdefs.h"
9455 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9456 { (eval echo configure
:9457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9457 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9458 if test -z "$ac_err"; then
9460 eval "ac_cv_header_$ac_safe=yes"
9463 echo "configure: failed program was:" >&5
9464 cat conftest.
$ac_ext >&5
9466 eval "ac_cv_header_$ac_safe=no"
9470 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9471 echo "$ac_t""yes" 1>&6
9472 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9473 cat >> confdefs.h
<<EOF
9474 #define $ac_tr_hdr 1
9478 echo "$ac_t""no" 1>&6
9482 for ac_hdr
in wcstr.h
9484 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9485 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9486 echo "configure:9487: checking for $ac_hdr" >&5
9487 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9488 echo $ac_n "(cached) $ac_c" 1>&6
9490 cat > conftest.
$ac_ext <<EOF
9491 #line 9492 "configure"
9492 #include "confdefs.h"
9495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9496 { (eval echo configure
:9497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9498 if test -z "$ac_err"; then
9500 eval "ac_cv_header_$ac_safe=yes"
9503 echo "configure: failed program was:" >&5
9504 cat conftest.
$ac_ext >&5
9506 eval "ac_cv_header_$ac_safe=no"
9510 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9511 echo "$ac_t""yes" 1>&6
9512 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9513 cat >> confdefs.h
<<EOF
9514 #define $ac_tr_hdr 1
9518 echo "$ac_t""no" 1>&6
9522 for ac_hdr
in fnmatch.h
9524 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9526 echo "configure:9527: checking for $ac_hdr" >&5
9527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9530 cat > conftest.
$ac_ext <<EOF
9531 #line 9532 "configure"
9532 #include "confdefs.h"
9535 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9536 { (eval echo configure
:9537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9537 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9538 if test -z "$ac_err"; then
9540 eval "ac_cv_header_$ac_safe=yes"
9543 echo "configure: failed program was:" >&5
9544 cat conftest.
$ac_ext >&5
9546 eval "ac_cv_header_$ac_safe=no"
9550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9551 echo "$ac_t""yes" 1>&6
9552 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9553 cat >> confdefs.h
<<EOF
9554 #define $ac_tr_hdr 1
9558 echo "$ac_t""no" 1>&6
9562 for ac_hdr
in iconv.h
9564 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9566 echo "configure:9567: checking for $ac_hdr" >&5
9567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9568 echo $ac_n "(cached) $ac_c" 1>&6
9570 cat > conftest.
$ac_ext <<EOF
9571 #line 9572 "configure"
9572 #include "confdefs.h"
9575 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9576 { (eval echo configure
:9577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9577 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9578 if test -z "$ac_err"; then
9580 eval "ac_cv_header_$ac_safe=yes"
9583 echo "configure: failed program was:" >&5
9584 cat conftest.
$ac_ext >&5
9586 eval "ac_cv_header_$ac_safe=no"
9590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9591 echo "$ac_t""yes" 1>&6
9592 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9593 cat >> confdefs.h
<<EOF
9594 #define $ac_tr_hdr 1
9598 echo "$ac_t""no" 1>&6
9602 for ac_hdr
in langinfo.h
9604 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9605 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9606 echo "configure:9607: checking for $ac_hdr" >&5
9607 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9608 echo $ac_n "(cached) $ac_c" 1>&6
9610 cat > conftest.
$ac_ext <<EOF
9611 #line 9612 "configure"
9612 #include "confdefs.h"
9615 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9616 { (eval echo configure
:9617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9617 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9618 if test -z "$ac_err"; then
9620 eval "ac_cv_header_$ac_safe=yes"
9623 echo "configure: failed program was:" >&5
9624 cat conftest.
$ac_ext >&5
9626 eval "ac_cv_header_$ac_safe=no"
9630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9631 echo "$ac_t""yes" 1>&6
9632 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9633 cat >> confdefs.h
<<EOF
9634 #define $ac_tr_hdr 1
9638 echo "$ac_t""no" 1>&6
9643 if test "$wxUSE_GUI" = "yes"; then
9644 if test "$wxUSE_UNIX" = "yes"; then
9645 for ac_hdr
in X
11/XKBlib.h
9647 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9648 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9649 echo "configure:9650: checking for $ac_hdr" >&5
9650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9651 echo $ac_n "(cached) $ac_c" 1>&6
9653 cat > conftest.
$ac_ext <<EOF
9654 #line 9655 "configure"
9655 #include "confdefs.h"
9658 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9659 { (eval echo configure
:9660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9660 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9661 if test -z "$ac_err"; then
9663 eval "ac_cv_header_$ac_safe=yes"
9666 echo "configure: failed program was:" >&5
9667 cat conftest.
$ac_ext >&5
9669 eval "ac_cv_header_$ac_safe=no"
9673 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9674 echo "$ac_t""yes" 1>&6
9675 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9676 cat >> confdefs.h
<<EOF
9677 #define $ac_tr_hdr 1
9681 echo "$ac_t""no" 1>&6
9689 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9690 echo "configure:9691: checking for ANSI C header files" >&5
9691 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9694 cat > conftest.
$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9702 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9703 { (eval echo configure
:9704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9704 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9705 if test -z "$ac_err"; then
9707 ac_cv_header_stdc
=yes
9710 echo "configure: failed program was:" >&5
9711 cat conftest.
$ac_ext >&5
9713 ac_cv_header_stdc
=no
9717 if test $ac_cv_header_stdc = yes; then
9718 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9719 cat > conftest.
$ac_ext <<EOF
9720 #line 9721 "configure"
9721 #include "confdefs.h"
9724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9725 egrep "memchr" >/dev
/null
2>&1; then
9729 ac_cv_header_stdc
=no
9735 if test $ac_cv_header_stdc = yes; then
9736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9737 cat > conftest.
$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9743 egrep "free" >/dev
/null
2>&1; then
9747 ac_cv_header_stdc
=no
9753 if test $ac_cv_header_stdc = yes; then
9754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9755 if test "$cross_compiling" = yes; then
9758 cat > conftest.
$ac_ext <<EOF
9759 #line 9760 "configure"
9760 #include "confdefs.h"
9762 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9763 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9765 int main () { int i; for (i = 0; i < 256; i++)
9766 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9770 if { (eval echo configure
:9771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9774 echo "configure: failed program was:" >&5
9775 cat conftest.
$ac_ext >&5
9777 ac_cv_header_stdc
=no
9785 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9786 if test $ac_cv_header_stdc = yes; then
9787 cat >> confdefs.h
<<\EOF
9788 #define STDC_HEADERS 1
9793 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9794 echo "configure:9795: checking for mode_t" >&5
9795 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9796 echo $ac_n "(cached) $ac_c" 1>&6
9798 cat > conftest.
$ac_ext <<EOF
9799 #line 9800 "configure"
9800 #include "confdefs.h"
9801 #include <sys/types.h>
9807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9808 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9810 ac_cv_type_mode_t
=yes
9813 ac_cv_type_mode_t
=no
9818 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9819 if test $ac_cv_type_mode_t = no
; then
9820 cat >> confdefs.h
<<\EOF
9826 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9827 echo "configure:9828: checking for off_t" >&5
9828 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9831 cat > conftest.
$ac_ext <<EOF
9832 #line 9833 "configure"
9833 #include "confdefs.h"
9834 #include <sys/types.h>
9840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9841 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9843 ac_cv_type_off_t
=yes
9851 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9852 if test $ac_cv_type_off_t = no
; then
9853 cat >> confdefs.h
<<\EOF
9859 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9860 echo "configure:9861: checking for pid_t" >&5
9861 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9862 echo $ac_n "(cached) $ac_c" 1>&6
9864 cat > conftest.
$ac_ext <<EOF
9865 #line 9866 "configure"
9866 #include "confdefs.h"
9867 #include <sys/types.h>
9873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9874 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9876 ac_cv_type_pid_t
=yes
9884 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9885 if test $ac_cv_type_pid_t = no
; then
9886 cat >> confdefs.h
<<\EOF
9892 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9893 echo "configure:9894: checking for size_t" >&5
9894 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9895 echo $ac_n "(cached) $ac_c" 1>&6
9897 cat > conftest.
$ac_ext <<EOF
9898 #line 9899 "configure"
9899 #include "confdefs.h"
9900 #include <sys/types.h>
9906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9907 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9909 ac_cv_type_size_t
=yes
9912 ac_cv_type_size_t
=no
9917 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9918 if test $ac_cv_type_size_t = no
; then
9919 cat >> confdefs.h
<<\EOF
9920 #define size_t unsigned
9925 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9926 echo "configure:9927: checking for uid_t in sys/types.h" >&5
9927 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9928 echo $ac_n "(cached) $ac_c" 1>&6
9930 cat > conftest.
$ac_ext <<EOF
9931 #line 9932 "configure"
9932 #include "confdefs.h"
9933 #include <sys/types.h>
9935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9936 egrep "uid_t" >/dev
/null
2>&1; then
9938 ac_cv_type_uid_t
=yes
9947 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9948 if test $ac_cv_type_uid_t = no
; then
9949 cat >> confdefs.h
<<\EOF
9953 cat >> confdefs.h
<<\EOF
9961 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9962 echo "configure:9963: checking for pw_gecos in struct passwd" >&5
9963 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9967 cat > conftest.
$ac_ext <<EOF
9968 #line 9969 "configure"
9969 #include "confdefs.h"
9979 if { (eval echo configure
:9980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9982 wx_cv_struct_pw_gecos
=yes
9985 echo "configure: failed program was:" >&5
9986 cat conftest.
$ac_ext >&5
9989 wx_cv_struct_pw_gecos
=no
9998 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
10000 if test "$wx_cv_struct_pw_gecos" = "yes"; then
10001 cat >> confdefs.h
<<\EOF
10002 #define HAVE_PW_GECOS 1
10008 echo $ac_n "checking for working const""... $ac_c" 1>&6
10009 echo "configure:10010: checking for working const" >&5
10010 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10011 echo $ac_n "(cached) $ac_c" 1>&6
10013 cat > conftest.
$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10019 /* Ultrix mips cc rejects this. */
10020 typedef int charset[2]; const charset x;
10021 /* SunOS 4.1.1 cc rejects this. */
10022 char const *const *ccp;
10024 /* NEC SVR4.0.2 mips cc rejects this. */
10025 struct point {int x, y;};
10026 static struct point const zero = {0,0};
10027 /* AIX XL C 1.02.0.0 rejects this.
10028 It does not let you subtract one const X* pointer from another in an arm
10029 of an if-expression whose if-part is not a constant expression */
10030 const char *g = "string";
10031 ccp = &g + (g ? g-g : 0);
10032 /* HPUX 7.0 cc rejects these. */
10035 ccp = (char const *const *) p;
10036 { /* SCO 3.2v4 cc rejects this. */
10038 char const *s = 0 ? (char *) 0 : (char const *) 0;
10042 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10043 int x[] = {25, 17};
10044 const int *foo = &x[0];
10047 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10048 typedef const int *iptr;
10052 { /* AIX XL C 1.02.0.0 rejects this saying
10053 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10054 struct s { int j; const int *ap[3]; };
10055 struct s *b; b->j = 5;
10057 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10058 const int foo = 10;
10063 if { (eval echo configure
:10064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10067 echo "configure: failed program was:" >&5
10068 cat conftest.
$ac_ext >&5
10075 echo "$ac_t""$ac_cv_c_const" 1>&6
10076 if test $ac_cv_c_const = no
; then
10077 cat >> confdefs.h
<<\EOF
10083 echo $ac_n "checking for inline""... $ac_c" 1>&6
10084 echo "configure:10085: checking for inline" >&5
10085 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10089 for ac_kw
in inline __inline__ __inline
; do
10090 cat > conftest.
$ac_ext <<EOF
10091 #line 10092 "configure"
10092 #include "confdefs.h"
10098 if { (eval echo configure
:10099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10100 ac_cv_c_inline
=$ac_kw; break
10102 echo "configure: failed program was:" >&5
10103 cat conftest.
$ac_ext >&5
10110 echo "$ac_t""$ac_cv_c_inline" 1>&6
10111 case "$ac_cv_c_inline" in
10113 no
) cat >> confdefs.h
<<\EOF
10117 *) cat >> confdefs.h
<<EOF
10118 #define inline $ac_cv_c_inline
10124 echo $ac_n "checking size of char""... $ac_c" 1>&6
10125 echo "configure:10126: checking size of char" >&5
10126 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10129 if test "$cross_compiling" = yes; then
10130 ac_cv_sizeof_char
=1
10132 cat > conftest.
$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10138 FILE *f=fopen("conftestval", "w");
10140 fprintf(f, "%d\n", sizeof(char));
10144 if { (eval echo configure
:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10146 ac_cv_sizeof_char
=`cat conftestval`
10148 echo "configure: failed program was:" >&5
10149 cat conftest.
$ac_ext >&5
10151 ac_cv_sizeof_char
=0
10157 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10158 cat >> confdefs.h
<<EOF
10159 #define SIZEOF_CHAR $ac_cv_sizeof_char
10163 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10164 echo "configure:10165: checking size of wchar_t" >&5
10165 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10166 echo $ac_n "(cached) $ac_c" 1>&6
10168 if test "$cross_compiling" = yes; then
10169 ac_cv_sizeof_wchar_t
=4
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10177 FILE *f=fopen("conftestval", "w");
10179 fprintf(f, "%d\n", sizeof(wchar_t));
10183 if { (eval echo configure
:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10185 ac_cv_sizeof_wchar_t
=`cat conftestval`
10187 echo "configure: failed program was:" >&5
10188 cat conftest.
$ac_ext >&5
10190 ac_cv_sizeof_wchar_t
=0
10196 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10197 cat >> confdefs.h
<<EOF
10198 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10202 echo $ac_n "checking size of short""... $ac_c" 1>&6
10203 echo "configure:10204: checking size of short" >&5
10204 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10205 echo $ac_n "(cached) $ac_c" 1>&6
10207 if test "$cross_compiling" = yes; then
10208 ac_cv_sizeof_short
=2
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10216 FILE *f=fopen("conftestval", "w");
10218 fprintf(f, "%d\n", sizeof(short));
10222 if { (eval echo configure
:10223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10224 ac_cv_sizeof_short
=`cat conftestval`
10226 echo "configure: failed program was:" >&5
10227 cat conftest.
$ac_ext >&5
10229 ac_cv_sizeof_short
=0
10235 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10236 cat >> confdefs.h
<<EOF
10237 #define SIZEOF_SHORT $ac_cv_sizeof_short
10241 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10242 echo "configure:10243: checking size of int *" >&5
10243 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10246 if test "$cross_compiling" = yes; then
10247 ac_cv_sizeof_int_p
=4
10249 cat > conftest.
$ac_ext <<EOF
10250 #line 10251 "configure"
10251 #include "confdefs.h"
10255 FILE *f=fopen("conftestval", "w");
10257 fprintf(f, "%d\n", sizeof(int *));
10261 if { (eval echo configure
:10262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10263 ac_cv_sizeof_int_p
=`cat conftestval`
10265 echo "configure: failed program was:" >&5
10266 cat conftest.
$ac_ext >&5
10268 ac_cv_sizeof_int_p
=0
10274 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10275 cat >> confdefs.h
<<EOF
10276 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10280 echo $ac_n "checking size of int""... $ac_c" 1>&6
10281 echo "configure:10282: checking size of int" >&5
10282 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10283 echo $ac_n "(cached) $ac_c" 1>&6
10285 if test "$cross_compiling" = yes; then
10288 cat > conftest.
$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10294 FILE *f=fopen("conftestval", "w");
10296 fprintf(f, "%d\n", sizeof(int));
10300 if { (eval echo configure
:10301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10302 ac_cv_sizeof_int
=`cat conftestval`
10304 echo "configure: failed program was:" >&5
10305 cat conftest.
$ac_ext >&5
10313 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10314 cat >> confdefs.h
<<EOF
10315 #define SIZEOF_INT $ac_cv_sizeof_int
10319 echo $ac_n "checking size of long""... $ac_c" 1>&6
10320 echo "configure:10321: checking size of long" >&5
10321 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10322 echo $ac_n "(cached) $ac_c" 1>&6
10324 if test "$cross_compiling" = yes; then
10325 ac_cv_sizeof_long
=4
10327 cat > conftest.
$ac_ext <<EOF
10328 #line 10329 "configure"
10329 #include "confdefs.h"
10333 FILE *f=fopen("conftestval", "w");
10335 fprintf(f, "%d\n", sizeof(long));
10339 if { (eval echo configure
:10340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10341 ac_cv_sizeof_long
=`cat conftestval`
10343 echo "configure: failed program was:" >&5
10344 cat conftest.
$ac_ext >&5
10346 ac_cv_sizeof_long
=0
10352 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10353 cat >> confdefs.h
<<EOF
10354 #define SIZEOF_LONG $ac_cv_sizeof_long
10358 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10359 echo "configure:10360: checking size of long long" >&5
10360 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10361 echo $ac_n "(cached) $ac_c" 1>&6
10363 if test "$cross_compiling" = yes; then
10364 ac_cv_sizeof_long_long
=0
10366 cat > conftest.
$ac_ext <<EOF
10367 #line 10368 "configure"
10368 #include "confdefs.h"
10372 FILE *f=fopen("conftestval", "w");
10374 fprintf(f, "%d\n", sizeof(long long));
10378 if { (eval echo configure
:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10380 ac_cv_sizeof_long_long
=`cat conftestval`
10382 echo "configure: failed program was:" >&5
10383 cat conftest.
$ac_ext >&5
10385 ac_cv_sizeof_long_long
=0
10391 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10392 cat >> confdefs.h
<<EOF
10393 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10398 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10399 echo "configure:10400: checking whether byte ordering is bigendian" >&5
10400 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10401 echo $ac_n "(cached) $ac_c" 1>&6
10403 ac_cv_c_bigendian
=unknown
10404 # See if sys/param.h defines the BYTE_ORDER macro.
10405 cat > conftest.
$ac_ext <<EOF
10406 #line 10407 "configure"
10407 #include "confdefs.h"
10408 #include <sys/types.h>
10409 #include <sys/param.h>
10412 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10413 bogus endian macros
10417 if { (eval echo configure
:10418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10419 # It does; now see whether it defined to BIG_ENDIAN or not.
10420 cat > conftest.
$ac_ext <<EOF
10421 #line 10422 "configure"
10422 #include "confdefs.h"
10423 #include <sys/types.h>
10424 #include <sys/param.h>
10427 #if BYTE_ORDER != BIG_ENDIAN
10432 if { (eval echo configure
:10433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10434 ac_cv_c_bigendian
=yes
10436 echo "configure: failed program was:" >&5
10437 cat conftest.
$ac_ext >&5
10439 ac_cv_c_bigendian
=no
10443 echo "configure: failed program was:" >&5
10444 cat conftest.
$ac_ext >&5
10447 if test $ac_cv_c_bigendian = unknown
; then
10448 if test "$cross_compiling" = yes; then
10449 ac_cv_c_bigendian
=unknown
10451 cat > conftest.
$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10455 /* Are we little or big endian? From Harbison&Steele. */
10459 char c[sizeof (long)];
10462 exit (u.c[sizeof (long) - 1] == 1);
10465 if { (eval echo configure
:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10467 ac_cv_c_bigendian
=no
10469 echo "configure: failed program was:" >&5
10470 cat conftest.
$ac_ext >&5
10472 ac_cv_c_bigendian
=yes
10480 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10481 if test $ac_cv_c_bigendian = unknown
; then
10482 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
10484 if test $ac_cv_c_bigendian = yes; then
10485 cat >> confdefs.h
<<\EOF
10486 #define WORDS_BIGENDIAN 1
10493 if test "$cross_compiling" = "yes"; then
10494 cat >> confdefs.h
<<\EOF
10495 #define wxUSE_IOSTREAMH 1
10501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10502 ac_cpp
='$CXXCPP $CPPFLAGS'
10503 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10504 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10505 cross_compiling
=$ac_cv_prog_cxx_cross
10508 for ac_hdr
in iostream
10510 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10512 echo "configure:10513: checking for $ac_hdr" >&5
10513 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10516 cat > conftest.
$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10521 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10522 { (eval echo configure
:10523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10523 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10524 if test -z "$ac_err"; then
10526 eval "ac_cv_header_$ac_safe=yes"
10529 echo "configure: failed program was:" >&5
10530 cat conftest.
$ac_ext >&5
10532 eval "ac_cv_header_$ac_safe=no"
10536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10537 echo "$ac_t""yes" 1>&6
10538 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10539 cat >> confdefs.h
<<EOF
10540 #define $ac_tr_hdr 1
10544 echo "$ac_t""no" 1>&6
10549 if test "x$HAVE_IOSTREAM" = x
; then
10550 cat >> confdefs.h
<<\EOF
10551 #define wxUSE_IOSTREAMH 1
10559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10560 ac_cpp
='$CPP $CPPFLAGS'
10561 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10562 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10563 cross_compiling
=$ac_cv_prog_cc_cross
10569 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10570 echo "configure:10571: checking if C++ compiler supports bool" >&5
10571 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10572 echo $ac_n "(cached) $ac_c" 1>&6
10577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp
='$CXXCPP $CPPFLAGS'
10579 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling
=$ac_cv_prog_cxx_cross
10584 cat > conftest.
$ac_ext <<EOF
10585 #line 10586 "configure"
10586 #include "confdefs.h"
10597 if { (eval echo configure
:10598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10600 cat >> confdefs.h
<<\EOF
10601 #define HAVE_BOOL 1
10607 echo "configure: failed program was:" >&5
10608 cat conftest.
$ac_ext >&5
10618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10619 ac_cpp
='$CPP $CPPFLAGS'
10620 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10621 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10622 cross_compiling
=$ac_cv_prog_cc_cross
10627 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10629 if test "$wx_cv_cpp_bool" = "yes"; then
10630 cat >> confdefs.h
<<\EOF
10631 #define HAVE_BOOL 1
10638 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10639 echo "configure:10640: checking if you need GNU extensions" >&5
10640 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10641 echo $ac_n "(cached) $ac_c" 1>&6
10644 cat > conftest.
$ac_ext <<EOF
10645 #line 10646 "configure"
10646 #include "confdefs.h"
10647 #include <features.h>
10651 #ifndef __GNU_LIBRARY__
10652 Compile error wanted
10658 if { (eval echo configure
:10659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10660 wx_cv_gnu_extensions
=yes
10662 echo "configure: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10665 wx_cv_gnu_extensions
=no
10672 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10673 if test "$wx_cv_gnu_extensions" = "yes"; then
10674 cat >> confdefs.h
<<EOF
10675 #define _GNU_SOURCE 1
10682 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10683 echo "configure:10684: checking for wcslen in -lc" >&5
10684 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10686 echo $ac_n "(cached) $ac_c" 1>&6
10688 ac_save_LIBS
="$LIBS"
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10693 /* Override any gcc2 internal prototype to avoid an error. */
10694 /* We use char because int might match the return type of a gcc2
10695 builtin and then its argument prototype would still apply. */
10702 if { (eval echo configure
:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10704 eval "ac_cv_lib_$ac_lib_var=yes"
10706 echo "configure: failed program was:" >&5
10707 cat conftest.
$ac_ext >&5
10709 eval "ac_cv_lib_$ac_lib_var=no"
10712 LIBS
="$ac_save_LIBS"
10715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10716 echo "$ac_t""yes" 1>&6
10718 cat >> confdefs.h
<<\EOF
10719 #define HAVE_WCSLEN 1
10725 echo "$ac_t""no" 1>&6
10727 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10728 echo "configure:10729: checking for wcslen in -lw" >&5
10729 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10731 echo $ac_n "(cached) $ac_c" 1>&6
10733 ac_save_LIBS
="$LIBS"
10735 cat > conftest.
$ac_ext <<EOF
10736 #line 10737 "configure"
10737 #include "confdefs.h"
10738 /* Override any gcc2 internal prototype to avoid an error. */
10739 /* We use char because int might match the return type of a gcc2
10740 builtin and then its argument prototype would still apply. */
10747 if { (eval echo configure
:10748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10749 eval "ac_cv_lib_$ac_lib_var=yes"
10751 echo "configure: failed program was:" >&5
10752 cat conftest.
$ac_ext >&5
10754 eval "ac_cv_lib_$ac_lib_var=no"
10757 LIBS
="$ac_save_LIBS"
10760 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10761 echo "$ac_t""yes" 1>&6
10763 cat >> confdefs.h
<<\EOF
10764 #define HAVE_WCSLEN 1
10770 echo "$ac_t""no" 1>&6
10777 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10778 echo "configure:10779: checking for vprintf" >&5
10779 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10780 echo $ac_n "(cached) $ac_c" 1>&6
10782 cat > conftest.
$ac_ext <<EOF
10783 #line 10784 "configure"
10784 #include "confdefs.h"
10785 /* System header to define __stub macros and hopefully few prototypes,
10786 which can conflict with char vprintf(); below. */
10787 #include <assert.h>
10788 /* Override any gcc2 internal prototype to avoid an error. */
10789 /* We use char because int might match the return type of a gcc2
10790 builtin and then its argument prototype would still apply. */
10795 /* The GNU C library defines this for functions which it implements
10796 to always fail with ENOSYS. Some functions are actually named
10797 something starting with __ and the normal name is an alias. */
10798 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10806 if { (eval echo configure
:10807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10808 eval "ac_cv_func_vprintf=yes"
10810 echo "configure: failed program was:" >&5
10811 cat conftest.
$ac_ext >&5
10813 eval "ac_cv_func_vprintf=no"
10818 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10819 echo "$ac_t""yes" 1>&6
10820 cat >> confdefs.h
<<\EOF
10821 #define HAVE_VPRINTF 1
10825 echo "$ac_t""no" 1>&6
10828 if test "$ac_cv_func_vprintf" != yes; then
10829 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10830 echo "configure:10831: checking for _doprnt" >&5
10831 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10832 echo $ac_n "(cached) $ac_c" 1>&6
10834 cat > conftest.
$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10837 /* System header to define __stub macros and hopefully few prototypes,
10838 which can conflict with char _doprnt(); below. */
10839 #include <assert.h>
10840 /* Override any gcc2 internal prototype to avoid an error. */
10841 /* We use char because int might match the return type of a gcc2
10842 builtin and then its argument prototype would still apply. */
10847 /* The GNU C library defines this for functions which it implements
10848 to always fail with ENOSYS. Some functions are actually named
10849 something starting with __ and the normal name is an alias. */
10850 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10858 if { (eval echo configure
:10859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10860 eval "ac_cv_func__doprnt=yes"
10862 echo "configure: failed program was:" >&5
10863 cat conftest.
$ac_ext >&5
10865 eval "ac_cv_func__doprnt=no"
10870 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10871 echo "$ac_t""yes" 1>&6
10872 cat >> confdefs.h
<<\EOF
10873 #define HAVE_DOPRNT 1
10877 echo "$ac_t""no" 1>&6
10885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10886 ac_cpp
='$CXXCPP $CPPFLAGS'
10887 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10888 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10889 cross_compiling
=$ac_cv_prog_cxx_cross
10895 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10896 echo "configure:10897: checking for vsnprintf" >&5
10897 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10898 echo $ac_n "(cached) $ac_c" 1>&6
10901 cat > conftest.
$ac_ext <<EOF
10902 #line 10903 "configure"
10903 #include "confdefs.h"
10906 #include <stdarg.h>
10910 int wx_test_vsnprintf(const char *, ...);
10912 wx_test_vsnprintf("%s");
10916 int wx_test_vsnprintf(const char *fmt, ...)
10921 va_start(argp, fmt);
10922 vsnprintf(s, 42, fmt, argp);
10927 if { (eval echo configure
:10928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10930 cat >> confdefs.h
<<\EOF
10931 #define HAVE_VSNPRINTF 1
10934 wx_cv_func_vsnprintf
=yes
10937 echo "configure: failed program was:" >&5
10938 cat conftest.
$ac_ext >&5
10941 cat > conftest.
$ac_ext <<EOF
10942 #line 10943 "configure"
10943 #include "confdefs.h"
10946 #include <stdarg.h>
10950 int wx_test_vsnprintf(const char *, ...);
10952 wx_test_vsnprintf("%s");
10956 int wx_test_vsnprintf(const char *fmt, ...)
10961 va_start(argp, fmt);
10962 _vsnprintf(s, 42, fmt, argp);
10967 if { (eval echo configure
:10968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10970 cat >> confdefs.h
<<\EOF
10971 #define HAVE_VSNPRINTF 1
10974 wx_cv_func_vsnprintf
=yes
10977 echo "configure: failed program was:" >&5
10978 cat conftest.
$ac_ext >&5
10981 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10982 wx_cv_func_vsnprintf
=no
10992 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10994 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10995 echo "configure:10996: checking for vsscanf" >&5
10996 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10997 echo $ac_n "(cached) $ac_c" 1>&6
11000 cat > conftest.
$ac_ext <<EOF
11001 #line 11002 "configure"
11002 #include "confdefs.h"
11005 #include <stdarg.h>
11009 int wx_test_vsscanf(const char *, ...);
11011 wx_test_vsscanf("%d");
11015 int wx_test_vsscanf(const char *fmt, ...)
11018 va_start(argp, fmt);
11019 vsscanf("42", fmt, argp);
11024 if { (eval echo configure
:11025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11027 cat >> confdefs.h
<<\EOF
11028 #define HAVE_VSSCANF 1
11031 wx_cv_func_vsscanf
=yes
11034 echo "configure: failed program was:" >&5
11035 cat conftest.
$ac_ext >&5
11038 wx_cv_func_vsscanf
=no
11045 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11049 ac_cpp
='$CPP $CPPFLAGS'
11050 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11051 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11052 cross_compiling
=$ac_cv_prog_cc_cross
11055 if test "$TOOLKIT" != "MSW"; then
11057 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11058 for ac_func
in sigaction
11060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11061 echo "configure:11062: checking for $ac_func" >&5
11062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11063 echo $ac_n "(cached) $ac_c" 1>&6
11065 cat > conftest.
$ac_ext <<EOF
11066 #line 11067 "configure"
11067 #include "confdefs.h"
11068 /* System header to define __stub macros and hopefully few prototypes,
11069 which can conflict with char $ac_func(); below. */
11070 #include <assert.h>
11071 /* Override any gcc2 internal prototype to avoid an error. */
11072 /* We use char because int might match the return type of a gcc2
11073 builtin and then its argument prototype would still apply. */
11078 /* The GNU C library defines this for functions which it implements
11079 to always fail with ENOSYS. Some functions are actually named
11080 something starting with __ and the normal name is an alias. */
11081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11089 if { (eval echo configure
:11090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11091 eval "ac_cv_func_$ac_func=yes"
11093 echo "configure: failed program was:" >&5
11094 cat conftest.
$ac_ext >&5
11096 eval "ac_cv_func_$ac_func=no"
11101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11102 echo "$ac_t""yes" 1>&6
11103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11104 cat >> confdefs.h
<<EOF
11105 #define $ac_tr_func 1
11109 echo "$ac_t""no" 1>&6
11114 if test "$ac_cv_func_sigaction" = "no"; then
11115 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11116 wxUSE_ON_FATAL_EXCEPTION
=no
11119 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11123 ac_cpp
='$CXXCPP $CPPFLAGS'
11124 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11125 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11126 cross_compiling
=$ac_cv_prog_cxx_cross
11129 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11130 echo "configure:11131: checking for sa_handler type" >&5
11131 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11132 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.
$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 #include <signal.h>
11141 extern void testSigHandler(int);
11143 struct sigaction sa;
11144 sa.sa_handler = testSigHandler;
11148 if { (eval echo configure
:11149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11151 wx_cv_type_sa_handler
=int
11154 echo "configure: failed program was:" >&5
11155 cat conftest.
$ac_ext >&5
11158 wx_cv_type_sa_handler
=void
11165 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11169 ac_cpp
='$CPP $CPPFLAGS'
11170 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11171 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11172 cross_compiling
=$ac_cv_prog_cc_cross
11175 cat >> confdefs.h
<<EOF
11176 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11182 for ac_func
in vfork
11184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11185 echo "configure:11186: checking for $ac_func" >&5
11186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11187 echo $ac_n "(cached) $ac_c" 1>&6
11189 cat > conftest.
$ac_ext <<EOF
11190 #line 11191 "configure"
11191 #include "confdefs.h"
11192 /* System header to define __stub macros and hopefully few prototypes,
11193 which can conflict with char $ac_func(); below. */
11194 #include <assert.h>
11195 /* Override any gcc2 internal prototype to avoid an error. */
11196 /* We use char because int might match the return type of a gcc2
11197 builtin and then its argument prototype would still apply. */
11202 /* The GNU C library defines this for functions which it implements
11203 to always fail with ENOSYS. Some functions are actually named
11204 something starting with __ and the normal name is an alias. */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11213 if { (eval echo configure
:11214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11215 eval "ac_cv_func_$ac_func=yes"
11217 echo "configure: failed program was:" >&5
11218 cat conftest.
$ac_ext >&5
11220 eval "ac_cv_func_$ac_func=no"
11225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11226 echo "$ac_t""yes" 1>&6
11227 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11228 cat >> confdefs.h
<<EOF
11229 #define $ac_tr_func 1
11233 echo "$ac_t""no" 1>&6
11238 for ac_func
in timegm
11240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11241 echo "configure:11242: checking for $ac_func" >&5
11242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11243 echo $ac_n "(cached) $ac_c" 1>&6
11245 cat > conftest.
$ac_ext <<EOF
11246 #line 11247 "configure"
11247 #include "confdefs.h"
11248 /* System header to define __stub macros and hopefully few prototypes,
11249 which can conflict with char $ac_func(); below. */
11250 #include <assert.h>
11251 /* Override any gcc2 internal prototype to avoid an error. */
11252 /* We use char because int might match the return type of a gcc2
11253 builtin and then its argument prototype would still apply. */
11258 /* The GNU C library defines this for functions which it implements
11259 to always fail with ENOSYS. Some functions are actually named
11260 something starting with __ and the normal name is an alias. */
11261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11269 if { (eval echo configure
:11270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11271 eval "ac_cv_func_$ac_func=yes"
11273 echo "configure: failed program was:" >&5
11274 cat conftest.
$ac_ext >&5
11276 eval "ac_cv_func_$ac_func=no"
11281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11282 echo "$ac_t""yes" 1>&6
11283 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11284 cat >> confdefs.h
<<EOF
11285 #define $ac_tr_func 1
11289 echo "$ac_t""no" 1>&6
11294 for ac_func
in putenv setenv
11296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11297 echo "configure:11298: checking for $ac_func" >&5
11298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11299 echo $ac_n "(cached) $ac_c" 1>&6
11301 cat > conftest.
$ac_ext <<EOF
11302 #line 11303 "configure"
11303 #include "confdefs.h"
11304 /* System header to define __stub macros and hopefully few prototypes,
11305 which can conflict with char $ac_func(); below. */
11306 #include <assert.h>
11307 /* Override any gcc2 internal prototype to avoid an error. */
11308 /* We use char because int might match the return type of a gcc2
11309 builtin and then its argument prototype would still apply. */
11314 /* The GNU C library defines this for functions which it implements
11315 to always fail with ENOSYS. Some functions are actually named
11316 something starting with __ and the normal name is an alias. */
11317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11325 if { (eval echo configure
:11326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11327 eval "ac_cv_func_$ac_func=yes"
11329 echo "configure: failed program was:" >&5
11330 cat conftest.
$ac_ext >&5
11332 eval "ac_cv_func_$ac_func=no"
11337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11338 echo "$ac_t""yes" 1>&6
11339 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11340 cat >> confdefs.h
<<EOF
11341 #define $ac_tr_func 1
11345 echo "$ac_t""no" 1>&6
11350 HAVE_SOME_SLEEP_FUNC
=0
11351 if test "$USE_BEOS" = 1; then
11352 cat >> confdefs.h
<<\EOF
11353 #define HAVE_SLEEP 1
11356 HAVE_SOME_SLEEP_FUNC
=1
11359 if test "$USE_MAC" = 1; then
11360 cat >> confdefs.h
<<\EOF
11361 #define HAVE_USLEEP 1
11364 HAVE_SOME_SLEEP_FUNC
=1
11367 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11369 for ac_func
in nanosleep
11371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11372 echo "configure:11373: checking for $ac_func" >&5
11373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11374 echo $ac_n "(cached) $ac_c" 1>&6
11376 cat > conftest.
$ac_ext <<EOF
11377 #line 11378 "configure"
11378 #include "confdefs.h"
11379 /* System header to define __stub macros and hopefully few prototypes,
11380 which can conflict with char $ac_func(); below. */
11381 #include <assert.h>
11382 /* Override any gcc2 internal prototype to avoid an error. */
11383 /* We use char because int might match the return type of a gcc2
11384 builtin and then its argument prototype would still apply. */
11389 /* The GNU C library defines this for functions which it implements
11390 to always fail with ENOSYS. Some functions are actually named
11391 something starting with __ and the normal name is an alias. */
11392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11400 if { (eval echo configure
:11401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11402 eval "ac_cv_func_$ac_func=yes"
11404 echo "configure: failed program was:" >&5
11405 cat conftest.
$ac_ext >&5
11407 eval "ac_cv_func_$ac_func=no"
11412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11413 echo "$ac_t""yes" 1>&6
11414 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11415 cat >> confdefs.h
<<EOF
11416 #define $ac_tr_func 1
11418 cat >> confdefs.h
<<\EOF
11419 #define HAVE_NANOSLEEP 1
11423 echo "$ac_t""no" 1>&6
11424 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11425 echo "configure:11426: checking for nanosleep in -lposix4" >&5
11426 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11427 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11428 echo $ac_n "(cached) $ac_c" 1>&6
11430 ac_save_LIBS
="$LIBS"
11431 LIBS
="-lposix4 $LIBS"
11432 cat > conftest.
$ac_ext <<EOF
11433 #line 11434 "configure"
11434 #include "confdefs.h"
11435 /* Override any gcc2 internal prototype to avoid an error. */
11436 /* We use char because int might match the return type of a gcc2
11437 builtin and then its argument prototype would still apply. */
11444 if { (eval echo configure
:11445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11446 eval "ac_cv_lib_$ac_lib_var=yes"
11448 echo "configure: failed program was:" >&5
11449 cat conftest.
$ac_ext >&5
11451 eval "ac_cv_lib_$ac_lib_var=no"
11454 LIBS
="$ac_save_LIBS"
11457 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11458 echo "$ac_t""yes" 1>&6
11460 cat >> confdefs.h
<<\EOF
11461 #define HAVE_NANOSLEEP 1
11464 POSIX4_LINK
="-lposix4"
11467 echo "$ac_t""no" 1>&6
11469 for ac_func
in usleep
11471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11472 echo "configure:11473: checking for $ac_func" >&5
11473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11476 cat > conftest.
$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11479 /* System header to define __stub macros and hopefully few prototypes,
11480 which can conflict with char $ac_func(); below. */
11481 #include <assert.h>
11482 /* Override any gcc2 internal prototype to avoid an error. */
11483 /* We use char because int might match the return type of a gcc2
11484 builtin and then its argument prototype would still apply. */
11489 /* The GNU C library defines this for functions which it implements
11490 to always fail with ENOSYS. Some functions are actually named
11491 something starting with __ and the normal name is an alias. */
11492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 if { (eval echo configure
:11501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11502 eval "ac_cv_func_$ac_func=yes"
11504 echo "configure: failed program was:" >&5
11505 cat conftest.
$ac_ext >&5
11507 eval "ac_cv_func_$ac_func=no"
11512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11513 echo "$ac_t""yes" 1>&6
11514 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11515 cat >> confdefs.h
<<EOF
11516 #define $ac_tr_func 1
11518 cat >> confdefs.h
<<\EOF
11519 #define HAVE_USLEEP 1
11523 echo "$ac_t""no" 1>&6
11527 echo "configure: warning: wxSleep() function will not work" 1>&2
11539 for ac_func
in uname gethostname
11541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11542 echo "configure:11543: checking for $ac_func" >&5
11543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11544 echo $ac_n "(cached) $ac_c" 1>&6
11546 cat > conftest.
$ac_ext <<EOF
11547 #line 11548 "configure"
11548 #include "confdefs.h"
11549 /* System header to define __stub macros and hopefully few prototypes,
11550 which can conflict with char $ac_func(); below. */
11551 #include <assert.h>
11552 /* Override any gcc2 internal prototype to avoid an error. */
11553 /* We use char because int might match the return type of a gcc2
11554 builtin and then its argument prototype would still apply. */
11559 /* The GNU C library defines this for functions which it implements
11560 to always fail with ENOSYS. Some functions are actually named
11561 something starting with __ and the normal name is an alias. */
11562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11570 if { (eval echo configure
:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11572 eval "ac_cv_func_$ac_func=yes"
11574 echo "configure: failed program was:" >&5
11575 cat conftest.
$ac_ext >&5
11577 eval "ac_cv_func_$ac_func=no"
11582 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11583 echo "$ac_t""yes" 1>&6
11584 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11585 cat >> confdefs.h
<<EOF
11586 #define $ac_tr_func 1
11590 echo "$ac_t""no" 1>&6
11597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11598 ac_cpp
='$CXXCPP $CPPFLAGS'
11599 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11600 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11601 cross_compiling
=$ac_cv_prog_cxx_cross
11604 for ac_func
in strtok_r
11606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11607 echo "configure:11608: checking for $ac_func" >&5
11608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11609 echo $ac_n "(cached) $ac_c" 1>&6
11611 cat > conftest.
$ac_ext <<EOF
11612 #line 11613 "configure"
11613 #include "confdefs.h"
11614 /* System header to define __stub macros and hopefully few prototypes,
11615 which can conflict with char $ac_func(); below. */
11616 #include <assert.h>
11617 /* Override any gcc2 internal prototype to avoid an error. */
11621 /* We use char because int might match the return type of a gcc2
11622 builtin and then its argument prototype would still apply. */
11627 /* The GNU C library defines this for functions which it implements
11628 to always fail with ENOSYS. Some functions are actually named
11629 something starting with __ and the normal name is an alias. */
11630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11638 if { (eval echo configure
:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11640 eval "ac_cv_func_$ac_func=yes"
11642 echo "configure: failed program was:" >&5
11643 cat conftest.
$ac_ext >&5
11645 eval "ac_cv_func_$ac_func=no"
11650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11651 echo "$ac_t""yes" 1>&6
11652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11653 cat >> confdefs.h
<<EOF
11654 #define $ac_tr_func 1
11658 echo "$ac_t""no" 1>&6
11664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11665 ac_cpp
='$CPP $CPPFLAGS'
11666 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11667 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11668 cross_compiling
=$ac_cv_prog_cc_cross
11672 for ac_func
in inet_addr
11674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11675 echo "configure:11676: checking for $ac_func" >&5
11676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11679 cat > conftest.
$ac_ext <<EOF
11680 #line 11681 "configure"
11681 #include "confdefs.h"
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char $ac_func(); below. */
11684 #include <assert.h>
11685 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11692 /* The GNU C library defines this for functions which it implements
11693 to always fail with ENOSYS. Some functions are actually named
11694 something starting with __ and the normal name is an alias. */
11695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11703 if { (eval echo configure
:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11705 eval "ac_cv_func_$ac_func=yes"
11707 echo "configure: failed program was:" >&5
11708 cat conftest.
$ac_ext >&5
11710 eval "ac_cv_func_$ac_func=no"
11715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11716 echo "$ac_t""yes" 1>&6
11717 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11718 cat >> confdefs.h
<<EOF
11719 #define $ac_tr_func 1
11721 cat >> confdefs.h
<<\EOF
11722 #define HAVE_INET_ADDR 1
11726 echo "$ac_t""no" 1>&6
11727 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11728 echo "configure:11729: checking for inet_addr in -lnsl" >&5
11729 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11731 echo $ac_n "(cached) $ac_c" 1>&6
11733 ac_save_LIBS
="$LIBS"
11735 cat > conftest.
$ac_ext <<EOF
11736 #line 11737 "configure"
11737 #include "confdefs.h"
11738 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11747 if { (eval echo configure
:11748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11749 eval "ac_cv_lib_$ac_lib_var=yes"
11751 echo "configure: failed program was:" >&5
11752 cat conftest.
$ac_ext >&5
11754 eval "ac_cv_lib_$ac_lib_var=no"
11757 LIBS
="$ac_save_LIBS"
11760 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11761 echo "$ac_t""yes" 1>&6
11764 echo "$ac_t""no" 1>&6
11765 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11766 echo "configure:11767: checking for inet_addr in -lresolv" >&5
11767 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 ac_save_LIBS
="$LIBS"
11772 LIBS
="-lresolv $LIBS"
11773 cat > conftest.
$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* Override any gcc2 internal prototype to avoid an error. */
11777 /* We use char because int might match the return type of a gcc2
11778 builtin and then its argument prototype would still apply. */
11785 if { (eval echo configure
:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11787 eval "ac_cv_lib_$ac_lib_var=yes"
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11792 eval "ac_cv_lib_$ac_lib_var=no"
11795 LIBS
="$ac_save_LIBS"
11798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11799 echo "$ac_t""yes" 1>&6
11803 echo "$ac_t""no" 1>&6
11815 for ac_func
in inet_aton
11817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11818 echo "configure:11819: checking for $ac_func" >&5
11819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11820 echo $ac_n "(cached) $ac_c" 1>&6
11822 cat > conftest.
$ac_ext <<EOF
11823 #line 11824 "configure"
11824 #include "confdefs.h"
11825 /* System header to define __stub macros and hopefully few prototypes,
11826 which can conflict with char $ac_func(); below. */
11827 #include <assert.h>
11828 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11835 /* The GNU C library defines this for functions which it implements
11836 to always fail with ENOSYS. Some functions are actually named
11837 something starting with __ and the normal name is an alias. */
11838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11846 if { (eval echo configure
:11847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11848 eval "ac_cv_func_$ac_func=yes"
11850 echo "configure: failed program was:" >&5
11851 cat conftest.
$ac_ext >&5
11853 eval "ac_cv_func_$ac_func=no"
11858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11859 echo "$ac_t""yes" 1>&6
11860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11861 cat >> confdefs.h
<<EOF
11862 #define $ac_tr_func 1
11864 cat >> confdefs.h
<<\EOF
11865 #define HAVE_INET_ATON 1
11869 echo "$ac_t""no" 1>&6
11870 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11871 echo "configure:11872: checking for inet_aton in -l$INET_LINK" >&5
11872 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11874 echo $ac_n "(cached) $ac_c" 1>&6
11876 ac_save_LIBS
="$LIBS"
11877 LIBS
="-l$INET_LINK $LIBS"
11878 cat > conftest.
$ac_ext <<EOF
11879 #line 11880 "configure"
11880 #include "confdefs.h"
11881 /* Override any gcc2 internal prototype to avoid an error. */
11882 /* We use char because int might match the return type of a gcc2
11883 builtin and then its argument prototype would still apply. */
11890 if { (eval echo configure
:11891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11892 eval "ac_cv_lib_$ac_lib_var=yes"
11894 echo "configure: failed program was:" >&5
11895 cat conftest.
$ac_ext >&5
11897 eval "ac_cv_lib_$ac_lib_var=no"
11900 LIBS
="$ac_save_LIBS"
11903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11904 echo "$ac_t""yes" 1>&6
11905 cat >> confdefs.h
<<\EOF
11906 #define HAVE_INET_ATON 1
11910 echo "$ac_t""no" 1>&6
11918 if test "x$INET_LINK" != "x"; then
11919 cat >> confdefs.h
<<\EOF
11920 #define HAVE_INET_ADDR 1
11923 INET_LINK
="-l$INET_LINK"
11929 cat > confcache
<<\EOF
11930 # This file is a shell script that caches the results of configure
11931 # tests run on this system so they can be shared between configure
11932 # scripts and configure runs. It is not useful on other systems.
11933 # If it contains results you don't want to keep, you may remove or edit it.
11935 # By default, configure uses ./config.cache as the cache file,
11936 # creating it if it does not exist already. You can give configure
11937 # the --cache-file=FILE option to use a different cache file; that is
11938 # what configure does when it calls configure scripts in
11939 # subdirectories, so they share the cache.
11940 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11941 # config.status only pays attention to the cache file if you give it the
11942 # --recheck option to rerun configure.
11945 # The following way of writing the cache mishandles newlines in values,
11946 # but we know of no workaround that is simple, portable, and efficient.
11947 # So, don't put newlines in cache variables' values.
11948 # Ultrix sh set writes to stderr and can't be redirected directly,
11949 # and sets the high bit in the cache file unless we assign to the vars.
11951 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11953 # `set' does not quote correctly, so add quotes (double-quote substitution
11954 # turns \\\\ into \\, and sed turns \\ into \).
11956 -e "s/'/'\\\\''/g" \
11957 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11960 # `set' quotes correctly as required by POSIX, so do not add quotes.
11961 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11964 if cmp -s $cache_file confcache
; then
11967 if test -w $cache_file; then
11968 echo "updating cache $cache_file"
11969 cat confcache
> $cache_file
11971 echo "not updating unwritable cache $cache_file"
11978 if test "$TOOLKIT" != "MSW"; then
11984 if test "$wxUSE_THREADS" = "yes" ; then
11985 if test "$wxUSE_WINE" = 1 ; then
11986 echo "configure: warning: Threads are not supported under WINE" 1>&2
11988 elif test "$USE_BEOS" = 1; then
11989 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11994 if test "$wxUSE_THREADS" = "yes" ; then
11996 if test "$USE_AIX" = 1; then
11997 THREADS_LIB
=pthreads
11999 THREADS_LIB
=pthread
12002 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
12003 echo "configure:12004: checking for pthread_create in -l$THREADS_LIB" >&5
12004 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
12005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12006 echo $ac_n "(cached) $ac_c" 1>&6
12008 ac_save_LIBS
="$LIBS"
12009 LIBS
="-l$THREADS_LIB $LIBS"
12010 cat > conftest.
$ac_ext <<EOF
12011 #line 12012 "configure"
12012 #include "confdefs.h"
12013 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12016 char pthread_create();
12022 if { (eval echo configure
:12023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12024 eval "ac_cv_lib_$ac_lib_var=yes"
12026 echo "configure: failed program was:" >&5
12027 cat conftest.
$ac_ext >&5
12029 eval "ac_cv_lib_$ac_lib_var=no"
12032 LIBS
="$ac_save_LIBS"
12035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12036 echo "$ac_t""yes" 1>&6
12038 THREADS_OBJ
="threadpsx.lo"
12039 THREADS_LINK
=$THREADS_LIB
12042 echo "$ac_t""no" 1>&6
12044 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12045 echo "configure:12046: checking for pthread_create in -lc_r" >&5
12046 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12050 ac_save_LIBS
="$LIBS"
12052 cat > conftest.
$ac_ext <<EOF
12053 #line 12054 "configure"
12054 #include "confdefs.h"
12055 /* Override any gcc2 internal prototype to avoid an error. */
12056 /* We use char because int might match the return type of a gcc2
12057 builtin and then its argument prototype would still apply. */
12058 char pthread_create();
12064 if { (eval echo configure
:12065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12066 eval "ac_cv_lib_$ac_lib_var=yes"
12068 echo "configure: failed program was:" >&5
12069 cat conftest.
$ac_ext >&5
12071 eval "ac_cv_lib_$ac_lib_var=no"
12074 LIBS
="$ac_save_LIBS"
12077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12078 echo "$ac_t""yes" 1>&6
12080 THREADS_OBJ
="threadpsx.lo"
12084 echo "$ac_t""no" 1>&6
12086 echo $ac_n "checking for pthread_create in -lcc_dynamic""... $ac_c" 1>&6
12087 echo "configure:12088: checking for pthread_create in -lcc_dynamic" >&5
12088 ac_lib_var
=`echo cc_dynamic'_'pthread_create | sed 'y%./+-%__p_%'`
12089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12090 echo $ac_n "(cached) $ac_c" 1>&6
12092 ac_save_LIBS
="$LIBS"
12093 LIBS
="-lcc_dynamic $LIBS"
12094 cat > conftest.
$ac_ext <<EOF
12095 #line 12096 "configure"
12096 #include "confdefs.h"
12097 /* Override any gcc2 internal prototype to avoid an error. */
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12100 char pthread_create();
12106 if { (eval echo configure
:12107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12108 eval "ac_cv_lib_$ac_lib_var=yes"
12110 echo "configure: failed program was:" >&5
12111 cat conftest.
$ac_ext >&5
12113 eval "ac_cv_lib_$ac_lib_var=no"
12116 LIBS
="$ac_save_LIBS"
12119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12120 echo "$ac_t""yes" 1>&6
12122 THREADS_OBJ
="threadpsx.lo"
12123 THREADS_LINK
="cc_dynamic"
12126 echo "$ac_t""no" 1>&6
12128 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12129 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12130 echo "configure:12131: checking for sys/prctl.h" >&5
12131 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12134 cat > conftest.
$ac_ext <<EOF
12135 #line 12136 "configure"
12136 #include "confdefs.h"
12137 #include <sys/prctl.h>
12139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12140 { (eval echo configure
:12141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12142 if test -z "$ac_err"; then
12144 eval "ac_cv_header_$ac_safe=yes"
12147 echo "configure: failed program was:" >&5
12148 cat conftest.
$ac_ext >&5
12150 eval "ac_cv_header_$ac_safe=no"
12154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12155 echo "$ac_t""yes" 1>&6
12157 THREADS_OBJ
="threadsgi.lo"
12160 echo "$ac_t""no" 1>&6
12173 if test -z "$THREADS_OBJ" ; then
12175 echo "configure: warning: No thread support on this system" 1>&2
12179 if test "$wxUSE_THREADS" = "yes" ; then
12180 for ac_func
in thr_setconcurrency
12182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12183 echo "configure:12184: checking for $ac_func" >&5
12184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12185 echo $ac_n "(cached) $ac_c" 1>&6
12187 cat > conftest.
$ac_ext <<EOF
12188 #line 12189 "configure"
12189 #include "confdefs.h"
12190 /* System header to define __stub macros and hopefully few prototypes,
12191 which can conflict with char $ac_func(); below. */
12192 #include <assert.h>
12193 /* Override any gcc2 internal prototype to avoid an error. */
12194 /* We use char because int might match the return type of a gcc2
12195 builtin and then its argument prototype would still apply. */
12200 /* The GNU C library defines this for functions which it implements
12201 to always fail with ENOSYS. Some functions are actually named
12202 something starting with __ and the normal name is an alias. */
12203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12211 if { (eval echo configure
:12212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12213 eval "ac_cv_func_$ac_func=yes"
12215 echo "configure: failed program was:" >&5
12216 cat conftest.
$ac_ext >&5
12218 eval "ac_cv_func_$ac_func=no"
12223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12224 echo "$ac_t""yes" 1>&6
12225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12226 cat >> confdefs.h
<<EOF
12227 #define $ac_tr_func 1
12231 echo "$ac_t""no" 1>&6
12237 for ac_hdr
in sched.h
12239 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12241 echo "configure:12242: checking for $ac_hdr" >&5
12242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12243 echo $ac_n "(cached) $ac_c" 1>&6
12245 cat > conftest.
$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12250 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12251 { (eval echo configure
:12252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12252 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12253 if test -z "$ac_err"; then
12255 eval "ac_cv_header_$ac_safe=yes"
12258 echo "configure: failed program was:" >&5
12259 cat conftest.
$ac_ext >&5
12261 eval "ac_cv_header_$ac_safe=no"
12265 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12266 echo "$ac_t""yes" 1>&6
12267 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12268 cat >> confdefs.h
<<EOF
12269 #define $ac_tr_hdr 1
12273 echo "$ac_t""no" 1>&6
12278 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12279 echo "configure:12280: checking for sched_yield in -l$THREADS_LINK" >&5
12280 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 ac_save_LIBS
="$LIBS"
12285 LIBS
="-l$THREADS_LINK $LIBS"
12286 cat > conftest.
$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12289 /* Override any gcc2 internal prototype to avoid an error. */
12290 /* We use char because int might match the return type of a gcc2
12291 builtin and then its argument prototype would still apply. */
12292 char sched_yield();
12298 if { (eval echo configure
:12299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12300 eval "ac_cv_lib_$ac_lib_var=yes"
12302 echo "configure: failed program was:" >&5
12303 cat conftest.
$ac_ext >&5
12305 eval "ac_cv_lib_$ac_lib_var=no"
12308 LIBS
="$ac_save_LIBS"
12311 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12312 echo "$ac_t""yes" 1>&6
12313 cat >> confdefs.h
<<\EOF
12314 #define HAVE_SCHED_YIELD 1
12318 echo "$ac_t""no" 1>&6
12319 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12320 echo "configure:12321: checking for sched_yield in -l"posix4
"" >&5
12321 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12325 ac_save_LIBS
="$LIBS"
12326 LIBS
="-l"posix4
" $LIBS"
12327 cat > conftest.
$ac_ext <<EOF
12328 #line 12329 "configure"
12329 #include "confdefs.h"
12330 /* Override any gcc2 internal prototype to avoid an error. */
12331 /* We use char because int might match the return type of a gcc2
12332 builtin and then its argument prototype would still apply. */
12333 char sched_yield();
12339 if { (eval echo configure
:12340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12341 eval "ac_cv_lib_$ac_lib_var=yes"
12343 echo "configure: failed program was:" >&5
12344 cat conftest.
$ac_ext >&5
12346 eval "ac_cv_lib_$ac_lib_var=no"
12349 LIBS
="$ac_save_LIBS"
12352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12353 echo "$ac_t""yes" 1>&6
12354 cat >> confdefs.h
<<\EOF
12355 #define HAVE_SCHED_YIELD 1
12357 POSIX4_LINK
="-lposix4"
12359 echo "$ac_t""no" 1>&6
12360 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12369 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12370 echo "configure:12371: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12371 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12373 echo $ac_n "(cached) $ac_c" 1>&6
12375 ac_save_LIBS
="$LIBS"
12376 LIBS
="-l$THREADS_LINK $LIBS"
12377 cat > conftest.
$ac_ext <<EOF
12378 #line 12379 "configure"
12379 #include "confdefs.h"
12380 /* Override any gcc2 internal prototype to avoid an error. */
12381 /* We use char because int might match the return type of a gcc2
12382 builtin and then its argument prototype would still apply. */
12383 char pthread_attr_getschedpolicy();
12386 pthread_attr_getschedpolicy()
12389 if { (eval echo configure
:12390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12391 eval "ac_cv_lib_$ac_lib_var=yes"
12393 echo "configure: failed program was:" >&5
12394 cat conftest.
$ac_ext >&5
12396 eval "ac_cv_lib_$ac_lib_var=no"
12399 LIBS
="$ac_save_LIBS"
12402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12403 echo "$ac_t""yes" 1>&6
12404 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12405 echo "configure:12406: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12406 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12408 echo $ac_n "(cached) $ac_c" 1>&6
12410 ac_save_LIBS
="$LIBS"
12411 LIBS
="-l$THREADS_LINK $LIBS"
12412 cat > conftest.
$ac_ext <<EOF
12413 #line 12414 "configure"
12414 #include "confdefs.h"
12415 /* Override any gcc2 internal prototype to avoid an error. */
12416 /* We use char because int might match the return type of a gcc2
12417 builtin and then its argument prototype would still apply. */
12418 char pthread_attr_setschedparam();
12421 pthread_attr_setschedparam()
12424 if { (eval echo configure
:12425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12426 eval "ac_cv_lib_$ac_lib_var=yes"
12428 echo "configure: failed program was:" >&5
12429 cat conftest.
$ac_ext >&5
12431 eval "ac_cv_lib_$ac_lib_var=no"
12434 LIBS
="$ac_save_LIBS"
12437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12438 echo "$ac_t""yes" 1>&6
12439 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12440 echo "configure:12441: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12441 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12445 ac_save_LIBS
="$LIBS"
12446 LIBS
="-l$THREADS_LINK $LIBS"
12447 cat > conftest.
$ac_ext <<EOF
12448 #line 12449 "configure"
12449 #include "confdefs.h"
12450 /* Override any gcc2 internal prototype to avoid an error. */
12451 /* We use char because int might match the return type of a gcc2
12452 builtin and then its argument prototype would still apply. */
12453 char sched_get_priority_max();
12456 sched_get_priority_max()
12459 if { (eval echo configure
:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12461 eval "ac_cv_lib_$ac_lib_var=yes"
12463 echo "configure: failed program was:" >&5
12464 cat conftest.
$ac_ext >&5
12466 eval "ac_cv_lib_$ac_lib_var=no"
12469 LIBS
="$ac_save_LIBS"
12472 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12473 echo "$ac_t""yes" 1>&6
12476 echo "$ac_t""no" 1>&6
12477 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12478 echo "configure:12479: checking for sched_get_priority_max in -l"posix4
"" >&5
12479 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12480 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12481 echo $ac_n "(cached) $ac_c" 1>&6
12483 ac_save_LIBS
="$LIBS"
12484 LIBS
="-l"posix4
" $LIBS"
12485 cat > conftest.
$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12488 /* Override any gcc2 internal prototype to avoid an error. */
12489 /* We use char because int might match the return type of a gcc2
12490 builtin and then its argument prototype would still apply. */
12491 char sched_get_priority_max();
12494 sched_get_priority_max()
12497 if { (eval echo configure
:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12499 eval "ac_cv_lib_$ac_lib_var=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 eval "ac_cv_lib_$ac_lib_var=no"
12507 LIBS
="$ac_save_LIBS"
12510 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12511 echo "$ac_t""yes" 1>&6
12514 POSIX4_LINK
="-lposix4"
12517 echo "$ac_t""no" 1>&6
12525 echo "$ac_t""no" 1>&6
12530 echo "$ac_t""no" 1>&6
12534 if test "$HAVE_PRIOR_FUNCS" = 1; then
12535 cat >> confdefs.h
<<\EOF
12536 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12540 echo "configure: warning: Setting thread priority will not work" 1>&2
12543 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12544 echo "configure:12545: checking for pthread_cancel in -l$THREADS_LINK" >&5
12545 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12547 echo $ac_n "(cached) $ac_c" 1>&6
12549 ac_save_LIBS
="$LIBS"
12550 LIBS
="-l$THREADS_LINK $LIBS"
12551 cat > conftest.
$ac_ext <<EOF
12552 #line 12553 "configure"
12553 #include "confdefs.h"
12554 /* Override any gcc2 internal prototype to avoid an error. */
12555 /* We use char because int might match the return type of a gcc2
12556 builtin and then its argument prototype would still apply. */
12557 char pthread_cancel();
12563 if { (eval echo configure
:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12565 eval "ac_cv_lib_$ac_lib_var=yes"
12567 echo "configure: failed program was:" >&5
12568 cat conftest.
$ac_ext >&5
12570 eval "ac_cv_lib_$ac_lib_var=no"
12573 LIBS
="$ac_save_LIBS"
12576 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12577 echo "$ac_t""yes" 1>&6
12578 cat >> confdefs.h
<<\EOF
12579 #define HAVE_PTHREAD_CANCEL 1
12583 echo "$ac_t""no" 1>&6
12584 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12588 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12589 echo "configure:12590: checking for pthread_cleanup_push/pop" >&5
12590 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12591 echo $ac_n "(cached) $ac_c" 1>&6
12594 cat > conftest.
$ac_ext <<EOF
12595 #line 12596 "configure"
12596 #include "confdefs.h"
12597 #include <pthread.h>
12600 pthread_cleanup_push(NULL, NULL);
12601 pthread_cleanup_pop(0);
12605 if { (eval echo configure
:12606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12608 wx_cv_func_pthread_cleanup_push
=yes
12609 cat >> confdefs.h
<<\EOF
12610 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12615 echo "configure: failed program was:" >&5
12616 cat conftest.
$ac_ext >&5
12619 wx_cv_func_pthread_cleanup_push
=no
12626 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12628 THREADS_LINK
="-l$THREADS_LINK"
12630 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12631 CFLAGS
="${CFLAGS} -mt"
12632 CXXFLAGS
="${CXXFLAGS} -mt"
12633 LDFLAGS
="${LDFLAGS} -mt"
12639 if test "$wxUSE_THREADS" = "yes"; then
12640 cat >> confdefs.h
<<\EOF
12641 #define wxUSE_THREADS 1
12645 CFLAGS
="${CFLAGS} -D_REENTRANT"
12646 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12650 if test "$ac_cv_func_strtok_r" = "yes"; then
12651 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12652 echo "configure:12653: checking if -D_REENTRANT is needed" >&5
12653 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12654 CFLAGS
="${CFLAGS} -D_REENTRANT"
12655 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12656 echo "$ac_t""yes" 1>&6
12658 echo "$ac_t""no" 1>&6
12663 if test "$WXGTK20" = 1 ; then
12664 cat >> confdefs.h
<<EOF
12665 #define __WXGTK20__ $WXGTK20
12671 if test "$WXGTK12" = 1 ; then
12672 cat >> confdefs.h
<<EOF
12673 #define __WXGTK12__ $WXGTK12
12678 if test "$WXGTK127" = 1 ; then
12679 cat >> confdefs.h
<<EOF
12680 #define __WXGTK127__ $WXGTK127
12685 if test "$WXWINE" = 1 ; then
12686 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12689 if test "$wxUSE_MAC" = 1 ; then
12690 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -DTARGET_CARBON"
12691 TOOLKIT_INCLUDE
="${TOOLKIT_INCLUDE}"
12694 if test "$wxUSE_CYGWIN" = 1 ; then
12695 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12700 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12705 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12706 wxUSE_DEBUG_INFO
=yes
12710 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12711 cat >> confdefs.h
<<\EOF
12715 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12717 if test "$wxUSE_GTK" = 1 ; then
12718 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12722 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12723 cat >> confdefs.h
<<\EOF
12724 #define wxUSE_MEMORY_TRACING 1
12727 cat >> confdefs.h
<<\EOF
12728 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12731 cat >> confdefs.h
<<\EOF
12732 #define wxUSE_DEBUG_NEW_ALWAYS 1
12735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12738 if test "$wxUSE_DMALLOC" = "yes" ; then
12739 DMALLOC_LINK
="-ldmalloc"
12743 if test "$wxUSE_PROFILE" = "yes" ; then
12749 if test "$GCC" = yes ; then
12750 if test "$wxUSE_NO_RTTI" = "yes" ; then
12751 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
12753 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12754 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
12756 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12757 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12759 if test "$wxUSE_NO_DEPS" = "no" ; then
12760 DEP_INFO_FLAGS
="-MMD"
12765 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12766 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12767 if test "$wxUSE_OPTIMISE" = "no" ; then
12770 if test "$GCC" = yes ; then
12773 i586
-*-*|i686
-*-* )
12774 OPTIMISE
="${OPTIMISE} "
12784 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12785 cat >> confdefs.h
<<\EOF
12786 #define wxUSE_ZLIB 1
12789 if test "$wxUSE_ZLIB" = "yes" ; then
12790 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12793 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12794 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12795 echo "configure:12796: checking for zlib.h" >&5
12796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12797 echo $ac_n "(cached) $ac_c" 1>&6
12799 cat > conftest.
$ac_ext <<EOF
12800 #line 12801 "configure"
12801 #include "confdefs.h"
12804 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12805 { (eval echo configure
:12806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12806 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12807 if test -z "$ac_err"; then
12809 eval "ac_cv_header_$ac_safe=yes"
12812 echo "configure: failed program was:" >&5
12813 cat conftest.
$ac_ext >&5
12815 eval "ac_cv_header_$ac_safe=no"
12819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12820 echo "$ac_t""yes" 1>&6
12821 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12822 echo "configure:12823: checking for deflate in -lz" >&5
12823 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12825 echo $ac_n "(cached) $ac_c" 1>&6
12827 ac_save_LIBS
="$LIBS"
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 /* Override any gcc2 internal prototype to avoid an error. */
12833 /* We use char because int might match the return type of a gcc2
12834 builtin and then its argument prototype would still apply. */
12841 if { (eval echo configure
:12842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12843 eval "ac_cv_lib_$ac_lib_var=yes"
12845 echo "configure: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12848 eval "ac_cv_lib_$ac_lib_var=no"
12851 LIBS
="$ac_save_LIBS"
12854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12855 echo "$ac_t""yes" 1>&6
12858 echo "$ac_t""no" 1>&6
12862 echo "$ac_t""no" 1>&6
12865 if test "x$ZLIB_LINK" = "x" ; then
12866 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12872 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12873 cat >> confdefs.h
<<\EOF
12874 #define wxUSE_LIBPNG 1
12877 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12878 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12882 if test "$wxUSE_LIBPNG" = "yes" ; then
12883 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12886 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12887 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12888 echo "configure:12889: checking for png.h" >&5
12889 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12890 echo $ac_n "(cached) $ac_c" 1>&6
12892 cat > conftest.
$ac_ext <<EOF
12893 #line 12894 "configure"
12894 #include "confdefs.h"
12897 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12898 { (eval echo configure
:12899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12899 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12900 if test -z "$ac_err"; then
12902 eval "ac_cv_header_$ac_safe=yes"
12905 echo "configure: failed program was:" >&5
12906 cat conftest.
$ac_ext >&5
12908 eval "ac_cv_header_$ac_safe=no"
12912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12913 echo "$ac_t""yes" 1>&6
12914 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12915 echo "configure:12916: checking for png_check_sig in -lpng" >&5
12916 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12917 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12918 echo $ac_n "(cached) $ac_c" 1>&6
12920 ac_save_LIBS
="$LIBS"
12921 LIBS
="-lpng -lz -lm $LIBS"
12922 cat > conftest.
$ac_ext <<EOF
12923 #line 12924 "configure"
12924 #include "confdefs.h"
12925 /* Override any gcc2 internal prototype to avoid an error. */
12926 /* We use char because int might match the return type of a gcc2
12927 builtin and then its argument prototype would still apply. */
12928 char png_check_sig();
12934 if { (eval echo configure
:12935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12936 eval "ac_cv_lib_$ac_lib_var=yes"
12938 echo "configure: failed program was:" >&5
12939 cat conftest.
$ac_ext >&5
12941 eval "ac_cv_lib_$ac_lib_var=no"
12944 LIBS
="$ac_save_LIBS"
12947 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12948 echo "$ac_t""yes" 1>&6
12951 echo "$ac_t""no" 1>&6
12956 echo "$ac_t""no" 1>&6
12959 if test "x$PNG_LINK" = "x" ; then
12960 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12968 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12969 cat >> confdefs.h
<<\EOF
12970 #define wxUSE_LIBJPEG 1
12973 if test "$wxUSE_LIBJPEG" = "yes" ; then
12974 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12977 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12978 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12979 echo "configure:12980: checking for jpeglib.h" >&5
12980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12981 echo $ac_n "(cached) $ac_c" 1>&6
12983 cat > conftest.
$ac_ext <<EOF
12984 #line 12985 "configure"
12985 #include "confdefs.h"
12986 #include <jpeglib.h>
12988 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12989 { (eval echo configure
:12990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12990 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12991 if test -z "$ac_err"; then
12993 eval "ac_cv_header_$ac_safe=yes"
12996 echo "configure: failed program was:" >&5
12997 cat conftest.
$ac_ext >&5
12999 eval "ac_cv_header_$ac_safe=no"
13003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13004 echo "$ac_t""yes" 1>&6
13005 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
13006 echo "configure:13007: checking for jpeg_read_header in -ljpeg" >&5
13007 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
13008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13009 echo $ac_n "(cached) $ac_c" 1>&6
13011 ac_save_LIBS
="$LIBS"
13012 LIBS
="-ljpeg $LIBS"
13013 cat > conftest.
$ac_ext <<EOF
13014 #line 13015 "configure"
13015 #include "confdefs.h"
13016 /* Override any gcc2 internal prototype to avoid an error. */
13017 /* We use char because int might match the return type of a gcc2
13018 builtin and then its argument prototype would still apply. */
13019 char jpeg_read_header();
13025 if { (eval echo configure
:13026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13027 eval "ac_cv_lib_$ac_lib_var=yes"
13029 echo "configure: failed program was:" >&5
13030 cat conftest.
$ac_ext >&5
13032 eval "ac_cv_lib_$ac_lib_var=no"
13035 LIBS
="$ac_save_LIBS"
13038 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13039 echo "$ac_t""yes" 1>&6
13042 echo "$ac_t""no" 1>&6
13046 echo "$ac_t""no" 1>&6
13049 if test "x$JPEG_LINK" = "x" ; then
13050 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13056 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13057 cat >> confdefs.h
<<\EOF
13058 #define wxUSE_LIBTIFF 1
13061 if test "$wxUSE_LIBTIFF" = "yes" ; then
13062 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13065 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13066 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13067 echo "configure:13068: checking for tiffio.h" >&5
13068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13069 echo $ac_n "(cached) $ac_c" 1>&6
13071 cat > conftest.
$ac_ext <<EOF
13072 #line 13073 "configure"
13073 #include "confdefs.h"
13074 #include <tiffio.h>
13076 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13077 { (eval echo configure
:13078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13078 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13079 if test -z "$ac_err"; then
13081 eval "ac_cv_header_$ac_safe=yes"
13084 echo "configure: failed program was:" >&5
13085 cat conftest.
$ac_ext >&5
13087 eval "ac_cv_header_$ac_safe=no"
13091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13092 echo "$ac_t""yes" 1>&6
13093 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13094 echo "configure:13095: checking for TIFFError in -ltiff" >&5
13095 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13097 echo $ac_n "(cached) $ac_c" 1>&6
13099 ac_save_LIBS
="$LIBS"
13100 LIBS
="-ltiff -lm $LIBS"
13101 cat > conftest.
$ac_ext <<EOF
13102 #line 13103 "configure"
13103 #include "confdefs.h"
13104 /* Override any gcc2 internal prototype to avoid an error. */
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13113 if { (eval echo configure
:13114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13115 eval "ac_cv_lib_$ac_lib_var=yes"
13117 echo "configure: failed program was:" >&5
13118 cat conftest.
$ac_ext >&5
13120 eval "ac_cv_lib_$ac_lib_var=no"
13123 LIBS
="$ac_save_LIBS"
13126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13127 echo "$ac_t""yes" 1>&6
13130 echo "$ac_t""no" 1>&6
13134 echo "$ac_t""no" 1>&6
13137 if test "x$TIFF_LINK" = "x" ; then
13138 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13144 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13145 cat >> confdefs.h
<<\EOF
13146 #define wxUSE_FREETYPE 1
13149 if test "$wxUSE_FREETYPE" = "yes" ; then
13150 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13153 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13154 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13155 echo "configure:13156: checking for freetype.h" >&5
13156 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13157 echo $ac_n "(cached) $ac_c" 1>&6
13159 cat > conftest.
$ac_ext <<EOF
13160 #line 13161 "configure"
13161 #include "confdefs.h"
13162 #include <freetype.h>
13164 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13165 { (eval echo configure
:13166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13166 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13167 if test -z "$ac_err"; then
13169 eval "ac_cv_header_$ac_safe=yes"
13172 echo "configure: failed program was:" >&5
13173 cat conftest.
$ac_ext >&5
13175 eval "ac_cv_header_$ac_safe=no"
13179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13180 echo "$ac_t""yes" 1>&6
13181 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13182 echo "configure:13183: checking for FT_Render_Glyph in -lfreetype" >&5
13183 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13185 echo $ac_n "(cached) $ac_c" 1>&6
13187 ac_save_LIBS
="$LIBS"
13188 LIBS
="-lfreetype -lm $LIBS"
13189 cat > conftest.
$ac_ext <<EOF
13190 #line 13191 "configure"
13191 #include "confdefs.h"
13192 /* Override any gcc2 internal prototype to avoid an error. */
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13195 char FT_Render_Glyph();
13201 if { (eval echo configure
:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13203 eval "ac_cv_lib_$ac_lib_var=yes"
13205 echo "configure: failed program was:" >&5
13206 cat conftest.
$ac_ext >&5
13208 eval "ac_cv_lib_$ac_lib_var=no"
13211 LIBS
="$ac_save_LIBS"
13214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13215 echo "$ac_t""yes" 1>&6
13216 FREETYPE_LINK
="-lfreetype"
13218 echo "$ac_t""no" 1>&6
13223 echo "$ac_t""no" 1>&6
13226 if test "x$FREETYPE_LINK" = "x" ; then
13227 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13232 if test "$wxUSE_OPENGL" = "yes"; then
13233 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13234 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13235 echo "configure:13236: checking for GL/gl.h" >&5
13236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13237 echo $ac_n "(cached) $ac_c" 1>&6
13239 cat > conftest.
$ac_ext <<EOF
13240 #line 13241 "configure"
13241 #include "confdefs.h"
13244 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13245 { (eval echo configure
:13246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13246 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13247 if test -z "$ac_err"; then
13249 eval "ac_cv_header_$ac_safe=yes"
13252 echo "configure: failed program was:" >&5
13253 cat conftest.
$ac_ext >&5
13255 eval "ac_cv_header_$ac_safe=no"
13259 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13260 echo "$ac_t""yes" 1>&6
13262 cat >> confdefs.h
<<\EOF
13263 #define wxUSE_OPENGL 1
13266 cat >> confdefs.h
<<\EOF
13267 #define wxUSE_GLCANVAS 1
13270 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13271 echo "configure:13272: checking for glFlush in -lGL" >&5
13272 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 ac_save_LIBS
="$LIBS"
13278 cat > conftest.
$ac_ext <<EOF
13279 #line 13280 "configure"
13280 #include "confdefs.h"
13281 /* Override any gcc2 internal prototype to avoid an error. */
13282 /* We use char because int might match the return type of a gcc2
13283 builtin and then its argument prototype would still apply. */
13290 if { (eval echo configure
:13291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13292 eval "ac_cv_lib_$ac_lib_var=yes"
13294 echo "configure: failed program was:" >&5
13295 cat conftest.
$ac_ext >&5
13297 eval "ac_cv_lib_$ac_lib_var=no"
13300 LIBS
="$ac_save_LIBS"
13303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13304 echo "$ac_t""yes" 1>&6
13306 OPENGL_LINK
="-lGL -lGLU"
13309 echo "$ac_t""no" 1>&6
13311 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13312 echo "configure:13313: checking for glFlush in -lMesaGL" >&5
13313 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13315 echo $ac_n "(cached) $ac_c" 1>&6
13317 ac_save_LIBS
="$LIBS"
13318 LIBS
="-lMesaGL $LIBS"
13319 cat > conftest.
$ac_ext <<EOF
13320 #line 13321 "configure"
13321 #include "confdefs.h"
13322 /* Override any gcc2 internal prototype to avoid an error. */
13323 /* We use char because int might match the return type of a gcc2
13324 builtin and then its argument prototype would still apply. */
13331 if { (eval echo configure
:13332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13333 eval "ac_cv_lib_$ac_lib_var=yes"
13335 echo "configure: failed program was:" >&5
13336 cat conftest.
$ac_ext >&5
13338 eval "ac_cv_lib_$ac_lib_var=no"
13341 LIBS
="$ac_save_LIBS"
13344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13345 echo "$ac_t""yes" 1>&6
13347 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13350 echo "$ac_t""no" 1>&6
13358 echo "$ac_t""no" 1>&6
13365 if test "$wxUSE_GUI" = "yes"; then
13366 cat >> confdefs.h
<<\EOF
13367 #define wxUSE_GUI 1
13372 cat >> confdefs.h
<<\EOF
13373 #define wxUSE_NOGUI 1
13379 if test "$wxUSE_UNIX" = "yes"; then
13380 cat >> confdefs.h
<<\EOF
13381 #define wxUSE_UNIX 1
13387 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13388 cat >> confdefs.h
<<\EOF
13389 #define wxUSE_APPLE_IEEE 1
13394 if test "$wxUSE_WAVE" = "yes"; then
13395 cat >> confdefs.h
<<\EOF
13396 #define wxUSE_WAVE 1
13401 if test "$wxUSE_FILE" = "yes"; then
13402 cat >> confdefs.h
<<\EOF
13403 #define wxUSE_FILE 1
13408 if test "$wxUSE_FILESYSTEM" = "yes"; then
13409 cat >> confdefs.h
<<\EOF
13410 #define wxUSE_FILESYSTEM 1
13415 if test "$wxUSE_FS_INET" = "yes"; then
13416 cat >> confdefs.h
<<\EOF
13417 #define wxUSE_FS_INET 1
13422 if test "$wxUSE_FS_ZIP" = "yes"; then
13423 cat >> confdefs.h
<<\EOF
13424 #define wxUSE_FS_ZIP 1
13429 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13430 cat >> confdefs.h
<<\EOF
13431 #define wxUSE_ZIPSTREAM 1
13436 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13437 cat >> confdefs.h
<<\EOF
13438 #define wxUSE_ON_FATAL_EXCEPTION 1
13443 if test "$wxUSE_BUSYINFO" = "yes"; then
13444 cat >> confdefs.h
<<\EOF
13445 #define wxUSE_BUSYINFO 1
13450 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13451 cat >> confdefs.h
<<\EOF
13452 #define wxUSE_STD_IOSTREAM 1
13457 if test "$wxUSE_TEXTFILE" = "yes"; then
13458 if test "$wxUSE_FILE" != "yes"; then
13459 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13461 cat >> confdefs.h
<<\EOF
13462 #define wxUSE_TEXTFILE 1
13468 if test "$wxUSE_CONFIG" = "yes" ; then
13469 if test "$wxUSE_TEXTFILE" != "yes"; then
13470 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13472 cat >> confdefs.h
<<\EOF
13473 #define wxUSE_CONFIG 1
13476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13480 if test "$wxUSE_INTL" = "yes" ; then
13481 if test "$wxUSE_FILE" != "yes"; then
13482 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13484 cat >> confdefs.h
<<\EOF
13485 #define wxUSE_INTL 1
13488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13489 GUIDIST
="$GUIDIST INTL_DIST"
13493 if test "$wxUSE_LOG" = "yes"; then
13494 cat >> confdefs.h
<<\EOF
13495 #define wxUSE_LOG 1
13500 if test "$wxUSE_LONGLONG" = "yes"; then
13501 cat >> confdefs.h
<<\EOF
13502 #define wxUSE_LONGLONG 1
13507 if test "$wxUSE_GEOMETRY" = "yes"; then
13508 cat >> confdefs.h
<<\EOF
13509 #define wxUSE_GEOMETRY 1
13514 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13515 cat >> confdefs.h
<<\EOF
13516 #define wxUSE_DIALUP_MANAGER 1
13519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13522 if test "$wxUSE_STREAMS" = "yes" ; then
13523 cat >> confdefs.h
<<\EOF
13524 #define wxUSE_STREAMS 1
13530 if test "$wxUSE_TIMEDATE" = "yes"; then
13531 for ac_func
in strptime
13533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13534 echo "configure:13535: checking for $ac_func" >&5
13535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13536 echo $ac_n "(cached) $ac_c" 1>&6
13538 cat > conftest.
$ac_ext <<EOF
13539 #line 13540 "configure"
13540 #include "confdefs.h"
13541 /* System header to define __stub macros and hopefully few prototypes,
13542 which can conflict with char $ac_func(); below. */
13543 #include <assert.h>
13544 /* Override any gcc2 internal prototype to avoid an error. */
13545 /* We use char because int might match the return type of a gcc2
13546 builtin and then its argument prototype would still apply. */
13551 /* The GNU C library defines this for functions which it implements
13552 to always fail with ENOSYS. Some functions are actually named
13553 something starting with __ and the normal name is an alias. */
13554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13562 if { (eval echo configure
:13563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13564 eval "ac_cv_func_$ac_func=yes"
13566 echo "configure: failed program was:" >&5
13567 cat conftest.
$ac_ext >&5
13569 eval "ac_cv_func_$ac_func=no"
13574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13575 echo "$ac_t""yes" 1>&6
13576 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13577 cat >> confdefs.h
<<EOF
13578 #define $ac_tr_func 1
13582 echo "$ac_t""no" 1>&6
13587 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13588 echo "configure:13589: checking for timezone variable in <time.h>" >&5
13589 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13593 cat > conftest.
$ac_ext <<EOF
13594 #line 13595 "configure"
13595 #include "confdefs.h"
13606 if { (eval echo configure
:13607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13609 wx_cv_var_timezone
=__timezone
13612 echo "configure: failed program was:" >&5
13613 cat conftest.
$ac_ext >&5
13616 cat > conftest.
$ac_ext <<EOF
13617 #line 13618 "configure"
13618 #include "confdefs.h"
13629 if { (eval echo configure
:13630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13632 wx_cv_var_timezone
=_timezone
13635 echo "configure: failed program was:" >&5
13636 cat conftest.
$ac_ext >&5
13639 cat > conftest.
$ac_ext <<EOF
13640 #line 13641 "configure"
13641 #include "confdefs.h"
13652 if { (eval echo configure
:13653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13655 wx_cv_var_timezone
=timezone
13658 echo "configure: failed program was:" >&5
13659 cat conftest.
$ac_ext >&5
13661 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13677 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13679 cat >> confdefs.h
<<EOF
13680 #define WX_TIMEZONE $wx_cv_var_timezone
13684 for ac_func
in localtime
13686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13687 echo "configure:13688: checking for $ac_func" >&5
13688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13689 echo $ac_n "(cached) $ac_c" 1>&6
13691 cat > conftest.
$ac_ext <<EOF
13692 #line 13693 "configure"
13693 #include "confdefs.h"
13694 /* System header to define __stub macros and hopefully few prototypes,
13695 which can conflict with char $ac_func(); below. */
13696 #include <assert.h>
13697 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13704 /* The GNU C library defines this for functions which it implements
13705 to always fail with ENOSYS. Some functions are actually named
13706 something starting with __ and the normal name is an alias. */
13707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13715 if { (eval echo configure
:13716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13717 eval "ac_cv_func_$ac_func=yes"
13719 echo "configure: failed program was:" >&5
13720 cat conftest.
$ac_ext >&5
13722 eval "ac_cv_func_$ac_func=no"
13727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13728 echo "$ac_t""yes" 1>&6
13729 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13730 cat >> confdefs.h
<<EOF
13731 #define $ac_tr_func 1
13735 echo "$ac_t""no" 1>&6
13740 if test "$ac_cv_func_localtime" = "yes"; then
13741 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13742 echo "configure:13743: checking for tm_gmtoff in struct tm" >&5
13743 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13744 echo $ac_n "(cached) $ac_c" 1>&6
13747 cat > conftest.
$ac_ext <<EOF
13748 #line 13749 "configure"
13749 #include "confdefs.h"
13760 if { (eval echo configure
:13761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13763 wx_cv_struct_tm_has_gmtoff
=yes
13764 cat >> confdefs.h
<<\EOF
13765 #define WX_GMTOFF_IN_TM 1
13770 echo "configure: failed program was:" >&5
13771 cat conftest.
$ac_ext >&5
13773 wx_cv_struct_tm_has_gmtoff
=no
13780 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13783 for ac_func
in gettimeofday ftime
13785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13786 echo "configure:13787: checking for $ac_func" >&5
13787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13788 echo $ac_n "(cached) $ac_c" 1>&6
13790 cat > conftest.
$ac_ext <<EOF
13791 #line 13792 "configure"
13792 #include "confdefs.h"
13793 /* System header to define __stub macros and hopefully few prototypes,
13794 which can conflict with char $ac_func(); below. */
13795 #include <assert.h>
13796 /* Override any gcc2 internal prototype to avoid an error. */
13797 /* We use char because int might match the return type of a gcc2
13798 builtin and then its argument prototype would still apply. */
13803 /* The GNU C library defines this for functions which it implements
13804 to always fail with ENOSYS. Some functions are actually named
13805 something starting with __ and the normal name is an alias. */
13806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13814 if { (eval echo configure
:13815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13816 eval "ac_cv_func_$ac_func=yes"
13818 echo "configure: failed program was:" >&5
13819 cat conftest.
$ac_ext >&5
13821 eval "ac_cv_func_$ac_func=no"
13826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13827 echo "$ac_t""yes" 1>&6
13828 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13829 cat >> confdefs.h
<<EOF
13830 #define $ac_tr_func 1
13834 echo "$ac_t""no" 1>&6
13839 if test "$ac_cv_func_gettimeofday" = "yes"; then
13840 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13841 echo "configure:13842: checking whether gettimeofday takes two arguments" >&5
13842 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13843 echo $ac_n "(cached) $ac_c" 1>&6
13848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13849 ac_cpp
='$CXXCPP $CPPFLAGS'
13850 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13851 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13852 cross_compiling
=$ac_cv_prog_cxx_cross
13855 cat > conftest.
$ac_ext <<EOF
13856 #line 13857 "configure"
13857 #include "confdefs.h"
13859 #include <sys/time.h>
13860 #include <unistd.h>
13865 struct timezone tz;
13866 gettimeofday(&tv, &tz);
13870 if { (eval echo configure
:13871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13872 wx_cv_func_gettimeofday_has_2_args
=yes
13874 echo "configure: failed program was:" >&5
13875 cat conftest.
$ac_ext >&5
13877 cat > conftest.
$ac_ext <<EOF
13878 #line 13879 "configure"
13879 #include "confdefs.h"
13881 #include <sys/time.h>
13882 #include <unistd.h>
13891 if { (eval echo configure
:13892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13893 wx_cv_func_gettimeofday_has_2_args
=no
13895 echo "configure: failed program was:" >&5
13896 cat conftest.
$ac_ext >&5
13898 wx_cv_func_gettimeofday_has_2_args
=unknown
13906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13907 ac_cpp
='$CPP $CPPFLAGS'
13908 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13909 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13910 cross_compiling
=$ac_cv_prog_cc_cross
13915 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13917 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13918 cat >> confdefs.h
<<\EOF
13919 #define WX_GETTIMEOFDAY_NO_TZ 1
13925 cat >> confdefs.h
<<\EOF
13926 #define wxUSE_TIMEDATE 1
13929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13933 if test "$TOOLKIT" != "MSW"; then
13935 if test "$wxUSE_SOCKETS" = "yes"; then
13936 echo $ac_n "checking for socket""... $ac_c" 1>&6
13937 echo "configure:13938: checking for socket" >&5
13938 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13939 echo $ac_n "(cached) $ac_c" 1>&6
13941 cat > conftest.
$ac_ext <<EOF
13942 #line 13943 "configure"
13943 #include "confdefs.h"
13944 /* System header to define __stub macros and hopefully few prototypes,
13945 which can conflict with char socket(); below. */
13946 #include <assert.h>
13947 /* Override any gcc2 internal prototype to avoid an error. */
13948 /* We use char because int might match the return type of a gcc2
13949 builtin and then its argument prototype would still apply. */
13954 /* The GNU C library defines this for functions which it implements
13955 to always fail with ENOSYS. Some functions are actually named
13956 something starting with __ and the normal name is an alias. */
13957 #if defined (__stub_socket) || defined (__stub___socket)
13965 if { (eval echo configure
:13966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13967 eval "ac_cv_func_socket=yes"
13969 echo "configure: failed program was:" >&5
13970 cat conftest.
$ac_ext >&5
13972 eval "ac_cv_func_socket=no"
13977 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13978 echo "$ac_t""yes" 1>&6
13981 echo "$ac_t""no" 1>&6
13982 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13983 echo "configure:13984: checking for socket in -lsocket" >&5
13984 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13986 echo $ac_n "(cached) $ac_c" 1>&6
13988 ac_save_LIBS
="$LIBS"
13989 LIBS
="-lsocket $LIBS"
13990 cat > conftest.
$ac_ext <<EOF
13991 #line 13992 "configure"
13992 #include "confdefs.h"
13993 /* Override any gcc2 internal prototype to avoid an error. */
13994 /* We use char because int might match the return type of a gcc2
13995 builtin and then its argument prototype would still apply. */
14002 if { (eval echo configure
:14003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14004 eval "ac_cv_lib_$ac_lib_var=yes"
14006 echo "configure: failed program was:" >&5
14007 cat conftest.
$ac_ext >&5
14009 eval "ac_cv_lib_$ac_lib_var=no"
14012 LIBS
="$ac_save_LIBS"
14015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14016 echo "$ac_t""yes" 1>&6
14017 INET_LINK
="$INET_LINK -lsocket"
14019 echo "$ac_t""no" 1>&6
14021 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
14033 if test "$wxUSE_SOCKETS" = "yes" ; then
14034 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
14035 echo "configure:14036: checking what is the type of the third argument of getsockname" >&5
14036 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
14037 echo $ac_n "(cached) $ac_c" 1>&6
14042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14043 ac_cpp
='$CXXCPP $CPPFLAGS'
14044 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14045 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14046 cross_compiling
=$ac_cv_prog_cxx_cross
14049 cat > conftest.
$ac_ext <<EOF
14050 #line 14051 "configure"
14051 #include "confdefs.h"
14053 #include <sys/types.h>
14054 #include <sys/socket.h>
14059 getsockname(0, 0, &len);
14063 if { (eval echo configure
:14064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14065 wx_cv_type_getsockname3
=socklen_t
14067 echo "configure: failed program was:" >&5
14068 cat conftest.
$ac_ext >&5
14070 cat > conftest.
$ac_ext <<EOF
14071 #line 14072 "configure"
14072 #include "confdefs.h"
14074 #include <sys/types.h>
14075 #include <sys/socket.h>
14080 getsockname(0, 0, &len);
14084 if { (eval echo configure
:14085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14086 wx_cv_type_getsockname3
=size_t
14088 echo "configure: failed program was:" >&5
14089 cat conftest.
$ac_ext >&5
14091 cat > conftest.
$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14095 #include <sys/types.h>
14096 #include <sys/socket.h>
14101 getsockname(0, 0, &len);
14105 if { (eval echo configure
:14106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14107 wx_cv_type_getsockname3
=int
14109 echo "configure: failed program was:" >&5
14110 cat conftest.
$ac_ext >&5
14112 wx_cv_type_getsockname3
=unknown
14124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14125 ac_cpp
='$CPP $CPPFLAGS'
14126 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14127 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14128 cross_compiling
=$ac_cv_prog_cc_cross
14133 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14135 if test "$wx_cv_type_getsockname3" = "unknown"; then
14137 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14139 cat >> confdefs.h
<<EOF
14140 #define SOCKLEN_T $wx_cv_type_getsockname3
14148 if test "$wxUSE_SOCKETS" = "yes" ; then
14149 cat >> confdefs.h
<<\EOF
14150 #define wxUSE_SOCKETS 1
14153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14154 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14158 if test "$wxUSE_GUI" = "yes"; then
14160 if test "$TOOLKIT" != "MSW"; then
14162 if test "$wxUSE_JOYSTICK" = "yes"; then
14163 for ac_hdr
in linux
/joystick.h
14165 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14167 echo "configure:14168: checking for $ac_hdr" >&5
14168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14169 echo $ac_n "(cached) $ac_c" 1>&6
14171 cat > conftest.
$ac_ext <<EOF
14172 #line 14173 "configure"
14173 #include "confdefs.h"
14176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14177 { (eval echo configure
:14178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14179 if test -z "$ac_err"; then
14181 eval "ac_cv_header_$ac_safe=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.
$ac_ext >&5
14187 eval "ac_cv_header_$ac_safe=no"
14191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14192 echo "$ac_t""yes" 1>&6
14193 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14194 cat >> confdefs.h
<<EOF
14195 #define $ac_tr_hdr 1
14199 echo "$ac_t""no" 1>&6
14203 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14205 echo "configure: warning: Joystick not supported by this system" 1>&2
14211 if test "$wxUSE_JOYSTICK" = "yes"; then
14212 cat >> confdefs.h
<<\EOF
14213 #define wxUSE_JOYSTICK 1
14216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14222 if test "$TOOLKIT" != "MSW"; then
14226 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14227 if test "$USE_MAC" = 1; then
14230 for ac_func
in dlopen
14232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14233 echo "configure:14234: checking for $ac_func" >&5
14234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14235 echo $ac_n "(cached) $ac_c" 1>&6
14237 cat > conftest.
$ac_ext <<EOF
14238 #line 14239 "configure"
14239 #include "confdefs.h"
14240 /* System header to define __stub macros and hopefully few prototypes,
14241 which can conflict with char $ac_func(); below. */
14242 #include <assert.h>
14243 /* Override any gcc2 internal prototype to avoid an error. */
14244 /* We use char because int might match the return type of a gcc2
14245 builtin and then its argument prototype would still apply. */
14250 /* The GNU C library defines this for functions which it implements
14251 to always fail with ENOSYS. Some functions are actually named
14252 something starting with __ and the normal name is an alias. */
14253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14261 if { (eval echo configure
:14262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14263 eval "ac_cv_func_$ac_func=yes"
14265 echo "configure: failed program was:" >&5
14266 cat conftest.
$ac_ext >&5
14268 eval "ac_cv_func_$ac_func=no"
14273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14274 echo "$ac_t""yes" 1>&6
14275 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14276 cat >> confdefs.h
<<EOF
14277 #define $ac_tr_func 1
14280 cat >> confdefs.h
<<\EOF
14281 #define HAVE_DLOPEN 1
14287 echo "$ac_t""no" 1>&6
14288 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14289 echo "configure:14290: checking for dlopen in -ldl" >&5
14290 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14292 echo $ac_n "(cached) $ac_c" 1>&6
14294 ac_save_LIBS
="$LIBS"
14296 cat > conftest.
$ac_ext <<EOF
14297 #line 14298 "configure"
14298 #include "confdefs.h"
14299 /* Override any gcc2 internal prototype to avoid an error. */
14300 /* We use char because int might match the return type of a gcc2
14301 builtin and then its argument prototype would still apply. */
14308 if { (eval echo configure
:14309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14310 eval "ac_cv_lib_$ac_lib_var=yes"
14312 echo "configure: failed program was:" >&5
14313 cat conftest.
$ac_ext >&5
14315 eval "ac_cv_lib_$ac_lib_var=no"
14318 LIBS
="$ac_save_LIBS"
14321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14322 echo "$ac_t""yes" 1>&6
14324 cat >> confdefs.h
<<\EOF
14325 #define HAVE_DLOPEN 1
14332 echo "$ac_t""no" 1>&6
14334 for ac_func
in shl_load
14336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14337 echo "configure:14338: checking for $ac_func" >&5
14338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14339 echo $ac_n "(cached) $ac_c" 1>&6
14341 cat > conftest.
$ac_ext <<EOF
14342 #line 14343 "configure"
14343 #include "confdefs.h"
14344 /* System header to define __stub macros and hopefully few prototypes,
14345 which can conflict with char $ac_func(); below. */
14346 #include <assert.h>
14347 /* Override any gcc2 internal prototype to avoid an error. */
14348 /* We use char because int might match the return type of a gcc2
14349 builtin and then its argument prototype would still apply. */
14354 /* The GNU C library defines this for functions which it implements
14355 to always fail with ENOSYS. Some functions are actually named
14356 something starting with __ and the normal name is an alias. */
14357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 if { (eval echo configure
:14366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14367 eval "ac_cv_func_$ac_func=yes"
14369 echo "configure: failed program was:" >&5
14370 cat conftest.
$ac_ext >&5
14372 eval "ac_cv_func_$ac_func=no"
14377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14378 echo "$ac_t""yes" 1>&6
14379 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14380 cat >> confdefs.h
<<EOF
14381 #define $ac_tr_func 1
14384 cat >> confdefs.h
<<\EOF
14385 #define HAVE_SHL_LOAD 1
14391 echo "$ac_t""no" 1>&6
14392 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14393 echo "configure:14394: checking for dld in -lshl_load" >&5
14394 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14396 echo $ac_n "(cached) $ac_c" 1>&6
14398 ac_save_LIBS
="$LIBS"
14399 LIBS
="-lshl_load $LIBS"
14400 cat > conftest.
$ac_ext <<EOF
14401 #line 14402 "configure"
14402 #include "confdefs.h"
14403 /* Override any gcc2 internal prototype to avoid an error. */
14404 /* We use char because int might match the return type of a gcc2
14405 builtin and then its argument prototype would still apply. */
14412 if { (eval echo configure
:14413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14414 eval "ac_cv_lib_$ac_lib_var=yes"
14416 echo "configure: failed program was:" >&5
14417 cat conftest.
$ac_ext >&5
14419 eval "ac_cv_lib_$ac_lib_var=no"
14422 LIBS
="$ac_save_LIBS"
14425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14426 echo "$ac_t""yes" 1>&6
14432 echo "$ac_t""no" 1>&6
14447 if test "$HAVE_DL_FUNCS" = 1; then
14448 for ac_func
in dlerror
14450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14451 echo "configure:14452: checking for $ac_func" >&5
14452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14453 echo $ac_n "(cached) $ac_c" 1>&6
14455 cat > conftest.
$ac_ext <<EOF
14456 #line 14457 "configure"
14457 #include "confdefs.h"
14458 /* System header to define __stub macros and hopefully few prototypes,
14459 which can conflict with char $ac_func(); below. */
14460 #include <assert.h>
14461 /* Override any gcc2 internal prototype to avoid an error. */
14462 /* We use char because int might match the return type of a gcc2
14463 builtin and then its argument prototype would still apply. */
14468 /* The GNU C library defines this for functions which it implements
14469 to always fail with ENOSYS. Some functions are actually named
14470 something starting with __ and the normal name is an alias. */
14471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14479 if { (eval echo configure
:14480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14481 eval "ac_cv_func_$ac_func=yes"
14483 echo "configure: failed program was:" >&5
14484 cat conftest.
$ac_ext >&5
14486 eval "ac_cv_func_$ac_func=no"
14491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14492 echo "$ac_t""yes" 1>&6
14493 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14494 cat >> confdefs.h
<<EOF
14495 #define $ac_tr_func 1
14497 cat >> confdefs.h
<<\EOF
14498 #define HAVE_DLERROR 1
14502 echo "$ac_t""no" 1>&6
14503 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14504 echo "configure:14505: checking for dlerror in -ldl" >&5
14505 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14507 echo $ac_n "(cached) $ac_c" 1>&6
14509 ac_save_LIBS
="$LIBS"
14511 cat > conftest.
$ac_ext <<EOF
14512 #line 14513 "configure"
14513 #include "confdefs.h"
14514 /* Override any gcc2 internal prototype to avoid an error. */
14515 /* We use char because int might match the return type of a gcc2
14516 builtin and then its argument prototype would still apply. */
14523 if { (eval echo configure
:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14525 eval "ac_cv_lib_$ac_lib_var=yes"
14527 echo "configure: failed program was:" >&5
14528 cat conftest.
$ac_ext >&5
14530 eval "ac_cv_lib_$ac_lib_var=no"
14533 LIBS
="$ac_save_LIBS"
14536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14537 echo "$ac_t""yes" 1>&6
14538 cat >> confdefs.h
<<\EOF
14539 #define HAVE_DLERROR 1
14543 echo "$ac_t""no" 1>&6
14552 if test "$HAVE_DL_FUNCS" = 0; then
14553 if test "$HAVE_SHL_FUNCS" = 0; then
14554 if test "$USE_UNIX" = 1; then
14555 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14556 wxUSE_DYNLIB_CLASS
=no
14558 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14566 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14567 cat >> confdefs.h
<<\EOF
14568 #define wxUSE_DYNLIB_CLASS 1
14577 if test "$wxUSE_UNICODE" = "yes" ; then
14578 cat >> confdefs.h
<<\EOF
14579 #define wxUSE_UNICODE 1
14584 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14585 cat >> confdefs.h
<<\EOF
14586 #define wxUSE_WCSRTOMBS 1
14591 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14592 cat >> confdefs.h
<<\EOF
14593 #define wxUSE_EXPERIMENTAL_PRINTF 1
14599 if test "$wxUSE_SERIAL" = "yes" ; then
14600 cat >> confdefs.h
<<\EOF
14601 #define wxUSE_SERIAL 1
14608 if test "$wxUSE_ODBC" = "yes" ; then
14609 cat >> confdefs.h
<<\EOF
14610 #define wxUSE_ODBC 1
14613 WXODBCFLAG
="-D_IODBC_"
14614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14615 IODBCOBJS
="\$(IODBC_OBJS)"
14621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14622 cat >> confdefs.h
<<\EOF
14623 #define wxUSE_POSTSCRIPT 1
14628 cat >> confdefs.h
<<\EOF
14629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14633 cat >> confdefs.h
<<\EOF
14634 #define wxUSE_NORMALIZED_PS_FONTS 1
14639 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14640 cat >> confdefs.h
<<\EOF
14641 #define wxUSE_CONSTRAINTS 1
14644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14647 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14648 cat >> confdefs.h
<<\EOF
14649 #define wxUSE_MDI_ARCHITECTURE 1
14652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14655 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14656 cat >> confdefs.h
<<\EOF
14657 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14661 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14666 if test "$wxUSE_HELP" = "yes"; then
14667 cat >> confdefs.h
<<\EOF
14668 #define wxUSE_HELP 1
14671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14674 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14675 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14676 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14678 cat >> confdefs.h
<<\EOF
14679 #define wxUSE_PRINTING_ARCHITECTURE 1
14683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14686 if test "$wxUSE_PROLOGIO" = "yes" ; then
14687 cat >> confdefs.h
<<\EOF
14688 #define wxUSE_PROLOGIO 1
14693 if test "$wxUSE_RESOURCES" = "yes" ; then
14694 if test "$wxUSE_PROLOGIO" = "yes" ; then
14695 cat >> confdefs.h
<<\EOF
14696 #define wxUSE_RESOURCES 1
14699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14701 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14705 if test "$wxUSE_X_RESOURCES" = "yes"; then
14706 cat >> confdefs.h
<<\EOF
14707 #define wxUSE_X_RESOURCES 1
14713 if test "$wxUSE_IPC" = "yes"; then
14714 if test "$wxUSE_SOCKETS" != "yes"; then
14715 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14718 cat >> confdefs.h
<<\EOF
14719 #define wxUSE_IPC 1
14724 if test "$wxUSE_CLIPBOARD" = "yes"; then
14725 cat >> confdefs.h
<<\EOF
14726 #define wxUSE_CLIPBOARD 1
14731 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14732 if test "$wxUSE_GTK" = 1; then
14733 if test "$WXGTK12" != 1; then
14734 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14735 wxUSE_DRAG_AND_DROP
=no
14739 if test "$wxUSE_MOTIF" = 1; then
14740 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14741 wxUSE_DRAG_AND_DROP
=no
14744 if test "$USE_WIN32" = 1; then
14746 for ac_hdr
in ole2.h
14748 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14750 echo "configure:14751: checking for $ac_hdr" >&5
14751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14752 echo $ac_n "(cached) $ac_c" 1>&6
14754 cat > conftest.
$ac_ext <<EOF
14755 #line 14756 "configure"
14756 #include "confdefs.h"
14759 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14760 { (eval echo configure
:14761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14761 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14762 if test -z "$ac_err"; then
14764 eval "ac_cv_header_$ac_safe=yes"
14767 echo "configure: failed program was:" >&5
14768 cat conftest.
$ac_ext >&5
14770 eval "ac_cv_header_$ac_safe=no"
14774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14775 echo "$ac_t""yes" 1>&6
14776 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14777 cat >> confdefs.h
<<EOF
14778 #define $ac_tr_hdr 1
14782 echo "$ac_t""no" 1>&6
14787 if test "$ac_cv_header_ole2_h" = "yes" ; then
14788 if test "$GCC" = yes ; then
14789 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
14790 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
14791 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
14792 LIBS
="$LIBS -lole32 -luuid"
14794 if test "$wxUSE_METAFILE" = "yes"; then
14795 cat >> confdefs.h
<<\EOF
14796 #define wxUSE_METAFILE 1
14799 cat >> confdefs.h
<<\EOF
14800 #define wxUSE_ENH_METAFILE 1
14806 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14807 wxUSE_DRAG_AND_DROP
=no
14811 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14812 cat >> confdefs.h
<<\EOF
14813 #define wxUSE_DRAG_AND_DROP 1
14816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14821 if test "$wxUSE_SPLINES" = "yes" ; then
14822 cat >> confdefs.h
<<\EOF
14823 #define wxUSE_SPLINES 1
14829 if test "$wxUSE_ACCEL" = "yes"; then
14830 cat >> confdefs.h
<<\EOF
14831 #define wxUSE_ACCEL 1
14836 if test "$wxUSE_CARET" = "yes"; then
14837 cat >> confdefs.h
<<\EOF
14838 #define wxUSE_CARET 1
14841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14844 if test "$wxUSE_COMBOBOX" = "yes"; then
14845 cat >> confdefs.h
<<\EOF
14846 #define wxUSE_COMBOBOX 1
14851 if test "$wxUSE_CHOICE" = "yes"; then
14852 cat >> confdefs.h
<<\EOF
14853 #define wxUSE_CHOICE 1
14858 if test "$wxUSE_BMPBUTTON" = "yes"; then
14859 cat >> confdefs.h
<<\EOF
14860 #define wxUSE_BMPBUTTON 1
14865 if test "$wxUSE_CHECKBOX" = "yes"; then
14866 cat >> confdefs.h
<<\EOF
14867 #define wxUSE_CHECKBOX 1
14872 if test "$wxUSE_CHECKLST" = "yes"; then
14873 cat >> confdefs.h
<<\EOF
14874 #define wxUSE_CHECKLISTBOX 1
14877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14880 if test "$wxUSE_GAUGE" = "yes"; then
14881 cat >> confdefs.h
<<\EOF
14882 #define wxUSE_GAUGE 1
14887 if test "$wxUSE_NEW_GRID" = "yes"; then
14889 cat >> confdefs.h
<<\EOF
14890 #define wxUSE_NEW_GRID 1
14893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14896 if test "$wxUSE_GRID" = "yes"; then
14897 cat >> confdefs.h
<<\EOF
14898 #define wxUSE_GRID 1
14901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14904 if test "$wxUSE_IMAGLIST" = "yes"; then
14905 cat >> confdefs.h
<<\EOF
14906 #define wxUSE_IMAGLIST 1
14911 if test "$wxUSE_LISTBOX" = "yes"; then
14912 cat >> confdefs.h
<<\EOF
14913 #define wxUSE_LISTBOX 1
14918 if test "$wxUSE_LISTCTRL" = "yes"; then
14919 if test "$wxUSE_IMAGLIST" = "yes"; then
14920 cat >> confdefs.h
<<\EOF
14921 #define wxUSE_LISTCTRL 1
14924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14926 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14930 if test "$wxUSE_NOTEBOOK" = "yes"; then
14931 cat >> confdefs.h
<<\EOF
14932 #define wxUSE_NOTEBOOK 1
14935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14938 if test "$wxUSE_RADIOBOX" = "yes"; then
14939 cat >> confdefs.h
<<\EOF
14940 #define wxUSE_RADIOBOX 1
14945 if test "$wxUSE_RADIOBTN" = "yes"; then
14946 cat >> confdefs.h
<<\EOF
14947 #define wxUSE_RADIOBTN 1
14952 if test "$wxUSE_SASH" = "yes"; then
14953 cat >> confdefs.h
<<\EOF
14954 #define wxUSE_SASH 1
14957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14960 if test "$wxUSE_SCROLLBAR" = "yes"; then
14961 cat >> confdefs.h
<<\EOF
14962 #define wxUSE_SCROLLBAR 1
14965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14968 if test "$wxUSE_SLIDER" = "yes"; then
14969 cat >> confdefs.h
<<\EOF
14970 #define wxUSE_SLIDER 1
14975 if test "$wxUSE_SPINBTN" = "yes"; then
14976 cat >> confdefs.h
<<\EOF
14977 #define wxUSE_SPINBTN 1
14982 if test "$wxUSE_SPINCTRL" = "yes"; then
14983 cat >> confdefs.h
<<\EOF
14984 #define wxUSE_SPINCTRL 1
14989 if test "$wxUSE_SPLITTER" = "yes"; then
14990 cat >> confdefs.h
<<\EOF
14991 #define wxUSE_SPLITTER 1
14994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14997 if test "$wxUSE_STATBMP" = "yes"; then
14998 cat >> confdefs.h
<<\EOF
14999 #define wxUSE_STATBMP 1
15004 if test "$wxUSE_STATBOX" = "yes"; then
15005 cat >> confdefs.h
<<\EOF
15006 #define wxUSE_STATBOX 1
15011 if test "$wxUSE_STATLINE" = "yes"; then
15012 if test "$wxUSE_WINE" = 1 ; then
15013 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
15015 cat >> confdefs.h
<<\EOF
15016 #define wxUSE_STATLINE 1
15022 if test "$wxUSE_STATUSBAR" = "yes"; then
15023 cat >> confdefs.h
<<\EOF
15024 #define wxUSE_STATUSBAR 1
15028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
15031 if test "$wxUSE_TABDIALOG" = "yes"; then
15032 cat >> confdefs.h
<<\EOF
15033 #define wxUSE_TAB_DIALOG 1
15036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
15039 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
15040 cat >> confdefs.h
<<\EOF
15041 #define wxUSE_TOOLBAR_SIMPLE 1
15044 wxUSE_TOOLBAR
="yes"
15047 if test "$wxUSE_TOOLBAR" = "yes"; then
15048 cat >> confdefs.h
<<\EOF
15049 #define wxUSE_TOOLBAR 1
15053 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
15054 wxUSE_TOOLBAR_NATIVE
="yes"
15057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15060 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15061 cat >> confdefs.h
<<\EOF
15062 #define wxUSE_TOOLBAR_NATIVE 1
15067 if test "$wxUSE_TOOLTIPS" = "yes"; then
15068 if test "$wxUSE_MOTIF" = 1; then
15069 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15071 if test "$wxUSE_WINE" = 1; then
15072 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15074 cat >> confdefs.h
<<\EOF
15075 #define wxUSE_TOOLTIPS 1
15082 if test "$wxUSE_TREECTRL" = "yes"; then
15083 if test "$wxUSE_IMAGLIST" = "yes"; then
15084 cat >> confdefs.h
<<\EOF
15085 #define wxUSE_TREECTRL 1
15088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15090 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15096 if test "$wxUSE_DIRDLG" = "yes"; then
15097 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15098 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15100 if test "$wxUSE_TREECTRL" != "yes"; then
15101 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15103 cat >> confdefs.h
<<\EOF
15104 #define wxUSE_DIRDLG 1
15111 if test "$wxUSE_TEXTDLG" = "yes"; then
15112 cat >> confdefs.h
<<\EOF
15113 #define wxUSE_TEXTDLG 1
15118 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15119 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15120 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15122 cat >> confdefs.h
<<\EOF
15123 #define wxUSE_STARTUP_TIPS 1
15129 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15130 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15131 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15133 cat >> confdefs.h
<<\EOF
15134 #define wxUSE_PROGRESSDLG 1
15140 if test "$wxUSE_MINIFRAME" = "yes"; then
15141 cat >> confdefs.h
<<\EOF
15142 #define wxUSE_MINIFRAME 1
15145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15148 if test "$wxUSE_HTML" = "yes"; then
15149 cat >> confdefs.h
<<\EOF
15150 #define wxUSE_HTML 1
15153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15154 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15157 if test "$wxUSE_VALIDATORS" = "yes"; then
15158 cat >> confdefs.h
<<\EOF
15159 #define wxUSE_VALIDATORS 1
15162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15165 if test "$wxUSE_GIF" = "yes" ; then
15166 cat >> confdefs.h
<<\EOF
15167 #define wxUSE_GIF 1
15172 if test "$wxUSE_PCX" = "yes" ; then
15173 cat >> confdefs.h
<<\EOF
15174 #define wxUSE_PCX 1
15179 if test "$wxUSE_PNM" = "yes" ; then
15180 cat >> confdefs.h
<<\EOF
15181 #define wxUSE_PNM 1
15187 if test "$cross_compiling" = "yes"; then
15190 OSINFO
=`uname -s -r -m`
15191 OSINFO
="\"$OSINFO\""
15194 cat >> confdefs.h
<<EOF
15195 #define WXWIN_OS_DESCRIPTION $OSINFO
15200 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15201 OPENGL_LIBS
="$OPENGL_LINK"
15203 if test "$USE_MAC" = 1 ; then
15204 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -framework System"
15205 CFLAGS
="${CFLAGS} -fpascal-strings"
15206 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
15208 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15210 if test "$wxUSE_GUI" = "yes"; then
15211 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15214 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15216 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15218 if test "$wxUSE_GTK" = 1; then
15219 WXCONFIG_INCLUDE
=""
15221 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15224 if test "$GXX" = yes ; then
15225 CXXWARNINGS
="-Wall"
15227 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15229 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15230 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15232 LDFLAGS
="$LDFLAGS $PROFILE"
15234 if test "$wxUSE_GUI" = "yes"; then
15236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15237 drawing dynamic event font fractal image menu \
15240 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15245 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15341 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15342 echo "configure:15343: checking whether ${MAKE-make} sets \${MAKE}" >&5
15343 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15344 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15345 echo $ac_n "(cached) $ac_c" 1>&6
15347 cat > conftestmake
<<\EOF
15349 @
echo 'ac_maketemp="${MAKE}"'
15351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15352 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15353 if test -n "$ac_maketemp"; then
15354 eval ac_cv_prog_make_
${ac_make}_set
=yes
15356 eval ac_cv_prog_make_
${ac_make}_set
=no
15360 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15364 echo "$ac_t""no" 1>&6
15365 SET_MAKE
="MAKE=${MAKE-make}"
15369 if test -d include
; then
15370 if test -d include
/wx
; then
15371 if test -d include
/wx
/${TOOLKIT_DIR}; then
15372 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15373 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15381 if test "$wxUSE_GUI" = "yes"; then
15382 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15383 wx_cv_path_ifs
=$PATH_IFS
15384 wx_cv_program_ext
=$PROGRAM_EXT
15385 wx_cv_target_library
=$WX_TARGET_LIBRARY
15386 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15387 subdirs
="demos samples utils contrib"
15392 cat > confcache
<<\EOF
15393 # This file is a shell script that caches the results of configure
15394 # tests run on this system so they can be shared between configure
15395 # scripts and configure runs. It is not useful on other systems.
15396 # If it contains results you don't want to keep, you may remove or edit it.
15398 # By default, configure uses ./config.cache as the cache file,
15399 # creating it if it does not exist already. You can give configure
15400 # the --cache-file=FILE option to use a different cache file; that is
15401 # what configure does when it calls configure scripts in
15402 # subdirectories, so they share the cache.
15403 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15404 # config.status only pays attention to the cache file if you give it the
15405 # --recheck option to rerun configure.
15408 # The following way of writing the cache mishandles newlines in values,
15409 # but we know of no workaround that is simple, portable, and efficient.
15410 # So, don't put newlines in cache variables' values.
15411 # Ultrix sh set writes to stderr and can't be redirected directly,
15412 # and sets the high bit in the cache file unless we assign to the vars.
15414 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15416 # `set' does not quote correctly, so add quotes (double-quote substitution
15417 # turns \\\\ into \\, and sed turns \\ into \).
15419 -e "s/'/'\\\\''/g" \
15420 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15423 # `set' quotes correctly as required by POSIX, so do not add quotes.
15424 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15427 if cmp -s $cache_file confcache
; then
15430 if test -w $cache_file; then
15431 echo "updating cache $cache_file"
15432 cat confcache
> $cache_file
15434 echo "not updating unwritable cache $cache_file"
15439 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15441 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15442 # Let make expand exec_prefix.
15443 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15445 # Any assignment to VPATH causes Sun make to only execute
15446 # the first set of double-colon rules, so remove it if not needed.
15447 # If there is a colon in the path, we need to keep it.
15448 if test "x$srcdir" = x.
; then
15449 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15452 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15454 DEFS
=-DHAVE_CONFIG_H
15456 # Without the "./", some shells look in PATH for config.status.
15457 : ${CONFIG_STATUS=./config.status}
15459 echo creating
$CONFIG_STATUS
15460 rm -f $CONFIG_STATUS
15461 cat > $CONFIG_STATUS <<EOF
15463 # Generated automatically by configure.
15464 # Run this file to recreate the current configuration.
15465 # This directory was configured as follows,
15466 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15468 # $0 $ac_configure_args
15470 # Compiler output produced by configure, useful for debugging
15471 # configure, is in ./config.log if it exists.
15473 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15476 case "\$ac_option" in
15477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15478 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15479 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15480 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15481 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15483 -help | --help | --hel | --he | --h)
15484 echo "\$ac_cs_usage"; exit 0 ;;
15485 *) echo "\$ac_cs_usage"; exit 1 ;;
15489 ac_given_srcdir=$srcdir
15490 ac_given_INSTALL="$INSTALL"
15492 trap 'rm -fr `echo "
15498 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15500 cat >> $CONFIG_STATUS <<EOF
15502 # Protect against being on the right side of a sed subst in config.status.
15503 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15504 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15508 s%@CFLAGS@%$CFLAGS%g
15509 s%@CPPFLAGS@%$CPPFLAGS%g
15510 s%@CXXFLAGS@%$CXXFLAGS%g
15511 s%@FFLAGS@%$FFLAGS%g
15513 s%@LDFLAGS@%$LDFLAGS%g
15515 s%@exec_prefix@%$exec_prefix%g
15516 s%@prefix@%$prefix%g
15517 s%@program_transform_name@%$program_transform_name%g
15518 s%@bindir@%$bindir%g
15519 s%@sbindir@%$sbindir%g
15520 s%@libexecdir@%$libexecdir%g
15521 s%@datadir@%$datadir%g
15522 s%@sysconfdir@%$sysconfdir%g
15523 s%@sharedstatedir@%$sharedstatedir%g
15524 s%@localstatedir@%$localstatedir%g
15525 s%@libdir@%$libdir%g
15526 s%@includedir@%$includedir%g
15527 s%@oldincludedir@%$oldincludedir%g
15528 s%@infodir@%$infodir%g
15529 s%@mandir@%$mandir%g
15531 s%@host_alias@%$host_alias%g
15532 s%@host_cpu@%$host_cpu%g
15533 s%@host_vendor@%$host_vendor%g
15534 s%@host_os@%$host_os%g
15535 s%@target@%$target%g
15536 s%@target_alias@%$target_alias%g
15537 s%@target_cpu@%$target_cpu%g
15538 s%@target_vendor@%$target_vendor%g
15539 s%@target_os@%$target_os%g
15541 s%@build_alias@%$build_alias%g
15542 s%@build_cpu@%$build_cpu%g
15543 s%@build_vendor@%$build_vendor%g
15544 s%@build_os@%$build_os%g
15548 s%@CXXCPP@%$CXXCPP%g
15549 s%@RANLIB@%$RANLIB%g
15551 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15552 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15553 s%@INSTALL_DATA@%$INSTALL_DATA%g
15557 s%@LEXLIB@%$LEXLIB%g
15559 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15560 s%@GTK_CONFIG@%$GTK_CONFIG%g
15561 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15562 s%@GTK_LIBS@%$GTK_LIBS%g
15563 s%@X_CFLAGS@%$X_CFLAGS%g
15564 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15565 s%@X_LIBS@%$X_LIBS%g
15566 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15567 s%@LEX_STEM@%$LEX_STEM%g
15568 s%@PATH_IFS@%$PATH_IFS%g
15569 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15570 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15571 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15572 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15573 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15574 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15575 s%@WX_LIBRARY@%$WX_LIBRARY%g
15576 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15577 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15578 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15579 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15580 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15581 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15582 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15583 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15584 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15585 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15586 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15587 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15588 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15589 s%@WX_ALL@%$WX_ALL%g
15590 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15591 s%@SHARED_LD@%$SHARED_LD%g
15592 s%@PIC_FLAG@%$PIC_FLAG%g
15593 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15594 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15595 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15596 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15597 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15598 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15599 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15600 s%@USE_GUI@%$USE_GUI%g
15601 s%@AFMINSTALL@%$AFMINSTALL%g
15602 s%@TOOLKIT@%$TOOLKIT%g
15603 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15604 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15605 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15606 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15607 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15608 s%@GUIHEADERS@%$GUIHEADERS%g
15609 s%@GUIOBJS@%$GUIOBJS%g
15610 s%@COMMONOBJS@%$COMMONOBJS%g
15611 s%@GENERICOBJS@%$GENERICOBJS%g
15612 s%@GUIDEPS@%$GUIDEPS%g
15613 s%@COMMONDEPS@%$COMMONDEPS%g
15614 s%@GENERICDEPS@%$GENERICDEPS%g
15615 s%@IODBCOBJS@%$IODBCOBJS%g
15616 s%@UNIXOBJS@%$UNIXOBJS%g
15617 s%@UNIXDEPS@%$UNIXDEPS%g
15618 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15619 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15620 s%@GUIDIST@%$GUIDIST%g
15621 s%@PORT_FILES@%$PORT_FILES%g
15622 s%@DISTDIR@%$DISTDIR%g
15623 s%@RPM_SPEC@%$RPM_SPEC%g
15624 s%@RPM_FILES@%$RPM_FILES%g
15625 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15626 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15627 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15628 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15629 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15630 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15631 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15632 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15633 s%@EXTRADEFS@%$EXTRADEFS%g
15634 s%@LD_LIBS@%$LD_LIBS%g
15635 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15636 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15637 s%@RESPROGRAM@%$RESPROGRAM%g
15638 s%@RESCOMP@%$RESCOMP%g
15639 s%@RESFLAGS@%$RESFLAGS%g
15640 s%@DLLTOOL@%$DLLTOOL%g
15644 s%@MAKEINFO@%$MAKEINFO%g
15645 s%@SET_MAKE@%$SET_MAKE%g
15646 s%@subdirs@%$subdirs%g
15651 cat >> $CONFIG_STATUS <<\EOF
15653 # Split the substitutions into bite-sized pieces for seds with
15654 # small command number limits, like on Digital OSF/1 and HP-UX.
15655 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15656 ac_file
=1 # Number of current file.
15657 ac_beg
=1 # First line for current file.
15658 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15661 while $ac_more_lines; do
15662 if test $ac_beg -gt 1; then
15663 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15665 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15667 if test ! -s conftest.s
$ac_file; then
15668 ac_more_lines
=false
15669 rm -f conftest.s
$ac_file
15671 if test -z "$ac_sed_cmds"; then
15672 ac_sed_cmds
="sed -f conftest.s$ac_file"
15674 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15676 ac_file
=`expr $ac_file + 1`
15678 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15681 if test -z "$ac_sed_cmds"; then
15686 cat >> $CONFIG_STATUS <<EOF
15688 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15695 cat >> $CONFIG_STATUS <<\EOF
15696 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15697 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15699 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15700 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15701 *) ac_file_in
="${ac_file}.in" ;;
15704 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15706 # Remove last slash and all that follows it. Not all systems have dirname.
15707 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15708 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15709 # The file is in a subdirectory.
15710 test ! -d "$ac_dir" && mkdir "$ac_dir"
15711 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15712 # A "../" for each directory in $ac_dir_suffix.
15713 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15715 ac_dir_suffix
= ac_dots
=
15718 case "$ac_given_srcdir" in
15720 if test -z "$ac_dots"; then top_srcdir
=.
15721 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15722 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15723 *) # Relative path.
15724 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15725 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15728 case "$ac_given_INSTALL" in
15729 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15730 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15733 echo creating
"$ac_file"
15735 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15737 *Makefile
*) ac_comsub
="1i\\
15738 # $configure_input" ;;
15742 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15744 s%@configure_input@%$configure_input%g
15745 s%@srcdir@%$srcdir%g
15746 s%@top_srcdir@%$top_srcdir%g
15747 s%@INSTALL@%$INSTALL%g
15748 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15752 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15753 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15755 # ac_d sets the value in "#define NAME VALUE" lines.
15756 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15757 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15760 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15761 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15762 ac_uB
='\([ ]\)%\1#\2define\3'
15765 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15766 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15767 ac_eB
='$%\1#\2define\3'
15771 if test "${CONFIG_HEADERS+set}" != set; then
15773 cat >> $CONFIG_STATUS <<EOF
15774 CONFIG_HEADERS="setup.h:setup.h.in"
15776 cat >> $CONFIG_STATUS <<\EOF
15778 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15779 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15781 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15782 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15783 *) ac_file_in
="${ac_file}.in" ;;
15786 echo creating
$ac_file
15788 rm -f conftest.frag conftest.
in conftest.out
15789 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15790 cat $ac_file_inputs > conftest.
in
15794 # Transform confdefs.h into a sed script conftest.vals that substitutes
15795 # the proper values into config.h.in to produce config.h. And first:
15796 # Protect against being on the right side of a sed subst in config.status.
15797 # Protect against being in an unquoted here document in config.status.
15798 rm -f conftest.vals
15799 cat > conftest.hdr
<<\EOF
15802 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15806 sed -n -f conftest.hdr confdefs.h > conftest.vals
15809 # This sed command replaces #undef with comments. This is necessary, for
15810 # example, in the case of _POSIX_SOURCE, which is predefined and required
15811 # on some systems where configure will not decide to define it.
15812 cat >> conftest.vals <<\EOF
15813 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15816 # Break up conftest.vals because some shells have a limit on
15817 # the size of here documents, and old seds have small limits too.
15819 rm -f conftest.tail
15822 ac_lines=`grep -c . conftest.vals
`
15823 # grep -c gives empty output for an empty file on some AIX systems.
15824 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15825 # Write a limited-size here document to conftest.frag.
15826 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15827 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15829 sed -f conftest.frag conftest.in > conftest.out
15831 mv conftest.out conftest.in
15832 ' >> $CONFIG_STATUS
15833 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15834 rm -f conftest.vals
15835 mv conftest.tail conftest.vals
15837 rm -f conftest.vals
15839 cat >> $CONFIG_STATUS <<\EOF
15840 rm -f conftest.frag conftest.h
15841 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15842 cat conftest.in >> conftest.h
15844 if cmp -s $ac_file conftest.h 2>/dev/null; then
15845 echo "$ac_file is unchanged"
15848 # Remove last slash and all that follows it. Not all systems have dirname.
15849 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15850 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15851 # The file is in a subdirectory.
15852 test ! -d "$ac_dir" && mkdir "$ac_dir"
15855 mv conftest.h $ac_file
15860 cat >> $CONFIG_STATUS <<EOF
15862 TOOLKIT_DIR="${TOOLKIT_DIR}"
15863 TOOLKIT_NAME="${TOOLKIT_NAME}"
15868 cat >> $CONFIG_STATUS <<\EOF
15871 mv wx-config wx${TOOLKIT_NAME}-config
15872 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15875 if test ! -d lib; then
15878 if test ! -d lib/wx; then
15881 if test ! -d lib/wx/include; then
15882 mkdir lib/wx/include
15884 if test ! -d lib/wx/include/wx; then
15885 mkdir lib/wx/include/wx
15887 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15888 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15890 if test -f setup.h; then
15891 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15895 if test ! -d include; then
15898 if test ! -d include/wx; then
15901 if test ! -d include/wx/${TOOLKIT_DIR}; then
15902 mkdir include/wx/${TOOLKIT_DIR}
15904 if test -f setup.h; then
15905 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15911 chmod +x $CONFIG_STATUS
15912 rm -fr confdefs* $ac_clean_files
15913 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15915 if test "$no_recursion" != yes; then
15917 # Remove --cache-file and --srcdir arguments so they do not pile up.
15918 ac_sub_configure_args=
15920 for ac_arg in $ac_configure_args; do
15921 if test -n "$ac_prev"; then
15926 -cache-file | --cache-file | --cache-fil | --cache-fi \
15927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15928 ac_prev=cache_file ;;
15929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15932 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15934 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15936 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15940 for ac_config_dir in demos samples utils contrib; do
15942 # Do not complain, so a configure script can configure whichever
15943 # parts of a large source tree are present.
15944 if test ! -d $srcdir/$ac_config_dir; then
15948 echo configuring in $ac_config_dir
15953 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15955 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15963 # A "../" for each directory in /$ac_config_dir.
15964 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15967 .) # No --srcdir option. We are building in place.
15968 ac_sub_srcdir=$srcdir ;;
15969 /*) # Absolute path.
15970 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15971 *) # Relative path.
15972 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15975 # Check for guested configure; otherwise get Cygnus style configure.
15976 if test -f $ac_sub_srcdir/configure; then
15977 ac_sub_configure=$ac_sub_srcdir/configure
15978 elif test -f $ac_sub_srcdir/configure.in; then
15979 ac_sub_configure=$ac_configure
15981 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15985 # The recursion is here.
15986 if test -n "$ac_sub_configure"; then
15988 # Make the cache file name correct relative to the subdirectory.
15989 case "$cache_file" in
15990 /*) ac_sub_cache_file=$cache_file ;;
15991 *) # Relative path.
15992 ac_sub_cache_file="$ac_dots$cache_file" ;;
15994 case "$ac_given_INSTALL" in
15995 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15996 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15999 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
16000 # The eval makes quoting arguments work.
16001 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
16004 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }