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"
66 --with-cygwin use Cygwin for MS-Windows"
68 --with-mingw use GCC Minimal MS-Windows"
70 --with-pm use OS/2 Presentation Manager"
72 --with-gtk-prefix=PFX Prefix where GTK is installed"
74 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
76 --with-libpng use libpng (PNG image format)"
78 --with-libjpeg use libjpeg (JPEG file format)"
80 --with-libtiff use libtiff (TIFF file format)"
82 --with-freetype use freetype (font rasterizer)"
84 --with-opengl use OpenGL (or Mesa)"
86 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
88 --with-zlib use zlib for LZW compression"
90 --with-odbc use the IODBC and wxODBC classes"
92 --enable-shared create shared library code"
94 --enable-burnt_name create set name in shared library "
96 --enable-optimise create optimised code"
98 --enable-debug same as debug_flag and debug_info"
100 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
102 --enable-debug_info create code with debugging information"
104 --enable-debug_gdb create code with extra GDB debugging information"
106 --enable-debug_cntxt use wxDebugContext"
108 --enable-mem_tracing create code with memory tracing"
110 --enable-profile create code with profiling information"
112 --enable-no_rtti create code without RTTI information"
114 --enable-no_exceptions create code without exceptions information"
116 --enable-permissive compile code disregarding strict ANSI"
118 --enable-no_deps create code without dependency information"
120 --enable-intl use internationalization system"
122 --enable-config use wxConfig (and derived) classes"
124 --enable-sockets use socket/network classes"
126 --enable-ipc use interprocess communication (wxSocket etc.)"
128 --enable-dialupman use dialup network classes"
130 --enable-apple_ieee use the Apple IEEE codec"
132 --enable-timedate use date/time classes"
134 --enable-wave use wxWave class"
136 --enable-fraction use wxFraction class"
138 --enable-dynlib use wxLibrary class for DLL loading"
140 --enable-longlong use wxLongLong class"
142 --enable-geometry use geometry class"
144 --enable-log use logging system"
146 --enable-streams use wxStream etc classes"
148 --enable-file use wxFile classes"
150 --enable-textfile use wxTextFile classes"
152 --enable-unicode compile wxString with Unicode support"
154 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
156 --enable-wxprintfv use wxWindows implementation of vprintf()"
158 --enable-std_iostreams use standard C++ stream classes"
160 --enable-filesystem use virtual file systems classes"
162 --enable-fs_inet use virtual HTTP/FTP filesystems"
164 --enable-fs_zip use virtual ZIP filesystems"
166 --enable-zipstream use wxZipInputStream"
168 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
170 --enable-threads use threads"
172 --enable-serial use class serialization"
174 --enable-docview use document view architecture"
176 --enable-help use help (using external browser at present)"
178 --enable-constraints use layout-constraints system"
180 --enable-printarch use printing architecture"
182 --enable-mdi use multiple document interface architecture"
184 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
186 --enable-prologio use Prolog IO library"
188 --enable-resources use wxWindows resources"
190 --enable-xresources use X resources for save (default for gtk+)"
192 --enable-clipboard use wxClipboard classes"
194 --enable-dnd use Drag'n'Drop classes"
196 --enable-wxtree make wxTree library"
198 --enable-controls use all usual controls"
200 --enable-accel use accelerators"
202 --enable-caret use wxCaret class"
204 --enable-bmpbutton use wxBitmapButton class"
206 --enable-checkbox use wxCheckBox class"
208 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
210 --enable-choice use wxChoice class"
212 --enable-combobox use wxComboBox classes"
214 --enable-gauge use wxGauge class"
216 --enable-grid use wxGrid class"
218 --enable-newgrid use new wxGrid class"
220 --enable-imaglist use wxImageList class"
222 --enable-listbox use wxListBox class"
224 --enable-listctrl use wxListCtrl class"
226 --enable-notebook use wxNotebook class"
228 --enable-radiobox use wxRadioBox class"
230 --enable-radiobtn use wxRadioButton class"
232 --enable-sash use wxSashWindow class"
234 --enable-scrollbar use wxScrollBar class and scrollable windows"
236 --enable-slider use wxSlider class"
238 --enable-spinbtn use wxSpinButton class"
240 --enable-spinctrl use wxSpinCtrl class"
242 --enable-splitter use wxSplitterWindow class"
244 --enable-statbmp use wxStaticBitmap class"
246 --enable-statbox use wxStaticBox class"
248 --enable-statline use wxStaticLine class"
250 --enable-statusbar use wxStatusBar class"
252 --enable-tabdialog use wxTabControl class"
254 --enable-toolbar use wxToolBar class"
256 --enable-tbarnative use native wxToolBar class"
258 --enable-tbarsmpl use wxToolBarSimple class"
260 --enable-treectrl use wxTreeCtrl class"
262 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
264 --enable-dirdlg use wxDirDialog"
266 --enable-textdlg use wxTextDialog"
268 --enable-tipdlg use startup tips"
270 --enable-progressdlg use wxProgressDialog"
272 --enable-miniframe use wxMiniFrame class"
274 --enable-html use wxHTML sub-library"
276 --enable-tooltips use wxToolTip class"
278 --enable-splines use spline drawing code"
280 --enable-validators use wxValidator and derived classes"
282 --enable-busyinfo use wxBusyInfo"
284 --enable-joystick compile in joystick support (Linux only)"
286 --enable-gif use gif images (GIF file format)"
288 --enable-pcx use pcx images (PCX file format)"
290 --enable-pnm use pnm images (PNM file format)"
292 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
294 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
296 --disable-gtktest Do not try to compile and run a test GTK program"
298 --with-x use the X Window System"
300 # Initialize some variables set by options.
301 # The variables have the same names as the options, with
302 # dashes changed to underlines.
304 cache_file
=.
/config.cache
313 program_transform_name
=s
,x
,x
,
321 bindir
='${exec_prefix}/bin'
322 sbindir
='${exec_prefix}/sbin'
323 libexecdir
='${exec_prefix}/libexec'
324 datadir
='${prefix}/share'
325 sysconfdir
='${prefix}/etc'
326 sharedstatedir
='${prefix}/com'
327 localstatedir
='${prefix}/var'
328 libdir
='${exec_prefix}/lib'
329 includedir
='${prefix}/include'
330 oldincludedir
='/usr/include'
331 infodir
='${prefix}/info'
332 mandir
='${prefix}/man'
334 # Initialize some other variables.
337 SHELL
=${CONFIG_SHELL-/bin/sh}
338 # Maximum number of lines to put in a shell here document.
345 # If the previous option needs an argument, assign it.
346 if test -n "$ac_prev"; then
347 eval "$ac_prev=\$ac_option"
353 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
357 # Accept the important Cygnus configure options, so we can diagnose typos.
361 -bindir | --bindir | --bindi | --bind | --bin | --bi)
363 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
364 bindir
="$ac_optarg" ;;
366 -build | --build | --buil | --bui | --bu)
368 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
369 build
="$ac_optarg" ;;
371 -cache-file | --cache-file | --cache-fil | --cache-fi \
372 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
373 ac_prev
=cache_file
;;
374 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
375 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
376 cache_file
="$ac_optarg" ;;
378 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
380 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
382 datadir
="$ac_optarg" ;;
384 -disable-* | --disable-*)
385 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
386 # Reject names that are not valid shell variable names.
387 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
388 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
390 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
391 eval "enable_${ac_feature}=no" ;;
393 -enable-* | --enable-*)
394 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
395 # Reject names that are not valid shell variable names.
396 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
397 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
399 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
404 eval "enable_${ac_feature}='$ac_optarg'" ;;
406 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
407 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
408 | --exec | --exe | --ex)
409 ac_prev
=exec_prefix
;;
410 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
411 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
412 | --exec=* | --exe=* | --ex=*)
413 exec_prefix
="$ac_optarg" ;;
415 -gas | --gas | --ga | --g)
416 # Obsolete; use --with-gas.
419 -help | --help | --hel | --he)
420 # Omit some internal or obsolete options to make the list less imposing.
421 # This message is too long to be a string in the A/UX 3.1 sh.
423 Usage: configure [options] [host]
424 Options: [defaults in brackets after descriptions]
426 --cache-file=FILE cache test results in FILE
427 --help print this message
428 --no-create do not create output files
429 --quiet, --silent do not print \`checking...' messages
430 --version print the version of autoconf that created configure
431 Directory and file names:
432 --prefix=PREFIX install architecture-independent files in PREFIX
434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
436 --bindir=DIR user executables in DIR [EPREFIX/bin]
437 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
438 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
439 --datadir=DIR read-only architecture-independent data in DIR
441 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
442 --sharedstatedir=DIR modifiable architecture-independent data in DIR
444 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
445 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
446 --includedir=DIR C header files in DIR [PREFIX/include]
447 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
448 --infodir=DIR info documentation in DIR [PREFIX/info]
449 --mandir=DIR man documentation in DIR [PREFIX/man]
450 --srcdir=DIR find the sources in DIR [configure dir or ..]
451 --program-prefix=PREFIX prepend PREFIX to installed program names
452 --program-suffix=SUFFIX append SUFFIX to installed program names
453 --program-transform-name=PROGRAM
454 run sed PROGRAM on installed program names
458 --build=BUILD configure for building on BUILD [BUILD=HOST]
459 --host=HOST configure for HOST [guessed]
460 --target=TARGET configure for TARGET [TARGET=HOST]
461 Features and packages:
462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
466 --x-includes=DIR X include files are in DIR
467 --x-libraries=DIR X library files are in DIR
469 if test -n "$ac_help"; then
470 echo "--enable and --with options recognized:$ac_help"
474 -host | --host | --hos | --ho)
476 -host=* | --host=* | --hos=* | --ho=*)
479 -includedir | --includedir | --includedi | --included | --include \
480 | --includ | --inclu | --incl | --inc)
481 ac_prev
=includedir
;;
482 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
483 | --includ=* | --inclu=* | --incl=* | --inc=*)
484 includedir
="$ac_optarg" ;;
486 -infodir | --infodir | --infodi | --infod | --info | --inf)
488 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
489 infodir
="$ac_optarg" ;;
491 -libdir | --libdir | --libdi | --libd)
493 -libdir=* | --libdir=* | --libdi=* | --libd=*)
494 libdir
="$ac_optarg" ;;
496 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
497 | --libexe | --libex | --libe)
498 ac_prev
=libexecdir
;;
499 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
500 | --libexe=* | --libex=* | --libe=*)
501 libexecdir
="$ac_optarg" ;;
503 -localstatedir | --localstatedir | --localstatedi | --localstated \
504 | --localstate | --localstat | --localsta | --localst \
505 | --locals | --local | --loca | --loc | --lo)
506 ac_prev
=localstatedir
;;
507 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
508 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
509 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
510 localstatedir
="$ac_optarg" ;;
512 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
514 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
515 mandir
="$ac_optarg" ;;
518 # Obsolete; use --without-fp.
521 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
525 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
526 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
529 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
530 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
531 | --oldin | --oldi | --old | --ol | --o)
532 ac_prev
=oldincludedir
;;
533 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
534 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
535 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
536 oldincludedir
="$ac_optarg" ;;
538 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
540 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
541 prefix
="$ac_optarg" ;;
543 -program-prefix | --program-prefix | --program-prefi | --program-pref \
544 | --program-pre | --program-pr | --program-p)
545 ac_prev
=program_prefix
;;
546 -program-prefix=* | --program-prefix=* | --program-prefi=* \
547 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
548 program_prefix
="$ac_optarg" ;;
550 -program-suffix | --program-suffix | --program-suffi | --program-suff \
551 | --program-suf | --program-su | --program-s)
552 ac_prev
=program_suffix
;;
553 -program-suffix=* | --program-suffix=* | --program-suffi=* \
554 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
555 program_suffix
="$ac_optarg" ;;
557 -program-transform-name | --program-transform-name \
558 | --program-transform-nam | --program-transform-na \
559 | --program-transform-n | --program-transform- \
560 | --program-transform | --program-transfor \
561 | --program-transfo | --program-transf \
562 | --program-trans | --program-tran \
563 | --progr-tra | --program-tr | --program-t)
564 ac_prev
=program_transform_name
;;
565 -program-transform-name=* | --program-transform-name=* \
566 | --program-transform-nam=* | --program-transform-na=* \
567 | --program-transform-n=* | --program-transform-=* \
568 | --program-transform=* | --program-transfor=* \
569 | --program-transfo=* | --program-transf=* \
570 | --program-trans=* | --program-tran=* \
571 | --progr-tra=* | --program-tr=* | --program-t=*)
572 program_transform_name
="$ac_optarg" ;;
574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
575 | -silent | --silent | --silen | --sile | --sil)
578 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
580 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
582 sbindir
="$ac_optarg" ;;
584 -sharedstatedir | --sharedstatedir | --sharedstatedi \
585 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
586 | --sharedst | --shareds | --shared | --share | --shar \
588 ac_prev
=sharedstatedir
;;
589 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
590 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
591 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
593 sharedstatedir
="$ac_optarg" ;;
595 -site | --site | --sit)
597 -site=* | --site=* | --sit=*)
600 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
602 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
603 srcdir
="$ac_optarg" ;;
605 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
606 | --syscon | --sysco | --sysc | --sys | --sy)
607 ac_prev
=sysconfdir
;;
608 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
609 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
610 sysconfdir
="$ac_optarg" ;;
612 -target | --target | --targe | --targ | --tar | --ta | --t)
614 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
615 target
="$ac_optarg" ;;
617 -v | -verbose | --verbose | --verbos | --verbo | --verb)
620 -version | --version | --versio | --versi | --vers)
621 echo "configure generated by autoconf version 2.13"
625 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
626 # Reject names that are not valid shell variable names.
627 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
628 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
630 ac_package
=`echo $ac_package| sed 's/-/_/g'`
635 eval "with_${ac_package}='$ac_optarg'" ;;
637 -without-* | --without-*)
638 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
639 # Reject names that are not valid shell variable names.
640 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
641 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
643 ac_package
=`echo $ac_package| sed 's/-/_/g'`
644 eval "with_${ac_package}=no" ;;
647 # Obsolete; use --with-x.
650 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
651 | --x-incl | --x-inc | --x-in | --x-i)
652 ac_prev
=x_includes
;;
653 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
654 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
655 x_includes
="$ac_optarg" ;;
657 -x-libraries | --x-libraries | --x-librarie | --x-librari \
658 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
659 ac_prev
=x_libraries
;;
660 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
661 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
662 x_libraries
="$ac_optarg" ;;
664 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
668 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
669 echo "configure: warning: $ac_option: invalid host type" 1>&2
671 if test "x$nonopt" != xNONE
; then
672 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
680 if test -n "$ac_prev"; then
681 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
684 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
686 # File descriptor usage:
689 # 2 errors and warnings
690 # 3 some systems may open it to /dev/tty
691 # 4 used on the Kubota Titan
692 # 6 checking for... messages and results
693 # 5 compiler messages saved in config.log
694 if test "$silent" = yes; then
702 This file contains any messages produced by compilers while
703 running configure, to aid debugging if configure makes a mistake.
706 # Strip out --no-create and --no-recursion so they do not pile up.
707 # Also quote any args containing shell metacharacters.
712 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
713 | --no-cr | --no-c) ;;
714 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
715 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
716 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
717 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
718 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
723 # Only set these to C if already set. These must not be set unconditionally
724 # because not all systems understand e.g. LANG=C (notably SCO).
725 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
726 # Non-C LC_CTYPE values break the ctype check.
727 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
728 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
729 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
730 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
732 # confdefs.h avoids OS command line length limits that DEFS can exceed.
733 rm -rf conftest
* confdefs.h
734 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
737 # A filename unique to this package, relative to the directory that
738 # configure is in, which we can look for to find out if srcdir is correct.
739 ac_unique_file
=wx
-config.
in
741 # Find the source files, if location was not specified.
742 if test -z "$srcdir"; then
743 ac_srcdir_defaulted
=yes
744 # Try the directory containing this script, then its parent.
746 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
747 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
749 if test ! -r $srcdir/$ac_unique_file; then
753 ac_srcdir_defaulted
=no
755 if test ! -r $srcdir/$ac_unique_file; then
756 if test "$ac_srcdir_defaulted" = yes; then
757 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
759 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
762 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
764 # Prefer explicitly selected file to automatically selected ones.
765 if test -z "$CONFIG_SITE"; then
766 if test "x$prefix" != xNONE
; then
767 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
769 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
772 for ac_site_file
in $CONFIG_SITE; do
773 if test -r "$ac_site_file"; then
774 echo "loading site script $ac_site_file"
779 if test -r "$cache_file"; then
780 echo "loading cache $cache_file"
783 echo "creating cache $cache_file"
788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
789 ac_cpp
='$CPP $CPPFLAGS'
790 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
791 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
792 cross_compiling
=$ac_cv_prog_cc_cross
796 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
797 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
798 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
805 ac_n
= ac_c
='\c' ac_t
=
811 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
812 if test -f $ac_dir/install-sh; then
814 ac_install_sh
="$ac_aux_dir/install-sh -c"
816 elif test -f $ac_dir/install.sh
; then
818 ac_install_sh
="$ac_aux_dir/install.sh -c"
822 if test -z "$ac_aux_dir"; then
823 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
825 ac_config_guess
=$ac_aux_dir/config.guess
826 ac_config_sub
=$ac_aux_dir/config.sub
827 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
830 # Do some error checking and defaulting for the host and target type.
832 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
835 # 1. You are not allowed to specify --host, --target, and nonopt at the
837 # 2. Host defaults to nonopt.
838 # 3. If nonopt is not specified, then host defaults to the current host,
839 # as determined by config.guess.
840 # 4. Target and build default to nonopt.
841 # 5. If nonopt is not specified, then target and build default to host.
843 # The aliases save the names the user supplied, while $host etc.
844 # will get canonicalized.
845 case $host---$target---$nonopt in
846 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
847 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
851 # Make sure we can run config.sub.
852 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
853 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
856 echo $ac_n "checking host system type""... $ac_c" 1>&6
857 echo "configure:858: checking host system type" >&5
860 case "$host_alias" in
864 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
865 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
867 *) host_alias
=$nonopt ;;
871 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
872 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
873 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
874 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
875 echo "$ac_t""$host" 1>&6
877 echo $ac_n "checking target system type""... $ac_c" 1>&6
878 echo "configure:879: checking target system type" >&5
881 case "$target_alias" in
884 NONE
) target_alias
=$host_alias ;;
885 *) target_alias
=$nonopt ;;
889 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
890 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
891 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
892 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
893 echo "$ac_t""$target" 1>&6
895 echo $ac_n "checking build system type""... $ac_c" 1>&6
896 echo "configure:897: checking build system type" >&5
899 case "$build_alias" in
902 NONE
) build_alias
=$host_alias ;;
903 *) build_alias
=$nonopt ;;
907 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
908 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
909 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
910 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
911 echo "$ac_t""$build" 1>&6
913 test "$host_alias" != "$target_alias" &&
914 test "$program_prefix$program_suffix$program_transform_name" = \
916 program_prefix
=${target_alias}-
920 WX_MAJOR_VERSION_NUMBER
=2
921 WX_MINOR_VERSION_NUMBER
=3
927 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
929 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
930 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
931 WX_REVISION
=$WX_INTERFACE_AGE
932 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
959 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
961 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
964 DEFAULT_wxUSE_MOTIF
=0
969 DEFAULT_DEFAULT_wxUSE_GTK
=0
970 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
971 DEFAULT_DEFAULT_wxUSE_MSW
=0
972 DEFAULT_DEFAULT_wxUSE_WINE
=0
973 DEFAULT_DEFAULT_wxUSE_PM
=0
980 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
981 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
982 cat >> confdefs.h
<<\EOF
989 cat >> confdefs.h
<<\EOF
994 if test "x$TMP" = "xalpha"; then
996 cat >> confdefs.h
<<\EOF
1001 DEFAULT_DEFAULT_wxUSE_GTK
=1
1003 *-*-irix5* | *-*-irix6* )
1006 cat >> confdefs.h
<<\EOF
1010 cat >> confdefs.h
<<\EOF
1014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1020 cat >> confdefs.h
<<\EOF
1024 cat >> confdefs.h
<<\EOF
1025 #define __SOLARIS__ 1
1028 cat >> confdefs.h
<<\EOF
1032 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1033 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1039 cat >> confdefs.h
<<\EOF
1043 cat >> confdefs.h
<<\EOF
1047 cat >> confdefs.h
<<\EOF
1051 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1056 cat >> confdefs.h
<<\EOF
1057 #define __FREEBSD__ 1
1060 cat >> confdefs.h
<<\EOF
1064 DEFAULT_DEFAULT_wxUSE_GTK
=1
1069 cat >> confdefs.h
<<\EOF
1070 #define __FREEBSD__ 1
1073 cat >> confdefs.h
<<\EOF
1074 #define __NETBSD__ 1
1077 DEFAULT_DEFAULT_wxUSE_GTK
=1
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1090 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1091 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1109 cat >> confdefs.h
<<\EOF
1113 cat >> confdefs.h
<<\EOF
1117 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1123 cat >> confdefs.h
<<\EOF
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1138 *-*-cygwin32* | *-*-mingw32* )
1141 cat >> confdefs.h
<<\EOF
1145 cat >> confdefs.h
<<\EOF
1149 cat >> confdefs.h
<<\EOF
1150 #define __WINDOWS__ 1
1153 cat >> confdefs.h
<<\EOF
1154 #define __GNUWIN32__ 1
1157 cat >> confdefs.h
<<\EOF
1161 cat >> confdefs.h
<<\EOF
1162 #define WINVER 0x0400
1166 DEFAULT_DEFAULT_wxUSE_MSW
=1
1170 cat >> confdefs.h
<<\EOF
1175 DEFAULT_DEFAULT_wxUSE_PM
=1
1180 cat >> confdefs.h
<<\EOF
1187 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1190 if test "$USE_UNIX" = 1 ; then
1192 cat >> confdefs.h
<<\EOF
1197 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1198 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1201 if test "$USE_BEOS" = 1; then
1202 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1203 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1206 if test "$USE_LINUX" = 1; then
1207 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1208 echo "configure:1209: checking for gettext in -lc" >&5
1209 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1211 echo $ac_n "(cached) $ac_c" 1>&6
1213 ac_save_LIBS
="$LIBS"
1215 cat > conftest.
$ac_ext <<EOF
1216 #line 1217 "configure"
1217 #include "confdefs.h"
1218 /* Override any gcc2 internal prototype to avoid an error. */
1219 /* We use char because int might match the return type of a gcc2
1220 builtin and then its argument prototype would still apply. */
1227 if { (eval echo configure
:1228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1229 eval "ac_cv_lib_$ac_lib_var=yes"
1231 echo "configure: failed program was:" >&5
1232 cat conftest.
$ac_ext >&5
1234 eval "ac_cv_lib_$ac_lib_var=no"
1237 LIBS
="$ac_save_LIBS"
1240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1241 echo "$ac_t""yes" 1>&6
1242 cat >> confdefs.h
<<\EOF
1243 #define wxHAVE_GLIBC2 1
1247 echo "$ac_t""no" 1>&6
1255 wx_arg_cache_file
="configarg.cache"
1256 echo "loading argument cache $wx_arg_cache_file"
1257 rm -f ${wx_arg_cache_file}.tmp
1258 touch ${wx_arg_cache_file}.tmp
1259 touch ${wx_arg_cache_file}
1263 if test $DEBUG_CONFIGURE = 1; then
1264 DEFAULT_wxUSE_THREADS
=yes
1266 DEFAULT_wxUSE_SHARED
=yes
1267 DEFAULT_wxUSE_BURNT_NAME
=no
1268 DEFAULT_wxUSE_OPTIMISE
=yes
1269 DEFAULT_wxUSE_PROFILE
=no
1270 DEFAULT_wxUSE_NO_DEPS
=no
1271 DEFAULT_wxUSE_NO_RTTI
=no
1272 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1273 DEFAULT_wxUSE_PERMISSIVE
=no
1274 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1275 DEFAULT_wxUSE_DEBUG_INFO
=yes
1276 DEFAULT_wxUSE_DEBUG_GDB
=yes
1277 DEFAULT_wxUSE_MEM_TRACING
=no
1278 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1279 DEFAULT_wxUSE_DMALLOC
=no
1280 DEFAULT_wxUSE_APPLE_IEEE
=no
1282 DEFAULT_wxUSE_LOG
=yes
1284 DEFAULT_wxUSE_GUI
=yes
1286 DEFAULT_wxUSE_ZLIB
=no
1287 DEFAULT_wxUSE_LIBPNG
=no
1288 DEFAULT_wxUSE_LIBJPEG
=no
1289 DEFAULT_wxUSE_LIBTIFF
=no
1290 DEFAULT_wxUSE_ODBC
=no
1291 DEFAULT_wxUSE_FREETYPE
=no
1292 DEFAULT_wxUSE_OPENGL
=no
1294 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1295 DEFAULT_wxUSE_STD_IOSTREAM
=no
1296 DEFAULT_wxUSE_FILE
=no
1297 DEFAULT_wxUSE_TEXTFILE
=no
1298 DEFAULT_wxUSE_TIMEDATE
=no
1299 DEFAULT_wxUSE_WAVE
=no
1300 DEFAULT_wxUSE_INTL
=no
1301 DEFAULT_wxUSE_CONFIG
=no
1302 DEFAULT_wxUSE_STREAMS
=no
1303 DEFAULT_wxUSE_SOCKETS
=no
1304 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1305 DEFAULT_wxUSE_SERIAL
=no
1306 DEFAULT_wxUSE_JOYSTICK
=no
1307 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1308 DEFAULT_wxUSE_LONGLONG
=no
1309 DEFAULT_wxUSE_GEOMETRY
=no
1311 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1312 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1313 DEFAULT_wxUSE_POSTSCRIPT
=no
1315 DEFAULT_wxUSE_X_RESOURCES
=no
1316 DEFAULT_wxUSE_CLIPBOARD
=no
1317 DEFAULT_wxUSE_TOOLTIPS
=no
1318 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1319 DEFAULT_wxUSE_SPLINES
=no
1321 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1322 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1323 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1325 DEFAULT_wxUSE_PROLOGIO
=no
1326 DEFAULT_wxUSE_RESOURCES
=no
1327 DEFAULT_wxUSE_CONSTRAINTS
=no
1328 DEFAULT_wxUSE_IPC
=no
1329 DEFAULT_wxUSE_HELP
=no
1330 DEFAULT_wxUSE_WXTREE
=no
1331 DEFAULT_wxUSE_METAFILE
=no
1333 DEFAULT_wxUSE_COMMONDLGS
=no
1334 DEFAULT_wxUSE_DIRDLG
=no
1335 DEFAULT_wxUSE_TEXTDLG
=no
1336 DEFAULT_wxUSE_STARTUP_TIPS
=no
1337 DEFAULT_wxUSE_PROGRESSDLG
=no
1338 DEFAULT_wxUSE_MINIFRAME
=no
1339 DEFAULT_wxUSE_HTML
=no
1340 DEFAULT_wxUSE_FILESYSTEM
=no
1341 DEFAULT_wxUSE_FS_INET
=no
1342 DEFAULT_wxUSE_FS_ZIP
=no
1343 DEFAULT_wxUSE_BUSYINFO
=no
1344 DEFAULT_wxUSE_ZIPSTREAM
=no
1345 DEFAULT_wxUSE_VALIDATORS
=yes
1347 DEFAULT_wxUSE_ACCEL
=no
1348 DEFAULT_wxUSE_CARET
=no
1349 DEFAULT_wxUSE_BMPBUTTON
=no
1350 DEFAULT_wxUSE_CHECKBOX
=no
1351 DEFAULT_wxUSE_CHECKLST
=no
1352 DEFAULT_wxUSE_CHOICE
=yes
1353 DEFAULT_wxUSE_COMBOBOX
=no
1354 DEFAULT_wxUSE_GAUGE
=no
1355 DEFAULT_wxUSE_GRID
=no
1356 DEFAULT_wxUSE_NEW_GRID
=no
1357 DEFAULT_wxUSE_IMAGLIST
=no
1358 DEFAULT_wxUSE_LISTBOX
=no
1359 DEFAULT_wxUSE_LISTCTRL
=no
1360 DEFAULT_wxUSE_NOTEBOOK
=no
1361 DEFAULT_wxUSE_RADIOBOX
=no
1362 DEFAULT_wxUSE_RADIOBTN
=no
1363 DEFAULT_wxUSE_SASH
=no
1364 DEFAULT_wxUSE_SCROLLBAR
=no
1365 DEFAULT_wxUSE_SLIDER
=no
1366 DEFAULT_wxUSE_SPINBTN
=no
1367 DEFAULT_wxUSE_SPINCTRL
=no
1368 DEFAULT_wxUSE_SPLITTER
=no
1369 DEFAULT_wxUSE_STATBMP
=no
1370 DEFAULT_wxUSE_STATBOX
=no
1371 DEFAULT_wxUSE_STATLINE
=no
1372 DEFAULT_wxUSE_STATUSBAR
=yes
1373 DEFAULT_wxUSE_TABDIALOG
=no
1374 DEFAULT_wxUSE_TOOLBAR
=no
1375 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1376 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1377 DEFAULT_wxUSE_TREECTRL
=no
1379 DEFAULT_wxUSE_UNICODE
=no
1380 DEFAULT_wxUSE_WCSRTOMBS
=no
1382 DEFAULT_wxUSE_GIF
=no
1383 DEFAULT_wxUSE_PCX
=no
1384 DEFAULT_wxUSE_PNM
=no
1386 DEFAULT_wxUSE_THREADS
=yes
1388 DEFAULT_wxUSE_SHARED
=yes
1389 DEFAULT_wxUSE_BURNT_NAME
=no
1390 DEFAULT_wxUSE_OPTIMISE
=yes
1391 DEFAULT_wxUSE_PROFILE
=no
1392 DEFAULT_wxUSE_NO_DEPS
=no
1393 DEFAULT_wxUSE_NO_RTTI
=no
1394 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1395 DEFAULT_wxUSE_PERMISSIVE
=no
1396 DEFAULT_wxUSE_DEBUG_FLAG
=no
1397 DEFAULT_wxUSE_DEBUG_INFO
=no
1398 DEFAULT_wxUSE_DEBUG_GDB
=no
1399 DEFAULT_wxUSE_MEM_TRACING
=no
1400 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1401 DEFAULT_wxUSE_DMALLOC
=no
1402 DEFAULT_wxUSE_APPLE_IEEE
=yes
1404 DEFAULT_wxUSE_LOG
=yes
1406 DEFAULT_wxUSE_GUI
=yes
1408 DEFAULT_wxUSE_ZLIB
=yes
1409 DEFAULT_wxUSE_LIBPNG
=yes
1410 DEFAULT_wxUSE_LIBJPEG
=yes
1411 DEFAULT_wxUSE_LIBTIFF
=yes
1412 DEFAULT_wxUSE_ODBC
=no
1413 DEFAULT_wxUSE_FREETYPE
=no
1414 DEFAULT_wxUSE_OPENGL
=no
1416 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1417 DEFAULT_wxUSE_STD_IOSTREAM
=no
1418 DEFAULT_wxUSE_FILE
=yes
1419 DEFAULT_wxUSE_TEXTFILE
=yes
1420 DEFAULT_wxUSE_TIMEDATE
=yes
1421 DEFAULT_wxUSE_WAVE
=no
1422 DEFAULT_wxUSE_INTL
=yes
1423 DEFAULT_wxUSE_CONFIG
=yes
1424 DEFAULT_wxUSE_STREAMS
=yes
1425 DEFAULT_wxUSE_SOCKETS
=yes
1426 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1427 DEFAULT_wxUSE_SERIAL
=yes
1428 DEFAULT_wxUSE_JOYSTICK
=yes
1429 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1430 DEFAULT_wxUSE_LONGLONG
=yes
1431 DEFAULT_wxUSE_GEOMETRY
=yes
1433 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1434 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1435 DEFAULT_wxUSE_POSTSCRIPT
=yes
1437 DEFAULT_wxUSE_X_RESOURCES
=no
1438 DEFAULT_wxUSE_CLIPBOARD
=yes
1439 DEFAULT_wxUSE_TOOLTIPS
=yes
1440 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1441 DEFAULT_wxUSE_SPLINES
=yes
1443 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1444 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1445 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1447 DEFAULT_wxUSE_PROLOGIO
=yes
1448 DEFAULT_wxUSE_RESOURCES
=yes
1449 DEFAULT_wxUSE_CONSTRAINTS
=yes
1450 DEFAULT_wxUSE_IPC
=yes
1451 DEFAULT_wxUSE_HELP
=yes
1452 DEFAULT_wxUSE_WXTREE
=yes
1453 DEFAULT_wxUSE_METAFILE
=yes
1455 DEFAULT_wxUSE_COMMONDLGS
=yes
1456 DEFAULT_wxUSE_DIRDLG
=yes
1457 DEFAULT_wxUSE_TEXTDLG
=yes
1458 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1459 DEFAULT_wxUSE_PROGRESSDLG
=yes
1460 DEFAULT_wxUSE_MINIFRAME
=yes
1461 DEFAULT_wxUSE_HTML
=yes
1462 DEFAULT_wxUSE_FILESYSTEM
=yes
1463 DEFAULT_wxUSE_FS_INET
=yes
1464 DEFAULT_wxUSE_FS_ZIP
=yes
1465 DEFAULT_wxUSE_BUSYINFO
=yes
1466 DEFAULT_wxUSE_ZIPSTREAM
=yes
1467 DEFAULT_wxUSE_VALIDATORS
=yes
1469 DEFAULT_wxUSE_ACCEL
=yes
1470 DEFAULT_wxUSE_CARET
=yes
1471 DEFAULT_wxUSE_BMPBUTTON
=yes
1472 DEFAULT_wxUSE_CHECKBOX
=yes
1473 DEFAULT_wxUSE_CHECKLST
=yes
1474 DEFAULT_wxUSE_CHOICE
=yes
1475 DEFAULT_wxUSE_COMBOBOX
=yes
1476 DEFAULT_wxUSE_GAUGE
=yes
1477 DEFAULT_wxUSE_GRID
=yes
1478 DEFAULT_wxUSE_NEW_GRID
=yes
1479 DEFAULT_wxUSE_IMAGLIST
=yes
1480 DEFAULT_wxUSE_LISTBOX
=yes
1481 DEFAULT_wxUSE_LISTCTRL
=yes
1482 DEFAULT_wxUSE_NOTEBOOK
=yes
1483 DEFAULT_wxUSE_RADIOBOX
=yes
1484 DEFAULT_wxUSE_RADIOBTN
=yes
1485 DEFAULT_wxUSE_SASH
=yes
1486 DEFAULT_wxUSE_SCROLLBAR
=yes
1487 DEFAULT_wxUSE_SLIDER
=yes
1488 DEFAULT_wxUSE_SPINBTN
=yes
1489 DEFAULT_wxUSE_SPINCTRL
=yes
1490 DEFAULT_wxUSE_SPLITTER
=yes
1491 DEFAULT_wxUSE_STATBMP
=yes
1492 DEFAULT_wxUSE_STATBOX
=yes
1493 DEFAULT_wxUSE_STATLINE
=yes
1494 DEFAULT_wxUSE_STATUSBAR
=yes
1495 DEFAULT_wxUSE_TABDIALOG
=no
1496 DEFAULT_wxUSE_TOOLBAR
=yes
1497 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1498 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1499 DEFAULT_wxUSE_TREECTRL
=yes
1501 DEFAULT_wxUSE_UNICODE
=no
1502 DEFAULT_wxUSE_WCSRTOMBS
=no
1504 DEFAULT_wxUSE_GIF
=yes
1505 DEFAULT_wxUSE_PCX
=yes
1506 DEFAULT_wxUSE_PNM
=yes
1511 for toolkit
in `echo $ALL_TOOLKITS`; do
1512 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1513 if test "x$LINE" != x
; then
1514 has_toolkit_in_cache
=1
1515 eval "DEFAULT_$LINE"
1516 eval "CACHE_$toolkit=1"
1522 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1523 echo "configure:1524: checking "for --enable-gui"" >&5
1525 # Check whether --enable-gui or --disable-gui was given.
1526 if test "${enable_gui+set}" = set; then
1527 enableval
="$enable_gui"
1529 if test "$enableval" = yes; then
1530 ac_cv_use_gui
='wxUSE_GUI=yes'
1532 ac_cv_use_gui
='wxUSE_GUI=no'
1537 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1538 if test "x$LINE" != x
; then
1539 eval "DEFAULT_$LINE"
1544 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1549 eval "$ac_cv_use_gui"
1550 if test "$no_cache" != 1; then
1551 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1554 if test "$wxUSE_GUI" = yes; then
1555 echo "$ac_t""yes" 1>&6
1557 echo "$ac_t""no" 1>&6
1561 if test "$wxUSE_GUI" = "yes"; then
1563 # Check whether --with-gtk or --without-gtk was given.
1564 if test "${with_gtk+set}" = set; then
1566 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1569 # Check whether --with-motif or --without-motif was given.
1570 if test "${with_motif+set}" = set; then
1571 withval
="$with_motif"
1572 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1575 # Check whether --with-wine or --without-wine was given.
1576 if test "${with_wine+set}" = set; then
1577 withval
="$with_wine"
1578 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1581 # Check whether --with-cygwin or --without-cygwin was given.
1582 if test "${with_cygwin+set}" = set; then
1583 withval
="$with_cygwin"
1584 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1587 # Check whether --with-mingw or --without-mingw was given.
1588 if test "${with_mingw+set}" = set; then
1589 withval
="$with_mingw"
1590 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1593 # Check whether --with-pm or --without-pm was given.
1594 if test "${with_pm+set}" = set; then
1596 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1600 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1601 if test "${with_gtk_prefix+set}" = set; then
1602 withval
="$with_gtk_prefix"
1603 gtk_config_prefix
="$withval"
1605 gtk_config_prefix
=""
1608 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1609 if test "${with_gtk_exec_prefix+set}" = set; then
1610 withval
="$with_gtk_exec_prefix"
1611 gtk_config_exec_prefix
="$withval"
1613 gtk_config_exec_prefix
=""
1618 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1619 echo "configure:1620: checking "for --with-libpng"" >&5
1621 # Check whether --with-libpng or --without-libpng was given.
1622 if test "${with_libpng+set}" = set; then
1623 withval
="$with_libpng"
1625 if test "$withval" = yes; then
1626 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1627 elif test "$withval" = no
; then
1628 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1629 elif test "$withval" = sys
; then
1630 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1632 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1637 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1638 if test "x$LINE" != x
; then
1639 eval "DEFAULT_$LINE"
1644 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1649 eval "$ac_cv_use_libpng"
1650 if test "$no_cache" != 1; then
1651 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1654 if test "$wxUSE_LIBPNG" = yes; then
1655 echo "$ac_t""yes" 1>&6
1656 elif test "$wxUSE_LIBPNG" = no
; then
1657 echo "$ac_t""no" 1>&6
1658 elif test "$wxUSE_LIBPNG" = sys
; then
1659 echo "$ac_t""system version" 1>&6
1661 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1665 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1666 echo "configure:1667: checking "for --with-libjpeg"" >&5
1668 # Check whether --with-libjpeg or --without-libjpeg was given.
1669 if test "${with_libjpeg+set}" = set; then
1670 withval
="$with_libjpeg"
1672 if test "$withval" = yes; then
1673 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1674 elif test "$withval" = no
; then
1675 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1676 elif test "$withval" = sys
; then
1677 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1679 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1684 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x
; then
1686 eval "DEFAULT_$LINE"
1691 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1696 eval "$ac_cv_use_libjpeg"
1697 if test "$no_cache" != 1; then
1698 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1701 if test "$wxUSE_LIBJPEG" = yes; then
1702 echo "$ac_t""yes" 1>&6
1703 elif test "$wxUSE_LIBJPEG" = no
; then
1704 echo "$ac_t""no" 1>&6
1705 elif test "$wxUSE_LIBJPEG" = sys
; then
1706 echo "$ac_t""system version" 1>&6
1708 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1712 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1713 echo "configure:1714: checking "for --with-libtiff"" >&5
1715 # Check whether --with-libtiff or --without-libtiff was given.
1716 if test "${with_libtiff+set}" = set; then
1717 withval
="$with_libtiff"
1719 if test "$withval" = yes; then
1720 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1721 elif test "$withval" = no
; then
1722 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1723 elif test "$withval" = sys
; then
1724 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1726 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1731 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1732 if test "x$LINE" != x
; then
1733 eval "DEFAULT_$LINE"
1738 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1743 eval "$ac_cv_use_libtiff"
1744 if test "$no_cache" != 1; then
1745 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1748 if test "$wxUSE_LIBTIFF" = yes; then
1749 echo "$ac_t""yes" 1>&6
1750 elif test "$wxUSE_LIBTIFF" = no
; then
1751 echo "$ac_t""no" 1>&6
1752 elif test "$wxUSE_LIBTIFF" = sys
; then
1753 echo "$ac_t""system version" 1>&6
1755 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1759 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1760 echo "configure:1761: checking "for --with-freetype"" >&5
1762 # Check whether --with-freetype or --without-freetype was given.
1763 if test "${with_freetype+set}" = set; then
1764 withval
="$with_freetype"
1766 if test "$withval" = yes; then
1767 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1768 elif test "$withval" = no
; then
1769 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1770 elif test "$withval" = sys
; then
1771 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1773 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1778 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1779 if test "x$LINE" != x
; then
1780 eval "DEFAULT_$LINE"
1785 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1790 eval "$ac_cv_use_freetype"
1791 if test "$no_cache" != 1; then
1792 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1795 if test "$wxUSE_FREETYPE" = yes; then
1796 echo "$ac_t""yes" 1>&6
1797 elif test "$wxUSE_FREETYPE" = no
; then
1798 echo "$ac_t""no" 1>&6
1799 elif test "$wxUSE_FREETYPE" = sys
; then
1800 echo "$ac_t""system version" 1>&6
1802 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1806 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1807 echo "configure:1808: checking "for --with-opengl"" >&5
1809 # Check whether --with-opengl or --without-opengl was given.
1810 if test "${with_opengl+set}" = set; then
1811 withval
="$with_opengl"
1813 if test "$withval" = yes; then
1814 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1816 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1821 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1822 if test "x$LINE" != x
; then
1823 eval "DEFAULT_$LINE"
1828 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1833 eval "$ac_cv_use_opengl"
1834 if test "$no_cache" != 1; then
1835 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1838 if test "$wxUSE_OPENGL" = yes; then
1839 echo "$ac_t""yes" 1>&6
1841 echo "$ac_t""no" 1>&6
1848 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1849 echo "configure:1850: checking "for --with-dmalloc"" >&5
1851 # Check whether --with-dmalloc or --without-dmalloc was given.
1852 if test "${with_dmalloc+set}" = set; then
1853 withval
="$with_dmalloc"
1855 if test "$withval" = yes; then
1856 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1858 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1863 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1864 if test "x$LINE" != x
; then
1865 eval "DEFAULT_$LINE"
1870 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1875 eval "$ac_cv_use_dmalloc"
1876 if test "$no_cache" != 1; then
1877 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1880 if test "$wxUSE_DMALLOC" = yes; then
1881 echo "$ac_t""yes" 1>&6
1883 echo "$ac_t""no" 1>&6
1887 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1888 echo "configure:1889: checking "for --with-zlib"" >&5
1890 # Check whether --with-zlib or --without-zlib was given.
1891 if test "${with_zlib+set}" = set; then
1892 withval
="$with_zlib"
1894 if test "$withval" = yes; then
1895 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1896 elif test "$withval" = no
; then
1897 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1898 elif test "$withval" = sys
; then
1899 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1901 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1906 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1907 if test "x$LINE" != x
; then
1908 eval "DEFAULT_$LINE"
1913 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1918 eval "$ac_cv_use_zlib"
1919 if test "$no_cache" != 1; then
1920 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1923 if test "$wxUSE_ZLIB" = yes; then
1924 echo "$ac_t""yes" 1>&6
1925 elif test "$wxUSE_ZLIB" = no
; then
1926 echo "$ac_t""no" 1>&6
1927 elif test "$wxUSE_ZLIB" = sys
; then
1928 echo "$ac_t""system version" 1>&6
1930 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1934 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1935 echo "configure:1936: checking "for --with-odbc"" >&5
1937 # Check whether --with-odbc or --without-odbc was given.
1938 if test "${with_odbc+set}" = set; then
1939 withval
="$with_odbc"
1941 if test "$withval" = yes; then
1942 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1944 ac_cv_use_odbc
='wxUSE_ODBC=no'
1949 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1950 if test "x$LINE" != x
; then
1951 eval "DEFAULT_$LINE"
1956 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1961 eval "$ac_cv_use_odbc"
1962 if test "$no_cache" != 1; then
1963 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1966 if test "$wxUSE_ODBC" = yes; then
1967 echo "$ac_t""yes" 1>&6
1969 echo "$ac_t""no" 1>&6
1976 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1977 echo "configure:1978: checking "for --enable-shared"" >&5
1979 # Check whether --enable-shared or --disable-shared was given.
1980 if test "${enable_shared+set}" = set; then
1981 enableval
="$enable_shared"
1983 if test "$enableval" = yes; then
1984 ac_cv_use_shared
='wxUSE_SHARED=yes'
1986 ac_cv_use_shared
='wxUSE_SHARED=no'
1991 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1992 if test "x$LINE" != x
; then
1993 eval "DEFAULT_$LINE"
1998 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2003 eval "$ac_cv_use_shared"
2004 if test "$no_cache" != 1; then
2005 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2008 if test "$wxUSE_SHARED" = yes; then
2009 echo "$ac_t""yes" 1>&6
2011 echo "$ac_t""no" 1>&6
2015 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2016 echo "configure:2017: checking "for --enable-burnt_name"" >&5
2018 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2019 if test "${enable_burnt_name+set}" = set; then
2020 enableval
="$enable_burnt_name"
2022 if test "$enableval" = yes; then
2023 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2025 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2030 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2031 if test "x$LINE" != x
; then
2032 eval "DEFAULT_$LINE"
2037 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2042 eval "$ac_cv_use_burnt_name"
2043 if test "$no_cache" != 1; then
2044 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2047 if test "$wxUSE_BURNT_NAME" = yes; then
2048 echo "$ac_t""yes" 1>&6
2050 echo "$ac_t""no" 1>&6
2054 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2055 echo "configure:2056: checking "for --enable-optimise"" >&5
2057 # Check whether --enable-optimise or --disable-optimise was given.
2058 if test "${enable_optimise+set}" = set; then
2059 enableval
="$enable_optimise"
2061 if test "$enableval" = yes; then
2062 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2064 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2069 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2070 if test "x$LINE" != x
; then
2071 eval "DEFAULT_$LINE"
2076 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2081 eval "$ac_cv_use_optimise"
2082 if test "$no_cache" != 1; then
2083 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2086 if test "$wxUSE_OPTIMISE" = yes; then
2087 echo "$ac_t""yes" 1>&6
2089 echo "$ac_t""no" 1>&6
2093 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2094 echo "configure:2095: checking "for --enable-debug"" >&5
2096 # Check whether --enable-debug or --disable-debug was given.
2097 if test "${enable_debug+set}" = set; then
2098 enableval
="$enable_debug"
2100 if test "$enableval" = yes; then
2101 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2103 ac_cv_use_debug
='wxUSE_DEBUG=no'
2108 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2109 if test "x$LINE" != x
; then
2110 eval "DEFAULT_$LINE"
2115 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2120 eval "$ac_cv_use_debug"
2121 if test "$no_cache" != 1; then
2122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2125 if test "$wxUSE_DEBUG" = yes; then
2126 echo "$ac_t""yes" 1>&6
2128 echo "$ac_t""no" 1>&6
2132 if test "$wxUSE_DEBUG" = "yes"; then
2133 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2134 DEFAULT_wxUSE_DEBUG_INFO
=yes
2135 elif test "$wxUSE_DEBUG" = "no"; then
2136 DEFAULT_wxUSE_DEBUG_FLAG
=no
2137 DEFAULT_wxUSE_DEBUG_INFO
=no
2141 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2142 echo "configure:2143: checking "for --enable-debug_flag"" >&5
2144 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2145 if test "${enable_debug_flag+set}" = set; then
2146 enableval
="$enable_debug_flag"
2148 if test "$enableval" = yes; then
2149 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2151 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2156 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2157 if test "x$LINE" != x
; then
2158 eval "DEFAULT_$LINE"
2163 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2168 eval "$ac_cv_use_debug_flag"
2169 if test "$no_cache" != 1; then
2170 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2173 if test "$wxUSE_DEBUG_FLAG" = yes; then
2174 echo "$ac_t""yes" 1>&6
2176 echo "$ac_t""no" 1>&6
2180 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2181 echo "configure:2182: checking "for --enable-debug_info"" >&5
2183 # Check whether --enable-debug_info or --disable-debug_info was given.
2184 if test "${enable_debug_info+set}" = set; then
2185 enableval
="$enable_debug_info"
2187 if test "$enableval" = yes; then
2188 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2190 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2195 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2196 if test "x$LINE" != x
; then
2197 eval "DEFAULT_$LINE"
2202 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2207 eval "$ac_cv_use_debug_info"
2208 if test "$no_cache" != 1; then
2209 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2212 if test "$wxUSE_DEBUG_INFO" = yes; then
2213 echo "$ac_t""yes" 1>&6
2215 echo "$ac_t""no" 1>&6
2219 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2220 echo "configure:2221: checking "for --enable-debug_gdb"" >&5
2222 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2223 if test "${enable_debug_gdb+set}" = set; then
2224 enableval
="$enable_debug_gdb"
2226 if test "$enableval" = yes; then
2227 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2229 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2234 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2235 if test "x$LINE" != x
; then
2236 eval "DEFAULT_$LINE"
2241 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2246 eval "$ac_cv_use_debug_gdb"
2247 if test "$no_cache" != 1; then
2248 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2251 if test "$wxUSE_DEBUG_GDB" = yes; then
2252 echo "$ac_t""yes" 1>&6
2254 echo "$ac_t""no" 1>&6
2258 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2259 echo "configure:2260: checking "for --enable-debug_cntxt"" >&5
2261 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2262 if test "${enable_debug_cntxt+set}" = set; then
2263 enableval
="$enable_debug_cntxt"
2265 if test "$enableval" = yes; then
2266 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2268 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2273 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2274 if test "x$LINE" != x
; then
2275 eval "DEFAULT_$LINE"
2280 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2285 eval "$ac_cv_use_debug_cntxt"
2286 if test "$no_cache" != 1; then
2287 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2290 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2291 echo "$ac_t""yes" 1>&6
2293 echo "$ac_t""no" 1>&6
2297 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2298 echo "configure:2299: checking "for --enable-mem_tracing"" >&5
2300 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2301 if test "${enable_mem_tracing+set}" = set; then
2302 enableval
="$enable_mem_tracing"
2304 if test "$enableval" = yes; then
2305 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2307 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2312 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2313 if test "x$LINE" != x
; then
2314 eval "DEFAULT_$LINE"
2319 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2324 eval "$ac_cv_use_mem_tracing"
2325 if test "$no_cache" != 1; then
2326 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2329 if test "$wxUSE_MEM_TRACING" = yes; then
2330 echo "$ac_t""yes" 1>&6
2332 echo "$ac_t""no" 1>&6
2336 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2337 echo "configure:2338: checking "for --enable-profile"" >&5
2339 # Check whether --enable-profile or --disable-profile was given.
2340 if test "${enable_profile+set}" = set; then
2341 enableval
="$enable_profile"
2343 if test "$enableval" = yes; then
2344 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2346 ac_cv_use_profile
='wxUSE_PROFILE=no'
2351 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2363 eval "$ac_cv_use_profile"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_PROFILE" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2376 echo "configure:2377: checking "for --enable-no_rtti"" >&5
2378 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2379 if test "${enable_no_rtti+set}" = set; then
2380 enableval
="$enable_no_rtti"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2385 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2390 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x
; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2402 eval "$ac_cv_use_no_rtti"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2407 if test "$wxUSE_NO_RTTI" = yes; then
2408 echo "$ac_t""yes" 1>&6
2410 echo "$ac_t""no" 1>&6
2414 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2415 echo "configure:2416: checking "for --enable-no_exceptions"" >&5
2417 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2418 if test "${enable_no_exceptions+set}" = set; then
2419 enableval
="$enable_no_exceptions"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2424 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2429 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x
; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2441 eval "$ac_cv_use_no_exceptions"
2442 if test "$no_cache" != 1; then
2443 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2446 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2447 echo "$ac_t""yes" 1>&6
2449 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2454 echo "configure:2455: checking "for --enable-permissive"" >&5
2456 # Check whether --enable-permissive or --disable-permissive was given.
2457 if test "${enable_permissive+set}" = set; then
2458 enableval
="$enable_permissive"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2463 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2468 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2480 eval "$ac_cv_use_permissive"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_PERMISSIVE" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2492 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2493 echo "configure:2494: checking "for --enable-no_deps"" >&5
2495 # Check whether --enable-no_deps or --disable-no_deps was given.
2496 if test "${enable_no_deps+set}" = set; then
2497 enableval
="$enable_no_deps"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2502 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2507 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2519 eval "$ac_cv_use_no_deps"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_NO_DEPS" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2533 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2534 echo "configure:2535: checking "for --enable-intl"" >&5
2536 # Check whether --enable-intl or --disable-intl was given.
2537 if test "${enable_intl+set}" = set; then
2538 enableval
="$enable_intl"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_intl
='wxUSE_INTL=yes'
2543 ac_cv_use_intl
='wxUSE_INTL=no'
2548 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2560 eval "$ac_cv_use_intl"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_INTL" = yes; then
2566 echo "$ac_t""yes" 1>&6
2568 echo "$ac_t""no" 1>&6
2572 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2573 echo "configure:2574: checking "for --enable-config"" >&5
2575 # Check whether --enable-config or --disable-config was given.
2576 if test "${enable_config+set}" = set; then
2577 enableval
="$enable_config"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_config
='wxUSE_CONFIG=yes'
2582 ac_cv_use_config
='wxUSE_CONFIG=no'
2587 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2599 eval "$ac_cv_use_config"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_CONFIG" = yes; then
2605 echo "$ac_t""yes" 1>&6
2607 echo "$ac_t""no" 1>&6
2612 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2613 echo "configure:2614: checking "for --enable-sockets"" >&5
2615 # Check whether --enable-sockets or --disable-sockets was given.
2616 if test "${enable_sockets+set}" = set; then
2617 enableval
="$enable_sockets"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2622 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2627 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2639 eval "$ac_cv_use_sockets"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2644 if test "$wxUSE_SOCKETS" = yes; then
2645 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2652 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2653 echo "configure:2654: checking "for --enable-ipc"" >&5
2655 # Check whether --enable-ipc or --disable-ipc was given.
2656 if test "${enable_ipc+set}" = set; then
2657 enableval
="$enable_ipc"
2659 if test "$enableval" = yes; then
2660 ac_cv_use_ipc
='wxUSE_IPC=yes'
2662 ac_cv_use_ipc
='wxUSE_IPC=no'
2667 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x
; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2679 eval "$ac_cv_use_ipc"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_IPC" = yes; then
2685 echo "$ac_t""yes" 1>&6
2687 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2693 echo "configure:2694: checking "for --enable-dialupman"" >&5
2695 # Check whether --enable-dialupman or --disable-dialupman was given.
2696 if test "${enable_dialupman+set}" = set; then
2697 enableval
="$enable_dialupman"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2702 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2707 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2719 eval "$ac_cv_use_dialupman"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2732 echo "configure:2733: checking "for --enable-apple_ieee"" >&5
2734 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2735 if test "${enable_apple_ieee+set}" = set; then
2736 enableval
="$enable_apple_ieee"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2741 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2746 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2758 eval "$ac_cv_use_apple_ieee"
2759 if test "$no_cache" != 1; then
2760 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2763 if test "$wxUSE_APPLE_IEEE" = yes; then
2764 echo "$ac_t""yes" 1>&6
2766 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2771 echo "configure:2772: checking "for --enable-timedate"" >&5
2773 # Check whether --enable-timedate or --disable-timedate was given.
2774 if test "${enable_timedate+set}" = set; then
2775 enableval
="$enable_timedate"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2780 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2785 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2797 eval "$ac_cv_use_timedate"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_TIMEDATE" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2809 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2810 echo "configure:2811: checking "for --enable-wave"" >&5
2812 # Check whether --enable-wave or --disable-wave was given.
2813 if test "${enable_wave+set}" = set; then
2814 enableval
="$enable_wave"
2816 if test "$enableval" = yes; then
2817 ac_cv_use_wave
='wxUSE_WAVE=yes'
2819 ac_cv_use_wave
='wxUSE_WAVE=no'
2824 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x
; then
2826 eval "DEFAULT_$LINE"
2831 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2836 eval "$ac_cv_use_wave"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2841 if test "$wxUSE_WAVE" = yes; then
2842 echo "$ac_t""yes" 1>&6
2844 echo "$ac_t""no" 1>&6
2848 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2849 echo "configure:2850: checking "for --enable-fraction"" >&5
2851 # Check whether --enable-fraction or --disable-fraction was given.
2852 if test "${enable_fraction+set}" = set; then
2853 enableval
="$enable_fraction"
2855 if test "$enableval" = yes; then
2856 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2858 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2863 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2875 eval "$ac_cv_use_fraction"
2876 if test "$no_cache" != 1; then
2877 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2880 if test "$wxUSE_FRACTION" = yes; then
2881 echo "$ac_t""yes" 1>&6
2883 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2888 echo "configure:2889: checking "for --enable-dynlib"" >&5
2890 # Check whether --enable-dynlib or --disable-dynlib was given.
2891 if test "${enable_dynlib+set}" = set; then
2892 enableval
="$enable_dynlib"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2902 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2914 eval "$ac_cv_use_dynlib"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2926 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2927 echo "configure:2928: checking "for --enable-longlong"" >&5
2929 # Check whether --enable-longlong or --disable-longlong was given.
2930 if test "${enable_longlong+set}" = set; then
2931 enableval
="$enable_longlong"
2933 if test "$enableval" = yes; then
2934 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2936 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2941 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2953 eval "$ac_cv_use_longlong"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_LONGLONG" = yes; then
2959 echo "$ac_t""yes" 1>&6
2961 echo "$ac_t""no" 1>&6
2965 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
2966 echo "configure:2967: checking "for --enable-geometry"" >&5
2968 # Check whether --enable-geometry or --disable-geometry was given.
2969 if test "${enable_geometry+set}" = set; then
2970 enableval
="$enable_geometry"
2972 if test "$enableval" = yes; then
2973 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
2975 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
2980 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
2992 eval "$ac_cv_use_geometry"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_GEOMETRY" = yes; then
2998 echo "$ac_t""yes" 1>&6
3000 echo "$ac_t""no" 1>&6
3004 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3005 echo "configure:3006: checking "for --enable-log"" >&5
3007 # Check whether --enable-log or --disable-log was given.
3008 if test "${enable_log+set}" = set; then
3009 enableval
="$enable_log"
3011 if test "$enableval" = yes; then
3012 ac_cv_use_log
='wxUSE_LOG=yes'
3014 ac_cv_use_log
='wxUSE_LOG=no'
3019 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3031 eval "$ac_cv_use_log"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_LOG" = yes; then
3037 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3043 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3044 echo "configure:3045: checking "for --enable-streams"" >&5
3046 # Check whether --enable-streams or --disable-streams was given.
3047 if test "${enable_streams+set}" = set; then
3048 enableval
="$enable_streams"
3050 if test "$enableval" = yes; then
3051 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3053 ac_cv_use_streams
='wxUSE_STREAMS=no'
3058 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3070 eval "$ac_cv_use_streams"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_STREAMS" = yes; then
3076 echo "$ac_t""yes" 1>&6
3078 echo "$ac_t""no" 1>&6
3082 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3083 echo "configure:3084: checking "for --enable-file"" >&5
3085 # Check whether --enable-file or --disable-file was given.
3086 if test "${enable_file+set}" = set; then
3087 enableval
="$enable_file"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_file
='wxUSE_FILE=yes'
3092 ac_cv_use_file
='wxUSE_FILE=no'
3097 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3109 eval "$ac_cv_use_file"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_FILE" = yes; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3121 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3122 echo "configure:3123: checking "for --enable-textfile"" >&5
3124 # Check whether --enable-textfile or --disable-textfile was given.
3125 if test "${enable_textfile+set}" = set; then
3126 enableval
="$enable_textfile"
3128 if test "$enableval" = yes; then
3129 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3131 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3136 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3148 eval "$ac_cv_use_textfile"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_TEXTFILE" = yes; then
3154 echo "$ac_t""yes" 1>&6
3156 echo "$ac_t""no" 1>&6
3160 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3161 echo "configure:3162: checking "for --enable-unicode"" >&5
3163 # Check whether --enable-unicode or --disable-unicode was given.
3164 if test "${enable_unicode+set}" = set; then
3165 enableval
="$enable_unicode"
3167 if test "$enableval" = yes; then
3168 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3170 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3175 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3187 eval "$ac_cv_use_unicode"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_UNICODE" = yes; then
3193 echo "$ac_t""yes" 1>&6
3195 echo "$ac_t""no" 1>&6
3199 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3200 echo "configure:3201: checking "for --enable-wcsrtombs"" >&5
3202 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3203 if test "${enable_wcsrtombs+set}" = set; then
3204 enableval
="$enable_wcsrtombs"
3206 if test "$enableval" = yes; then
3207 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3209 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3214 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x
; then
3216 eval "DEFAULT_$LINE"
3221 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3226 eval "$ac_cv_use_wcsrtombs"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_WCSRTOMBS" = yes; then
3232 echo "$ac_t""yes" 1>&6
3234 echo "$ac_t""no" 1>&6
3238 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3239 echo "configure:3240: checking "for --enable-wxprintfv"" >&5
3241 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3242 if test "${enable_wxprintfv+set}" = set; then
3243 enableval
="$enable_wxprintfv"
3245 if test "$enableval" = yes; then
3246 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3248 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3253 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3265 eval "$ac_cv_use_wxprintfv"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3270 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3271 echo "$ac_t""yes" 1>&6
3273 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3278 echo "configure:3279: checking "for --enable-std_iostreams"" >&5
3280 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3281 if test "${enable_std_iostreams+set}" = set; then
3282 enableval
="$enable_std_iostreams"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3287 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3292 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x
; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3304 eval "$ac_cv_use_std_iostreams"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_STD_IOSTREAM" = yes; then
3310 echo "$ac_t""yes" 1>&6
3312 echo "$ac_t""no" 1>&6
3316 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3317 echo "configure:3318: checking "for --enable-filesystem"" >&5
3319 # Check whether --enable-filesystem or --disable-filesystem was given.
3320 if test "${enable_filesystem+set}" = set; then
3321 enableval
="$enable_filesystem"
3323 if test "$enableval" = yes; then
3324 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3326 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3331 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x
; then
3333 eval "DEFAULT_$LINE"
3338 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3343 eval "$ac_cv_use_filesystem"
3344 if test "$no_cache" != 1; then
3345 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3348 if test "$wxUSE_FILESYSTEM" = yes; then
3349 echo "$ac_t""yes" 1>&6
3351 echo "$ac_t""no" 1>&6
3355 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3356 echo "configure:3357: checking "for --enable-fs_inet"" >&5
3358 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3359 if test "${enable_fs_inet+set}" = set; then
3360 enableval
="$enable_fs_inet"
3362 if test "$enableval" = yes; then
3363 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3365 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3370 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3382 eval "$ac_cv_use_fs_inet"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_FS_INET" = yes; then
3388 echo "$ac_t""yes" 1>&6
3390 echo "$ac_t""no" 1>&6
3394 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3395 echo "configure:3396: checking "for --enable-fs_zip"" >&5
3397 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3398 if test "${enable_fs_zip+set}" = set; then
3399 enableval
="$enable_fs_zip"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3404 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3409 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3421 eval "$ac_cv_use_fs_zip"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_FS_ZIP" = yes; then
3427 echo "$ac_t""yes" 1>&6
3429 echo "$ac_t""no" 1>&6
3433 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3434 echo "configure:3435: checking "for --enable-zipstream"" >&5
3436 # Check whether --enable-zipstream or --disable-zipstream was given.
3437 if test "${enable_zipstream+set}" = set; then
3438 enableval
="$enable_zipstream"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3443 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3448 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3460 eval "$ac_cv_use_zipstream"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_ZIPSTREAM" = yes; then
3466 echo "$ac_t""yes" 1>&6
3468 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3474 echo "configure:3475: checking "for --enable-catch_segvs"" >&5
3476 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3477 if test "${enable_catch_segvs+set}" = set; then
3478 enableval
="$enable_catch_segvs"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3483 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3488 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3500 eval "$ac_cv_use_catch_segvs"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3506 echo "$ac_t""yes" 1>&6
3508 echo "$ac_t""no" 1>&6
3514 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3515 echo "configure:3516: checking "for --enable-threads"" >&5
3517 # Check whether --enable-threads or --disable-threads was given.
3518 if test "${enable_threads+set}" = set; then
3519 enableval
="$enable_threads"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_threads
='wxUSE_THREADS=yes'
3524 ac_cv_use_threads
='wxUSE_THREADS=no'
3529 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3541 eval "$ac_cv_use_threads"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_THREADS" = yes; then
3547 echo "$ac_t""yes" 1>&6
3549 echo "$ac_t""no" 1>&6
3553 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3554 echo "configure:3555: checking "for --enable-serial"" >&5
3556 # Check whether --enable-serial or --disable-serial was given.
3557 if test "${enable_serial+set}" = set; then
3558 enableval
="$enable_serial"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3563 ac_cv_use_serial
='wxUSE_SERIAL=no'
3568 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3580 eval "$ac_cv_use_serial"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_SERIAL" = yes; then
3586 echo "$ac_t""yes" 1>&6
3588 echo "$ac_t""no" 1>&6
3592 if test "$wxUSE_GUI" = "yes"; then
3596 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3597 echo "configure:3598: checking "for --enable-docview"" >&5
3599 # Check whether --enable-docview or --disable-docview was given.
3600 if test "${enable_docview+set}" = set; then
3601 enableval
="$enable_docview"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3606 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3611 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3623 eval "$ac_cv_use_docview"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3629 echo "$ac_t""yes" 1>&6
3631 echo "$ac_t""no" 1>&6
3635 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3636 echo "configure:3637: checking "for --enable-help"" >&5
3638 # Check whether --enable-help or --disable-help was given.
3639 if test "${enable_help+set}" = set; then
3640 enableval
="$enable_help"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_help
='wxUSE_HELP=yes'
3645 ac_cv_use_help
='wxUSE_HELP=no'
3650 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3662 eval "$ac_cv_use_help"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3667 if test "$wxUSE_HELP" = yes; then
3668 echo "$ac_t""yes" 1>&6
3670 echo "$ac_t""no" 1>&6
3674 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3675 echo "configure:3676: checking "for --enable-constraints"" >&5
3677 # Check whether --enable-constraints or --disable-constraints was given.
3678 if test "${enable_constraints+set}" = set; then
3679 enableval
="$enable_constraints"
3681 if test "$enableval" = yes; then
3682 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3684 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3689 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3690 if test "x$LINE" != x
; then
3691 eval "DEFAULT_$LINE"
3696 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3701 eval "$ac_cv_use_constraints"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_CONSTRAINTS" = yes; then
3707 echo "$ac_t""yes" 1>&6
3709 echo "$ac_t""no" 1>&6
3713 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3714 echo "configure:3715: checking "for --enable-printarch"" >&5
3716 # Check whether --enable-printarch or --disable-printarch was given.
3717 if test "${enable_printarch+set}" = set; then
3718 enableval
="$enable_printarch"
3720 if test "$enableval" = yes; then
3721 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3723 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3728 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x
; then
3730 eval "DEFAULT_$LINE"
3735 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3740 eval "$ac_cv_use_printarch"
3741 if test "$no_cache" != 1; then
3742 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3745 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3746 echo "$ac_t""yes" 1>&6
3748 echo "$ac_t""no" 1>&6
3752 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3753 echo "configure:3754: checking "for --enable-mdi"" >&5
3755 # Check whether --enable-mdi or --disable-mdi was given.
3756 if test "${enable_mdi+set}" = set; then
3757 enableval
="$enable_mdi"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3762 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3767 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3779 eval "$ac_cv_use_mdi"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3784 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3785 echo "$ac_t""yes" 1>&6
3787 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3793 echo "configure:3794: checking "for --enable-postscript"" >&5
3795 # Check whether --enable-postscript or --disable-postscript was given.
3796 if test "${enable_postscript+set}" = set; then
3797 enableval
="$enable_postscript"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3802 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3807 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3819 eval "$ac_cv_use_postscript"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_POSTSCRIPT" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3833 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3834 echo "configure:3835: checking "for --enable-prologio"" >&5
3836 # Check whether --enable-prologio or --disable-prologio was given.
3837 if test "${enable_prologio+set}" = set; then
3838 enableval
="$enable_prologio"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3843 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3848 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3860 eval "$ac_cv_use_prologio"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_PROLOGIO" = yes; then
3866 echo "$ac_t""yes" 1>&6
3868 echo "$ac_t""no" 1>&6
3872 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3873 echo "configure:3874: checking "for --enable-resources"" >&5
3875 # Check whether --enable-resources or --disable-resources was given.
3876 if test "${enable_resources+set}" = set; then
3877 enableval
="$enable_resources"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3882 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3887 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3899 eval "$ac_cv_use_resources"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3904 if test "$wxUSE_RESOURCES" = yes; then
3905 echo "$ac_t""yes" 1>&6
3907 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3913 echo "configure:3914: checking "for --enable-xresources"" >&5
3915 # Check whether --enable-xresources or --disable-xresources was given.
3916 if test "${enable_xresources+set}" = set; then
3917 enableval
="$enable_xresources"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3922 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3927 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3939 eval "$ac_cv_use_xresources"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_X_RESOURCES" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3953 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3954 echo "configure:3955: checking "for --enable-clipboard"" >&5
3956 # Check whether --enable-clipboard or --disable-clipboard was given.
3957 if test "${enable_clipboard+set}" = set; then
3958 enableval
="$enable_clipboard"
3960 if test "$enableval" = yes; then
3961 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3963 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3968 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3975 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3980 eval "$ac_cv_use_clipboard"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3985 if test "$wxUSE_CLIPBOARD" = yes; then
3986 echo "$ac_t""yes" 1>&6
3988 echo "$ac_t""no" 1>&6
3992 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3993 echo "configure:3994: checking "for --enable-dnd"" >&5
3995 # Check whether --enable-dnd or --disable-dnd was given.
3996 if test "${enable_dnd+set}" = set; then
3997 enableval
="$enable_dnd"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4002 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4007 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4019 eval "$ac_cv_use_dnd"
4020 if test "$no_cache" != 1; then
4021 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4024 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4025 echo "$ac_t""yes" 1>&6
4027 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4033 echo "configure:4034: checking "for --enable-wxtree"" >&5
4035 # Check whether --enable-wxtree or --disable-wxtree was given.
4036 if test "${enable_wxtree+set}" = set; then
4037 enableval
="$enable_wxtree"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4042 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4047 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4059 eval "$ac_cv_use_wxtree"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_WXTREE" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4073 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4074 echo "configure:4075: checking "for --enable-controls"" >&5
4076 # Check whether --enable-controls or --disable-controls was given.
4077 if test "${enable_controls+set}" = set; then
4078 enableval
="$enable_controls"
4080 if test "$enableval" = yes; then
4081 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4083 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4088 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x
; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4100 eval "$ac_cv_use_controls"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4105 if test "$wxUSE_CONTROLS" = yes; then
4106 echo "$ac_t""yes" 1>&6
4108 echo "$ac_t""no" 1>&6
4112 if test "$wxUSE_CONTROLS" = "yes"; then
4113 DEFAULT_wxUSE_ACCEL
=yes
4114 DEFAULT_wxUSE_CARET
=yes
4115 DEFAULT_wxUSE_COMBOBOX
=yes
4116 DEFAULT_wxUSE_BMPBUTTON
=yes
4117 DEFAULT_wxUSE_CHECKBOX
=yes
4118 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4119 DEFAULT_wxUSE_CHOICE
=yes
4120 DEFAULT_wxUSE_GAUGE
=yes
4121 DEFAULT_wxUSE_GRID
=yes
4122 DEFAULT_wxUSE_NEW_GRID
=yes
4123 DEFAULT_wxUSE_IMAGLIST
=yes
4124 DEFAULT_wxUSE_LISTBOX
=yes
4125 DEFAULT_wxUSE_LISTCTRL
=yes
4126 DEFAULT_wxUSE_NOTEBOOK
=yes
4127 DEFAULT_wxUSE_RADIOBOX
=yes
4128 DEFAULT_wxUSE_RADIOBTN
=yes
4129 DEFAULT_wxUSE_SASH
=yes
4130 DEFAULT_wxUSE_SCROLLBAR
=yes
4131 DEFAULT_wxUSE_SLIDER
=yes
4132 DEFAULT_wxUSE_SPINBTN
=yes
4133 DEFAULT_wxUSE_SPINCTRL
=yes
4134 DEFAULT_wxUSE_SPLITTER
=yes
4135 DEFAULT_wxUSE_STATBMP
=yes
4136 DEFAULT_wxUSE_STATBOX
=yes
4137 DEFAULT_wxUSE_STATLINE
=yes
4138 DEFAULT_wxUSE_STATUSBAR
=yes
4139 DEFAULT_wxUSE_TAB_DIALOG
=yes
4140 DEFAULT_wxUSE_TOOLBAR
=yes
4141 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4142 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4143 DEFAULT_wxUSE_TOOLTIPS
=yes
4144 DEFAULT_wxUSE_TREECTRL
=yes
4145 elif test "$wxUSE_CONTROLS" = "no"; then
4146 DEFAULT_wxUSE_ACCEL
=no
4147 DEFAULT_wxUSE_CARET
=no
4148 DEFAULT_wxUSE_COMBOBOX
=no
4149 DEFAULT_wxUSE_BMPBUTTON
=no
4150 DEFAULT_wxUSE_CHECKBOX
=no
4151 DEFAULT_wxUSE_CHECKLISTBOX
=no
4152 DEFAULT_wxUSE_CHOICE
=no
4153 DEFAULT_wxUSE_GAUGE
=no
4154 DEFAULT_wxUSE_GRID
=no
4155 DEFAULT_wxUSE_NEW_GRID
=no
4156 DEFAULT_wxUSE_IMAGLIST
=no
4157 DEFAULT_wxUSE_LISTBOX
=no
4158 DEFAULT_wxUSE_LISTCTRL
=no
4159 DEFAULT_wxUSE_NOTEBOOK
=no
4160 DEFAULT_wxUSE_RADIOBOX
=no
4161 DEFAULT_wxUSE_RADIOBTN
=no
4162 DEFAULT_wxUSE_SASH
=no
4163 DEFAULT_wxUSE_SCROLLBAR
=no
4164 DEFAULT_wxUSE_SLIDER
=no
4165 DEFAULT_wxUSE_SPINBTN
=no
4166 DEFAULT_wxUSE_SPINCTRL
=no
4167 DEFAULT_wxUSE_SPLITTER
=no
4168 DEFAULT_wxUSE_STATBMP
=no
4169 DEFAULT_wxUSE_STATBOX
=no
4170 DEFAULT_wxUSE_STATLINE
=no
4171 DEFAULT_wxUSE_STATUSBAR
=no
4172 DEFAULT_wxUSE_TAB_DIALOG
=no
4173 DEFAULT_wxUSE_TOOLBAR
=no
4174 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4175 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4176 DEFAULT_wxUSE_TOOLTIPS
=no
4177 DEFAULT_wxUSE_TREECTRL
=no
4181 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4182 echo "configure:4183: checking "for --enable-accel"" >&5
4184 # Check whether --enable-accel or --disable-accel was given.
4185 if test "${enable_accel+set}" = set; then
4186 enableval
="$enable_accel"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4191 ac_cv_use_accel
='wxUSE_ACCEL=no'
4196 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4208 eval "$ac_cv_use_accel"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_ACCEL" = yes; then
4214 echo "$ac_t""yes" 1>&6
4216 echo "$ac_t""no" 1>&6
4220 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4221 echo "configure:4222: checking "for --enable-caret"" >&5
4223 # Check whether --enable-caret or --disable-caret was given.
4224 if test "${enable_caret+set}" = set; then
4225 enableval
="$enable_caret"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_caret
='wxUSE_CARET=yes'
4230 ac_cv_use_caret
='wxUSE_CARET=no'
4235 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x
; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4247 eval "$ac_cv_use_caret"
4248 if test "$no_cache" != 1; then
4249 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4252 if test "$wxUSE_CARET" = yes; then
4253 echo "$ac_t""yes" 1>&6
4255 echo "$ac_t""no" 1>&6
4259 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4260 echo "configure:4261: checking "for --enable-bmpbutton"" >&5
4262 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4263 if test "${enable_bmpbutton+set}" = set; then
4264 enableval
="$enable_bmpbutton"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4269 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4274 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x
; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4286 eval "$ac_cv_use_bmpbutton"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_BMPBUTTON" = yes; then
4292 echo "$ac_t""yes" 1>&6
4294 echo "$ac_t""no" 1>&6
4298 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4299 echo "configure:4300: checking "for --enable-checkbox"" >&5
4301 # Check whether --enable-checkbox or --disable-checkbox was given.
4302 if test "${enable_checkbox+set}" = set; then
4303 enableval
="$enable_checkbox"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4308 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4313 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4325 eval "$ac_cv_use_checkbox"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_CHECKBOX" = yes; then
4331 echo "$ac_t""yes" 1>&6
4333 echo "$ac_t""no" 1>&6
4337 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4338 echo "configure:4339: checking "for --enable-checklst"" >&5
4340 # Check whether --enable-checklst or --disable-checklst was given.
4341 if test "${enable_checklst+set}" = set; then
4342 enableval
="$enable_checklst"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4347 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4352 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4364 eval "$ac_cv_use_checklst"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4369 if test "$wxUSE_CHECKLST" = yes; then
4370 echo "$ac_t""yes" 1>&6
4372 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4377 echo "configure:4378: checking "for --enable-choice"" >&5
4379 # Check whether --enable-choice or --disable-choice was given.
4380 if test "${enable_choice+set}" = set; then
4381 enableval
="$enable_choice"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4386 ac_cv_use_choice
='wxUSE_CHOICE=no'
4391 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4403 eval "$ac_cv_use_choice"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4408 if test "$wxUSE_CHOICE" = yes; then
4409 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4415 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4416 echo "configure:4417: checking "for --enable-combobox"" >&5
4418 # Check whether --enable-combobox or --disable-combobox was given.
4419 if test "${enable_combobox+set}" = set; then
4420 enableval
="$enable_combobox"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4425 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4430 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4442 eval "$ac_cv_use_combobox"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_COMBOBOX" = yes; then
4448 echo "$ac_t""yes" 1>&6
4450 echo "$ac_t""no" 1>&6
4454 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4455 echo "configure:4456: checking "for --enable-gauge"" >&5
4457 # Check whether --enable-gauge or --disable-gauge was given.
4458 if test "${enable_gauge+set}" = set; then
4459 enableval
="$enable_gauge"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4464 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4469 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4481 eval "$ac_cv_use_gauge"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_GAUGE" = yes; then
4487 echo "$ac_t""yes" 1>&6
4489 echo "$ac_t""no" 1>&6
4493 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4494 echo "configure:4495: checking "for --enable-grid"" >&5
4496 # Check whether --enable-grid or --disable-grid was given.
4497 if test "${enable_grid+set}" = set; then
4498 enableval
="$enable_grid"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_grid
='wxUSE_GRID=yes'
4503 ac_cv_use_grid
='wxUSE_GRID=no'
4508 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4520 eval "$ac_cv_use_grid"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_GRID" = yes; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4532 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4533 echo "configure:4534: checking "for --enable-newgrid"" >&5
4535 # Check whether --enable-newgrid or --disable-newgrid was given.
4536 if test "${enable_newgrid+set}" = set; then
4537 enableval
="$enable_newgrid"
4539 if test "$enableval" = yes; then
4540 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4542 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4547 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x
; then
4549 eval "DEFAULT_$LINE"
4554 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4559 eval "$ac_cv_use_newgrid"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_NEW_GRID" = yes; then
4565 echo "$ac_t""yes" 1>&6
4567 echo "$ac_t""no" 1>&6
4571 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4572 echo "configure:4573: checking "for --enable-imaglist"" >&5
4574 # Check whether --enable-imaglist or --disable-imaglist was given.
4575 if test "${enable_imaglist+set}" = set; then
4576 enableval
="$enable_imaglist"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4581 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4586 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4598 eval "$ac_cv_use_imaglist"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_IMAGLIST" = yes; then
4604 echo "$ac_t""yes" 1>&6
4606 echo "$ac_t""no" 1>&6
4610 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4611 echo "configure:4612: checking "for --enable-listbox"" >&5
4613 # Check whether --enable-listbox or --disable-listbox was given.
4614 if test "${enable_listbox+set}" = set; then
4615 enableval
="$enable_listbox"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4620 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4625 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4637 eval "$ac_cv_use_listbox"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_LISTBOX" = yes; then
4643 echo "$ac_t""yes" 1>&6
4645 echo "$ac_t""no" 1>&6
4649 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4650 echo "configure:4651: checking "for --enable-listctrl"" >&5
4652 # Check whether --enable-listctrl or --disable-listctrl was given.
4653 if test "${enable_listctrl+set}" = set; then
4654 enableval
="$enable_listctrl"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4659 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4664 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4676 eval "$ac_cv_use_listctrl"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_LISTCTRL" = yes; then
4682 echo "$ac_t""yes" 1>&6
4684 echo "$ac_t""no" 1>&6
4688 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4689 echo "configure:4690: checking "for --enable-notebook"" >&5
4691 # Check whether --enable-notebook or --disable-notebook was given.
4692 if test "${enable_notebook+set}" = set; then
4693 enableval
="$enable_notebook"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4698 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4703 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4715 eval "$ac_cv_use_notebook"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_NOTEBOOK" = yes; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4727 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4728 echo "configure:4729: checking "for --enable-radiobox"" >&5
4730 # Check whether --enable-radiobox or --disable-radiobox was given.
4731 if test "${enable_radiobox+set}" = set; then
4732 enableval
="$enable_radiobox"
4734 if test "$enableval" = yes; then
4735 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4737 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4742 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x
; then
4744 eval "DEFAULT_$LINE"
4749 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4754 eval "$ac_cv_use_radiobox"
4755 if test "$no_cache" != 1; then
4756 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4759 if test "$wxUSE_RADIOBOX" = yes; then
4760 echo "$ac_t""yes" 1>&6
4762 echo "$ac_t""no" 1>&6
4766 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4767 echo "configure:4768: checking "for --enable-radiobtn"" >&5
4769 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4770 if test "${enable_radiobtn+set}" = set; then
4771 enableval
="$enable_radiobtn"
4773 if test "$enableval" = yes; then
4774 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4776 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4781 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x
; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4793 eval "$ac_cv_use_radiobtn"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_RADIOBTN" = yes; then
4799 echo "$ac_t""yes" 1>&6
4801 echo "$ac_t""no" 1>&6
4805 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4806 echo "configure:4807: checking "for --enable-sash"" >&5
4808 # Check whether --enable-sash or --disable-sash was given.
4809 if test "${enable_sash+set}" = set; then
4810 enableval
="$enable_sash"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_sash
='wxUSE_SASH=yes'
4815 ac_cv_use_sash
='wxUSE_SASH=no'
4820 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4832 eval "$ac_cv_use_sash"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_SASH" = yes; then
4838 echo "$ac_t""yes" 1>&6
4840 echo "$ac_t""no" 1>&6
4844 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4845 echo "configure:4846: checking "for --enable-scrollbar"" >&5
4847 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4848 if test "${enable_scrollbar+set}" = set; then
4849 enableval
="$enable_scrollbar"
4851 if test "$enableval" = yes; then
4852 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4854 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4859 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x
; then
4861 eval "DEFAULT_$LINE"
4866 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4871 eval "$ac_cv_use_scrollbar"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_SCROLLBAR" = yes; then
4877 echo "$ac_t""yes" 1>&6
4879 echo "$ac_t""no" 1>&6
4883 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4884 echo "configure:4885: checking "for --enable-slider"" >&5
4886 # Check whether --enable-slider or --disable-slider was given.
4887 if test "${enable_slider+set}" = set; then
4888 enableval
="$enable_slider"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4893 ac_cv_use_slider
='wxUSE_SLIDER=no'
4898 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x
; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4910 eval "$ac_cv_use_slider"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_SLIDER" = yes; then
4916 echo "$ac_t""yes" 1>&6
4918 echo "$ac_t""no" 1>&6
4922 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4923 echo "configure:4924: checking "for --enable-spinbtn"" >&5
4925 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4926 if test "${enable_spinbtn+set}" = set; then
4927 enableval
="$enable_spinbtn"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4932 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4937 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4949 eval "$ac_cv_use_spinbtn"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_SPINBTN" = yes; then
4955 echo "$ac_t""yes" 1>&6
4957 echo "$ac_t""no" 1>&6
4961 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4962 echo "configure:4963: checking "for --enable-spinctrl"" >&5
4964 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4965 if test "${enable_spinctrl+set}" = set; then
4966 enableval
="$enable_spinctrl"
4968 if test "$enableval" = yes; then
4969 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4971 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4976 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4977 if test "x$LINE" != x
; then
4978 eval "DEFAULT_$LINE"
4983 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4988 eval "$ac_cv_use_spinctrl"
4989 if test "$no_cache" != 1; then
4990 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4993 if test "$wxUSE_SPINCTRL" = yes; then
4994 echo "$ac_t""yes" 1>&6
4996 echo "$ac_t""no" 1>&6
5000 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5001 echo "configure:5002: checking "for --enable-splitter"" >&5
5003 # Check whether --enable-splitter or --disable-splitter was given.
5004 if test "${enable_splitter+set}" = set; then
5005 enableval
="$enable_splitter"
5007 if test "$enableval" = yes; then
5008 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5010 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5015 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x
; then
5017 eval "DEFAULT_$LINE"
5022 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5027 eval "$ac_cv_use_splitter"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5032 if test "$wxUSE_SPLITTER" = yes; then
5033 echo "$ac_t""yes" 1>&6
5035 echo "$ac_t""no" 1>&6
5039 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5040 echo "configure:5041: checking "for --enable-statbmp"" >&5
5042 # Check whether --enable-statbmp or --disable-statbmp was given.
5043 if test "${enable_statbmp+set}" = set; then
5044 enableval
="$enable_statbmp"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5049 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5054 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x
; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5066 eval "$ac_cv_use_statbmp"
5067 if test "$no_cache" != 1; then
5068 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5071 if test "$wxUSE_STATBMP" = yes; then
5072 echo "$ac_t""yes" 1>&6
5074 echo "$ac_t""no" 1>&6
5078 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5079 echo "configure:5080: checking "for --enable-statbox"" >&5
5081 # Check whether --enable-statbox or --disable-statbox was given.
5082 if test "${enable_statbox+set}" = set; then
5083 enableval
="$enable_statbox"
5085 if test "$enableval" = yes; then
5086 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5088 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5093 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x
; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5105 eval "$ac_cv_use_statbox"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_STATBOX" = yes; then
5111 echo "$ac_t""yes" 1>&6
5113 echo "$ac_t""no" 1>&6
5117 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5118 echo "configure:5119: checking "for --enable-statline"" >&5
5120 # Check whether --enable-statline or --disable-statline was given.
5121 if test "${enable_statline+set}" = set; then
5122 enableval
="$enable_statline"
5124 if test "$enableval" = yes; then
5125 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5127 ac_cv_use_statline
='wxUSE_STATLINE=no'
5132 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5133 if test "x$LINE" != x
; then
5134 eval "DEFAULT_$LINE"
5139 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5144 eval "$ac_cv_use_statline"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_STATLINE" = yes; then
5150 echo "$ac_t""yes" 1>&6
5152 echo "$ac_t""no" 1>&6
5156 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5157 echo "configure:5158: checking "for --enable-statusbar"" >&5
5159 # Check whether --enable-statusbar or --disable-statusbar was given.
5160 if test "${enable_statusbar+set}" = set; then
5161 enableval
="$enable_statusbar"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5166 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5171 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5183 eval "$ac_cv_use_statusbar"
5184 if test "$no_cache" != 1; then
5185 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5188 if test "$wxUSE_STATUSBAR" = yes; then
5189 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5195 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5196 echo "configure:5197: checking "for --enable-tabdialog"" >&5
5198 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5199 if test "${enable_tabdialog+set}" = set; then
5200 enableval
="$enable_tabdialog"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5205 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5210 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x
; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5222 eval "$ac_cv_use_tabdialog"
5223 if test "$no_cache" != 1; then
5224 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5227 if test "$wxUSE_TABDIALOG" = yes; then
5228 echo "$ac_t""yes" 1>&6
5230 echo "$ac_t""no" 1>&6
5234 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5235 echo "configure:5236: checking "for --enable-toolbar"" >&5
5237 # Check whether --enable-toolbar or --disable-toolbar was given.
5238 if test "${enable_toolbar+set}" = set; then
5239 enableval
="$enable_toolbar"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5244 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5249 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5261 eval "$ac_cv_use_toolbar"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_TOOLBAR" = yes; then
5267 echo "$ac_t""yes" 1>&6
5269 echo "$ac_t""no" 1>&6
5273 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5274 echo "configure:5275: checking "for --enable-tbarnative"" >&5
5276 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5277 if test "${enable_tbarnative+set}" = set; then
5278 enableval
="$enable_tbarnative"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5283 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5288 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x
; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5300 eval "$ac_cv_use_tbarnative"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5305 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5306 echo "$ac_t""yes" 1>&6
5308 echo "$ac_t""no" 1>&6
5312 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5313 echo "configure:5314: checking "for --enable-tbarsmpl"" >&5
5315 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5316 if test "${enable_tbarsmpl+set}" = set; then
5317 enableval
="$enable_tbarsmpl"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5322 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5327 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5339 eval "$ac_cv_use_tbarsmpl"
5340 if test "$no_cache" != 1; then
5341 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5344 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5345 echo "$ac_t""yes" 1>&6
5347 echo "$ac_t""no" 1>&6
5351 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5352 echo "configure:5353: checking "for --enable-treectrl"" >&5
5354 # Check whether --enable-treectrl or --disable-treectrl was given.
5355 if test "${enable_treectrl+set}" = set; then
5356 enableval
="$enable_treectrl"
5358 if test "$enableval" = yes; then
5359 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5361 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5366 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x
; then
5368 eval "DEFAULT_$LINE"
5373 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5378 eval "$ac_cv_use_treectrl"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_TREECTRL" = yes; then
5384 echo "$ac_t""yes" 1>&6
5386 echo "$ac_t""no" 1>&6
5392 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5393 echo "configure:5394: checking "for --enable-commondlg"" >&5
5395 # Check whether --enable-commondlg or --disable-commondlg was given.
5396 if test "${enable_commondlg+set}" = set; then
5397 enableval
="$enable_commondlg"
5399 if test "$enableval" = yes; then
5400 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5402 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5407 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x
; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5419 eval "$ac_cv_use_commondlg"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_COMMONDLGS" = yes; then
5425 echo "$ac_t""yes" 1>&6
5427 echo "$ac_t""no" 1>&6
5431 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5432 echo "configure:5433: checking "for --enable-dirdlg"" >&5
5434 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5435 if test "${enable_dirdlg+set}" = set; then
5436 enableval
="$enable_dirdlg"
5438 if test "$enableval" = yes; then
5439 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5441 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5446 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x
; then
5448 eval "DEFAULT_$LINE"
5453 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5458 eval "$ac_cv_use_dirdlg"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_DIRDLG" = yes; then
5464 echo "$ac_t""yes" 1>&6
5466 echo "$ac_t""no" 1>&6
5470 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5471 echo "configure:5472: checking "for --enable-textdlg"" >&5
5473 # Check whether --enable-textdlg or --disable-textdlg was given.
5474 if test "${enable_textdlg+set}" = set; then
5475 enableval
="$enable_textdlg"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5480 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5485 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5497 eval "$ac_cv_use_textdlg"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_TEXTDLG" = yes; then
5503 echo "$ac_t""yes" 1>&6
5505 echo "$ac_t""no" 1>&6
5509 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5510 echo "configure:5511: checking "for --enable-tipdlg"" >&5
5512 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5513 if test "${enable_tipdlg+set}" = set; then
5514 enableval
="$enable_tipdlg"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5519 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5524 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5536 eval "$ac_cv_use_tipdlg"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_STARTUP_TIPS" = yes; then
5542 echo "$ac_t""yes" 1>&6
5544 echo "$ac_t""no" 1>&6
5548 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5549 echo "configure:5550: checking "for --enable-progressdlg"" >&5
5551 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5552 if test "${enable_progressdlg+set}" = set; then
5553 enableval
="$enable_progressdlg"
5555 if test "$enableval" = yes; then
5556 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5558 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5563 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5564 if test "x$LINE" != x
; then
5565 eval "DEFAULT_$LINE"
5570 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5575 eval "$ac_cv_use_progressdlg"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5580 if test "$wxUSE_PROGRESSDLG" = yes; then
5581 echo "$ac_t""yes" 1>&6
5583 echo "$ac_t""no" 1>&6
5587 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5588 echo "configure:5589: checking "for --enable-miniframe"" >&5
5590 # Check whether --enable-miniframe or --disable-miniframe was given.
5591 if test "${enable_miniframe+set}" = set; then
5592 enableval
="$enable_miniframe"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5597 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5602 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5614 eval "$ac_cv_use_miniframe"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_MINIFRAME" = yes; then
5620 echo "$ac_t""yes" 1>&6
5622 echo "$ac_t""no" 1>&6
5626 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5627 echo "configure:5628: checking "for --enable-html"" >&5
5629 # Check whether --enable-html or --disable-html was given.
5630 if test "${enable_html+set}" = set; then
5631 enableval
="$enable_html"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_html
='wxUSE_HTML=yes'
5636 ac_cv_use_html
='wxUSE_HTML=no'
5641 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5653 eval "$ac_cv_use_html"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5658 if test "$wxUSE_HTML" = yes; then
5659 echo "$ac_t""yes" 1>&6
5661 echo "$ac_t""no" 1>&6
5665 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5666 echo "configure:5667: checking "for --enable-tooltips"" >&5
5668 # Check whether --enable-tooltips or --disable-tooltips was given.
5669 if test "${enable_tooltips+set}" = set; then
5670 enableval
="$enable_tooltips"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5675 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5680 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5692 eval "$ac_cv_use_tooltips"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_TOOLTIPS" = yes; then
5698 echo "$ac_t""yes" 1>&6
5700 echo "$ac_t""no" 1>&6
5704 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5705 echo "configure:5706: checking "for --enable-splines"" >&5
5707 # Check whether --enable-splines or --disable-splines was given.
5708 if test "${enable_splines+set}" = set; then
5709 enableval
="$enable_splines"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5714 ac_cv_use_splines
='wxUSE_SPLINES=no'
5719 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5731 eval "$ac_cv_use_splines"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_SPLINES" = yes; then
5737 echo "$ac_t""yes" 1>&6
5739 echo "$ac_t""no" 1>&6
5743 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5744 echo "configure:5745: checking "for --enable-validators"" >&5
5746 # Check whether --enable-validators or --disable-validators was given.
5747 if test "${enable_validators+set}" = set; then
5748 enableval
="$enable_validators"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5753 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5758 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x
; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5770 eval "$ac_cv_use_validators"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_VALIDATORS" = yes; then
5776 echo "$ac_t""yes" 1>&6
5778 echo "$ac_t""no" 1>&6
5782 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5783 echo "configure:5784: checking "for --enable-busyinfo"" >&5
5785 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5786 if test "${enable_busyinfo+set}" = set; then
5787 enableval
="$enable_busyinfo"
5789 if test "$enableval" = yes; then
5790 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5792 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5797 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5804 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5809 eval "$ac_cv_use_busyinfo"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_BUSYINFO" = yes; then
5815 echo "$ac_t""yes" 1>&6
5817 echo "$ac_t""no" 1>&6
5821 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5822 echo "configure:5823: checking "for --enable-joystick"" >&5
5824 # Check whether --enable-joystick or --disable-joystick was given.
5825 if test "${enable_joystick+set}" = set; then
5826 enableval
="$enable_joystick"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5831 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5836 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5848 eval "$ac_cv_use_joystick"
5849 if test "$no_cache" != 1; then
5850 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5853 if test "$wxUSE_JOYSTICK" = yes; then
5854 echo "$ac_t""yes" 1>&6
5856 echo "$ac_t""no" 1>&6
5862 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5863 echo "configure:5864: checking "for --enable-gif"" >&5
5865 # Check whether --enable-gif or --disable-gif was given.
5866 if test "${enable_gif+set}" = set; then
5867 enableval
="$enable_gif"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_gif
='wxUSE_GIF=yes'
5872 ac_cv_use_gif
='wxUSE_GIF=no'
5877 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x
; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5889 eval "$ac_cv_use_gif"
5890 if test "$no_cache" != 1; then
5891 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5894 if test "$wxUSE_GIF" = yes; then
5895 echo "$ac_t""yes" 1>&6
5897 echo "$ac_t""no" 1>&6
5901 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5902 echo "configure:5903: checking "for --enable-pcx"" >&5
5904 # Check whether --enable-pcx or --disable-pcx was given.
5905 if test "${enable_pcx+set}" = set; then
5906 enableval
="$enable_pcx"
5908 if test "$enableval" = yes; then
5909 ac_cv_use_pcx
='wxUSE_PCX=yes'
5911 ac_cv_use_pcx
='wxUSE_PCX=no'
5916 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x
; then
5918 eval "DEFAULT_$LINE"
5923 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5928 eval "$ac_cv_use_pcx"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5933 if test "$wxUSE_PCX" = yes; then
5934 echo "$ac_t""yes" 1>&6
5936 echo "$ac_t""no" 1>&6
5940 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5941 echo "configure:5942: checking "for --enable-pnm"" >&5
5943 # Check whether --enable-pnm or --disable-pnm was given.
5944 if test "${enable_pnm+set}" = set; then
5945 enableval
="$enable_pnm"
5947 if test "$enableval" = yes; then
5948 ac_cv_use_pnm
='wxUSE_PNM=yes'
5950 ac_cv_use_pnm
='wxUSE_PNM=no'
5955 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x
; then
5957 eval "DEFAULT_$LINE"
5962 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5967 eval "$ac_cv_use_pnm"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_PNM" = yes; then
5973 echo "$ac_t""yes" 1>&6
5975 echo "$ac_t""no" 1>&6
5982 echo "saving argument cache $wx_arg_cache_file"
5983 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5987 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5988 echo "configure:5989: checking for toolkit" >&5
5990 if test "$wxUSE_GUI" = "yes"; then
5992 if test "$USE_BEOS" = 1; then
5993 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5996 if test "$TOOLKIT_GIVEN" = 1; then
5997 for toolkit
in `echo $ALL_TOOLKITS`; do
5999 eval "value=\$${var}"
6000 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6003 for toolkit
in `echo $ALL_TOOLKITS`; do
6004 if test "$has_toolkit_in_cache" != 1; then
6005 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6007 var
=DEFAULT_wxUSE_
$toolkit
6009 eval "wxUSE_$toolkit=\$${var}"
6013 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6017 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6018 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6027 case "$NUM_TOOLKITS" in
6031 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6034 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6037 for toolkit
in `echo $ALL_TOOLKITS`; do
6039 eval "value=\$${var}"
6040 if test "x$value" != x
; then
6041 cache_var
=CACHE_
$toolkit
6042 eval "cache=\$${cache_var}"
6043 if test "$cache" = 1; then
6044 echo "$var=$value" >> ${wx_arg_cache_file}
6046 if test "$value" = 1; then
6047 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6054 echo "$ac_t""base only" 1>&6
6058 cat > confcache
<<\EOF
6059 # This file is a shell script that caches the results of configure
6060 # tests run on this system so they can be shared between configure
6061 # scripts and configure runs. It is not useful on other systems.
6062 # If it contains results you don't want to keep, you may remove or edit it.
6064 # By default, configure uses ./config.cache as the cache file,
6065 # creating it if it does not exist already. You can give configure
6066 # the --cache-file=FILE option to use a different cache file; that is
6067 # what configure does when it calls configure scripts in
6068 # subdirectories, so they share the cache.
6069 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6070 # config.status only pays attention to the cache file if you give it the
6071 # --recheck option to rerun configure.
6074 # The following way of writing the cache mishandles newlines in values,
6075 # but we know of no workaround that is simple, portable, and efficient.
6076 # So, don't put newlines in cache variables' values.
6077 # Ultrix sh set writes to stderr and can't be redirected directly,
6078 # and sets the high bit in the cache file unless we assign to the vars.
6080 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6082 # `set' does not quote correctly, so add quotes (double-quote substitution
6083 # turns \\\\ into \\, and sed turns \\ into \).
6085 -e "s/'/'\\\\''/g" \
6086 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6089 # `set' quotes correctly as required by POSIX, so do not add quotes.
6090 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6093 if cmp -s $cache_file confcache
; then
6096 if test -w $cache_file; then
6097 echo "updating cache $cache_file"
6098 cat confcache
> $cache_file
6100 echo "not updating unwritable cache $cache_file"
6106 if test "$build" != "$host" ; then
6110 RANLIB
=$host_alias-ranlib
6111 DLLTOOL
=$host_alias-dlltool
6112 RESCOMP
=$host_alias-windres
6115 STRIP
=$host_alias-strip
6118 # Extract the first word of "gcc", so it can be a program name with args.
6119 set dummy gcc
; ac_word
=$2
6120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6121 echo "configure:6122: checking for $ac_word" >&5
6122 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6123 echo $ac_n "(cached) $ac_c" 1>&6
6125 if test -n "$CC"; then
6126 ac_cv_prog_CC
="$CC" # Let the user override the test.
6128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6130 for ac_dir
in $ac_dummy; do
6131 test -z "$ac_dir" && ac_dir
=.
6132 if test -f $ac_dir/$ac_word; then
6141 if test -n "$CC"; then
6142 echo "$ac_t""$CC" 1>&6
6144 echo "$ac_t""no" 1>&6
6147 if test -z "$CC"; then
6148 # Extract the first word of "cc", so it can be a program name with args.
6149 set dummy cc
; ac_word
=$2
6150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6151 echo "configure:6152: checking for $ac_word" >&5
6152 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6153 echo $ac_n "(cached) $ac_c" 1>&6
6155 if test -n "$CC"; then
6156 ac_cv_prog_CC
="$CC" # Let the user override the test.
6158 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6161 for ac_dir
in $ac_dummy; do
6162 test -z "$ac_dir" && ac_dir
=.
6163 if test -f $ac_dir/$ac_word; then
6164 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6165 ac_prog_rejected
=yes
6173 if test $ac_prog_rejected = yes; then
6174 # We found a bogon in the path, so make sure we never use it.
6175 set dummy
$ac_cv_prog_CC
6177 if test $# -gt 0; then
6178 # We chose a different compiler from the bogus one.
6179 # However, it has the same basename, so the bogon will be chosen
6180 # first if we set CC to just the basename; use the full file name.
6182 set dummy
"$ac_dir/$ac_word" "$@"
6190 if test -n "$CC"; then
6191 echo "$ac_t""$CC" 1>&6
6193 echo "$ac_t""no" 1>&6
6196 if test -z "$CC"; then
6197 case "`uname -s`" in
6199 # Extract the first word of "cl", so it can be a program name with args.
6200 set dummy cl
; ac_word
=$2
6201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6202 echo "configure:6203: checking for $ac_word" >&5
6203 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 if test -n "$CC"; then
6207 ac_cv_prog_CC
="$CC" # Let the user override the test.
6209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6211 for ac_dir
in $ac_dummy; do
6212 test -z "$ac_dir" && ac_dir
=.
6213 if test -f $ac_dir/$ac_word; then
6222 if test -n "$CC"; then
6223 echo "$ac_t""$CC" 1>&6
6225 echo "$ac_t""no" 1>&6
6230 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6233 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6234 echo "configure:6235: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6238 ac_cpp
='$CPP $CPPFLAGS'
6239 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6240 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6241 cross_compiling
=$ac_cv_prog_cc_cross
6243 cat > conftest.
$ac_ext << EOF
6245 #line 6246 "configure"
6246 #include "confdefs.h"
6250 if { (eval echo configure
:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6251 ac_cv_prog_cc_works
=yes
6252 # If we can't run a trivial program, we are probably using a cross compiler.
6253 if (.
/conftest
; exit) 2>/dev
/null
; then
6254 ac_cv_prog_cc_cross
=no
6256 ac_cv_prog_cc_cross
=yes
6259 echo "configure: failed program was:" >&5
6260 cat conftest.
$ac_ext >&5
6261 ac_cv_prog_cc_works
=no
6265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6266 ac_cpp
='$CPP $CPPFLAGS'
6267 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6268 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6269 cross_compiling
=$ac_cv_prog_cc_cross
6271 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6272 if test $ac_cv_prog_cc_works = no
; then
6273 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6275 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6276 echo "configure:6277: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6277 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6278 cross_compiling
=$ac_cv_prog_cc_cross
6280 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6281 echo "configure:6282: checking whether we are using GNU C" >&5
6282 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6283 echo $ac_n "(cached) $ac_c" 1>&6
6285 cat > conftest.c
<<EOF
6290 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6297 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6299 if test $ac_cv_prog_gcc = yes; then
6305 ac_test_CFLAGS
="${CFLAGS+set}"
6306 ac_save_CFLAGS
="$CFLAGS"
6308 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6309 echo "configure:6310: checking whether ${CC-cc} accepts -g" >&5
6310 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6311 echo $ac_n "(cached) $ac_c" 1>&6
6313 echo 'void f(){}' > conftest.c
6314 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6323 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6324 if test "$ac_test_CFLAGS" = set; then
6325 CFLAGS
="$ac_save_CFLAGS"
6326 elif test $ac_cv_prog_cc_g = yes; then
6327 if test "$GCC" = yes; then
6333 if test "$GCC" = yes; then
6341 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6343 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6344 echo "configure:6345: checking how to run the C preprocessor" >&5
6345 # On Suns, sometimes $CPP names a directory.
6346 if test -n "$CPP" && test -d "$CPP"; then
6349 if test -z "$CPP"; then
6350 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6351 echo $ac_n "(cached) $ac_c" 1>&6
6353 # This must be in double quotes, not single quotes, because CPP may get
6354 # substituted into the Makefile and "${CC-cc}" will confuse make.
6356 # On the NeXT, cc -E runs the code through the compiler's parser,
6357 # not just through cpp.
6358 cat > conftest.
$ac_ext <<EOF
6359 #line 6360 "configure"
6360 #include "confdefs.h"
6364 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6365 { (eval echo configure
:6366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6366 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6367 if test -z "$ac_err"; then
6371 echo "configure: failed program was:" >&5
6372 cat conftest.
$ac_ext >&5
6374 CPP
="${CC-cc} -E -traditional-cpp"
6375 cat > conftest.
$ac_ext <<EOF
6376 #line 6377 "configure"
6377 #include "confdefs.h"
6381 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6382 { (eval echo configure
:6383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6383 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6384 if test -z "$ac_err"; then
6388 echo "configure: failed program was:" >&5
6389 cat conftest.
$ac_ext >&5
6391 CPP
="${CC-cc} -nologo -E"
6392 cat > conftest.
$ac_ext <<EOF
6393 #line 6394 "configure"
6394 #include "confdefs.h"
6398 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6399 { (eval echo configure
:6400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6400 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6401 if test -z "$ac_err"; then
6405 echo "configure: failed program was:" >&5
6406 cat conftest.
$ac_ext >&5
6415 ac_cv_prog_CPP
="$CPP"
6417 CPP
="$ac_cv_prog_CPP"
6419 ac_cv_prog_CPP
="$CPP"
6421 echo "$ac_t""$CPP" 1>&6
6424 if test $ac_cv_prog_gcc = yes; then
6425 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6426 echo "configure:6427: checking whether ${CC-cc} needs -traditional" >&5
6427 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6428 echo $ac_n "(cached) $ac_c" 1>&6
6430 ac_pattern
="Autoconf.*'x'"
6431 cat > conftest.
$ac_ext <<EOF
6432 #line 6433 "configure"
6433 #include "confdefs.h"
6437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6438 egrep "$ac_pattern" >/dev
/null
2>&1; then
6440 ac_cv_prog_gcc_traditional
=yes
6443 ac_cv_prog_gcc_traditional
=no
6448 if test $ac_cv_prog_gcc_traditional = no
; then
6449 cat > conftest.
$ac_ext <<EOF
6450 #line 6451 "configure"
6451 #include "confdefs.h"
6455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6456 egrep "$ac_pattern" >/dev
/null
2>&1; then
6458 ac_cv_prog_gcc_traditional
=yes
6465 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6466 if test $ac_cv_prog_gcc_traditional = yes; then
6467 CC
="$CC -traditional"
6474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6475 ac_cpp
='$CXXCPP $CPPFLAGS'
6476 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6477 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6478 cross_compiling
=$ac_cv_prog_cxx_cross
6481 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6483 # Extract the first word of "$ac_prog", so it can be a program name with args.
6484 set dummy
$ac_prog; ac_word
=$2
6485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6486 echo "configure:6487: checking for $ac_word" >&5
6487 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6488 echo $ac_n "(cached) $ac_c" 1>&6
6490 if test -n "$CXX"; then
6491 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6493 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6495 for ac_dir
in $ac_dummy; do
6496 test -z "$ac_dir" && ac_dir
=.
6497 if test -f $ac_dir/$ac_word; then
6498 ac_cv_prog_CXX
="$ac_prog"
6505 CXX
="$ac_cv_prog_CXX"
6506 if test -n "$CXX"; then
6507 echo "$ac_t""$CXX" 1>&6
6509 echo "$ac_t""no" 1>&6
6512 test -n "$CXX" && break
6514 test -n "$CXX" || CXX
="gcc"
6517 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6518 echo "configure:6519: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6522 ac_cpp
='$CXXCPP $CPPFLAGS'
6523 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6524 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6525 cross_compiling
=$ac_cv_prog_cxx_cross
6527 cat > conftest.
$ac_ext << EOF
6529 #line 6530 "configure"
6530 #include "confdefs.h"
6532 int main(){return(0);}
6534 if { (eval echo configure
:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6535 ac_cv_prog_cxx_works
=yes
6536 # If we can't run a trivial program, we are probably using a cross compiler.
6537 if (.
/conftest
; exit) 2>/dev
/null
; then
6538 ac_cv_prog_cxx_cross
=no
6540 ac_cv_prog_cxx_cross
=yes
6543 echo "configure: failed program was:" >&5
6544 cat conftest.
$ac_ext >&5
6545 ac_cv_prog_cxx_works
=no
6549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6550 ac_cpp
='$CXXCPP $CPPFLAGS'
6551 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6552 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6553 cross_compiling
=$ac_cv_prog_cxx_cross
6555 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6556 if test $ac_cv_prog_cxx_works = no
; then
6557 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6559 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6560 echo "configure:6561: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6561 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6562 cross_compiling
=$ac_cv_prog_cxx_cross
6564 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6565 echo "configure:6566: checking whether we are using GNU C++" >&5
6566 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6567 echo $ac_n "(cached) $ac_c" 1>&6
6569 cat > conftest.C
<<EOF
6574 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6581 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6583 if test $ac_cv_prog_gxx = yes; then
6589 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6590 ac_save_CXXFLAGS
="$CXXFLAGS"
6592 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6593 echo "configure:6594: checking whether ${CXX-g++} accepts -g" >&5
6594 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6595 echo $ac_n "(cached) $ac_c" 1>&6
6597 echo 'void f(){}' > conftest.cc
6598 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6599 ac_cv_prog_cxx_g
=yes
6607 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6608 if test "$ac_test_CXXFLAGS" = set; then
6609 CXXFLAGS
="$ac_save_CXXFLAGS"
6610 elif test $ac_cv_prog_cxx_g = yes; then
6611 if test "$GXX" = yes; then
6617 if test "$GXX" = yes; then
6625 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6626 echo "configure:6627: checking how to run the C++ preprocessor" >&5
6627 if test -z "$CXXCPP"; then
6628 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6629 echo $ac_n "(cached) $ac_c" 1>&6
6632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6633 ac_cpp
='$CXXCPP $CPPFLAGS'
6634 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6635 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6636 cross_compiling
=$ac_cv_prog_cxx_cross
6637 CXXCPP
="${CXX-g++} -E"
6638 cat > conftest.
$ac_ext <<EOF
6639 #line 6640 "configure"
6640 #include "confdefs.h"
6643 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6644 { (eval echo configure
:6645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6645 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6646 if test -z "$ac_err"; then
6650 echo "configure: failed program was:" >&5
6651 cat conftest.
$ac_ext >&5
6656 ac_cv_prog_CXXCPP
="$CXXCPP"
6658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6659 ac_cpp
='$CXXCPP $CPPFLAGS'
6660 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6661 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6662 cross_compiling
=$ac_cv_prog_cxx_cross
6665 CXXCPP
="$ac_cv_prog_CXXCPP"
6666 echo "$ac_t""$CXXCPP" 1>&6
6669 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6673 ac_cpp
='$CPP $CPPFLAGS'
6674 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6675 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6676 cross_compiling
=$ac_cv_prog_cc_cross
6679 # Extract the first word of "ranlib", so it can be a program name with args.
6680 set dummy ranlib
; ac_word
=$2
6681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6682 echo "configure:6683: checking for $ac_word" >&5
6683 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6684 echo $ac_n "(cached) $ac_c" 1>&6
6686 if test -n "$RANLIB"; then
6687 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6689 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6691 for ac_dir
in $ac_dummy; do
6692 test -z "$ac_dir" && ac_dir
=.
6693 if test -f $ac_dir/$ac_word; then
6694 ac_cv_prog_RANLIB
="ranlib"
6699 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6702 RANLIB
="$ac_cv_prog_RANLIB"
6703 if test -n "$RANLIB"; then
6704 echo "$ac_t""$RANLIB" 1>&6
6706 echo "$ac_t""no" 1>&6
6710 # Extract the first word of "ar", so it can be a program name with args.
6711 set dummy
ar; ac_word
=$2
6712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6713 echo "configure:6714: checking for $ac_word" >&5
6714 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6715 echo $ac_n "(cached) $ac_c" 1>&6
6717 if test -n "$AR"; then
6718 ac_cv_prog_AR
="$AR" # Let the user override the test.
6720 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6722 for ac_dir
in $ac_dummy; do
6723 test -z "$ac_dir" && ac_dir
=.
6724 if test -f $ac_dir/$ac_word; then
6730 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6734 if test -n "$AR"; then
6735 echo "$ac_t""$AR" 1>&6
6737 echo "$ac_t""no" 1>&6
6741 # Find a good install program. We prefer a C program (faster),
6742 # so one script is as good as another. But avoid the broken or
6743 # incompatible versions:
6744 # SysV /etc/install, /usr/sbin/install
6745 # SunOS /usr/etc/install
6746 # IRIX /sbin/install
6748 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6749 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6750 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6751 # ./install, which can be erroneously created by make from ./install.sh.
6752 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6753 echo "configure:6754: checking for a BSD compatible install" >&5
6754 if test -z "$INSTALL"; then
6755 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6756 echo $ac_n "(cached) $ac_c" 1>&6
6758 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6759 for ac_dir
in $PATH; do
6760 # Account for people who put trailing slashes in PATH elements.
6762 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6764 # OSF1 and SCO ODT 3.0 have their own names for install.
6765 # Don't use installbsd from OSF since it installs stuff as root
6767 for ac_prog
in ginstall scoinst
install; do
6768 if test -f $ac_dir/$ac_prog; then
6769 if test $ac_prog = install &&
6770 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6771 # AIX install. It has an incompatible calling convention.
6774 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6785 if test "${ac_cv_path_install+set}" = set; then
6786 INSTALL
="$ac_cv_path_install"
6788 # As a last resort, use the slow shell script. We don't cache a
6789 # path for INSTALL within a source directory, because that will
6790 # break other packages using the cache if that directory is
6791 # removed, or if the path is relative.
6792 INSTALL
="$ac_install_sh"
6795 echo "$ac_t""$INSTALL" 1>&6
6797 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6798 # It thinks the first close brace ends the variable substitution.
6799 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6801 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6803 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6806 # Extract the first word of "strip", so it can be a program name with args.
6807 set dummy strip
; ac_word
=$2
6808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6809 echo "configure:6810: checking for $ac_word" >&5
6810 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6811 echo $ac_n "(cached) $ac_c" 1>&6
6813 if test -n "$STRIP"; then
6814 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6816 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6818 for ac_dir
in $ac_dummy; do
6819 test -z "$ac_dir" && ac_dir
=.
6820 if test -f $ac_dir/$ac_word; then
6821 ac_cv_prog_STRIP
="strip"
6826 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6829 STRIP
="$ac_cv_prog_STRIP"
6830 if test -n "$STRIP"; then
6831 echo "$ac_t""$STRIP" 1>&6
6833 echo "$ac_t""no" 1>&6
6837 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6838 echo "configure:6839: checking "make for VPATH support
"" >&5
6839 cat - << EOF > confMake
6845 if test ! -d sub
; then
6848 echo dummy
> sub
/file
6849 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6851 rm -f sub
/file check final_file confMake
6853 if test "$RESULT" = 0; then
6854 echo "$ac_t""yes" 1>&6
6856 echo "$ac_t""no" 1>&6
6857 { echo "configure: error: You need a make-utility that is able to use the variable
6859 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6862 for ac_prog
in 'bison -y' byacc
6864 # Extract the first word of "$ac_prog", so it can be a program name with args.
6865 set dummy
$ac_prog; ac_word
=$2
6866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6867 echo "configure:6868: checking for $ac_word" >&5
6868 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6869 echo $ac_n "(cached) $ac_c" 1>&6
6871 if test -n "$YACC"; then
6872 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6874 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6876 for ac_dir
in $ac_dummy; do
6877 test -z "$ac_dir" && ac_dir
=.
6878 if test -f $ac_dir/$ac_word; then
6879 ac_cv_prog_YACC
="$ac_prog"
6886 YACC
="$ac_cv_prog_YACC"
6887 if test -n "$YACC"; then
6888 echo "$ac_t""$YACC" 1>&6
6890 echo "$ac_t""no" 1>&6
6893 test -n "$YACC" && break
6895 test -n "$YACC" || YACC
="yacc"
6898 # Extract the first word of "flex", so it can be a program name with args.
6899 set dummy flex
; ac_word
=$2
6900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6901 echo "configure:6902: checking for $ac_word" >&5
6902 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6903 echo $ac_n "(cached) $ac_c" 1>&6
6905 if test -n "$LEX"; then
6906 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6908 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6910 for ac_dir
in $ac_dummy; do
6911 test -z "$ac_dir" && ac_dir
=.
6912 if test -f $ac_dir/$ac_word; then
6913 ac_cv_prog_LEX
="flex"
6918 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6921 LEX
="$ac_cv_prog_LEX"
6922 if test -n "$LEX"; then
6923 echo "$ac_t""$LEX" 1>&6
6925 echo "$ac_t""no" 1>&6
6928 if test -z "$LEXLIB"
6934 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6935 echo "configure:6936: checking for yywrap in -l$ac_lib" >&5
6936 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6938 echo $ac_n "(cached) $ac_c" 1>&6
6940 ac_save_LIBS
="$LIBS"
6941 LIBS
="-l$ac_lib $LIBS"
6942 cat > conftest.
$ac_ext <<EOF
6943 #line 6944 "configure"
6944 #include "confdefs.h"
6945 /* Override any gcc2 internal prototype to avoid an error. */
6946 /* We use char because int might match the return type of a gcc2
6947 builtin and then its argument prototype would still apply. */
6954 if { (eval echo configure
:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6956 eval "ac_cv_lib_$ac_lib_var=yes"
6958 echo "configure: failed program was:" >&5
6959 cat conftest.
$ac_ext >&5
6961 eval "ac_cv_lib_$ac_lib_var=no"
6964 LIBS
="$ac_save_LIBS"
6967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6968 echo "$ac_t""yes" 1>&6
6971 echo "$ac_t""no" 1>&6
6977 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6978 echo "configure:6979: checking whether ln -s works" >&5
6979 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6980 echo $ac_n "(cached) $ac_c" 1>&6
6983 if ln -s X conftestdata
2>/dev
/null
6986 ac_cv_prog_LN_S
="ln -s"
6991 LN_S
="$ac_cv_prog_LN_S"
6992 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6993 echo "$ac_t""yes" 1>&6
6995 echo "$ac_t""no" 1>&6
7001 /usr/local/include \
7003 /usr/Motif-1.2/include \
7004 /usr/Motif-2.1/include \
7006 /usr/include/Motif1.2 \
7007 /opt/xpm/include/X11 \
7008 /opt/GBxpm/include/ \
7009 /opt/GBxpm/X11/include/ \
7011 /usr/Motif1.2/include \
7013 /usr/openwin/include \
7017 /usr/X11R6/include \
7018 /usr/X11R6.4/include \
7019 /usr/X11R5/include \
7020 /usr/X11R4/include \
7022 /usr/include/X11R6 \
7023 /usr/include/X11R5 \
7024 /usr/include/X11R4 \
7026 /usr/local/X11R6/include \
7027 /usr/local/X11R5/include \
7028 /usr/local/X11R4/include \
7030 /usr/local/include/X11R6 \
7031 /usr/local/include/X11R5 \
7032 /usr/local/include/X11R4 \
7036 /usr/local/X11/include \
7037 /usr/local/include/X11 \
7041 /usr/XFree86/include/X11 \
7043 X:/XFree86/include \
7044 X:/XFree86/include/X11 \
7047 /usr/local/include/gtk \
7049 /usr/local/include/glib \
7052 /usr/local/include/qt \
7054 /usr/include/windows \
7056 /usr/local/include/wine \
7058 /usr/unsupported/include \
7059 /usr/athena/include \
7060 /usr/local/x11r5/include \
7061 /usr/lpp/Xamples/include \
7063 /usr/openwin/share/include \
7067 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7070 cat > confcache
<<\EOF
7071 # This file is a shell script that caches the results of configure
7072 # tests run on this system so they can be shared between configure
7073 # scripts and configure runs. It is not useful on other systems.
7074 # If it contains results you don't want to keep, you may remove or edit it.
7076 # By default, configure uses ./config.cache as the cache file,
7077 # creating it if it does not exist already. You can give configure
7078 # the --cache-file=FILE option to use a different cache file; that is
7079 # what configure does when it calls configure scripts in
7080 # subdirectories, so they share the cache.
7081 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7082 # config.status only pays attention to the cache file if you give it the
7083 # --recheck option to rerun configure.
7086 # The following way of writing the cache mishandles newlines in values,
7087 # but we know of no workaround that is simple, portable, and efficient.
7088 # So, don't put newlines in cache variables' values.
7089 # Ultrix sh set writes to stderr and can't be redirected directly,
7090 # and sets the high bit in the cache file unless we assign to the vars.
7092 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7094 # `set' does not quote correctly, so add quotes (double-quote substitution
7095 # turns \\\\ into \\, and sed turns \\ into \).
7097 -e "s/'/'\\\\''/g" \
7098 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7101 # `set' quotes correctly as required by POSIX, so do not add quotes.
7102 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7105 if cmp -s $cache_file confcache
; then
7108 if test -w $cache_file; then
7109 echo "updating cache $cache_file"
7110 cat confcache
> $cache_file
7112 echo "not updating unwritable cache $cache_file"
7121 if test "$wxUSE_GUI" = "yes"; then
7141 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7142 if test "$cross_compiling" = "yes" ; then
7143 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7145 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7146 echo "configure:7147: checking for Windows headers" >&5
7149 for ac_dir
in $SEARCH_INCLUDE;
7151 if test -f "$ac_dir/windows.h"; then
7152 ac_find_includes
=$ac_dir
7157 if test "$ac_find_includes" != "" ; then
7158 echo "$ac_t""found $ac_find_includes" 1>&6
7159 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7161 echo "$ac_t""no" 1>&6
7162 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7166 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7167 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7169 if test "$wxUSE_ODBC" = "yes" ; then
7170 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7173 if test "$wxUSE_MINGW" = 1; then
7174 LDFLAGS
="$LDFLAGS -mwindows"
7179 GUIOBJS
="\$(MSW_GUIOBJS)"
7180 GUIHEADERS
="\$(MSW_HEADERS)"
7181 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7182 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7186 RCINCSWITCH
="--include-dir"
7187 RCDEFSWITCH
="--define"
7188 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7191 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7193 RESPROGRAM
="\$(RES_PROGRAM)"
7197 if test "$wxUSE_GTK" = 1; then
7198 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7199 if test "${with_gtk_prefix+set}" = set; then
7200 withval
="$with_gtk_prefix"
7201 gtk_config_prefix
="$withval"
7203 gtk_config_prefix
=""
7206 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7207 if test "${with_gtk_exec_prefix+set}" = set; then
7208 withval
="$with_gtk_exec_prefix"
7209 gtk_config_exec_prefix
="$withval"
7211 gtk_config_exec_prefix
=""
7214 # Check whether --enable-gtktest or --disable-gtktest was given.
7215 if test "${enable_gtktest+set}" = set; then
7216 enableval
="$enable_gtktest"
7223 for module
in . gthread
7227 gtk_config_args
="$gtk_config_args gthread"
7232 if test x
$gtk_config_exec_prefix != x
; then
7233 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7234 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7235 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7238 if test x
$gtk_config_prefix != x
; then
7239 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7240 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7241 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7245 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7246 set dummy gtk
-config-2.0
; ac_word
=$2
7247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7248 echo "configure:7249: checking for $ac_word" >&5
7249 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7250 echo $ac_n "(cached) $ac_c" 1>&6
7252 case "$GTK_CONFIG_2_0" in
7254 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7257 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7260 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7262 for ac_dir
in $ac_dummy; do
7263 test -z "$ac_dir" && ac_dir
=.
7264 if test -f $ac_dir/$ac_word; then
7265 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7270 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7274 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7275 if test -n "$GTK_CONFIG_2_0"; then
7276 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7278 echo "$ac_t""no" 1>&6
7281 min_gtk_version
=1.3.1
7282 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7283 echo "configure:7284: checking for GTK - version >= $min_gtk_version" >&5
7285 if test "$GTK_CONFIG_2_0" = "no" ; then
7288 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7289 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7290 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7292 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7294 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7296 if test "x$enable_gtktest" = "xyes" ; then
7297 ac_save_CFLAGS
="$CFLAGS"
7298 ac_save_LIBS
="$LIBS"
7299 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7300 LIBS
="$GTK_LIBS $LIBS"
7302 if test "$cross_compiling" = yes; then
7303 echo $ac_n "cross compiling; assumed OK... $ac_c"
7305 cat > conftest.
$ac_ext <<EOF
7306 #line 7307 "configure"
7307 #include "confdefs.h"
7309 #include <gtk/gtk.h>
7316 int major, minor, micro;
7319 system ("touch conf.gtktest");
7321 /* HP/UX 9 (%@#!) writes to sscanf strings */
7322 tmp_version = g_strdup("$min_gtk_version");
7323 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7324 printf("%s, bad version string\n", "$min_gtk_version");
7328 if ((gtk_major_version != $gtk_config_major_version) ||
7329 (gtk_minor_version != $gtk_config_minor_version) ||
7330 (gtk_micro_version != $gtk_config_micro_version))
7332 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7333 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7334 gtk_major_version, gtk_minor_version, gtk_micro_version);
7335 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7336 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7337 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7338 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7339 printf("*** required on your system.\n");
7340 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7341 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7342 printf("*** before re-running configure\n");
7344 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7345 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7346 (gtk_minor_version != GTK_MINOR_VERSION) ||
7347 (gtk_micro_version != GTK_MICRO_VERSION))
7349 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7350 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7351 printf("*** library (version %d.%d.%d)\n",
7352 gtk_major_version, gtk_minor_version, gtk_micro_version);
7354 #endif /* defined (GTK_MAJOR_VERSION) ... */
7357 if ((gtk_major_version > major) ||
7358 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7359 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7365 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7366 gtk_major_version, gtk_minor_version, gtk_micro_version);
7367 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7368 major, minor, micro);
7369 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7371 printf("*** If you have already installed a sufficiently new version, this error\n");
7372 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7373 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7374 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7375 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7376 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7377 printf("*** so that the correct libraries are found at run-time))\n");
7384 if { (eval echo configure
:7385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7388 echo "configure: failed program was:" >&5
7389 cat conftest.
$ac_ext >&5
7396 CFLAGS
="$ac_save_CFLAGS"
7397 LIBS
="$ac_save_LIBS"
7400 if test "x$no_gtk" = x
; then
7401 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7404 echo "$ac_t""no" 1>&6
7405 if test "$GTK_CONFIG_2_0" = "no" ; then
7406 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7407 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7408 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7409 echo "*** full path to gtk-config-2.0."
7411 if test -f conf.gtktest
; then
7414 echo "*** Could not run GTK test program, checking why..."
7415 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7416 LIBS
="$LIBS $GTK_LIBS"
7417 cat > conftest.
$ac_ext <<EOF
7418 #line 7419 "configure"
7419 #include "confdefs.h"
7421 #include <gtk/gtk.h>
7425 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7428 if { (eval echo configure
:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7430 echo "*** The test program compiled, but did not run. This usually means"
7431 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7432 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7433 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7434 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7435 echo "*** is required on your system"
7437 echo "*** If you have an old version installed, it is best to remove it, although"
7438 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7440 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7441 echo "*** came with the system with the command"
7443 echo "*** rpm --erase --nodeps gtk gtk-devel"
7445 echo "configure: failed program was:" >&5
7446 cat conftest.
$ac_ext >&5
7448 echo "*** The test program failed to compile or link. See the file config.log for the"
7449 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7450 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7451 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7454 CFLAGS
="$ac_save_CFLAGS"
7455 LIBS
="$ac_save_LIBS"
7462 if test x
$gtk_config_exec_prefix != x
; then
7463 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7464 if test x
${GTK_CONFIG+set} != xset
; then
7465 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7468 if test x
$gtk_config_prefix != x
; then
7469 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7470 if test x
${GTK_CONFIG+set} != xset
; then
7471 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7475 # Extract the first word of "gtk-config", so it can be a program name with args.
7476 set dummy gtk
-config; ac_word
=$2
7477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7478 echo "configure:7479: checking for $ac_word" >&5
7479 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7480 echo $ac_n "(cached) $ac_c" 1>&6
7482 case "$GTK_CONFIG" in
7484 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7487 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7490 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7492 for ac_dir
in $ac_dummy; do
7493 test -z "$ac_dir" && ac_dir
=.
7494 if test -f $ac_dir/$ac_word; then
7495 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7500 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7504 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7505 if test -n "$GTK_CONFIG"; then
7506 echo "$ac_t""$GTK_CONFIG" 1>&6
7508 echo "$ac_t""no" 1>&6
7511 min_gtk_version
=1.2.7
7512 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7513 echo "configure:7514: checking for GTK - version >= $min_gtk_version" >&5
7515 if test "$GTK_CONFIG" != "no" ; then
7516 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7517 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7518 ac_save_CFLAGS
="$CFLAGS"
7519 ac_save_LIBS
="$LIBS"
7520 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7521 LIBS
="$LIBS $GTK_LIBS"
7522 if test "$cross_compiling" = yes; then
7523 echo $ac_n "cross compiling; assumed OK... $ac_c"
7525 cat > conftest.
$ac_ext <<EOF
7526 #line 7527 "configure"
7527 #include "confdefs.h"
7529 #include <gtk/gtk.h>
7530 #include <gtk/gtkfeatures.h>
7537 int major, minor, micro;
7539 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7540 printf("%s, bad version string\n", "$min_gtk_version");
7544 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7545 (GTK_MINOR_VERSION != gtk_minor_version) ||
7546 (GTK_MICRO_VERSION != gtk_micro_version)) {
7547 printf("Headers vs. library version mismatch!\n");
7551 if (gtk_minor_version == 1) return FALSE;
7553 return !((gtk_major_version > major) ||
7554 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7555 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7559 if { (eval echo configure
:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7563 echo "configure: failed program was:" >&5
7564 cat conftest.
$ac_ext >&5
7571 CFLAGS
="$ac_save_CFLAGS"
7572 LIBS
="$ac_save_LIBS"
7576 if test "x$no_gtk" = x
; then
7577 echo "$ac_t""yes" 1>&6
7580 echo "$ac_t""no" 1>&6
7589 if test x
$gtk_config_exec_prefix != x
; then
7590 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7591 if test x
${GTK_CONFIG+set} != xset
; then
7592 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7595 if test x
$gtk_config_prefix != x
; then
7596 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7597 if test x
${GTK_CONFIG+set} != xset
; then
7598 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7602 # Extract the first word of "gtk-config", so it can be a program name with args.
7603 set dummy gtk
-config; ac_word
=$2
7604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7605 echo "configure:7606: checking for $ac_word" >&5
7606 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7607 echo $ac_n "(cached) $ac_c" 1>&6
7609 case "$GTK_CONFIG" in
7611 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7614 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7617 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7619 for ac_dir
in $ac_dummy; do
7620 test -z "$ac_dir" && ac_dir
=.
7621 if test -f $ac_dir/$ac_word; then
7622 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7627 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7631 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7632 if test -n "$GTK_CONFIG"; then
7633 echo "$ac_t""$GTK_CONFIG" 1>&6
7635 echo "$ac_t""no" 1>&6
7638 min_gtk_version
=1.2.3
7639 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7640 echo "configure:7641: checking for GTK - version >= $min_gtk_version" >&5
7642 if test "$GTK_CONFIG" != "no" ; then
7643 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7644 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7645 ac_save_CFLAGS
="$CFLAGS"
7646 ac_save_LIBS
="$LIBS"
7647 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7648 LIBS
="$LIBS $GTK_LIBS"
7649 if test "$cross_compiling" = yes; then
7650 echo $ac_n "cross compiling; assumed OK... $ac_c"
7652 cat > conftest.
$ac_ext <<EOF
7653 #line 7654 "configure"
7654 #include "confdefs.h"
7656 #include <gtk/gtk.h>
7657 #include <gtk/gtkfeatures.h>
7664 int major, minor, micro;
7666 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7667 printf("%s, bad version string\n", "$min_gtk_version");
7671 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7672 (GTK_MINOR_VERSION != gtk_minor_version) ||
7673 (GTK_MICRO_VERSION != gtk_micro_version)) {
7674 printf("Headers vs. library version mismatch!\n");
7678 if (gtk_minor_version == 1) return FALSE;
7680 return !((gtk_major_version > major) ||
7681 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7682 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7686 if { (eval echo configure
:7687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7690 echo "configure: failed program was:" >&5
7691 cat conftest.
$ac_ext >&5
7698 CFLAGS
="$ac_save_CFLAGS"
7699 LIBS
="$ac_save_LIBS"
7703 if test "x$no_gtk" = x
; then
7704 echo "$ac_t""yes" 1>&6
7707 echo "$ac_t""no" 1>&6
7722 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7723 { echo "configure: error:
7724 Please check that gtk-config is in path, the directory
7725 where GTK+ libraries are installed (returned by
7726 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7727 equivalent variable and GTK+ is version 1.2.3 or above.
7731 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7734 GUI_TK_LIBRARY
="$GTK_LIBS"
7738 AFMINSTALL
=afminstall
7740 GUIOBJS
="\$(GTK_GUIOBJS)"
7741 GUIHEADERS
="\$(GTK_HEADERS)"
7742 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7743 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7744 GUIDEPS
="\$(GTK_GUIDEPS)"
7745 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7746 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7747 UNIXOBJS
="\$(UNIX_OBJS)"
7748 UNIXDEPS
="\$(UNIX_DEPS)"
7751 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7752 echo "configure:7753: checking for gdk_im_open in -lgdk" >&5
7753 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7755 echo $ac_n "(cached) $ac_c" 1>&6
7757 ac_save_LIBS
="$LIBS"
7759 cat > conftest.
$ac_ext <<EOF
7760 #line 7761 "configure"
7761 #include "confdefs.h"
7762 /* Override any gcc2 internal prototype to avoid an error. */
7763 /* We use char because int might match the return type of a gcc2
7764 builtin and then its argument prototype would still apply. */
7771 if { (eval echo configure
:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7773 eval "ac_cv_lib_$ac_lib_var=yes"
7775 echo "configure: failed program was:" >&5
7776 cat conftest.
$ac_ext >&5
7778 eval "ac_cv_lib_$ac_lib_var=no"
7781 LIBS
="$ac_save_LIBS"
7784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7785 echo "$ac_t""yes" 1>&6
7786 cat >> confdefs.h
<<\EOF
7791 echo "$ac_t""no" 1>&6
7796 if test "$wxUSE_WINE" = 1; then
7797 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7798 echo "configure:7799: checking for WINE includes" >&5
7801 for ac_dir
in $SEARCH_INCLUDE;
7803 if test -f "$ac_dir/windows.h"; then
7804 ac_find_includes
=$ac_dir
7809 if test "$ac_find_includes" != "" ; then
7810 echo "$ac_t""found $ac_find_includes" 1>&6
7811 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7813 echo "$ac_t""no" 1>&6
7814 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7818 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7819 echo "configure:7820: checking for Xpm library" >&5
7822 for ac_dir
in $SEARCH_LIB;
7824 for ac_extension
in a so sl
; do
7825 if test -f "$ac_dir/libXpm.$ac_extension"; then
7826 ac_find_libraries
=$ac_dir
7832 if test "$ac_find_libraries" != "" ; then
7833 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7835 cat >> confdefs.h
<<\EOF
7836 #define wxHAVE_LIB_XPM 1
7839 echo "$ac_t""found at $ac_find_libraries" 1>&6
7841 echo "$ac_t""no" 1>&6
7842 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7846 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7847 echo "configure:7848: checking for Mesa library" >&5
7850 for ac_dir
in $SEARCH_LIB;
7852 for ac_extension
in a so sl
; do
7853 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7854 ac_find_libraries
=$ac_dir
7860 if test "$ac_find_libraries" != "" ; then
7861 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7862 MESA_LINK
="-lMesaGL"
7863 echo "$ac_t""found at $ac_find_libraries" 1>&6
7865 { echo "configure: error: no" 1>&2; exit 1; }
7868 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7869 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7873 GUIHEADERS
="\$(MSW_HEADERS)"
7874 GUIOBJS
="\$(MSW_GUIOBJS)"
7875 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7876 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7877 GUIDEPS
="\$(MSW_GUIDEPS)"
7878 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7879 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7880 UNIXOBJS
="\$(UNIX_OBJS)"
7881 UNIXDEPS
="\$(UNIX_DEPS)"
7886 # If we find X, set shell vars x_includes and x_libraries to the
7887 # paths, otherwise set no_x=yes.
7888 # Uses ac_ vars as temps to allow command line to override cache and checks.
7889 # --without-x overrides everything else, but does not touch the cache.
7890 echo $ac_n "checking for X""... $ac_c" 1>&6
7891 echo "configure:7892: checking for X" >&5
7893 # Check whether --with-x or --without-x was given.
7894 if test "${with_x+set}" = set; then
7899 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7900 if test "x$with_x" = xno
; then
7901 # The user explicitly disabled X.
7904 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7905 # Both variables are already set.
7908 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7909 echo $ac_n "(cached) $ac_c" 1>&6
7911 # One or both of the vars are not set, and there is no cached value.
7912 ac_x_includes
=NO ac_x_libraries
=NO
7914 if mkdir conftestdir
; then
7916 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7917 cat > Imakefile
<<'EOF'
7919 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7921 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7922 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7923 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7924 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7925 for ac_extension
in a so sl
; do
7926 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7927 test -f $ac_im_libdir/libX11.
$ac_extension; then
7928 ac_im_usrlibdir
=$ac_im_libdir; break
7931 # Screen out bogus values from the imake configuration. They are
7932 # bogus both because they are the default anyway, and because
7933 # using them would break gcc on systems where it needs fixed includes.
7934 case "$ac_im_incroot" in
7936 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7938 case "$ac_im_usrlibdir" in
7940 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7947 if test "$ac_x_includes" = NO
; then
7948 # Guess where to find include files, by looking for this one X11 .h file.
7949 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7951 # First, try using that file with no special directory specified.
7952 cat > conftest.
$ac_ext <<EOF
7953 #line 7954 "configure"
7954 #include "confdefs.h"
7955 #include <$x_direct_test_include>
7957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7958 { (eval echo configure
:7959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7960 if test -z "$ac_err"; then
7962 # We can compile using X headers with no special include directory.
7966 echo "configure: failed program was:" >&5
7967 cat conftest.
$ac_ext >&5
7969 # Look for the header file in a standard set of common directories.
7970 # Check X11 before X11Rn because it is often a symlink to the current release.
7973 /usr
/X
11R
6/include \
7974 /usr
/X
11R
5/include \
7975 /usr
/X
11R
4/include \
7978 /usr
/include
/X11R6 \
7979 /usr
/include
/X11R5 \
7980 /usr
/include
/X11R4 \
7982 /usr
/local
/X
11/include \
7983 /usr
/local
/X
11R
6/include \
7984 /usr
/local
/X
11R
5/include \
7985 /usr
/local
/X
11R
4/include \
7987 /usr
/local
/include
/X11 \
7988 /usr
/local
/include
/X11R6 \
7989 /usr
/local
/include
/X11R5 \
7990 /usr
/local
/include
/X11R4 \
7994 /usr
/XFree
86/include
/X11 \
7997 /usr
/local
/include \
7998 /usr
/unsupported
/include \
7999 /usr
/athena
/include \
8000 /usr
/local
/x
11r
5/include \
8001 /usr
/lpp
/Xamples
/include \
8003 /usr
/openwin
/include \
8004 /usr
/openwin
/share
/include \
8007 if test -r "$ac_dir/$x_direct_test_include"; then
8008 ac_x_includes
=$ac_dir
8014 fi # $ac_x_includes = NO
8016 if test "$ac_x_libraries" = NO
; then
8017 # Check for the libraries.
8019 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8020 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8022 # See if we find them without any special options.
8023 # Don't add to $LIBS permanently.
8024 ac_save_LIBS
="$LIBS"
8025 LIBS
="-l$x_direct_test_library $LIBS"
8026 cat > conftest.
$ac_ext <<EOF
8027 #line 8028 "configure"
8028 #include "confdefs.h"
8031 ${x_direct_test_function}()
8034 if { (eval echo configure
:8035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8036 LIBS
="$ac_save_LIBS"
8037 # We can link X programs with no special library path.
8040 echo "configure: failed program was:" >&5
8041 cat conftest.
$ac_ext >&5
8043 LIBS
="$ac_save_LIBS"
8044 # First see if replacing the include by lib works.
8045 # Check X11 before X11Rn because it is often a symlink to the current release.
8046 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8057 /usr
/local
/X
11/lib \
8058 /usr
/local
/X
11R
6/lib \
8059 /usr
/local
/X
11R
5/lib \
8060 /usr
/local
/X
11R
4/lib \
8062 /usr
/local
/lib
/X11 \
8063 /usr
/local
/lib
/X11R6 \
8064 /usr
/local
/lib
/X11R5 \
8065 /usr
/local
/lib
/X11R4 \
8069 /usr
/XFree
86/lib
/X11 \
8073 /usr
/unsupported
/lib \
8075 /usr
/local
/x
11r
5/lib \
8076 /usr
/lpp
/Xamples
/lib \
8080 /usr
/openwin
/share
/lib \
8083 for ac_extension
in a so sl
; do
8084 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8085 ac_x_libraries
=$ac_dir
8092 fi # $ac_x_libraries = NO
8094 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8095 # Didn't find X anywhere. Cache the known absence of X.
8096 ac_cv_have_x
="have_x=no"
8098 # Record where we found X for the cache.
8099 ac_cv_have_x
="have_x=yes \
8100 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8104 eval "$ac_cv_have_x"
8107 if test "$have_x" != yes; then
8108 echo "$ac_t""$have_x" 1>&6
8111 # If each of the values was on the command line, it overrides each guess.
8112 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8113 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8114 # Update the cache value to reflect the command line values.
8115 ac_cv_have_x
="have_x=yes \
8116 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8117 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8120 if test "$no_x" = yes; then
8121 # Not all programs may use this symbol, but it does not hurt to define it.
8122 cat >> confdefs.h
<<\EOF
8123 #define X_DISPLAY_MISSING 1
8126 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8128 if test -n "$x_includes"; then
8129 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8132 # It would also be nice to do this for all -L options, not just this one.
8133 if test -n "$x_libraries"; then
8134 X_LIBS
="$X_LIBS -L$x_libraries"
8135 # For Solaris; some versions of Sun CC require a space after -R and
8136 # others require no space. Words are not sufficient . . . .
8137 case "`(uname -sr) 2>/dev/null`" in
8139 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8140 echo "configure:8141: checking whether -R must be followed by a space" >&5
8141 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8142 cat > conftest.
$ac_ext <<EOF
8143 #line 8144 "configure"
8144 #include "confdefs.h"
8150 if { (eval echo configure
:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8154 echo "configure: failed program was:" >&5
8155 cat conftest.
$ac_ext >&5
8160 if test $ac_R_nospace = yes; then
8161 echo "$ac_t""no" 1>&6
8162 X_LIBS
="$X_LIBS -R$x_libraries"
8164 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8165 cat > conftest.
$ac_ext <<EOF
8166 #line 8167 "configure"
8167 #include "confdefs.h"
8173 if { (eval echo configure
:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8177 echo "configure: failed program was:" >&5
8178 cat conftest.
$ac_ext >&5
8183 if test $ac_R_space = yes; then
8184 echo "$ac_t""yes" 1>&6
8185 X_LIBS
="$X_LIBS -R $x_libraries"
8187 echo "$ac_t""neither works" 1>&6
8190 LIBS
="$ac_xsave_LIBS"
8194 # Check for system-dependent libraries X programs must link with.
8195 # Do this before checking for the system-independent R6 libraries
8196 # (-lICE), since we may need -lsocket or whatever for X linking.
8198 if test "$ISC" = yes; then
8199 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8201 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8202 # libraries were built with DECnet support. And karl@cs.umb.edu says
8203 # the Alpha needs dnet_stub (dnet does not exist).
8204 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8205 echo "configure:8206: checking for dnet_ntoa in -ldnet" >&5
8206 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8208 echo $ac_n "(cached) $ac_c" 1>&6
8210 ac_save_LIBS
="$LIBS"
8212 cat > conftest.
$ac_ext <<EOF
8213 #line 8214 "configure"
8214 #include "confdefs.h"
8215 /* Override any gcc2 internal prototype to avoid an error. */
8216 /* We use char because int might match the return type of a gcc2
8217 builtin and then its argument prototype would still apply. */
8224 if { (eval echo configure
:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8226 eval "ac_cv_lib_$ac_lib_var=yes"
8228 echo "configure: failed program was:" >&5
8229 cat conftest.
$ac_ext >&5
8231 eval "ac_cv_lib_$ac_lib_var=no"
8234 LIBS
="$ac_save_LIBS"
8237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8238 echo "$ac_t""yes" 1>&6
8239 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8241 echo "$ac_t""no" 1>&6
8244 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8245 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8246 echo "configure:8247: checking for dnet_ntoa in -ldnet_stub" >&5
8247 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8249 echo $ac_n "(cached) $ac_c" 1>&6
8251 ac_save_LIBS
="$LIBS"
8252 LIBS
="-ldnet_stub $LIBS"
8253 cat > conftest.
$ac_ext <<EOF
8254 #line 8255 "configure"
8255 #include "confdefs.h"
8256 /* Override any gcc2 internal prototype to avoid an error. */
8257 /* We use char because int might match the return type of a gcc2
8258 builtin and then its argument prototype would still apply. */
8265 if { (eval echo configure
:8266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8267 eval "ac_cv_lib_$ac_lib_var=yes"
8269 echo "configure: failed program was:" >&5
8270 cat conftest.
$ac_ext >&5
8272 eval "ac_cv_lib_$ac_lib_var=no"
8275 LIBS
="$ac_save_LIBS"
8278 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8279 echo "$ac_t""yes" 1>&6
8280 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8282 echo "$ac_t""no" 1>&6
8287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8288 # to get the SysV transport functions.
8289 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8291 # The nsl library prevents programs from opening the X display
8292 # on Irix 5.2, according to dickey@clark.net.
8293 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8294 echo "configure:8295: checking for gethostbyname" >&5
8295 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 cat > conftest.
$ac_ext <<EOF
8299 #line 8300 "configure"
8300 #include "confdefs.h"
8301 /* System header to define __stub macros and hopefully few prototypes,
8302 which can conflict with char gethostbyname(); below. */
8304 /* Override any gcc2 internal prototype to avoid an error. */
8305 /* We use char because int might match the return type of a gcc2
8306 builtin and then its argument prototype would still apply. */
8307 char gethostbyname();
8311 /* The GNU C library defines this for functions which it implements
8312 to always fail with ENOSYS. Some functions are actually named
8313 something starting with __ and the normal name is an alias. */
8314 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8322 if { (eval echo configure
:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8324 eval "ac_cv_func_gethostbyname=yes"
8326 echo "configure: failed program was:" >&5
8327 cat conftest.
$ac_ext >&5
8329 eval "ac_cv_func_gethostbyname=no"
8334 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8335 echo "$ac_t""yes" 1>&6
8338 echo "$ac_t""no" 1>&6
8341 if test $ac_cv_func_gethostbyname = no
; then
8342 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8343 echo "configure:8344: checking for gethostbyname in -lnsl" >&5
8344 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8345 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8346 echo $ac_n "(cached) $ac_c" 1>&6
8348 ac_save_LIBS
="$LIBS"
8350 cat > conftest.
$ac_ext <<EOF
8351 #line 8352 "configure"
8352 #include "confdefs.h"
8353 /* Override any gcc2 internal prototype to avoid an error. */
8354 /* We use char because int might match the return type of a gcc2
8355 builtin and then its argument prototype would still apply. */
8356 char gethostbyname();
8362 if { (eval echo configure
:8363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8364 eval "ac_cv_lib_$ac_lib_var=yes"
8366 echo "configure: failed program was:" >&5
8367 cat conftest.
$ac_ext >&5
8369 eval "ac_cv_lib_$ac_lib_var=no"
8372 LIBS
="$ac_save_LIBS"
8375 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8376 echo "$ac_t""yes" 1>&6
8377 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8379 echo "$ac_t""no" 1>&6
8384 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8385 # socket/setsockopt and other routines are undefined under SCO ODT
8386 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8387 # on later versions), says simon@lia.di.epfl.ch: it contains
8388 # gethostby* variants that don't use the nameserver (or something).
8389 # -lsocket must be given before -lnsl if both are needed.
8390 # We assume that if connect needs -lnsl, so does gethostbyname.
8391 echo $ac_n "checking for connect""... $ac_c" 1>&6
8392 echo "configure:8393: checking for connect" >&5
8393 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8394 echo $ac_n "(cached) $ac_c" 1>&6
8396 cat > conftest.
$ac_ext <<EOF
8397 #line 8398 "configure"
8398 #include "confdefs.h"
8399 /* System header to define __stub macros and hopefully few prototypes,
8400 which can conflict with char connect(); below. */
8402 /* Override any gcc2 internal prototype to avoid an error. */
8403 /* We use char because int might match the return type of a gcc2
8404 builtin and then its argument prototype would still apply. */
8409 /* The GNU C library defines this for functions which it implements
8410 to always fail with ENOSYS. Some functions are actually named
8411 something starting with __ and the normal name is an alias. */
8412 #if defined (__stub_connect) || defined (__stub___connect)
8420 if { (eval echo configure
:8421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8422 eval "ac_cv_func_connect=yes"
8424 echo "configure: failed program was:" >&5
8425 cat conftest.
$ac_ext >&5
8427 eval "ac_cv_func_connect=no"
8432 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8433 echo "$ac_t""yes" 1>&6
8436 echo "$ac_t""no" 1>&6
8439 if test $ac_cv_func_connect = no
; then
8440 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8441 echo "configure:8442: checking for connect in -lsocket" >&5
8442 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8443 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8444 echo $ac_n "(cached) $ac_c" 1>&6
8446 ac_save_LIBS
="$LIBS"
8447 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8448 cat > conftest.
$ac_ext <<EOF
8449 #line 8450 "configure"
8450 #include "confdefs.h"
8451 /* Override any gcc2 internal prototype to avoid an error. */
8452 /* We use char because int might match the return type of a gcc2
8453 builtin and then its argument prototype would still apply. */
8460 if { (eval echo configure
:8461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8462 eval "ac_cv_lib_$ac_lib_var=yes"
8464 echo "configure: failed program was:" >&5
8465 cat conftest.
$ac_ext >&5
8467 eval "ac_cv_lib_$ac_lib_var=no"
8470 LIBS
="$ac_save_LIBS"
8473 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8474 echo "$ac_t""yes" 1>&6
8475 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8477 echo "$ac_t""no" 1>&6
8482 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8483 echo $ac_n "checking for remove""... $ac_c" 1>&6
8484 echo "configure:8485: checking for remove" >&5
8485 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8486 echo $ac_n "(cached) $ac_c" 1>&6
8488 cat > conftest.
$ac_ext <<EOF
8489 #line 8490 "configure"
8490 #include "confdefs.h"
8491 /* System header to define __stub macros and hopefully few prototypes,
8492 which can conflict with char remove(); below. */
8494 /* Override any gcc2 internal prototype to avoid an error. */
8495 /* We use char because int might match the return type of a gcc2
8496 builtin and then its argument prototype would still apply. */
8501 /* The GNU C library defines this for functions which it implements
8502 to always fail with ENOSYS. Some functions are actually named
8503 something starting with __ and the normal name is an alias. */
8504 #if defined (__stub_remove) || defined (__stub___remove)
8512 if { (eval echo configure
:8513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8514 eval "ac_cv_func_remove=yes"
8516 echo "configure: failed program was:" >&5
8517 cat conftest.
$ac_ext >&5
8519 eval "ac_cv_func_remove=no"
8524 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8525 echo "$ac_t""yes" 1>&6
8528 echo "$ac_t""no" 1>&6
8531 if test $ac_cv_func_remove = no
; then
8532 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8533 echo "configure:8534: checking for remove in -lposix" >&5
8534 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8535 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8538 ac_save_LIBS
="$LIBS"
8539 LIBS
="-lposix $LIBS"
8540 cat > conftest.
$ac_ext <<EOF
8541 #line 8542 "configure"
8542 #include "confdefs.h"
8543 /* Override any gcc2 internal prototype to avoid an error. */
8544 /* We use char because int might match the return type of a gcc2
8545 builtin and then its argument prototype would still apply. */
8552 if { (eval echo configure
:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8554 eval "ac_cv_lib_$ac_lib_var=yes"
8556 echo "configure: failed program was:" >&5
8557 cat conftest.
$ac_ext >&5
8559 eval "ac_cv_lib_$ac_lib_var=no"
8562 LIBS
="$ac_save_LIBS"
8565 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8566 echo "$ac_t""yes" 1>&6
8567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8569 echo "$ac_t""no" 1>&6
8574 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8575 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8576 echo "configure:8577: checking for shmat" >&5
8577 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8578 echo $ac_n "(cached) $ac_c" 1>&6
8580 cat > conftest.
$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8583 /* System header to define __stub macros and hopefully few prototypes,
8584 which can conflict with char shmat(); below. */
8586 /* Override any gcc2 internal prototype to avoid an error. */
8587 /* We use char because int might match the return type of a gcc2
8588 builtin and then its argument prototype would still apply. */
8593 /* The GNU C library defines this for functions which it implements
8594 to always fail with ENOSYS. Some functions are actually named
8595 something starting with __ and the normal name is an alias. */
8596 #if defined (__stub_shmat) || defined (__stub___shmat)
8604 if { (eval echo configure
:8605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8606 eval "ac_cv_func_shmat=yes"
8608 echo "configure: failed program was:" >&5
8609 cat conftest.
$ac_ext >&5
8611 eval "ac_cv_func_shmat=no"
8616 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8617 echo "$ac_t""yes" 1>&6
8620 echo "$ac_t""no" 1>&6
8623 if test $ac_cv_func_shmat = no
; then
8624 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8625 echo "configure:8626: checking for shmat in -lipc" >&5
8626 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8630 ac_save_LIBS
="$LIBS"
8632 cat > conftest.
$ac_ext <<EOF
8633 #line 8634 "configure"
8634 #include "confdefs.h"
8635 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8644 if { (eval echo configure
:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8646 eval "ac_cv_lib_$ac_lib_var=yes"
8648 echo "configure: failed program was:" >&5
8649 cat conftest.
$ac_ext >&5
8651 eval "ac_cv_lib_$ac_lib_var=no"
8654 LIBS
="$ac_save_LIBS"
8657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8658 echo "$ac_t""yes" 1>&6
8659 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8661 echo "$ac_t""no" 1>&6
8667 # Check for libraries that X11R6 Xt/Xaw programs need.
8668 ac_save_LDFLAGS
="$LDFLAGS"
8669 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8670 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8671 # check for ICE first), but we must link in the order -lSM -lICE or
8672 # we get undefined symbols. So assume we have SM if we have ICE.
8673 # These have to be linked with before -lX11, unlike the other
8674 # libraries we check for below, so use a different variable.
8675 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8676 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8677 echo "configure:8678: checking for IceConnectionNumber in -lICE" >&5
8678 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8680 echo $ac_n "(cached) $ac_c" 1>&6
8682 ac_save_LIBS
="$LIBS"
8683 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8684 cat > conftest.
$ac_ext <<EOF
8685 #line 8686 "configure"
8686 #include "confdefs.h"
8687 /* Override any gcc2 internal prototype to avoid an error. */
8688 /* We use char because int might match the return type of a gcc2
8689 builtin and then its argument prototype would still apply. */
8690 char IceConnectionNumber();
8693 IceConnectionNumber()
8696 if { (eval echo configure
:8697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8698 eval "ac_cv_lib_$ac_lib_var=yes"
8700 echo "configure: failed program was:" >&5
8701 cat conftest.
$ac_ext >&5
8703 eval "ac_cv_lib_$ac_lib_var=no"
8706 LIBS
="$ac_save_LIBS"
8709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8710 echo "$ac_t""yes" 1>&6
8711 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8713 echo "$ac_t""no" 1>&6
8716 LDFLAGS
="$ac_save_LDFLAGS"
8720 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8721 LDFLAGS
="$LDFLAGS $X_LIBS"
8723 if test "$wxUSE_MOTIF" = 1; then
8724 if test "$no_x" = "yes"; then
8725 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8728 GUI_TK_LIBRARY
="$X_LIBS"
8729 TOOLKIT_INCLUDE
="$X_CFLAGS"
8731 AFMINSTALL
=afminstall
8734 COMPILED_X_PROGRAM
=0
8736 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8737 echo "configure:8738: checking for Motif/Lesstif headers" >&5
8740 for ac_dir
in $SEARCH_INCLUDE;
8742 if test -f "$ac_dir/Xm/Xm.h"; then
8743 ac_find_includes
=$ac_dir
8748 if test "$ac_find_includes" != "" ; then
8749 echo "$ac_t""found $ac_find_includes" 1>&6
8751 cat > conftest.
$ac_ext <<EOF
8752 #line 8753 "configure"
8753 #include "confdefs.h"
8761 version = xmUseVersion;
8765 if { (eval echo configure
:8766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8768 echo "$ac_t""found in default search path" 1>&6
8769 COMPILED_X_PROGRAM
=1
8772 echo "configure: failed program was:" >&5
8773 cat conftest.
$ac_ext >&5
8776 echo "$ac_t""no" 1>&6
8777 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8784 if test "$COMPILED_X_PROGRAM" = 0; then
8785 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8786 echo "configure:8787: checking for Motif/Lesstif library" >&5
8789 for ac_dir
in $SEARCH_LIB;
8791 for ac_extension
in a so sl
; do
8792 if test -f "$ac_dir/libXm.$ac_extension"; then
8793 ac_find_libraries
=$ac_dir
8799 if test "$ac_find_libraries" != "" ; then
8801 ac_path_to_include
=$ac_find_includes
8802 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8804 if test $result = 0; then
8805 ac_path_to_include
=""
8807 ac_path_to_include
="-I$ac_find_includes"
8811 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8813 if test $result = 0; then
8816 ac_path_to_link
="-L$ac_find_libraries"
8820 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8821 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8822 echo "$ac_t""found at $ac_find_libraries" 1>&6
8824 cat > conftest.
$ac_ext <<EOF
8825 #line 8826 "configure"
8826 #include "confdefs.h"
8834 version = xmUseVersion;
8838 if { (eval echo configure
:8839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8841 echo "$ac_t""found in default search path" 1>&6
8842 COMPILED_X_PROGRAM
=1
8845 echo "configure: failed program was:" >&5
8846 cat conftest.
$ac_ext >&5
8849 echo "$ac_t""no" 1>&6
8850 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8860 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8861 echo "configure:8862: checking for Xpm library" >&5
8864 for ac_dir
in $SEARCH_LIB;
8866 for ac_extension
in a so sl
; do
8867 if test -f "$ac_dir/libXpm.$ac_extension"; then
8868 ac_find_libraries
=$ac_dir
8874 if test "$ac_find_libraries" != "" ; then
8876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8878 if test $result = 0; then
8881 ac_path_to_link
="-L$ac_find_libraries"
8884 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8886 cat >> confdefs.h
<<\EOF
8887 #define wxHAVE_LIB_XPM 1
8890 echo "$ac_t""found at $ac_find_libraries" 1>&6
8892 cat > conftest.
$ac_ext <<EOF
8893 #line 8894 "configure"
8894 #include "confdefs.h"
8896 #include <X11/xpm.h>
8902 version = XpmLibraryVersion();
8906 if { (eval echo configure
:8907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8910 cat >> confdefs.h
<<\EOF
8911 #define wxHAVE_LIB_XPM 1
8914 echo "$ac_t""found in default search path" 1>&6
8915 COMPILED_X_PROGRAM
=0
8918 echo "configure: failed program was:" >&5
8919 cat conftest.
$ac_ext >&5
8922 echo "$ac_t""no" 1>&6
8923 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8930 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
8931 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8934 GUIHEADERS
="\$(MOTIF_HEADERS)"
8935 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8936 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8937 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8938 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8939 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8940 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8941 UNIXOBJS
="\$(UNIX_OBJS)"
8942 UNIXDEPS
="\$(UNIX_DEPS)"
8946 if test "$wxUSE_PM" = 1; then
8949 GUIOBJS
="\$(PM_GUIOBJS)"
8950 GUIHEADERS
="\$(PM_HEADERS)"
8951 COMMONOBJS
="\$(PM_COMMONOBJS)"
8952 GENERICOBJS
="\$(PM_GENERICOBJS)"
8953 GUIDEPS
="\$(PM_GUIDEPS)"
8954 COMMONDEPS
="\$(PM_COMMONDEPS)"
8955 GENERICDEPS
="\$(PM_GENERICDEPS)"
8961 if test "$TOOLKIT" != "PM" ; then
8962 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8967 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
8968 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
8970 TOOLKIT_NAME
="${TOOLKIT_DIR}"
8973 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8975 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
8977 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8979 if test "$TOOLKIT" != "MSW"; then
8980 if test "$wxUSE_ODBC" = "yes" ; then
8981 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8985 if test "$wxUSE_LIBJPEG" = "yes" ; then
8986 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8988 if test "$wxUSE_LIBTIFF" = "yes" ; then
8989 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8991 if test "$wxUSE_LIBPNG" = "yes" ; then
8992 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8994 if test "$wxUSE_ZLIB" = "yes" ; then
8995 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8997 if test "$wxUSE_FREETYPE" = "yes" ; then
8998 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9000 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9002 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9003 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9004 RPM_SPEC
="wx\$(TOOLKIT).spec"
9006 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9007 DISTDIR
="wx\$(TOOLKIT)"
9013 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9014 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9016 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9019 TOOLKIT_DEF
="-D__WXBASE__"
9021 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
9022 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
9024 if test "$wxUSE_ZLIB" = "yes" ; then
9025 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9028 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9030 PORT_FILES
="src/files.lst"
9031 RPM_FILES
="src/rpmfiles.lst"
9032 RPM_SPEC
="wxBase.spec"
9038 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9039 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9041 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9042 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9044 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9045 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9047 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9048 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9049 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9050 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9051 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9052 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9059 WX_TARGET_LIBRARY_SONAME
=
9062 if test "$wxUSE_SHARED" = "yes"; then
9065 if test "$GCC" = yes ; then
9066 SHARED_LD
="${CC} -shared -fPIC -o"
9069 LDFLAGS
="-L/usr/lib"
9071 SHARED_LD
="${CXX} -b -o"
9074 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9075 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9076 if test "$wxUSE_OPENGL" = "yes"; then
9077 WX_ALL_INSTALLED
="preinstall_gl"
9078 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9080 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9085 SHARED_LD
="${CC} -shared -o"
9087 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9088 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9089 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9090 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9092 if test "$wxUSE_OPENGL" = "yes"; then
9093 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9094 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9096 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9097 WX_ALL
="CREATE_LINKS"
9100 *-*-irix5* | *-*-irix6* )
9101 if test "$GCC" = yes ; then
9102 SHARED_LD
="${CC} -shared -o"
9105 SHARED_LD
="${CXX} -shared -o"
9107 if test "$wxUSE_OPENGL" = "yes"; then
9108 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9109 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9111 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9112 WX_ALL
="CREATE_LINKS"
9116 if test "$GCC" = yes ; then
9117 SHARED_LD
="${CC} -shared -o"
9120 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9122 SHARED_LD
="${CXX} -G -o"
9125 if test "$wxUSE_OPENGL" = "yes"; then
9126 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9127 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9129 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9130 WX_ALL
="CREATE_LINKS"
9134 SHARED_LD
="${CC} -shared -o"
9136 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9137 WX_ALL
="CREATE_LINKS"
9139 *-*-freebsd* | *-*-netbsd*)
9140 SHARED_LD
="${CC} -shared -o"
9142 if test "$wxUSE_OPENGL" = "yes"; then
9143 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9144 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9146 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9147 WX_ALL
="CREATE_LINKS"
9151 SHARED_LD
="${CXX} -shared -o"
9153 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9154 WX_ALL
="CREATE_LINKS"
9157 SHARED_LD
="${CXX} -shared -o"
9159 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9160 WX_ALL
="CREATE_LINKS"
9163 SHARED_LD
="${CC} -shared -o"
9165 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9166 WX_ALL
="CREATE_LINKS"
9169 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9170 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9173 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9174 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9175 if test "$wxUSE_OPENGL" = "yes"; then
9176 WX_ALL_INSTALLED
="preinstall_gl"
9177 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9179 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9183 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9184 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9185 if test "$wxUSE_OPENGL" = "yes"; then
9186 WX_ALL_INSTALLED
="preinstall_gl"
9187 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9189 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9193 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9194 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9197 SHARED_LD
="${LD} -shared -o"
9199 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9200 WX_ALL
="CREATE_LINKS"
9203 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9206 if test "x$WX_TARGET_LIBRARY" = "x"; then
9207 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9208 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9210 WX_TARGET_LIBRARY_TYPE
="so"
9212 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9213 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9215 if test "$wxUSE_OPENGL" = "yes"; then
9216 WX_ALL_INSTALLED
="preinstall_gl"
9217 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9219 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9222 if test "$wxUSE_GUI" = "no"; then
9223 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9226 WX_TARGET_LIBRARY_TYPE
="a"
9230 for ac_hdr
in strings.h
9232 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9234 echo "configure:9235: checking for $ac_hdr" >&5
9235 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
9238 cat > conftest.
$ac_ext <<EOF
9239 #line 9240 "configure"
9240 #include "confdefs.h"
9243 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9244 { (eval echo configure
:9245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9245 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9246 if test -z "$ac_err"; then
9248 eval "ac_cv_header_$ac_safe=yes"
9251 echo "configure: failed program was:" >&5
9252 cat conftest.
$ac_ext >&5
9254 eval "ac_cv_header_$ac_safe=no"
9258 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9259 echo "$ac_t""yes" 1>&6
9260 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9261 cat >> confdefs.h
<<EOF
9262 #define $ac_tr_hdr 1
9266 echo "$ac_t""no" 1>&6
9270 for ac_hdr
in unistd.h
9272 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9273 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9274 echo "configure:9275: checking for $ac_hdr" >&5
9275 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9278 cat > conftest.
$ac_ext <<EOF
9279 #line 9280 "configure"
9280 #include "confdefs.h"
9283 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9284 { (eval echo configure
:9285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9285 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9286 if test -z "$ac_err"; then
9288 eval "ac_cv_header_$ac_safe=yes"
9291 echo "configure: failed program was:" >&5
9292 cat conftest.
$ac_ext >&5
9294 eval "ac_cv_header_$ac_safe=no"
9298 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9299 echo "$ac_t""yes" 1>&6
9300 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9301 cat >> confdefs.h
<<EOF
9302 #define $ac_tr_hdr 1
9306 echo "$ac_t""no" 1>&6
9310 for ac_hdr
in fcntl.h
9312 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9313 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9314 echo "configure:9315: checking for $ac_hdr" >&5
9315 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9316 echo $ac_n "(cached) $ac_c" 1>&6
9318 cat > conftest.
$ac_ext <<EOF
9319 #line 9320 "configure"
9320 #include "confdefs.h"
9323 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9324 { (eval echo configure
:9325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9325 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9326 if test -z "$ac_err"; then
9328 eval "ac_cv_header_$ac_safe=yes"
9331 echo "configure: failed program was:" >&5
9332 cat conftest.
$ac_ext >&5
9334 eval "ac_cv_header_$ac_safe=no"
9338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9339 echo "$ac_t""yes" 1>&6
9340 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9341 cat >> confdefs.h
<<EOF
9342 #define $ac_tr_hdr 1
9346 echo "$ac_t""no" 1>&6
9350 for ac_hdr
in wchar.h
9352 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9354 echo "configure:9355: checking for $ac_hdr" >&5
9355 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9356 echo $ac_n "(cached) $ac_c" 1>&6
9358 cat > conftest.
$ac_ext <<EOF
9359 #line 9360 "configure"
9360 #include "confdefs.h"
9363 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9364 { (eval echo configure
:9365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9365 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9366 if test -z "$ac_err"; then
9368 eval "ac_cv_header_$ac_safe=yes"
9371 echo "configure: failed program was:" >&5
9372 cat conftest.
$ac_ext >&5
9374 eval "ac_cv_header_$ac_safe=no"
9378 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9379 echo "$ac_t""yes" 1>&6
9380 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9381 cat >> confdefs.h
<<EOF
9382 #define $ac_tr_hdr 1
9386 echo "$ac_t""no" 1>&6
9390 for ac_hdr
in wcstr.h
9392 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9394 echo "configure:9395: checking for $ac_hdr" >&5
9395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9396 echo $ac_n "(cached) $ac_c" 1>&6
9398 cat > conftest.
$ac_ext <<EOF
9399 #line 9400 "configure"
9400 #include "confdefs.h"
9403 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9404 { (eval echo configure
:9405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9405 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9406 if test -z "$ac_err"; then
9408 eval "ac_cv_header_$ac_safe=yes"
9411 echo "configure: failed program was:" >&5
9412 cat conftest.
$ac_ext >&5
9414 eval "ac_cv_header_$ac_safe=no"
9418 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9419 echo "$ac_t""yes" 1>&6
9420 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9421 cat >> confdefs.h
<<EOF
9422 #define $ac_tr_hdr 1
9426 echo "$ac_t""no" 1>&6
9430 for ac_hdr
in fnmatch.h
9432 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9434 echo "configure:9435: checking for $ac_hdr" >&5
9435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9436 echo $ac_n "(cached) $ac_c" 1>&6
9438 cat > conftest.
$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9443 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9444 { (eval echo configure
:9445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9445 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9446 if test -z "$ac_err"; then
9448 eval "ac_cv_header_$ac_safe=yes"
9451 echo "configure: failed program was:" >&5
9452 cat conftest.
$ac_ext >&5
9454 eval "ac_cv_header_$ac_safe=no"
9458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9459 echo "$ac_t""yes" 1>&6
9460 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9461 cat >> confdefs.h
<<EOF
9462 #define $ac_tr_hdr 1
9466 echo "$ac_t""no" 1>&6
9470 for ac_hdr
in iconv.h
9472 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9473 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9474 echo "configure:9475: checking for $ac_hdr" >&5
9475 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9476 echo $ac_n "(cached) $ac_c" 1>&6
9478 cat > conftest.
$ac_ext <<EOF
9479 #line 9480 "configure"
9480 #include "confdefs.h"
9483 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9484 { (eval echo configure
:9485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9485 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9486 if test -z "$ac_err"; then
9488 eval "ac_cv_header_$ac_safe=yes"
9491 echo "configure: failed program was:" >&5
9492 cat conftest.
$ac_ext >&5
9494 eval "ac_cv_header_$ac_safe=no"
9498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9499 echo "$ac_t""yes" 1>&6
9500 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9501 cat >> confdefs.h
<<EOF
9502 #define $ac_tr_hdr 1
9506 echo "$ac_t""no" 1>&6
9510 for ac_hdr
in langinfo.h
9512 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9514 echo "configure:9515: checking for $ac_hdr" >&5
9515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9516 echo $ac_n "(cached) $ac_c" 1>&6
9518 cat > conftest.
$ac_ext <<EOF
9519 #line 9520 "configure"
9520 #include "confdefs.h"
9523 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9524 { (eval echo configure
:9525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9525 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9526 if test -z "$ac_err"; then
9528 eval "ac_cv_header_$ac_safe=yes"
9531 echo "configure: failed program was:" >&5
9532 cat conftest.
$ac_ext >&5
9534 eval "ac_cv_header_$ac_safe=no"
9538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9539 echo "$ac_t""yes" 1>&6
9540 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9541 cat >> confdefs.h
<<EOF
9542 #define $ac_tr_hdr 1
9546 echo "$ac_t""no" 1>&6
9551 if test "$wxUSE_GUI" = "yes"; then
9552 if test "$wxUSE_UNIX" = "yes"; then
9553 for ac_hdr
in X
11/XKBlib.h
9555 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9557 echo "configure:9558: checking for $ac_hdr" >&5
9558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9559 echo $ac_n "(cached) $ac_c" 1>&6
9561 cat > conftest.
$ac_ext <<EOF
9562 #line 9563 "configure"
9563 #include "confdefs.h"
9566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9567 { (eval echo configure
:9568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9568 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9569 if test -z "$ac_err"; then
9571 eval "ac_cv_header_$ac_safe=yes"
9574 echo "configure: failed program was:" >&5
9575 cat conftest.
$ac_ext >&5
9577 eval "ac_cv_header_$ac_safe=no"
9581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9582 echo "$ac_t""yes" 1>&6
9583 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9584 cat >> confdefs.h
<<EOF
9585 #define $ac_tr_hdr 1
9589 echo "$ac_t""no" 1>&6
9597 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9598 echo "configure:9599: checking for ANSI C header files" >&5
9599 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9600 echo $ac_n "(cached) $ac_c" 1>&6
9602 cat > conftest.
$ac_ext <<EOF
9603 #line 9604 "configure"
9604 #include "confdefs.h"
9610 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9611 { (eval echo configure
:9612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9612 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9613 if test -z "$ac_err"; then
9615 ac_cv_header_stdc
=yes
9618 echo "configure: failed program was:" >&5
9619 cat conftest.
$ac_ext >&5
9621 ac_cv_header_stdc
=no
9625 if test $ac_cv_header_stdc = yes; then
9626 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9627 cat > conftest.
$ac_ext <<EOF
9628 #line 9629 "configure"
9629 #include "confdefs.h"
9632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9633 egrep "memchr" >/dev
/null
2>&1; then
9637 ac_cv_header_stdc
=no
9643 if test $ac_cv_header_stdc = yes; then
9644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9645 cat > conftest.
$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9651 egrep "free" >/dev
/null
2>&1; then
9655 ac_cv_header_stdc
=no
9661 if test $ac_cv_header_stdc = yes; then
9662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9663 if test "$cross_compiling" = yes; then
9666 cat > conftest.
$ac_ext <<EOF
9667 #line 9668 "configure"
9668 #include "confdefs.h"
9670 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9671 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9672 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9673 int main () { int i; for (i = 0; i < 256; i++)
9674 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9678 if { (eval echo configure
:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9682 echo "configure: failed program was:" >&5
9683 cat conftest.
$ac_ext >&5
9685 ac_cv_header_stdc
=no
9693 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9694 if test $ac_cv_header_stdc = yes; then
9695 cat >> confdefs.h
<<\EOF
9696 #define STDC_HEADERS 1
9701 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9702 echo "configure:9703: checking for mode_t" >&5
9703 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9706 cat > conftest.
$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9709 #include <sys/types.h>
9715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9716 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9718 ac_cv_type_mode_t
=yes
9721 ac_cv_type_mode_t
=no
9726 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9727 if test $ac_cv_type_mode_t = no
; then
9728 cat >> confdefs.h
<<\EOF
9734 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9735 echo "configure:9736: checking for off_t" >&5
9736 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9737 echo $ac_n "(cached) $ac_c" 1>&6
9739 cat > conftest.
$ac_ext <<EOF
9740 #line 9741 "configure"
9741 #include "confdefs.h"
9742 #include <sys/types.h>
9748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9749 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9751 ac_cv_type_off_t
=yes
9759 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9760 if test $ac_cv_type_off_t = no
; then
9761 cat >> confdefs.h
<<\EOF
9767 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9768 echo "configure:9769: checking for pid_t" >&5
9769 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9770 echo $ac_n "(cached) $ac_c" 1>&6
9772 cat > conftest.
$ac_ext <<EOF
9773 #line 9774 "configure"
9774 #include "confdefs.h"
9775 #include <sys/types.h>
9781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9782 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9784 ac_cv_type_pid_t
=yes
9792 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9793 if test $ac_cv_type_pid_t = no
; then
9794 cat >> confdefs.h
<<\EOF
9800 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9801 echo "configure:9802: checking for size_t" >&5
9802 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 cat > conftest.
$ac_ext <<EOF
9806 #line 9807 "configure"
9807 #include "confdefs.h"
9808 #include <sys/types.h>
9814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9815 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9817 ac_cv_type_size_t
=yes
9820 ac_cv_type_size_t
=no
9825 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9826 if test $ac_cv_type_size_t = no
; then
9827 cat >> confdefs.h
<<\EOF
9828 #define size_t unsigned
9833 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9834 echo "configure:9835: checking for uid_t in sys/types.h" >&5
9835 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9836 echo $ac_n "(cached) $ac_c" 1>&6
9838 cat > conftest.
$ac_ext <<EOF
9839 #line 9840 "configure"
9840 #include "confdefs.h"
9841 #include <sys/types.h>
9843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9844 egrep "uid_t" >/dev
/null
2>&1; then
9846 ac_cv_type_uid_t
=yes
9855 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9856 if test $ac_cv_type_uid_t = no
; then
9857 cat >> confdefs.h
<<\EOF
9861 cat >> confdefs.h
<<\EOF
9869 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9870 echo "configure:9871: checking for pw_gecos in struct passwd" >&5
9871 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9875 cat > conftest.
$ac_ext <<EOF
9876 #line 9877 "configure"
9877 #include "confdefs.h"
9887 if { (eval echo configure
:9888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9890 wx_cv_struct_pw_gecos
=yes
9893 echo "configure: failed program was:" >&5
9894 cat conftest.
$ac_ext >&5
9897 wx_cv_struct_pw_gecos
=no
9906 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9908 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9909 cat >> confdefs.h
<<\EOF
9910 #define HAVE_PW_GECOS 1
9916 echo $ac_n "checking for working const""... $ac_c" 1>&6
9917 echo "configure:9918: checking for working const" >&5
9918 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9919 echo $ac_n "(cached) $ac_c" 1>&6
9921 cat > conftest.
$ac_ext <<EOF
9922 #line 9923 "configure"
9923 #include "confdefs.h"
9927 /* Ultrix mips cc rejects this. */
9928 typedef int charset[2]; const charset x;
9929 /* SunOS 4.1.1 cc rejects this. */
9930 char const *const *ccp;
9932 /* NEC SVR4.0.2 mips cc rejects this. */
9933 struct point {int x, y;};
9934 static struct point const zero = {0,0};
9935 /* AIX XL C 1.02.0.0 rejects this.
9936 It does not let you subtract one const X* pointer from another in an arm
9937 of an if-expression whose if-part is not a constant expression */
9938 const char *g = "string";
9939 ccp = &g + (g ? g-g : 0);
9940 /* HPUX 7.0 cc rejects these. */
9943 ccp = (char const *const *) p;
9944 { /* SCO 3.2v4 cc rejects this. */
9946 char const *s = 0 ? (char *) 0 : (char const *) 0;
9950 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9952 const int *foo = &x[0];
9955 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9956 typedef const int *iptr;
9960 { /* AIX XL C 1.02.0.0 rejects this saying
9961 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9962 struct s { int j; const int *ap[3]; };
9963 struct s *b; b->j = 5;
9965 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9971 if { (eval echo configure
:9972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9975 echo "configure: failed program was:" >&5
9976 cat conftest.
$ac_ext >&5
9983 echo "$ac_t""$ac_cv_c_const" 1>&6
9984 if test $ac_cv_c_const = no
; then
9985 cat >> confdefs.h
<<\EOF
9991 echo $ac_n "checking for inline""... $ac_c" 1>&6
9992 echo "configure:9993: checking for inline" >&5
9993 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9994 echo $ac_n "(cached) $ac_c" 1>&6
9997 for ac_kw
in inline __inline__ __inline
; do
9998 cat > conftest.
$ac_ext <<EOF
9999 #line 10000 "configure"
10000 #include "confdefs.h"
10006 if { (eval echo configure
:10007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10008 ac_cv_c_inline
=$ac_kw; break
10010 echo "configure: failed program was:" >&5
10011 cat conftest.
$ac_ext >&5
10018 echo "$ac_t""$ac_cv_c_inline" 1>&6
10019 case "$ac_cv_c_inline" in
10021 no
) cat >> confdefs.h
<<\EOF
10025 *) cat >> confdefs.h
<<EOF
10026 #define inline $ac_cv_c_inline
10032 echo $ac_n "checking size of char""... $ac_c" 1>&6
10033 echo "configure:10034: checking size of char" >&5
10034 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10035 echo $ac_n "(cached) $ac_c" 1>&6
10037 if test "$cross_compiling" = yes; then
10038 ac_cv_sizeof_char
=1
10040 cat > conftest.
$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10046 FILE *f=fopen("conftestval", "w");
10048 fprintf(f, "%d\n", sizeof(char));
10052 if { (eval echo configure
:10053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10054 ac_cv_sizeof_char
=`cat conftestval`
10056 echo "configure: failed program was:" >&5
10057 cat conftest.
$ac_ext >&5
10059 ac_cv_sizeof_char
=0
10065 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10066 cat >> confdefs.h
<<EOF
10067 #define SIZEOF_CHAR $ac_cv_sizeof_char
10071 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10072 echo "configure:10073: checking size of wchar_t" >&5
10073 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10074 echo $ac_n "(cached) $ac_c" 1>&6
10076 if test "$cross_compiling" = yes; then
10077 ac_cv_sizeof_wchar_t
=4
10079 cat > conftest.
$ac_ext <<EOF
10080 #line 10081 "configure"
10081 #include "confdefs.h"
10085 FILE *f=fopen("conftestval", "w");
10087 fprintf(f, "%d\n", sizeof(wchar_t));
10091 if { (eval echo configure
:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10093 ac_cv_sizeof_wchar_t
=`cat conftestval`
10095 echo "configure: failed program was:" >&5
10096 cat conftest.
$ac_ext >&5
10098 ac_cv_sizeof_wchar_t
=0
10104 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10105 cat >> confdefs.h
<<EOF
10106 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10110 echo $ac_n "checking size of short""... $ac_c" 1>&6
10111 echo "configure:10112: checking size of short" >&5
10112 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10113 echo $ac_n "(cached) $ac_c" 1>&6
10115 if test "$cross_compiling" = yes; then
10116 ac_cv_sizeof_short
=2
10118 cat > conftest.
$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10124 FILE *f=fopen("conftestval", "w");
10126 fprintf(f, "%d\n", sizeof(short));
10130 if { (eval echo configure
:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10132 ac_cv_sizeof_short
=`cat conftestval`
10134 echo "configure: failed program was:" >&5
10135 cat conftest.
$ac_ext >&5
10137 ac_cv_sizeof_short
=0
10143 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10144 cat >> confdefs.h
<<EOF
10145 #define SIZEOF_SHORT $ac_cv_sizeof_short
10149 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10150 echo "configure:10151: checking size of int *" >&5
10151 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10152 echo $ac_n "(cached) $ac_c" 1>&6
10154 if test "$cross_compiling" = yes; then
10155 ac_cv_sizeof_int_p
=4
10157 cat > conftest.
$ac_ext <<EOF
10158 #line 10159 "configure"
10159 #include "confdefs.h"
10163 FILE *f=fopen("conftestval", "w");
10165 fprintf(f, "%d\n", sizeof(int *));
10169 if { (eval echo configure
:10170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10171 ac_cv_sizeof_int_p
=`cat conftestval`
10173 echo "configure: failed program was:" >&5
10174 cat conftest.
$ac_ext >&5
10176 ac_cv_sizeof_int_p
=0
10182 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10183 cat >> confdefs.h
<<EOF
10184 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10188 echo $ac_n "checking size of int""... $ac_c" 1>&6
10189 echo "configure:10190: checking size of int" >&5
10190 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10191 echo $ac_n "(cached) $ac_c" 1>&6
10193 if test "$cross_compiling" = yes; then
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10202 FILE *f=fopen("conftestval", "w");
10204 fprintf(f, "%d\n", sizeof(int));
10208 if { (eval echo configure
:10209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10210 ac_cv_sizeof_int
=`cat conftestval`
10212 echo "configure: failed program was:" >&5
10213 cat conftest.
$ac_ext >&5
10221 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10222 cat >> confdefs.h
<<EOF
10223 #define SIZEOF_INT $ac_cv_sizeof_int
10227 echo $ac_n "checking size of long""... $ac_c" 1>&6
10228 echo "configure:10229: checking size of long" >&5
10229 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10230 echo $ac_n "(cached) $ac_c" 1>&6
10232 if test "$cross_compiling" = yes; then
10233 ac_cv_sizeof_long
=4
10235 cat > conftest.
$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10241 FILE *f=fopen("conftestval", "w");
10243 fprintf(f, "%d\n", sizeof(long));
10247 if { (eval echo configure
:10248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10249 ac_cv_sizeof_long
=`cat conftestval`
10251 echo "configure: failed program was:" >&5
10252 cat conftest.
$ac_ext >&5
10254 ac_cv_sizeof_long
=0
10260 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10261 cat >> confdefs.h
<<EOF
10262 #define SIZEOF_LONG $ac_cv_sizeof_long
10266 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10267 echo "configure:10268: checking size of long long" >&5
10268 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10269 echo $ac_n "(cached) $ac_c" 1>&6
10271 if test "$cross_compiling" = yes; then
10272 ac_cv_sizeof_long_long
=0
10274 cat > conftest.
$ac_ext <<EOF
10275 #line 10276 "configure"
10276 #include "confdefs.h"
10280 FILE *f=fopen("conftestval", "w");
10282 fprintf(f, "%d\n", sizeof(long long));
10286 if { (eval echo configure
:10287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10288 ac_cv_sizeof_long_long
=`cat conftestval`
10290 echo "configure: failed program was:" >&5
10291 cat conftest.
$ac_ext >&5
10293 ac_cv_sizeof_long_long
=0
10299 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10300 cat >> confdefs.h
<<EOF
10301 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10306 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10307 echo "configure:10308: checking whether byte ordering is bigendian" >&5
10308 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10311 ac_cv_c_bigendian
=unknown
10312 # See if sys/param.h defines the BYTE_ORDER macro.
10313 cat > conftest.
$ac_ext <<EOF
10314 #line 10315 "configure"
10315 #include "confdefs.h"
10316 #include <sys/types.h>
10317 #include <sys/param.h>
10320 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10321 bogus endian macros
10325 if { (eval echo configure
:10326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10327 # It does; now see whether it defined to BIG_ENDIAN or not.
10328 cat > conftest.
$ac_ext <<EOF
10329 #line 10330 "configure"
10330 #include "confdefs.h"
10331 #include <sys/types.h>
10332 #include <sys/param.h>
10335 #if BYTE_ORDER != BIG_ENDIAN
10340 if { (eval echo configure
:10341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10342 ac_cv_c_bigendian
=yes
10344 echo "configure: failed program was:" >&5
10345 cat conftest.
$ac_ext >&5
10347 ac_cv_c_bigendian
=no
10351 echo "configure: failed program was:" >&5
10352 cat conftest.
$ac_ext >&5
10355 if test $ac_cv_c_bigendian = unknown
; then
10356 if test "$cross_compiling" = yes; then
10357 ac_cv_c_bigendian
=unknown
10359 cat > conftest.
$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10363 /* Are we little or big endian? From Harbison&Steele. */
10367 char c[sizeof (long)];
10370 exit (u.c[sizeof (long) - 1] == 1);
10373 if { (eval echo configure
:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10375 ac_cv_c_bigendian
=no
10377 echo "configure: failed program was:" >&5
10378 cat conftest.
$ac_ext >&5
10380 ac_cv_c_bigendian
=yes
10388 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10389 if test $ac_cv_c_bigendian = unknown
; then
10390 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
10392 if test $ac_cv_c_bigendian = yes; then
10393 cat >> confdefs.h
<<\EOF
10394 #define WORDS_BIGENDIAN 1
10401 if test "$cross_compiling" = "yes"; then
10402 cat >> confdefs.h
<<\EOF
10403 #define wxUSE_IOSTREAMH 1
10409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10410 ac_cpp
='$CXXCPP $CPPFLAGS'
10411 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10412 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10413 cross_compiling
=$ac_cv_prog_cxx_cross
10416 for ac_hdr
in iostream
10418 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10420 echo "configure:10421: checking for $ac_hdr" >&5
10421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10422 echo $ac_n "(cached) $ac_c" 1>&6
10424 cat > conftest.
$ac_ext <<EOF
10425 #line 10426 "configure"
10426 #include "confdefs.h"
10429 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10430 { (eval echo configure
:10431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10431 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10432 if test -z "$ac_err"; then
10434 eval "ac_cv_header_$ac_safe=yes"
10437 echo "configure: failed program was:" >&5
10438 cat conftest.
$ac_ext >&5
10440 eval "ac_cv_header_$ac_safe=no"
10444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10445 echo "$ac_t""yes" 1>&6
10446 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10447 cat >> confdefs.h
<<EOF
10448 #define $ac_tr_hdr 1
10452 echo "$ac_t""no" 1>&6
10457 if test "x$HAVE_IOSTREAM" = x
; then
10458 cat >> confdefs.h
<<\EOF
10459 #define wxUSE_IOSTREAMH 1
10467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10468 ac_cpp
='$CPP $CPPFLAGS'
10469 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10470 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10471 cross_compiling
=$ac_cv_prog_cc_cross
10477 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10478 echo "configure:10479: checking if C++ compiler supports bool" >&5
10479 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10480 echo $ac_n "(cached) $ac_c" 1>&6
10485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10486 ac_cpp
='$CXXCPP $CPPFLAGS'
10487 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10488 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10489 cross_compiling
=$ac_cv_prog_cxx_cross
10492 cat > conftest.
$ac_ext <<EOF
10493 #line 10494 "configure"
10494 #include "confdefs.h"
10505 if { (eval echo configure
:10506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10508 cat >> confdefs.h
<<\EOF
10509 #define HAVE_BOOL 1
10515 echo "configure: failed program was:" >&5
10516 cat conftest.
$ac_ext >&5
10526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10527 ac_cpp
='$CPP $CPPFLAGS'
10528 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10529 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10530 cross_compiling
=$ac_cv_prog_cc_cross
10535 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10537 if test "$wx_cv_cpp_bool" = "yes"; then
10538 cat >> confdefs.h
<<\EOF
10539 #define HAVE_BOOL 1
10546 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10547 echo "configure:10548: checking if you need GNU extensions" >&5
10548 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10549 echo $ac_n "(cached) $ac_c" 1>&6
10552 cat > conftest.
$ac_ext <<EOF
10553 #line 10554 "configure"
10554 #include "confdefs.h"
10555 #include <features.h>
10559 #ifndef __GNU_LIBRARY__
10560 Compile error wanted
10566 if { (eval echo configure
:10567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10568 wx_cv_gnu_extensions
=yes
10570 echo "configure: failed program was:" >&5
10571 cat conftest.
$ac_ext >&5
10573 wx_cv_gnu_extensions
=no
10580 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10581 if test "$wx_cv_gnu_extensions" = "yes"; then
10582 cat >> confdefs.h
<<EOF
10583 #define _GNU_SOURCE 1
10590 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10591 echo "configure:10592: checking for wcslen in -lc" >&5
10592 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 ac_save_LIBS
="$LIBS"
10598 cat > conftest.
$ac_ext <<EOF
10599 #line 10600 "configure"
10600 #include "confdefs.h"
10601 /* Override any gcc2 internal prototype to avoid an error. */
10602 /* We use char because int might match the return type of a gcc2
10603 builtin and then its argument prototype would still apply. */
10610 if { (eval echo configure
:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10612 eval "ac_cv_lib_$ac_lib_var=yes"
10614 echo "configure: failed program was:" >&5
10615 cat conftest.
$ac_ext >&5
10617 eval "ac_cv_lib_$ac_lib_var=no"
10620 LIBS
="$ac_save_LIBS"
10623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10624 echo "$ac_t""yes" 1>&6
10626 cat >> confdefs.h
<<\EOF
10627 #define HAVE_WCSLEN 1
10633 echo "$ac_t""no" 1>&6
10635 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10636 echo "configure:10637: checking for wcslen in -lw" >&5
10637 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10639 echo $ac_n "(cached) $ac_c" 1>&6
10641 ac_save_LIBS
="$LIBS"
10643 cat > conftest.
$ac_ext <<EOF
10644 #line 10645 "configure"
10645 #include "confdefs.h"
10646 /* Override any gcc2 internal prototype to avoid an error. */
10647 /* We use char because int might match the return type of a gcc2
10648 builtin and then its argument prototype would still apply. */
10655 if { (eval echo configure
:10656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10657 eval "ac_cv_lib_$ac_lib_var=yes"
10659 echo "configure: failed program was:" >&5
10660 cat conftest.
$ac_ext >&5
10662 eval "ac_cv_lib_$ac_lib_var=no"
10665 LIBS
="$ac_save_LIBS"
10668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10669 echo "$ac_t""yes" 1>&6
10671 cat >> confdefs.h
<<\EOF
10672 #define HAVE_WCSLEN 1
10678 echo "$ac_t""no" 1>&6
10685 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10686 echo "configure:10687: checking for vprintf" >&5
10687 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10688 echo $ac_n "(cached) $ac_c" 1>&6
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10693 /* System header to define __stub macros and hopefully few prototypes,
10694 which can conflict with char vprintf(); below. */
10695 #include <assert.h>
10696 /* Override any gcc2 internal prototype to avoid an error. */
10697 /* We use char because int might match the return type of a gcc2
10698 builtin and then its argument prototype would still apply. */
10703 /* The GNU C library defines this for functions which it implements
10704 to always fail with ENOSYS. Some functions are actually named
10705 something starting with __ and the normal name is an alias. */
10706 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10714 if { (eval echo configure
:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10716 eval "ac_cv_func_vprintf=yes"
10718 echo "configure: failed program was:" >&5
10719 cat conftest.
$ac_ext >&5
10721 eval "ac_cv_func_vprintf=no"
10726 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10727 echo "$ac_t""yes" 1>&6
10728 cat >> confdefs.h
<<\EOF
10729 #define HAVE_VPRINTF 1
10733 echo "$ac_t""no" 1>&6
10736 if test "$ac_cv_func_vprintf" != yes; then
10737 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10738 echo "configure:10739: checking for _doprnt" >&5
10739 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10740 echo $ac_n "(cached) $ac_c" 1>&6
10742 cat > conftest.
$ac_ext <<EOF
10743 #line 10744 "configure"
10744 #include "confdefs.h"
10745 /* System header to define __stub macros and hopefully few prototypes,
10746 which can conflict with char _doprnt(); below. */
10747 #include <assert.h>
10748 /* Override any gcc2 internal prototype to avoid an error. */
10749 /* We use char because int might match the return type of a gcc2
10750 builtin and then its argument prototype would still apply. */
10755 /* The GNU C library defines this for functions which it implements
10756 to always fail with ENOSYS. Some functions are actually named
10757 something starting with __ and the normal name is an alias. */
10758 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10766 if { (eval echo configure
:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10768 eval "ac_cv_func__doprnt=yes"
10770 echo "configure: failed program was:" >&5
10771 cat conftest.
$ac_ext >&5
10773 eval "ac_cv_func__doprnt=no"
10778 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10779 echo "$ac_t""yes" 1>&6
10780 cat >> confdefs.h
<<\EOF
10781 #define HAVE_DOPRNT 1
10785 echo "$ac_t""no" 1>&6
10793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10794 ac_cpp
='$CXXCPP $CPPFLAGS'
10795 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10796 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10797 cross_compiling
=$ac_cv_prog_cxx_cross
10802 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10803 echo "configure:10804: checking for vsnprintf" >&5
10804 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10805 echo $ac_n "(cached) $ac_c" 1>&6
10808 cat > conftest.
$ac_ext <<EOF
10809 #line 10810 "configure"
10810 #include "confdefs.h"
10813 #include <stdarg.h>
10817 int wx_test_vsnprintf(const char *, ...);
10819 wx_test_vsnprintf("%s");
10823 int wx_test_vsnprintf(const char *fmt, ...)
10828 va_start(argp, fmt);
10829 vsnprintf(s, 42, fmt, argp);
10834 if { (eval echo configure
:10835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10837 cat >> confdefs.h
<<\EOF
10838 #define HAVE_VSNPRINTF 1
10841 wx_cv_func_vsnprintf
=yes
10844 echo "configure: failed program was:" >&5
10845 cat conftest.
$ac_ext >&5
10848 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10849 wx_cv_func_vsnprintf
=no
10856 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10858 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10859 echo "configure:10860: checking for vsscanf" >&5
10860 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10864 cat > conftest.
$ac_ext <<EOF
10865 #line 10866 "configure"
10866 #include "confdefs.h"
10869 #include <stdarg.h>
10873 int wx_test_vsscanf(const char *, ...);
10875 wx_test_vsscanf("%d");
10879 int wx_test_vsscanf(const char *fmt, ...)
10882 va_start(argp, fmt);
10883 vsscanf("42", fmt, argp);
10888 if { (eval echo configure
:10889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10891 cat >> confdefs.h
<<\EOF
10892 #define HAVE_VSSCANF 1
10895 wx_cv_func_vsscanf
=yes
10898 echo "configure: failed program was:" >&5
10899 cat conftest.
$ac_ext >&5
10902 wx_cv_func_vsscanf
=no
10909 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10913 ac_cpp
='$CPP $CPPFLAGS'
10914 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10915 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10916 cross_compiling
=$ac_cv_prog_cc_cross
10919 if test "$TOOLKIT" != "MSW"; then
10921 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
10922 for ac_func
in sigaction
10924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10925 echo "configure:10926: checking for $ac_func" >&5
10926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10927 echo $ac_n "(cached) $ac_c" 1>&6
10929 cat > conftest.
$ac_ext <<EOF
10930 #line 10931 "configure"
10931 #include "confdefs.h"
10932 /* System header to define __stub macros and hopefully few prototypes,
10933 which can conflict with char $ac_func(); below. */
10934 #include <assert.h>
10935 /* Override any gcc2 internal prototype to avoid an error. */
10936 /* We use char because int might match the return type of a gcc2
10937 builtin and then its argument prototype would still apply. */
10942 /* The GNU C library defines this for functions which it implements
10943 to always fail with ENOSYS. Some functions are actually named
10944 something starting with __ and the normal name is an alias. */
10945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10953 if { (eval echo configure
:10954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10955 eval "ac_cv_func_$ac_func=yes"
10957 echo "configure: failed program was:" >&5
10958 cat conftest.
$ac_ext >&5
10960 eval "ac_cv_func_$ac_func=no"
10965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10966 echo "$ac_t""yes" 1>&6
10967 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10968 cat >> confdefs.h
<<EOF
10969 #define $ac_tr_func 1
10973 echo "$ac_t""no" 1>&6
10978 if test "$ac_cv_func_sigaction" = "no"; then
10979 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
10980 wxUSE_ON_FATAL_EXCEPTION
=no
10983 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
10986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10987 ac_cpp
='$CXXCPP $CPPFLAGS'
10988 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10989 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10990 cross_compiling
=$ac_cv_prog_cxx_cross
10993 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
10994 echo "configure:10995: checking for sa_handler type" >&5
10995 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
10996 echo $ac_n "(cached) $ac_c" 1>&6
10999 cat > conftest.
$ac_ext <<EOF
11000 #line 11001 "configure"
11001 #include "confdefs.h"
11002 #include <signal.h>
11005 extern void testSigHandler(int);
11007 struct sigaction sa;
11008 sa.sa_handler = testSigHandler;
11012 if { (eval echo configure
:11013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11015 wx_cv_type_sa_handler
=int
11018 echo "configure: failed program was:" >&5
11019 cat conftest.
$ac_ext >&5
11022 wx_cv_type_sa_handler
=void
11029 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11033 ac_cpp
='$CPP $CPPFLAGS'
11034 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11035 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11036 cross_compiling
=$ac_cv_prog_cc_cross
11039 cat >> confdefs.h
<<EOF
11040 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11046 for ac_func
in vfork
11048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11049 echo "configure:11050: checking for $ac_func" >&5
11050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11051 echo $ac_n "(cached) $ac_c" 1>&6
11053 cat > conftest.
$ac_ext <<EOF
11054 #line 11055 "configure"
11055 #include "confdefs.h"
11056 /* System header to define __stub macros and hopefully few prototypes,
11057 which can conflict with char $ac_func(); below. */
11058 #include <assert.h>
11059 /* Override any gcc2 internal prototype to avoid an error. */
11060 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */
11066 /* The GNU C library defines this for functions which it implements
11067 to always fail with ENOSYS. Some functions are actually named
11068 something starting with __ and the normal name is an alias. */
11069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11077 if { (eval echo configure
:11078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11079 eval "ac_cv_func_$ac_func=yes"
11081 echo "configure: failed program was:" >&5
11082 cat conftest.
$ac_ext >&5
11084 eval "ac_cv_func_$ac_func=no"
11089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11090 echo "$ac_t""yes" 1>&6
11091 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11092 cat >> confdefs.h
<<EOF
11093 #define $ac_tr_func 1
11097 echo "$ac_t""no" 1>&6
11102 for ac_func
in timegm
11104 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11105 echo "configure:11106: checking for $ac_func" >&5
11106 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11107 echo $ac_n "(cached) $ac_c" 1>&6
11109 cat > conftest.
$ac_ext <<EOF
11110 #line 11111 "configure"
11111 #include "confdefs.h"
11112 /* System header to define __stub macros and hopefully few prototypes,
11113 which can conflict with char $ac_func(); below. */
11114 #include <assert.h>
11115 /* Override any gcc2 internal prototype to avoid an error. */
11116 /* We use char because int might match the return type of a gcc2
11117 builtin and then its argument prototype would still apply. */
11122 /* The GNU C library defines this for functions which it implements
11123 to always fail with ENOSYS. Some functions are actually named
11124 something starting with __ and the normal name is an alias. */
11125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11133 if { (eval echo configure
:11134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11135 eval "ac_cv_func_$ac_func=yes"
11137 echo "configure: failed program was:" >&5
11138 cat conftest.
$ac_ext >&5
11140 eval "ac_cv_func_$ac_func=no"
11145 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11146 echo "$ac_t""yes" 1>&6
11147 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11148 cat >> confdefs.h
<<EOF
11149 #define $ac_tr_func 1
11153 echo "$ac_t""no" 1>&6
11158 for ac_func
in putenv setenv
11160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11161 echo "configure:11162: checking for $ac_func" >&5
11162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11163 echo $ac_n "(cached) $ac_c" 1>&6
11165 cat > conftest.
$ac_ext <<EOF
11166 #line 11167 "configure"
11167 #include "confdefs.h"
11168 /* System header to define __stub macros and hopefully few prototypes,
11169 which can conflict with char $ac_func(); below. */
11170 #include <assert.h>
11171 /* Override any gcc2 internal prototype to avoid an error. */
11172 /* We use char because int might match the return type of a gcc2
11173 builtin and then its argument prototype would still apply. */
11178 /* The GNU C library defines this for functions which it implements
11179 to always fail with ENOSYS. Some functions are actually named
11180 something starting with __ and the normal name is an alias. */
11181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11189 if { (eval echo configure
:11190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11191 eval "ac_cv_func_$ac_func=yes"
11193 echo "configure: failed program was:" >&5
11194 cat conftest.
$ac_ext >&5
11196 eval "ac_cv_func_$ac_func=no"
11201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11202 echo "$ac_t""yes" 1>&6
11203 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11204 cat >> confdefs.h
<<EOF
11205 #define $ac_tr_func 1
11209 echo "$ac_t""no" 1>&6
11214 HAVE_SOME_SLEEP_FUNC
=0
11215 if test "$USE_BEOS" = 1; then
11216 cat >> confdefs.h
<<\EOF
11217 #define HAVE_SLEEP 1
11220 HAVE_SOME_SLEEP_FUNC
=1
11223 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11225 for ac_func
in nanosleep
11227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11228 echo "configure:11229: checking for $ac_func" >&5
11229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11230 echo $ac_n "(cached) $ac_c" 1>&6
11232 cat > conftest.
$ac_ext <<EOF
11233 #line 11234 "configure"
11234 #include "confdefs.h"
11235 /* System header to define __stub macros and hopefully few prototypes,
11236 which can conflict with char $ac_func(); below. */
11237 #include <assert.h>
11238 /* Override any gcc2 internal prototype to avoid an error. */
11239 /* We use char because int might match the return type of a gcc2
11240 builtin and then its argument prototype would still apply. */
11245 /* The GNU C library defines this for functions which it implements
11246 to always fail with ENOSYS. Some functions are actually named
11247 something starting with __ and the normal name is an alias. */
11248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11256 if { (eval echo configure
:11257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11258 eval "ac_cv_func_$ac_func=yes"
11260 echo "configure: failed program was:" >&5
11261 cat conftest.
$ac_ext >&5
11263 eval "ac_cv_func_$ac_func=no"
11268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11269 echo "$ac_t""yes" 1>&6
11270 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11271 cat >> confdefs.h
<<EOF
11272 #define $ac_tr_func 1
11274 cat >> confdefs.h
<<\EOF
11275 #define HAVE_NANOSLEEP 1
11279 echo "$ac_t""no" 1>&6
11280 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11281 echo "configure:11282: checking for nanosleep in -lposix4" >&5
11282 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11284 echo $ac_n "(cached) $ac_c" 1>&6
11286 ac_save_LIBS
="$LIBS"
11287 LIBS
="-lposix4 $LIBS"
11288 cat > conftest.
$ac_ext <<EOF
11289 #line 11290 "configure"
11290 #include "confdefs.h"
11291 /* Override any gcc2 internal prototype to avoid an error. */
11292 /* We use char because int might match the return type of a gcc2
11293 builtin and then its argument prototype would still apply. */
11300 if { (eval echo configure
:11301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11302 eval "ac_cv_lib_$ac_lib_var=yes"
11304 echo "configure: failed program was:" >&5
11305 cat conftest.
$ac_ext >&5
11307 eval "ac_cv_lib_$ac_lib_var=no"
11310 LIBS
="$ac_save_LIBS"
11313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11314 echo "$ac_t""yes" 1>&6
11316 cat >> confdefs.h
<<\EOF
11317 #define HAVE_NANOSLEEP 1
11320 POSIX4_LINK
="-lposix4"
11323 echo "$ac_t""no" 1>&6
11325 for ac_func
in usleep
11327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11328 echo "configure:11329: checking for $ac_func" >&5
11329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11330 echo $ac_n "(cached) $ac_c" 1>&6
11332 cat > conftest.
$ac_ext <<EOF
11333 #line 11334 "configure"
11334 #include "confdefs.h"
11335 /* System header to define __stub macros and hopefully few prototypes,
11336 which can conflict with char $ac_func(); below. */
11337 #include <assert.h>
11338 /* Override any gcc2 internal prototype to avoid an error. */
11339 /* We use char because int might match the return type of a gcc2
11340 builtin and then its argument prototype would still apply. */
11345 /* The GNU C library defines this for functions which it implements
11346 to always fail with ENOSYS. Some functions are actually named
11347 something starting with __ and the normal name is an alias. */
11348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11356 if { (eval echo configure
:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11358 eval "ac_cv_func_$ac_func=yes"
11360 echo "configure: failed program was:" >&5
11361 cat conftest.
$ac_ext >&5
11363 eval "ac_cv_func_$ac_func=no"
11368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11369 echo "$ac_t""yes" 1>&6
11370 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11371 cat >> confdefs.h
<<EOF
11372 #define $ac_tr_func 1
11376 echo "$ac_t""no" 1>&6
11380 echo "configure: warning: wxSleep() function will not work" 1>&2
11392 for ac_func
in uname gethostname
11394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11395 echo "configure:11396: checking for $ac_func" >&5
11396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11397 echo $ac_n "(cached) $ac_c" 1>&6
11399 cat > conftest.
$ac_ext <<EOF
11400 #line 11401 "configure"
11401 #include "confdefs.h"
11402 /* System header to define __stub macros and hopefully few prototypes,
11403 which can conflict with char $ac_func(); below. */
11404 #include <assert.h>
11405 /* Override any gcc2 internal prototype to avoid an error. */
11406 /* We use char because int might match the return type of a gcc2
11407 builtin and then its argument prototype would still apply. */
11412 /* The GNU C library defines this for functions which it implements
11413 to always fail with ENOSYS. Some functions are actually named
11414 something starting with __ and the normal name is an alias. */
11415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11423 if { (eval echo configure
:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11425 eval "ac_cv_func_$ac_func=yes"
11427 echo "configure: failed program was:" >&5
11428 cat conftest.
$ac_ext >&5
11430 eval "ac_cv_func_$ac_func=no"
11435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11436 echo "$ac_t""yes" 1>&6
11437 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11438 cat >> confdefs.h
<<EOF
11439 #define $ac_tr_func 1
11443 echo "$ac_t""no" 1>&6
11450 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp
='$CXXCPP $CPPFLAGS'
11452 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling
=$ac_cv_prog_cxx_cross
11457 for ac_func
in strtok_r
11459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11460 echo "configure:11461: checking for $ac_func" >&5
11461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11462 echo $ac_n "(cached) $ac_c" 1>&6
11464 cat > conftest.
$ac_ext <<EOF
11465 #line 11466 "configure"
11466 #include "confdefs.h"
11467 /* System header to define __stub macros and hopefully few prototypes,
11468 which can conflict with char $ac_func(); below. */
11469 #include <assert.h>
11470 /* Override any gcc2 internal prototype to avoid an error. */
11474 /* We use char because int might match the return type of a gcc2
11475 builtin and then its argument prototype would still apply. */
11480 /* The GNU C library defines this for functions which it implements
11481 to always fail with ENOSYS. Some functions are actually named
11482 something starting with __ and the normal name is an alias. */
11483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11491 if { (eval echo configure
:11492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11493 eval "ac_cv_func_$ac_func=yes"
11495 echo "configure: failed program was:" >&5
11496 cat conftest.
$ac_ext >&5
11498 eval "ac_cv_func_$ac_func=no"
11503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11504 echo "$ac_t""yes" 1>&6
11505 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11506 cat >> confdefs.h
<<EOF
11507 #define $ac_tr_func 1
11511 echo "$ac_t""no" 1>&6
11517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp
='$CPP $CPPFLAGS'
11519 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling
=$ac_cv_prog_cc_cross
11525 for ac_func
in inet_addr
11527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11528 echo "configure:11529: checking for $ac_func" >&5
11529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11530 echo $ac_n "(cached) $ac_c" 1>&6
11532 cat > conftest.
$ac_ext <<EOF
11533 #line 11534 "configure"
11534 #include "confdefs.h"
11535 /* System header to define __stub macros and hopefully few prototypes,
11536 which can conflict with char $ac_func(); below. */
11537 #include <assert.h>
11538 /* Override any gcc2 internal prototype to avoid an error. */
11539 /* We use char because int might match the return type of a gcc2
11540 builtin and then its argument prototype would still apply. */
11545 /* The GNU C library defines this for functions which it implements
11546 to always fail with ENOSYS. Some functions are actually named
11547 something starting with __ and the normal name is an alias. */
11548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11556 if { (eval echo configure
:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11558 eval "ac_cv_func_$ac_func=yes"
11560 echo "configure: failed program was:" >&5
11561 cat conftest.
$ac_ext >&5
11563 eval "ac_cv_func_$ac_func=no"
11568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11569 echo "$ac_t""yes" 1>&6
11570 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11571 cat >> confdefs.h
<<EOF
11572 #define $ac_tr_func 1
11574 cat >> confdefs.h
<<\EOF
11575 #define HAVE_INET_ADDR 1
11579 echo "$ac_t""no" 1>&6
11580 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11581 echo "configure:11582: checking for inet_addr in -lnsl" >&5
11582 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11584 echo $ac_n "(cached) $ac_c" 1>&6
11586 ac_save_LIBS
="$LIBS"
11588 cat > conftest.
$ac_ext <<EOF
11589 #line 11590 "configure"
11590 #include "confdefs.h"
11591 /* Override any gcc2 internal prototype to avoid an error. */
11592 /* We use char because int might match the return type of a gcc2
11593 builtin and then its argument prototype would still apply. */
11600 if { (eval echo configure
:11601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11602 eval "ac_cv_lib_$ac_lib_var=yes"
11604 echo "configure: failed program was:" >&5
11605 cat conftest.
$ac_ext >&5
11607 eval "ac_cv_lib_$ac_lib_var=no"
11610 LIBS
="$ac_save_LIBS"
11613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11614 echo "$ac_t""yes" 1>&6
11617 echo "$ac_t""no" 1>&6
11618 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11619 echo "configure:11620: checking for inet_addr in -lresolv" >&5
11620 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11621 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11622 echo $ac_n "(cached) $ac_c" 1>&6
11624 ac_save_LIBS
="$LIBS"
11625 LIBS
="-lresolv $LIBS"
11626 cat > conftest.
$ac_ext <<EOF
11627 #line 11628 "configure"
11628 #include "confdefs.h"
11629 /* Override any gcc2 internal prototype to avoid an error. */
11630 /* We use char because int might match the return type of a gcc2
11631 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
11642 echo "configure: failed program was:" >&5
11643 cat conftest.
$ac_ext >&5
11645 eval "ac_cv_lib_$ac_lib_var=no"
11648 LIBS
="$ac_save_LIBS"
11651 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11652 echo "$ac_t""yes" 1>&6
11656 echo "$ac_t""no" 1>&6
11668 for ac_func
in inet_aton
11670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11671 echo "configure:11672: checking for $ac_func" >&5
11672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11673 echo $ac_n "(cached) $ac_c" 1>&6
11675 cat > conftest.
$ac_ext <<EOF
11676 #line 11677 "configure"
11677 #include "confdefs.h"
11678 /* System header to define __stub macros and hopefully few prototypes,
11679 which can conflict with char $ac_func(); below. */
11680 #include <assert.h>
11681 /* Override any gcc2 internal prototype to avoid an error. */
11682 /* We use char because int might match the return type of a gcc2
11683 builtin and then its argument prototype would still apply. */
11688 /* The GNU C library defines this for functions which it implements
11689 to always fail with ENOSYS. Some functions are actually named
11690 something starting with __ and the normal name is an alias. */
11691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11699 if { (eval echo configure
:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11701 eval "ac_cv_func_$ac_func=yes"
11703 echo "configure: failed program was:" >&5
11704 cat conftest.
$ac_ext >&5
11706 eval "ac_cv_func_$ac_func=no"
11711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11712 echo "$ac_t""yes" 1>&6
11713 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11714 cat >> confdefs.h
<<EOF
11715 #define $ac_tr_func 1
11717 cat >> confdefs.h
<<\EOF
11718 #define HAVE_INET_ATON 1
11722 echo "$ac_t""no" 1>&6
11723 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11724 echo "configure:11725: checking for inet_aton in -l$INET_LINK" >&5
11725 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11727 echo $ac_n "(cached) $ac_c" 1>&6
11729 ac_save_LIBS
="$LIBS"
11730 LIBS
="-l$INET_LINK $LIBS"
11731 cat > conftest.
$ac_ext <<EOF
11732 #line 11733 "configure"
11733 #include "confdefs.h"
11734 /* Override any gcc2 internal prototype to avoid an error. */
11735 /* We use char because int might match the return type of a gcc2
11736 builtin and then its argument prototype would still apply. */
11743 if { (eval echo configure
:11744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11745 eval "ac_cv_lib_$ac_lib_var=yes"
11747 echo "configure: failed program was:" >&5
11748 cat conftest.
$ac_ext >&5
11750 eval "ac_cv_lib_$ac_lib_var=no"
11753 LIBS
="$ac_save_LIBS"
11756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11757 echo "$ac_t""yes" 1>&6
11758 cat >> confdefs.h
<<\EOF
11759 #define HAVE_INET_ATON 1
11763 echo "$ac_t""no" 1>&6
11771 if test "x$INET_LINK" != "x"; then
11772 cat >> confdefs.h
<<\EOF
11773 #define HAVE_INET_ADDR 1
11776 INET_LINK
="-l$INET_LINK"
11782 cat > confcache
<<\EOF
11783 # This file is a shell script that caches the results of configure
11784 # tests run on this system so they can be shared between configure
11785 # scripts and configure runs. It is not useful on other systems.
11786 # If it contains results you don't want to keep, you may remove or edit it.
11788 # By default, configure uses ./config.cache as the cache file,
11789 # creating it if it does not exist already. You can give configure
11790 # the --cache-file=FILE option to use a different cache file; that is
11791 # what configure does when it calls configure scripts in
11792 # subdirectories, so they share the cache.
11793 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11794 # config.status only pays attention to the cache file if you give it the
11795 # --recheck option to rerun configure.
11798 # The following way of writing the cache mishandles newlines in values,
11799 # but we know of no workaround that is simple, portable, and efficient.
11800 # So, don't put newlines in cache variables' values.
11801 # Ultrix sh set writes to stderr and can't be redirected directly,
11802 # and sets the high bit in the cache file unless we assign to the vars.
11804 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11806 # `set' does not quote correctly, so add quotes (double-quote substitution
11807 # turns \\\\ into \\, and sed turns \\ into \).
11809 -e "s/'/'\\\\''/g" \
11810 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11813 # `set' quotes correctly as required by POSIX, so do not add quotes.
11814 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11817 if cmp -s $cache_file confcache
; then
11820 if test -w $cache_file; then
11821 echo "updating cache $cache_file"
11822 cat confcache
> $cache_file
11824 echo "not updating unwritable cache $cache_file"
11831 if test "$TOOLKIT" != "MSW"; then
11837 if test "$wxUSE_THREADS" = "yes" ; then
11838 if test "$wxUSE_WINE" = 1 ; then
11839 echo "configure: warning: Threads are not supported under WINE" 1>&2
11841 elif test "$USE_BEOS" = 1; then
11842 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11847 if test "$wxUSE_THREADS" = "yes" ; then
11849 if test "$USE_AIX" = 1; then
11850 THREADS_LIB
=pthreads
11852 THREADS_LIB
=pthread
11855 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
11856 echo "configure:11857: checking for pthread_create in -l$THREADS_LIB" >&5
11857 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
11858 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11859 echo $ac_n "(cached) $ac_c" 1>&6
11861 ac_save_LIBS
="$LIBS"
11862 LIBS
="-l$THREADS_LIB $LIBS"
11863 cat > conftest.
$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11866 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11869 char pthread_create();
11875 if { (eval echo configure
:11876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11877 eval "ac_cv_lib_$ac_lib_var=yes"
11879 echo "configure: failed program was:" >&5
11880 cat conftest.
$ac_ext >&5
11882 eval "ac_cv_lib_$ac_lib_var=no"
11885 LIBS
="$ac_save_LIBS"
11888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11889 echo "$ac_t""yes" 1>&6
11891 THREADS_OBJ
="threadpsx.lo"
11892 THREADS_LINK
=$THREADS_LIB
11895 echo "$ac_t""no" 1>&6
11897 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
11898 echo "configure:11899: checking for pthread_create in -lc_r" >&5
11899 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
11900 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11901 echo $ac_n "(cached) $ac_c" 1>&6
11903 ac_save_LIBS
="$LIBS"
11905 cat > conftest.
$ac_ext <<EOF
11906 #line 11907 "configure"
11907 #include "confdefs.h"
11908 /* Override any gcc2 internal prototype to avoid an error. */
11909 /* We use char because int might match the return type of a gcc2
11910 builtin and then its argument prototype would still apply. */
11911 char pthread_create();
11917 if { (eval echo configure
:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11919 eval "ac_cv_lib_$ac_lib_var=yes"
11921 echo "configure: failed program was:" >&5
11922 cat conftest.
$ac_ext >&5
11924 eval "ac_cv_lib_$ac_lib_var=no"
11927 LIBS
="$ac_save_LIBS"
11930 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11931 echo "$ac_t""yes" 1>&6
11933 THREADS_OBJ
="threadpsx.lo"
11937 echo "$ac_t""no" 1>&6
11939 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11940 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11941 echo "configure:11942: checking for sys/prctl.h" >&5
11942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11945 cat > conftest.
$ac_ext <<EOF
11946 #line 11947 "configure"
11947 #include "confdefs.h"
11948 #include <sys/prctl.h>
11950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11951 { (eval echo configure
:11952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11953 if test -z "$ac_err"; then
11955 eval "ac_cv_header_$ac_safe=yes"
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11961 eval "ac_cv_header_$ac_safe=no"
11965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11966 echo "$ac_t""yes" 1>&6
11968 THREADS_OBJ
="threadsgi.lo"
11971 echo "$ac_t""no" 1>&6
11981 if test -z "$THREADS_OBJ" ; then
11983 echo "configure: warning: No thread support on this system" 1>&2
11987 if test "$wxUSE_THREADS" = "yes" ; then
11988 for ac_func
in thr_setconcurrency
11990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11991 echo "configure:11992: checking for $ac_func" >&5
11992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11993 echo $ac_n "(cached) $ac_c" 1>&6
11995 cat > conftest.
$ac_ext <<EOF
11996 #line 11997 "configure"
11997 #include "confdefs.h"
11998 /* System header to define __stub macros and hopefully few prototypes,
11999 which can conflict with char $ac_func(); below. */
12000 #include <assert.h>
12001 /* Override any gcc2 internal prototype to avoid an error. */
12002 /* We use char because int might match the return type of a gcc2
12003 builtin and then its argument prototype would still apply. */
12008 /* The GNU C library defines this for functions which it implements
12009 to always fail with ENOSYS. Some functions are actually named
12010 something starting with __ and the normal name is an alias. */
12011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12019 if { (eval echo configure
:12020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12021 eval "ac_cv_func_$ac_func=yes"
12023 echo "configure: failed program was:" >&5
12024 cat conftest.
$ac_ext >&5
12026 eval "ac_cv_func_$ac_func=no"
12031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12032 echo "$ac_t""yes" 1>&6
12033 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12034 cat >> confdefs.h
<<EOF
12035 #define $ac_tr_func 1
12039 echo "$ac_t""no" 1>&6
12045 for ac_hdr
in sched.h
12047 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12049 echo "configure:12050: checking for $ac_hdr" >&5
12050 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12051 echo $ac_n "(cached) $ac_c" 1>&6
12053 cat > conftest.
$ac_ext <<EOF
12054 #line 12055 "configure"
12055 #include "confdefs.h"
12058 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12059 { (eval echo configure
:12060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12060 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12061 if test -z "$ac_err"; then
12063 eval "ac_cv_header_$ac_safe=yes"
12066 echo "configure: failed program was:" >&5
12067 cat conftest.
$ac_ext >&5
12069 eval "ac_cv_header_$ac_safe=no"
12073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12074 echo "$ac_t""yes" 1>&6
12075 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12076 cat >> confdefs.h
<<EOF
12077 #define $ac_tr_hdr 1
12081 echo "$ac_t""no" 1>&6
12086 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12087 echo "configure:12088: checking for sched_yield in -l$THREADS_LINK" >&5
12088 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | 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
="-l$THREADS_LINK $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 sched_yield();
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
12121 cat >> confdefs.h
<<\EOF
12122 #define HAVE_SCHED_YIELD 1
12126 echo "$ac_t""no" 1>&6
12127 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12128 echo "configure:12129: checking for sched_yield in -l"posix4
"" >&5
12129 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12131 echo $ac_n "(cached) $ac_c" 1>&6
12133 ac_save_LIBS
="$LIBS"
12134 LIBS
="-l"posix4
" $LIBS"
12135 cat > conftest.
$ac_ext <<EOF
12136 #line 12137 "configure"
12137 #include "confdefs.h"
12138 /* Override any gcc2 internal prototype to avoid an error. */
12139 /* We use char because int might match the return type of a gcc2
12140 builtin and then its argument prototype would still apply. */
12141 char sched_yield();
12147 if { (eval echo configure
:12148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12149 eval "ac_cv_lib_$ac_lib_var=yes"
12151 echo "configure: failed program was:" >&5
12152 cat conftest.
$ac_ext >&5
12154 eval "ac_cv_lib_$ac_lib_var=no"
12157 LIBS
="$ac_save_LIBS"
12160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12161 echo "$ac_t""yes" 1>&6
12162 cat >> confdefs.h
<<\EOF
12163 #define HAVE_SCHED_YIELD 1
12165 POSIX4_LINK
="-lposix4"
12167 echo "$ac_t""no" 1>&6
12168 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12177 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12178 echo "configure:12179: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12179 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12181 echo $ac_n "(cached) $ac_c" 1>&6
12183 ac_save_LIBS
="$LIBS"
12184 LIBS
="-l$THREADS_LINK $LIBS"
12185 cat > conftest.
$ac_ext <<EOF
12186 #line 12187 "configure"
12187 #include "confdefs.h"
12188 /* Override any gcc2 internal prototype to avoid an error. */
12189 /* We use char because int might match the return type of a gcc2
12190 builtin and then its argument prototype would still apply. */
12191 char pthread_attr_getschedpolicy();
12194 pthread_attr_getschedpolicy()
12197 if { (eval echo configure
:12198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12199 eval "ac_cv_lib_$ac_lib_var=yes"
12201 echo "configure: failed program was:" >&5
12202 cat conftest.
$ac_ext >&5
12204 eval "ac_cv_lib_$ac_lib_var=no"
12207 LIBS
="$ac_save_LIBS"
12210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12211 echo "$ac_t""yes" 1>&6
12212 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12213 echo "configure:12214: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12214 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12216 echo $ac_n "(cached) $ac_c" 1>&6
12218 ac_save_LIBS
="$LIBS"
12219 LIBS
="-l$THREADS_LINK $LIBS"
12220 cat > conftest.
$ac_ext <<EOF
12221 #line 12222 "configure"
12222 #include "confdefs.h"
12223 /* Override any gcc2 internal prototype to avoid an error. */
12224 /* We use char because int might match the return type of a gcc2
12225 builtin and then its argument prototype would still apply. */
12226 char pthread_attr_setschedparam();
12229 pthread_attr_setschedparam()
12232 if { (eval echo configure
:12233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12234 eval "ac_cv_lib_$ac_lib_var=yes"
12236 echo "configure: failed program was:" >&5
12237 cat conftest.
$ac_ext >&5
12239 eval "ac_cv_lib_$ac_lib_var=no"
12242 LIBS
="$ac_save_LIBS"
12245 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12246 echo "$ac_t""yes" 1>&6
12247 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12248 echo "configure:12249: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12249 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12251 echo $ac_n "(cached) $ac_c" 1>&6
12253 ac_save_LIBS
="$LIBS"
12254 LIBS
="-l$THREADS_LINK $LIBS"
12255 cat > conftest.
$ac_ext <<EOF
12256 #line 12257 "configure"
12257 #include "confdefs.h"
12258 /* Override any gcc2 internal prototype to avoid an error. */
12259 /* We use char because int might match the return type of a gcc2
12260 builtin and then its argument prototype would still apply. */
12261 char sched_get_priority_max();
12264 sched_get_priority_max()
12267 if { (eval echo configure
:12268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12269 eval "ac_cv_lib_$ac_lib_var=yes"
12271 echo "configure: failed program was:" >&5
12272 cat conftest.
$ac_ext >&5
12274 eval "ac_cv_lib_$ac_lib_var=no"
12277 LIBS
="$ac_save_LIBS"
12280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12281 echo "$ac_t""yes" 1>&6
12284 echo "$ac_t""no" 1>&6
12285 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12286 echo "configure:12287: checking for sched_get_priority_max in -l"posix4
"" >&5
12287 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12289 echo $ac_n "(cached) $ac_c" 1>&6
12291 ac_save_LIBS
="$LIBS"
12292 LIBS
="-l"posix4
" $LIBS"
12293 cat > conftest.
$ac_ext <<EOF
12294 #line 12295 "configure"
12295 #include "confdefs.h"
12296 /* Override any gcc2 internal prototype to avoid an error. */
12297 /* We use char because int might match the return type of a gcc2
12298 builtin and then its argument prototype would still apply. */
12299 char sched_get_priority_max();
12302 sched_get_priority_max()
12305 if { (eval echo configure
:12306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12307 eval "ac_cv_lib_$ac_lib_var=yes"
12309 echo "configure: failed program was:" >&5
12310 cat conftest.
$ac_ext >&5
12312 eval "ac_cv_lib_$ac_lib_var=no"
12315 LIBS
="$ac_save_LIBS"
12318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12319 echo "$ac_t""yes" 1>&6
12322 POSIX4_LINK
="-lposix4"
12325 echo "$ac_t""no" 1>&6
12333 echo "$ac_t""no" 1>&6
12338 echo "$ac_t""no" 1>&6
12342 if test "$HAVE_PRIOR_FUNCS" = 1; then
12343 cat >> confdefs.h
<<\EOF
12344 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12348 echo "configure: warning: Setting thread priority will not work" 1>&2
12351 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12352 echo "configure:12353: checking for pthread_cancel in -l$THREADS_LINK" >&5
12353 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12355 echo $ac_n "(cached) $ac_c" 1>&6
12357 ac_save_LIBS
="$LIBS"
12358 LIBS
="-l$THREADS_LINK $LIBS"
12359 cat > conftest.
$ac_ext <<EOF
12360 #line 12361 "configure"
12361 #include "confdefs.h"
12362 /* Override any gcc2 internal prototype to avoid an error. */
12363 /* We use char because int might match the return type of a gcc2
12364 builtin and then its argument prototype would still apply. */
12365 char pthread_cancel();
12371 if { (eval echo configure
:12372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12373 eval "ac_cv_lib_$ac_lib_var=yes"
12375 echo "configure: failed program was:" >&5
12376 cat conftest.
$ac_ext >&5
12378 eval "ac_cv_lib_$ac_lib_var=no"
12381 LIBS
="$ac_save_LIBS"
12384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12385 echo "$ac_t""yes" 1>&6
12386 cat >> confdefs.h
<<\EOF
12387 #define HAVE_PTHREAD_CANCEL 1
12391 echo "$ac_t""no" 1>&6
12392 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12396 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12397 echo "configure:12398: checking for pthread_cleanup_push/pop" >&5
12398 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12402 cat > conftest.
$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12405 #include <pthread.h>
12408 pthread_cleanup_push(NULL, NULL);
12409 pthread_cleanup_pop(0);
12413 if { (eval echo configure
:12414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12416 wx_cv_func_pthread_cleanup_push
=yes
12417 cat >> confdefs.h
<<\EOF
12418 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12423 echo "configure: failed program was:" >&5
12424 cat conftest.
$ac_ext >&5
12427 wx_cv_func_pthread_cleanup_push
=no
12434 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12436 THREADS_LINK
="-l$THREADS_LINK"
12438 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12439 CFLAGS
="${CFLAGS} -mt"
12440 CXXFLAGS
="${CXXFLAGS} -mt"
12441 LDFLAGS
="${LDFLAGS} -mt"
12447 if test "$wxUSE_THREADS" = "yes"; then
12448 cat >> confdefs.h
<<\EOF
12449 #define wxUSE_THREADS 1
12453 CFLAGS
="${CFLAGS} -D_REENTRANT"
12454 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12458 if test "$ac_cv_func_strtok_r" = "yes"; then
12459 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12460 echo "configure:12461: checking if -D_REENTRANT is needed" >&5
12461 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12462 CFLAGS
="${CFLAGS} -D_REENTRANT"
12463 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12464 echo "$ac_t""yes" 1>&6
12466 echo "$ac_t""no" 1>&6
12471 if test "$WXGTK20" = 1 ; then
12472 cat >> confdefs.h
<<EOF
12473 #define __WXGTK20__ $WXGTK20
12479 if test "$WXGTK12" = 1 ; then
12480 cat >> confdefs.h
<<EOF
12481 #define __WXGTK12__ $WXGTK12
12486 if test "$WXGTK127" = 1 ; then
12487 cat >> confdefs.h
<<EOF
12488 #define __WXGTK127__ $WXGTK127
12493 if test "$WXWINE" = 1 ; then
12494 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12497 if test "$wxUSE_CYGWIN" = 1 ; then
12498 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12503 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12508 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12509 wxUSE_DEBUG_INFO
=yes
12513 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12514 cat >> confdefs.h
<<\EOF
12518 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12520 if test "$wxUSE_GTK" = 1 ; then
12521 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12525 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12526 cat >> confdefs.h
<<\EOF
12527 #define wxUSE_MEMORY_TRACING 1
12530 cat >> confdefs.h
<<\EOF
12531 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12534 cat >> confdefs.h
<<\EOF
12535 #define wxUSE_DEBUG_NEW_ALWAYS 1
12538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12541 if test "$wxUSE_DMALLOC" = "yes" ; then
12542 DMALLOC_LINK
="-ldmalloc"
12546 if test "$wxUSE_PROFILE" = "yes" ; then
12552 if test "$GCC" = yes ; then
12553 if test "$wxUSE_NO_RTTI" = "yes" ; then
12554 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
12556 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12557 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
12559 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12560 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12562 if test "$wxUSE_NO_DEPS" = "no" ; then
12563 DEP_INFO_FLAGS
="-MMD"
12568 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12569 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12570 if test "$wxUSE_OPTIMISE" = "no" ; then
12573 if test "$GCC" = yes ; then
12576 i586
-*-*|i686
-*-* )
12577 OPTIMISE
="${OPTIMISE} "
12587 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12588 cat >> confdefs.h
<<\EOF
12589 #define wxUSE_ZLIB 1
12592 if test "$wxUSE_ZLIB" = "yes" ; then
12593 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12596 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12597 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12598 echo "configure:12599: checking for zlib.h" >&5
12599 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12600 echo $ac_n "(cached) $ac_c" 1>&6
12602 cat > conftest.
$ac_ext <<EOF
12603 #line 12604 "configure"
12604 #include "confdefs.h"
12607 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12608 { (eval echo configure
:12609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12609 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12610 if test -z "$ac_err"; then
12612 eval "ac_cv_header_$ac_safe=yes"
12615 echo "configure: failed program was:" >&5
12616 cat conftest.
$ac_ext >&5
12618 eval "ac_cv_header_$ac_safe=no"
12622 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12623 echo "$ac_t""yes" 1>&6
12624 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12625 echo "configure:12626: checking for deflate in -lz" >&5
12626 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12628 echo $ac_n "(cached) $ac_c" 1>&6
12630 ac_save_LIBS
="$LIBS"
12632 cat > conftest.
$ac_ext <<EOF
12633 #line 12634 "configure"
12634 #include "confdefs.h"
12635 /* Override any gcc2 internal prototype to avoid an error. */
12636 /* We use char because int might match the return type of a gcc2
12637 builtin and then its argument prototype would still apply. */
12644 if { (eval echo configure
:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12646 eval "ac_cv_lib_$ac_lib_var=yes"
12648 echo "configure: failed program was:" >&5
12649 cat conftest.
$ac_ext >&5
12651 eval "ac_cv_lib_$ac_lib_var=no"
12654 LIBS
="$ac_save_LIBS"
12657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12658 echo "$ac_t""yes" 1>&6
12661 echo "$ac_t""no" 1>&6
12665 echo "$ac_t""no" 1>&6
12668 if test "x$ZLIB_LINK" = "x" ; then
12669 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12675 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12676 cat >> confdefs.h
<<\EOF
12677 #define wxUSE_LIBPNG 1
12680 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12681 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12685 if test "$wxUSE_LIBPNG" = "yes" ; then
12686 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12689 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12690 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12691 echo "configure:12692: checking for png.h" >&5
12692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12693 echo $ac_n "(cached) $ac_c" 1>&6
12695 cat > conftest.
$ac_ext <<EOF
12696 #line 12697 "configure"
12697 #include "confdefs.h"
12700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12701 { (eval echo configure
:12702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12702 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12703 if test -z "$ac_err"; then
12705 eval "ac_cv_header_$ac_safe=yes"
12708 echo "configure: failed program was:" >&5
12709 cat conftest.
$ac_ext >&5
12711 eval "ac_cv_header_$ac_safe=no"
12715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12716 echo "$ac_t""yes" 1>&6
12717 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12718 echo "configure:12719: checking for png_check_sig in -lpng" >&5
12719 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12721 echo $ac_n "(cached) $ac_c" 1>&6
12723 ac_save_LIBS
="$LIBS"
12724 LIBS
="-lpng -lz -lm $LIBS"
12725 cat > conftest.
$ac_ext <<EOF
12726 #line 12727 "configure"
12727 #include "confdefs.h"
12728 /* Override any gcc2 internal prototype to avoid an error. */
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12731 char png_check_sig();
12737 if { (eval echo configure
:12738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12739 eval "ac_cv_lib_$ac_lib_var=yes"
12741 echo "configure: failed program was:" >&5
12742 cat conftest.
$ac_ext >&5
12744 eval "ac_cv_lib_$ac_lib_var=no"
12747 LIBS
="$ac_save_LIBS"
12750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12751 echo "$ac_t""yes" 1>&6
12754 echo "$ac_t""no" 1>&6
12759 echo "$ac_t""no" 1>&6
12762 if test "x$PNG_LINK" = "x" ; then
12763 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12771 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12772 cat >> confdefs.h
<<\EOF
12773 #define wxUSE_LIBJPEG 1
12776 if test "$wxUSE_LIBJPEG" = "yes" ; then
12777 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12780 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12781 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12782 echo "configure:12783: checking for jpeglib.h" >&5
12783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12784 echo $ac_n "(cached) $ac_c" 1>&6
12786 cat > conftest.
$ac_ext <<EOF
12787 #line 12788 "configure"
12788 #include "confdefs.h"
12789 #include <jpeglib.h>
12791 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12792 { (eval echo configure
:12793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12793 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12794 if test -z "$ac_err"; then
12796 eval "ac_cv_header_$ac_safe=yes"
12799 echo "configure: failed program was:" >&5
12800 cat conftest.
$ac_ext >&5
12802 eval "ac_cv_header_$ac_safe=no"
12806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12807 echo "$ac_t""yes" 1>&6
12808 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12809 echo "configure:12810: checking for jpeg_read_header in -ljpeg" >&5
12810 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12812 echo $ac_n "(cached) $ac_c" 1>&6
12814 ac_save_LIBS
="$LIBS"
12815 LIBS
="-ljpeg $LIBS"
12816 cat > conftest.
$ac_ext <<EOF
12817 #line 12818 "configure"
12818 #include "confdefs.h"
12819 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12822 char jpeg_read_header();
12828 if { (eval echo configure
:12829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12830 eval "ac_cv_lib_$ac_lib_var=yes"
12832 echo "configure: failed program was:" >&5
12833 cat conftest.
$ac_ext >&5
12835 eval "ac_cv_lib_$ac_lib_var=no"
12838 LIBS
="$ac_save_LIBS"
12841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12842 echo "$ac_t""yes" 1>&6
12845 echo "$ac_t""no" 1>&6
12849 echo "$ac_t""no" 1>&6
12852 if test "x$JPEG_LINK" = "x" ; then
12853 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
12859 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
12860 cat >> confdefs.h
<<\EOF
12861 #define wxUSE_LIBTIFF 1
12864 if test "$wxUSE_LIBTIFF" = "yes" ; then
12865 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12868 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12869 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12870 echo "configure:12871: checking for tiffio.h" >&5
12871 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12872 echo $ac_n "(cached) $ac_c" 1>&6
12874 cat > conftest.
$ac_ext <<EOF
12875 #line 12876 "configure"
12876 #include "confdefs.h"
12877 #include <tiffio.h>
12879 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12880 { (eval echo configure
:12881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12881 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12882 if test -z "$ac_err"; then
12884 eval "ac_cv_header_$ac_safe=yes"
12887 echo "configure: failed program was:" >&5
12888 cat conftest.
$ac_ext >&5
12890 eval "ac_cv_header_$ac_safe=no"
12894 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12895 echo "$ac_t""yes" 1>&6
12896 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12897 echo "configure:12898: checking for TIFFError in -ltiff" >&5
12898 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12900 echo $ac_n "(cached) $ac_c" 1>&6
12902 ac_save_LIBS
="$LIBS"
12903 LIBS
="-ltiff -lm $LIBS"
12904 cat > conftest.
$ac_ext <<EOF
12905 #line 12906 "configure"
12906 #include "confdefs.h"
12907 /* Override any gcc2 internal prototype to avoid an error. */
12908 /* We use char because int might match the return type of a gcc2
12909 builtin and then its argument prototype would still apply. */
12916 if { (eval echo configure
:12917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12918 eval "ac_cv_lib_$ac_lib_var=yes"
12920 echo "configure: failed program was:" >&5
12921 cat conftest.
$ac_ext >&5
12923 eval "ac_cv_lib_$ac_lib_var=no"
12926 LIBS
="$ac_save_LIBS"
12929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12930 echo "$ac_t""yes" 1>&6
12933 echo "$ac_t""no" 1>&6
12937 echo "$ac_t""no" 1>&6
12940 if test "x$TIFF_LINK" = "x" ; then
12941 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
12947 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
12948 cat >> confdefs.h
<<\EOF
12949 #define wxUSE_FREETYPE 1
12952 if test "$wxUSE_FREETYPE" = "yes" ; then
12953 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
12956 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
12957 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
12958 echo "configure:12959: checking for freetype.h" >&5
12959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12960 echo $ac_n "(cached) $ac_c" 1>&6
12962 cat > conftest.
$ac_ext <<EOF
12963 #line 12964 "configure"
12964 #include "confdefs.h"
12965 #include <freetype.h>
12967 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12968 { (eval echo configure
:12969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12969 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12970 if test -z "$ac_err"; then
12972 eval "ac_cv_header_$ac_safe=yes"
12975 echo "configure: failed program was:" >&5
12976 cat conftest.
$ac_ext >&5
12978 eval "ac_cv_header_$ac_safe=no"
12982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12983 echo "$ac_t""yes" 1>&6
12984 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
12985 echo "configure:12986: checking for FT_Render_Glyph in -lfreetype" >&5
12986 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
12987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12988 echo $ac_n "(cached) $ac_c" 1>&6
12990 ac_save_LIBS
="$LIBS"
12991 LIBS
="-lfreetype -lm $LIBS"
12992 cat > conftest.
$ac_ext <<EOF
12993 #line 12994 "configure"
12994 #include "confdefs.h"
12995 /* Override any gcc2 internal prototype to avoid an error. */
12996 /* We use char because int might match the return type of a gcc2
12997 builtin and then its argument prototype would still apply. */
12998 char FT_Render_Glyph();
13004 if { (eval echo configure
:13005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13006 eval "ac_cv_lib_$ac_lib_var=yes"
13008 echo "configure: failed program was:" >&5
13009 cat conftest.
$ac_ext >&5
13011 eval "ac_cv_lib_$ac_lib_var=no"
13014 LIBS
="$ac_save_LIBS"
13017 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13018 echo "$ac_t""yes" 1>&6
13019 FREETYPE_LINK
="-lfreetype"
13021 echo "$ac_t""no" 1>&6
13026 echo "$ac_t""no" 1>&6
13029 if test "x$FREETYPE_LINK" = "x" ; then
13030 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13035 if test "$wxUSE_OPENGL" = "yes"; then
13036 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13037 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13038 echo "configure:13039: checking for GL/gl.h" >&5
13039 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13040 echo $ac_n "(cached) $ac_c" 1>&6
13042 cat > conftest.
$ac_ext <<EOF
13043 #line 13044 "configure"
13044 #include "confdefs.h"
13047 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13048 { (eval echo configure
:13049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13049 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13050 if test -z "$ac_err"; then
13052 eval "ac_cv_header_$ac_safe=yes"
13055 echo "configure: failed program was:" >&5
13056 cat conftest.
$ac_ext >&5
13058 eval "ac_cv_header_$ac_safe=no"
13062 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13063 echo "$ac_t""yes" 1>&6
13065 cat >> confdefs.h
<<\EOF
13066 #define wxUSE_OPENGL 1
13069 cat >> confdefs.h
<<\EOF
13070 #define wxUSE_GLCANVAS 1
13073 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13074 echo "configure:13075: checking for glFlush in -lGL" >&5
13075 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13077 echo $ac_n "(cached) $ac_c" 1>&6
13079 ac_save_LIBS
="$LIBS"
13081 cat > conftest.
$ac_ext <<EOF
13082 #line 13083 "configure"
13083 #include "confdefs.h"
13084 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13093 if { (eval echo configure
:13094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13095 eval "ac_cv_lib_$ac_lib_var=yes"
13097 echo "configure: failed program was:" >&5
13098 cat conftest.
$ac_ext >&5
13100 eval "ac_cv_lib_$ac_lib_var=no"
13103 LIBS
="$ac_save_LIBS"
13106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13107 echo "$ac_t""yes" 1>&6
13109 OPENGL_LINK
="-lGL -lGLU"
13112 echo "$ac_t""no" 1>&6
13114 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13115 echo "configure:13116: checking for glFlush in -lMesaGL" >&5
13116 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13118 echo $ac_n "(cached) $ac_c" 1>&6
13120 ac_save_LIBS
="$LIBS"
13121 LIBS
="-lMesaGL $LIBS"
13122 cat > conftest.
$ac_ext <<EOF
13123 #line 13124 "configure"
13124 #include "confdefs.h"
13125 /* Override any gcc2 internal prototype to avoid an error. */
13126 /* We use char because int might match the return type of a gcc2
13127 builtin and then its argument prototype would still apply. */
13134 if { (eval echo configure
:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13136 eval "ac_cv_lib_$ac_lib_var=yes"
13138 echo "configure: failed program was:" >&5
13139 cat conftest.
$ac_ext >&5
13141 eval "ac_cv_lib_$ac_lib_var=no"
13144 LIBS
="$ac_save_LIBS"
13147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13148 echo "$ac_t""yes" 1>&6
13150 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13153 echo "$ac_t""no" 1>&6
13161 echo "$ac_t""no" 1>&6
13168 if test "$wxUSE_GUI" = "yes"; then
13169 cat >> confdefs.h
<<\EOF
13170 #define wxUSE_GUI 1
13175 cat >> confdefs.h
<<\EOF
13176 #define wxUSE_NOGUI 1
13182 if test "$wxUSE_UNIX" = "yes"; then
13183 cat >> confdefs.h
<<\EOF
13184 #define wxUSE_UNIX 1
13190 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13191 cat >> confdefs.h
<<\EOF
13192 #define wxUSE_APPLE_IEEE 1
13197 if test "$wxUSE_WAVE" = "yes"; then
13198 cat >> confdefs.h
<<\EOF
13199 #define wxUSE_WAVE 1
13204 if test "$wxUSE_FILE" = "yes"; then
13205 cat >> confdefs.h
<<\EOF
13206 #define wxUSE_FILE 1
13211 if test "$wxUSE_FILESYSTEM" = "yes"; then
13212 cat >> confdefs.h
<<\EOF
13213 #define wxUSE_FILESYSTEM 1
13218 if test "$wxUSE_FS_INET" = "yes"; then
13219 cat >> confdefs.h
<<\EOF
13220 #define wxUSE_FS_INET 1
13225 if test "$wxUSE_FS_ZIP" = "yes"; then
13226 cat >> confdefs.h
<<\EOF
13227 #define wxUSE_FS_ZIP 1
13232 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13233 cat >> confdefs.h
<<\EOF
13234 #define wxUSE_ZIPSTREAM 1
13239 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13240 cat >> confdefs.h
<<\EOF
13241 #define wxUSE_ON_FATAL_EXCEPTION 1
13246 if test "$wxUSE_BUSYINFO" = "yes"; then
13247 cat >> confdefs.h
<<\EOF
13248 #define wxUSE_BUSYINFO 1
13253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13254 cat >> confdefs.h
<<\EOF
13255 #define wxUSE_STD_IOSTREAM 1
13260 if test "$wxUSE_TEXTFILE" = "yes"; then
13261 if test "$wxUSE_FILE" != "yes"; then
13262 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13264 cat >> confdefs.h
<<\EOF
13265 #define wxUSE_TEXTFILE 1
13271 if test "$wxUSE_CONFIG" = "yes" ; then
13272 if test "$wxUSE_TEXTFILE" != "yes"; then
13273 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13275 cat >> confdefs.h
<<\EOF
13276 #define wxUSE_CONFIG 1
13279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13283 if test "$wxUSE_INTL" = "yes" ; then
13284 if test "$wxUSE_FILE" != "yes"; then
13285 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13287 cat >> confdefs.h
<<\EOF
13288 #define wxUSE_INTL 1
13291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13292 GUIDIST
="$GUIDIST INTL_DIST"
13296 if test "$wxUSE_LOG" = "yes"; then
13297 cat >> confdefs.h
<<\EOF
13298 #define wxUSE_LOG 1
13303 if test "$wxUSE_LONGLONG" = "yes"; then
13304 cat >> confdefs.h
<<\EOF
13305 #define wxUSE_LONGLONG 1
13310 if test "$wxUSE_GEOMETRY" = "yes"; then
13311 cat >> confdefs.h
<<\EOF
13312 #define wxUSE_GEOMETRY 1
13317 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13318 cat >> confdefs.h
<<\EOF
13319 #define wxUSE_DIALUP_MANAGER 1
13322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13325 if test "$wxUSE_STREAMS" = "yes" ; then
13326 cat >> confdefs.h
<<\EOF
13327 #define wxUSE_STREAMS 1
13333 if test "$wxUSE_TIMEDATE" = "yes"; then
13334 for ac_func
in strptime
13336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13337 echo "configure:13338: checking for $ac_func" >&5
13338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13339 echo $ac_n "(cached) $ac_c" 1>&6
13341 cat > conftest.
$ac_ext <<EOF
13342 #line 13343 "configure"
13343 #include "confdefs.h"
13344 /* System header to define __stub macros and hopefully few prototypes,
13345 which can conflict with char $ac_func(); below. */
13346 #include <assert.h>
13347 /* Override any gcc2 internal prototype to avoid an error. */
13348 /* We use char because int might match the return type of a gcc2
13349 builtin and then its argument prototype would still apply. */
13354 /* The GNU C library defines this for functions which it implements
13355 to always fail with ENOSYS. Some functions are actually named
13356 something starting with __ and the normal name is an alias. */
13357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13365 if { (eval echo configure
:13366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13367 eval "ac_cv_func_$ac_func=yes"
13369 echo "configure: failed program was:" >&5
13370 cat conftest.
$ac_ext >&5
13372 eval "ac_cv_func_$ac_func=no"
13377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13378 echo "$ac_t""yes" 1>&6
13379 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13380 cat >> confdefs.h
<<EOF
13381 #define $ac_tr_func 1
13385 echo "$ac_t""no" 1>&6
13390 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13391 echo "configure:13392: checking for timezone variable in <time.h>" >&5
13392 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13393 echo $ac_n "(cached) $ac_c" 1>&6
13396 cat > conftest.
$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13409 if { (eval echo configure
:13410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13412 wx_cv_var_timezone
=__timezone
13415 echo "configure: failed program was:" >&5
13416 cat conftest.
$ac_ext >&5
13419 cat > conftest.
$ac_ext <<EOF
13420 #line 13421 "configure"
13421 #include "confdefs.h"
13432 if { (eval echo configure
:13433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13435 wx_cv_var_timezone
=_timezone
13438 echo "configure: failed program was:" >&5
13439 cat conftest.
$ac_ext >&5
13442 cat > conftest.
$ac_ext <<EOF
13443 #line 13444 "configure"
13444 #include "confdefs.h"
13455 if { (eval echo configure
:13456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13458 wx_cv_var_timezone
=timezone
13461 echo "configure: failed program was:" >&5
13462 cat conftest.
$ac_ext >&5
13464 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13480 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13482 cat >> confdefs.h
<<EOF
13483 #define WX_TIMEZONE $wx_cv_var_timezone
13487 for ac_func
in localtime
13489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13490 echo "configure:13491: checking for $ac_func" >&5
13491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13492 echo $ac_n "(cached) $ac_c" 1>&6
13494 cat > conftest.
$ac_ext <<EOF
13495 #line 13496 "configure"
13496 #include "confdefs.h"
13497 /* System header to define __stub macros and hopefully few prototypes,
13498 which can conflict with char $ac_func(); below. */
13499 #include <assert.h>
13500 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13507 /* The GNU C library defines this for functions which it implements
13508 to always fail with ENOSYS. Some functions are actually named
13509 something starting with __ and the normal name is an alias. */
13510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13518 if { (eval echo configure
:13519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13520 eval "ac_cv_func_$ac_func=yes"
13522 echo "configure: failed program was:" >&5
13523 cat conftest.
$ac_ext >&5
13525 eval "ac_cv_func_$ac_func=no"
13530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13531 echo "$ac_t""yes" 1>&6
13532 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13533 cat >> confdefs.h
<<EOF
13534 #define $ac_tr_func 1
13538 echo "$ac_t""no" 1>&6
13543 if test "$ac_cv_func_localtime" = "yes"; then
13544 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13545 echo "configure:13546: checking for tm_gmtoff in struct tm" >&5
13546 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13547 echo $ac_n "(cached) $ac_c" 1>&6
13550 cat > conftest.
$ac_ext <<EOF
13551 #line 13552 "configure"
13552 #include "confdefs.h"
13563 if { (eval echo configure
:13564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13566 wx_cv_struct_tm_has_gmtoff
=yes
13567 cat >> confdefs.h
<<\EOF
13568 #define WX_GMTOFF_IN_TM 1
13573 echo "configure: failed program was:" >&5
13574 cat conftest.
$ac_ext >&5
13576 wx_cv_struct_tm_has_gmtoff
=no
13583 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13586 for ac_func
in gettimeofday ftime
13588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13589 echo "configure:13590: checking for $ac_func" >&5
13590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13593 cat > conftest.
$ac_ext <<EOF
13594 #line 13595 "configure"
13595 #include "confdefs.h"
13596 /* System header to define __stub macros and hopefully few prototypes,
13597 which can conflict with char $ac_func(); below. */
13598 #include <assert.h>
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13606 /* The GNU C library defines this for functions which it implements
13607 to always fail with ENOSYS. Some functions are actually named
13608 something starting with __ and the normal name is an alias. */
13609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13617 if { (eval echo configure
:13618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13619 eval "ac_cv_func_$ac_func=yes"
13621 echo "configure: failed program was:" >&5
13622 cat conftest.
$ac_ext >&5
13624 eval "ac_cv_func_$ac_func=no"
13629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13630 echo "$ac_t""yes" 1>&6
13631 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13632 cat >> confdefs.h
<<EOF
13633 #define $ac_tr_func 1
13637 echo "$ac_t""no" 1>&6
13642 if test "$ac_cv_func_gettimeofday" = "yes"; then
13643 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13644 echo "configure:13645: checking whether gettimeofday takes two arguments" >&5
13645 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13646 echo $ac_n "(cached) $ac_c" 1>&6
13651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13652 ac_cpp
='$CXXCPP $CPPFLAGS'
13653 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13654 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13655 cross_compiling
=$ac_cv_prog_cxx_cross
13658 cat > conftest.
$ac_ext <<EOF
13659 #line 13660 "configure"
13660 #include "confdefs.h"
13662 #include <sys/time.h>
13663 #include <unistd.h>
13668 struct timezone tz;
13669 gettimeofday(&tv, &tz);
13673 if { (eval echo configure
:13674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13675 wx_cv_func_gettimeofday_has_2_args
=yes
13677 echo "configure: failed program was:" >&5
13678 cat conftest.
$ac_ext >&5
13680 cat > conftest.
$ac_ext <<EOF
13681 #line 13682 "configure"
13682 #include "confdefs.h"
13684 #include <sys/time.h>
13685 #include <unistd.h>
13694 if { (eval echo configure
:13695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13696 wx_cv_func_gettimeofday_has_2_args
=no
13698 echo "configure: failed program was:" >&5
13699 cat conftest.
$ac_ext >&5
13701 wx_cv_func_gettimeofday_has_2_args
=unknown
13709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13710 ac_cpp
='$CPP $CPPFLAGS'
13711 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13712 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13713 cross_compiling
=$ac_cv_prog_cc_cross
13718 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13720 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13721 cat >> confdefs.h
<<\EOF
13722 #define WX_GETTIMEOFDAY_NO_TZ 1
13728 cat >> confdefs.h
<<\EOF
13729 #define wxUSE_TIMEDATE 1
13732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13736 if test "$TOOLKIT" != "MSW"; then
13738 if test "$wxUSE_SOCKETS" = "yes"; then
13739 echo $ac_n "checking for socket""... $ac_c" 1>&6
13740 echo "configure:13741: checking for socket" >&5
13741 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13742 echo $ac_n "(cached) $ac_c" 1>&6
13744 cat > conftest.
$ac_ext <<EOF
13745 #line 13746 "configure"
13746 #include "confdefs.h"
13747 /* System header to define __stub macros and hopefully few prototypes,
13748 which can conflict with char socket(); below. */
13749 #include <assert.h>
13750 /* Override any gcc2 internal prototype to avoid an error. */
13751 /* We use char because int might match the return type of a gcc2
13752 builtin and then its argument prototype would still apply. */
13757 /* The GNU C library defines this for functions which it implements
13758 to always fail with ENOSYS. Some functions are actually named
13759 something starting with __ and the normal name is an alias. */
13760 #if defined (__stub_socket) || defined (__stub___socket)
13768 if { (eval echo configure
:13769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13770 eval "ac_cv_func_socket=yes"
13772 echo "configure: failed program was:" >&5
13773 cat conftest.
$ac_ext >&5
13775 eval "ac_cv_func_socket=no"
13780 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13781 echo "$ac_t""yes" 1>&6
13784 echo "$ac_t""no" 1>&6
13785 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13786 echo "configure:13787: checking for socket in -lsocket" >&5
13787 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13789 echo $ac_n "(cached) $ac_c" 1>&6
13791 ac_save_LIBS
="$LIBS"
13792 LIBS
="-lsocket $LIBS"
13793 cat > conftest.
$ac_ext <<EOF
13794 #line 13795 "configure"
13795 #include "confdefs.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. */
13805 if { (eval echo configure
:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13807 eval "ac_cv_lib_$ac_lib_var=yes"
13809 echo "configure: failed program was:" >&5
13810 cat conftest.
$ac_ext >&5
13812 eval "ac_cv_lib_$ac_lib_var=no"
13815 LIBS
="$ac_save_LIBS"
13818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13819 echo "$ac_t""yes" 1>&6
13820 INET_LINK
="$INET_LINK -lsocket"
13822 echo "$ac_t""no" 1>&6
13824 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
13837 if test "$wxUSE_SOCKETS" = "yes" ; then
13838 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
13839 echo "configure:13840: checking what is the type of the third argument of getsockname" >&5
13840 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
13841 echo $ac_n "(cached) $ac_c" 1>&6
13846 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13847 ac_cpp
='$CXXCPP $CPPFLAGS'
13848 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13849 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13850 cross_compiling
=$ac_cv_prog_cxx_cross
13853 cat > conftest.
$ac_ext <<EOF
13854 #line 13855 "configure"
13855 #include "confdefs.h"
13857 #include <sys/types.h>
13858 #include <sys/socket.h>
13863 getsockname(0, 0, &len);
13867 if { (eval echo configure
:13868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13869 wx_cv_type_getsockname3
=socklen_t
13871 echo "configure: failed program was:" >&5
13872 cat conftest.
$ac_ext >&5
13874 cat > conftest.
$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13878 #include <sys/types.h>
13879 #include <sys/socket.h>
13884 getsockname(0, 0, &len);
13888 if { (eval echo configure
:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13890 wx_cv_type_getsockname3
=size_t
13892 echo "configure: failed program was:" >&5
13893 cat conftest.
$ac_ext >&5
13895 cat > conftest.
$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13899 #include <sys/types.h>
13900 #include <sys/socket.h>
13905 getsockname(0, 0, &len);
13909 if { (eval echo configure
:13910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13911 wx_cv_type_getsockname3
=int
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13916 wx_cv_type_getsockname3
=unknown
13928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13929 ac_cpp
='$CPP $CPPFLAGS'
13930 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13931 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13932 cross_compiling
=$ac_cv_prog_cc_cross
13937 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
13939 if test "$wx_cv_type_getsockname3" = "unknown"; then
13941 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
13943 cat >> confdefs.h
<<EOF
13944 #define SOCKLEN_T $wx_cv_type_getsockname3
13950 if test "$wxUSE_SOCKETS" = "yes" ; then
13951 cat >> confdefs.h
<<\EOF
13952 #define wxUSE_SOCKETS 1
13955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
13956 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
13960 if test "$wxUSE_GUI" = "yes"; then
13962 if test "$TOOLKIT" != "MSW"; then
13964 if test "$wxUSE_JOYSTICK" = "yes"; then
13965 for ac_hdr
in linux
/joystick.h
13967 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13968 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13969 echo "configure:13970: checking for $ac_hdr" >&5
13970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13973 cat > conftest.
$ac_ext <<EOF
13974 #line 13975 "configure"
13975 #include "confdefs.h"
13978 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13979 { (eval echo configure
:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13980 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13981 if test -z "$ac_err"; then
13983 eval "ac_cv_header_$ac_safe=yes"
13986 echo "configure: failed program was:" >&5
13987 cat conftest.
$ac_ext >&5
13989 eval "ac_cv_header_$ac_safe=no"
13993 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13994 echo "$ac_t""yes" 1>&6
13995 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13996 cat >> confdefs.h
<<EOF
13997 #define $ac_tr_hdr 1
14001 echo "$ac_t""no" 1>&6
14005 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14007 echo "configure: warning: Joystick not supported by this system" 1>&2
14013 if test "$wxUSE_JOYSTICK" = "yes"; then
14014 cat >> confdefs.h
<<\EOF
14015 #define wxUSE_JOYSTICK 1
14018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14024 if test "$TOOLKIT" != "MSW"; then
14028 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14029 for ac_func
in dlopen
14031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14032 echo "configure:14033: checking for $ac_func" >&5
14033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14034 echo $ac_n "(cached) $ac_c" 1>&6
14036 cat > conftest.
$ac_ext <<EOF
14037 #line 14038 "configure"
14038 #include "confdefs.h"
14039 /* System header to define __stub macros and hopefully few prototypes,
14040 which can conflict with char $ac_func(); below. */
14041 #include <assert.h>
14042 /* Override any gcc2 internal prototype to avoid an error. */
14043 /* We use char because int might match the return type of a gcc2
14044 builtin and then its argument prototype would still apply. */
14049 /* The GNU C library defines this for functions which it implements
14050 to always fail with ENOSYS. Some functions are actually named
14051 something starting with __ and the normal name is an alias. */
14052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14060 if { (eval echo configure
:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14062 eval "ac_cv_func_$ac_func=yes"
14064 echo "configure: failed program was:" >&5
14065 cat conftest.
$ac_ext >&5
14067 eval "ac_cv_func_$ac_func=no"
14072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14073 echo "$ac_t""yes" 1>&6
14074 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14075 cat >> confdefs.h
<<EOF
14076 #define $ac_tr_func 1
14079 cat >> confdefs.h
<<\EOF
14080 #define HAVE_DLOPEN 1
14086 echo "$ac_t""no" 1>&6
14087 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14088 echo "configure:14089: checking for dlopen in -ldl" >&5
14089 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14091 echo $ac_n "(cached) $ac_c" 1>&6
14093 ac_save_LIBS
="$LIBS"
14095 cat > conftest.
$ac_ext <<EOF
14096 #line 14097 "configure"
14097 #include "confdefs.h"
14098 /* Override any gcc2 internal prototype to avoid an error. */
14099 /* We use char because int might match the return type of a gcc2
14100 builtin and then its argument prototype would still apply. */
14107 if { (eval echo configure
:14108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14109 eval "ac_cv_lib_$ac_lib_var=yes"
14111 echo "configure: failed program was:" >&5
14112 cat conftest.
$ac_ext >&5
14114 eval "ac_cv_lib_$ac_lib_var=no"
14117 LIBS
="$ac_save_LIBS"
14120 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14121 echo "$ac_t""yes" 1>&6
14123 cat >> confdefs.h
<<\EOF
14124 #define HAVE_DLOPEN 1
14131 echo "$ac_t""no" 1>&6
14133 for ac_func
in shl_load
14135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14136 echo "configure:14137: checking for $ac_func" >&5
14137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14138 echo $ac_n "(cached) $ac_c" 1>&6
14140 cat > conftest.
$ac_ext <<EOF
14141 #line 14142 "configure"
14142 #include "confdefs.h"
14143 /* System header to define __stub macros and hopefully few prototypes,
14144 which can conflict with char $ac_func(); below. */
14145 #include <assert.h>
14146 /* Override any gcc2 internal prototype to avoid an error. */
14147 /* We use char because int might match the return type of a gcc2
14148 builtin and then its argument prototype would still apply. */
14153 /* The GNU C library defines this for functions which it implements
14154 to always fail with ENOSYS. Some functions are actually named
14155 something starting with __ and the normal name is an alias. */
14156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14164 if { (eval echo configure
:14165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14166 eval "ac_cv_func_$ac_func=yes"
14168 echo "configure: failed program was:" >&5
14169 cat conftest.
$ac_ext >&5
14171 eval "ac_cv_func_$ac_func=no"
14176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14177 echo "$ac_t""yes" 1>&6
14178 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14179 cat >> confdefs.h
<<EOF
14180 #define $ac_tr_func 1
14183 cat >> confdefs.h
<<\EOF
14184 #define HAVE_SHL_LOAD 1
14190 echo "$ac_t""no" 1>&6
14191 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14192 echo "configure:14193: checking for dld in -lshl_load" >&5
14193 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14195 echo $ac_n "(cached) $ac_c" 1>&6
14197 ac_save_LIBS
="$LIBS"
14198 LIBS
="-lshl_load $LIBS"
14199 cat > conftest.
$ac_ext <<EOF
14200 #line 14201 "configure"
14201 #include "confdefs.h"
14202 /* Override any gcc2 internal prototype to avoid an error. */
14203 /* We use char because int might match the return type of a gcc2
14204 builtin and then its argument prototype would still apply. */
14211 if { (eval echo configure
:14212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14213 eval "ac_cv_lib_$ac_lib_var=yes"
14215 echo "configure: failed program was:" >&5
14216 cat conftest.
$ac_ext >&5
14218 eval "ac_cv_lib_$ac_lib_var=no"
14221 LIBS
="$ac_save_LIBS"
14224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14225 echo "$ac_t""yes" 1>&6
14231 echo "$ac_t""no" 1>&6
14246 if test "$HAVE_DL_FUNCS" = 1; then
14247 for ac_func
in dlerror
14249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14250 echo "configure:14251: checking for $ac_func" >&5
14251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14252 echo $ac_n "(cached) $ac_c" 1>&6
14254 cat > conftest.
$ac_ext <<EOF
14255 #line 14256 "configure"
14256 #include "confdefs.h"
14257 /* System header to define __stub macros and hopefully few prototypes,
14258 which can conflict with char $ac_func(); below. */
14259 #include <assert.h>
14260 /* Override any gcc2 internal prototype to avoid an error. */
14261 /* We use char because int might match the return type of a gcc2
14262 builtin and then its argument prototype would still apply. */
14267 /* The GNU C library defines this for functions which it implements
14268 to always fail with ENOSYS. Some functions are actually named
14269 something starting with __ and the normal name is an alias. */
14270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14278 if { (eval echo configure
:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14280 eval "ac_cv_func_$ac_func=yes"
14282 echo "configure: failed program was:" >&5
14283 cat conftest.
$ac_ext >&5
14285 eval "ac_cv_func_$ac_func=no"
14290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14291 echo "$ac_t""yes" 1>&6
14292 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14293 cat >> confdefs.h
<<EOF
14294 #define $ac_tr_func 1
14296 cat >> confdefs.h
<<\EOF
14297 #define HAVE_DLERROR 1
14301 echo "$ac_t""no" 1>&6
14302 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14303 echo "configure:14304: checking for dlerror in -ldl" >&5
14304 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14305 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14306 echo $ac_n "(cached) $ac_c" 1>&6
14308 ac_save_LIBS
="$LIBS"
14310 cat > conftest.
$ac_ext <<EOF
14311 #line 14312 "configure"
14312 #include "confdefs.h"
14313 /* Override any gcc2 internal prototype to avoid an error. */
14314 /* We use char because int might match the return type of a gcc2
14315 builtin and then its argument prototype would still apply. */
14322 if { (eval echo configure
:14323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14324 eval "ac_cv_lib_$ac_lib_var=yes"
14326 echo "configure: failed program was:" >&5
14327 cat conftest.
$ac_ext >&5
14329 eval "ac_cv_lib_$ac_lib_var=no"
14332 LIBS
="$ac_save_LIBS"
14335 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14336 echo "$ac_t""yes" 1>&6
14337 cat >> confdefs.h
<<\EOF
14338 #define HAVE_DLERROR 1
14342 echo "$ac_t""no" 1>&6
14350 if test "$HAVE_DL_FUNCS" = 0; then
14351 if test "$HAVE_SHL_FUNCS" = 0; then
14352 if test "$USE_UNIX" = 1; then
14353 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14354 wxUSE_DYNLIB_CLASS
=no
14356 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14364 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14365 cat >> confdefs.h
<<\EOF
14366 #define wxUSE_DYNLIB_CLASS 1
14375 if test "$wxUSE_UNICODE" = "yes" ; then
14376 cat >> confdefs.h
<<\EOF
14377 #define wxUSE_UNICODE 1
14382 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14383 cat >> confdefs.h
<<\EOF
14384 #define wxUSE_WCSRTOMBS 1
14389 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14390 cat >> confdefs.h
<<\EOF
14391 #define wxUSE_EXPERIMENTAL_PRINTF 1
14397 if test "$wxUSE_SERIAL" = "yes" ; then
14398 cat >> confdefs.h
<<\EOF
14399 #define wxUSE_SERIAL 1
14406 if test "$wxUSE_ODBC" = "yes" ; then
14407 cat >> confdefs.h
<<\EOF
14408 #define wxUSE_ODBC 1
14411 WXODBCFLAG
="-D_IODBC_"
14412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14413 IODBCOBJS
="\$(IODBC_OBJS)"
14419 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14420 cat >> confdefs.h
<<\EOF
14421 #define wxUSE_POSTSCRIPT 1
14426 cat >> confdefs.h
<<\EOF
14427 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14431 cat >> confdefs.h
<<\EOF
14432 #define wxUSE_NORMALIZED_PS_FONTS 1
14437 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14438 cat >> confdefs.h
<<\EOF
14439 #define wxUSE_CONSTRAINTS 1
14442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14445 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14446 cat >> confdefs.h
<<\EOF
14447 #define wxUSE_MDI_ARCHITECTURE 1
14450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14453 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14454 cat >> confdefs.h
<<\EOF
14455 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14459 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14464 if test "$wxUSE_HELP" = "yes"; then
14465 cat >> confdefs.h
<<\EOF
14466 #define wxUSE_HELP 1
14469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14472 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14473 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14474 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14476 cat >> confdefs.h
<<\EOF
14477 #define wxUSE_PRINTING_ARCHITECTURE 1
14481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14484 if test "$wxUSE_PROLOGIO" = "yes" ; then
14485 cat >> confdefs.h
<<\EOF
14486 #define wxUSE_PROLOGIO 1
14491 if test "$wxUSE_RESOURCES" = "yes" ; then
14492 if test "$wxUSE_PROLOGIO" = "yes" ; then
14493 cat >> confdefs.h
<<\EOF
14494 #define wxUSE_RESOURCES 1
14497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14499 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14503 if test "$wxUSE_X_RESOURCES" = "yes"; then
14504 cat >> confdefs.h
<<\EOF
14505 #define wxUSE_X_RESOURCES 1
14511 if test "$wxUSE_IPC" = "yes"; then
14512 if test "$wxUSE_SOCKETS" != "yes"; then
14513 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14516 cat >> confdefs.h
<<\EOF
14517 #define wxUSE_IPC 1
14522 if test "$wxUSE_CLIPBOARD" = "yes"; then
14523 cat >> confdefs.h
<<\EOF
14524 #define wxUSE_CLIPBOARD 1
14529 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14530 if test "$wxUSE_GTK" = 1; then
14531 if test "$WXGTK12" != 1; then
14532 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14533 wxUSE_DRAG_AND_DROP
=no
14537 if test "$wxUSE_MOTIF" = 1; then
14538 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14539 wxUSE_DRAG_AND_DROP
=no
14542 if test "$USE_WIN32" = 1; then
14543 for ac_hdr
in ole2.h
14545 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14547 echo "configure:14548: checking for $ac_hdr" >&5
14548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14549 echo $ac_n "(cached) $ac_c" 1>&6
14551 cat > conftest.
$ac_ext <<EOF
14552 #line 14553 "configure"
14553 #include "confdefs.h"
14556 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14557 { (eval echo configure
:14558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14558 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14559 if test -z "$ac_err"; then
14561 eval "ac_cv_header_$ac_safe=yes"
14564 echo "configure: failed program was:" >&5
14565 cat conftest.
$ac_ext >&5
14567 eval "ac_cv_header_$ac_safe=no"
14571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14573 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14574 cat >> confdefs.h
<<EOF
14575 #define $ac_tr_hdr 1
14579 echo "$ac_t""no" 1>&6
14583 if test "x$HAVE_OLE2_H" = x
; then
14584 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14585 wxUSE_DRAG_AND_DROP
=no
14589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14590 cat >> confdefs.h
<<\EOF
14591 #define wxUSE_DRAG_AND_DROP 1
14594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14599 if test "$wxUSE_SPLINES" = "yes" ; then
14600 cat >> confdefs.h
<<\EOF
14601 #define wxUSE_SPLINES 1
14607 if test "$wxUSE_ACCEL" = "yes"; then
14608 cat >> confdefs.h
<<\EOF
14609 #define wxUSE_ACCEL 1
14614 if test "$wxUSE_CARET" = "yes"; then
14615 cat >> confdefs.h
<<\EOF
14616 #define wxUSE_CARET 1
14619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14622 if test "$wxUSE_COMBOBOX" = "yes"; then
14623 cat >> confdefs.h
<<\EOF
14624 #define wxUSE_COMBOBOX 1
14629 if test "$wxUSE_CHOICE" = "yes"; then
14630 cat >> confdefs.h
<<\EOF
14631 #define wxUSE_CHOICE 1
14636 if test "$wxUSE_BMPBUTTON" = "yes"; then
14637 cat >> confdefs.h
<<\EOF
14638 #define wxUSE_BMPBUTTON 1
14643 if test "$wxUSE_CHECKBOX" = "yes"; then
14644 cat >> confdefs.h
<<\EOF
14645 #define wxUSE_CHECKBOX 1
14650 if test "$wxUSE_CHECKLST" = "yes"; then
14651 cat >> confdefs.h
<<\EOF
14652 #define wxUSE_CHECKLISTBOX 1
14655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14658 if test "$wxUSE_GAUGE" = "yes"; then
14659 cat >> confdefs.h
<<\EOF
14660 #define wxUSE_GAUGE 1
14665 if test "$wxUSE_NEW_GRID" = "yes"; then
14667 cat >> confdefs.h
<<\EOF
14668 #define wxUSE_NEW_GRID 1
14671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14674 if test "$wxUSE_GRID" = "yes"; then
14675 cat >> confdefs.h
<<\EOF
14676 #define wxUSE_GRID 1
14679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14682 if test "$wxUSE_IMAGLIST" = "yes"; then
14683 cat >> confdefs.h
<<\EOF
14684 #define wxUSE_IMAGLIST 1
14689 if test "$wxUSE_LISTBOX" = "yes"; then
14690 cat >> confdefs.h
<<\EOF
14691 #define wxUSE_LISTBOX 1
14696 if test "$wxUSE_LISTCTRL" = "yes"; then
14697 if test "$wxUSE_IMAGLIST" = "yes"; then
14698 cat >> confdefs.h
<<\EOF
14699 #define wxUSE_LISTCTRL 1
14702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14704 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14708 if test "$wxUSE_NOTEBOOK" = "yes"; then
14709 cat >> confdefs.h
<<\EOF
14710 #define wxUSE_NOTEBOOK 1
14713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14716 if test "$wxUSE_RADIOBOX" = "yes"; then
14717 cat >> confdefs.h
<<\EOF
14718 #define wxUSE_RADIOBOX 1
14723 if test "$wxUSE_RADIOBTN" = "yes"; then
14724 cat >> confdefs.h
<<\EOF
14725 #define wxUSE_RADIOBTN 1
14730 if test "$wxUSE_SASH" = "yes"; then
14731 cat >> confdefs.h
<<\EOF
14732 #define wxUSE_SASH 1
14735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14738 if test "$wxUSE_SCROLLBAR" = "yes"; then
14739 cat >> confdefs.h
<<\EOF
14740 #define wxUSE_SCROLLBAR 1
14743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14746 if test "$wxUSE_SLIDER" = "yes"; then
14747 cat >> confdefs.h
<<\EOF
14748 #define wxUSE_SLIDER 1
14753 if test "$wxUSE_SPINBTN" = "yes"; then
14754 cat >> confdefs.h
<<\EOF
14755 #define wxUSE_SPINBTN 1
14760 if test "$wxUSE_SPINCTRL" = "yes"; then
14761 cat >> confdefs.h
<<\EOF
14762 #define wxUSE_SPINCTRL 1
14767 if test "$wxUSE_SPLITTER" = "yes"; then
14768 cat >> confdefs.h
<<\EOF
14769 #define wxUSE_SPLITTER 1
14772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14775 if test "$wxUSE_STATBMP" = "yes"; then
14776 cat >> confdefs.h
<<\EOF
14777 #define wxUSE_STATBMP 1
14782 if test "$wxUSE_STATBOX" = "yes"; then
14783 cat >> confdefs.h
<<\EOF
14784 #define wxUSE_STATBOX 1
14789 if test "$wxUSE_STATLINE" = "yes"; then
14790 if test "$wxUSE_WINE" = 1 ; then
14791 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
14793 cat >> confdefs.h
<<\EOF
14794 #define wxUSE_STATLINE 1
14800 if test "$wxUSE_STATUSBAR" = "yes"; then
14801 cat >> confdefs.h
<<\EOF
14802 #define wxUSE_STATUSBAR 1
14806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
14809 if test "$wxUSE_TABDIALOG" = "yes"; then
14810 cat >> confdefs.h
<<\EOF
14811 #define wxUSE_TAB_DIALOG 1
14814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
14817 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
14818 cat >> confdefs.h
<<\EOF
14819 #define wxUSE_TOOLBAR_SIMPLE 1
14822 wxUSE_TOOLBAR
="yes"
14825 if test "$wxUSE_TOOLBAR" = "yes"; then
14826 cat >> confdefs.h
<<\EOF
14827 #define wxUSE_TOOLBAR 1
14831 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
14832 wxUSE_TOOLBAR_NATIVE
="yes"
14835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
14838 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
14839 cat >> confdefs.h
<<\EOF
14840 #define wxUSE_TOOLBAR_NATIVE 1
14845 if test "$wxUSE_TOOLTIPS" = "yes"; then
14846 if test "$wxUSE_MOTIF" = 1; then
14847 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
14849 if test "$wxUSE_WINE" = 1; then
14850 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
14852 cat >> confdefs.h
<<\EOF
14853 #define wxUSE_TOOLTIPS 1
14860 if test "$wxUSE_TREECTRL" = "yes"; then
14861 if test "$wxUSE_IMAGLIST" = "yes"; then
14862 cat >> confdefs.h
<<\EOF
14863 #define wxUSE_TREECTRL 1
14866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
14868 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
14874 if test "$wxUSE_METAFILE" = "yes"; then
14875 cat >> confdefs.h
<<\EOF
14876 #define wxUSE_METAFILE 1
14881 if test "$wxUSE_DIRDLG" = "yes"; then
14882 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14883 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
14885 if test "$wxUSE_TREECTRL" != "yes"; then
14886 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
14888 cat >> confdefs.h
<<\EOF
14889 #define wxUSE_DIRDLG 1
14896 if test "$wxUSE_TEXTDLG" = "yes"; then
14897 cat >> confdefs.h
<<\EOF
14898 #define wxUSE_TEXTDLG 1
14903 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
14904 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14905 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
14907 cat >> confdefs.h
<<\EOF
14908 #define wxUSE_STARTUP_TIPS 1
14914 if test "$wxUSE_PROGRESSDLG" = "yes"; then
14915 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14916 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
14918 cat >> confdefs.h
<<\EOF
14919 #define wxUSE_PROGRESSDLG 1
14925 if test "$wxUSE_MINIFRAME" = "yes"; then
14926 cat >> confdefs.h
<<\EOF
14927 #define wxUSE_MINIFRAME 1
14930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
14933 if test "$wxUSE_HTML" = "yes"; then
14934 cat >> confdefs.h
<<\EOF
14935 #define wxUSE_HTML 1
14938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
14939 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
14942 if test "$wxUSE_VALIDATORS" = "yes"; then
14943 cat >> confdefs.h
<<\EOF
14944 #define wxUSE_VALIDATORS 1
14947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
14950 if test "$wxUSE_GIF" = "yes" ; then
14951 cat >> confdefs.h
<<\EOF
14952 #define wxUSE_GIF 1
14957 if test "$wxUSE_PCX" = "yes" ; then
14958 cat >> confdefs.h
<<\EOF
14959 #define wxUSE_PCX 1
14964 if test "$wxUSE_PNM" = "yes" ; then
14965 cat >> confdefs.h
<<\EOF
14966 #define wxUSE_PNM 1
14972 if test "$cross_compiling" = "yes"; then
14975 OSINFO
=`uname -s -r -m`
14976 OSINFO
="\"$OSINFO\""
14979 cat >> confdefs.h
<<EOF
14980 #define WXWIN_OS_DESCRIPTION $OSINFO
14985 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
14986 OPENGL_LIBS
="$OPENGL_LINK"
14988 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
14989 if test "$wxUSE_GUI" = "yes"; then
14990 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
14993 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
14995 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
14997 if test "$wxUSE_GTK" = 1; then
14998 WXCONFIG_INCLUDE
=""
15000 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15003 if test "$GXX" = yes ; then
15004 CXXWARNINGS
="-Wall"
15006 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15008 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15009 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15011 LDFLAGS
="$LDFLAGS $PROFILE"
15013 if test "$wxUSE_GUI" = "yes"; then
15015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
15016 font fractal image menu minimal richedit"
15018 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15023 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15119 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15120 echo "configure:15121: checking whether ${MAKE-make} sets \${MAKE}" >&5
15121 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15122 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15123 echo $ac_n "(cached) $ac_c" 1>&6
15125 cat > conftestmake
<<\EOF
15127 @
echo 'ac_maketemp="${MAKE}"'
15129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15130 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15131 if test -n "$ac_maketemp"; then
15132 eval ac_cv_prog_make_
${ac_make}_set
=yes
15134 eval ac_cv_prog_make_
${ac_make}_set
=no
15138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15139 echo "$ac_t""yes" 1>&6
15142 echo "$ac_t""no" 1>&6
15143 SET_MAKE
="MAKE=${MAKE-make}"
15147 if test -d include
; then
15148 if test -d include
/wx
; then
15149 if test -d include
/wx
/${TOOLKIT_DIR}; then
15150 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15151 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15159 if test "$wxUSE_GUI" = "yes"; then
15160 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15161 wx_cv_path_ifs
=$PATH_IFS
15162 wx_cv_program_ext
=$PROGRAM_EXT
15163 wx_cv_target_library
=$WX_TARGET_LIBRARY
15164 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15165 subdirs
="demos samples utils contrib"
15170 cat > confcache
<<\EOF
15171 # This file is a shell script that caches the results of configure
15172 # tests run on this system so they can be shared between configure
15173 # scripts and configure runs. It is not useful on other systems.
15174 # If it contains results you don't want to keep, you may remove or edit it.
15176 # By default, configure uses ./config.cache as the cache file,
15177 # creating it if it does not exist already. You can give configure
15178 # the --cache-file=FILE option to use a different cache file; that is
15179 # what configure does when it calls configure scripts in
15180 # subdirectories, so they share the cache.
15181 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15182 # config.status only pays attention to the cache file if you give it the
15183 # --recheck option to rerun configure.
15186 # The following way of writing the cache mishandles newlines in values,
15187 # but we know of no workaround that is simple, portable, and efficient.
15188 # So, don't put newlines in cache variables' values.
15189 # Ultrix sh set writes to stderr and can't be redirected directly,
15190 # and sets the high bit in the cache file unless we assign to the vars.
15192 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15194 # `set' does not quote correctly, so add quotes (double-quote substitution
15195 # turns \\\\ into \\, and sed turns \\ into \).
15197 -e "s/'/'\\\\''/g" \
15198 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15201 # `set' quotes correctly as required by POSIX, so do not add quotes.
15202 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15205 if cmp -s $cache_file confcache
; then
15208 if test -w $cache_file; then
15209 echo "updating cache $cache_file"
15210 cat confcache
> $cache_file
15212 echo "not updating unwritable cache $cache_file"
15217 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15219 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15220 # Let make expand exec_prefix.
15221 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15223 # Any assignment to VPATH causes Sun make to only execute
15224 # the first set of double-colon rules, so remove it if not needed.
15225 # If there is a colon in the path, we need to keep it.
15226 if test "x$srcdir" = x.
; then
15227 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15230 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15232 DEFS
=-DHAVE_CONFIG_H
15234 # Without the "./", some shells look in PATH for config.status.
15235 : ${CONFIG_STATUS=./config.status}
15237 echo creating
$CONFIG_STATUS
15238 rm -f $CONFIG_STATUS
15239 cat > $CONFIG_STATUS <<EOF
15241 # Generated automatically by configure.
15242 # Run this file to recreate the current configuration.
15243 # This directory was configured as follows,
15244 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15246 # $0 $ac_configure_args
15248 # Compiler output produced by configure, useful for debugging
15249 # configure, is in ./config.log if it exists.
15251 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15254 case "\$ac_option" in
15255 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15256 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15257 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15258 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15259 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15261 -help | --help | --hel | --he | --h)
15262 echo "\$ac_cs_usage"; exit 0 ;;
15263 *) echo "\$ac_cs_usage"; exit 1 ;;
15267 ac_given_srcdir=$srcdir
15268 ac_given_INSTALL="$INSTALL"
15270 trap 'rm -fr `echo "
15276 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15278 cat >> $CONFIG_STATUS <<EOF
15280 # Protect against being on the right side of a sed subst in config.status.
15281 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15282 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15286 s%@CFLAGS@%$CFLAGS%g
15287 s%@CPPFLAGS@%$CPPFLAGS%g
15288 s%@CXXFLAGS@%$CXXFLAGS%g
15289 s%@FFLAGS@%$FFLAGS%g
15291 s%@LDFLAGS@%$LDFLAGS%g
15293 s%@exec_prefix@%$exec_prefix%g
15294 s%@prefix@%$prefix%g
15295 s%@program_transform_name@%$program_transform_name%g
15296 s%@bindir@%$bindir%g
15297 s%@sbindir@%$sbindir%g
15298 s%@libexecdir@%$libexecdir%g
15299 s%@datadir@%$datadir%g
15300 s%@sysconfdir@%$sysconfdir%g
15301 s%@sharedstatedir@%$sharedstatedir%g
15302 s%@localstatedir@%$localstatedir%g
15303 s%@libdir@%$libdir%g
15304 s%@includedir@%$includedir%g
15305 s%@oldincludedir@%$oldincludedir%g
15306 s%@infodir@%$infodir%g
15307 s%@mandir@%$mandir%g
15309 s%@host_alias@%$host_alias%g
15310 s%@host_cpu@%$host_cpu%g
15311 s%@host_vendor@%$host_vendor%g
15312 s%@host_os@%$host_os%g
15313 s%@target@%$target%g
15314 s%@target_alias@%$target_alias%g
15315 s%@target_cpu@%$target_cpu%g
15316 s%@target_vendor@%$target_vendor%g
15317 s%@target_os@%$target_os%g
15319 s%@build_alias@%$build_alias%g
15320 s%@build_cpu@%$build_cpu%g
15321 s%@build_vendor@%$build_vendor%g
15322 s%@build_os@%$build_os%g
15326 s%@CXXCPP@%$CXXCPP%g
15327 s%@RANLIB@%$RANLIB%g
15329 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15330 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15331 s%@INSTALL_DATA@%$INSTALL_DATA%g
15335 s%@LEXLIB@%$LEXLIB%g
15337 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15338 s%@GTK_CONFIG@%$GTK_CONFIG%g
15339 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15340 s%@GTK_LIBS@%$GTK_LIBS%g
15341 s%@X_CFLAGS@%$X_CFLAGS%g
15342 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15343 s%@X_LIBS@%$X_LIBS%g
15344 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15345 s%@LEX_STEM@%$LEX_STEM%g
15346 s%@PATH_IFS@%$PATH_IFS%g
15347 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15348 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15349 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15350 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15351 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15352 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15353 s%@WX_LIBRARY@%$WX_LIBRARY%g
15354 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15355 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15356 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15357 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15358 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15359 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15360 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15361 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15362 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15363 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15364 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15365 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15366 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15367 s%@WX_ALL@%$WX_ALL%g
15368 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15369 s%@SHARED_LD@%$SHARED_LD%g
15370 s%@PIC_FLAG@%$PIC_FLAG%g
15371 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15372 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15373 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15374 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15375 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15376 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15377 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15378 s%@USE_GUI@%$USE_GUI%g
15379 s%@AFMINSTALL@%$AFMINSTALL%g
15380 s%@TOOLKIT@%$TOOLKIT%g
15381 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15382 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15383 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15384 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15385 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15386 s%@GUIHEADERS@%$GUIHEADERS%g
15387 s%@GUIOBJS@%$GUIOBJS%g
15388 s%@COMMONOBJS@%$COMMONOBJS%g
15389 s%@GENERICOBJS@%$GENERICOBJS%g
15390 s%@GUIDEPS@%$GUIDEPS%g
15391 s%@COMMONDEPS@%$COMMONDEPS%g
15392 s%@GENERICDEPS@%$GENERICDEPS%g
15393 s%@IODBCOBJS@%$IODBCOBJS%g
15394 s%@UNIXOBJS@%$UNIXOBJS%g
15395 s%@UNIXDEPS@%$UNIXDEPS%g
15396 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15397 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15398 s%@GUIDIST@%$GUIDIST%g
15399 s%@PORT_FILES@%$PORT_FILES%g
15400 s%@DISTDIR@%$DISTDIR%g
15401 s%@RPM_SPEC@%$RPM_SPEC%g
15402 s%@RPM_FILES@%$RPM_FILES%g
15403 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15404 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15405 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15406 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15407 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15408 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15409 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15410 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15411 s%@EXTRADEFS@%$EXTRADEFS%g
15412 s%@LD_LIBS@%$LD_LIBS%g
15413 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15414 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15415 s%@RESPROGRAM@%$RESPROGRAM%g
15416 s%@RESCOMP@%$RESCOMP%g
15417 s%@RESFLAGS@%$RESFLAGS%g
15418 s%@DLLTOOL@%$DLLTOOL%g
15422 s%@MAKEINFO@%$MAKEINFO%g
15423 s%@SET_MAKE@%$SET_MAKE%g
15424 s%@subdirs@%$subdirs%g
15429 cat >> $CONFIG_STATUS <<\EOF
15431 # Split the substitutions into bite-sized pieces for seds with
15432 # small command number limits, like on Digital OSF/1 and HP-UX.
15433 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15434 ac_file
=1 # Number of current file.
15435 ac_beg
=1 # First line for current file.
15436 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15439 while $ac_more_lines; do
15440 if test $ac_beg -gt 1; then
15441 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15443 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15445 if test ! -s conftest.s
$ac_file; then
15446 ac_more_lines
=false
15447 rm -f conftest.s
$ac_file
15449 if test -z "$ac_sed_cmds"; then
15450 ac_sed_cmds
="sed -f conftest.s$ac_file"
15452 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15454 ac_file
=`expr $ac_file + 1`
15456 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15459 if test -z "$ac_sed_cmds"; then
15464 cat >> $CONFIG_STATUS <<EOF
15466 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15473 cat >> $CONFIG_STATUS <<\EOF
15474 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15475 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15477 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15478 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15479 *) ac_file_in
="${ac_file}.in" ;;
15482 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15484 # Remove last slash and all that follows it. Not all systems have dirname.
15485 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15486 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15487 # The file is in a subdirectory.
15488 test ! -d "$ac_dir" && mkdir "$ac_dir"
15489 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15490 # A "../" for each directory in $ac_dir_suffix.
15491 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15493 ac_dir_suffix
= ac_dots
=
15496 case "$ac_given_srcdir" in
15498 if test -z "$ac_dots"; then top_srcdir
=.
15499 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15500 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15501 *) # Relative path.
15502 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15503 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15506 case "$ac_given_INSTALL" in
15507 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15508 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15511 echo creating
"$ac_file"
15513 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15515 *Makefile
*) ac_comsub
="1i\\
15516 # $configure_input" ;;
15520 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15522 s%@configure_input@%$configure_input%g
15523 s%@srcdir@%$srcdir%g
15524 s%@top_srcdir@%$top_srcdir%g
15525 s%@INSTALL@%$INSTALL%g
15526 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15530 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15531 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15533 # ac_d sets the value in "#define NAME VALUE" lines.
15534 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15535 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15538 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15539 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15540 ac_uB
='\([ ]\)%\1#\2define\3'
15543 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15544 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15545 ac_eB
='$%\1#\2define\3'
15549 if test "${CONFIG_HEADERS+set}" != set; then
15551 cat >> $CONFIG_STATUS <<EOF
15552 CONFIG_HEADERS="setup.h:setup.h.in"
15554 cat >> $CONFIG_STATUS <<\EOF
15556 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15557 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15559 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15560 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15561 *) ac_file_in
="${ac_file}.in" ;;
15564 echo creating
$ac_file
15566 rm -f conftest.frag conftest.
in conftest.out
15567 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15568 cat $ac_file_inputs > conftest.
in
15572 # Transform confdefs.h into a sed script conftest.vals that substitutes
15573 # the proper values into config.h.in to produce config.h. And first:
15574 # Protect against being on the right side of a sed subst in config.status.
15575 # Protect against being in an unquoted here document in config.status.
15576 rm -f conftest.vals
15577 cat > conftest.hdr
<<\EOF
15580 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15584 sed -n -f conftest.hdr confdefs.h > conftest.vals
15587 # This sed command replaces #undef with comments. This is necessary, for
15588 # example, in the case of _POSIX_SOURCE, which is predefined and required
15589 # on some systems where configure will not decide to define it.
15590 cat >> conftest.vals <<\EOF
15591 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15594 # Break up conftest.vals because some shells have a limit on
15595 # the size of here documents, and old seds have small limits too.
15597 rm -f conftest.tail
15600 ac_lines=`grep -c . conftest.vals
`
15601 # grep -c gives empty output for an empty file on some AIX systems.
15602 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15603 # Write a limited-size here document to conftest.frag.
15604 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15605 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15607 sed -f conftest.frag conftest.in > conftest.out
15609 mv conftest.out conftest.in
15610 ' >> $CONFIG_STATUS
15611 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15612 rm -f conftest.vals
15613 mv conftest.tail conftest.vals
15615 rm -f conftest.vals
15617 cat >> $CONFIG_STATUS <<\EOF
15618 rm -f conftest.frag conftest.h
15619 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15620 cat conftest.in >> conftest.h
15622 if cmp -s $ac_file conftest.h 2>/dev/null; then
15623 echo "$ac_file is unchanged"
15626 # Remove last slash and all that follows it. Not all systems have dirname.
15627 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15628 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15629 # The file is in a subdirectory.
15630 test ! -d "$ac_dir" && mkdir "$ac_dir"
15633 mv conftest.h $ac_file
15638 cat >> $CONFIG_STATUS <<EOF
15640 TOOLKIT_DIR="${TOOLKIT_DIR}"
15641 TOOLKIT_NAME="${TOOLKIT_NAME}"
15646 cat >> $CONFIG_STATUS <<\EOF
15649 mv wx-config wx${TOOLKIT_NAME}-config
15650 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15653 if test ! -d lib; then
15656 if test ! -d lib/wx; then
15659 if test ! -d lib/wx/include; then
15660 mkdir lib/wx/include
15662 if test ! -d lib/wx/include/wx; then
15663 mkdir lib/wx/include/wx
15665 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15666 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15668 if test -f setup.h; then
15669 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15673 if test ! -d include; then
15676 if test ! -d include/wx; then
15679 if test ! -d include/wx/${TOOLKIT_DIR}; then
15680 mkdir include/wx/${TOOLKIT_DIR}
15682 if test -f setup.h; then
15683 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15689 chmod +x $CONFIG_STATUS
15690 rm -fr confdefs* $ac_clean_files
15691 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15693 if test "$no_recursion" != yes; then
15695 # Remove --cache-file and --srcdir arguments so they do not pile up.
15696 ac_sub_configure_args=
15698 for ac_arg in $ac_configure_args; do
15699 if test -n "$ac_prev"; then
15704 -cache-file | --cache-file | --cache-fil | --cache-fi \
15705 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15706 ac_prev=cache_file ;;
15707 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15708 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15710 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15712 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15714 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15718 for ac_config_dir in demos samples utils contrib; do
15720 # Do not complain, so a configure script can configure whichever
15721 # parts of a large source tree are present.
15722 if test ! -d $srcdir/$ac_config_dir; then
15726 echo configuring in $ac_config_dir
15731 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15733 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15741 # A "../" for each directory in /$ac_config_dir.
15742 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15745 .) # No --srcdir option. We are building in place.
15746 ac_sub_srcdir=$srcdir ;;
15747 /*) # Absolute path.
15748 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15749 *) # Relative path.
15750 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15753 # Check for guested configure; otherwise get Cygnus style configure.
15754 if test -f $ac_sub_srcdir/configure; then
15755 ac_sub_configure=$ac_sub_srcdir/configure
15756 elif test -f $ac_sub_srcdir/configure.in; then
15757 ac_sub_configure=$ac_configure
15759 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15763 # The recursion is here.
15764 if test -n "$ac_sub_configure"; then
15766 # Make the cache file name correct relative to the subdirectory.
15767 case "$cache_file" in
15768 /*) ac_sub_cache_file=$cache_file ;;
15769 *) # Relative path.
15770 ac_sub_cache_file="$ac_dots$cache_file" ;;
15772 case "$ac_given_INSTALL" in
15773 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15774 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15777 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15778 # The eval makes quoting arguments work.
15779 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15782 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }