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-plot use wxPlot"
286 --enable-joystick compile in joystick support (Linux only)"
288 --enable-gif use gif images (GIF file format)"
290 --enable-pcx use pcx images (PCX file format)"
292 --enable-pnm use pnm images (PNM file format)"
294 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
296 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
298 --disable-gtktest Do not try to compile and run a test GTK program"
300 --with-x use the X Window System"
302 # Initialize some variables set by options.
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
306 cache_file
=.
/config.cache
315 program_transform_name
=s
,x
,x
,
323 bindir
='${exec_prefix}/bin'
324 sbindir
='${exec_prefix}/sbin'
325 libexecdir
='${exec_prefix}/libexec'
326 datadir
='${prefix}/share'
327 sysconfdir
='${prefix}/etc'
328 sharedstatedir
='${prefix}/com'
329 localstatedir
='${prefix}/var'
330 libdir
='${exec_prefix}/lib'
331 includedir
='${prefix}/include'
332 oldincludedir
='/usr/include'
333 infodir
='${prefix}/info'
334 mandir
='${prefix}/man'
336 # Initialize some other variables.
339 SHELL
=${CONFIG_SHELL-/bin/sh}
340 # Maximum number of lines to put in a shell here document.
347 # If the previous option needs an argument, assign it.
348 if test -n "$ac_prev"; then
349 eval "$ac_prev=\$ac_option"
355 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
359 # Accept the important Cygnus configure options, so we can diagnose typos.
363 -bindir | --bindir | --bindi | --bind | --bin | --bi)
365 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
366 bindir
="$ac_optarg" ;;
368 -build | --build | --buil | --bui | --bu)
370 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
371 build
="$ac_optarg" ;;
373 -cache-file | --cache-file | --cache-fil | --cache-fi \
374 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
375 ac_prev
=cache_file
;;
376 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
377 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
378 cache_file
="$ac_optarg" ;;
380 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
382 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
384 datadir
="$ac_optarg" ;;
386 -disable-* | --disable-*)
387 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
388 # Reject names that are not valid shell variable names.
389 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
390 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
392 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
393 eval "enable_${ac_feature}=no" ;;
395 -enable-* | --enable-*)
396 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
401 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
406 eval "enable_${ac_feature}='$ac_optarg'" ;;
408 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
409 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
410 | --exec | --exe | --ex)
411 ac_prev
=exec_prefix
;;
412 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
413 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
414 | --exec=* | --exe=* | --ex=*)
415 exec_prefix
="$ac_optarg" ;;
417 -gas | --gas | --ga | --g)
418 # Obsolete; use --with-gas.
421 -help | --help | --hel | --he)
422 # Omit some internal or obsolete options to make the list less imposing.
423 # This message is too long to be a string in the A/UX 3.1 sh.
425 Usage: configure [options] [host]
426 Options: [defaults in brackets after descriptions]
428 --cache-file=FILE cache test results in FILE
429 --help print this message
430 --no-create do not create output files
431 --quiet, --silent do not print \`checking...' messages
432 --version print the version of autoconf that created configure
433 Directory and file names:
434 --prefix=PREFIX install architecture-independent files in PREFIX
436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
438 --bindir=DIR user executables in DIR [EPREFIX/bin]
439 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
440 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
441 --datadir=DIR read-only architecture-independent data in DIR
443 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
444 --sharedstatedir=DIR modifiable architecture-independent data in DIR
446 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
447 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
448 --includedir=DIR C header files in DIR [PREFIX/include]
449 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
450 --infodir=DIR info documentation in DIR [PREFIX/info]
451 --mandir=DIR man documentation in DIR [PREFIX/man]
452 --srcdir=DIR find the sources in DIR [configure dir or ..]
453 --program-prefix=PREFIX prepend PREFIX to installed program names
454 --program-suffix=SUFFIX append SUFFIX to installed program names
455 --program-transform-name=PROGRAM
456 run sed PROGRAM on installed program names
460 --build=BUILD configure for building on BUILD [BUILD=HOST]
461 --host=HOST configure for HOST [guessed]
462 --target=TARGET configure for TARGET [TARGET=HOST]
463 Features and packages:
464 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
465 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
468 --x-includes=DIR X include files are in DIR
469 --x-libraries=DIR X library files are in DIR
471 if test -n "$ac_help"; then
472 echo "--enable and --with options recognized:$ac_help"
476 -host | --host | --hos | --ho)
478 -host=* | --host=* | --hos=* | --ho=*)
481 -includedir | --includedir | --includedi | --included | --include \
482 | --includ | --inclu | --incl | --inc)
483 ac_prev
=includedir
;;
484 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
485 | --includ=* | --inclu=* | --incl=* | --inc=*)
486 includedir
="$ac_optarg" ;;
488 -infodir | --infodir | --infodi | --infod | --info | --inf)
490 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
491 infodir
="$ac_optarg" ;;
493 -libdir | --libdir | --libdi | --libd)
495 -libdir=* | --libdir=* | --libdi=* | --libd=*)
496 libdir
="$ac_optarg" ;;
498 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
499 | --libexe | --libex | --libe)
500 ac_prev
=libexecdir
;;
501 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
502 | --libexe=* | --libex=* | --libe=*)
503 libexecdir
="$ac_optarg" ;;
505 -localstatedir | --localstatedir | --localstatedi | --localstated \
506 | --localstate | --localstat | --localsta | --localst \
507 | --locals | --local | --loca | --loc | --lo)
508 ac_prev
=localstatedir
;;
509 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
510 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
511 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
512 localstatedir
="$ac_optarg" ;;
514 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
516 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
517 mandir
="$ac_optarg" ;;
520 # Obsolete; use --without-fp.
523 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
527 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
528 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
531 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
532 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
533 | --oldin | --oldi | --old | --ol | --o)
534 ac_prev
=oldincludedir
;;
535 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
536 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
537 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
538 oldincludedir
="$ac_optarg" ;;
540 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
542 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
543 prefix
="$ac_optarg" ;;
545 -program-prefix | --program-prefix | --program-prefi | --program-pref \
546 | --program-pre | --program-pr | --program-p)
547 ac_prev
=program_prefix
;;
548 -program-prefix=* | --program-prefix=* | --program-prefi=* \
549 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
550 program_prefix
="$ac_optarg" ;;
552 -program-suffix | --program-suffix | --program-suffi | --program-suff \
553 | --program-suf | --program-su | --program-s)
554 ac_prev
=program_suffix
;;
555 -program-suffix=* | --program-suffix=* | --program-suffi=* \
556 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
557 program_suffix
="$ac_optarg" ;;
559 -program-transform-name | --program-transform-name \
560 | --program-transform-nam | --program-transform-na \
561 | --program-transform-n | --program-transform- \
562 | --program-transform | --program-transfor \
563 | --program-transfo | --program-transf \
564 | --program-trans | --program-tran \
565 | --progr-tra | --program-tr | --program-t)
566 ac_prev
=program_transform_name
;;
567 -program-transform-name=* | --program-transform-name=* \
568 | --program-transform-nam=* | --program-transform-na=* \
569 | --program-transform-n=* | --program-transform-=* \
570 | --program-transform=* | --program-transfor=* \
571 | --program-transfo=* | --program-transf=* \
572 | --program-trans=* | --program-tran=* \
573 | --progr-tra=* | --program-tr=* | --program-t=*)
574 program_transform_name
="$ac_optarg" ;;
576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
577 | -silent | --silent | --silen | --sile | --sil)
580 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
582 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
584 sbindir
="$ac_optarg" ;;
586 -sharedstatedir | --sharedstatedir | --sharedstatedi \
587 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
588 | --sharedst | --shareds | --shared | --share | --shar \
590 ac_prev
=sharedstatedir
;;
591 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
592 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
593 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
595 sharedstatedir
="$ac_optarg" ;;
597 -site | --site | --sit)
599 -site=* | --site=* | --sit=*)
602 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
604 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
605 srcdir
="$ac_optarg" ;;
607 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
608 | --syscon | --sysco | --sysc | --sys | --sy)
609 ac_prev
=sysconfdir
;;
610 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
611 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
612 sysconfdir
="$ac_optarg" ;;
614 -target | --target | --targe | --targ | --tar | --ta | --t)
616 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
617 target
="$ac_optarg" ;;
619 -v | -verbose | --verbose | --verbos | --verbo | --verb)
622 -version | --version | --versio | --versi | --vers)
623 echo "configure generated by autoconf version 2.13"
627 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
628 # Reject names that are not valid shell variable names.
629 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
630 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
632 ac_package
=`echo $ac_package| sed 's/-/_/g'`
637 eval "with_${ac_package}='$ac_optarg'" ;;
639 -without-* | --without-*)
640 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
641 # Reject names that are not valid shell variable names.
642 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
643 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
645 ac_package
=`echo $ac_package| sed 's/-/_/g'`
646 eval "with_${ac_package}=no" ;;
649 # Obsolete; use --with-x.
652 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
653 | --x-incl | --x-inc | --x-in | --x-i)
654 ac_prev
=x_includes
;;
655 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
656 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
657 x_includes
="$ac_optarg" ;;
659 -x-libraries | --x-libraries | --x-librarie | --x-librari \
660 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
661 ac_prev
=x_libraries
;;
662 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
663 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
664 x_libraries
="$ac_optarg" ;;
666 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
670 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
671 echo "configure: warning: $ac_option: invalid host type" 1>&2
673 if test "x$nonopt" != xNONE
; then
674 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
682 if test -n "$ac_prev"; then
683 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
686 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
688 # File descriptor usage:
691 # 2 errors and warnings
692 # 3 some systems may open it to /dev/tty
693 # 4 used on the Kubota Titan
694 # 6 checking for... messages and results
695 # 5 compiler messages saved in config.log
696 if test "$silent" = yes; then
704 This file contains any messages produced by compilers while
705 running configure, to aid debugging if configure makes a mistake.
708 # Strip out --no-create and --no-recursion so they do not pile up.
709 # Also quote any args containing shell metacharacters.
714 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
715 | --no-cr | --no-c) ;;
716 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
717 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
718 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
719 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
720 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
725 # Only set these to C if already set. These must not be set unconditionally
726 # because not all systems understand e.g. LANG=C (notably SCO).
727 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
728 # Non-C LC_CTYPE values break the ctype check.
729 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
730 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
731 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
732 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
734 # confdefs.h avoids OS command line length limits that DEFS can exceed.
735 rm -rf conftest
* confdefs.h
736 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
739 # A filename unique to this package, relative to the directory that
740 # configure is in, which we can look for to find out if srcdir is correct.
741 ac_unique_file
=wx
-config.
in
743 # Find the source files, if location was not specified.
744 if test -z "$srcdir"; then
745 ac_srcdir_defaulted
=yes
746 # Try the directory containing this script, then its parent.
748 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
749 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
751 if test ! -r $srcdir/$ac_unique_file; then
755 ac_srcdir_defaulted
=no
757 if test ! -r $srcdir/$ac_unique_file; then
758 if test "$ac_srcdir_defaulted" = yes; then
759 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
761 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
764 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
766 # Prefer explicitly selected file to automatically selected ones.
767 if test -z "$CONFIG_SITE"; then
768 if test "x$prefix" != xNONE
; then
769 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
771 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
774 for ac_site_file
in $CONFIG_SITE; do
775 if test -r "$ac_site_file"; then
776 echo "loading site script $ac_site_file"
781 if test -r "$cache_file"; then
782 echo "loading cache $cache_file"
785 echo "creating cache $cache_file"
790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
791 ac_cpp
='$CPP $CPPFLAGS'
792 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
793 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794 cross_compiling
=$ac_cv_prog_cc_cross
798 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
799 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
800 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
807 ac_n
= ac_c
='\c' ac_t
=
813 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
814 if test -f $ac_dir/install-sh; then
816 ac_install_sh
="$ac_aux_dir/install-sh -c"
818 elif test -f $ac_dir/install.sh
; then
820 ac_install_sh
="$ac_aux_dir/install.sh -c"
824 if test -z "$ac_aux_dir"; then
825 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
827 ac_config_guess
=$ac_aux_dir/config.guess
828 ac_config_sub
=$ac_aux_dir/config.sub
829 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
832 # Do some error checking and defaulting for the host and target type.
834 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
837 # 1. You are not allowed to specify --host, --target, and nonopt at the
839 # 2. Host defaults to nonopt.
840 # 3. If nonopt is not specified, then host defaults to the current host,
841 # as determined by config.guess.
842 # 4. Target and build default to nonopt.
843 # 5. If nonopt is not specified, then target and build default to host.
845 # The aliases save the names the user supplied, while $host etc.
846 # will get canonicalized.
847 case $host---$target---$nonopt in
848 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
849 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
853 # Make sure we can run config.sub.
854 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
855 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
858 echo $ac_n "checking host system type""... $ac_c" 1>&6
859 echo "configure:860: checking host system type" >&5
862 case "$host_alias" in
866 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
867 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
869 *) host_alias
=$nonopt ;;
873 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
874 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$host" 1>&6
879 echo $ac_n "checking target system type""... $ac_c" 1>&6
880 echo "configure:881: checking target system type" >&5
883 case "$target_alias" in
886 NONE
) target_alias
=$host_alias ;;
887 *) target_alias
=$nonopt ;;
891 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
892 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
893 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
894 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
895 echo "$ac_t""$target" 1>&6
897 echo $ac_n "checking build system type""... $ac_c" 1>&6
898 echo "configure:899: checking build system type" >&5
901 case "$build_alias" in
904 NONE
) build_alias
=$host_alias ;;
905 *) build_alias
=$nonopt ;;
909 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
910 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
911 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
912 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
913 echo "$ac_t""$build" 1>&6
915 test "$host_alias" != "$target_alias" &&
916 test "$program_prefix$program_suffix$program_transform_name" = \
918 program_prefix
=${target_alias}-
922 WX_MAJOR_VERSION_NUMBER
=2
923 WX_MINOR_VERSION_NUMBER
=3
929 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
931 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
932 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
933 WX_REVISION
=$WX_INTERFACE_AGE
934 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
961 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
963 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
966 DEFAULT_wxUSE_MOTIF
=0
971 DEFAULT_DEFAULT_wxUSE_GTK
=0
972 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
973 DEFAULT_DEFAULT_wxUSE_MSW
=0
974 DEFAULT_DEFAULT_wxUSE_WINE
=0
975 DEFAULT_DEFAULT_wxUSE_PM
=0
982 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
983 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
984 cat >> confdefs.h
<<\EOF
991 cat >> confdefs.h
<<\EOF
996 if test "x$TMP" = "xalpha"; then
998 cat >> confdefs.h
<<\EOF
1003 DEFAULT_DEFAULT_wxUSE_GTK
=1
1005 *-*-irix5* | *-*-irix6* )
1008 cat >> confdefs.h
<<\EOF
1012 cat >> confdefs.h
<<\EOF
1016 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1022 cat >> confdefs.h
<<\EOF
1026 cat >> confdefs.h
<<\EOF
1027 #define __SOLARIS__ 1
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1035 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1041 cat >> confdefs.h
<<\EOF
1045 cat >> confdefs.h
<<\EOF
1049 cat >> confdefs.h
<<\EOF
1053 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1058 cat >> confdefs.h
<<\EOF
1059 #define __FREEBSD__ 1
1062 cat >> confdefs.h
<<\EOF
1066 DEFAULT_DEFAULT_wxUSE_GTK
=1
1071 cat >> confdefs.h
<<\EOF
1072 #define __FREEBSD__ 1
1075 cat >> confdefs.h
<<\EOF
1076 #define __NETBSD__ 1
1079 DEFAULT_DEFAULT_wxUSE_GTK
=1
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1093 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1140 *-*-cygwin32* | *-*-mingw32* )
1143 cat >> confdefs.h
<<\EOF
1147 cat >> confdefs.h
<<\EOF
1151 cat >> confdefs.h
<<\EOF
1152 #define __WINDOWS__ 1
1155 cat >> confdefs.h
<<\EOF
1156 #define __GNUWIN32__ 1
1159 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1164 #define WINVER 0x0400
1168 DEFAULT_DEFAULT_wxUSE_MSW
=1
1172 cat >> confdefs.h
<<\EOF
1177 DEFAULT_DEFAULT_wxUSE_PM
=1
1182 cat >> confdefs.h
<<\EOF
1189 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1192 if test "$USE_UNIX" = 1 ; then
1194 cat >> confdefs.h
<<\EOF
1199 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1200 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1203 if test "$USE_BEOS" = 1; then
1204 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1205 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1208 if test "$USE_LINUX" = 1; then
1209 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1210 echo "configure:1211: checking for gettext in -lc" >&5
1211 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1213 echo $ac_n "(cached) $ac_c" 1>&6
1215 ac_save_LIBS
="$LIBS"
1217 cat > conftest.
$ac_ext <<EOF
1218 #line 1219 "configure"
1219 #include "confdefs.h"
1220 /* Override any gcc2 internal prototype to avoid an error. */
1221 /* We use char because int might match the return type of a gcc2
1222 builtin and then its argument prototype would still apply. */
1229 if { (eval echo configure
:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1231 eval "ac_cv_lib_$ac_lib_var=yes"
1233 echo "configure: failed program was:" >&5
1234 cat conftest.
$ac_ext >&5
1236 eval "ac_cv_lib_$ac_lib_var=no"
1239 LIBS
="$ac_save_LIBS"
1242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1243 echo "$ac_t""yes" 1>&6
1244 cat >> confdefs.h
<<\EOF
1245 #define wxHAVE_GLIBC2 1
1249 echo "$ac_t""no" 1>&6
1257 wx_arg_cache_file
="configarg.cache"
1258 echo "loading argument cache $wx_arg_cache_file"
1259 rm -f ${wx_arg_cache_file}.tmp
1260 touch ${wx_arg_cache_file}.tmp
1261 touch ${wx_arg_cache_file}
1265 if test $DEBUG_CONFIGURE = 1; then
1266 DEFAULT_wxUSE_THREADS
=yes
1268 DEFAULT_wxUSE_SHARED
=yes
1269 DEFAULT_wxUSE_BURNT_NAME
=no
1270 DEFAULT_wxUSE_OPTIMISE
=yes
1271 DEFAULT_wxUSE_PROFILE
=no
1272 DEFAULT_wxUSE_NO_DEPS
=no
1273 DEFAULT_wxUSE_NO_RTTI
=no
1274 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1275 DEFAULT_wxUSE_PERMISSIVE
=no
1276 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1277 DEFAULT_wxUSE_DEBUG_INFO
=yes
1278 DEFAULT_wxUSE_DEBUG_GDB
=yes
1279 DEFAULT_wxUSE_MEM_TRACING
=no
1280 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1281 DEFAULT_wxUSE_DMALLOC
=no
1282 DEFAULT_wxUSE_APPLE_IEEE
=no
1284 DEFAULT_wxUSE_LOG
=yes
1286 DEFAULT_wxUSE_GUI
=yes
1288 DEFAULT_wxUSE_ZLIB
=no
1289 DEFAULT_wxUSE_LIBPNG
=no
1290 DEFAULT_wxUSE_LIBJPEG
=no
1291 DEFAULT_wxUSE_LIBTIFF
=no
1292 DEFAULT_wxUSE_ODBC
=no
1293 DEFAULT_wxUSE_FREETYPE
=no
1294 DEFAULT_wxUSE_OPENGL
=no
1296 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1297 DEFAULT_wxUSE_STD_IOSTREAM
=no
1298 DEFAULT_wxUSE_FILE
=no
1299 DEFAULT_wxUSE_TEXTFILE
=no
1300 DEFAULT_wxUSE_TIMEDATE
=no
1301 DEFAULT_wxUSE_WAVE
=no
1302 DEFAULT_wxUSE_INTL
=no
1303 DEFAULT_wxUSE_CONFIG
=no
1304 DEFAULT_wxUSE_STREAMS
=no
1305 DEFAULT_wxUSE_SOCKETS
=no
1306 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1307 DEFAULT_wxUSE_SERIAL
=no
1308 DEFAULT_wxUSE_JOYSTICK
=no
1309 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1310 DEFAULT_wxUSE_LONGLONG
=no
1311 DEFAULT_wxUSE_GEOMETRY
=no
1313 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1314 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1315 DEFAULT_wxUSE_POSTSCRIPT
=no
1317 DEFAULT_wxUSE_X_RESOURCES
=no
1318 DEFAULT_wxUSE_CLIPBOARD
=no
1319 DEFAULT_wxUSE_TOOLTIPS
=no
1320 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1321 DEFAULT_wxUSE_SPLINES
=no
1323 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1324 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1325 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1327 DEFAULT_wxUSE_PROLOGIO
=no
1328 DEFAULT_wxUSE_RESOURCES
=no
1329 DEFAULT_wxUSE_CONSTRAINTS
=no
1330 DEFAULT_wxUSE_IPC
=no
1331 DEFAULT_wxUSE_HELP
=no
1332 DEFAULT_wxUSE_WXTREE
=no
1333 DEFAULT_wxUSE_METAFILE
=no
1335 DEFAULT_wxUSE_COMMONDLGS
=no
1336 DEFAULT_wxUSE_DIRDLG
=no
1337 DEFAULT_wxUSE_TEXTDLG
=no
1338 DEFAULT_wxUSE_STARTUP_TIPS
=no
1339 DEFAULT_wxUSE_PROGRESSDLG
=no
1340 DEFAULT_wxUSE_MINIFRAME
=no
1341 DEFAULT_wxUSE_HTML
=no
1342 DEFAULT_wxUSE_FILESYSTEM
=no
1343 DEFAULT_wxUSE_FS_INET
=no
1344 DEFAULT_wxUSE_FS_ZIP
=no
1345 DEFAULT_wxUSE_BUSYINFO
=no
1346 DEFAULT_wxUSE_ZIPSTREAM
=no
1347 DEFAULT_wxUSE_VALIDATORS
=yes
1349 DEFAULT_wxUSE_ACCEL
=no
1350 DEFAULT_wxUSE_CARET
=no
1351 DEFAULT_wxUSE_BMPBUTTON
=no
1352 DEFAULT_wxUSE_CHECKBOX
=no
1353 DEFAULT_wxUSE_CHECKLST
=no
1354 DEFAULT_wxUSE_CHOICE
=yes
1355 DEFAULT_wxUSE_COMBOBOX
=no
1356 DEFAULT_wxUSE_GAUGE
=no
1357 DEFAULT_wxUSE_GRID
=no
1358 DEFAULT_wxUSE_NEW_GRID
=no
1359 DEFAULT_wxUSE_IMAGLIST
=no
1360 DEFAULT_wxUSE_LISTBOX
=no
1361 DEFAULT_wxUSE_LISTCTRL
=no
1362 DEFAULT_wxUSE_NOTEBOOK
=no
1363 DEFAULT_wxUSE_PLOT
=no
1364 DEFAULT_wxUSE_RADIOBOX
=no
1365 DEFAULT_wxUSE_RADIOBTN
=no
1366 DEFAULT_wxUSE_SASH
=no
1367 DEFAULT_wxUSE_SCROLLBAR
=no
1368 DEFAULT_wxUSE_SLIDER
=no
1369 DEFAULT_wxUSE_SPINBTN
=no
1370 DEFAULT_wxUSE_SPINCTRL
=no
1371 DEFAULT_wxUSE_SPLITTER
=no
1372 DEFAULT_wxUSE_STATBMP
=no
1373 DEFAULT_wxUSE_STATBOX
=no
1374 DEFAULT_wxUSE_STATLINE
=no
1375 DEFAULT_wxUSE_STATUSBAR
=yes
1376 DEFAULT_wxUSE_TABDIALOG
=no
1377 DEFAULT_wxUSE_TOOLBAR
=no
1378 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1379 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1380 DEFAULT_wxUSE_TREECTRL
=no
1382 DEFAULT_wxUSE_UNICODE
=no
1383 DEFAULT_wxUSE_WCSRTOMBS
=no
1385 DEFAULT_wxUSE_GIF
=no
1386 DEFAULT_wxUSE_PCX
=no
1387 DEFAULT_wxUSE_PNM
=no
1389 DEFAULT_wxUSE_THREADS
=yes
1391 DEFAULT_wxUSE_SHARED
=yes
1392 DEFAULT_wxUSE_BURNT_NAME
=no
1393 DEFAULT_wxUSE_OPTIMISE
=yes
1394 DEFAULT_wxUSE_PROFILE
=no
1395 DEFAULT_wxUSE_NO_DEPS
=no
1396 DEFAULT_wxUSE_NO_RTTI
=no
1397 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1398 DEFAULT_wxUSE_PERMISSIVE
=no
1399 DEFAULT_wxUSE_DEBUG_FLAG
=no
1400 DEFAULT_wxUSE_DEBUG_INFO
=no
1401 DEFAULT_wxUSE_DEBUG_GDB
=no
1402 DEFAULT_wxUSE_MEM_TRACING
=no
1403 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1404 DEFAULT_wxUSE_DMALLOC
=no
1405 DEFAULT_wxUSE_APPLE_IEEE
=yes
1407 DEFAULT_wxUSE_LOG
=yes
1409 DEFAULT_wxUSE_GUI
=yes
1411 DEFAULT_wxUSE_ZLIB
=yes
1412 DEFAULT_wxUSE_LIBPNG
=yes
1413 DEFAULT_wxUSE_LIBJPEG
=yes
1414 DEFAULT_wxUSE_LIBTIFF
=yes
1415 DEFAULT_wxUSE_ODBC
=no
1416 DEFAULT_wxUSE_FREETYPE
=no
1417 DEFAULT_wxUSE_OPENGL
=no
1419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1420 DEFAULT_wxUSE_STD_IOSTREAM
=no
1421 DEFAULT_wxUSE_FILE
=yes
1422 DEFAULT_wxUSE_TEXTFILE
=yes
1423 DEFAULT_wxUSE_TIMEDATE
=yes
1424 DEFAULT_wxUSE_WAVE
=no
1425 DEFAULT_wxUSE_INTL
=yes
1426 DEFAULT_wxUSE_CONFIG
=yes
1427 DEFAULT_wxUSE_STREAMS
=yes
1428 DEFAULT_wxUSE_SOCKETS
=yes
1429 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1430 DEFAULT_wxUSE_SERIAL
=yes
1431 DEFAULT_wxUSE_JOYSTICK
=yes
1432 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1433 DEFAULT_wxUSE_LONGLONG
=yes
1434 DEFAULT_wxUSE_GEOMETRY
=yes
1436 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1437 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1438 DEFAULT_wxUSE_POSTSCRIPT
=yes
1440 DEFAULT_wxUSE_X_RESOURCES
=no
1441 DEFAULT_wxUSE_CLIPBOARD
=yes
1442 DEFAULT_wxUSE_TOOLTIPS
=yes
1443 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1444 DEFAULT_wxUSE_SPLINES
=yes
1446 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1447 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1448 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1450 DEFAULT_wxUSE_PROLOGIO
=yes
1451 DEFAULT_wxUSE_RESOURCES
=yes
1452 DEFAULT_wxUSE_CONSTRAINTS
=yes
1453 DEFAULT_wxUSE_IPC
=yes
1454 DEFAULT_wxUSE_HELP
=yes
1455 DEFAULT_wxUSE_WXTREE
=yes
1456 DEFAULT_wxUSE_METAFILE
=yes
1458 DEFAULT_wxUSE_COMMONDLGS
=yes
1459 DEFAULT_wxUSE_DIRDLG
=yes
1460 DEFAULT_wxUSE_TEXTDLG
=yes
1461 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1462 DEFAULT_wxUSE_PROGRESSDLG
=yes
1463 DEFAULT_wxUSE_MINIFRAME
=yes
1464 DEFAULT_wxUSE_HTML
=yes
1465 DEFAULT_wxUSE_FILESYSTEM
=yes
1466 DEFAULT_wxUSE_FS_INET
=yes
1467 DEFAULT_wxUSE_FS_ZIP
=yes
1468 DEFAULT_wxUSE_BUSYINFO
=yes
1469 DEFAULT_wxUSE_ZIPSTREAM
=yes
1470 DEFAULT_wxUSE_VALIDATORS
=yes
1472 DEFAULT_wxUSE_ACCEL
=yes
1473 DEFAULT_wxUSE_CARET
=yes
1474 DEFAULT_wxUSE_BMPBUTTON
=yes
1475 DEFAULT_wxUSE_CHECKBOX
=yes
1476 DEFAULT_wxUSE_CHECKLST
=yes
1477 DEFAULT_wxUSE_CHOICE
=yes
1478 DEFAULT_wxUSE_COMBOBOX
=yes
1479 DEFAULT_wxUSE_GAUGE
=yes
1480 DEFAULT_wxUSE_GRID
=yes
1481 DEFAULT_wxUSE_NEW_GRID
=yes
1482 DEFAULT_wxUSE_IMAGLIST
=yes
1483 DEFAULT_wxUSE_LISTBOX
=yes
1484 DEFAULT_wxUSE_LISTCTRL
=yes
1485 DEFAULT_wxUSE_NOTEBOOK
=yes
1486 DEFAULT_wxUSE_PLOT
=yes
1487 DEFAULT_wxUSE_RADIOBOX
=yes
1488 DEFAULT_wxUSE_RADIOBTN
=yes
1489 DEFAULT_wxUSE_SASH
=yes
1490 DEFAULT_wxUSE_SCROLLBAR
=yes
1491 DEFAULT_wxUSE_SLIDER
=yes
1492 DEFAULT_wxUSE_SPINBTN
=yes
1493 DEFAULT_wxUSE_SPINCTRL
=yes
1494 DEFAULT_wxUSE_SPLITTER
=yes
1495 DEFAULT_wxUSE_STATBMP
=yes
1496 DEFAULT_wxUSE_STATBOX
=yes
1497 DEFAULT_wxUSE_STATLINE
=yes
1498 DEFAULT_wxUSE_STATUSBAR
=yes
1499 DEFAULT_wxUSE_TABDIALOG
=no
1500 DEFAULT_wxUSE_TOOLBAR
=yes
1501 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1502 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1503 DEFAULT_wxUSE_TREECTRL
=yes
1505 DEFAULT_wxUSE_UNICODE
=no
1506 DEFAULT_wxUSE_WCSRTOMBS
=no
1508 DEFAULT_wxUSE_GIF
=yes
1509 DEFAULT_wxUSE_PCX
=yes
1510 DEFAULT_wxUSE_PNM
=yes
1515 for toolkit
in `echo $ALL_TOOLKITS`; do
1516 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1517 if test "x$LINE" != x
; then
1518 has_toolkit_in_cache
=1
1519 eval "DEFAULT_$LINE"
1520 eval "CACHE_$toolkit=1"
1526 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1527 echo "configure:1528: checking "for --enable-gui"" >&5
1529 # Check whether --enable-gui or --disable-gui was given.
1530 if test "${enable_gui+set}" = set; then
1531 enableval
="$enable_gui"
1533 if test "$enableval" = yes; then
1534 ac_cv_use_gui
='wxUSE_GUI=yes'
1536 ac_cv_use_gui
='wxUSE_GUI=no'
1541 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1542 if test "x$LINE" != x
; then
1543 eval "DEFAULT_$LINE"
1548 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1553 eval "$ac_cv_use_gui"
1554 if test "$no_cache" != 1; then
1555 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1558 if test "$wxUSE_GUI" = yes; then
1559 echo "$ac_t""yes" 1>&6
1561 echo "$ac_t""no" 1>&6
1565 if test "$wxUSE_GUI" = "yes"; then
1567 # Check whether --with-gtk or --without-gtk was given.
1568 if test "${with_gtk+set}" = set; then
1570 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1573 # Check whether --with-motif or --without-motif was given.
1574 if test "${with_motif+set}" = set; then
1575 withval
="$with_motif"
1576 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1579 # Check whether --with-wine or --without-wine was given.
1580 if test "${with_wine+set}" = set; then
1581 withval
="$with_wine"
1582 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1585 # Check whether --with-cygwin or --without-cygwin was given.
1586 if test "${with_cygwin+set}" = set; then
1587 withval
="$with_cygwin"
1588 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1591 # Check whether --with-mingw or --without-mingw was given.
1592 if test "${with_mingw+set}" = set; then
1593 withval
="$with_mingw"
1594 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1597 # Check whether --with-pm or --without-pm was given.
1598 if test "${with_pm+set}" = set; then
1600 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1604 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1605 if test "${with_gtk_prefix+set}" = set; then
1606 withval
="$with_gtk_prefix"
1607 gtk_config_prefix
="$withval"
1609 gtk_config_prefix
=""
1612 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1613 if test "${with_gtk_exec_prefix+set}" = set; then
1614 withval
="$with_gtk_exec_prefix"
1615 gtk_config_exec_prefix
="$withval"
1617 gtk_config_exec_prefix
=""
1622 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1623 echo "configure:1624: checking "for --with-libpng"" >&5
1625 # Check whether --with-libpng or --without-libpng was given.
1626 if test "${with_libpng+set}" = set; then
1627 withval
="$with_libpng"
1629 if test "$withval" = yes; then
1630 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1631 elif test "$withval" = no
; then
1632 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1633 elif test "$withval" = sys
; then
1634 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1636 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1641 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1642 if test "x$LINE" != x
; then
1643 eval "DEFAULT_$LINE"
1648 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1653 eval "$ac_cv_use_libpng"
1654 if test "$no_cache" != 1; then
1655 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1658 if test "$wxUSE_LIBPNG" = yes; then
1659 echo "$ac_t""yes" 1>&6
1660 elif test "$wxUSE_LIBPNG" = no
; then
1661 echo "$ac_t""no" 1>&6
1662 elif test "$wxUSE_LIBPNG" = sys
; then
1663 echo "$ac_t""system version" 1>&6
1665 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1669 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1670 echo "configure:1671: checking "for --with-libjpeg"" >&5
1672 # Check whether --with-libjpeg or --without-libjpeg was given.
1673 if test "${with_libjpeg+set}" = set; then
1674 withval
="$with_libjpeg"
1676 if test "$withval" = yes; then
1677 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1678 elif test "$withval" = no
; then
1679 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1680 elif test "$withval" = sys
; then
1681 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1683 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1688 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1689 if test "x$LINE" != x
; then
1690 eval "DEFAULT_$LINE"
1695 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1700 eval "$ac_cv_use_libjpeg"
1701 if test "$no_cache" != 1; then
1702 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1705 if test "$wxUSE_LIBJPEG" = yes; then
1706 echo "$ac_t""yes" 1>&6
1707 elif test "$wxUSE_LIBJPEG" = no
; then
1708 echo "$ac_t""no" 1>&6
1709 elif test "$wxUSE_LIBJPEG" = sys
; then
1710 echo "$ac_t""system version" 1>&6
1712 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1716 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1717 echo "configure:1718: checking "for --with-libtiff"" >&5
1719 # Check whether --with-libtiff or --without-libtiff was given.
1720 if test "${with_libtiff+set}" = set; then
1721 withval
="$with_libtiff"
1723 if test "$withval" = yes; then
1724 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1725 elif test "$withval" = no
; then
1726 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1727 elif test "$withval" = sys
; then
1728 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1730 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1735 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1736 if test "x$LINE" != x
; then
1737 eval "DEFAULT_$LINE"
1742 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1747 eval "$ac_cv_use_libtiff"
1748 if test "$no_cache" != 1; then
1749 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1752 if test "$wxUSE_LIBTIFF" = yes; then
1753 echo "$ac_t""yes" 1>&6
1754 elif test "$wxUSE_LIBTIFF" = no
; then
1755 echo "$ac_t""no" 1>&6
1756 elif test "$wxUSE_LIBTIFF" = sys
; then
1757 echo "$ac_t""system version" 1>&6
1759 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1763 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1764 echo "configure:1765: checking "for --with-freetype"" >&5
1766 # Check whether --with-freetype or --without-freetype was given.
1767 if test "${with_freetype+set}" = set; then
1768 withval
="$with_freetype"
1770 if test "$withval" = yes; then
1771 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1772 elif test "$withval" = no
; then
1773 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1774 elif test "$withval" = sys
; then
1775 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1777 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1782 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1783 if test "x$LINE" != x
; then
1784 eval "DEFAULT_$LINE"
1789 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1794 eval "$ac_cv_use_freetype"
1795 if test "$no_cache" != 1; then
1796 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1799 if test "$wxUSE_FREETYPE" = yes; then
1800 echo "$ac_t""yes" 1>&6
1801 elif test "$wxUSE_FREETYPE" = no
; then
1802 echo "$ac_t""no" 1>&6
1803 elif test "$wxUSE_FREETYPE" = sys
; then
1804 echo "$ac_t""system version" 1>&6
1806 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1810 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1811 echo "configure:1812: checking "for --with-opengl"" >&5
1813 # Check whether --with-opengl or --without-opengl was given.
1814 if test "${with_opengl+set}" = set; then
1815 withval
="$with_opengl"
1817 if test "$withval" = yes; then
1818 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1820 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1825 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1826 if test "x$LINE" != x
; then
1827 eval "DEFAULT_$LINE"
1832 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1837 eval "$ac_cv_use_opengl"
1838 if test "$no_cache" != 1; then
1839 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1842 if test "$wxUSE_OPENGL" = yes; then
1843 echo "$ac_t""yes" 1>&6
1845 echo "$ac_t""no" 1>&6
1852 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1853 echo "configure:1854: checking "for --with-dmalloc"" >&5
1855 # Check whether --with-dmalloc or --without-dmalloc was given.
1856 if test "${with_dmalloc+set}" = set; then
1857 withval
="$with_dmalloc"
1859 if test "$withval" = yes; then
1860 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1862 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1867 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1868 if test "x$LINE" != x
; then
1869 eval "DEFAULT_$LINE"
1874 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1879 eval "$ac_cv_use_dmalloc"
1880 if test "$no_cache" != 1; then
1881 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1884 if test "$wxUSE_DMALLOC" = yes; then
1885 echo "$ac_t""yes" 1>&6
1887 echo "$ac_t""no" 1>&6
1891 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1892 echo "configure:1893: checking "for --with-zlib"" >&5
1894 # Check whether --with-zlib or --without-zlib was given.
1895 if test "${with_zlib+set}" = set; then
1896 withval
="$with_zlib"
1898 if test "$withval" = yes; then
1899 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1900 elif test "$withval" = no
; then
1901 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1902 elif test "$withval" = sys
; then
1903 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1905 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1910 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1911 if test "x$LINE" != x
; then
1912 eval "DEFAULT_$LINE"
1917 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1922 eval "$ac_cv_use_zlib"
1923 if test "$no_cache" != 1; then
1924 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1927 if test "$wxUSE_ZLIB" = yes; then
1928 echo "$ac_t""yes" 1>&6
1929 elif test "$wxUSE_ZLIB" = no
; then
1930 echo "$ac_t""no" 1>&6
1931 elif test "$wxUSE_ZLIB" = sys
; then
1932 echo "$ac_t""system version" 1>&6
1934 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1938 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1939 echo "configure:1940: checking "for --with-odbc"" >&5
1941 # Check whether --with-odbc or --without-odbc was given.
1942 if test "${with_odbc+set}" = set; then
1943 withval
="$with_odbc"
1945 if test "$withval" = yes; then
1946 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1948 ac_cv_use_odbc
='wxUSE_ODBC=no'
1953 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x
; then
1955 eval "DEFAULT_$LINE"
1960 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1965 eval "$ac_cv_use_odbc"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1970 if test "$wxUSE_ODBC" = yes; then
1971 echo "$ac_t""yes" 1>&6
1973 echo "$ac_t""no" 1>&6
1980 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-shared"" >&5
1983 # Check whether --enable-shared or --disable-shared was given.
1984 if test "${enable_shared+set}" = set; then
1985 enableval
="$enable_shared"
1987 if test "$enableval" = yes; then
1988 ac_cv_use_shared
='wxUSE_SHARED=yes'
1990 ac_cv_use_shared
='wxUSE_SHARED=no'
1995 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2007 eval "$ac_cv_use_shared"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_SHARED" = yes; then
2013 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2019 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-burnt_name"" >&5
2022 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2023 if test "${enable_burnt_name+set}" = set; then
2024 enableval
="$enable_burnt_name"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2029 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2034 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2046 eval "$ac_cv_use_burnt_name"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_BURNT_NAME" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-optimise"" >&5
2061 # Check whether --enable-optimise or --disable-optimise was given.
2062 if test "${enable_optimise+set}" = set; then
2063 enableval
="$enable_optimise"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2068 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2073 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2085 eval "$ac_cv_use_optimise"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_OPTIMISE" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-debug"" >&5
2100 # Check whether --enable-debug or --disable-debug was given.
2101 if test "${enable_debug+set}" = set; then
2102 enableval
="$enable_debug"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2107 ac_cv_use_debug
='wxUSE_DEBUG=no'
2112 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2124 eval "$ac_cv_use_debug"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_DEBUG" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 if test "$wxUSE_DEBUG" = "yes"; then
2137 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2138 DEFAULT_wxUSE_DEBUG_INFO
=yes
2139 elif test "$wxUSE_DEBUG" = "no"; then
2140 DEFAULT_wxUSE_DEBUG_FLAG
=no
2141 DEFAULT_wxUSE_DEBUG_INFO
=no
2145 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2146 echo "configure:2147: checking "for --enable-debug_flag"" >&5
2148 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2149 if test "${enable_debug_flag+set}" = set; then
2150 enableval
="$enable_debug_flag"
2152 if test "$enableval" = yes; then
2153 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2155 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2160 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2161 if test "x$LINE" != x
; then
2162 eval "DEFAULT_$LINE"
2167 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2172 eval "$ac_cv_use_debug_flag"
2173 if test "$no_cache" != 1; then
2174 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2177 if test "$wxUSE_DEBUG_FLAG" = yes; then
2178 echo "$ac_t""yes" 1>&6
2180 echo "$ac_t""no" 1>&6
2184 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2185 echo "configure:2186: checking "for --enable-debug_info"" >&5
2187 # Check whether --enable-debug_info or --disable-debug_info was given.
2188 if test "${enable_debug_info+set}" = set; then
2189 enableval
="$enable_debug_info"
2191 if test "$enableval" = yes; then
2192 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2194 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2199 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2200 if test "x$LINE" != x
; then
2201 eval "DEFAULT_$LINE"
2206 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2211 eval "$ac_cv_use_debug_info"
2212 if test "$no_cache" != 1; then
2213 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2216 if test "$wxUSE_DEBUG_INFO" = yes; then
2217 echo "$ac_t""yes" 1>&6
2219 echo "$ac_t""no" 1>&6
2223 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2224 echo "configure:2225: checking "for --enable-debug_gdb"" >&5
2226 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2227 if test "${enable_debug_gdb+set}" = set; then
2228 enableval
="$enable_debug_gdb"
2230 if test "$enableval" = yes; then
2231 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2233 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2238 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2239 if test "x$LINE" != x
; then
2240 eval "DEFAULT_$LINE"
2245 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2250 eval "$ac_cv_use_debug_gdb"
2251 if test "$no_cache" != 1; then
2252 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2255 if test "$wxUSE_DEBUG_GDB" = yes; then
2256 echo "$ac_t""yes" 1>&6
2258 echo "$ac_t""no" 1>&6
2262 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2263 echo "configure:2264: checking "for --enable-debug_cntxt"" >&5
2265 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2266 if test "${enable_debug_cntxt+set}" = set; then
2267 enableval
="$enable_debug_cntxt"
2269 if test "$enableval" = yes; then
2270 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2272 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2277 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2278 if test "x$LINE" != x
; then
2279 eval "DEFAULT_$LINE"
2284 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2289 eval "$ac_cv_use_debug_cntxt"
2290 if test "$no_cache" != 1; then
2291 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2294 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2295 echo "$ac_t""yes" 1>&6
2297 echo "$ac_t""no" 1>&6
2301 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2302 echo "configure:2303: checking "for --enable-mem_tracing"" >&5
2304 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2305 if test "${enable_mem_tracing+set}" = set; then
2306 enableval
="$enable_mem_tracing"
2308 if test "$enableval" = yes; then
2309 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2311 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2316 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x
; then
2318 eval "DEFAULT_$LINE"
2323 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2328 eval "$ac_cv_use_mem_tracing"
2329 if test "$no_cache" != 1; then
2330 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2333 if test "$wxUSE_MEM_TRACING" = yes; then
2334 echo "$ac_t""yes" 1>&6
2336 echo "$ac_t""no" 1>&6
2340 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2341 echo "configure:2342: checking "for --enable-profile"" >&5
2343 # Check whether --enable-profile or --disable-profile was given.
2344 if test "${enable_profile+set}" = set; then
2345 enableval
="$enable_profile"
2347 if test "$enableval" = yes; then
2348 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2350 ac_cv_use_profile
='wxUSE_PROFILE=no'
2355 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2356 if test "x$LINE" != x
; then
2357 eval "DEFAULT_$LINE"
2362 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2367 eval "$ac_cv_use_profile"
2368 if test "$no_cache" != 1; then
2369 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2372 if test "$wxUSE_PROFILE" = yes; then
2373 echo "$ac_t""yes" 1>&6
2375 echo "$ac_t""no" 1>&6
2379 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2380 echo "configure:2381: checking "for --enable-no_rtti"" >&5
2382 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2383 if test "${enable_no_rtti+set}" = set; then
2384 enableval
="$enable_no_rtti"
2386 if test "$enableval" = yes; then
2387 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2389 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2394 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2395 if test "x$LINE" != x
; then
2396 eval "DEFAULT_$LINE"
2401 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2406 eval "$ac_cv_use_no_rtti"
2407 if test "$no_cache" != 1; then
2408 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2411 if test "$wxUSE_NO_RTTI" = yes; then
2412 echo "$ac_t""yes" 1>&6
2414 echo "$ac_t""no" 1>&6
2418 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2419 echo "configure:2420: checking "for --enable-no_exceptions"" >&5
2421 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2422 if test "${enable_no_exceptions+set}" = set; then
2423 enableval
="$enable_no_exceptions"
2425 if test "$enableval" = yes; then
2426 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2428 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2433 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2434 if test "x$LINE" != x
; then
2435 eval "DEFAULT_$LINE"
2440 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2445 eval "$ac_cv_use_no_exceptions"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2451 echo "$ac_t""yes" 1>&6
2453 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2458 echo "configure:2459: checking "for --enable-permissive"" >&5
2460 # Check whether --enable-permissive or --disable-permissive was given.
2461 if test "${enable_permissive+set}" = set; then
2462 enableval
="$enable_permissive"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2467 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2472 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2484 eval "$ac_cv_use_permissive"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_PERMISSIVE" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2496 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2497 echo "configure:2498: checking "for --enable-no_deps"" >&5
2499 # Check whether --enable-no_deps or --disable-no_deps was given.
2500 if test "${enable_no_deps+set}" = set; then
2501 enableval
="$enable_no_deps"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2506 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2511 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x
; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2523 eval "$ac_cv_use_no_deps"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2528 if test "$wxUSE_NO_DEPS" = yes; then
2529 echo "$ac_t""yes" 1>&6
2531 echo "$ac_t""no" 1>&6
2537 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2538 echo "configure:2539: checking "for --enable-intl"" >&5
2540 # Check whether --enable-intl or --disable-intl was given.
2541 if test "${enable_intl+set}" = set; then
2542 enableval
="$enable_intl"
2544 if test "$enableval" = yes; then
2545 ac_cv_use_intl
='wxUSE_INTL=yes'
2547 ac_cv_use_intl
='wxUSE_INTL=no'
2552 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2553 if test "x$LINE" != x
; then
2554 eval "DEFAULT_$LINE"
2559 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2564 eval "$ac_cv_use_intl"
2565 if test "$no_cache" != 1; then
2566 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2569 if test "$wxUSE_INTL" = yes; then
2570 echo "$ac_t""yes" 1>&6
2572 echo "$ac_t""no" 1>&6
2576 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2577 echo "configure:2578: checking "for --enable-config"" >&5
2579 # Check whether --enable-config or --disable-config was given.
2580 if test "${enable_config+set}" = set; then
2581 enableval
="$enable_config"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_config
='wxUSE_CONFIG=yes'
2586 ac_cv_use_config
='wxUSE_CONFIG=no'
2591 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x
; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2603 eval "$ac_cv_use_config"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2608 if test "$wxUSE_CONFIG" = yes; then
2609 echo "$ac_t""yes" 1>&6
2611 echo "$ac_t""no" 1>&6
2616 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2617 echo "configure:2618: checking "for --enable-sockets"" >&5
2619 # Check whether --enable-sockets or --disable-sockets was given.
2620 if test "${enable_sockets+set}" = set; then
2621 enableval
="$enable_sockets"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2626 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2631 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2643 eval "$ac_cv_use_sockets"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_SOCKETS" = yes; then
2649 echo "$ac_t""yes" 1>&6
2651 echo "$ac_t""no" 1>&6
2656 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2657 echo "configure:2658: checking "for --enable-ipc"" >&5
2659 # Check whether --enable-ipc or --disable-ipc was given.
2660 if test "${enable_ipc+set}" = set; then
2661 enableval
="$enable_ipc"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_ipc
='wxUSE_IPC=yes'
2666 ac_cv_use_ipc
='wxUSE_IPC=no'
2671 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2683 eval "$ac_cv_use_ipc"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_IPC" = yes; then
2689 echo "$ac_t""yes" 1>&6
2691 echo "$ac_t""no" 1>&6
2696 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2697 echo "configure:2698: checking "for --enable-dialupman"" >&5
2699 # Check whether --enable-dialupman or --disable-dialupman was given.
2700 if test "${enable_dialupman+set}" = set; then
2701 enableval
="$enable_dialupman"
2703 if test "$enableval" = yes; then
2704 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2706 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2711 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x
; then
2713 eval "DEFAULT_$LINE"
2718 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2723 eval "$ac_cv_use_dialupman"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2729 echo "$ac_t""yes" 1>&6
2731 echo "$ac_t""no" 1>&6
2735 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2736 echo "configure:2737: checking "for --enable-apple_ieee"" >&5
2738 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2739 if test "${enable_apple_ieee+set}" = set; then
2740 enableval
="$enable_apple_ieee"
2742 if test "$enableval" = yes; then
2743 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2745 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2750 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2751 if test "x$LINE" != x
; then
2752 eval "DEFAULT_$LINE"
2757 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2762 eval "$ac_cv_use_apple_ieee"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_APPLE_IEEE" = yes; then
2768 echo "$ac_t""yes" 1>&6
2770 echo "$ac_t""no" 1>&6
2774 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2775 echo "configure:2776: checking "for --enable-timedate"" >&5
2777 # Check whether --enable-timedate or --disable-timedate was given.
2778 if test "${enable_timedate+set}" = set; then
2779 enableval
="$enable_timedate"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2784 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2789 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2801 eval "$ac_cv_use_timedate"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_TIMEDATE" = yes; then
2807 echo "$ac_t""yes" 1>&6
2809 echo "$ac_t""no" 1>&6
2813 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2814 echo "configure:2815: checking "for --enable-wave"" >&5
2816 # Check whether --enable-wave or --disable-wave was given.
2817 if test "${enable_wave+set}" = set; then
2818 enableval
="$enable_wave"
2820 if test "$enableval" = yes; then
2821 ac_cv_use_wave
='wxUSE_WAVE=yes'
2823 ac_cv_use_wave
='wxUSE_WAVE=no'
2828 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x
; then
2830 eval "DEFAULT_$LINE"
2835 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2840 eval "$ac_cv_use_wave"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_WAVE" = yes; then
2846 echo "$ac_t""yes" 1>&6
2848 echo "$ac_t""no" 1>&6
2852 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2853 echo "configure:2854: checking "for --enable-fraction"" >&5
2855 # Check whether --enable-fraction or --disable-fraction was given.
2856 if test "${enable_fraction+set}" = set; then
2857 enableval
="$enable_fraction"
2859 if test "$enableval" = yes; then
2860 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2862 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2867 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2868 if test "x$LINE" != x
; then
2869 eval "DEFAULT_$LINE"
2874 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2879 eval "$ac_cv_use_fraction"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_FRACTION" = yes; then
2885 echo "$ac_t""yes" 1>&6
2887 echo "$ac_t""no" 1>&6
2891 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2892 echo "configure:2893: checking "for --enable-dynlib"" >&5
2894 # Check whether --enable-dynlib or --disable-dynlib was given.
2895 if test "${enable_dynlib+set}" = set; then
2896 enableval
="$enable_dynlib"
2898 if test "$enableval" = yes; then
2899 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2901 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2906 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2918 eval "$ac_cv_use_dynlib"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2923 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2924 echo "$ac_t""yes" 1>&6
2926 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2931 echo "configure:2932: checking "for --enable-longlong"" >&5
2933 # Check whether --enable-longlong or --disable-longlong was given.
2934 if test "${enable_longlong+set}" = set; then
2935 enableval
="$enable_longlong"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2940 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2945 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2957 eval "$ac_cv_use_longlong"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_LONGLONG" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
2970 echo "configure:2971: checking "for --enable-geometry"" >&5
2972 # Check whether --enable-geometry or --disable-geometry was given.
2973 if test "${enable_geometry+set}" = set; then
2974 enableval
="$enable_geometry"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
2979 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
2984 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
2996 eval "$ac_cv_use_geometry"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3001 if test "$wxUSE_GEOMETRY" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3008 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3009 echo "configure:3010: checking "for --enable-log"" >&5
3011 # Check whether --enable-log or --disable-log was given.
3012 if test "${enable_log+set}" = set; then
3013 enableval
="$enable_log"
3015 if test "$enableval" = yes; then
3016 ac_cv_use_log
='wxUSE_LOG=yes'
3018 ac_cv_use_log
='wxUSE_LOG=no'
3023 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x
; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3035 eval "$ac_cv_use_log"
3036 if test "$no_cache" != 1; then
3037 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3040 if test "$wxUSE_LOG" = yes; then
3041 echo "$ac_t""yes" 1>&6
3043 echo "$ac_t""no" 1>&6
3047 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3048 echo "configure:3049: checking "for --enable-streams"" >&5
3050 # Check whether --enable-streams or --disable-streams was given.
3051 if test "${enable_streams+set}" = set; then
3052 enableval
="$enable_streams"
3054 if test "$enableval" = yes; then
3055 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3057 ac_cv_use_streams
='wxUSE_STREAMS=no'
3062 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x
; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3074 eval "$ac_cv_use_streams"
3075 if test "$no_cache" != 1; then
3076 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3079 if test "$wxUSE_STREAMS" = yes; then
3080 echo "$ac_t""yes" 1>&6
3082 echo "$ac_t""no" 1>&6
3086 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3087 echo "configure:3088: checking "for --enable-file"" >&5
3089 # Check whether --enable-file or --disable-file was given.
3090 if test "${enable_file+set}" = set; then
3091 enableval
="$enable_file"
3093 if test "$enableval" = yes; then
3094 ac_cv_use_file
='wxUSE_FILE=yes'
3096 ac_cv_use_file
='wxUSE_FILE=no'
3101 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x
; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3113 eval "$ac_cv_use_file"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3118 if test "$wxUSE_FILE" = yes; then
3119 echo "$ac_t""yes" 1>&6
3121 echo "$ac_t""no" 1>&6
3125 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3126 echo "configure:3127: checking "for --enable-textfile"" >&5
3128 # Check whether --enable-textfile or --disable-textfile was given.
3129 if test "${enable_textfile+set}" = set; then
3130 enableval
="$enable_textfile"
3132 if test "$enableval" = yes; then
3133 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3135 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3140 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x
; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3152 eval "$ac_cv_use_textfile"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_TEXTFILE" = yes; then
3158 echo "$ac_t""yes" 1>&6
3160 echo "$ac_t""no" 1>&6
3164 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3165 echo "configure:3166: checking "for --enable-unicode"" >&5
3167 # Check whether --enable-unicode or --disable-unicode was given.
3168 if test "${enable_unicode+set}" = set; then
3169 enableval
="$enable_unicode"
3171 if test "$enableval" = yes; then
3172 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3174 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3179 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3191 eval "$ac_cv_use_unicode"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_UNICODE" = yes; then
3197 echo "$ac_t""yes" 1>&6
3199 echo "$ac_t""no" 1>&6
3203 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3204 echo "configure:3205: checking "for --enable-wcsrtombs"" >&5
3206 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3207 if test "${enable_wcsrtombs+set}" = set; then
3208 enableval
="$enable_wcsrtombs"
3210 if test "$enableval" = yes; then
3211 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3213 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3218 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3219 if test "x$LINE" != x
; then
3220 eval "DEFAULT_$LINE"
3225 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3230 eval "$ac_cv_use_wcsrtombs"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_WCSRTOMBS" = yes; then
3236 echo "$ac_t""yes" 1>&6
3238 echo "$ac_t""no" 1>&6
3242 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3243 echo "configure:3244: checking "for --enable-wxprintfv"" >&5
3245 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3246 if test "${enable_wxprintfv+set}" = set; then
3247 enableval
="$enable_wxprintfv"
3249 if test "$enableval" = yes; then
3250 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3252 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3257 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3269 eval "$ac_cv_use_wxprintfv"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3274 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3275 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3282 echo "configure:3283: checking "for --enable-std_iostreams"" >&5
3284 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3285 if test "${enable_std_iostreams+set}" = set; then
3286 enableval
="$enable_std_iostreams"
3288 if test "$enableval" = yes; then
3289 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3291 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3296 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3308 eval "$ac_cv_use_std_iostreams"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3313 if test "$wxUSE_STD_IOSTREAM" = yes; then
3314 echo "$ac_t""yes" 1>&6
3316 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3321 echo "configure:3322: checking "for --enable-filesystem"" >&5
3323 # Check whether --enable-filesystem or --disable-filesystem was given.
3324 if test "${enable_filesystem+set}" = set; then
3325 enableval
="$enable_filesystem"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3330 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3335 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3347 eval "$ac_cv_use_filesystem"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_FILESYSTEM" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3359 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3360 echo "configure:3361: checking "for --enable-fs_inet"" >&5
3362 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3363 if test "${enable_fs_inet+set}" = set; then
3364 enableval
="$enable_fs_inet"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3369 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3374 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x
; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3386 eval "$ac_cv_use_fs_inet"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_FS_INET" = yes; then
3392 echo "$ac_t""yes" 1>&6
3394 echo "$ac_t""no" 1>&6
3398 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3399 echo "configure:3400: checking "for --enable-fs_zip"" >&5
3401 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3402 if test "${enable_fs_zip+set}" = set; then
3403 enableval
="$enable_fs_zip"
3405 if test "$enableval" = yes; then
3406 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3408 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3413 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x
; then
3415 eval "DEFAULT_$LINE"
3420 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3425 eval "$ac_cv_use_fs_zip"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3430 if test "$wxUSE_FS_ZIP" = yes; then
3431 echo "$ac_t""yes" 1>&6
3433 echo "$ac_t""no" 1>&6
3437 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3438 echo "configure:3439: checking "for --enable-zipstream"" >&5
3440 # Check whether --enable-zipstream or --disable-zipstream was given.
3441 if test "${enable_zipstream+set}" = set; then
3442 enableval
="$enable_zipstream"
3444 if test "$enableval" = yes; then
3445 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3447 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3452 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3464 eval "$ac_cv_use_zipstream"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3469 if test "$wxUSE_ZIPSTREAM" = yes; then
3470 echo "$ac_t""yes" 1>&6
3472 echo "$ac_t""no" 1>&6
3477 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3478 echo "configure:3479: checking "for --enable-catch_segvs"" >&5
3480 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3481 if test "${enable_catch_segvs+set}" = set; then
3482 enableval
="$enable_catch_segvs"
3484 if test "$enableval" = yes; then
3485 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3487 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3492 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x
; then
3494 eval "DEFAULT_$LINE"
3499 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3504 eval "$ac_cv_use_catch_segvs"
3505 if test "$no_cache" != 1; then
3506 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3509 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3510 echo "$ac_t""yes" 1>&6
3512 echo "$ac_t""no" 1>&6
3518 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3519 echo "configure:3520: checking "for --enable-threads"" >&5
3521 # Check whether --enable-threads or --disable-threads was given.
3522 if test "${enable_threads+set}" = set; then
3523 enableval
="$enable_threads"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_threads
='wxUSE_THREADS=yes'
3528 ac_cv_use_threads
='wxUSE_THREADS=no'
3533 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3545 eval "$ac_cv_use_threads"
3546 if test "$no_cache" != 1; then
3547 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3550 if test "$wxUSE_THREADS" = yes; then
3551 echo "$ac_t""yes" 1>&6
3553 echo "$ac_t""no" 1>&6
3557 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3558 echo "configure:3559: checking "for --enable-serial"" >&5
3560 # Check whether --enable-serial or --disable-serial was given.
3561 if test "${enable_serial+set}" = set; then
3562 enableval
="$enable_serial"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3567 ac_cv_use_serial
='wxUSE_SERIAL=no'
3572 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x
; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3584 eval "$ac_cv_use_serial"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_SERIAL" = yes; then
3590 echo "$ac_t""yes" 1>&6
3592 echo "$ac_t""no" 1>&6
3596 if test "$wxUSE_GUI" = "yes"; then
3600 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3601 echo "configure:3602: checking "for --enable-docview"" >&5
3603 # Check whether --enable-docview or --disable-docview was given.
3604 if test "${enable_docview+set}" = set; then
3605 enableval
="$enable_docview"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3610 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3615 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3627 eval "$ac_cv_use_docview"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3633 echo "$ac_t""yes" 1>&6
3635 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3640 echo "configure:3641: checking "for --enable-help"" >&5
3642 # Check whether --enable-help or --disable-help was given.
3643 if test "${enable_help+set}" = set; then
3644 enableval
="$enable_help"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_help
='wxUSE_HELP=yes'
3649 ac_cv_use_help
='wxUSE_HELP=no'
3654 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3666 eval "$ac_cv_use_help"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_HELP" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3678 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3679 echo "configure:3680: checking "for --enable-constraints"" >&5
3681 # Check whether --enable-constraints or --disable-constraints was given.
3682 if test "${enable_constraints+set}" = set; then
3683 enableval
="$enable_constraints"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3688 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3693 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3705 eval "$ac_cv_use_constraints"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_CONSTRAINTS" = yes; then
3711 echo "$ac_t""yes" 1>&6
3713 echo "$ac_t""no" 1>&6
3717 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3718 echo "configure:3719: checking "for --enable-printarch"" >&5
3720 # Check whether --enable-printarch or --disable-printarch was given.
3721 if test "${enable_printarch+set}" = set; then
3722 enableval
="$enable_printarch"
3724 if test "$enableval" = yes; then
3725 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3727 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3732 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x
; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3744 eval "$ac_cv_use_printarch"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3750 echo "$ac_t""yes" 1>&6
3752 echo "$ac_t""no" 1>&6
3756 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3757 echo "configure:3758: checking "for --enable-mdi"" >&5
3759 # Check whether --enable-mdi or --disable-mdi was given.
3760 if test "${enable_mdi+set}" = set; then
3761 enableval
="$enable_mdi"
3763 if test "$enableval" = yes; then
3764 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3766 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3771 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x
; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3783 eval "$ac_cv_use_mdi"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3789 echo "$ac_t""yes" 1>&6
3791 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3797 echo "configure:3798: checking "for --enable-postscript"" >&5
3799 # Check whether --enable-postscript or --disable-postscript was given.
3800 if test "${enable_postscript+set}" = set; then
3801 enableval
="$enable_postscript"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3806 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3811 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3823 eval "$ac_cv_use_postscript"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_POSTSCRIPT" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3837 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3838 echo "configure:3839: checking "for --enable-prologio"" >&5
3840 # Check whether --enable-prologio or --disable-prologio was given.
3841 if test "${enable_prologio+set}" = set; then
3842 enableval
="$enable_prologio"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3847 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3852 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x
; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3864 eval "$ac_cv_use_prologio"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3869 if test "$wxUSE_PROLOGIO" = yes; then
3870 echo "$ac_t""yes" 1>&6
3872 echo "$ac_t""no" 1>&6
3876 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3877 echo "configure:3878: checking "for --enable-resources"" >&5
3879 # Check whether --enable-resources or --disable-resources was given.
3880 if test "${enable_resources+set}" = set; then
3881 enableval
="$enable_resources"
3883 if test "$enableval" = yes; then
3884 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3886 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3891 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3892 if test "x$LINE" != x
; then
3893 eval "DEFAULT_$LINE"
3898 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3903 eval "$ac_cv_use_resources"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_RESOURCES" = yes; then
3909 echo "$ac_t""yes" 1>&6
3911 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3917 echo "configure:3918: checking "for --enable-xresources"" >&5
3919 # Check whether --enable-xresources or --disable-xresources was given.
3920 if test "${enable_xresources+set}" = set; then
3921 enableval
="$enable_xresources"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3926 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3931 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3943 eval "$ac_cv_use_xresources"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_X_RESOURCES" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3957 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3958 echo "configure:3959: checking "for --enable-clipboard"" >&5
3960 # Check whether --enable-clipboard or --disable-clipboard was given.
3961 if test "${enable_clipboard+set}" = set; then
3962 enableval
="$enable_clipboard"
3964 if test "$enableval" = yes; then
3965 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3967 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3972 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x
; then
3974 eval "DEFAULT_$LINE"
3979 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3984 eval "$ac_cv_use_clipboard"
3985 if test "$no_cache" != 1; then
3986 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3989 if test "$wxUSE_CLIPBOARD" = yes; then
3990 echo "$ac_t""yes" 1>&6
3992 echo "$ac_t""no" 1>&6
3996 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3997 echo "configure:3998: checking "for --enable-dnd"" >&5
3999 # Check whether --enable-dnd or --disable-dnd was given.
4000 if test "${enable_dnd+set}" = set; then
4001 enableval
="$enable_dnd"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4006 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4011 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4023 eval "$ac_cv_use_dnd"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4029 echo "$ac_t""yes" 1>&6
4031 echo "$ac_t""no" 1>&6
4036 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4037 echo "configure:4038: checking "for --enable-wxtree"" >&5
4039 # Check whether --enable-wxtree or --disable-wxtree was given.
4040 if test "${enable_wxtree+set}" = set; then
4041 enableval
="$enable_wxtree"
4043 if test "$enableval" = yes; then
4044 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4046 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4051 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x
; then
4053 eval "DEFAULT_$LINE"
4058 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4063 eval "$ac_cv_use_wxtree"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_WXTREE" = yes; then
4069 echo "$ac_t""yes" 1>&6
4071 echo "$ac_t""no" 1>&6
4077 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4078 echo "configure:4079: checking "for --enable-controls"" >&5
4080 # Check whether --enable-controls or --disable-controls was given.
4081 if test "${enable_controls+set}" = set; then
4082 enableval
="$enable_controls"
4084 if test "$enableval" = yes; then
4085 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4087 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4092 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x
; then
4094 eval "DEFAULT_$LINE"
4099 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4104 eval "$ac_cv_use_controls"
4105 if test "$no_cache" != 1; then
4106 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4109 if test "$wxUSE_CONTROLS" = yes; then
4110 echo "$ac_t""yes" 1>&6
4112 echo "$ac_t""no" 1>&6
4116 if test "$wxUSE_CONTROLS" = "yes"; then
4117 DEFAULT_wxUSE_ACCEL
=yes
4118 DEFAULT_wxUSE_CARET
=yes
4119 DEFAULT_wxUSE_COMBOBOX
=yes
4120 DEFAULT_wxUSE_BMPBUTTON
=yes
4121 DEFAULT_wxUSE_CHECKBOX
=yes
4122 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4123 DEFAULT_wxUSE_CHOICE
=yes
4124 DEFAULT_wxUSE_GAUGE
=yes
4125 DEFAULT_wxUSE_GRID
=yes
4126 DEFAULT_wxUSE_NEW_GRID
=yes
4127 DEFAULT_wxUSE_IMAGLIST
=yes
4128 DEFAULT_wxUSE_LISTBOX
=yes
4129 DEFAULT_wxUSE_LISTCTRL
=yes
4130 DEFAULT_wxUSE_NOTEBOOK
=yes
4131 DEFAULT_wxUSE_RADIOBOX
=yes
4132 DEFAULT_wxUSE_RADIOBTN
=yes
4133 DEFAULT_wxUSE_SASH
=yes
4134 DEFAULT_wxUSE_SCROLLBAR
=yes
4135 DEFAULT_wxUSE_SLIDER
=yes
4136 DEFAULT_wxUSE_SPINBTN
=yes
4137 DEFAULT_wxUSE_SPINCTRL
=yes
4138 DEFAULT_wxUSE_SPLITTER
=yes
4139 DEFAULT_wxUSE_STATBMP
=yes
4140 DEFAULT_wxUSE_STATBOX
=yes
4141 DEFAULT_wxUSE_STATLINE
=yes
4142 DEFAULT_wxUSE_STATUSBAR
=yes
4143 DEFAULT_wxUSE_TAB_DIALOG
=yes
4144 DEFAULT_wxUSE_TOOLBAR
=yes
4145 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4146 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4147 DEFAULT_wxUSE_TOOLTIPS
=yes
4148 DEFAULT_wxUSE_TREECTRL
=yes
4149 elif test "$wxUSE_CONTROLS" = "no"; then
4150 DEFAULT_wxUSE_ACCEL
=no
4151 DEFAULT_wxUSE_CARET
=no
4152 DEFAULT_wxUSE_COMBOBOX
=no
4153 DEFAULT_wxUSE_BMPBUTTON
=no
4154 DEFAULT_wxUSE_CHECKBOX
=no
4155 DEFAULT_wxUSE_CHECKLISTBOX
=no
4156 DEFAULT_wxUSE_CHOICE
=no
4157 DEFAULT_wxUSE_GAUGE
=no
4158 DEFAULT_wxUSE_GRID
=no
4159 DEFAULT_wxUSE_NEW_GRID
=no
4160 DEFAULT_wxUSE_IMAGLIST
=no
4161 DEFAULT_wxUSE_LISTBOX
=no
4162 DEFAULT_wxUSE_LISTCTRL
=no
4163 DEFAULT_wxUSE_NOTEBOOK
=no
4164 DEFAULT_wxUSE_RADIOBOX
=no
4165 DEFAULT_wxUSE_RADIOBTN
=no
4166 DEFAULT_wxUSE_SASH
=no
4167 DEFAULT_wxUSE_SCROLLBAR
=no
4168 DEFAULT_wxUSE_SLIDER
=no
4169 DEFAULT_wxUSE_SPINBTN
=no
4170 DEFAULT_wxUSE_SPINCTRL
=no
4171 DEFAULT_wxUSE_SPLITTER
=no
4172 DEFAULT_wxUSE_STATBMP
=no
4173 DEFAULT_wxUSE_STATBOX
=no
4174 DEFAULT_wxUSE_STATLINE
=no
4175 DEFAULT_wxUSE_STATUSBAR
=no
4176 DEFAULT_wxUSE_TAB_DIALOG
=no
4177 DEFAULT_wxUSE_TOOLBAR
=no
4178 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4179 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4180 DEFAULT_wxUSE_TOOLTIPS
=no
4181 DEFAULT_wxUSE_TREECTRL
=no
4185 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4186 echo "configure:4187: checking "for --enable-accel"" >&5
4188 # Check whether --enable-accel or --disable-accel was given.
4189 if test "${enable_accel+set}" = set; then
4190 enableval
="$enable_accel"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4195 ac_cv_use_accel
='wxUSE_ACCEL=no'
4200 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4212 eval "$ac_cv_use_accel"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_ACCEL" = yes; then
4218 echo "$ac_t""yes" 1>&6
4220 echo "$ac_t""no" 1>&6
4224 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4225 echo "configure:4226: checking "for --enable-caret"" >&5
4227 # Check whether --enable-caret or --disable-caret was given.
4228 if test "${enable_caret+set}" = set; then
4229 enableval
="$enable_caret"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_caret
='wxUSE_CARET=yes'
4234 ac_cv_use_caret
='wxUSE_CARET=no'
4239 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4251 eval "$ac_cv_use_caret"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_CARET" = yes; then
4257 echo "$ac_t""yes" 1>&6
4259 echo "$ac_t""no" 1>&6
4263 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4264 echo "configure:4265: checking "for --enable-bmpbutton"" >&5
4266 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4267 if test "${enable_bmpbutton+set}" = set; then
4268 enableval
="$enable_bmpbutton"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4273 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4278 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4290 eval "$ac_cv_use_bmpbutton"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_BMPBUTTON" = yes; then
4296 echo "$ac_t""yes" 1>&6
4298 echo "$ac_t""no" 1>&6
4302 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4303 echo "configure:4304: checking "for --enable-checkbox"" >&5
4305 # Check whether --enable-checkbox or --disable-checkbox was given.
4306 if test "${enable_checkbox+set}" = set; then
4307 enableval
="$enable_checkbox"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4312 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4317 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4329 eval "$ac_cv_use_checkbox"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4334 if test "$wxUSE_CHECKBOX" = yes; then
4335 echo "$ac_t""yes" 1>&6
4337 echo "$ac_t""no" 1>&6
4341 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4342 echo "configure:4343: checking "for --enable-checklst"" >&5
4344 # Check whether --enable-checklst or --disable-checklst was given.
4345 if test "${enable_checklst+set}" = set; then
4346 enableval
="$enable_checklst"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4351 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4356 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x
; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4368 eval "$ac_cv_use_checklst"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_CHECKLST" = yes; then
4374 echo "$ac_t""yes" 1>&6
4376 echo "$ac_t""no" 1>&6
4380 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4381 echo "configure:4382: checking "for --enable-choice"" >&5
4383 # Check whether --enable-choice or --disable-choice was given.
4384 if test "${enable_choice+set}" = set; then
4385 enableval
="$enable_choice"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4390 ac_cv_use_choice
='wxUSE_CHOICE=no'
4395 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4407 eval "$ac_cv_use_choice"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_CHOICE" = yes; then
4413 echo "$ac_t""yes" 1>&6
4415 echo "$ac_t""no" 1>&6
4419 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4420 echo "configure:4421: checking "for --enable-combobox"" >&5
4422 # Check whether --enable-combobox or --disable-combobox was given.
4423 if test "${enable_combobox+set}" = set; then
4424 enableval
="$enable_combobox"
4426 if test "$enableval" = yes; then
4427 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4429 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4434 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x
; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4446 eval "$ac_cv_use_combobox"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4451 if test "$wxUSE_COMBOBOX" = yes; then
4452 echo "$ac_t""yes" 1>&6
4454 echo "$ac_t""no" 1>&6
4458 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4459 echo "configure:4460: checking "for --enable-gauge"" >&5
4461 # Check whether --enable-gauge or --disable-gauge was given.
4462 if test "${enable_gauge+set}" = set; then
4463 enableval
="$enable_gauge"
4465 if test "$enableval" = yes; then
4466 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4468 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4473 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x
; then
4475 eval "DEFAULT_$LINE"
4480 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4485 eval "$ac_cv_use_gauge"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4490 if test "$wxUSE_GAUGE" = yes; then
4491 echo "$ac_t""yes" 1>&6
4493 echo "$ac_t""no" 1>&6
4497 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4498 echo "configure:4499: checking "for --enable-grid"" >&5
4500 # Check whether --enable-grid or --disable-grid was given.
4501 if test "${enable_grid+set}" = set; then
4502 enableval
="$enable_grid"
4504 if test "$enableval" = yes; then
4505 ac_cv_use_grid
='wxUSE_GRID=yes'
4507 ac_cv_use_grid
='wxUSE_GRID=no'
4512 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x
; then
4514 eval "DEFAULT_$LINE"
4519 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4524 eval "$ac_cv_use_grid"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_GRID" = yes; then
4530 echo "$ac_t""yes" 1>&6
4532 echo "$ac_t""no" 1>&6
4536 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4537 echo "configure:4538: checking "for --enable-newgrid"" >&5
4539 # Check whether --enable-newgrid or --disable-newgrid was given.
4540 if test "${enable_newgrid+set}" = set; then
4541 enableval
="$enable_newgrid"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4546 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4551 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4563 eval "$ac_cv_use_newgrid"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_NEW_GRID" = yes; then
4569 echo "$ac_t""yes" 1>&6
4571 echo "$ac_t""no" 1>&6
4575 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4576 echo "configure:4577: checking "for --enable-imaglist"" >&5
4578 # Check whether --enable-imaglist or --disable-imaglist was given.
4579 if test "${enable_imaglist+set}" = set; then
4580 enableval
="$enable_imaglist"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4585 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4590 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4602 eval "$ac_cv_use_imaglist"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_IMAGLIST" = yes; then
4608 echo "$ac_t""yes" 1>&6
4610 echo "$ac_t""no" 1>&6
4614 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4615 echo "configure:4616: checking "for --enable-listbox"" >&5
4617 # Check whether --enable-listbox or --disable-listbox was given.
4618 if test "${enable_listbox+set}" = set; then
4619 enableval
="$enable_listbox"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4624 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4629 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4641 eval "$ac_cv_use_listbox"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_LISTBOX" = yes; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4654 echo "configure:4655: checking "for --enable-listctrl"" >&5
4656 # Check whether --enable-listctrl or --disable-listctrl was given.
4657 if test "${enable_listctrl+set}" = set; then
4658 enableval
="$enable_listctrl"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4663 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4668 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4680 eval "$ac_cv_use_listctrl"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_LISTCTRL" = yes; then
4686 echo "$ac_t""yes" 1>&6
4688 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4693 echo "configure:4694: checking "for --enable-notebook"" >&5
4695 # Check whether --enable-notebook or --disable-notebook was given.
4696 if test "${enable_notebook+set}" = set; then
4697 enableval
="$enable_notebook"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4702 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4707 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4719 eval "$ac_cv_use_notebook"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_NOTEBOOK" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4732 echo "configure:4733: checking "for --enable-radiobox"" >&5
4734 # Check whether --enable-radiobox or --disable-radiobox was given.
4735 if test "${enable_radiobox+set}" = set; then
4736 enableval
="$enable_radiobox"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4741 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4746 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4758 eval "$ac_cv_use_radiobox"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_RADIOBOX" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4770 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4771 echo "configure:4772: checking "for --enable-radiobtn"" >&5
4773 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4774 if test "${enable_radiobtn+set}" = set; then
4775 enableval
="$enable_radiobtn"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4780 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4785 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x
; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4797 eval "$ac_cv_use_radiobtn"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4802 if test "$wxUSE_RADIOBTN" = yes; then
4803 echo "$ac_t""yes" 1>&6
4805 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4810 echo "configure:4811: checking "for --enable-sash"" >&5
4812 # Check whether --enable-sash or --disable-sash was given.
4813 if test "${enable_sash+set}" = set; then
4814 enableval
="$enable_sash"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_sash
='wxUSE_SASH=yes'
4819 ac_cv_use_sash
='wxUSE_SASH=no'
4824 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4836 eval "$ac_cv_use_sash"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_SASH" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4848 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4849 echo "configure:4850: checking "for --enable-scrollbar"" >&5
4851 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4852 if test "${enable_scrollbar+set}" = set; then
4853 enableval
="$enable_scrollbar"
4855 if test "$enableval" = yes; then
4856 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4858 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4863 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x
; then
4865 eval "DEFAULT_$LINE"
4870 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4875 eval "$ac_cv_use_scrollbar"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_SCROLLBAR" = yes; then
4881 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4887 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4888 echo "configure:4889: checking "for --enable-slider"" >&5
4890 # Check whether --enable-slider or --disable-slider was given.
4891 if test "${enable_slider+set}" = set; then
4892 enableval
="$enable_slider"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4897 ac_cv_use_slider
='wxUSE_SLIDER=no'
4902 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4914 eval "$ac_cv_use_slider"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_SLIDER" = yes; then
4920 echo "$ac_t""yes" 1>&6
4922 echo "$ac_t""no" 1>&6
4926 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4927 echo "configure:4928: checking "for --enable-spinbtn"" >&5
4929 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4930 if test "${enable_spinbtn+set}" = set; then
4931 enableval
="$enable_spinbtn"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4936 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4941 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4953 eval "$ac_cv_use_spinbtn"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_SPINBTN" = yes; then
4959 echo "$ac_t""yes" 1>&6
4961 echo "$ac_t""no" 1>&6
4965 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4966 echo "configure:4967: checking "for --enable-spinctrl"" >&5
4968 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4969 if test "${enable_spinctrl+set}" = set; then
4970 enableval
="$enable_spinctrl"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4975 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4980 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4992 eval "$ac_cv_use_spinctrl"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_SPINCTRL" = yes; then
4998 echo "$ac_t""yes" 1>&6
5000 echo "$ac_t""no" 1>&6
5004 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5005 echo "configure:5006: checking "for --enable-splitter"" >&5
5007 # Check whether --enable-splitter or --disable-splitter was given.
5008 if test "${enable_splitter+set}" = set; then
5009 enableval
="$enable_splitter"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5014 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5019 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5031 eval "$ac_cv_use_splitter"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_SPLITTER" = yes; then
5037 echo "$ac_t""yes" 1>&6
5039 echo "$ac_t""no" 1>&6
5043 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5044 echo "configure:5045: checking "for --enable-statbmp"" >&5
5046 # Check whether --enable-statbmp or --disable-statbmp was given.
5047 if test "${enable_statbmp+set}" = set; then
5048 enableval
="$enable_statbmp"
5050 if test "$enableval" = yes; then
5051 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5053 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5058 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5059 if test "x$LINE" != x
; then
5060 eval "DEFAULT_$LINE"
5065 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5070 eval "$ac_cv_use_statbmp"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_STATBMP" = yes; then
5076 echo "$ac_t""yes" 1>&6
5078 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5083 echo "configure:5084: checking "for --enable-statbox"" >&5
5085 # Check whether --enable-statbox or --disable-statbox was given.
5086 if test "${enable_statbox+set}" = set; then
5087 enableval
="$enable_statbox"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5092 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5097 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5109 eval "$ac_cv_use_statbox"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_STATBOX" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5121 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5122 echo "configure:5123: checking "for --enable-statline"" >&5
5124 # Check whether --enable-statline or --disable-statline was given.
5125 if test "${enable_statline+set}" = set; then
5126 enableval
="$enable_statline"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5131 ac_cv_use_statline
='wxUSE_STATLINE=no'
5136 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5148 eval "$ac_cv_use_statline"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_STATLINE" = yes; then
5154 echo "$ac_t""yes" 1>&6
5156 echo "$ac_t""no" 1>&6
5160 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5161 echo "configure:5162: checking "for --enable-statusbar"" >&5
5163 # Check whether --enable-statusbar or --disable-statusbar was given.
5164 if test "${enable_statusbar+set}" = set; then
5165 enableval
="$enable_statusbar"
5167 if test "$enableval" = yes; then
5168 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5170 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5175 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x
; then
5177 eval "DEFAULT_$LINE"
5182 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5187 eval "$ac_cv_use_statusbar"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_STATUSBAR" = yes; then
5193 echo "$ac_t""yes" 1>&6
5195 echo "$ac_t""no" 1>&6
5199 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5200 echo "configure:5201: checking "for --enable-tabdialog"" >&5
5202 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5203 if test "${enable_tabdialog+set}" = set; then
5204 enableval
="$enable_tabdialog"
5206 if test "$enableval" = yes; then
5207 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5209 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5214 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5215 if test "x$LINE" != x
; then
5216 eval "DEFAULT_$LINE"
5221 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5226 eval "$ac_cv_use_tabdialog"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_TABDIALOG" = yes; then
5232 echo "$ac_t""yes" 1>&6
5234 echo "$ac_t""no" 1>&6
5238 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5239 echo "configure:5240: checking "for --enable-toolbar"" >&5
5241 # Check whether --enable-toolbar or --disable-toolbar was given.
5242 if test "${enable_toolbar+set}" = set; then
5243 enableval
="$enable_toolbar"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5248 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5253 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5265 eval "$ac_cv_use_toolbar"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5270 if test "$wxUSE_TOOLBAR" = yes; then
5271 echo "$ac_t""yes" 1>&6
5273 echo "$ac_t""no" 1>&6
5277 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5278 echo "configure:5279: checking "for --enable-tbarnative"" >&5
5280 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5281 if test "${enable_tbarnative+set}" = set; then
5282 enableval
="$enable_tbarnative"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5287 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5292 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5304 eval "$ac_cv_use_tbarnative"
5305 if test "$no_cache" != 1; then
5306 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5309 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5310 echo "$ac_t""yes" 1>&6
5312 echo "$ac_t""no" 1>&6
5316 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5317 echo "configure:5318: checking "for --enable-tbarsmpl"" >&5
5319 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5320 if test "${enable_tbarsmpl+set}" = set; then
5321 enableval
="$enable_tbarsmpl"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5326 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5331 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5343 eval "$ac_cv_use_tbarsmpl"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5349 echo "$ac_t""yes" 1>&6
5351 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5356 echo "configure:5357: checking "for --enable-treectrl"" >&5
5358 # Check whether --enable-treectrl or --disable-treectrl was given.
5359 if test "${enable_treectrl+set}" = set; then
5360 enableval
="$enable_treectrl"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5365 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5370 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5382 eval "$ac_cv_use_treectrl"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_TREECTRL" = yes; then
5388 echo "$ac_t""yes" 1>&6
5390 echo "$ac_t""no" 1>&6
5396 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5397 echo "configure:5398: checking "for --enable-commondlg"" >&5
5399 # Check whether --enable-commondlg or --disable-commondlg was given.
5400 if test "${enable_commondlg+set}" = set; then
5401 enableval
="$enable_commondlg"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5406 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5411 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5423 eval "$ac_cv_use_commondlg"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_COMMONDLGS" = yes; then
5429 echo "$ac_t""yes" 1>&6
5431 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5436 echo "configure:5437: checking "for --enable-dirdlg"" >&5
5438 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5439 if test "${enable_dirdlg+set}" = set; then
5440 enableval
="$enable_dirdlg"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5445 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5450 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5462 eval "$ac_cv_use_dirdlg"
5463 if test "$no_cache" != 1; then
5464 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5467 if test "$wxUSE_DIRDLG" = yes; then
5468 echo "$ac_t""yes" 1>&6
5470 echo "$ac_t""no" 1>&6
5474 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5475 echo "configure:5476: checking "for --enable-textdlg"" >&5
5477 # Check whether --enable-textdlg or --disable-textdlg was given.
5478 if test "${enable_textdlg+set}" = set; then
5479 enableval
="$enable_textdlg"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5484 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5489 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5501 eval "$ac_cv_use_textdlg"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_TEXTDLG" = yes; then
5507 echo "$ac_t""yes" 1>&6
5509 echo "$ac_t""no" 1>&6
5513 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5514 echo "configure:5515: checking "for --enable-tipdlg"" >&5
5516 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5517 if test "${enable_tipdlg+set}" = set; then
5518 enableval
="$enable_tipdlg"
5520 if test "$enableval" = yes; then
5521 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5523 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5528 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x
; then
5530 eval "DEFAULT_$LINE"
5535 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5540 eval "$ac_cv_use_tipdlg"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_STARTUP_TIPS" = yes; then
5546 echo "$ac_t""yes" 1>&6
5548 echo "$ac_t""no" 1>&6
5552 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5553 echo "configure:5554: checking "for --enable-progressdlg"" >&5
5555 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5556 if test "${enable_progressdlg+set}" = set; then
5557 enableval
="$enable_progressdlg"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5562 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5567 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5579 eval "$ac_cv_use_progressdlg"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_PROGRESSDLG" = yes; then
5585 echo "$ac_t""yes" 1>&6
5587 echo "$ac_t""no" 1>&6
5591 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5592 echo "configure:5593: checking "for --enable-miniframe"" >&5
5594 # Check whether --enable-miniframe or --disable-miniframe was given.
5595 if test "${enable_miniframe+set}" = set; then
5596 enableval
="$enable_miniframe"
5598 if test "$enableval" = yes; then
5599 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5601 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5606 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x
; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5618 eval "$ac_cv_use_miniframe"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5623 if test "$wxUSE_MINIFRAME" = yes; then
5624 echo "$ac_t""yes" 1>&6
5626 echo "$ac_t""no" 1>&6
5630 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5631 echo "configure:5632: checking "for --enable-html"" >&5
5633 # Check whether --enable-html or --disable-html was given.
5634 if test "${enable_html+set}" = set; then
5635 enableval
="$enable_html"
5637 if test "$enableval" = yes; then
5638 ac_cv_use_html
='wxUSE_HTML=yes'
5640 ac_cv_use_html
='wxUSE_HTML=no'
5645 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x
; then
5647 eval "DEFAULT_$LINE"
5652 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5657 eval "$ac_cv_use_html"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5662 if test "$wxUSE_HTML" = yes; then
5663 echo "$ac_t""yes" 1>&6
5665 echo "$ac_t""no" 1>&6
5669 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5670 echo "configure:5671: checking "for --enable-tooltips"" >&5
5672 # Check whether --enable-tooltips or --disable-tooltips was given.
5673 if test "${enable_tooltips+set}" = set; then
5674 enableval
="$enable_tooltips"
5676 if test "$enableval" = yes; then
5677 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5679 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5684 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x
; then
5686 eval "DEFAULT_$LINE"
5691 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5696 eval "$ac_cv_use_tooltips"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5701 if test "$wxUSE_TOOLTIPS" = yes; then
5702 echo "$ac_t""yes" 1>&6
5704 echo "$ac_t""no" 1>&6
5708 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5709 echo "configure:5710: checking "for --enable-splines"" >&5
5711 # Check whether --enable-splines or --disable-splines was given.
5712 if test "${enable_splines+set}" = set; then
5713 enableval
="$enable_splines"
5715 if test "$enableval" = yes; then
5716 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5718 ac_cv_use_splines
='wxUSE_SPLINES=no'
5723 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x
; then
5725 eval "DEFAULT_$LINE"
5730 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5735 eval "$ac_cv_use_splines"
5736 if test "$no_cache" != 1; then
5737 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5740 if test "$wxUSE_SPLINES" = yes; then
5741 echo "$ac_t""yes" 1>&6
5743 echo "$ac_t""no" 1>&6
5747 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5748 echo "configure:5749: checking "for --enable-validators"" >&5
5750 # Check whether --enable-validators or --disable-validators was given.
5751 if test "${enable_validators+set}" = set; then
5752 enableval
="$enable_validators"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5757 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5762 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5774 eval "$ac_cv_use_validators"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_VALIDATORS" = yes; then
5780 echo "$ac_t""yes" 1>&6
5782 echo "$ac_t""no" 1>&6
5786 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5787 echo "configure:5788: checking "for --enable-busyinfo"" >&5
5789 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5790 if test "${enable_busyinfo+set}" = set; then
5791 enableval
="$enable_busyinfo"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5796 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5801 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5813 eval "$ac_cv_use_busyinfo"
5814 if test "$no_cache" != 1; then
5815 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5818 if test "$wxUSE_BUSYINFO" = yes; then
5819 echo "$ac_t""yes" 1>&6
5821 echo "$ac_t""no" 1>&6
5825 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5826 echo "configure:5827: checking "for --enable-plot"" >&5
5828 # Check whether --enable-plot or --disable-plot was given.
5829 if test "${enable_plot+set}" = set; then
5830 enableval
="$enable_plot"
5832 if test "$enableval" = yes; then
5833 ac_cv_use_plot
='wxUSE_PLOT=yes'
5835 ac_cv_use_plot
='wxUSE_PLOT=no'
5840 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x
; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5852 eval "$ac_cv_use_plot"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_PLOT" = yes; then
5858 echo "$ac_t""yes" 1>&6
5860 echo "$ac_t""no" 1>&6
5864 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5865 echo "configure:5866: checking "for --enable-joystick"" >&5
5867 # Check whether --enable-joystick or --disable-joystick was given.
5868 if test "${enable_joystick+set}" = set; then
5869 enableval
="$enable_joystick"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5874 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5879 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5891 eval "$ac_cv_use_joystick"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_JOYSTICK" = yes; then
5897 echo "$ac_t""yes" 1>&6
5899 echo "$ac_t""no" 1>&6
5905 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5906 echo "configure:5907: checking "for --enable-gif"" >&5
5908 # Check whether --enable-gif or --disable-gif was given.
5909 if test "${enable_gif+set}" = set; then
5910 enableval
="$enable_gif"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_gif
='wxUSE_GIF=yes'
5915 ac_cv_use_gif
='wxUSE_GIF=no'
5920 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5932 eval "$ac_cv_use_gif"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_GIF" = yes; then
5938 echo "$ac_t""yes" 1>&6
5940 echo "$ac_t""no" 1>&6
5944 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5945 echo "configure:5946: checking "for --enable-pcx"" >&5
5947 # Check whether --enable-pcx or --disable-pcx was given.
5948 if test "${enable_pcx+set}" = set; then
5949 enableval
="$enable_pcx"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_pcx
='wxUSE_PCX=yes'
5954 ac_cv_use_pcx
='wxUSE_PCX=no'
5959 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5971 eval "$ac_cv_use_pcx"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5976 if test "$wxUSE_PCX" = yes; then
5977 echo "$ac_t""yes" 1>&6
5979 echo "$ac_t""no" 1>&6
5983 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5984 echo "configure:5985: checking "for --enable-pnm"" >&5
5986 # Check whether --enable-pnm or --disable-pnm was given.
5987 if test "${enable_pnm+set}" = set; then
5988 enableval
="$enable_pnm"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_pnm
='wxUSE_PNM=yes'
5993 ac_cv_use_pnm
='wxUSE_PNM=no'
5998 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6010 eval "$ac_cv_use_pnm"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_PNM" = yes; then
6016 echo "$ac_t""yes" 1>&6
6018 echo "$ac_t""no" 1>&6
6025 echo "saving argument cache $wx_arg_cache_file"
6026 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6030 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6031 echo "configure:6032: checking for toolkit" >&5
6033 if test "$wxUSE_GUI" = "yes"; then
6035 if test "$USE_BEOS" = 1; then
6036 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6039 if test "$TOOLKIT_GIVEN" = 1; then
6040 for toolkit
in `echo $ALL_TOOLKITS`; do
6042 eval "value=\$${var}"
6043 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6046 for toolkit
in `echo $ALL_TOOLKITS`; do
6047 if test "$has_toolkit_in_cache" != 1; then
6048 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6050 var
=DEFAULT_wxUSE_
$toolkit
6052 eval "wxUSE_$toolkit=\$${var}"
6056 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6060 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6061 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6070 case "$NUM_TOOLKITS" in
6074 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6077 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6080 for toolkit
in `echo $ALL_TOOLKITS`; do
6082 eval "value=\$${var}"
6083 if test "x$value" != x
; then
6084 cache_var
=CACHE_
$toolkit
6085 eval "cache=\$${cache_var}"
6086 if test "$cache" = 1; then
6087 echo "$var=$value" >> ${wx_arg_cache_file}
6089 if test "$value" = 1; then
6090 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6097 echo "$ac_t""base only" 1>&6
6101 cat > confcache
<<\EOF
6102 # This file is a shell script that caches the results of configure
6103 # tests run on this system so they can be shared between configure
6104 # scripts and configure runs. It is not useful on other systems.
6105 # If it contains results you don't want to keep, you may remove or edit it.
6107 # By default, configure uses ./config.cache as the cache file,
6108 # creating it if it does not exist already. You can give configure
6109 # the --cache-file=FILE option to use a different cache file; that is
6110 # what configure does when it calls configure scripts in
6111 # subdirectories, so they share the cache.
6112 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6113 # config.status only pays attention to the cache file if you give it the
6114 # --recheck option to rerun configure.
6117 # The following way of writing the cache mishandles newlines in values,
6118 # but we know of no workaround that is simple, portable, and efficient.
6119 # So, don't put newlines in cache variables' values.
6120 # Ultrix sh set writes to stderr and can't be redirected directly,
6121 # and sets the high bit in the cache file unless we assign to the vars.
6123 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6125 # `set' does not quote correctly, so add quotes (double-quote substitution
6126 # turns \\\\ into \\, and sed turns \\ into \).
6128 -e "s/'/'\\\\''/g" \
6129 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6132 # `set' quotes correctly as required by POSIX, so do not add quotes.
6133 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6136 if cmp -s $cache_file confcache
; then
6139 if test -w $cache_file; then
6140 echo "updating cache $cache_file"
6141 cat confcache
> $cache_file
6143 echo "not updating unwritable cache $cache_file"
6149 if test "$build" != "$host" ; then
6153 RANLIB
=$host_alias-ranlib
6154 DLLTOOL
=$host_alias-dlltool
6155 RESCOMP
=$host_alias-windres
6158 STRIP
=$host_alias-strip
6161 # Extract the first word of "gcc", so it can be a program name with args.
6162 set dummy gcc
; ac_word
=$2
6163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6164 echo "configure:6165: checking for $ac_word" >&5
6165 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6166 echo $ac_n "(cached) $ac_c" 1>&6
6168 if test -n "$CC"; then
6169 ac_cv_prog_CC
="$CC" # Let the user override the test.
6171 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6173 for ac_dir
in $ac_dummy; do
6174 test -z "$ac_dir" && ac_dir
=.
6175 if test -f $ac_dir/$ac_word; then
6184 if test -n "$CC"; then
6185 echo "$ac_t""$CC" 1>&6
6187 echo "$ac_t""no" 1>&6
6190 if test -z "$CC"; then
6191 # Extract the first word of "cc", so it can be a program name with args.
6192 set dummy cc
; ac_word
=$2
6193 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6194 echo "configure:6195: checking for $ac_word" >&5
6195 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6196 echo $ac_n "(cached) $ac_c" 1>&6
6198 if test -n "$CC"; then
6199 ac_cv_prog_CC
="$CC" # Let the user override the test.
6201 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6204 for ac_dir
in $ac_dummy; do
6205 test -z "$ac_dir" && ac_dir
=.
6206 if test -f $ac_dir/$ac_word; then
6207 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6208 ac_prog_rejected
=yes
6216 if test $ac_prog_rejected = yes; then
6217 # We found a bogon in the path, so make sure we never use it.
6218 set dummy
$ac_cv_prog_CC
6220 if test $# -gt 0; then
6221 # We chose a different compiler from the bogus one.
6222 # However, it has the same basename, so the bogon will be chosen
6223 # first if we set CC to just the basename; use the full file name.
6225 set dummy
"$ac_dir/$ac_word" "$@"
6233 if test -n "$CC"; then
6234 echo "$ac_t""$CC" 1>&6
6236 echo "$ac_t""no" 1>&6
6239 if test -z "$CC"; then
6240 case "`uname -s`" in
6242 # Extract the first word of "cl", so it can be a program name with args.
6243 set dummy cl
; ac_word
=$2
6244 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6245 echo "configure:6246: checking for $ac_word" >&5
6246 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6247 echo $ac_n "(cached) $ac_c" 1>&6
6249 if test -n "$CC"; then
6250 ac_cv_prog_CC
="$CC" # Let the user override the test.
6252 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6254 for ac_dir
in $ac_dummy; do
6255 test -z "$ac_dir" && ac_dir
=.
6256 if test -f $ac_dir/$ac_word; then
6265 if test -n "$CC"; then
6266 echo "$ac_t""$CC" 1>&6
6268 echo "$ac_t""no" 1>&6
6273 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6276 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6277 echo "configure:6278: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6281 ac_cpp
='$CPP $CPPFLAGS'
6282 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6283 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6284 cross_compiling
=$ac_cv_prog_cc_cross
6286 cat > conftest.
$ac_ext << EOF
6288 #line 6289 "configure"
6289 #include "confdefs.h"
6293 if { (eval echo configure
:6294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6294 ac_cv_prog_cc_works
=yes
6295 # If we can't run a trivial program, we are probably using a cross compiler.
6296 if (.
/conftest
; exit) 2>/dev
/null
; then
6297 ac_cv_prog_cc_cross
=no
6299 ac_cv_prog_cc_cross
=yes
6302 echo "configure: failed program was:" >&5
6303 cat conftest.
$ac_ext >&5
6304 ac_cv_prog_cc_works
=no
6308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6309 ac_cpp
='$CPP $CPPFLAGS'
6310 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6311 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6312 cross_compiling
=$ac_cv_prog_cc_cross
6314 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6315 if test $ac_cv_prog_cc_works = no
; then
6316 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6318 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6319 echo "configure:6320: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6320 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6321 cross_compiling
=$ac_cv_prog_cc_cross
6323 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6324 echo "configure:6325: checking whether we are using GNU C" >&5
6325 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6326 echo $ac_n "(cached) $ac_c" 1>&6
6328 cat > conftest.c
<<EOF
6333 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6340 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6342 if test $ac_cv_prog_gcc = yes; then
6348 ac_test_CFLAGS
="${CFLAGS+set}"
6349 ac_save_CFLAGS
="$CFLAGS"
6351 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6352 echo "configure:6353: checking whether ${CC-cc} accepts -g" >&5
6353 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6354 echo $ac_n "(cached) $ac_c" 1>&6
6356 echo 'void f(){}' > conftest.c
6357 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6366 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6367 if test "$ac_test_CFLAGS" = set; then
6368 CFLAGS
="$ac_save_CFLAGS"
6369 elif test $ac_cv_prog_cc_g = yes; then
6370 if test "$GCC" = yes; then
6376 if test "$GCC" = yes; then
6384 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6386 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6387 echo "configure:6388: checking how to run the C preprocessor" >&5
6388 # On Suns, sometimes $CPP names a directory.
6389 if test -n "$CPP" && test -d "$CPP"; then
6392 if test -z "$CPP"; then
6393 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6394 echo $ac_n "(cached) $ac_c" 1>&6
6396 # This must be in double quotes, not single quotes, because CPP may get
6397 # substituted into the Makefile and "${CC-cc}" will confuse make.
6399 # On the NeXT, cc -E runs the code through the compiler's parser,
6400 # not just through cpp.
6401 cat > conftest.
$ac_ext <<EOF
6402 #line 6403 "configure"
6403 #include "confdefs.h"
6407 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6408 { (eval echo configure
:6409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6409 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6410 if test -z "$ac_err"; then
6414 echo "configure: failed program was:" >&5
6415 cat conftest.
$ac_ext >&5
6417 CPP
="${CC-cc} -E -traditional-cpp"
6418 cat > conftest.
$ac_ext <<EOF
6419 #line 6420 "configure"
6420 #include "confdefs.h"
6424 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6425 { (eval echo configure
:6426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6426 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6427 if test -z "$ac_err"; then
6431 echo "configure: failed program was:" >&5
6432 cat conftest.
$ac_ext >&5
6434 CPP
="${CC-cc} -nologo -E"
6435 cat > conftest.
$ac_ext <<EOF
6436 #line 6437 "configure"
6437 #include "confdefs.h"
6441 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6442 { (eval echo configure
:6443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6443 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6444 if test -z "$ac_err"; then
6448 echo "configure: failed program was:" >&5
6449 cat conftest.
$ac_ext >&5
6458 ac_cv_prog_CPP
="$CPP"
6460 CPP
="$ac_cv_prog_CPP"
6462 ac_cv_prog_CPP
="$CPP"
6464 echo "$ac_t""$CPP" 1>&6
6467 if test $ac_cv_prog_gcc = yes; then
6468 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6469 echo "configure:6470: checking whether ${CC-cc} needs -traditional" >&5
6470 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6471 echo $ac_n "(cached) $ac_c" 1>&6
6473 ac_pattern
="Autoconf.*'x'"
6474 cat > conftest.
$ac_ext <<EOF
6475 #line 6476 "configure"
6476 #include "confdefs.h"
6480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6481 egrep "$ac_pattern" >/dev
/null
2>&1; then
6483 ac_cv_prog_gcc_traditional
=yes
6486 ac_cv_prog_gcc_traditional
=no
6491 if test $ac_cv_prog_gcc_traditional = no
; then
6492 cat > conftest.
$ac_ext <<EOF
6493 #line 6494 "configure"
6494 #include "confdefs.h"
6498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6499 egrep "$ac_pattern" >/dev
/null
2>&1; then
6501 ac_cv_prog_gcc_traditional
=yes
6508 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6509 if test $ac_cv_prog_gcc_traditional = yes; then
6510 CC
="$CC -traditional"
6517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6518 ac_cpp
='$CXXCPP $CPPFLAGS'
6519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6521 cross_compiling
=$ac_cv_prog_cxx_cross
6524 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy
$ac_prog; ac_word
=$2
6528 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6529 echo "configure:6530: checking for $ac_word" >&5
6530 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6531 echo $ac_n "(cached) $ac_c" 1>&6
6533 if test -n "$CXX"; then
6534 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6536 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6538 for ac_dir
in $ac_dummy; do
6539 test -z "$ac_dir" && ac_dir
=.
6540 if test -f $ac_dir/$ac_word; then
6541 ac_cv_prog_CXX
="$ac_prog"
6548 CXX
="$ac_cv_prog_CXX"
6549 if test -n "$CXX"; then
6550 echo "$ac_t""$CXX" 1>&6
6552 echo "$ac_t""no" 1>&6
6555 test -n "$CXX" && break
6557 test -n "$CXX" || CXX
="gcc"
6560 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6561 echo "configure:6562: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6565 ac_cpp
='$CXXCPP $CPPFLAGS'
6566 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6567 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6568 cross_compiling
=$ac_cv_prog_cxx_cross
6570 cat > conftest.
$ac_ext << EOF
6572 #line 6573 "configure"
6573 #include "confdefs.h"
6575 int main(){return(0);}
6577 if { (eval echo configure
:6578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6578 ac_cv_prog_cxx_works
=yes
6579 # If we can't run a trivial program, we are probably using a cross compiler.
6580 if (.
/conftest
; exit) 2>/dev
/null
; then
6581 ac_cv_prog_cxx_cross
=no
6583 ac_cv_prog_cxx_cross
=yes
6586 echo "configure: failed program was:" >&5
6587 cat conftest.
$ac_ext >&5
6588 ac_cv_prog_cxx_works
=no
6592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6593 ac_cpp
='$CXXCPP $CPPFLAGS'
6594 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6595 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6596 cross_compiling
=$ac_cv_prog_cxx_cross
6598 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6599 if test $ac_cv_prog_cxx_works = no
; then
6600 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6602 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6603 echo "configure:6604: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6604 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6605 cross_compiling
=$ac_cv_prog_cxx_cross
6607 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6608 echo "configure:6609: checking whether we are using GNU C++" >&5
6609 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6610 echo $ac_n "(cached) $ac_c" 1>&6
6612 cat > conftest.C
<<EOF
6617 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6624 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6626 if test $ac_cv_prog_gxx = yes; then
6632 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6633 ac_save_CXXFLAGS
="$CXXFLAGS"
6635 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6636 echo "configure:6637: checking whether ${CXX-g++} accepts -g" >&5
6637 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6638 echo $ac_n "(cached) $ac_c" 1>&6
6640 echo 'void f(){}' > conftest.cc
6641 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6642 ac_cv_prog_cxx_g
=yes
6650 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6651 if test "$ac_test_CXXFLAGS" = set; then
6652 CXXFLAGS
="$ac_save_CXXFLAGS"
6653 elif test $ac_cv_prog_cxx_g = yes; then
6654 if test "$GXX" = yes; then
6660 if test "$GXX" = yes; then
6668 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6669 echo "configure:6670: checking how to run the C++ preprocessor" >&5
6670 if test -z "$CXXCPP"; then
6671 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6672 echo $ac_n "(cached) $ac_c" 1>&6
6675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6676 ac_cpp
='$CXXCPP $CPPFLAGS'
6677 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6678 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6679 cross_compiling
=$ac_cv_prog_cxx_cross
6680 CXXCPP
="${CXX-g++} -E"
6681 cat > conftest.
$ac_ext <<EOF
6682 #line 6683 "configure"
6683 #include "confdefs.h"
6686 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6687 { (eval echo configure
:6688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6688 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6689 if test -z "$ac_err"; then
6693 echo "configure: failed program was:" >&5
6694 cat conftest.
$ac_ext >&5
6699 ac_cv_prog_CXXCPP
="$CXXCPP"
6701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6702 ac_cpp
='$CXXCPP $CPPFLAGS'
6703 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6704 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6705 cross_compiling
=$ac_cv_prog_cxx_cross
6708 CXXCPP
="$ac_cv_prog_CXXCPP"
6709 echo "$ac_t""$CXXCPP" 1>&6
6712 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6715 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6716 ac_cpp
='$CPP $CPPFLAGS'
6717 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6718 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6719 cross_compiling
=$ac_cv_prog_cc_cross
6722 # Extract the first word of "ranlib", so it can be a program name with args.
6723 set dummy ranlib
; ac_word
=$2
6724 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6725 echo "configure:6726: checking for $ac_word" >&5
6726 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6727 echo $ac_n "(cached) $ac_c" 1>&6
6729 if test -n "$RANLIB"; then
6730 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6732 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6734 for ac_dir
in $ac_dummy; do
6735 test -z "$ac_dir" && ac_dir
=.
6736 if test -f $ac_dir/$ac_word; then
6737 ac_cv_prog_RANLIB
="ranlib"
6742 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6745 RANLIB
="$ac_cv_prog_RANLIB"
6746 if test -n "$RANLIB"; then
6747 echo "$ac_t""$RANLIB" 1>&6
6749 echo "$ac_t""no" 1>&6
6753 # Extract the first word of "ar", so it can be a program name with args.
6754 set dummy
ar; ac_word
=$2
6755 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6756 echo "configure:6757: checking for $ac_word" >&5
6757 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6758 echo $ac_n "(cached) $ac_c" 1>&6
6760 if test -n "$AR"; then
6761 ac_cv_prog_AR
="$AR" # Let the user override the test.
6763 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6765 for ac_dir
in $ac_dummy; do
6766 test -z "$ac_dir" && ac_dir
=.
6767 if test -f $ac_dir/$ac_word; then
6773 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6777 if test -n "$AR"; then
6778 echo "$ac_t""$AR" 1>&6
6780 echo "$ac_t""no" 1>&6
6784 # Find a good install program. We prefer a C program (faster),
6785 # so one script is as good as another. But avoid the broken or
6786 # incompatible versions:
6787 # SysV /etc/install, /usr/sbin/install
6788 # SunOS /usr/etc/install
6789 # IRIX /sbin/install
6791 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6792 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6793 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6794 # ./install, which can be erroneously created by make from ./install.sh.
6795 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6796 echo "configure:6797: checking for a BSD compatible install" >&5
6797 if test -z "$INSTALL"; then
6798 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6799 echo $ac_n "(cached) $ac_c" 1>&6
6801 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6802 for ac_dir
in $PATH; do
6803 # Account for people who put trailing slashes in PATH elements.
6805 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6807 # OSF1 and SCO ODT 3.0 have their own names for install.
6808 # Don't use installbsd from OSF since it installs stuff as root
6810 for ac_prog
in ginstall scoinst
install; do
6811 if test -f $ac_dir/$ac_prog; then
6812 if test $ac_prog = install &&
6813 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6814 # AIX install. It has an incompatible calling convention.
6817 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6828 if test "${ac_cv_path_install+set}" = set; then
6829 INSTALL
="$ac_cv_path_install"
6831 # As a last resort, use the slow shell script. We don't cache a
6832 # path for INSTALL within a source directory, because that will
6833 # break other packages using the cache if that directory is
6834 # removed, or if the path is relative.
6835 INSTALL
="$ac_install_sh"
6838 echo "$ac_t""$INSTALL" 1>&6
6840 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6841 # It thinks the first close brace ends the variable substitution.
6842 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6844 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6846 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6849 # Extract the first word of "strip", so it can be a program name with args.
6850 set dummy strip
; ac_word
=$2
6851 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6852 echo "configure:6853: checking for $ac_word" >&5
6853 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6854 echo $ac_n "(cached) $ac_c" 1>&6
6856 if test -n "$STRIP"; then
6857 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6859 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6861 for ac_dir
in $ac_dummy; do
6862 test -z "$ac_dir" && ac_dir
=.
6863 if test -f $ac_dir/$ac_word; then
6864 ac_cv_prog_STRIP
="strip"
6869 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6872 STRIP
="$ac_cv_prog_STRIP"
6873 if test -n "$STRIP"; then
6874 echo "$ac_t""$STRIP" 1>&6
6876 echo "$ac_t""no" 1>&6
6880 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6881 echo "configure:6882: checking "make for VPATH support
"" >&5
6882 cat - << EOF > confMake
6888 if test ! -d sub
; then
6891 echo dummy
> sub
/file
6892 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6894 rm -f sub
/file check final_file confMake
6896 if test "$RESULT" = 0; then
6897 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no" 1>&6
6900 { echo "configure: error: You need a make-utility that is able to use the variable
6902 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6905 for ac_prog
in 'bison -y' byacc
6907 # Extract the first word of "$ac_prog", so it can be a program name with args.
6908 set dummy
$ac_prog; ac_word
=$2
6909 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6910 echo "configure:6911: checking for $ac_word" >&5
6911 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6912 echo $ac_n "(cached) $ac_c" 1>&6
6914 if test -n "$YACC"; then
6915 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6917 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6919 for ac_dir
in $ac_dummy; do
6920 test -z "$ac_dir" && ac_dir
=.
6921 if test -f $ac_dir/$ac_word; then
6922 ac_cv_prog_YACC
="$ac_prog"
6929 YACC
="$ac_cv_prog_YACC"
6930 if test -n "$YACC"; then
6931 echo "$ac_t""$YACC" 1>&6
6933 echo "$ac_t""no" 1>&6
6936 test -n "$YACC" && break
6938 test -n "$YACC" || YACC
="yacc"
6941 # Extract the first word of "flex", so it can be a program name with args.
6942 set dummy flex
; ac_word
=$2
6943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6944 echo "configure:6945: checking for $ac_word" >&5
6945 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6946 echo $ac_n "(cached) $ac_c" 1>&6
6948 if test -n "$LEX"; then
6949 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6951 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6953 for ac_dir
in $ac_dummy; do
6954 test -z "$ac_dir" && ac_dir
=.
6955 if test -f $ac_dir/$ac_word; then
6956 ac_cv_prog_LEX
="flex"
6961 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6964 LEX
="$ac_cv_prog_LEX"
6965 if test -n "$LEX"; then
6966 echo "$ac_t""$LEX" 1>&6
6968 echo "$ac_t""no" 1>&6
6971 if test -z "$LEXLIB"
6977 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6978 echo "configure:6979: checking for yywrap in -l$ac_lib" >&5
6979 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6981 echo $ac_n "(cached) $ac_c" 1>&6
6983 ac_save_LIBS
="$LIBS"
6984 LIBS
="-l$ac_lib $LIBS"
6985 cat > conftest.
$ac_ext <<EOF
6986 #line 6987 "configure"
6987 #include "confdefs.h"
6988 /* Override any gcc2 internal prototype to avoid an error. */
6989 /* We use char because int might match the return type of a gcc2
6990 builtin and then its argument prototype would still apply. */
6997 if { (eval echo configure
:6998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6999 eval "ac_cv_lib_$ac_lib_var=yes"
7001 echo "configure: failed program was:" >&5
7002 cat conftest.
$ac_ext >&5
7004 eval "ac_cv_lib_$ac_lib_var=no"
7007 LIBS
="$ac_save_LIBS"
7010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7011 echo "$ac_t""yes" 1>&6
7014 echo "$ac_t""no" 1>&6
7020 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7021 echo "configure:7022: checking whether ln -s works" >&5
7022 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7023 echo $ac_n "(cached) $ac_c" 1>&6
7026 if ln -s X conftestdata
2>/dev
/null
7029 ac_cv_prog_LN_S
="ln -s"
7034 LN_S
="$ac_cv_prog_LN_S"
7035 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7036 echo "$ac_t""yes" 1>&6
7038 echo "$ac_t""no" 1>&6
7044 /usr/local/include \
7046 /usr/Motif-1.2/include \
7047 /usr/Motif-2.1/include \
7049 /usr/include/Motif1.2 \
7050 /opt/xpm/include/X11 \
7051 /opt/GBxpm/include/ \
7052 /opt/GBxpm/X11/include/ \
7054 /usr/Motif1.2/include \
7056 /usr/openwin/include \
7060 /usr/X11R6/include \
7061 /usr/X11R6.4/include \
7062 /usr/X11R5/include \
7063 /usr/X11R4/include \
7065 /usr/include/X11R6 \
7066 /usr/include/X11R5 \
7067 /usr/include/X11R4 \
7069 /usr/local/X11R6/include \
7070 /usr/local/X11R5/include \
7071 /usr/local/X11R4/include \
7073 /usr/local/include/X11R6 \
7074 /usr/local/include/X11R5 \
7075 /usr/local/include/X11R4 \
7079 /usr/local/X11/include \
7080 /usr/local/include/X11 \
7084 /usr/XFree86/include/X11 \
7086 X:/XFree86/include \
7087 X:/XFree86/include/X11 \
7090 /usr/local/include/gtk \
7092 /usr/local/include/glib \
7095 /usr/local/include/qt \
7097 /usr/include/windows \
7099 /usr/local/include/wine \
7101 /usr/unsupported/include \
7102 /usr/athena/include \
7103 /usr/local/x11r5/include \
7104 /usr/lpp/Xamples/include \
7106 /usr/openwin/share/include \
7110 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7113 cat > confcache
<<\EOF
7114 # This file is a shell script that caches the results of configure
7115 # tests run on this system so they can be shared between configure
7116 # scripts and configure runs. It is not useful on other systems.
7117 # If it contains results you don't want to keep, you may remove or edit it.
7119 # By default, configure uses ./config.cache as the cache file,
7120 # creating it if it does not exist already. You can give configure
7121 # the --cache-file=FILE option to use a different cache file; that is
7122 # what configure does when it calls configure scripts in
7123 # subdirectories, so they share the cache.
7124 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7125 # config.status only pays attention to the cache file if you give it the
7126 # --recheck option to rerun configure.
7129 # The following way of writing the cache mishandles newlines in values,
7130 # but we know of no workaround that is simple, portable, and efficient.
7131 # So, don't put newlines in cache variables' values.
7132 # Ultrix sh set writes to stderr and can't be redirected directly,
7133 # and sets the high bit in the cache file unless we assign to the vars.
7135 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7137 # `set' does not quote correctly, so add quotes (double-quote substitution
7138 # turns \\\\ into \\, and sed turns \\ into \).
7140 -e "s/'/'\\\\''/g" \
7141 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7144 # `set' quotes correctly as required by POSIX, so do not add quotes.
7145 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7148 if cmp -s $cache_file confcache
; then
7151 if test -w $cache_file; then
7152 echo "updating cache $cache_file"
7153 cat confcache
> $cache_file
7155 echo "not updating unwritable cache $cache_file"
7164 if test "$wxUSE_GUI" = "yes"; then
7184 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7185 if test "$cross_compiling" = "yes" ; then
7186 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7188 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7189 echo "configure:7190: checking for Windows headers" >&5
7192 for ac_dir
in $SEARCH_INCLUDE;
7194 if test -f "$ac_dir/windows.h"; then
7195 ac_find_includes
=$ac_dir
7200 if test "$ac_find_includes" != "" ; then
7201 echo "$ac_t""found $ac_find_includes" 1>&6
7202 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7204 echo "$ac_t""no" 1>&6
7205 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7209 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7210 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7212 if test "$wxUSE_ODBC" = "yes" ; then
7213 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7216 if test "$wxUSE_MINGW" = 1; then
7217 LDFLAGS
="$LDFLAGS -mwindows"
7222 GUIOBJS
="\$(MSW_GUIOBJS)"
7223 GUIHEADERS
="\$(MSW_HEADERS)"
7224 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7225 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7229 RCINCSWITCH
="--include-dir"
7230 RCDEFSWITCH
="--define"
7231 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7234 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7236 RESPROGRAM
="\$(RES_PROGRAM)"
7240 if test "$wxUSE_GTK" = 1; then
7241 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7242 if test "${with_gtk_prefix+set}" = set; then
7243 withval
="$with_gtk_prefix"
7244 gtk_config_prefix
="$withval"
7246 gtk_config_prefix
=""
7249 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7250 if test "${with_gtk_exec_prefix+set}" = set; then
7251 withval
="$with_gtk_exec_prefix"
7252 gtk_config_exec_prefix
="$withval"
7254 gtk_config_exec_prefix
=""
7257 # Check whether --enable-gtktest or --disable-gtktest was given.
7258 if test "${enable_gtktest+set}" = set; then
7259 enableval
="$enable_gtktest"
7266 for module
in . gthread
7270 gtk_config_args
="$gtk_config_args gthread"
7275 if test x
$gtk_config_exec_prefix != x
; then
7276 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7277 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7278 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7281 if test x
$gtk_config_prefix != x
; then
7282 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7283 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7284 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7288 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7289 set dummy gtk
-config-2.0
; ac_word
=$2
7290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7291 echo "configure:7292: checking for $ac_word" >&5
7292 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7293 echo $ac_n "(cached) $ac_c" 1>&6
7295 case "$GTK_CONFIG_2_0" in
7297 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7300 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7303 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7305 for ac_dir
in $ac_dummy; do
7306 test -z "$ac_dir" && ac_dir
=.
7307 if test -f $ac_dir/$ac_word; then
7308 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7313 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7317 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7318 if test -n "$GTK_CONFIG_2_0"; then
7319 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7321 echo "$ac_t""no" 1>&6
7324 min_gtk_version
=1.3.1
7325 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7326 echo "configure:7327: checking for GTK - version >= $min_gtk_version" >&5
7328 if test "$GTK_CONFIG_2_0" = "no" ; then
7331 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7332 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7333 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7335 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7337 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7339 if test "x$enable_gtktest" = "xyes" ; then
7340 ac_save_CFLAGS
="$CFLAGS"
7341 ac_save_LIBS
="$LIBS"
7342 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7343 LIBS
="$GTK_LIBS $LIBS"
7345 if test "$cross_compiling" = yes; then
7346 echo $ac_n "cross compiling; assumed OK... $ac_c"
7348 cat > conftest.
$ac_ext <<EOF
7349 #line 7350 "configure"
7350 #include "confdefs.h"
7352 #include <gtk/gtk.h>
7359 int major, minor, micro;
7362 system ("touch conf.gtktest");
7364 /* HP/UX 9 (%@#!) writes to sscanf strings */
7365 tmp_version = g_strdup("$min_gtk_version");
7366 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7367 printf("%s, bad version string\n", "$min_gtk_version");
7371 if ((gtk_major_version != $gtk_config_major_version) ||
7372 (gtk_minor_version != $gtk_config_minor_version) ||
7373 (gtk_micro_version != $gtk_config_micro_version))
7375 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7376 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7377 gtk_major_version, gtk_minor_version, gtk_micro_version);
7378 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7379 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7380 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7381 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7382 printf("*** required on your system.\n");
7383 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7384 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7385 printf("*** before re-running configure\n");
7387 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7388 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7389 (gtk_minor_version != GTK_MINOR_VERSION) ||
7390 (gtk_micro_version != GTK_MICRO_VERSION))
7392 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7393 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7394 printf("*** library (version %d.%d.%d)\n",
7395 gtk_major_version, gtk_minor_version, gtk_micro_version);
7397 #endif /* defined (GTK_MAJOR_VERSION) ... */
7400 if ((gtk_major_version > major) ||
7401 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7402 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7408 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7409 gtk_major_version, gtk_minor_version, gtk_micro_version);
7410 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7411 major, minor, micro);
7412 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7414 printf("*** If you have already installed a sufficiently new version, this error\n");
7415 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7416 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7417 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7418 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7419 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7420 printf("*** so that the correct libraries are found at run-time))\n");
7427 if { (eval echo configure
:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7431 echo "configure: failed program was:" >&5
7432 cat conftest.
$ac_ext >&5
7439 CFLAGS
="$ac_save_CFLAGS"
7440 LIBS
="$ac_save_LIBS"
7443 if test "x$no_gtk" = x
; then
7444 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7447 echo "$ac_t""no" 1>&6
7448 if test "$GTK_CONFIG_2_0" = "no" ; then
7449 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7450 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7451 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7452 echo "*** full path to gtk-config-2.0."
7454 if test -f conf.gtktest
; then
7457 echo "*** Could not run GTK test program, checking why..."
7458 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7459 LIBS
="$LIBS $GTK_LIBS"
7460 cat > conftest.
$ac_ext <<EOF
7461 #line 7462 "configure"
7462 #include "confdefs.h"
7464 #include <gtk/gtk.h>
7468 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7471 if { (eval echo configure
:7472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7473 echo "*** The test program compiled, but did not run. This usually means"
7474 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7475 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7476 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7477 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7478 echo "*** is required on your system"
7480 echo "*** If you have an old version installed, it is best to remove it, although"
7481 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7483 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7484 echo "*** came with the system with the command"
7486 echo "*** rpm --erase --nodeps gtk gtk-devel"
7488 echo "configure: failed program was:" >&5
7489 cat conftest.
$ac_ext >&5
7491 echo "*** The test program failed to compile or link. See the file config.log for the"
7492 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7493 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7494 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7497 CFLAGS
="$ac_save_CFLAGS"
7498 LIBS
="$ac_save_LIBS"
7505 if test x
$gtk_config_exec_prefix != x
; then
7506 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7507 if test x
${GTK_CONFIG+set} != xset
; then
7508 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7511 if test x
$gtk_config_prefix != x
; then
7512 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7513 if test x
${GTK_CONFIG+set} != xset
; then
7514 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7518 # Extract the first word of "gtk-config", so it can be a program name with args.
7519 set dummy gtk
-config; ac_word
=$2
7520 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7521 echo "configure:7522: checking for $ac_word" >&5
7522 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7523 echo $ac_n "(cached) $ac_c" 1>&6
7525 case "$GTK_CONFIG" in
7527 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7530 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7533 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7535 for ac_dir
in $ac_dummy; do
7536 test -z "$ac_dir" && ac_dir
=.
7537 if test -f $ac_dir/$ac_word; then
7538 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7543 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7547 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7548 if test -n "$GTK_CONFIG"; then
7549 echo "$ac_t""$GTK_CONFIG" 1>&6
7551 echo "$ac_t""no" 1>&6
7554 min_gtk_version
=1.2.7
7555 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7556 echo "configure:7557: checking for GTK - version >= $min_gtk_version" >&5
7558 if test "$GTK_CONFIG" != "no" ; then
7559 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7560 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7561 ac_save_CFLAGS
="$CFLAGS"
7562 ac_save_LIBS
="$LIBS"
7563 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7564 LIBS
="$LIBS $GTK_LIBS"
7565 if test "$cross_compiling" = yes; then
7566 echo $ac_n "cross compiling; assumed OK... $ac_c"
7568 cat > conftest.
$ac_ext <<EOF
7569 #line 7570 "configure"
7570 #include "confdefs.h"
7572 #include <gtk/gtk.h>
7573 #include <gtk/gtkfeatures.h>
7580 int major, minor, micro;
7582 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7583 printf("%s, bad version string\n", "$min_gtk_version");
7587 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7588 (GTK_MINOR_VERSION != gtk_minor_version) ||
7589 (GTK_MICRO_VERSION != gtk_micro_version)) {
7590 printf("Headers vs. library version mismatch!\n");
7594 if (gtk_minor_version == 1) return FALSE;
7596 return !((gtk_major_version > major) ||
7597 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7598 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7602 if { (eval echo configure
:7603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7606 echo "configure: failed program was:" >&5
7607 cat conftest.
$ac_ext >&5
7614 CFLAGS
="$ac_save_CFLAGS"
7615 LIBS
="$ac_save_LIBS"
7619 if test "x$no_gtk" = x
; then
7620 echo "$ac_t""yes" 1>&6
7623 echo "$ac_t""no" 1>&6
7632 if test x
$gtk_config_exec_prefix != x
; then
7633 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7634 if test x
${GTK_CONFIG+set} != xset
; then
7635 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7638 if test x
$gtk_config_prefix != x
; then
7639 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7640 if test x
${GTK_CONFIG+set} != xset
; then
7641 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7645 # Extract the first word of "gtk-config", so it can be a program name with args.
7646 set dummy gtk
-config; ac_word
=$2
7647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7648 echo "configure:7649: checking for $ac_word" >&5
7649 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7650 echo $ac_n "(cached) $ac_c" 1>&6
7652 case "$GTK_CONFIG" in
7654 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7657 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7660 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7662 for ac_dir
in $ac_dummy; do
7663 test -z "$ac_dir" && ac_dir
=.
7664 if test -f $ac_dir/$ac_word; then
7665 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7670 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7674 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7675 if test -n "$GTK_CONFIG"; then
7676 echo "$ac_t""$GTK_CONFIG" 1>&6
7678 echo "$ac_t""no" 1>&6
7681 min_gtk_version
=1.2.3
7682 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7683 echo "configure:7684: checking for GTK - version >= $min_gtk_version" >&5
7685 if test "$GTK_CONFIG" != "no" ; then
7686 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7687 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7688 ac_save_CFLAGS
="$CFLAGS"
7689 ac_save_LIBS
="$LIBS"
7690 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7691 LIBS
="$LIBS $GTK_LIBS"
7692 if test "$cross_compiling" = yes; then
7693 echo $ac_n "cross compiling; assumed OK... $ac_c"
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7699 #include <gtk/gtk.h>
7700 #include <gtk/gtkfeatures.h>
7707 int major, minor, micro;
7709 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7710 printf("%s, bad version string\n", "$min_gtk_version");
7714 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7715 (GTK_MINOR_VERSION != gtk_minor_version) ||
7716 (GTK_MICRO_VERSION != gtk_micro_version)) {
7717 printf("Headers vs. library version mismatch!\n");
7721 if (gtk_minor_version == 1) return FALSE;
7723 return !((gtk_major_version > major) ||
7724 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7725 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7729 if { (eval echo configure
:7730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7733 echo "configure: failed program was:" >&5
7734 cat conftest.
$ac_ext >&5
7741 CFLAGS
="$ac_save_CFLAGS"
7742 LIBS
="$ac_save_LIBS"
7746 if test "x$no_gtk" = x
; then
7747 echo "$ac_t""yes" 1>&6
7750 echo "$ac_t""no" 1>&6
7765 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7766 { echo "configure: error:
7767 Please check that gtk-config is in path, the directory
7768 where GTK+ libraries are installed (returned by
7769 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7770 equivalent variable and GTK+ is version 1.2.3 or above.
7774 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7777 GUI_TK_LIBRARY
="$GTK_LIBS"
7781 AFMINSTALL
=afminstall
7783 GUIOBJS
="\$(GTK_GUIOBJS)"
7784 GUIHEADERS
="\$(GTK_HEADERS)"
7785 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7786 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7787 GUIDEPS
="\$(GTK_GUIDEPS)"
7788 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7789 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7790 UNIXOBJS
="\$(UNIX_OBJS)"
7791 UNIXDEPS
="\$(UNIX_DEPS)"
7794 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7795 echo "configure:7796: checking for gdk_im_open in -lgdk" >&5
7796 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7797 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7798 echo $ac_n "(cached) $ac_c" 1>&6
7800 ac_save_LIBS
="$LIBS"
7802 cat > conftest.
$ac_ext <<EOF
7803 #line 7804 "configure"
7804 #include "confdefs.h"
7805 /* Override any gcc2 internal prototype to avoid an error. */
7806 /* We use char because int might match the return type of a gcc2
7807 builtin and then its argument prototype would still apply. */
7814 if { (eval echo configure
:7815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7816 eval "ac_cv_lib_$ac_lib_var=yes"
7818 echo "configure: failed program was:" >&5
7819 cat conftest.
$ac_ext >&5
7821 eval "ac_cv_lib_$ac_lib_var=no"
7824 LIBS
="$ac_save_LIBS"
7827 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7828 echo "$ac_t""yes" 1>&6
7829 cat >> confdefs.h
<<\EOF
7834 echo "$ac_t""no" 1>&6
7839 if test "$wxUSE_WINE" = 1; then
7840 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7841 echo "configure:7842: checking for WINE includes" >&5
7844 for ac_dir
in $SEARCH_INCLUDE;
7846 if test -f "$ac_dir/windows.h"; then
7847 ac_find_includes
=$ac_dir
7852 if test "$ac_find_includes" != "" ; then
7853 echo "$ac_t""found $ac_find_includes" 1>&6
7854 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7856 echo "$ac_t""no" 1>&6
7857 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7861 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7862 echo "configure:7863: checking for Xpm library" >&5
7865 for ac_dir
in $SEARCH_LIB;
7867 for ac_extension
in a so sl
; do
7868 if test -f "$ac_dir/libXpm.$ac_extension"; then
7869 ac_find_libraries
=$ac_dir
7875 if test "$ac_find_libraries" != "" ; then
7876 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7878 cat >> confdefs.h
<<\EOF
7879 #define wxHAVE_LIB_XPM 1
7882 echo "$ac_t""found at $ac_find_libraries" 1>&6
7884 echo "$ac_t""no" 1>&6
7885 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7889 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7890 echo "configure:7891: checking for Mesa library" >&5
7893 for ac_dir
in $SEARCH_LIB;
7895 for ac_extension
in a so sl
; do
7896 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7897 ac_find_libraries
=$ac_dir
7903 if test "$ac_find_libraries" != "" ; then
7904 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7905 MESA_LINK
="-lMesaGL"
7906 echo "$ac_t""found at $ac_find_libraries" 1>&6
7908 { echo "configure: error: no" 1>&2; exit 1; }
7911 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7912 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7916 GUIHEADERS
="\$(MSW_HEADERS)"
7917 GUIOBJS
="\$(MSW_GUIOBJS)"
7918 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7919 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7920 GUIDEPS
="\$(MSW_GUIDEPS)"
7921 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7922 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7923 UNIXOBJS
="\$(UNIX_OBJS)"
7924 UNIXDEPS
="\$(UNIX_DEPS)"
7929 # If we find X, set shell vars x_includes and x_libraries to the
7930 # paths, otherwise set no_x=yes.
7931 # Uses ac_ vars as temps to allow command line to override cache and checks.
7932 # --without-x overrides everything else, but does not touch the cache.
7933 echo $ac_n "checking for X""... $ac_c" 1>&6
7934 echo "configure:7935: checking for X" >&5
7936 # Check whether --with-x or --without-x was given.
7937 if test "${with_x+set}" = set; then
7942 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7943 if test "x$with_x" = xno
; then
7944 # The user explicitly disabled X.
7947 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7948 # Both variables are already set.
7951 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7952 echo $ac_n "(cached) $ac_c" 1>&6
7954 # One or both of the vars are not set, and there is no cached value.
7955 ac_x_includes
=NO ac_x_libraries
=NO
7957 if mkdir conftestdir
; then
7959 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7960 cat > Imakefile
<<'EOF'
7962 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7964 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7965 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7966 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7967 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7968 for ac_extension
in a so sl
; do
7969 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7970 test -f $ac_im_libdir/libX11.
$ac_extension; then
7971 ac_im_usrlibdir
=$ac_im_libdir; break
7974 # Screen out bogus values from the imake configuration. They are
7975 # bogus both because they are the default anyway, and because
7976 # using them would break gcc on systems where it needs fixed includes.
7977 case "$ac_im_incroot" in
7979 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7981 case "$ac_im_usrlibdir" in
7983 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7990 if test "$ac_x_includes" = NO
; then
7991 # Guess where to find include files, by looking for this one X11 .h file.
7992 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7994 # First, try using that file with no special directory specified.
7995 cat > conftest.
$ac_ext <<EOF
7996 #line 7997 "configure"
7997 #include "confdefs.h"
7998 #include <$x_direct_test_include>
8000 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8001 { (eval echo configure
:8002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8002 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8003 if test -z "$ac_err"; then
8005 # We can compile using X headers with no special include directory.
8009 echo "configure: failed program was:" >&5
8010 cat conftest.
$ac_ext >&5
8012 # Look for the header file in a standard set of common directories.
8013 # Check X11 before X11Rn because it is often a symlink to the current release.
8016 /usr
/X
11R
6/include \
8017 /usr
/X
11R
5/include \
8018 /usr
/X
11R
4/include \
8021 /usr
/include
/X11R6 \
8022 /usr
/include
/X11R5 \
8023 /usr
/include
/X11R4 \
8025 /usr
/local
/X
11/include \
8026 /usr
/local
/X
11R
6/include \
8027 /usr
/local
/X
11R
5/include \
8028 /usr
/local
/X
11R
4/include \
8030 /usr
/local
/include
/X11 \
8031 /usr
/local
/include
/X11R6 \
8032 /usr
/local
/include
/X11R5 \
8033 /usr
/local
/include
/X11R4 \
8037 /usr
/XFree
86/include
/X11 \
8040 /usr
/local
/include \
8041 /usr
/unsupported
/include \
8042 /usr
/athena
/include \
8043 /usr
/local
/x
11r
5/include \
8044 /usr
/lpp
/Xamples
/include \
8046 /usr
/openwin
/include \
8047 /usr
/openwin
/share
/include \
8050 if test -r "$ac_dir/$x_direct_test_include"; then
8051 ac_x_includes
=$ac_dir
8057 fi # $ac_x_includes = NO
8059 if test "$ac_x_libraries" = NO
; then
8060 # Check for the libraries.
8062 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8063 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8065 # See if we find them without any special options.
8066 # Don't add to $LIBS permanently.
8067 ac_save_LIBS
="$LIBS"
8068 LIBS
="-l$x_direct_test_library $LIBS"
8069 cat > conftest.
$ac_ext <<EOF
8070 #line 8071 "configure"
8071 #include "confdefs.h"
8074 ${x_direct_test_function}()
8077 if { (eval echo configure
:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8079 LIBS
="$ac_save_LIBS"
8080 # We can link X programs with no special library path.
8083 echo "configure: failed program was:" >&5
8084 cat conftest.
$ac_ext >&5
8086 LIBS
="$ac_save_LIBS"
8087 # First see if replacing the include by lib works.
8088 # Check X11 before X11Rn because it is often a symlink to the current release.
8089 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8100 /usr
/local
/X
11/lib \
8101 /usr
/local
/X
11R
6/lib \
8102 /usr
/local
/X
11R
5/lib \
8103 /usr
/local
/X
11R
4/lib \
8105 /usr
/local
/lib
/X11 \
8106 /usr
/local
/lib
/X11R6 \
8107 /usr
/local
/lib
/X11R5 \
8108 /usr
/local
/lib
/X11R4 \
8112 /usr
/XFree
86/lib
/X11 \
8116 /usr
/unsupported
/lib \
8118 /usr
/local
/x
11r
5/lib \
8119 /usr
/lpp
/Xamples
/lib \
8123 /usr
/openwin
/share
/lib \
8126 for ac_extension
in a so sl
; do
8127 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8128 ac_x_libraries
=$ac_dir
8135 fi # $ac_x_libraries = NO
8137 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8138 # Didn't find X anywhere. Cache the known absence of X.
8139 ac_cv_have_x
="have_x=no"
8141 # Record where we found X for the cache.
8142 ac_cv_have_x
="have_x=yes \
8143 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8147 eval "$ac_cv_have_x"
8150 if test "$have_x" != yes; then
8151 echo "$ac_t""$have_x" 1>&6
8154 # If each of the values was on the command line, it overrides each guess.
8155 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8156 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8157 # Update the cache value to reflect the command line values.
8158 ac_cv_have_x
="have_x=yes \
8159 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8160 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8163 if test "$no_x" = yes; then
8164 # Not all programs may use this symbol, but it does not hurt to define it.
8165 cat >> confdefs.h
<<\EOF
8166 #define X_DISPLAY_MISSING 1
8169 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8171 if test -n "$x_includes"; then
8172 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8175 # It would also be nice to do this for all -L options, not just this one.
8176 if test -n "$x_libraries"; then
8177 X_LIBS
="$X_LIBS -L$x_libraries"
8178 # For Solaris; some versions of Sun CC require a space after -R and
8179 # others require no space. Words are not sufficient . . . .
8180 case "`(uname -sr) 2>/dev/null`" in
8182 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8183 echo "configure:8184: checking whether -R must be followed by a space" >&5
8184 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8185 cat > conftest.
$ac_ext <<EOF
8186 #line 8187 "configure"
8187 #include "confdefs.h"
8193 if { (eval echo configure
:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8197 echo "configure: failed program was:" >&5
8198 cat conftest.
$ac_ext >&5
8203 if test $ac_R_nospace = yes; then
8204 echo "$ac_t""no" 1>&6
8205 X_LIBS
="$X_LIBS -R$x_libraries"
8207 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8208 cat > conftest.
$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8216 if { (eval echo configure
:8217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8220 echo "configure: failed program was:" >&5
8221 cat conftest.
$ac_ext >&5
8226 if test $ac_R_space = yes; then
8227 echo "$ac_t""yes" 1>&6
8228 X_LIBS
="$X_LIBS -R $x_libraries"
8230 echo "$ac_t""neither works" 1>&6
8233 LIBS
="$ac_xsave_LIBS"
8237 # Check for system-dependent libraries X programs must link with.
8238 # Do this before checking for the system-independent R6 libraries
8239 # (-lICE), since we may need -lsocket or whatever for X linking.
8241 if test "$ISC" = yes; then
8242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8244 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8245 # libraries were built with DECnet support. And karl@cs.umb.edu says
8246 # the Alpha needs dnet_stub (dnet does not exist).
8247 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8248 echo "configure:8249: checking for dnet_ntoa in -ldnet" >&5
8249 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8251 echo $ac_n "(cached) $ac_c" 1>&6
8253 ac_save_LIBS
="$LIBS"
8255 cat > conftest.
$ac_ext <<EOF
8256 #line 8257 "configure"
8257 #include "confdefs.h"
8258 /* Override any gcc2 internal prototype to avoid an error. */
8259 /* We use char because int might match the return type of a gcc2
8260 builtin and then its argument prototype would still apply. */
8267 if { (eval echo configure
:8268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8269 eval "ac_cv_lib_$ac_lib_var=yes"
8271 echo "configure: failed program was:" >&5
8272 cat conftest.
$ac_ext >&5
8274 eval "ac_cv_lib_$ac_lib_var=no"
8277 LIBS
="$ac_save_LIBS"
8280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8281 echo "$ac_t""yes" 1>&6
8282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8284 echo "$ac_t""no" 1>&6
8287 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8288 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8289 echo "configure:8290: checking for dnet_ntoa in -ldnet_stub" >&5
8290 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8292 echo $ac_n "(cached) $ac_c" 1>&6
8294 ac_save_LIBS
="$LIBS"
8295 LIBS
="-ldnet_stub $LIBS"
8296 cat > conftest.
$ac_ext <<EOF
8297 #line 8298 "configure"
8298 #include "confdefs.h"
8299 /* Override any gcc2 internal prototype to avoid an error. */
8300 /* We use char because int might match the return type of a gcc2
8301 builtin and then its argument prototype would still apply. */
8308 if { (eval echo configure
:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8310 eval "ac_cv_lib_$ac_lib_var=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.
$ac_ext >&5
8315 eval "ac_cv_lib_$ac_lib_var=no"
8318 LIBS
="$ac_save_LIBS"
8321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8325 echo "$ac_t""no" 1>&6
8330 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8331 # to get the SysV transport functions.
8332 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8334 # The nsl library prevents programs from opening the X display
8335 # on Irix 5.2, according to dickey@clark.net.
8336 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8337 echo "configure:8338: checking for gethostbyname" >&5
8338 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8339 echo $ac_n "(cached) $ac_c" 1>&6
8341 cat > conftest.
$ac_ext <<EOF
8342 #line 8343 "configure"
8343 #include "confdefs.h"
8344 /* System header to define __stub macros and hopefully few prototypes,
8345 which can conflict with char gethostbyname(); below. */
8347 /* Override any gcc2 internal prototype to avoid an error. */
8348 /* We use char because int might match the return type of a gcc2
8349 builtin and then its argument prototype would still apply. */
8350 char gethostbyname();
8354 /* The GNU C library defines this for functions which it implements
8355 to always fail with ENOSYS. Some functions are actually named
8356 something starting with __ and the normal name is an alias. */
8357 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8365 if { (eval echo configure
:8366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8367 eval "ac_cv_func_gethostbyname=yes"
8369 echo "configure: failed program was:" >&5
8370 cat conftest.
$ac_ext >&5
8372 eval "ac_cv_func_gethostbyname=no"
8377 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8378 echo "$ac_t""yes" 1>&6
8381 echo "$ac_t""no" 1>&6
8384 if test $ac_cv_func_gethostbyname = no
; then
8385 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8386 echo "configure:8387: checking for gethostbyname in -lnsl" >&5
8387 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8388 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8389 echo $ac_n "(cached) $ac_c" 1>&6
8391 ac_save_LIBS
="$LIBS"
8393 cat > conftest.
$ac_ext <<EOF
8394 #line 8395 "configure"
8395 #include "confdefs.h"
8396 /* Override any gcc2 internal prototype to avoid an error. */
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char gethostbyname();
8405 if { (eval echo configure
:8406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8407 eval "ac_cv_lib_$ac_lib_var=yes"
8409 echo "configure: failed program was:" >&5
8410 cat conftest.
$ac_ext >&5
8412 eval "ac_cv_lib_$ac_lib_var=no"
8415 LIBS
="$ac_save_LIBS"
8418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8419 echo "$ac_t""yes" 1>&6
8420 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8422 echo "$ac_t""no" 1>&6
8427 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8428 # socket/setsockopt and other routines are undefined under SCO ODT
8429 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8430 # on later versions), says simon@lia.di.epfl.ch: it contains
8431 # gethostby* variants that don't use the nameserver (or something).
8432 # -lsocket must be given before -lnsl if both are needed.
8433 # We assume that if connect needs -lnsl, so does gethostbyname.
8434 echo $ac_n "checking for connect""... $ac_c" 1>&6
8435 echo "configure:8436: checking for connect" >&5
8436 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8437 echo $ac_n "(cached) $ac_c" 1>&6
8439 cat > conftest.
$ac_ext <<EOF
8440 #line 8441 "configure"
8441 #include "confdefs.h"
8442 /* System header to define __stub macros and hopefully few prototypes,
8443 which can conflict with char connect(); below. */
8445 /* Override any gcc2 internal prototype to avoid an error. */
8446 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */
8452 /* The GNU C library defines this for functions which it implements
8453 to always fail with ENOSYS. Some functions are actually named
8454 something starting with __ and the normal name is an alias. */
8455 #if defined (__stub_connect) || defined (__stub___connect)
8463 if { (eval echo configure
:8464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8465 eval "ac_cv_func_connect=yes"
8467 echo "configure: failed program was:" >&5
8468 cat conftest.
$ac_ext >&5
8470 eval "ac_cv_func_connect=no"
8475 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8476 echo "$ac_t""yes" 1>&6
8479 echo "$ac_t""no" 1>&6
8482 if test $ac_cv_func_connect = no
; then
8483 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8484 echo "configure:8485: checking for connect in -lsocket" >&5
8485 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8487 echo $ac_n "(cached) $ac_c" 1>&6
8489 ac_save_LIBS
="$LIBS"
8490 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8491 cat > conftest.
$ac_ext <<EOF
8492 #line 8493 "configure"
8493 #include "confdefs.h"
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. */
8503 if { (eval echo configure
:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8505 eval "ac_cv_lib_$ac_lib_var=yes"
8507 echo "configure: failed program was:" >&5
8508 cat conftest.
$ac_ext >&5
8510 eval "ac_cv_lib_$ac_lib_var=no"
8513 LIBS
="$ac_save_LIBS"
8516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8517 echo "$ac_t""yes" 1>&6
8518 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8520 echo "$ac_t""no" 1>&6
8525 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8526 echo $ac_n "checking for remove""... $ac_c" 1>&6
8527 echo "configure:8528: checking for remove" >&5
8528 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8529 echo $ac_n "(cached) $ac_c" 1>&6
8531 cat > conftest.
$ac_ext <<EOF
8532 #line 8533 "configure"
8533 #include "confdefs.h"
8534 /* System header to define __stub macros and hopefully few prototypes,
8535 which can conflict with char remove(); below. */
8537 /* Override any gcc2 internal prototype to avoid an error. */
8538 /* We use char because int might match the return type of a gcc2
8539 builtin and then its argument prototype would still apply. */
8544 /* The GNU C library defines this for functions which it implements
8545 to always fail with ENOSYS. Some functions are actually named
8546 something starting with __ and the normal name is an alias. */
8547 #if defined (__stub_remove) || defined (__stub___remove)
8555 if { (eval echo configure
:8556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8557 eval "ac_cv_func_remove=yes"
8559 echo "configure: failed program was:" >&5
8560 cat conftest.
$ac_ext >&5
8562 eval "ac_cv_func_remove=no"
8567 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8568 echo "$ac_t""yes" 1>&6
8571 echo "$ac_t""no" 1>&6
8574 if test $ac_cv_func_remove = no
; then
8575 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8576 echo "configure:8577: checking for remove in -lposix" >&5
8577 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8579 echo $ac_n "(cached) $ac_c" 1>&6
8581 ac_save_LIBS
="$LIBS"
8582 LIBS
="-lposix $LIBS"
8583 cat > conftest.
$ac_ext <<EOF
8584 #line 8585 "configure"
8585 #include "confdefs.h"
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. */
8595 if { (eval echo configure
:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8597 eval "ac_cv_lib_$ac_lib_var=yes"
8599 echo "configure: failed program was:" >&5
8600 cat conftest.
$ac_ext >&5
8602 eval "ac_cv_lib_$ac_lib_var=no"
8605 LIBS
="$ac_save_LIBS"
8608 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8609 echo "$ac_t""yes" 1>&6
8610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8612 echo "$ac_t""no" 1>&6
8617 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8618 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8619 echo "configure:8620: checking for shmat" >&5
8620 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8621 echo $ac_n "(cached) $ac_c" 1>&6
8623 cat > conftest.
$ac_ext <<EOF
8624 #line 8625 "configure"
8625 #include "confdefs.h"
8626 /* System header to define __stub macros and hopefully few prototypes,
8627 which can conflict with char shmat(); below. */
8629 /* Override any gcc2 internal prototype to avoid an error. */
8630 /* We use char because int might match the return type of a gcc2
8631 builtin and then its argument prototype would still apply. */
8636 /* The GNU C library defines this for functions which it implements
8637 to always fail with ENOSYS. Some functions are actually named
8638 something starting with __ and the normal name is an alias. */
8639 #if defined (__stub_shmat) || defined (__stub___shmat)
8647 if { (eval echo configure
:8648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8649 eval "ac_cv_func_shmat=yes"
8651 echo "configure: failed program was:" >&5
8652 cat conftest.
$ac_ext >&5
8654 eval "ac_cv_func_shmat=no"
8659 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8660 echo "$ac_t""yes" 1>&6
8663 echo "$ac_t""no" 1>&6
8666 if test $ac_cv_func_shmat = no
; then
8667 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8668 echo "configure:8669: checking for shmat in -lipc" >&5
8669 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8673 ac_save_LIBS
="$LIBS"
8675 cat > conftest.
$ac_ext <<EOF
8676 #line 8677 "configure"
8677 #include "confdefs.h"
8678 /* Override any gcc2 internal prototype to avoid an error. */
8679 /* We use char because int might match the return type of a gcc2
8680 builtin and then its argument prototype would still apply. */
8687 if { (eval echo configure
:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8689 eval "ac_cv_lib_$ac_lib_var=yes"
8691 echo "configure: failed program was:" >&5
8692 cat conftest.
$ac_ext >&5
8694 eval "ac_cv_lib_$ac_lib_var=no"
8697 LIBS
="$ac_save_LIBS"
8700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8701 echo "$ac_t""yes" 1>&6
8702 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8704 echo "$ac_t""no" 1>&6
8710 # Check for libraries that X11R6 Xt/Xaw programs need.
8711 ac_save_LDFLAGS
="$LDFLAGS"
8712 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8713 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8714 # check for ICE first), but we must link in the order -lSM -lICE or
8715 # we get undefined symbols. So assume we have SM if we have ICE.
8716 # These have to be linked with before -lX11, unlike the other
8717 # libraries we check for below, so use a different variable.
8718 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8719 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8720 echo "configure:8721: checking for IceConnectionNumber in -lICE" >&5
8721 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8723 echo $ac_n "(cached) $ac_c" 1>&6
8725 ac_save_LIBS
="$LIBS"
8726 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8727 cat > conftest.
$ac_ext <<EOF
8728 #line 8729 "configure"
8729 #include "confdefs.h"
8730 /* Override any gcc2 internal prototype to avoid an error. */
8731 /* We use char because int might match the return type of a gcc2
8732 builtin and then its argument prototype would still apply. */
8733 char IceConnectionNumber();
8736 IceConnectionNumber()
8739 if { (eval echo configure
:8740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8741 eval "ac_cv_lib_$ac_lib_var=yes"
8743 echo "configure: failed program was:" >&5
8744 cat conftest.
$ac_ext >&5
8746 eval "ac_cv_lib_$ac_lib_var=no"
8749 LIBS
="$ac_save_LIBS"
8752 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8753 echo "$ac_t""yes" 1>&6
8754 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8756 echo "$ac_t""no" 1>&6
8759 LDFLAGS
="$ac_save_LDFLAGS"
8763 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8764 LDFLAGS
="$LDFLAGS $X_LIBS"
8766 if test "$wxUSE_MOTIF" = 1; then
8767 if test "$no_x" = "yes"; then
8768 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8771 GUI_TK_LIBRARY
="$X_LIBS"
8772 TOOLKIT_INCLUDE
="$X_CFLAGS"
8774 AFMINSTALL
=afminstall
8777 COMPILED_X_PROGRAM
=0
8779 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8780 echo "configure:8781: checking for Motif/Lesstif headers" >&5
8783 for ac_dir
in $SEARCH_INCLUDE;
8785 if test -f "$ac_dir/Xm/Xm.h"; then
8786 ac_find_includes
=$ac_dir
8791 if test "$ac_find_includes" != "" ; then
8792 echo "$ac_t""found $ac_find_includes" 1>&6
8794 cat > conftest.
$ac_ext <<EOF
8795 #line 8796 "configure"
8796 #include "confdefs.h"
8804 version = xmUseVersion;
8808 if { (eval echo configure
:8809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8811 echo "$ac_t""found in default search path" 1>&6
8812 COMPILED_X_PROGRAM
=1
8815 echo "configure: failed program was:" >&5
8816 cat conftest.
$ac_ext >&5
8819 echo "$ac_t""no" 1>&6
8820 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8827 if test "$COMPILED_X_PROGRAM" = 0; then
8828 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8829 echo "configure:8830: checking for Motif/Lesstif library" >&5
8832 for ac_dir
in $SEARCH_LIB;
8834 for ac_extension
in a so sl
; do
8835 if test -f "$ac_dir/libXm.$ac_extension"; then
8836 ac_find_libraries
=$ac_dir
8842 if test "$ac_find_libraries" != "" ; then
8844 ac_path_to_include
=$ac_find_includes
8845 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8847 if test $result = 0; then
8848 ac_path_to_include
=""
8850 ac_path_to_include
="-I$ac_find_includes"
8854 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8856 if test $result = 0; then
8859 ac_path_to_link
="-L$ac_find_libraries"
8863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8864 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8865 echo "$ac_t""found at $ac_find_libraries" 1>&6
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8877 version = xmUseVersion;
8881 if { (eval echo configure
:8882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8884 echo "$ac_t""found in default search path" 1>&6
8885 COMPILED_X_PROGRAM
=1
8888 echo "configure: failed program was:" >&5
8889 cat conftest.
$ac_ext >&5
8892 echo "$ac_t""no" 1>&6
8893 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8903 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8904 echo "configure:8905: checking for Xpm library" >&5
8907 for ac_dir
in $SEARCH_LIB;
8909 for ac_extension
in a so sl
; do
8910 if test -f "$ac_dir/libXpm.$ac_extension"; then
8911 ac_find_libraries
=$ac_dir
8917 if test "$ac_find_libraries" != "" ; then
8919 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8921 if test $result = 0; then
8924 ac_path_to_link
="-L$ac_find_libraries"
8927 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8929 cat >> confdefs.h
<<\EOF
8930 #define wxHAVE_LIB_XPM 1
8933 echo "$ac_t""found at $ac_find_libraries" 1>&6
8935 cat > conftest.
$ac_ext <<EOF
8936 #line 8937 "configure"
8937 #include "confdefs.h"
8939 #include <X11/xpm.h>
8945 version = XpmLibraryVersion();
8949 if { (eval echo configure
:8950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8953 cat >> confdefs.h
<<\EOF
8954 #define wxHAVE_LIB_XPM 1
8957 echo "$ac_t""found in default search path" 1>&6
8958 COMPILED_X_PROGRAM
=0
8961 echo "configure: failed program was:" >&5
8962 cat conftest.
$ac_ext >&5
8965 echo "$ac_t""no" 1>&6
8966 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8973 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
8974 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8977 GUIHEADERS
="\$(MOTIF_HEADERS)"
8978 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8979 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8980 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8981 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8982 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8983 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8984 UNIXOBJS
="\$(UNIX_OBJS)"
8985 UNIXDEPS
="\$(UNIX_DEPS)"
8989 if test "$wxUSE_PM" = 1; then
8992 GUIOBJS
="\$(PM_GUIOBJS)"
8993 GUIHEADERS
="\$(PM_HEADERS)"
8994 COMMONOBJS
="\$(PM_COMMONOBJS)"
8995 GENERICOBJS
="\$(PM_GENERICOBJS)"
8996 GUIDEPS
="\$(PM_GUIDEPS)"
8997 COMMONDEPS
="\$(PM_COMMONDEPS)"
8998 GENERICDEPS
="\$(PM_GENERICDEPS)"
9004 if test "$TOOLKIT" != "PM" ; then
9005 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9010 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9011 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9013 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9016 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9018 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9020 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9022 if test "$TOOLKIT" != "MSW"; then
9023 if test "$wxUSE_ODBC" = "yes" ; then
9024 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9028 if test "$wxUSE_LIBJPEG" = "yes" ; then
9029 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9031 if test "$wxUSE_LIBTIFF" = "yes" ; then
9032 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9034 if test "$wxUSE_LIBPNG" = "yes" ; then
9035 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9037 if test "$wxUSE_ZLIB" = "yes" ; then
9038 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9040 if test "$wxUSE_FREETYPE" = "yes" ; then
9041 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9043 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9045 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9046 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9047 RPM_SPEC
="wx\$(TOOLKIT).spec"
9049 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9050 DISTDIR
="wx\$(TOOLKIT)"
9056 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9057 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9059 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9062 TOOLKIT_DEF
="-D__WXBASE__"
9064 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
9065 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
9067 if test "$wxUSE_ZLIB" = "yes" ; then
9068 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9071 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9073 PORT_FILES
="src/files.lst"
9074 RPM_FILES
="src/rpmfiles.lst"
9075 RPM_SPEC
="wxBase.spec"
9081 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9082 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9084 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9085 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9087 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9088 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9090 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9091 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9092 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9093 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9094 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9095 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9102 WX_TARGET_LIBRARY_SONAME
=
9105 if test "$wxUSE_SHARED" = "yes"; then
9108 if test "$GCC" = yes ; then
9109 SHARED_LD
="${CC} -shared -fPIC -o"
9112 LDFLAGS
="-L/usr/lib"
9114 SHARED_LD
="${CXX} -b -o"
9117 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9118 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9119 if test "$wxUSE_OPENGL" = "yes"; then
9120 WX_ALL_INSTALLED
="preinstall_gl"
9121 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9123 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9128 SHARED_LD
="${CC} -shared -o"
9130 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9131 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9132 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9133 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9135 if test "$wxUSE_OPENGL" = "yes"; then
9136 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9137 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9139 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9140 WX_ALL
="CREATE_LINKS"
9143 *-*-irix5* | *-*-irix6* )
9144 if test "$GCC" = yes ; then
9145 SHARED_LD
="${CC} -shared -o"
9148 SHARED_LD
="${CXX} -shared -o"
9150 if test "$wxUSE_OPENGL" = "yes"; then
9151 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9152 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9154 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9155 WX_ALL
="CREATE_LINKS"
9159 if test "$GCC" = yes ; then
9160 SHARED_LD
="${CC} -shared -o"
9163 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9165 SHARED_LD
="${CXX} -G -o"
9168 if test "$wxUSE_OPENGL" = "yes"; then
9169 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9170 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9172 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9173 WX_ALL
="CREATE_LINKS"
9177 SHARED_LD
="${CC} -shared -o"
9179 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9180 WX_ALL
="CREATE_LINKS"
9182 *-*-freebsd* | *-*-netbsd*)
9183 SHARED_LD
="${CC} -shared -o"
9185 if test "$wxUSE_OPENGL" = "yes"; then
9186 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9187 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9189 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9190 WX_ALL
="CREATE_LINKS"
9194 SHARED_LD
="${CXX} -shared -o"
9196 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9197 WX_ALL
="CREATE_LINKS"
9200 SHARED_LD
="${CXX} -shared -o"
9202 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9203 WX_ALL
="CREATE_LINKS"
9206 SHARED_LD
="${CC} -shared -o"
9208 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9209 WX_ALL
="CREATE_LINKS"
9212 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9213 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9216 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9217 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9218 if test "$wxUSE_OPENGL" = "yes"; then
9219 WX_ALL_INSTALLED
="preinstall_gl"
9220 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9222 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9226 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9227 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9228 if test "$wxUSE_OPENGL" = "yes"; then
9229 WX_ALL_INSTALLED
="preinstall_gl"
9230 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9232 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9236 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9237 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9240 SHARED_LD
="${LD} -shared -o"
9242 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9243 WX_ALL
="CREATE_LINKS"
9246 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9249 if test "x$WX_TARGET_LIBRARY" = "x"; then
9250 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9251 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9253 WX_TARGET_LIBRARY_TYPE
="so"
9255 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9256 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9258 if test "$wxUSE_OPENGL" = "yes"; then
9259 WX_ALL_INSTALLED
="preinstall_gl"
9260 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9262 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9265 if test "$wxUSE_GUI" = "no"; then
9266 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9269 WX_TARGET_LIBRARY_TYPE
="a"
9273 for ac_hdr
in strings.h
9275 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9277 echo "configure:9278: checking for $ac_hdr" >&5
9278 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9279 echo $ac_n "(cached) $ac_c" 1>&6
9281 cat > conftest.
$ac_ext <<EOF
9282 #line 9283 "configure"
9283 #include "confdefs.h"
9286 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9287 { (eval echo configure
:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9288 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9289 if test -z "$ac_err"; then
9291 eval "ac_cv_header_$ac_safe=yes"
9294 echo "configure: failed program was:" >&5
9295 cat conftest.
$ac_ext >&5
9297 eval "ac_cv_header_$ac_safe=no"
9301 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9303 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9304 cat >> confdefs.h
<<EOF
9305 #define $ac_tr_hdr 1
9309 echo "$ac_t""no" 1>&6
9313 for ac_hdr
in unistd.h
9315 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9317 echo "configure:9318: checking for $ac_hdr" >&5
9318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9319 echo $ac_n "(cached) $ac_c" 1>&6
9321 cat > conftest.
$ac_ext <<EOF
9322 #line 9323 "configure"
9323 #include "confdefs.h"
9326 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9327 { (eval echo configure
:9328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9328 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9329 if test -z "$ac_err"; then
9331 eval "ac_cv_header_$ac_safe=yes"
9334 echo "configure: failed program was:" >&5
9335 cat conftest.
$ac_ext >&5
9337 eval "ac_cv_header_$ac_safe=no"
9341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9342 echo "$ac_t""yes" 1>&6
9343 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9344 cat >> confdefs.h
<<EOF
9345 #define $ac_tr_hdr 1
9349 echo "$ac_t""no" 1>&6
9353 for ac_hdr
in fcntl.h
9355 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9357 echo "configure:9358: checking for $ac_hdr" >&5
9358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9359 echo $ac_n "(cached) $ac_c" 1>&6
9361 cat > conftest.
$ac_ext <<EOF
9362 #line 9363 "configure"
9363 #include "confdefs.h"
9366 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9367 { (eval echo configure
:9368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9368 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9369 if test -z "$ac_err"; then
9371 eval "ac_cv_header_$ac_safe=yes"
9374 echo "configure: failed program was:" >&5
9375 cat conftest.
$ac_ext >&5
9377 eval "ac_cv_header_$ac_safe=no"
9381 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9382 echo "$ac_t""yes" 1>&6
9383 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9384 cat >> confdefs.h
<<EOF
9385 #define $ac_tr_hdr 1
9389 echo "$ac_t""no" 1>&6
9393 for ac_hdr
in wchar.h
9395 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9396 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9397 echo "configure:9398: checking for $ac_hdr" >&5
9398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9399 echo $ac_n "(cached) $ac_c" 1>&6
9401 cat > conftest.
$ac_ext <<EOF
9402 #line 9403 "configure"
9403 #include "confdefs.h"
9406 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9407 { (eval echo configure
:9408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9408 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9409 if test -z "$ac_err"; then
9411 eval "ac_cv_header_$ac_safe=yes"
9414 echo "configure: failed program was:" >&5
9415 cat conftest.
$ac_ext >&5
9417 eval "ac_cv_header_$ac_safe=no"
9421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9422 echo "$ac_t""yes" 1>&6
9423 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9424 cat >> confdefs.h
<<EOF
9425 #define $ac_tr_hdr 1
9429 echo "$ac_t""no" 1>&6
9433 for ac_hdr
in wcstr.h
9435 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9436 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9437 echo "configure:9438: checking for $ac_hdr" >&5
9438 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9439 echo $ac_n "(cached) $ac_c" 1>&6
9441 cat > conftest.
$ac_ext <<EOF
9442 #line 9443 "configure"
9443 #include "confdefs.h"
9446 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9447 { (eval echo configure
:9448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9448 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9449 if test -z "$ac_err"; then
9451 eval "ac_cv_header_$ac_safe=yes"
9454 echo "configure: failed program was:" >&5
9455 cat conftest.
$ac_ext >&5
9457 eval "ac_cv_header_$ac_safe=no"
9461 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9462 echo "$ac_t""yes" 1>&6
9463 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9464 cat >> confdefs.h
<<EOF
9465 #define $ac_tr_hdr 1
9469 echo "$ac_t""no" 1>&6
9473 for ac_hdr
in fnmatch.h
9475 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9477 echo "configure:9478: checking for $ac_hdr" >&5
9478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9479 echo $ac_n "(cached) $ac_c" 1>&6
9481 cat > conftest.
$ac_ext <<EOF
9482 #line 9483 "configure"
9483 #include "confdefs.h"
9486 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9487 { (eval echo configure
:9488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9488 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9489 if test -z "$ac_err"; then
9491 eval "ac_cv_header_$ac_safe=yes"
9494 echo "configure: failed program was:" >&5
9495 cat conftest.
$ac_ext >&5
9497 eval "ac_cv_header_$ac_safe=no"
9501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9502 echo "$ac_t""yes" 1>&6
9503 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9504 cat >> confdefs.h
<<EOF
9505 #define $ac_tr_hdr 1
9509 echo "$ac_t""no" 1>&6
9513 for ac_hdr
in iconv.h
9515 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9517 echo "configure:9518: checking for $ac_hdr" >&5
9518 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9519 echo $ac_n "(cached) $ac_c" 1>&6
9521 cat > conftest.
$ac_ext <<EOF
9522 #line 9523 "configure"
9523 #include "confdefs.h"
9526 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9527 { (eval echo configure
:9528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9528 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9529 if test -z "$ac_err"; then
9531 eval "ac_cv_header_$ac_safe=yes"
9534 echo "configure: failed program was:" >&5
9535 cat conftest.
$ac_ext >&5
9537 eval "ac_cv_header_$ac_safe=no"
9541 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9542 echo "$ac_t""yes" 1>&6
9543 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9544 cat >> confdefs.h
<<EOF
9545 #define $ac_tr_hdr 1
9549 echo "$ac_t""no" 1>&6
9553 for ac_hdr
in langinfo.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
9594 if test "$wxUSE_GUI" = "yes"; then
9595 if test "$wxUSE_UNIX" = "yes"; then
9596 for ac_hdr
in X
11/XKBlib.h
9598 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9600 echo "configure:9601: checking for $ac_hdr" >&5
9601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9602 echo $ac_n "(cached) $ac_c" 1>&6
9604 cat > conftest.
$ac_ext <<EOF
9605 #line 9606 "configure"
9606 #include "confdefs.h"
9609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9610 { (eval echo configure
:9611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9612 if test -z "$ac_err"; then
9614 eval "ac_cv_header_$ac_safe=yes"
9617 echo "configure: failed program was:" >&5
9618 cat conftest.
$ac_ext >&5
9620 eval "ac_cv_header_$ac_safe=no"
9624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9625 echo "$ac_t""yes" 1>&6
9626 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9627 cat >> confdefs.h
<<EOF
9628 #define $ac_tr_hdr 1
9632 echo "$ac_t""no" 1>&6
9640 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9641 echo "configure:9642: checking for ANSI C header files" >&5
9642 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9643 echo $ac_n "(cached) $ac_c" 1>&6
9645 cat > conftest.
$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9654 { (eval echo configure
:9655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9656 if test -z "$ac_err"; then
9658 ac_cv_header_stdc
=yes
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9664 ac_cv_header_stdc
=no
9668 if test $ac_cv_header_stdc = yes; then
9669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9670 cat > conftest.
$ac_ext <<EOF
9671 #line 9672 "configure"
9672 #include "confdefs.h"
9675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9676 egrep "memchr" >/dev
/null
2>&1; then
9680 ac_cv_header_stdc
=no
9686 if test $ac_cv_header_stdc = yes; then
9687 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9694 egrep "free" >/dev
/null
2>&1; then
9698 ac_cv_header_stdc
=no
9704 if test $ac_cv_header_stdc = yes; then
9705 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9706 if test "$cross_compiling" = yes; then
9709 cat > conftest.
$ac_ext <<EOF
9710 #line 9711 "configure"
9711 #include "confdefs.h"
9713 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9714 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9716 int main () { int i; for (i = 0; i < 256; i++)
9717 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9721 if { (eval echo configure
:9722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9725 echo "configure: failed program was:" >&5
9726 cat conftest.
$ac_ext >&5
9728 ac_cv_header_stdc
=no
9736 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9737 if test $ac_cv_header_stdc = yes; then
9738 cat >> confdefs.h
<<\EOF
9739 #define STDC_HEADERS 1
9744 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9745 echo "configure:9746: checking for mode_t" >&5
9746 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9749 cat > conftest.
$ac_ext <<EOF
9750 #line 9751 "configure"
9751 #include "confdefs.h"
9752 #include <sys/types.h>
9758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9759 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9761 ac_cv_type_mode_t
=yes
9764 ac_cv_type_mode_t
=no
9769 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9770 if test $ac_cv_type_mode_t = no
; then
9771 cat >> confdefs.h
<<\EOF
9777 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9778 echo "configure:9779: checking for off_t" >&5
9779 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9782 cat > conftest.
$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 #include <sys/types.h>
9791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9792 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9794 ac_cv_type_off_t
=yes
9802 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9803 if test $ac_cv_type_off_t = no
; then
9804 cat >> confdefs.h
<<\EOF
9810 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9811 echo "configure:9812: checking for pid_t" >&5
9812 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9813 echo $ac_n "(cached) $ac_c" 1>&6
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9818 #include <sys/types.h>
9824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9825 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9827 ac_cv_type_pid_t
=yes
9835 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9836 if test $ac_cv_type_pid_t = no
; then
9837 cat >> confdefs.h
<<\EOF
9843 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9844 echo "configure:9845: checking for size_t" >&5
9845 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9846 echo $ac_n "(cached) $ac_c" 1>&6
9848 cat > conftest.
$ac_ext <<EOF
9849 #line 9850 "configure"
9850 #include "confdefs.h"
9851 #include <sys/types.h>
9857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9858 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9860 ac_cv_type_size_t
=yes
9863 ac_cv_type_size_t
=no
9868 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9869 if test $ac_cv_type_size_t = no
; then
9870 cat >> confdefs.h
<<\EOF
9871 #define size_t unsigned
9876 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9877 echo "configure:9878: checking for uid_t in sys/types.h" >&5
9878 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9881 cat > conftest.
$ac_ext <<EOF
9882 #line 9883 "configure"
9883 #include "confdefs.h"
9884 #include <sys/types.h>
9886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9887 egrep "uid_t" >/dev
/null
2>&1; then
9889 ac_cv_type_uid_t
=yes
9898 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9899 if test $ac_cv_type_uid_t = no
; then
9900 cat >> confdefs.h
<<\EOF
9904 cat >> confdefs.h
<<\EOF
9912 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9913 echo "configure:9914: checking for pw_gecos in struct passwd" >&5
9914 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9918 cat > conftest.
$ac_ext <<EOF
9919 #line 9920 "configure"
9920 #include "confdefs.h"
9930 if { (eval echo configure
:9931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9933 wx_cv_struct_pw_gecos
=yes
9936 echo "configure: failed program was:" >&5
9937 cat conftest.
$ac_ext >&5
9940 wx_cv_struct_pw_gecos
=no
9949 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9951 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9952 cat >> confdefs.h
<<\EOF
9953 #define HAVE_PW_GECOS 1
9959 echo $ac_n "checking for working const""... $ac_c" 1>&6
9960 echo "configure:9961: checking for working const" >&5
9961 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9962 echo $ac_n "(cached) $ac_c" 1>&6
9964 cat > conftest.
$ac_ext <<EOF
9965 #line 9966 "configure"
9966 #include "confdefs.h"
9970 /* Ultrix mips cc rejects this. */
9971 typedef int charset[2]; const charset x;
9972 /* SunOS 4.1.1 cc rejects this. */
9973 char const *const *ccp;
9975 /* NEC SVR4.0.2 mips cc rejects this. */
9976 struct point {int x, y;};
9977 static struct point const zero = {0,0};
9978 /* AIX XL C 1.02.0.0 rejects this.
9979 It does not let you subtract one const X* pointer from another in an arm
9980 of an if-expression whose if-part is not a constant expression */
9981 const char *g = "string";
9982 ccp = &g + (g ? g-g : 0);
9983 /* HPUX 7.0 cc rejects these. */
9986 ccp = (char const *const *) p;
9987 { /* SCO 3.2v4 cc rejects this. */
9989 char const *s = 0 ? (char *) 0 : (char const *) 0;
9993 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9995 const int *foo = &x[0];
9998 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9999 typedef const int *iptr;
10003 { /* AIX XL C 1.02.0.0 rejects this saying
10004 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10005 struct s { int j; const int *ap[3]; };
10006 struct s *b; b->j = 5;
10008 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10009 const int foo = 10;
10014 if { (eval echo configure
:10015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10018 echo "configure: failed program was:" >&5
10019 cat conftest.
$ac_ext >&5
10026 echo "$ac_t""$ac_cv_c_const" 1>&6
10027 if test $ac_cv_c_const = no
; then
10028 cat >> confdefs.h
<<\EOF
10034 echo $ac_n "checking for inline""... $ac_c" 1>&6
10035 echo "configure:10036: checking for inline" >&5
10036 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10037 echo $ac_n "(cached) $ac_c" 1>&6
10040 for ac_kw
in inline __inline__ __inline
; do
10041 cat > conftest.
$ac_ext <<EOF
10042 #line 10043 "configure"
10043 #include "confdefs.h"
10049 if { (eval echo configure
:10050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10051 ac_cv_c_inline
=$ac_kw; break
10053 echo "configure: failed program was:" >&5
10054 cat conftest.
$ac_ext >&5
10061 echo "$ac_t""$ac_cv_c_inline" 1>&6
10062 case "$ac_cv_c_inline" in
10064 no
) cat >> confdefs.h
<<\EOF
10068 *) cat >> confdefs.h
<<EOF
10069 #define inline $ac_cv_c_inline
10075 echo $ac_n "checking size of char""... $ac_c" 1>&6
10076 echo "configure:10077: checking size of char" >&5
10077 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10080 if test "$cross_compiling" = yes; then
10081 ac_cv_sizeof_char
=1
10083 cat > conftest.
$ac_ext <<EOF
10084 #line 10085 "configure"
10085 #include "confdefs.h"
10089 FILE *f=fopen("conftestval", "w");
10091 fprintf(f, "%d\n", sizeof(char));
10095 if { (eval echo configure
:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10097 ac_cv_sizeof_char
=`cat conftestval`
10099 echo "configure: failed program was:" >&5
10100 cat conftest.
$ac_ext >&5
10102 ac_cv_sizeof_char
=0
10108 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10109 cat >> confdefs.h
<<EOF
10110 #define SIZEOF_CHAR $ac_cv_sizeof_char
10114 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10115 echo "configure:10116: checking size of wchar_t" >&5
10116 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10117 echo $ac_n "(cached) $ac_c" 1>&6
10119 if test "$cross_compiling" = yes; then
10120 ac_cv_sizeof_wchar_t
=4
10122 cat > conftest.
$ac_ext <<EOF
10123 #line 10124 "configure"
10124 #include "confdefs.h"
10128 FILE *f=fopen("conftestval", "w");
10130 fprintf(f, "%d\n", sizeof(wchar_t));
10134 if { (eval echo configure
:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10136 ac_cv_sizeof_wchar_t
=`cat conftestval`
10138 echo "configure: failed program was:" >&5
10139 cat conftest.
$ac_ext >&5
10141 ac_cv_sizeof_wchar_t
=0
10147 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10148 cat >> confdefs.h
<<EOF
10149 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10153 echo $ac_n "checking size of short""... $ac_c" 1>&6
10154 echo "configure:10155: checking size of short" >&5
10155 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10156 echo $ac_n "(cached) $ac_c" 1>&6
10158 if test "$cross_compiling" = yes; then
10159 ac_cv_sizeof_short
=2
10161 cat > conftest.
$ac_ext <<EOF
10162 #line 10163 "configure"
10163 #include "confdefs.h"
10167 FILE *f=fopen("conftestval", "w");
10169 fprintf(f, "%d\n", sizeof(short));
10173 if { (eval echo configure
:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10175 ac_cv_sizeof_short
=`cat conftestval`
10177 echo "configure: failed program was:" >&5
10178 cat conftest.
$ac_ext >&5
10180 ac_cv_sizeof_short
=0
10186 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10187 cat >> confdefs.h
<<EOF
10188 #define SIZEOF_SHORT $ac_cv_sizeof_short
10192 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10193 echo "configure:10194: checking size of int *" >&5
10194 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10195 echo $ac_n "(cached) $ac_c" 1>&6
10197 if test "$cross_compiling" = yes; then
10198 ac_cv_sizeof_int_p
=4
10200 cat > conftest.
$ac_ext <<EOF
10201 #line 10202 "configure"
10202 #include "confdefs.h"
10206 FILE *f=fopen("conftestval", "w");
10208 fprintf(f, "%d\n", sizeof(int *));
10212 if { (eval echo configure
:10213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10214 ac_cv_sizeof_int_p
=`cat conftestval`
10216 echo "configure: failed program was:" >&5
10217 cat conftest.
$ac_ext >&5
10219 ac_cv_sizeof_int_p
=0
10225 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10226 cat >> confdefs.h
<<EOF
10227 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10231 echo $ac_n "checking size of int""... $ac_c" 1>&6
10232 echo "configure:10233: checking size of int" >&5
10233 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10234 echo $ac_n "(cached) $ac_c" 1>&6
10236 if test "$cross_compiling" = yes; then
10239 cat > conftest.
$ac_ext <<EOF
10240 #line 10241 "configure"
10241 #include "confdefs.h"
10245 FILE *f=fopen("conftestval", "w");
10247 fprintf(f, "%d\n", sizeof(int));
10251 if { (eval echo configure
:10252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10253 ac_cv_sizeof_int
=`cat conftestval`
10255 echo "configure: failed program was:" >&5
10256 cat conftest.
$ac_ext >&5
10264 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10265 cat >> confdefs.h
<<EOF
10266 #define SIZEOF_INT $ac_cv_sizeof_int
10270 echo $ac_n "checking size of long""... $ac_c" 1>&6
10271 echo "configure:10272: checking size of long" >&5
10272 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10273 echo $ac_n "(cached) $ac_c" 1>&6
10275 if test "$cross_compiling" = yes; then
10276 ac_cv_sizeof_long
=4
10278 cat > conftest.
$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10284 FILE *f=fopen("conftestval", "w");
10286 fprintf(f, "%d\n", sizeof(long));
10290 if { (eval echo configure
:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10292 ac_cv_sizeof_long
=`cat conftestval`
10294 echo "configure: failed program was:" >&5
10295 cat conftest.
$ac_ext >&5
10297 ac_cv_sizeof_long
=0
10303 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10304 cat >> confdefs.h
<<EOF
10305 #define SIZEOF_LONG $ac_cv_sizeof_long
10309 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10310 echo "configure:10311: checking size of long long" >&5
10311 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10312 echo $ac_n "(cached) $ac_c" 1>&6
10314 if test "$cross_compiling" = yes; then
10315 ac_cv_sizeof_long_long
=0
10317 cat > conftest.
$ac_ext <<EOF
10318 #line 10319 "configure"
10319 #include "confdefs.h"
10323 FILE *f=fopen("conftestval", "w");
10325 fprintf(f, "%d\n", sizeof(long long));
10329 if { (eval echo configure
:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10331 ac_cv_sizeof_long_long
=`cat conftestval`
10333 echo "configure: failed program was:" >&5
10334 cat conftest.
$ac_ext >&5
10336 ac_cv_sizeof_long_long
=0
10342 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10343 cat >> confdefs.h
<<EOF
10344 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10349 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10350 echo "configure:10351: checking whether byte ordering is bigendian" >&5
10351 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10352 echo $ac_n "(cached) $ac_c" 1>&6
10354 ac_cv_c_bigendian
=unknown
10355 # See if sys/param.h defines the BYTE_ORDER macro.
10356 cat > conftest.
$ac_ext <<EOF
10357 #line 10358 "configure"
10358 #include "confdefs.h"
10359 #include <sys/types.h>
10360 #include <sys/param.h>
10363 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10364 bogus endian macros
10368 if { (eval echo configure
:10369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10370 # It does; now see whether it defined to BIG_ENDIAN or not.
10371 cat > conftest.
$ac_ext <<EOF
10372 #line 10373 "configure"
10373 #include "confdefs.h"
10374 #include <sys/types.h>
10375 #include <sys/param.h>
10378 #if BYTE_ORDER != BIG_ENDIAN
10383 if { (eval echo configure
:10384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10385 ac_cv_c_bigendian
=yes
10387 echo "configure: failed program was:" >&5
10388 cat conftest.
$ac_ext >&5
10390 ac_cv_c_bigendian
=no
10394 echo "configure: failed program was:" >&5
10395 cat conftest.
$ac_ext >&5
10398 if test $ac_cv_c_bigendian = unknown
; then
10399 if test "$cross_compiling" = yes; then
10400 ac_cv_c_bigendian
=unknown
10402 cat > conftest.
$ac_ext <<EOF
10403 #line 10404 "configure"
10404 #include "confdefs.h"
10406 /* Are we little or big endian? From Harbison&Steele. */
10410 char c[sizeof (long)];
10413 exit (u.c[sizeof (long) - 1] == 1);
10416 if { (eval echo configure
:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10418 ac_cv_c_bigendian
=no
10420 echo "configure: failed program was:" >&5
10421 cat conftest.
$ac_ext >&5
10423 ac_cv_c_bigendian
=yes
10431 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10432 if test $ac_cv_c_bigendian = unknown
; then
10433 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
10435 if test $ac_cv_c_bigendian = yes; then
10436 cat >> confdefs.h
<<\EOF
10437 #define WORDS_BIGENDIAN 1
10444 if test "$cross_compiling" = "yes"; then
10445 cat >> confdefs.h
<<\EOF
10446 #define wxUSE_IOSTREAMH 1
10452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10453 ac_cpp
='$CXXCPP $CPPFLAGS'
10454 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10455 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10456 cross_compiling
=$ac_cv_prog_cxx_cross
10459 for ac_hdr
in iostream
10461 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10462 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10463 echo "configure:10464: checking for $ac_hdr" >&5
10464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10465 echo $ac_n "(cached) $ac_c" 1>&6
10467 cat > conftest.
$ac_ext <<EOF
10468 #line 10469 "configure"
10469 #include "confdefs.h"
10472 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10473 { (eval echo configure
:10474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10474 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10475 if test -z "$ac_err"; then
10477 eval "ac_cv_header_$ac_safe=yes"
10480 echo "configure: failed program was:" >&5
10481 cat conftest.
$ac_ext >&5
10483 eval "ac_cv_header_$ac_safe=no"
10487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10488 echo "$ac_t""yes" 1>&6
10489 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10490 cat >> confdefs.h
<<EOF
10491 #define $ac_tr_hdr 1
10495 echo "$ac_t""no" 1>&6
10500 if test "x$HAVE_IOSTREAM" = x
; then
10501 cat >> confdefs.h
<<\EOF
10502 #define wxUSE_IOSTREAMH 1
10510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10511 ac_cpp
='$CPP $CPPFLAGS'
10512 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10513 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10514 cross_compiling
=$ac_cv_prog_cc_cross
10520 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10521 echo "configure:10522: checking if C++ compiler supports bool" >&5
10522 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10523 echo $ac_n "(cached) $ac_c" 1>&6
10528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10529 ac_cpp
='$CXXCPP $CPPFLAGS'
10530 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10531 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10532 cross_compiling
=$ac_cv_prog_cxx_cross
10535 cat > conftest.
$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10548 if { (eval echo configure
:10549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10551 cat >> confdefs.h
<<\EOF
10552 #define HAVE_BOOL 1
10558 echo "configure: failed program was:" >&5
10559 cat conftest.
$ac_ext >&5
10569 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10570 ac_cpp
='$CPP $CPPFLAGS'
10571 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10572 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10573 cross_compiling
=$ac_cv_prog_cc_cross
10578 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10580 if test "$wx_cv_cpp_bool" = "yes"; then
10581 cat >> confdefs.h
<<\EOF
10582 #define HAVE_BOOL 1
10589 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10590 echo "configure:10591: checking if you need GNU extensions" >&5
10591 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10598 #include <features.h>
10602 #ifndef __GNU_LIBRARY__
10603 Compile error wanted
10609 if { (eval echo configure
:10610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10611 wx_cv_gnu_extensions
=yes
10613 echo "configure: failed program was:" >&5
10614 cat conftest.
$ac_ext >&5
10616 wx_cv_gnu_extensions
=no
10623 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10624 if test "$wx_cv_gnu_extensions" = "yes"; then
10625 cat >> confdefs.h
<<EOF
10626 #define _GNU_SOURCE 1
10633 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10634 echo "configure:10635: checking for wcslen in -lc" >&5
10635 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10637 echo $ac_n "(cached) $ac_c" 1>&6
10639 ac_save_LIBS
="$LIBS"
10641 cat > conftest.
$ac_ext <<EOF
10642 #line 10643 "configure"
10643 #include "confdefs.h"
10644 /* Override any gcc2 internal prototype to avoid an error. */
10645 /* We use char because int might match the return type of a gcc2
10646 builtin and then its argument prototype would still apply. */
10653 if { (eval echo configure
:10654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10655 eval "ac_cv_lib_$ac_lib_var=yes"
10657 echo "configure: failed program was:" >&5
10658 cat conftest.
$ac_ext >&5
10660 eval "ac_cv_lib_$ac_lib_var=no"
10663 LIBS
="$ac_save_LIBS"
10666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10667 echo "$ac_t""yes" 1>&6
10669 cat >> confdefs.h
<<\EOF
10670 #define HAVE_WCSLEN 1
10676 echo "$ac_t""no" 1>&6
10678 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10679 echo "configure:10680: checking for wcslen in -lw" >&5
10680 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10682 echo $ac_n "(cached) $ac_c" 1>&6
10684 ac_save_LIBS
="$LIBS"
10686 cat > conftest.
$ac_ext <<EOF
10687 #line 10688 "configure"
10688 #include "confdefs.h"
10689 /* Override any gcc2 internal prototype to avoid an error. */
10690 /* We use char because int might match the return type of a gcc2
10691 builtin and then its argument prototype would still apply. */
10698 if { (eval echo configure
:10699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10700 eval "ac_cv_lib_$ac_lib_var=yes"
10702 echo "configure: failed program was:" >&5
10703 cat conftest.
$ac_ext >&5
10705 eval "ac_cv_lib_$ac_lib_var=no"
10708 LIBS
="$ac_save_LIBS"
10711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10712 echo "$ac_t""yes" 1>&6
10714 cat >> confdefs.h
<<\EOF
10715 #define HAVE_WCSLEN 1
10721 echo "$ac_t""no" 1>&6
10728 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10729 echo "configure:10730: checking for vprintf" >&5
10730 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10731 echo $ac_n "(cached) $ac_c" 1>&6
10733 cat > conftest.
$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10736 /* System header to define __stub macros and hopefully few prototypes,
10737 which can conflict with char vprintf(); below. */
10738 #include <assert.h>
10739 /* Override any gcc2 internal prototype to avoid an error. */
10740 /* We use char because int might match the return type of a gcc2
10741 builtin and then its argument prototype would still apply. */
10746 /* The GNU C library defines this for functions which it implements
10747 to always fail with ENOSYS. Some functions are actually named
10748 something starting with __ and the normal name is an alias. */
10749 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10757 if { (eval echo configure
:10758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10759 eval "ac_cv_func_vprintf=yes"
10761 echo "configure: failed program was:" >&5
10762 cat conftest.
$ac_ext >&5
10764 eval "ac_cv_func_vprintf=no"
10769 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10770 echo "$ac_t""yes" 1>&6
10771 cat >> confdefs.h
<<\EOF
10772 #define HAVE_VPRINTF 1
10776 echo "$ac_t""no" 1>&6
10779 if test "$ac_cv_func_vprintf" != yes; then
10780 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10781 echo "configure:10782: checking for _doprnt" >&5
10782 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10783 echo $ac_n "(cached) $ac_c" 1>&6
10785 cat > conftest.
$ac_ext <<EOF
10786 #line 10787 "configure"
10787 #include "confdefs.h"
10788 /* System header to define __stub macros and hopefully few prototypes,
10789 which can conflict with char _doprnt(); below. */
10790 #include <assert.h>
10791 /* Override any gcc2 internal prototype to avoid an error. */
10792 /* We use char because int might match the return type of a gcc2
10793 builtin and then its argument prototype would still apply. */
10798 /* The GNU C library defines this for functions which it implements
10799 to always fail with ENOSYS. Some functions are actually named
10800 something starting with __ and the normal name is an alias. */
10801 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10809 if { (eval echo configure
:10810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10811 eval "ac_cv_func__doprnt=yes"
10813 echo "configure: failed program was:" >&5
10814 cat conftest.
$ac_ext >&5
10816 eval "ac_cv_func__doprnt=no"
10821 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10822 echo "$ac_t""yes" 1>&6
10823 cat >> confdefs.h
<<\EOF
10824 #define HAVE_DOPRNT 1
10828 echo "$ac_t""no" 1>&6
10836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10837 ac_cpp
='$CXXCPP $CPPFLAGS'
10838 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10839 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10840 cross_compiling
=$ac_cv_prog_cxx_cross
10845 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10846 echo "configure:10847: checking for vsnprintf" >&5
10847 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10848 echo $ac_n "(cached) $ac_c" 1>&6
10851 cat > conftest.
$ac_ext <<EOF
10852 #line 10853 "configure"
10853 #include "confdefs.h"
10856 #include <stdarg.h>
10860 int wx_test_vsnprintf(const char *, ...);
10862 wx_test_vsnprintf("%s");
10866 int wx_test_vsnprintf(const char *fmt, ...)
10871 va_start(argp, fmt);
10872 vsnprintf(s, 42, fmt, argp);
10877 if { (eval echo configure
:10878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10880 cat >> confdefs.h
<<\EOF
10881 #define HAVE_VSNPRINTF 1
10884 wx_cv_func_vsnprintf
=yes
10887 echo "configure: failed program was:" >&5
10888 cat conftest.
$ac_ext >&5
10891 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10892 wx_cv_func_vsnprintf
=no
10899 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10901 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10902 echo "configure:10903: checking for vsscanf" >&5
10903 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10904 echo $ac_n "(cached) $ac_c" 1>&6
10907 cat > conftest.
$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10912 #include <stdarg.h>
10916 int wx_test_vsscanf(const char *, ...);
10918 wx_test_vsscanf("%d");
10922 int wx_test_vsscanf(const char *fmt, ...)
10925 va_start(argp, fmt);
10926 vsscanf("42", fmt, argp);
10931 if { (eval echo configure
:10932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10934 cat >> confdefs.h
<<\EOF
10935 #define HAVE_VSSCANF 1
10938 wx_cv_func_vsscanf
=yes
10941 echo "configure: failed program was:" >&5
10942 cat conftest.
$ac_ext >&5
10945 wx_cv_func_vsscanf
=no
10952 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10956 ac_cpp
='$CPP $CPPFLAGS'
10957 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10958 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10959 cross_compiling
=$ac_cv_prog_cc_cross
10962 if test "$TOOLKIT" != "MSW"; then
10964 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
10965 for ac_func
in sigaction
10967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10968 echo "configure:10969: checking for $ac_func" >&5
10969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10970 echo $ac_n "(cached) $ac_c" 1>&6
10972 cat > conftest.
$ac_ext <<EOF
10973 #line 10974 "configure"
10974 #include "confdefs.h"
10975 /* System header to define __stub macros and hopefully few prototypes,
10976 which can conflict with char $ac_func(); below. */
10977 #include <assert.h>
10978 /* Override any gcc2 internal prototype to avoid an error. */
10979 /* We use char because int might match the return type of a gcc2
10980 builtin and then its argument prototype would still apply. */
10985 /* The GNU C library defines this for functions which it implements
10986 to always fail with ENOSYS. Some functions are actually named
10987 something starting with __ and the normal name is an alias. */
10988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10996 if { (eval echo configure
:10997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10998 eval "ac_cv_func_$ac_func=yes"
11000 echo "configure: failed program was:" >&5
11001 cat conftest.
$ac_ext >&5
11003 eval "ac_cv_func_$ac_func=no"
11008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11009 echo "$ac_t""yes" 1>&6
11010 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11011 cat >> confdefs.h
<<EOF
11012 #define $ac_tr_func 1
11016 echo "$ac_t""no" 1>&6
11021 if test "$ac_cv_func_sigaction" = "no"; then
11022 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11023 wxUSE_ON_FATAL_EXCEPTION
=no
11026 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11030 ac_cpp
='$CXXCPP $CPPFLAGS'
11031 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11032 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11033 cross_compiling
=$ac_cv_prog_cxx_cross
11036 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11037 echo "configure:11038: checking for sa_handler type" >&5
11038 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11039 echo $ac_n "(cached) $ac_c" 1>&6
11042 cat > conftest.
$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11045 #include <signal.h>
11048 extern void testSigHandler(int);
11050 struct sigaction sa;
11051 sa.sa_handler = testSigHandler;
11055 if { (eval echo configure
:11056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11058 wx_cv_type_sa_handler
=int
11061 echo "configure: failed program was:" >&5
11062 cat conftest.
$ac_ext >&5
11065 wx_cv_type_sa_handler
=void
11072 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11076 ac_cpp
='$CPP $CPPFLAGS'
11077 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11078 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11079 cross_compiling
=$ac_cv_prog_cc_cross
11082 cat >> confdefs.h
<<EOF
11083 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11089 for ac_func
in vfork
11091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11092 echo "configure:11093: checking for $ac_func" >&5
11093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11094 echo $ac_n "(cached) $ac_c" 1>&6
11096 cat > conftest.
$ac_ext <<EOF
11097 #line 11098 "configure"
11098 #include "confdefs.h"
11099 /* System header to define __stub macros and hopefully few prototypes,
11100 which can conflict with char $ac_func(); below. */
11101 #include <assert.h>
11102 /* Override any gcc2 internal prototype to avoid an error. */
11103 /* We use char because int might match the return type of a gcc2
11104 builtin and then its argument prototype would still apply. */
11109 /* The GNU C library defines this for functions which it implements
11110 to always fail with ENOSYS. Some functions are actually named
11111 something starting with __ and the normal name is an alias. */
11112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11120 if { (eval echo configure
:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11122 eval "ac_cv_func_$ac_func=yes"
11124 echo "configure: failed program was:" >&5
11125 cat conftest.
$ac_ext >&5
11127 eval "ac_cv_func_$ac_func=no"
11132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11135 cat >> confdefs.h
<<EOF
11136 #define $ac_tr_func 1
11140 echo "$ac_t""no" 1>&6
11145 for ac_func
in timegm
11147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11148 echo "configure:11149: checking for $ac_func" >&5
11149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11150 echo $ac_n "(cached) $ac_c" 1>&6
11152 cat > conftest.
$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11155 /* System header to define __stub macros and hopefully few prototypes,
11156 which can conflict with char $ac_func(); below. */
11157 #include <assert.h>
11158 /* Override any gcc2 internal prototype to avoid an error. */
11159 /* We use char because int might match the return type of a gcc2
11160 builtin and then its argument prototype would still apply. */
11165 /* The GNU C library defines this for functions which it implements
11166 to always fail with ENOSYS. Some functions are actually named
11167 something starting with __ and the normal name is an alias. */
11168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11176 if { (eval echo configure
:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11178 eval "ac_cv_func_$ac_func=yes"
11180 echo "configure: failed program was:" >&5
11181 cat conftest.
$ac_ext >&5
11183 eval "ac_cv_func_$ac_func=no"
11188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11189 echo "$ac_t""yes" 1>&6
11190 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11191 cat >> confdefs.h
<<EOF
11192 #define $ac_tr_func 1
11196 echo "$ac_t""no" 1>&6
11201 for ac_func
in putenv setenv
11203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11204 echo "configure:11205: checking for $ac_func" >&5
11205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11206 echo $ac_n "(cached) $ac_c" 1>&6
11208 cat > conftest.
$ac_ext <<EOF
11209 #line 11210 "configure"
11210 #include "confdefs.h"
11211 /* System header to define __stub macros and hopefully few prototypes,
11212 which can conflict with char $ac_func(); below. */
11213 #include <assert.h>
11214 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11232 if { (eval echo configure
:11233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11234 eval "ac_cv_func_$ac_func=yes"
11236 echo "configure: failed program was:" >&5
11237 cat conftest.
$ac_ext >&5
11239 eval "ac_cv_func_$ac_func=no"
11244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11247 cat >> confdefs.h
<<EOF
11248 #define $ac_tr_func 1
11252 echo "$ac_t""no" 1>&6
11257 HAVE_SOME_SLEEP_FUNC
=0
11258 if test "$USE_BEOS" = 1; then
11259 cat >> confdefs.h
<<\EOF
11260 #define HAVE_SLEEP 1
11263 HAVE_SOME_SLEEP_FUNC
=1
11266 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11268 for ac_func
in nanosleep
11270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11271 echo "configure:11272: checking for $ac_func" >&5
11272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11273 echo $ac_n "(cached) $ac_c" 1>&6
11275 cat > conftest.
$ac_ext <<EOF
11276 #line 11277 "configure"
11277 #include "confdefs.h"
11278 /* System header to define __stub macros and hopefully few prototypes,
11279 which can conflict with char $ac_func(); below. */
11280 #include <assert.h>
11281 /* Override any gcc2 internal prototype to avoid an error. */
11282 /* We use char because int might match the return type of a gcc2
11283 builtin and then its argument prototype would still apply. */
11288 /* The GNU C library defines this for functions which it implements
11289 to always fail with ENOSYS. Some functions are actually named
11290 something starting with __ and the normal name is an alias. */
11291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11299 if { (eval echo configure
:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11301 eval "ac_cv_func_$ac_func=yes"
11303 echo "configure: failed program was:" >&5
11304 cat conftest.
$ac_ext >&5
11306 eval "ac_cv_func_$ac_func=no"
11311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11312 echo "$ac_t""yes" 1>&6
11313 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11314 cat >> confdefs.h
<<EOF
11315 #define $ac_tr_func 1
11317 cat >> confdefs.h
<<\EOF
11318 #define HAVE_NANOSLEEP 1
11322 echo "$ac_t""no" 1>&6
11323 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11324 echo "configure:11325: checking for nanosleep in -lposix4" >&5
11325 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11327 echo $ac_n "(cached) $ac_c" 1>&6
11329 ac_save_LIBS
="$LIBS"
11330 LIBS
="-lposix4 $LIBS"
11331 cat > conftest.
$ac_ext <<EOF
11332 #line 11333 "configure"
11333 #include "confdefs.h"
11334 /* Override any gcc2 internal prototype to avoid an error. */
11335 /* We use char because int might match the return type of a gcc2
11336 builtin and then its argument prototype would still apply. */
11343 if { (eval echo configure
:11344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11345 eval "ac_cv_lib_$ac_lib_var=yes"
11347 echo "configure: failed program was:" >&5
11348 cat conftest.
$ac_ext >&5
11350 eval "ac_cv_lib_$ac_lib_var=no"
11353 LIBS
="$ac_save_LIBS"
11356 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11357 echo "$ac_t""yes" 1>&6
11359 cat >> confdefs.h
<<\EOF
11360 #define HAVE_NANOSLEEP 1
11363 POSIX4_LINK
="-lposix4"
11366 echo "$ac_t""no" 1>&6
11368 for ac_func
in usleep
11370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11371 echo "configure:11372: checking for $ac_func" >&5
11372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11373 echo $ac_n "(cached) $ac_c" 1>&6
11375 cat > conftest.
$ac_ext <<EOF
11376 #line 11377 "configure"
11377 #include "confdefs.h"
11378 /* System header to define __stub macros and hopefully few prototypes,
11379 which can conflict with char $ac_func(); below. */
11380 #include <assert.h>
11381 /* Override any gcc2 internal prototype to avoid an error. */
11382 /* We use char because int might match the return type of a gcc2
11383 builtin and then its argument prototype would still apply. */
11388 /* The GNU C library defines this for functions which it implements
11389 to always fail with ENOSYS. Some functions are actually named
11390 something starting with __ and the normal name is an alias. */
11391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11399 if { (eval echo configure
:11400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11401 eval "ac_cv_func_$ac_func=yes"
11403 echo "configure: failed program was:" >&5
11404 cat conftest.
$ac_ext >&5
11406 eval "ac_cv_func_$ac_func=no"
11411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11412 echo "$ac_t""yes" 1>&6
11413 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11414 cat >> confdefs.h
<<EOF
11415 #define $ac_tr_func 1
11419 echo "$ac_t""no" 1>&6
11423 echo "configure: warning: wxSleep() function will not work" 1>&2
11435 for ac_func
in uname gethostname
11437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11438 echo "configure:11439: checking for $ac_func" >&5
11439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11440 echo $ac_n "(cached) $ac_c" 1>&6
11442 cat > conftest.
$ac_ext <<EOF
11443 #line 11444 "configure"
11444 #include "confdefs.h"
11445 /* System header to define __stub macros and hopefully few prototypes,
11446 which can conflict with char $ac_func(); below. */
11447 #include <assert.h>
11448 /* Override any gcc2 internal prototype to avoid an error. */
11449 /* We use char because int might match the return type of a gcc2
11450 builtin and then its argument prototype would still apply. */
11455 /* The GNU C library defines this for functions which it implements
11456 to always fail with ENOSYS. Some functions are actually named
11457 something starting with __ and the normal name is an alias. */
11458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11466 if { (eval echo configure
:11467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11468 eval "ac_cv_func_$ac_func=yes"
11470 echo "configure: failed program was:" >&5
11471 cat conftest.
$ac_ext >&5
11473 eval "ac_cv_func_$ac_func=no"
11478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11479 echo "$ac_t""yes" 1>&6
11480 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11481 cat >> confdefs.h
<<EOF
11482 #define $ac_tr_func 1
11486 echo "$ac_t""no" 1>&6
11493 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11494 ac_cpp
='$CXXCPP $CPPFLAGS'
11495 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11496 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11497 cross_compiling
=$ac_cv_prog_cxx_cross
11500 for ac_func
in strtok_r
11502 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11503 echo "configure:11504: checking for $ac_func" >&5
11504 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11505 echo $ac_n "(cached) $ac_c" 1>&6
11507 cat > conftest.
$ac_ext <<EOF
11508 #line 11509 "configure"
11509 #include "confdefs.h"
11510 /* System header to define __stub macros and hopefully few prototypes,
11511 which can conflict with char $ac_func(); below. */
11512 #include <assert.h>
11513 /* Override any gcc2 internal prototype to avoid an error. */
11517 /* We use char because int might match the return type of a gcc2
11518 builtin and then its argument prototype would still apply. */
11523 /* The GNU C library defines this for functions which it implements
11524 to always fail with ENOSYS. Some functions are actually named
11525 something starting with __ and the normal name is an alias. */
11526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11534 if { (eval echo configure
:11535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11536 eval "ac_cv_func_$ac_func=yes"
11538 echo "configure: failed program was:" >&5
11539 cat conftest.
$ac_ext >&5
11541 eval "ac_cv_func_$ac_func=no"
11546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11547 echo "$ac_t""yes" 1>&6
11548 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11549 cat >> confdefs.h
<<EOF
11550 #define $ac_tr_func 1
11554 echo "$ac_t""no" 1>&6
11560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11561 ac_cpp
='$CPP $CPPFLAGS'
11562 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11563 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11564 cross_compiling
=$ac_cv_prog_cc_cross
11568 for ac_func
in inet_addr
11570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11571 echo "configure:11572: checking for $ac_func" >&5
11572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11573 echo $ac_n "(cached) $ac_c" 1>&6
11575 cat > conftest.
$ac_ext <<EOF
11576 #line 11577 "configure"
11577 #include "confdefs.h"
11578 /* System header to define __stub macros and hopefully few prototypes,
11579 which can conflict with char $ac_func(); below. */
11580 #include <assert.h>
11581 /* Override any gcc2 internal prototype to avoid an error. */
11582 /* We use char because int might match the return type of a gcc2
11583 builtin and then its argument prototype would still apply. */
11588 /* The GNU C library defines this for functions which it implements
11589 to always fail with ENOSYS. Some functions are actually named
11590 something starting with __ and the normal name is an alias. */
11591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11599 if { (eval echo configure
:11600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11601 eval "ac_cv_func_$ac_func=yes"
11603 echo "configure: failed program was:" >&5
11604 cat conftest.
$ac_ext >&5
11606 eval "ac_cv_func_$ac_func=no"
11611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11612 echo "$ac_t""yes" 1>&6
11613 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11614 cat >> confdefs.h
<<EOF
11615 #define $ac_tr_func 1
11617 cat >> confdefs.h
<<\EOF
11618 #define HAVE_INET_ADDR 1
11622 echo "$ac_t""no" 1>&6
11623 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11624 echo "configure:11625: checking for inet_addr in -lnsl" >&5
11625 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11627 echo $ac_n "(cached) $ac_c" 1>&6
11629 ac_save_LIBS
="$LIBS"
11631 cat > conftest.
$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11634 /* Override any gcc2 internal prototype to avoid an error. */
11635 /* We use char because int might match the return type of a gcc2
11636 builtin and then its argument prototype would still apply. */
11643 if { (eval echo configure
:11644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11645 eval "ac_cv_lib_$ac_lib_var=yes"
11647 echo "configure: failed program was:" >&5
11648 cat conftest.
$ac_ext >&5
11650 eval "ac_cv_lib_$ac_lib_var=no"
11653 LIBS
="$ac_save_LIBS"
11656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11657 echo "$ac_t""yes" 1>&6
11660 echo "$ac_t""no" 1>&6
11661 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11662 echo "configure:11663: checking for inet_addr in -lresolv" >&5
11663 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11664 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11665 echo $ac_n "(cached) $ac_c" 1>&6
11667 ac_save_LIBS
="$LIBS"
11668 LIBS
="-lresolv $LIBS"
11669 cat > conftest.
$ac_ext <<EOF
11670 #line 11671 "configure"
11671 #include "confdefs.h"
11672 /* Override any gcc2 internal prototype to avoid an error. */
11673 /* We use char because int might match the return type of a gcc2
11674 builtin and then its argument prototype would still apply. */
11681 if { (eval echo configure
:11682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11683 eval "ac_cv_lib_$ac_lib_var=yes"
11685 echo "configure: failed program was:" >&5
11686 cat conftest.
$ac_ext >&5
11688 eval "ac_cv_lib_$ac_lib_var=no"
11691 LIBS
="$ac_save_LIBS"
11694 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11695 echo "$ac_t""yes" 1>&6
11699 echo "$ac_t""no" 1>&6
11711 for ac_func
in inet_aton
11713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11714 echo "configure:11715: checking for $ac_func" >&5
11715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11718 cat > conftest.
$ac_ext <<EOF
11719 #line 11720 "configure"
11720 #include "confdefs.h"
11721 /* System header to define __stub macros and hopefully few prototypes,
11722 which can conflict with char $ac_func(); below. */
11723 #include <assert.h>
11724 /* Override any gcc2 internal prototype to avoid an error. */
11725 /* We use char because int might match the return type of a gcc2
11726 builtin and then its argument prototype would still apply. */
11731 /* The GNU C library defines this for functions which it implements
11732 to always fail with ENOSYS. Some functions are actually named
11733 something starting with __ and the normal name is an alias. */
11734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11742 if { (eval echo configure
:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11744 eval "ac_cv_func_$ac_func=yes"
11746 echo "configure: failed program was:" >&5
11747 cat conftest.
$ac_ext >&5
11749 eval "ac_cv_func_$ac_func=no"
11754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11755 echo "$ac_t""yes" 1>&6
11756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11757 cat >> confdefs.h
<<EOF
11758 #define $ac_tr_func 1
11760 cat >> confdefs.h
<<\EOF
11761 #define HAVE_INET_ATON 1
11765 echo "$ac_t""no" 1>&6
11766 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11767 echo "configure:11768: checking for inet_aton in -l$INET_LINK" >&5
11768 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11769 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11770 echo $ac_n "(cached) $ac_c" 1>&6
11772 ac_save_LIBS
="$LIBS"
11773 LIBS
="-l$INET_LINK $LIBS"
11774 cat > conftest.
$ac_ext <<EOF
11775 #line 11776 "configure"
11776 #include "confdefs.h"
11777 /* Override any gcc2 internal prototype to avoid an error. */
11778 /* We use char because int might match the return type of a gcc2
11779 builtin and then its argument prototype would still apply. */
11786 if { (eval echo configure
:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11788 eval "ac_cv_lib_$ac_lib_var=yes"
11790 echo "configure: failed program was:" >&5
11791 cat conftest.
$ac_ext >&5
11793 eval "ac_cv_lib_$ac_lib_var=no"
11796 LIBS
="$ac_save_LIBS"
11799 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11800 echo "$ac_t""yes" 1>&6
11801 cat >> confdefs.h
<<\EOF
11802 #define HAVE_INET_ATON 1
11806 echo "$ac_t""no" 1>&6
11814 if test "x$INET_LINK" != "x"; then
11815 cat >> confdefs.h
<<\EOF
11816 #define HAVE_INET_ADDR 1
11819 INET_LINK
="-l$INET_LINK"
11825 cat > confcache
<<\EOF
11826 # This file is a shell script that caches the results of configure
11827 # tests run on this system so they can be shared between configure
11828 # scripts and configure runs. It is not useful on other systems.
11829 # If it contains results you don't want to keep, you may remove or edit it.
11831 # By default, configure uses ./config.cache as the cache file,
11832 # creating it if it does not exist already. You can give configure
11833 # the --cache-file=FILE option to use a different cache file; that is
11834 # what configure does when it calls configure scripts in
11835 # subdirectories, so they share the cache.
11836 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11837 # config.status only pays attention to the cache file if you give it the
11838 # --recheck option to rerun configure.
11841 # The following way of writing the cache mishandles newlines in values,
11842 # but we know of no workaround that is simple, portable, and efficient.
11843 # So, don't put newlines in cache variables' values.
11844 # Ultrix sh set writes to stderr and can't be redirected directly,
11845 # and sets the high bit in the cache file unless we assign to the vars.
11847 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11849 # `set' does not quote correctly, so add quotes (double-quote substitution
11850 # turns \\\\ into \\, and sed turns \\ into \).
11852 -e "s/'/'\\\\''/g" \
11853 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11856 # `set' quotes correctly as required by POSIX, so do not add quotes.
11857 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11860 if cmp -s $cache_file confcache
; then
11863 if test -w $cache_file; then
11864 echo "updating cache $cache_file"
11865 cat confcache
> $cache_file
11867 echo "not updating unwritable cache $cache_file"
11874 if test "$TOOLKIT" != "MSW"; then
11880 if test "$wxUSE_THREADS" = "yes" ; then
11881 if test "$wxUSE_WINE" = 1 ; then
11882 echo "configure: warning: Threads are not supported under WINE" 1>&2
11884 elif test "$USE_BEOS" = 1; then
11885 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11890 if test "$wxUSE_THREADS" = "yes" ; then
11892 if test "$USE_AIX" = 1; then
11893 THREADS_LIB
=pthreads
11895 THREADS_LIB
=pthread
11898 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
11899 echo "configure:11900: checking for pthread_create in -l$THREADS_LIB" >&5
11900 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
11901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11902 echo $ac_n "(cached) $ac_c" 1>&6
11904 ac_save_LIBS
="$LIBS"
11905 LIBS
="-l$THREADS_LIB $LIBS"
11906 cat > conftest.
$ac_ext <<EOF
11907 #line 11908 "configure"
11908 #include "confdefs.h"
11909 /* Override any gcc2 internal prototype to avoid an error. */
11910 /* We use char because int might match the return type of a gcc2
11911 builtin and then its argument prototype would still apply. */
11912 char pthread_create();
11918 if { (eval echo configure
:11919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11920 eval "ac_cv_lib_$ac_lib_var=yes"
11922 echo "configure: failed program was:" >&5
11923 cat conftest.
$ac_ext >&5
11925 eval "ac_cv_lib_$ac_lib_var=no"
11928 LIBS
="$ac_save_LIBS"
11931 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11932 echo "$ac_t""yes" 1>&6
11934 THREADS_OBJ
="threadpsx.lo"
11935 THREADS_LINK
=$THREADS_LIB
11938 echo "$ac_t""no" 1>&6
11940 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
11941 echo "configure:11942: checking for pthread_create in -lc_r" >&5
11942 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
11943 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11944 echo $ac_n "(cached) $ac_c" 1>&6
11946 ac_save_LIBS
="$LIBS"
11948 cat > conftest.
$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11951 /* Override any gcc2 internal prototype to avoid an error. */
11952 /* We use char because int might match the return type of a gcc2
11953 builtin and then its argument prototype would still apply. */
11954 char pthread_create();
11960 if { (eval echo configure
:11961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11962 eval "ac_cv_lib_$ac_lib_var=yes"
11964 echo "configure: failed program was:" >&5
11965 cat conftest.
$ac_ext >&5
11967 eval "ac_cv_lib_$ac_lib_var=no"
11970 LIBS
="$ac_save_LIBS"
11973 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11974 echo "$ac_t""yes" 1>&6
11976 THREADS_OBJ
="threadpsx.lo"
11980 echo "$ac_t""no" 1>&6
11982 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11983 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11984 echo "configure:11985: checking for sys/prctl.h" >&5
11985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11986 echo $ac_n "(cached) $ac_c" 1>&6
11988 cat > conftest.
$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
11991 #include <sys/prctl.h>
11993 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11994 { (eval echo configure
:11995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11995 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11996 if test -z "$ac_err"; then
11998 eval "ac_cv_header_$ac_safe=yes"
12001 echo "configure: failed program was:" >&5
12002 cat conftest.
$ac_ext >&5
12004 eval "ac_cv_header_$ac_safe=no"
12008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12009 echo "$ac_t""yes" 1>&6
12011 THREADS_OBJ
="threadsgi.lo"
12014 echo "$ac_t""no" 1>&6
12024 if test -z "$THREADS_OBJ" ; then
12026 echo "configure: warning: No thread support on this system" 1>&2
12030 if test "$wxUSE_THREADS" = "yes" ; then
12031 for ac_func
in thr_setconcurrency
12033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12034 echo "configure:12035: checking for $ac_func" >&5
12035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12036 echo $ac_n "(cached) $ac_c" 1>&6
12038 cat > conftest.
$ac_ext <<EOF
12039 #line 12040 "configure"
12040 #include "confdefs.h"
12041 /* System header to define __stub macros and hopefully few prototypes,
12042 which can conflict with char $ac_func(); below. */
12043 #include <assert.h>
12044 /* Override any gcc2 internal prototype to avoid an error. */
12045 /* We use char because int might match the return type of a gcc2
12046 builtin and then its argument prototype would still apply. */
12051 /* The GNU C library defines this for functions which it implements
12052 to always fail with ENOSYS. Some functions are actually named
12053 something starting with __ and the normal name is an alias. */
12054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12062 if { (eval echo configure
:12063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12064 eval "ac_cv_func_$ac_func=yes"
12066 echo "configure: failed program was:" >&5
12067 cat conftest.
$ac_ext >&5
12069 eval "ac_cv_func_$ac_func=no"
12074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12075 echo "$ac_t""yes" 1>&6
12076 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12077 cat >> confdefs.h
<<EOF
12078 #define $ac_tr_func 1
12082 echo "$ac_t""no" 1>&6
12088 for ac_hdr
in sched.h
12090 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12091 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12092 echo "configure:12093: checking for $ac_hdr" >&5
12093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12094 echo $ac_n "(cached) $ac_c" 1>&6
12096 cat > conftest.
$ac_ext <<EOF
12097 #line 12098 "configure"
12098 #include "confdefs.h"
12101 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12102 { (eval echo configure
:12103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12103 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12104 if test -z "$ac_err"; then
12106 eval "ac_cv_header_$ac_safe=yes"
12109 echo "configure: failed program was:" >&5
12110 cat conftest.
$ac_ext >&5
12112 eval "ac_cv_header_$ac_safe=no"
12116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12117 echo "$ac_t""yes" 1>&6
12118 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12119 cat >> confdefs.h
<<EOF
12120 #define $ac_tr_hdr 1
12124 echo "$ac_t""no" 1>&6
12129 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12130 echo "configure:12131: checking for sched_yield in -l$THREADS_LINK" >&5
12131 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12133 echo $ac_n "(cached) $ac_c" 1>&6
12135 ac_save_LIBS
="$LIBS"
12136 LIBS
="-l$THREADS_LINK $LIBS"
12137 cat > conftest.
$ac_ext <<EOF
12138 #line 12139 "configure"
12139 #include "confdefs.h"
12140 /* Override any gcc2 internal prototype to avoid an error. */
12141 /* We use char because int might match the return type of a gcc2
12142 builtin and then its argument prototype would still apply. */
12143 char sched_yield();
12149 if { (eval echo configure
:12150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12151 eval "ac_cv_lib_$ac_lib_var=yes"
12153 echo "configure: failed program was:" >&5
12154 cat conftest.
$ac_ext >&5
12156 eval "ac_cv_lib_$ac_lib_var=no"
12159 LIBS
="$ac_save_LIBS"
12162 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12163 echo "$ac_t""yes" 1>&6
12164 cat >> confdefs.h
<<\EOF
12165 #define HAVE_SCHED_YIELD 1
12169 echo "$ac_t""no" 1>&6
12170 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12171 echo "configure:12172: checking for sched_yield in -l"posix4
"" >&5
12172 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12176 ac_save_LIBS
="$LIBS"
12177 LIBS
="-l"posix4
" $LIBS"
12178 cat > conftest.
$ac_ext <<EOF
12179 #line 12180 "configure"
12180 #include "confdefs.h"
12181 /* Override any gcc2 internal prototype to avoid an error. */
12182 /* We use char because int might match the return type of a gcc2
12183 builtin and then its argument prototype would still apply. */
12184 char sched_yield();
12190 if { (eval echo configure
:12191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12192 eval "ac_cv_lib_$ac_lib_var=yes"
12194 echo "configure: failed program was:" >&5
12195 cat conftest.
$ac_ext >&5
12197 eval "ac_cv_lib_$ac_lib_var=no"
12200 LIBS
="$ac_save_LIBS"
12203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12204 echo "$ac_t""yes" 1>&6
12205 cat >> confdefs.h
<<\EOF
12206 #define HAVE_SCHED_YIELD 1
12208 POSIX4_LINK
="-lposix4"
12210 echo "$ac_t""no" 1>&6
12211 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12220 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12221 echo "configure:12222: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12222 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12224 echo $ac_n "(cached) $ac_c" 1>&6
12226 ac_save_LIBS
="$LIBS"
12227 LIBS
="-l$THREADS_LINK $LIBS"
12228 cat > conftest.
$ac_ext <<EOF
12229 #line 12230 "configure"
12230 #include "confdefs.h"
12231 /* Override any gcc2 internal prototype to avoid an error. */
12232 /* We use char because int might match the return type of a gcc2
12233 builtin and then its argument prototype would still apply. */
12234 char pthread_attr_getschedpolicy();
12237 pthread_attr_getschedpolicy()
12240 if { (eval echo configure
:12241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12242 eval "ac_cv_lib_$ac_lib_var=yes"
12244 echo "configure: failed program was:" >&5
12245 cat conftest.
$ac_ext >&5
12247 eval "ac_cv_lib_$ac_lib_var=no"
12250 LIBS
="$ac_save_LIBS"
12253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12254 echo "$ac_t""yes" 1>&6
12255 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12256 echo "configure:12257: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12257 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12259 echo $ac_n "(cached) $ac_c" 1>&6
12261 ac_save_LIBS
="$LIBS"
12262 LIBS
="-l$THREADS_LINK $LIBS"
12263 cat > conftest.
$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12266 /* Override any gcc2 internal prototype to avoid an error. */
12267 /* We use char because int might match the return type of a gcc2
12268 builtin and then its argument prototype would still apply. */
12269 char pthread_attr_setschedparam();
12272 pthread_attr_setschedparam()
12275 if { (eval echo configure
:12276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12277 eval "ac_cv_lib_$ac_lib_var=yes"
12279 echo "configure: failed program was:" >&5
12280 cat conftest.
$ac_ext >&5
12282 eval "ac_cv_lib_$ac_lib_var=no"
12285 LIBS
="$ac_save_LIBS"
12288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12289 echo "$ac_t""yes" 1>&6
12290 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12291 echo "configure:12292: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12292 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12294 echo $ac_n "(cached) $ac_c" 1>&6
12296 ac_save_LIBS
="$LIBS"
12297 LIBS
="-l$THREADS_LINK $LIBS"
12298 cat > conftest.
$ac_ext <<EOF
12299 #line 12300 "configure"
12300 #include "confdefs.h"
12301 /* Override any gcc2 internal prototype to avoid an error. */
12302 /* We use char because int might match the return type of a gcc2
12303 builtin and then its argument prototype would still apply. */
12304 char sched_get_priority_max();
12307 sched_get_priority_max()
12310 if { (eval echo configure
:12311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12312 eval "ac_cv_lib_$ac_lib_var=yes"
12314 echo "configure: failed program was:" >&5
12315 cat conftest.
$ac_ext >&5
12317 eval "ac_cv_lib_$ac_lib_var=no"
12320 LIBS
="$ac_save_LIBS"
12323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12324 echo "$ac_t""yes" 1>&6
12327 echo "$ac_t""no" 1>&6
12328 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12329 echo "configure:12330: checking for sched_get_priority_max in -l"posix4
"" >&5
12330 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12331 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12334 ac_save_LIBS
="$LIBS"
12335 LIBS
="-l"posix4
" $LIBS"
12336 cat > conftest.
$ac_ext <<EOF
12337 #line 12338 "configure"
12338 #include "confdefs.h"
12339 /* Override any gcc2 internal prototype to avoid an error. */
12340 /* We use char because int might match the return type of a gcc2
12341 builtin and then its argument prototype would still apply. */
12342 char sched_get_priority_max();
12345 sched_get_priority_max()
12348 if { (eval echo configure
:12349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12350 eval "ac_cv_lib_$ac_lib_var=yes"
12352 echo "configure: failed program was:" >&5
12353 cat conftest.
$ac_ext >&5
12355 eval "ac_cv_lib_$ac_lib_var=no"
12358 LIBS
="$ac_save_LIBS"
12361 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12362 echo "$ac_t""yes" 1>&6
12365 POSIX4_LINK
="-lposix4"
12368 echo "$ac_t""no" 1>&6
12376 echo "$ac_t""no" 1>&6
12381 echo "$ac_t""no" 1>&6
12385 if test "$HAVE_PRIOR_FUNCS" = 1; then
12386 cat >> confdefs.h
<<\EOF
12387 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12391 echo "configure: warning: Setting thread priority will not work" 1>&2
12394 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12395 echo "configure:12396: checking for pthread_cancel in -l$THREADS_LINK" >&5
12396 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12398 echo $ac_n "(cached) $ac_c" 1>&6
12400 ac_save_LIBS
="$LIBS"
12401 LIBS
="-l$THREADS_LINK $LIBS"
12402 cat > conftest.
$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12405 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12408 char pthread_cancel();
12414 if { (eval echo configure
:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12416 eval "ac_cv_lib_$ac_lib_var=yes"
12418 echo "configure: failed program was:" >&5
12419 cat conftest.
$ac_ext >&5
12421 eval "ac_cv_lib_$ac_lib_var=no"
12424 LIBS
="$ac_save_LIBS"
12427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12428 echo "$ac_t""yes" 1>&6
12429 cat >> confdefs.h
<<\EOF
12430 #define HAVE_PTHREAD_CANCEL 1
12434 echo "$ac_t""no" 1>&6
12435 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12439 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12440 echo "configure:12441: checking for pthread_cleanup_push/pop" >&5
12441 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12445 cat > conftest.
$ac_ext <<EOF
12446 #line 12447 "configure"
12447 #include "confdefs.h"
12448 #include <pthread.h>
12451 pthread_cleanup_push(NULL, NULL);
12452 pthread_cleanup_pop(0);
12456 if { (eval echo configure
:12457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12459 wx_cv_func_pthread_cleanup_push
=yes
12460 cat >> confdefs.h
<<\EOF
12461 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12466 echo "configure: failed program was:" >&5
12467 cat conftest.
$ac_ext >&5
12470 wx_cv_func_pthread_cleanup_push
=no
12477 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12479 THREADS_LINK
="-l$THREADS_LINK"
12481 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12482 CFLAGS
="${CFLAGS} -mt"
12483 CXXFLAGS
="${CXXFLAGS} -mt"
12484 LDFLAGS
="${LDFLAGS} -mt"
12490 if test "$wxUSE_THREADS" = "yes"; then
12491 cat >> confdefs.h
<<\EOF
12492 #define wxUSE_THREADS 1
12496 CFLAGS
="${CFLAGS} -D_REENTRANT"
12497 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12501 if test "$ac_cv_func_strtok_r" = "yes"; then
12502 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12503 echo "configure:12504: checking if -D_REENTRANT is needed" >&5
12504 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12505 CFLAGS
="${CFLAGS} -D_REENTRANT"
12506 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12507 echo "$ac_t""yes" 1>&6
12509 echo "$ac_t""no" 1>&6
12514 if test "$WXGTK20" = 1 ; then
12515 cat >> confdefs.h
<<EOF
12516 #define __WXGTK20__ $WXGTK20
12522 if test "$WXGTK12" = 1 ; then
12523 cat >> confdefs.h
<<EOF
12524 #define __WXGTK12__ $WXGTK12
12529 if test "$WXGTK127" = 1 ; then
12530 cat >> confdefs.h
<<EOF
12531 #define __WXGTK127__ $WXGTK127
12536 if test "$WXWINE" = 1 ; then
12537 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12540 if test "$wxUSE_CYGWIN" = 1 ; then
12541 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12546 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12551 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12552 wxUSE_DEBUG_INFO
=yes
12556 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12557 cat >> confdefs.h
<<\EOF
12561 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12563 if test "$wxUSE_GTK" = 1 ; then
12564 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12568 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12569 cat >> confdefs.h
<<\EOF
12570 #define wxUSE_MEMORY_TRACING 1
12573 cat >> confdefs.h
<<\EOF
12574 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12577 cat >> confdefs.h
<<\EOF
12578 #define wxUSE_DEBUG_NEW_ALWAYS 1
12581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12584 if test "$wxUSE_DMALLOC" = "yes" ; then
12585 DMALLOC_LINK
="-ldmalloc"
12589 if test "$wxUSE_PROFILE" = "yes" ; then
12595 if test "$GCC" = yes ; then
12596 if test "$wxUSE_NO_RTTI" = "yes" ; then
12597 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
12599 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12600 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
12602 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12603 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12605 if test "$wxUSE_NO_DEPS" = "no" ; then
12606 DEP_INFO_FLAGS
="-MMD"
12611 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12612 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12613 if test "$wxUSE_OPTIMISE" = "no" ; then
12616 if test "$GCC" = yes ; then
12619 i586
-*-*|i686
-*-* )
12620 OPTIMISE
="${OPTIMISE} "
12630 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12631 cat >> confdefs.h
<<\EOF
12632 #define wxUSE_ZLIB 1
12635 if test "$wxUSE_ZLIB" = "yes" ; then
12636 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12639 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12640 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12641 echo "configure:12642: checking for zlib.h" >&5
12642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12643 echo $ac_n "(cached) $ac_c" 1>&6
12645 cat > conftest.
$ac_ext <<EOF
12646 #line 12647 "configure"
12647 #include "confdefs.h"
12650 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12651 { (eval echo configure
:12652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12652 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12653 if test -z "$ac_err"; then
12655 eval "ac_cv_header_$ac_safe=yes"
12658 echo "configure: failed program was:" >&5
12659 cat conftest.
$ac_ext >&5
12661 eval "ac_cv_header_$ac_safe=no"
12665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12666 echo "$ac_t""yes" 1>&6
12667 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12668 echo "configure:12669: checking for deflate in -lz" >&5
12669 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12671 echo $ac_n "(cached) $ac_c" 1>&6
12673 ac_save_LIBS
="$LIBS"
12675 cat > conftest.
$ac_ext <<EOF
12676 #line 12677 "configure"
12677 #include "confdefs.h"
12678 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12687 if { (eval echo configure
:12688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12689 eval "ac_cv_lib_$ac_lib_var=yes"
12691 echo "configure: failed program was:" >&5
12692 cat conftest.
$ac_ext >&5
12694 eval "ac_cv_lib_$ac_lib_var=no"
12697 LIBS
="$ac_save_LIBS"
12700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12701 echo "$ac_t""yes" 1>&6
12704 echo "$ac_t""no" 1>&6
12708 echo "$ac_t""no" 1>&6
12711 if test "x$ZLIB_LINK" = "x" ; then
12712 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12718 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12719 cat >> confdefs.h
<<\EOF
12720 #define wxUSE_LIBPNG 1
12723 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12724 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12728 if test "$wxUSE_LIBPNG" = "yes" ; then
12729 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12732 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12733 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12734 echo "configure:12735: checking for png.h" >&5
12735 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12736 echo $ac_n "(cached) $ac_c" 1>&6
12738 cat > conftest.
$ac_ext <<EOF
12739 #line 12740 "configure"
12740 #include "confdefs.h"
12743 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12744 { (eval echo configure
:12745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12745 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12746 if test -z "$ac_err"; then
12748 eval "ac_cv_header_$ac_safe=yes"
12751 echo "configure: failed program was:" >&5
12752 cat conftest.
$ac_ext >&5
12754 eval "ac_cv_header_$ac_safe=no"
12758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12759 echo "$ac_t""yes" 1>&6
12760 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12761 echo "configure:12762: checking for png_check_sig in -lpng" >&5
12762 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12763 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12764 echo $ac_n "(cached) $ac_c" 1>&6
12766 ac_save_LIBS
="$LIBS"
12767 LIBS
="-lpng -lz -lm $LIBS"
12768 cat > conftest.
$ac_ext <<EOF
12769 #line 12770 "configure"
12770 #include "confdefs.h"
12771 /* Override any gcc2 internal prototype to avoid an error. */
12772 /* We use char because int might match the return type of a gcc2
12773 builtin and then its argument prototype would still apply. */
12774 char png_check_sig();
12780 if { (eval echo configure
:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12782 eval "ac_cv_lib_$ac_lib_var=yes"
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12787 eval "ac_cv_lib_$ac_lib_var=no"
12790 LIBS
="$ac_save_LIBS"
12793 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12794 echo "$ac_t""yes" 1>&6
12797 echo "$ac_t""no" 1>&6
12802 echo "$ac_t""no" 1>&6
12805 if test "x$PNG_LINK" = "x" ; then
12806 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12814 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12815 cat >> confdefs.h
<<\EOF
12816 #define wxUSE_LIBJPEG 1
12819 if test "$wxUSE_LIBJPEG" = "yes" ; then
12820 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12823 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12824 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12825 echo "configure:12826: checking for jpeglib.h" >&5
12826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 #include <jpeglib.h>
12834 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12835 { (eval echo configure
:12836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12836 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12837 if test -z "$ac_err"; then
12839 eval "ac_cv_header_$ac_safe=yes"
12842 echo "configure: failed program was:" >&5
12843 cat conftest.
$ac_ext >&5
12845 eval "ac_cv_header_$ac_safe=no"
12849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12852 echo "configure:12853: checking for jpeg_read_header in -ljpeg" >&5
12853 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12855 echo $ac_n "(cached) $ac_c" 1>&6
12857 ac_save_LIBS
="$LIBS"
12858 LIBS
="-ljpeg $LIBS"
12859 cat > conftest.
$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12862 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12865 char jpeg_read_header();
12871 if { (eval echo configure
:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12873 eval "ac_cv_lib_$ac_lib_var=yes"
12875 echo "configure: failed program was:" >&5
12876 cat conftest.
$ac_ext >&5
12878 eval "ac_cv_lib_$ac_lib_var=no"
12881 LIBS
="$ac_save_LIBS"
12884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12885 echo "$ac_t""yes" 1>&6
12888 echo "$ac_t""no" 1>&6
12892 echo "$ac_t""no" 1>&6
12895 if test "x$JPEG_LINK" = "x" ; then
12896 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
12902 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
12903 cat >> confdefs.h
<<\EOF
12904 #define wxUSE_LIBTIFF 1
12907 if test "$wxUSE_LIBTIFF" = "yes" ; then
12908 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12911 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12912 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12913 echo "configure:12914: checking for tiffio.h" >&5
12914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12915 echo $ac_n "(cached) $ac_c" 1>&6
12917 cat > conftest.
$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12920 #include <tiffio.h>
12922 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12923 { (eval echo configure
:12924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12924 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12925 if test -z "$ac_err"; then
12927 eval "ac_cv_header_$ac_safe=yes"
12930 echo "configure: failed program was:" >&5
12931 cat conftest.
$ac_ext >&5
12933 eval "ac_cv_header_$ac_safe=no"
12937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12938 echo "$ac_t""yes" 1>&6
12939 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12940 echo "configure:12941: checking for TIFFError in -ltiff" >&5
12941 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12943 echo $ac_n "(cached) $ac_c" 1>&6
12945 ac_save_LIBS
="$LIBS"
12946 LIBS
="-ltiff -lm $LIBS"
12947 cat > conftest.
$ac_ext <<EOF
12948 #line 12949 "configure"
12949 #include "confdefs.h"
12950 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12959 if { (eval echo configure
:12960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12961 eval "ac_cv_lib_$ac_lib_var=yes"
12963 echo "configure: failed program was:" >&5
12964 cat conftest.
$ac_ext >&5
12966 eval "ac_cv_lib_$ac_lib_var=no"
12969 LIBS
="$ac_save_LIBS"
12972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12973 echo "$ac_t""yes" 1>&6
12976 echo "$ac_t""no" 1>&6
12980 echo "$ac_t""no" 1>&6
12983 if test "x$TIFF_LINK" = "x" ; then
12984 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
12990 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
12991 cat >> confdefs.h
<<\EOF
12992 #define wxUSE_FREETYPE 1
12995 if test "$wxUSE_FREETYPE" = "yes" ; then
12996 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
12999 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13000 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13001 echo "configure:13002: checking for freetype.h" >&5
13002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13003 echo $ac_n "(cached) $ac_c" 1>&6
13005 cat > conftest.
$ac_ext <<EOF
13006 #line 13007 "configure"
13007 #include "confdefs.h"
13008 #include <freetype.h>
13010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13011 { (eval echo configure
:13012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13013 if test -z "$ac_err"; then
13015 eval "ac_cv_header_$ac_safe=yes"
13018 echo "configure: failed program was:" >&5
13019 cat conftest.
$ac_ext >&5
13021 eval "ac_cv_header_$ac_safe=no"
13025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13026 echo "$ac_t""yes" 1>&6
13027 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13028 echo "configure:13029: checking for FT_Render_Glyph in -lfreetype" >&5
13029 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13030 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13031 echo $ac_n "(cached) $ac_c" 1>&6
13033 ac_save_LIBS
="$LIBS"
13034 LIBS
="-lfreetype -lm $LIBS"
13035 cat > conftest.
$ac_ext <<EOF
13036 #line 13037 "configure"
13037 #include "confdefs.h"
13038 /* Override any gcc2 internal prototype to avoid an error. */
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13041 char FT_Render_Glyph();
13047 if { (eval echo configure
:13048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13049 eval "ac_cv_lib_$ac_lib_var=yes"
13051 echo "configure: failed program was:" >&5
13052 cat conftest.
$ac_ext >&5
13054 eval "ac_cv_lib_$ac_lib_var=no"
13057 LIBS
="$ac_save_LIBS"
13060 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13061 echo "$ac_t""yes" 1>&6
13062 FREETYPE_LINK
="-lfreetype"
13064 echo "$ac_t""no" 1>&6
13069 echo "$ac_t""no" 1>&6
13072 if test "x$FREETYPE_LINK" = "x" ; then
13073 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13078 if test "$wxUSE_OPENGL" = "yes"; then
13079 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13080 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13081 echo "configure:13082: checking for GL/gl.h" >&5
13082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13083 echo $ac_n "(cached) $ac_c" 1>&6
13085 cat > conftest.
$ac_ext <<EOF
13086 #line 13087 "configure"
13087 #include "confdefs.h"
13090 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13091 { (eval echo configure
:13092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13092 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13093 if test -z "$ac_err"; then
13095 eval "ac_cv_header_$ac_safe=yes"
13098 echo "configure: failed program was:" >&5
13099 cat conftest.
$ac_ext >&5
13101 eval "ac_cv_header_$ac_safe=no"
13105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13106 echo "$ac_t""yes" 1>&6
13108 cat >> confdefs.h
<<\EOF
13109 #define wxUSE_OPENGL 1
13112 cat >> confdefs.h
<<\EOF
13113 #define wxUSE_GLCANVAS 1
13116 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13117 echo "configure:13118: checking for glFlush in -lGL" >&5
13118 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13119 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13120 echo $ac_n "(cached) $ac_c" 1>&6
13122 ac_save_LIBS
="$LIBS"
13124 cat > conftest.
$ac_ext <<EOF
13125 #line 13126 "configure"
13126 #include "confdefs.h"
13127 /* Override any gcc2 internal prototype to avoid an error. */
13128 /* We use char because int might match the return type of a gcc2
13129 builtin and then its argument prototype would still apply. */
13136 if { (eval echo configure
:13137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13138 eval "ac_cv_lib_$ac_lib_var=yes"
13140 echo "configure: failed program was:" >&5
13141 cat conftest.
$ac_ext >&5
13143 eval "ac_cv_lib_$ac_lib_var=no"
13146 LIBS
="$ac_save_LIBS"
13149 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13150 echo "$ac_t""yes" 1>&6
13152 OPENGL_LINK
="-lGL -lGLU"
13155 echo "$ac_t""no" 1>&6
13157 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13158 echo "configure:13159: checking for glFlush in -lMesaGL" >&5
13159 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13161 echo $ac_n "(cached) $ac_c" 1>&6
13163 ac_save_LIBS
="$LIBS"
13164 LIBS
="-lMesaGL $LIBS"
13165 cat > conftest.
$ac_ext <<EOF
13166 #line 13167 "configure"
13167 #include "confdefs.h"
13168 /* Override any gcc2 internal prototype to avoid an error. */
13169 /* We use char because int might match the return type of a gcc2
13170 builtin and then its argument prototype would still apply. */
13177 if { (eval echo configure
:13178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13179 eval "ac_cv_lib_$ac_lib_var=yes"
13181 echo "configure: failed program was:" >&5
13182 cat conftest.
$ac_ext >&5
13184 eval "ac_cv_lib_$ac_lib_var=no"
13187 LIBS
="$ac_save_LIBS"
13190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13191 echo "$ac_t""yes" 1>&6
13193 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13196 echo "$ac_t""no" 1>&6
13204 echo "$ac_t""no" 1>&6
13211 if test "$wxUSE_GUI" = "yes"; then
13212 cat >> confdefs.h
<<\EOF
13213 #define wxUSE_GUI 1
13218 cat >> confdefs.h
<<\EOF
13219 #define wxUSE_NOGUI 1
13225 if test "$wxUSE_UNIX" = "yes"; then
13226 cat >> confdefs.h
<<\EOF
13227 #define wxUSE_UNIX 1
13233 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13234 cat >> confdefs.h
<<\EOF
13235 #define wxUSE_APPLE_IEEE 1
13240 if test "$wxUSE_WAVE" = "yes"; then
13241 cat >> confdefs.h
<<\EOF
13242 #define wxUSE_WAVE 1
13247 if test "$wxUSE_FILE" = "yes"; then
13248 cat >> confdefs.h
<<\EOF
13249 #define wxUSE_FILE 1
13254 if test "$wxUSE_FILESYSTEM" = "yes"; then
13255 cat >> confdefs.h
<<\EOF
13256 #define wxUSE_FILESYSTEM 1
13261 if test "$wxUSE_FS_INET" = "yes"; then
13262 cat >> confdefs.h
<<\EOF
13263 #define wxUSE_FS_INET 1
13268 if test "$wxUSE_FS_ZIP" = "yes"; then
13269 cat >> confdefs.h
<<\EOF
13270 #define wxUSE_FS_ZIP 1
13275 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13276 cat >> confdefs.h
<<\EOF
13277 #define wxUSE_ZIPSTREAM 1
13282 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13283 cat >> confdefs.h
<<\EOF
13284 #define wxUSE_ON_FATAL_EXCEPTION 1
13289 if test "$wxUSE_BUSYINFO" = "yes"; then
13290 cat >> confdefs.h
<<\EOF
13291 #define wxUSE_BUSYINFO 1
13296 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13297 cat >> confdefs.h
<<\EOF
13298 #define wxUSE_STD_IOSTREAM 1
13303 if test "$wxUSE_TEXTFILE" = "yes"; then
13304 if test "$wxUSE_FILE" != "yes"; then
13305 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13307 cat >> confdefs.h
<<\EOF
13308 #define wxUSE_TEXTFILE 1
13314 if test "$wxUSE_CONFIG" = "yes" ; then
13315 if test "$wxUSE_TEXTFILE" != "yes"; then
13316 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13318 cat >> confdefs.h
<<\EOF
13319 #define wxUSE_CONFIG 1
13322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13326 if test "$wxUSE_INTL" = "yes" ; then
13327 if test "$wxUSE_FILE" != "yes"; then
13328 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13330 cat >> confdefs.h
<<\EOF
13331 #define wxUSE_INTL 1
13334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13335 GUIDIST
="$GUIDIST INTL_DIST"
13339 if test "$wxUSE_LOG" = "yes"; then
13340 cat >> confdefs.h
<<\EOF
13341 #define wxUSE_LOG 1
13346 if test "$wxUSE_LONGLONG" = "yes"; then
13347 cat >> confdefs.h
<<\EOF
13348 #define wxUSE_LONGLONG 1
13353 if test "$wxUSE_GEOMETRY" = "yes"; then
13354 cat >> confdefs.h
<<\EOF
13355 #define wxUSE_GEOMETRY 1
13360 if test "$wxUSE_PLOT" = "yes"; then
13361 cat >> confdefs.h
<<\EOF
13362 #define wxUSE_PLOT 1
13367 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13368 cat >> confdefs.h
<<\EOF
13369 #define wxUSE_DIALUP_MANAGER 1
13372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13375 if test "$wxUSE_STREAMS" = "yes" ; then
13376 cat >> confdefs.h
<<\EOF
13377 #define wxUSE_STREAMS 1
13383 if test "$wxUSE_TIMEDATE" = "yes"; then
13384 for ac_func
in strptime
13386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13387 echo "configure:13388: checking for $ac_func" >&5
13388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13389 echo $ac_n "(cached) $ac_c" 1>&6
13391 cat > conftest.
$ac_ext <<EOF
13392 #line 13393 "configure"
13393 #include "confdefs.h"
13394 /* System header to define __stub macros and hopefully few prototypes,
13395 which can conflict with char $ac_func(); below. */
13396 #include <assert.h>
13397 /* Override any gcc2 internal prototype to avoid an error. */
13398 /* We use char because int might match the return type of a gcc2
13399 builtin and then its argument prototype would still apply. */
13404 /* The GNU C library defines this for functions which it implements
13405 to always fail with ENOSYS. Some functions are actually named
13406 something starting with __ and the normal name is an alias. */
13407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13415 if { (eval echo configure
:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13417 eval "ac_cv_func_$ac_func=yes"
13419 echo "configure: failed program was:" >&5
13420 cat conftest.
$ac_ext >&5
13422 eval "ac_cv_func_$ac_func=no"
13427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13428 echo "$ac_t""yes" 1>&6
13429 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13430 cat >> confdefs.h
<<EOF
13431 #define $ac_tr_func 1
13435 echo "$ac_t""no" 1>&6
13440 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13441 echo "configure:13442: checking for timezone variable in <time.h>" >&5
13442 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13443 echo $ac_n "(cached) $ac_c" 1>&6
13446 cat > conftest.
$ac_ext <<EOF
13447 #line 13448 "configure"
13448 #include "confdefs.h"
13459 if { (eval echo configure
:13460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13462 wx_cv_var_timezone
=__timezone
13465 echo "configure: failed program was:" >&5
13466 cat conftest.
$ac_ext >&5
13469 cat > conftest.
$ac_ext <<EOF
13470 #line 13471 "configure"
13471 #include "confdefs.h"
13482 if { (eval echo configure
:13483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13485 wx_cv_var_timezone
=_timezone
13488 echo "configure: failed program was:" >&5
13489 cat conftest.
$ac_ext >&5
13492 cat > conftest.
$ac_ext <<EOF
13493 #line 13494 "configure"
13494 #include "confdefs.h"
13505 if { (eval echo configure
:13506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13508 wx_cv_var_timezone
=timezone
13511 echo "configure: failed program was:" >&5
13512 cat conftest.
$ac_ext >&5
13514 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13530 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13532 cat >> confdefs.h
<<EOF
13533 #define WX_TIMEZONE $wx_cv_var_timezone
13537 for ac_func
in localtime
13539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13540 echo "configure:13541: checking for $ac_func" >&5
13541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13544 cat > conftest.
$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13547 /* System header to define __stub macros and hopefully few prototypes,
13548 which can conflict with char $ac_func(); below. */
13549 #include <assert.h>
13550 /* Override any gcc2 internal prototype to avoid an error. */
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13557 /* The GNU C library defines this for functions which it implements
13558 to always fail with ENOSYS. Some functions are actually named
13559 something starting with __ and the normal name is an alias. */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 if { (eval echo configure
:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13570 eval "ac_cv_func_$ac_func=yes"
13572 echo "configure: failed program was:" >&5
13573 cat conftest.
$ac_ext >&5
13575 eval "ac_cv_func_$ac_func=no"
13580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13581 echo "$ac_t""yes" 1>&6
13582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13583 cat >> confdefs.h
<<EOF
13584 #define $ac_tr_func 1
13588 echo "$ac_t""no" 1>&6
13593 if test "$ac_cv_func_localtime" = "yes"; then
13594 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13595 echo "configure:13596: checking for tm_gmtoff in struct tm" >&5
13596 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13597 echo $ac_n "(cached) $ac_c" 1>&6
13600 cat > conftest.
$ac_ext <<EOF
13601 #line 13602 "configure"
13602 #include "confdefs.h"
13613 if { (eval echo configure
:13614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13616 wx_cv_struct_tm_has_gmtoff
=yes
13617 cat >> confdefs.h
<<\EOF
13618 #define WX_GMTOFF_IN_TM 1
13623 echo "configure: failed program was:" >&5
13624 cat conftest.
$ac_ext >&5
13626 wx_cv_struct_tm_has_gmtoff
=no
13633 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13636 for ac_func
in gettimeofday ftime
13638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 echo "configure:13640: checking for $ac_func" >&5
13640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13643 cat > conftest.
$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* System header to define __stub macros and hopefully few prototypes,
13647 which can conflict with char $ac_func(); below. */
13648 #include <assert.h>
13649 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13656 /* The GNU C library defines this for functions which it implements
13657 to always fail with ENOSYS. Some functions are actually named
13658 something starting with __ and the normal name is an alias. */
13659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13667 if { (eval echo configure
:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13669 eval "ac_cv_func_$ac_func=yes"
13671 echo "configure: failed program was:" >&5
13672 cat conftest.
$ac_ext >&5
13674 eval "ac_cv_func_$ac_func=no"
13679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13680 echo "$ac_t""yes" 1>&6
13681 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13682 cat >> confdefs.h
<<EOF
13683 #define $ac_tr_func 1
13687 echo "$ac_t""no" 1>&6
13692 if test "$ac_cv_func_gettimeofday" = "yes"; then
13693 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13694 echo "configure:13695: checking whether gettimeofday takes two arguments" >&5
13695 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13696 echo $ac_n "(cached) $ac_c" 1>&6
13701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13702 ac_cpp
='$CXXCPP $CPPFLAGS'
13703 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13704 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13705 cross_compiling
=$ac_cv_prog_cxx_cross
13708 cat > conftest.
$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13712 #include <sys/time.h>
13713 #include <unistd.h>
13718 struct timezone tz;
13719 gettimeofday(&tv, &tz);
13723 if { (eval echo configure
:13724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13725 wx_cv_func_gettimeofday_has_2_args
=yes
13727 echo "configure: failed program was:" >&5
13728 cat conftest.
$ac_ext >&5
13730 cat > conftest.
$ac_ext <<EOF
13731 #line 13732 "configure"
13732 #include "confdefs.h"
13734 #include <sys/time.h>
13735 #include <unistd.h>
13744 if { (eval echo configure
:13745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13746 wx_cv_func_gettimeofday_has_2_args
=no
13748 echo "configure: failed program was:" >&5
13749 cat conftest.
$ac_ext >&5
13751 wx_cv_func_gettimeofday_has_2_args
=unknown
13759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13760 ac_cpp
='$CPP $CPPFLAGS'
13761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13762 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13763 cross_compiling
=$ac_cv_prog_cc_cross
13768 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13770 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13771 cat >> confdefs.h
<<\EOF
13772 #define WX_GETTIMEOFDAY_NO_TZ 1
13778 cat >> confdefs.h
<<\EOF
13779 #define wxUSE_TIMEDATE 1
13782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13786 if test "$TOOLKIT" != "MSW"; then
13788 if test "$wxUSE_SOCKETS" = "yes"; then
13789 echo $ac_n "checking for socket""... $ac_c" 1>&6
13790 echo "configure:13791: checking for socket" >&5
13791 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13794 cat > conftest.
$ac_ext <<EOF
13795 #line 13796 "configure"
13796 #include "confdefs.h"
13797 /* System header to define __stub macros and hopefully few prototypes,
13798 which can conflict with char socket(); below. */
13799 #include <assert.h>
13800 /* Override any gcc2 internal prototype to avoid an error. */
13801 /* We use char because int might match the return type of a gcc2
13802 builtin and then its argument prototype would still apply. */
13807 /* The GNU C library defines this for functions which it implements
13808 to always fail with ENOSYS. Some functions are actually named
13809 something starting with __ and the normal name is an alias. */
13810 #if defined (__stub_socket) || defined (__stub___socket)
13818 if { (eval echo configure
:13819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13820 eval "ac_cv_func_socket=yes"
13822 echo "configure: failed program was:" >&5
13823 cat conftest.
$ac_ext >&5
13825 eval "ac_cv_func_socket=no"
13830 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13831 echo "$ac_t""yes" 1>&6
13834 echo "$ac_t""no" 1>&6
13835 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13836 echo "configure:13837: checking for socket in -lsocket" >&5
13837 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13839 echo $ac_n "(cached) $ac_c" 1>&6
13841 ac_save_LIBS
="$LIBS"
13842 LIBS
="-lsocket $LIBS"
13843 cat > conftest.
$ac_ext <<EOF
13844 #line 13845 "configure"
13845 #include "confdefs.h"
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13855 if { (eval echo configure
:13856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13857 eval "ac_cv_lib_$ac_lib_var=yes"
13859 echo "configure: failed program was:" >&5
13860 cat conftest.
$ac_ext >&5
13862 eval "ac_cv_lib_$ac_lib_var=no"
13865 LIBS
="$ac_save_LIBS"
13868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13869 echo "$ac_t""yes" 1>&6
13870 INET_LINK
="$INET_LINK -lsocket"
13872 echo "$ac_t""no" 1>&6
13874 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
13887 if test "$wxUSE_SOCKETS" = "yes" ; then
13888 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
13889 echo "configure:13890: checking what is the type of the third argument of getsockname" >&5
13890 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
13891 echo $ac_n "(cached) $ac_c" 1>&6
13896 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13897 ac_cpp
='$CXXCPP $CPPFLAGS'
13898 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13899 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13900 cross_compiling
=$ac_cv_prog_cxx_cross
13903 cat > conftest.
$ac_ext <<EOF
13904 #line 13905 "configure"
13905 #include "confdefs.h"
13907 #include <sys/types.h>
13908 #include <sys/socket.h>
13913 getsockname(0, 0, &len);
13917 if { (eval echo configure
:13918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13919 wx_cv_type_getsockname3
=socklen_t
13921 echo "configure: failed program was:" >&5
13922 cat conftest.
$ac_ext >&5
13924 cat > conftest.
$ac_ext <<EOF
13925 #line 13926 "configure"
13926 #include "confdefs.h"
13928 #include <sys/types.h>
13929 #include <sys/socket.h>
13934 getsockname(0, 0, &len);
13938 if { (eval echo configure
:13939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13940 wx_cv_type_getsockname3
=size_t
13942 echo "configure: failed program was:" >&5
13943 cat conftest.
$ac_ext >&5
13945 cat > conftest.
$ac_ext <<EOF
13946 #line 13947 "configure"
13947 #include "confdefs.h"
13949 #include <sys/types.h>
13950 #include <sys/socket.h>
13955 getsockname(0, 0, &len);
13959 if { (eval echo configure
:13960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13961 wx_cv_type_getsockname3
=int
13963 echo "configure: failed program was:" >&5
13964 cat conftest.
$ac_ext >&5
13966 wx_cv_type_getsockname3
=unknown
13978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13979 ac_cpp
='$CPP $CPPFLAGS'
13980 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13981 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13982 cross_compiling
=$ac_cv_prog_cc_cross
13987 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
13989 if test "$wx_cv_type_getsockname3" = "unknown"; then
13991 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
13993 cat >> confdefs.h
<<EOF
13994 #define SOCKLEN_T $wx_cv_type_getsockname3
14000 if test "$wxUSE_SOCKETS" = "yes" ; then
14001 cat >> confdefs.h
<<\EOF
14002 #define wxUSE_SOCKETS 1
14005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14006 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14010 if test "$wxUSE_GUI" = "yes"; then
14012 if test "$TOOLKIT" != "MSW"; then
14014 if test "$wxUSE_JOYSTICK" = "yes"; then
14015 for ac_hdr
in linux
/joystick.h
14017 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14019 echo "configure:14020: checking for $ac_hdr" >&5
14020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14023 cat > conftest.
$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14028 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14029 { (eval echo configure
:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14030 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14031 if test -z "$ac_err"; then
14033 eval "ac_cv_header_$ac_safe=yes"
14036 echo "configure: failed program was:" >&5
14037 cat conftest.
$ac_ext >&5
14039 eval "ac_cv_header_$ac_safe=no"
14043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14046 cat >> confdefs.h
<<EOF
14047 #define $ac_tr_hdr 1
14051 echo "$ac_t""no" 1>&6
14055 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14057 echo "configure: warning: Joystick not supported by this system" 1>&2
14063 if test "$wxUSE_JOYSTICK" = "yes"; then
14064 cat >> confdefs.h
<<\EOF
14065 #define wxUSE_JOYSTICK 1
14068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14074 if test "$TOOLKIT" != "MSW"; then
14078 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14079 for ac_func
in dlopen
14081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14082 echo "configure:14083: checking for $ac_func" >&5
14083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14084 echo $ac_n "(cached) $ac_c" 1>&6
14086 cat > conftest.
$ac_ext <<EOF
14087 #line 14088 "configure"
14088 #include "confdefs.h"
14089 /* System header to define __stub macros and hopefully few prototypes,
14090 which can conflict with char $ac_func(); below. */
14091 #include <assert.h>
14092 /* Override any gcc2 internal prototype to avoid an error. */
14093 /* We use char because int might match the return type of a gcc2
14094 builtin and then its argument prototype would still apply. */
14099 /* The GNU C library defines this for functions which it implements
14100 to always fail with ENOSYS. Some functions are actually named
14101 something starting with __ and the normal name is an alias. */
14102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14110 if { (eval echo configure
:14111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14112 eval "ac_cv_func_$ac_func=yes"
14114 echo "configure: failed program was:" >&5
14115 cat conftest.
$ac_ext >&5
14117 eval "ac_cv_func_$ac_func=no"
14122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14123 echo "$ac_t""yes" 1>&6
14124 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14125 cat >> confdefs.h
<<EOF
14126 #define $ac_tr_func 1
14129 cat >> confdefs.h
<<\EOF
14130 #define HAVE_DLOPEN 1
14136 echo "$ac_t""no" 1>&6
14137 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14138 echo "configure:14139: checking for dlopen in -ldl" >&5
14139 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14143 ac_save_LIBS
="$LIBS"
14145 cat > conftest.
$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14148 /* Override any gcc2 internal prototype to avoid an error. */
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14157 if { (eval echo configure
:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14159 eval "ac_cv_lib_$ac_lib_var=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.
$ac_ext >&5
14164 eval "ac_cv_lib_$ac_lib_var=no"
14167 LIBS
="$ac_save_LIBS"
14170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14171 echo "$ac_t""yes" 1>&6
14173 cat >> confdefs.h
<<\EOF
14174 #define HAVE_DLOPEN 1
14181 echo "$ac_t""no" 1>&6
14183 for ac_func
in shl_load
14185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14186 echo "configure:14187: checking for $ac_func" >&5
14187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14188 echo $ac_n "(cached) $ac_c" 1>&6
14190 cat > conftest.
$ac_ext <<EOF
14191 #line 14192 "configure"
14192 #include "confdefs.h"
14193 /* System header to define __stub macros and hopefully few prototypes,
14194 which can conflict with char $ac_func(); below. */
14195 #include <assert.h>
14196 /* Override any gcc2 internal prototype to avoid an error. */
14197 /* We use char because int might match the return type of a gcc2
14198 builtin and then its argument prototype would still apply. */
14203 /* The GNU C library defines this for functions which it implements
14204 to always fail with ENOSYS. Some functions are actually named
14205 something starting with __ and the normal name is an alias. */
14206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14214 if { (eval echo configure
:14215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14216 eval "ac_cv_func_$ac_func=yes"
14218 echo "configure: failed program was:" >&5
14219 cat conftest.
$ac_ext >&5
14221 eval "ac_cv_func_$ac_func=no"
14226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14227 echo "$ac_t""yes" 1>&6
14228 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14229 cat >> confdefs.h
<<EOF
14230 #define $ac_tr_func 1
14233 cat >> confdefs.h
<<\EOF
14234 #define HAVE_SHL_LOAD 1
14240 echo "$ac_t""no" 1>&6
14241 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14242 echo "configure:14243: checking for dld in -lshl_load" >&5
14243 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14244 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14245 echo $ac_n "(cached) $ac_c" 1>&6
14247 ac_save_LIBS
="$LIBS"
14248 LIBS
="-lshl_load $LIBS"
14249 cat > conftest.
$ac_ext <<EOF
14250 #line 14251 "configure"
14251 #include "confdefs.h"
14252 /* Override any gcc2 internal prototype to avoid an error. */
14253 /* We use char because int might match the return type of a gcc2
14254 builtin and then its argument prototype would still apply. */
14261 if { (eval echo configure
:14262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14263 eval "ac_cv_lib_$ac_lib_var=yes"
14265 echo "configure: failed program was:" >&5
14266 cat conftest.
$ac_ext >&5
14268 eval "ac_cv_lib_$ac_lib_var=no"
14271 LIBS
="$ac_save_LIBS"
14274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14275 echo "$ac_t""yes" 1>&6
14281 echo "$ac_t""no" 1>&6
14296 if test "$HAVE_DL_FUNCS" = 1; then
14297 for ac_func
in dlerror
14299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14300 echo "configure:14301: checking for $ac_func" >&5
14301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14302 echo $ac_n "(cached) $ac_c" 1>&6
14304 cat > conftest.
$ac_ext <<EOF
14305 #line 14306 "configure"
14306 #include "confdefs.h"
14307 /* System header to define __stub macros and hopefully few prototypes,
14308 which can conflict with char $ac_func(); below. */
14309 #include <assert.h>
14310 /* Override any gcc2 internal prototype to avoid an error. */
14311 /* We use char because int might match the return type of a gcc2
14312 builtin and then its argument prototype would still apply. */
14317 /* The GNU C library defines this for functions which it implements
14318 to always fail with ENOSYS. Some functions are actually named
14319 something starting with __ and the normal name is an alias. */
14320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14328 if { (eval echo configure
:14329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14330 eval "ac_cv_func_$ac_func=yes"
14332 echo "configure: failed program was:" >&5
14333 cat conftest.
$ac_ext >&5
14335 eval "ac_cv_func_$ac_func=no"
14340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14341 echo "$ac_t""yes" 1>&6
14342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14343 cat >> confdefs.h
<<EOF
14344 #define $ac_tr_func 1
14346 cat >> confdefs.h
<<\EOF
14347 #define HAVE_DLERROR 1
14351 echo "$ac_t""no" 1>&6
14352 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14353 echo "configure:14354: checking for dlerror in -ldl" >&5
14354 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14356 echo $ac_n "(cached) $ac_c" 1>&6
14358 ac_save_LIBS
="$LIBS"
14360 cat > conftest.
$ac_ext <<EOF
14361 #line 14362 "configure"
14362 #include "confdefs.h"
14363 /* Override any gcc2 internal prototype to avoid an error. */
14364 /* We use char because int might match the return type of a gcc2
14365 builtin and then its argument prototype would still apply. */
14372 if { (eval echo configure
:14373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14374 eval "ac_cv_lib_$ac_lib_var=yes"
14376 echo "configure: failed program was:" >&5
14377 cat conftest.
$ac_ext >&5
14379 eval "ac_cv_lib_$ac_lib_var=no"
14382 LIBS
="$ac_save_LIBS"
14385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14386 echo "$ac_t""yes" 1>&6
14387 cat >> confdefs.h
<<\EOF
14388 #define HAVE_DLERROR 1
14392 echo "$ac_t""no" 1>&6
14400 if test "$HAVE_DL_FUNCS" = 0; then
14401 if test "$HAVE_SHL_FUNCS" = 0; then
14402 if test "$USE_UNIX" = 1; then
14403 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14404 wxUSE_DYNLIB_CLASS
=no
14406 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14414 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14415 cat >> confdefs.h
<<\EOF
14416 #define wxUSE_DYNLIB_CLASS 1
14425 if test "$wxUSE_UNICODE" = "yes" ; then
14426 cat >> confdefs.h
<<\EOF
14427 #define wxUSE_UNICODE 1
14432 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14433 cat >> confdefs.h
<<\EOF
14434 #define wxUSE_WCSRTOMBS 1
14439 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14440 cat >> confdefs.h
<<\EOF
14441 #define wxUSE_EXPERIMENTAL_PRINTF 1
14447 if test "$wxUSE_SERIAL" = "yes" ; then
14448 cat >> confdefs.h
<<\EOF
14449 #define wxUSE_SERIAL 1
14456 if test "$wxUSE_ODBC" = "yes" ; then
14457 cat >> confdefs.h
<<\EOF
14458 #define wxUSE_ODBC 1
14461 WXODBCFLAG
="-D_IODBC_"
14462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14463 IODBCOBJS
="\$(IODBC_OBJS)"
14469 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14470 cat >> confdefs.h
<<\EOF
14471 #define wxUSE_POSTSCRIPT 1
14476 cat >> confdefs.h
<<\EOF
14477 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14481 cat >> confdefs.h
<<\EOF
14482 #define wxUSE_NORMALIZED_PS_FONTS 1
14487 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14488 cat >> confdefs.h
<<\EOF
14489 #define wxUSE_CONSTRAINTS 1
14492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14495 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14496 cat >> confdefs.h
<<\EOF
14497 #define wxUSE_MDI_ARCHITECTURE 1
14500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14503 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14504 cat >> confdefs.h
<<\EOF
14505 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14509 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14514 if test "$wxUSE_HELP" = "yes"; then
14515 cat >> confdefs.h
<<\EOF
14516 #define wxUSE_HELP 1
14519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14522 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14523 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14524 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14526 cat >> confdefs.h
<<\EOF
14527 #define wxUSE_PRINTING_ARCHITECTURE 1
14531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14534 if test "$wxUSE_PROLOGIO" = "yes" ; then
14535 cat >> confdefs.h
<<\EOF
14536 #define wxUSE_PROLOGIO 1
14541 if test "$wxUSE_RESOURCES" = "yes" ; then
14542 if test "$wxUSE_PROLOGIO" = "yes" ; then
14543 cat >> confdefs.h
<<\EOF
14544 #define wxUSE_RESOURCES 1
14547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14549 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14553 if test "$wxUSE_X_RESOURCES" = "yes"; then
14554 cat >> confdefs.h
<<\EOF
14555 #define wxUSE_X_RESOURCES 1
14561 if test "$wxUSE_IPC" = "yes"; then
14562 if test "$wxUSE_SOCKETS" != "yes"; then
14563 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14566 cat >> confdefs.h
<<\EOF
14567 #define wxUSE_IPC 1
14572 if test "$wxUSE_CLIPBOARD" = "yes"; then
14573 cat >> confdefs.h
<<\EOF
14574 #define wxUSE_CLIPBOARD 1
14579 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14580 if test "$wxUSE_GTK" = 1; then
14581 if test "$WXGTK12" != 1; then
14582 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14583 wxUSE_DRAG_AND_DROP
=no
14587 if test "$wxUSE_MOTIF" = 1; then
14588 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14589 wxUSE_DRAG_AND_DROP
=no
14592 if test "$USE_WIN32" = 1; then
14593 for ac_hdr
in ole2.h
14595 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14597 echo "configure:14598: checking for $ac_hdr" >&5
14598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14599 echo $ac_n "(cached) $ac_c" 1>&6
14601 cat > conftest.
$ac_ext <<EOF
14602 #line 14603 "configure"
14603 #include "confdefs.h"
14606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14607 { (eval echo configure
:14608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14609 if test -z "$ac_err"; then
14611 eval "ac_cv_header_$ac_safe=yes"
14614 echo "configure: failed program was:" >&5
14615 cat conftest.
$ac_ext >&5
14617 eval "ac_cv_header_$ac_safe=no"
14621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14622 echo "$ac_t""yes" 1>&6
14623 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14624 cat >> confdefs.h
<<EOF
14625 #define $ac_tr_hdr 1
14629 echo "$ac_t""no" 1>&6
14633 if test "x$HAVE_OLE2_H" = x
; then
14634 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14635 wxUSE_DRAG_AND_DROP
=no
14639 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14640 cat >> confdefs.h
<<\EOF
14641 #define wxUSE_DRAG_AND_DROP 1
14644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14649 if test "$wxUSE_SPLINES" = "yes" ; then
14650 cat >> confdefs.h
<<\EOF
14651 #define wxUSE_SPLINES 1
14657 if test "$wxUSE_ACCEL" = "yes"; then
14658 cat >> confdefs.h
<<\EOF
14659 #define wxUSE_ACCEL 1
14664 if test "$wxUSE_CARET" = "yes"; then
14665 cat >> confdefs.h
<<\EOF
14666 #define wxUSE_CARET 1
14669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14672 if test "$wxUSE_COMBOBOX" = "yes"; then
14673 cat >> confdefs.h
<<\EOF
14674 #define wxUSE_COMBOBOX 1
14679 if test "$wxUSE_CHOICE" = "yes"; then
14680 cat >> confdefs.h
<<\EOF
14681 #define wxUSE_CHOICE 1
14686 if test "$wxUSE_BMPBUTTON" = "yes"; then
14687 cat >> confdefs.h
<<\EOF
14688 #define wxUSE_BMPBUTTON 1
14693 if test "$wxUSE_CHECKBOX" = "yes"; then
14694 cat >> confdefs.h
<<\EOF
14695 #define wxUSE_CHECKBOX 1
14700 if test "$wxUSE_CHECKLST" = "yes"; then
14701 cat >> confdefs.h
<<\EOF
14702 #define wxUSE_CHECKLISTBOX 1
14705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14708 if test "$wxUSE_GAUGE" = "yes"; then
14709 cat >> confdefs.h
<<\EOF
14710 #define wxUSE_GAUGE 1
14715 if test "$wxUSE_NEW_GRID" = "yes"; then
14717 cat >> confdefs.h
<<\EOF
14718 #define wxUSE_NEW_GRID 1
14721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14724 if test "$wxUSE_GRID" = "yes"; then
14725 cat >> confdefs.h
<<\EOF
14726 #define wxUSE_GRID 1
14729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14732 if test "$wxUSE_IMAGLIST" = "yes"; then
14733 cat >> confdefs.h
<<\EOF
14734 #define wxUSE_IMAGLIST 1
14739 if test "$wxUSE_LISTBOX" = "yes"; then
14740 cat >> confdefs.h
<<\EOF
14741 #define wxUSE_LISTBOX 1
14746 if test "$wxUSE_LISTCTRL" = "yes"; then
14747 if test "$wxUSE_IMAGLIST" = "yes"; then
14748 cat >> confdefs.h
<<\EOF
14749 #define wxUSE_LISTCTRL 1
14752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14754 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14758 if test "$wxUSE_NOTEBOOK" = "yes"; then
14759 cat >> confdefs.h
<<\EOF
14760 #define wxUSE_NOTEBOOK 1
14763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14766 if test "$wxUSE_RADIOBOX" = "yes"; then
14767 cat >> confdefs.h
<<\EOF
14768 #define wxUSE_RADIOBOX 1
14773 if test "$wxUSE_RADIOBTN" = "yes"; then
14774 cat >> confdefs.h
<<\EOF
14775 #define wxUSE_RADIOBTN 1
14780 if test "$wxUSE_SASH" = "yes"; then
14781 cat >> confdefs.h
<<\EOF
14782 #define wxUSE_SASH 1
14785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14788 if test "$wxUSE_SCROLLBAR" = "yes"; then
14789 cat >> confdefs.h
<<\EOF
14790 #define wxUSE_SCROLLBAR 1
14793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14796 if test "$wxUSE_SLIDER" = "yes"; then
14797 cat >> confdefs.h
<<\EOF
14798 #define wxUSE_SLIDER 1
14803 if test "$wxUSE_SPINBTN" = "yes"; then
14804 cat >> confdefs.h
<<\EOF
14805 #define wxUSE_SPINBTN 1
14810 if test "$wxUSE_SPINCTRL" = "yes"; then
14811 cat >> confdefs.h
<<\EOF
14812 #define wxUSE_SPINCTRL 1
14817 if test "$wxUSE_SPLITTER" = "yes"; then
14818 cat >> confdefs.h
<<\EOF
14819 #define wxUSE_SPLITTER 1
14822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14825 if test "$wxUSE_STATBMP" = "yes"; then
14826 cat >> confdefs.h
<<\EOF
14827 #define wxUSE_STATBMP 1
14832 if test "$wxUSE_STATBOX" = "yes"; then
14833 cat >> confdefs.h
<<\EOF
14834 #define wxUSE_STATBOX 1
14839 if test "$wxUSE_STATLINE" = "yes"; then
14840 if test "$wxUSE_WINE" = 1 ; then
14841 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
14843 cat >> confdefs.h
<<\EOF
14844 #define wxUSE_STATLINE 1
14850 if test "$wxUSE_STATUSBAR" = "yes"; then
14851 cat >> confdefs.h
<<\EOF
14852 #define wxUSE_STATUSBAR 1
14856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
14859 if test "$wxUSE_TABDIALOG" = "yes"; then
14860 cat >> confdefs.h
<<\EOF
14861 #define wxUSE_TAB_DIALOG 1
14864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
14867 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
14868 cat >> confdefs.h
<<\EOF
14869 #define wxUSE_TOOLBAR_SIMPLE 1
14872 wxUSE_TOOLBAR
="yes"
14875 if test "$wxUSE_TOOLBAR" = "yes"; then
14876 cat >> confdefs.h
<<\EOF
14877 #define wxUSE_TOOLBAR 1
14881 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
14882 wxUSE_TOOLBAR_NATIVE
="yes"
14885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
14888 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
14889 cat >> confdefs.h
<<\EOF
14890 #define wxUSE_TOOLBAR_NATIVE 1
14895 if test "$wxUSE_TOOLTIPS" = "yes"; then
14896 if test "$wxUSE_MOTIF" = 1; then
14897 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
14899 if test "$wxUSE_WINE" = 1; then
14900 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
14902 cat >> confdefs.h
<<\EOF
14903 #define wxUSE_TOOLTIPS 1
14910 if test "$wxUSE_TREECTRL" = "yes"; then
14911 if test "$wxUSE_IMAGLIST" = "yes"; then
14912 cat >> confdefs.h
<<\EOF
14913 #define wxUSE_TREECTRL 1
14916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
14918 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
14924 if test "$wxUSE_METAFILE" = "yes"; then
14925 cat >> confdefs.h
<<\EOF
14926 #define wxUSE_METAFILE 1
14931 if test "$wxUSE_DIRDLG" = "yes"; then
14932 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14933 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
14935 if test "$wxUSE_TREECTRL" != "yes"; then
14936 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
14938 cat >> confdefs.h
<<\EOF
14939 #define wxUSE_DIRDLG 1
14946 if test "$wxUSE_TEXTDLG" = "yes"; then
14947 cat >> confdefs.h
<<\EOF
14948 #define wxUSE_TEXTDLG 1
14953 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
14954 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14955 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
14957 cat >> confdefs.h
<<\EOF
14958 #define wxUSE_STARTUP_TIPS 1
14964 if test "$wxUSE_PROGRESSDLG" = "yes"; then
14965 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14966 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
14968 cat >> confdefs.h
<<\EOF
14969 #define wxUSE_PROGRESSDLG 1
14975 if test "$wxUSE_MINIFRAME" = "yes"; then
14976 cat >> confdefs.h
<<\EOF
14977 #define wxUSE_MINIFRAME 1
14980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
14983 if test "$wxUSE_HTML" = "yes"; then
14984 cat >> confdefs.h
<<\EOF
14985 #define wxUSE_HTML 1
14988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
14989 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
14992 if test "$wxUSE_VALIDATORS" = "yes"; then
14993 cat >> confdefs.h
<<\EOF
14994 #define wxUSE_VALIDATORS 1
14997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15000 if test "$wxUSE_GIF" = "yes" ; then
15001 cat >> confdefs.h
<<\EOF
15002 #define wxUSE_GIF 1
15007 if test "$wxUSE_PCX" = "yes" ; then
15008 cat >> confdefs.h
<<\EOF
15009 #define wxUSE_PCX 1
15014 if test "$wxUSE_PNM" = "yes" ; then
15015 cat >> confdefs.h
<<\EOF
15016 #define wxUSE_PNM 1
15022 if test "$cross_compiling" = "yes"; then
15025 OSINFO
=`uname -s -r -m`
15026 OSINFO
="\"$OSINFO\""
15029 cat >> confdefs.h
<<EOF
15030 #define WXWIN_OS_DESCRIPTION $OSINFO
15035 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15036 OPENGL_LIBS
="$OPENGL_LINK"
15038 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15039 if test "$wxUSE_GUI" = "yes"; then
15040 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15043 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15045 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15047 if test "$wxUSE_GTK" = 1; then
15048 WXCONFIG_INCLUDE
=""
15050 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15053 if test "$GXX" = yes ; then
15054 CXXWARNINGS
="-Wall"
15056 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15058 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15059 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15061 LDFLAGS
="$LDFLAGS $PROFILE"
15063 if test "$wxUSE_GUI" = "yes"; then
15065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
15066 font fractal image menu minimal richedit"
15068 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15073 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15169 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15170 echo "configure:15171: checking whether ${MAKE-make} sets \${MAKE}" >&5
15171 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15172 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15173 echo $ac_n "(cached) $ac_c" 1>&6
15175 cat > conftestmake
<<\EOF
15177 @
echo 'ac_maketemp="${MAKE}"'
15179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15180 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15181 if test -n "$ac_maketemp"; then
15182 eval ac_cv_prog_make_
${ac_make}_set
=yes
15184 eval ac_cv_prog_make_
${ac_make}_set
=no
15188 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15189 echo "$ac_t""yes" 1>&6
15192 echo "$ac_t""no" 1>&6
15193 SET_MAKE
="MAKE=${MAKE-make}"
15197 if test -d include
; then
15198 if test -d include
/wx
; then
15199 if test -d include
/wx
/${TOOLKIT_DIR}; then
15200 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15201 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15209 if test "$wxUSE_GUI" = "yes"; then
15210 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15211 wx_cv_path_ifs
=$PATH_IFS
15212 wx_cv_program_ext
=$PROGRAM_EXT
15213 wx_cv_target_library
=$WX_TARGET_LIBRARY
15214 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15215 subdirs
="demos samples utils contrib"
15220 cat > confcache
<<\EOF
15221 # This file is a shell script that caches the results of configure
15222 # tests run on this system so they can be shared between configure
15223 # scripts and configure runs. It is not useful on other systems.
15224 # If it contains results you don't want to keep, you may remove or edit it.
15226 # By default, configure uses ./config.cache as the cache file,
15227 # creating it if it does not exist already. You can give configure
15228 # the --cache-file=FILE option to use a different cache file; that is
15229 # what configure does when it calls configure scripts in
15230 # subdirectories, so they share the cache.
15231 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15232 # config.status only pays attention to the cache file if you give it the
15233 # --recheck option to rerun configure.
15236 # The following way of writing the cache mishandles newlines in values,
15237 # but we know of no workaround that is simple, portable, and efficient.
15238 # So, don't put newlines in cache variables' values.
15239 # Ultrix sh set writes to stderr and can't be redirected directly,
15240 # and sets the high bit in the cache file unless we assign to the vars.
15242 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15244 # `set' does not quote correctly, so add quotes (double-quote substitution
15245 # turns \\\\ into \\, and sed turns \\ into \).
15247 -e "s/'/'\\\\''/g" \
15248 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15251 # `set' quotes correctly as required by POSIX, so do not add quotes.
15252 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15255 if cmp -s $cache_file confcache
; then
15258 if test -w $cache_file; then
15259 echo "updating cache $cache_file"
15260 cat confcache
> $cache_file
15262 echo "not updating unwritable cache $cache_file"
15267 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15269 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15270 # Let make expand exec_prefix.
15271 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15273 # Any assignment to VPATH causes Sun make to only execute
15274 # the first set of double-colon rules, so remove it if not needed.
15275 # If there is a colon in the path, we need to keep it.
15276 if test "x$srcdir" = x.
; then
15277 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15280 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15282 DEFS
=-DHAVE_CONFIG_H
15284 # Without the "./", some shells look in PATH for config.status.
15285 : ${CONFIG_STATUS=./config.status}
15287 echo creating
$CONFIG_STATUS
15288 rm -f $CONFIG_STATUS
15289 cat > $CONFIG_STATUS <<EOF
15291 # Generated automatically by configure.
15292 # Run this file to recreate the current configuration.
15293 # This directory was configured as follows,
15294 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15296 # $0 $ac_configure_args
15298 # Compiler output produced by configure, useful for debugging
15299 # configure, is in ./config.log if it exists.
15301 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15304 case "\$ac_option" in
15305 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15306 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15307 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15308 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15309 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15311 -help | --help | --hel | --he | --h)
15312 echo "\$ac_cs_usage"; exit 0 ;;
15313 *) echo "\$ac_cs_usage"; exit 1 ;;
15317 ac_given_srcdir=$srcdir
15318 ac_given_INSTALL="$INSTALL"
15320 trap 'rm -fr `echo "
15326 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15328 cat >> $CONFIG_STATUS <<EOF
15330 # Protect against being on the right side of a sed subst in config.status.
15331 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15332 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15336 s%@CFLAGS@%$CFLAGS%g
15337 s%@CPPFLAGS@%$CPPFLAGS%g
15338 s%@CXXFLAGS@%$CXXFLAGS%g
15339 s%@FFLAGS@%$FFLAGS%g
15341 s%@LDFLAGS@%$LDFLAGS%g
15343 s%@exec_prefix@%$exec_prefix%g
15344 s%@prefix@%$prefix%g
15345 s%@program_transform_name@%$program_transform_name%g
15346 s%@bindir@%$bindir%g
15347 s%@sbindir@%$sbindir%g
15348 s%@libexecdir@%$libexecdir%g
15349 s%@datadir@%$datadir%g
15350 s%@sysconfdir@%$sysconfdir%g
15351 s%@sharedstatedir@%$sharedstatedir%g
15352 s%@localstatedir@%$localstatedir%g
15353 s%@libdir@%$libdir%g
15354 s%@includedir@%$includedir%g
15355 s%@oldincludedir@%$oldincludedir%g
15356 s%@infodir@%$infodir%g
15357 s%@mandir@%$mandir%g
15359 s%@host_alias@%$host_alias%g
15360 s%@host_cpu@%$host_cpu%g
15361 s%@host_vendor@%$host_vendor%g
15362 s%@host_os@%$host_os%g
15363 s%@target@%$target%g
15364 s%@target_alias@%$target_alias%g
15365 s%@target_cpu@%$target_cpu%g
15366 s%@target_vendor@%$target_vendor%g
15367 s%@target_os@%$target_os%g
15369 s%@build_alias@%$build_alias%g
15370 s%@build_cpu@%$build_cpu%g
15371 s%@build_vendor@%$build_vendor%g
15372 s%@build_os@%$build_os%g
15376 s%@CXXCPP@%$CXXCPP%g
15377 s%@RANLIB@%$RANLIB%g
15379 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15380 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15381 s%@INSTALL_DATA@%$INSTALL_DATA%g
15385 s%@LEXLIB@%$LEXLIB%g
15387 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15388 s%@GTK_CONFIG@%$GTK_CONFIG%g
15389 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15390 s%@GTK_LIBS@%$GTK_LIBS%g
15391 s%@X_CFLAGS@%$X_CFLAGS%g
15392 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15393 s%@X_LIBS@%$X_LIBS%g
15394 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15395 s%@LEX_STEM@%$LEX_STEM%g
15396 s%@PATH_IFS@%$PATH_IFS%g
15397 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15398 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15399 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15400 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15401 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15402 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15403 s%@WX_LIBRARY@%$WX_LIBRARY%g
15404 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15405 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15406 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15407 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15408 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15409 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15410 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15411 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15412 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15413 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15414 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15415 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15416 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15417 s%@WX_ALL@%$WX_ALL%g
15418 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15419 s%@SHARED_LD@%$SHARED_LD%g
15420 s%@PIC_FLAG@%$PIC_FLAG%g
15421 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15422 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15423 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15424 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15425 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15426 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15427 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15428 s%@USE_GUI@%$USE_GUI%g
15429 s%@AFMINSTALL@%$AFMINSTALL%g
15430 s%@TOOLKIT@%$TOOLKIT%g
15431 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15432 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15433 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15434 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15435 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15436 s%@GUIHEADERS@%$GUIHEADERS%g
15437 s%@GUIOBJS@%$GUIOBJS%g
15438 s%@COMMONOBJS@%$COMMONOBJS%g
15439 s%@GENERICOBJS@%$GENERICOBJS%g
15440 s%@GUIDEPS@%$GUIDEPS%g
15441 s%@COMMONDEPS@%$COMMONDEPS%g
15442 s%@GENERICDEPS@%$GENERICDEPS%g
15443 s%@IODBCOBJS@%$IODBCOBJS%g
15444 s%@UNIXOBJS@%$UNIXOBJS%g
15445 s%@UNIXDEPS@%$UNIXDEPS%g
15446 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15447 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15448 s%@GUIDIST@%$GUIDIST%g
15449 s%@PORT_FILES@%$PORT_FILES%g
15450 s%@DISTDIR@%$DISTDIR%g
15451 s%@RPM_SPEC@%$RPM_SPEC%g
15452 s%@RPM_FILES@%$RPM_FILES%g
15453 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15454 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15455 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15456 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15457 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15458 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15459 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15460 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15461 s%@EXTRADEFS@%$EXTRADEFS%g
15462 s%@LD_LIBS@%$LD_LIBS%g
15463 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15464 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15465 s%@RESPROGRAM@%$RESPROGRAM%g
15466 s%@RESCOMP@%$RESCOMP%g
15467 s%@RESFLAGS@%$RESFLAGS%g
15468 s%@DLLTOOL@%$DLLTOOL%g
15472 s%@MAKEINFO@%$MAKEINFO%g
15473 s%@SET_MAKE@%$SET_MAKE%g
15474 s%@subdirs@%$subdirs%g
15479 cat >> $CONFIG_STATUS <<\EOF
15481 # Split the substitutions into bite-sized pieces for seds with
15482 # small command number limits, like on Digital OSF/1 and HP-UX.
15483 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15484 ac_file
=1 # Number of current file.
15485 ac_beg
=1 # First line for current file.
15486 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15489 while $ac_more_lines; do
15490 if test $ac_beg -gt 1; then
15491 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15493 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15495 if test ! -s conftest.s
$ac_file; then
15496 ac_more_lines
=false
15497 rm -f conftest.s
$ac_file
15499 if test -z "$ac_sed_cmds"; then
15500 ac_sed_cmds
="sed -f conftest.s$ac_file"
15502 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15504 ac_file
=`expr $ac_file + 1`
15506 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15509 if test -z "$ac_sed_cmds"; then
15514 cat >> $CONFIG_STATUS <<EOF
15516 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15523 cat >> $CONFIG_STATUS <<\EOF
15524 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15525 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15527 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15528 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15529 *) ac_file_in
="${ac_file}.in" ;;
15532 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15534 # Remove last slash and all that follows it. Not all systems have dirname.
15535 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15536 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15537 # The file is in a subdirectory.
15538 test ! -d "$ac_dir" && mkdir "$ac_dir"
15539 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15540 # A "../" for each directory in $ac_dir_suffix.
15541 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15543 ac_dir_suffix
= ac_dots
=
15546 case "$ac_given_srcdir" in
15548 if test -z "$ac_dots"; then top_srcdir
=.
15549 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15550 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15551 *) # Relative path.
15552 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15553 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15556 case "$ac_given_INSTALL" in
15557 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15558 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15561 echo creating
"$ac_file"
15563 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15565 *Makefile
*) ac_comsub
="1i\\
15566 # $configure_input" ;;
15570 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15572 s%@configure_input@%$configure_input%g
15573 s%@srcdir@%$srcdir%g
15574 s%@top_srcdir@%$top_srcdir%g
15575 s%@INSTALL@%$INSTALL%g
15576 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15580 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15581 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15583 # ac_d sets the value in "#define NAME VALUE" lines.
15584 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15585 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15588 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15589 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15590 ac_uB
='\([ ]\)%\1#\2define\3'
15593 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15594 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15595 ac_eB
='$%\1#\2define\3'
15599 if test "${CONFIG_HEADERS+set}" != set; then
15601 cat >> $CONFIG_STATUS <<EOF
15602 CONFIG_HEADERS="setup.h:setup.h.in"
15604 cat >> $CONFIG_STATUS <<\EOF
15606 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15607 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15609 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15610 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15611 *) ac_file_in
="${ac_file}.in" ;;
15614 echo creating
$ac_file
15616 rm -f conftest.frag conftest.
in conftest.out
15617 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15618 cat $ac_file_inputs > conftest.
in
15622 # Transform confdefs.h into a sed script conftest.vals that substitutes
15623 # the proper values into config.h.in to produce config.h. And first:
15624 # Protect against being on the right side of a sed subst in config.status.
15625 # Protect against being in an unquoted here document in config.status.
15626 rm -f conftest.vals
15627 cat > conftest.hdr
<<\EOF
15630 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15634 sed -n -f conftest.hdr confdefs.h > conftest.vals
15637 # This sed command replaces #undef with comments. This is necessary, for
15638 # example, in the case of _POSIX_SOURCE, which is predefined and required
15639 # on some systems where configure will not decide to define it.
15640 cat >> conftest.vals <<\EOF
15641 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15644 # Break up conftest.vals because some shells have a limit on
15645 # the size of here documents, and old seds have small limits too.
15647 rm -f conftest.tail
15650 ac_lines=`grep -c . conftest.vals
`
15651 # grep -c gives empty output for an empty file on some AIX systems.
15652 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15653 # Write a limited-size here document to conftest.frag.
15654 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15655 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15657 sed -f conftest.frag conftest.in > conftest.out
15659 mv conftest.out conftest.in
15660 ' >> $CONFIG_STATUS
15661 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15662 rm -f conftest.vals
15663 mv conftest.tail conftest.vals
15665 rm -f conftest.vals
15667 cat >> $CONFIG_STATUS <<\EOF
15668 rm -f conftest.frag conftest.h
15669 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15670 cat conftest.in >> conftest.h
15672 if cmp -s $ac_file conftest.h 2>/dev/null; then
15673 echo "$ac_file is unchanged"
15676 # Remove last slash and all that follows it. Not all systems have dirname.
15677 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15678 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15679 # The file is in a subdirectory.
15680 test ! -d "$ac_dir" && mkdir "$ac_dir"
15683 mv conftest.h $ac_file
15688 cat >> $CONFIG_STATUS <<EOF
15690 TOOLKIT_DIR="${TOOLKIT_DIR}"
15691 TOOLKIT_NAME="${TOOLKIT_NAME}"
15696 cat >> $CONFIG_STATUS <<\EOF
15699 mv wx-config wx${TOOLKIT_NAME}-config
15700 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15703 if test ! -d lib; then
15706 if test ! -d lib/wx; then
15709 if test ! -d lib/wx/include; then
15710 mkdir lib/wx/include
15712 if test ! -d lib/wx/include/wx; then
15713 mkdir lib/wx/include/wx
15715 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15716 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15718 if test -f setup.h; then
15719 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15723 if test ! -d include; then
15726 if test ! -d include/wx; then
15729 if test ! -d include/wx/${TOOLKIT_DIR}; then
15730 mkdir include/wx/${TOOLKIT_DIR}
15732 if test -f setup.h; then
15733 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15739 chmod +x $CONFIG_STATUS
15740 rm -fr confdefs* $ac_clean_files
15741 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15743 if test "$no_recursion" != yes; then
15745 # Remove --cache-file and --srcdir arguments so they do not pile up.
15746 ac_sub_configure_args=
15748 for ac_arg in $ac_configure_args; do
15749 if test -n "$ac_prev"; then
15754 -cache-file | --cache-file | --cache-fil | --cache-fi \
15755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15756 ac_prev=cache_file ;;
15757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15764 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15768 for ac_config_dir in demos samples utils contrib; do
15770 # Do not complain, so a configure script can configure whichever
15771 # parts of a large source tree are present.
15772 if test ! -d $srcdir/$ac_config_dir; then
15776 echo configuring in $ac_config_dir
15781 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15783 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15791 # A "../" for each directory in /$ac_config_dir.
15792 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15795 .) # No --srcdir option. We are building in place.
15796 ac_sub_srcdir=$srcdir ;;
15797 /*) # Absolute path.
15798 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15799 *) # Relative path.
15800 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15803 # Check for guested configure; otherwise get Cygnus style configure.
15804 if test -f $ac_sub_srcdir/configure; then
15805 ac_sub_configure=$ac_sub_srcdir/configure
15806 elif test -f $ac_sub_srcdir/configure.in; then
15807 ac_sub_configure=$ac_configure
15809 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15813 # The recursion is here.
15814 if test -n "$ac_sub_configure"; then
15816 # Make the cache file name correct relative to the subdirectory.
15817 case "$cache_file" in
15818 /*) ac_sub_cache_file=$cache_file ;;
15819 *) # Relative path.
15820 ac_sub_cache_file="$ac_dots$cache_file" ;;
15822 case "$ac_given_INSTALL" in
15823 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15824 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15827 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15828 # The eval makes quoting arguments work.
15829 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15832 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }