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-opengl use OpenGL (or Mesa)"
84 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
86 --with-zlib use zlib for LZW compression"
88 --with-odbc use the IODBC and wxODBC classes"
90 --enable-shared create shared library code"
92 --enable-burnt_name create set name in shared library "
94 --enable-optimise create optimised code"
96 --enable-debug same as debug_flag and debug_info"
98 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
100 --enable-debug_info create code with debugging information"
102 --enable-debug_gdb create code with extra GDB debugging information"
104 --enable-debug_cntxt use wxDebugContext"
106 --enable-mem_tracing create code with memory tracing"
108 --enable-profile create code with profiling information"
110 --enable-no_rtti create code without RTTI information"
112 --enable-no_exceptions create code without exceptions information"
114 --enable-permissive compile code disregarding strict ANSI"
116 --enable-no_deps create code without dependency information"
118 --enable-intl use internationalization system"
120 --enable-config use wxConfig (and derived) classes"
122 --enable-sockets use socket/network classes"
124 --enable-ipc use interprocess communication (wxSocket etc.)"
126 --enable-dialupman use dialup network classes"
128 --enable-apple_ieee use the Apple IEEE codec"
130 --enable-timedate use date/time classes"
132 --enable-wave use wxWave class"
134 --enable-fraction use wxFraction class"
136 --enable-dynlib use wxLibrary class for DLL loading"
138 --enable-longlong use wxLongLong class"
140 --enable-log use logging system"
142 --enable-streams use wxStream etc classes"
144 --enable-file use wxFile classes"
146 --enable-textfile use wxTextFile classes"
148 --enable-unicode compile wxString with Unicode support"
150 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
152 --enable-wxprintfv use wxWindows implementation of vprintf()"
154 --enable-std_iostreams use standard C++ stream classes"
156 --enable-filesystem use virtual file systems classes"
158 --enable-fs_inet use virtual HTTP/FTP filesystems"
160 --enable-fs_zip use virtual ZIP filesystems"
162 --enable-zipstream use wxZipInputStream"
164 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
166 --enable-threads use threads"
168 --enable-serial use class serialization"
170 --enable-docview use document view architecture"
172 --enable-help use help (using external browser at present)"
174 --enable-constraints use layout-constraints system"
176 --enable-printarch use printing architecture"
178 --enable-mdi use multiple document interface architecture"
180 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
182 --enable-prologio use Prolog IO library"
184 --enable-resources use wxWindows resources"
186 --enable-xresources use X resources for save (default for gtk+)"
188 --enable-clipboard use wxClipboard classes"
190 --enable-dnd use Drag'n'Drop classes"
192 --enable-wxtree make wxTree library"
194 --enable-controls use all usual controls"
196 --enable-accel use accelerators"
198 --enable-caret use wxCaret class"
200 --enable-bmpbutton use wxBitmapButton class"
202 --enable-checkbox use wxCheckBox class"
204 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
206 --enable-choice use wxChoice class"
208 --enable-combobox use wxComboBox classes"
210 --enable-gauge use wxGauge class"
212 --enable-grid use wxGrid class"
214 --enable-newgrid use new wxGrid class"
216 --enable-imaglist use wxImageList class"
218 --enable-listbox use wxListBox class"
220 --enable-listctrl use wxListCtrl class"
222 --enable-notebook use wxNotebook class"
224 --enable-radiobox use wxRadioBox class"
226 --enable-radiobtn use wxRadioButton class"
228 --enable-sash use wxSashWindow class"
230 --enable-scrollbar use wxScrollBar class and scrollable windows"
232 --enable-slider use wxSlider class"
234 --enable-spinbtn use wxSpinButton class"
236 --enable-spinctrl use wxSpinCtrl class"
238 --enable-splitter use wxSplitterWindow class"
240 --enable-statbmp use wxStaticBitmap class"
242 --enable-statbox use wxStaticBox class"
244 --enable-statline use wxStaticLine class"
246 --enable-statusbar use wxStatusBar class"
248 --enable-tabdialog use wxTabControl class"
250 --enable-toolbar use wxToolBar class"
252 --enable-tbarnative use native wxToolBar class"
254 --enable-tbarsmpl use wxToolBarSimple class"
256 --enable-treectrl use wxTreeCtrl class"
258 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
260 --enable-dirdlg use wxDirDialog"
262 --enable-textdlg use wxTextDialog"
264 --enable-tipdlg use startup tips"
266 --enable-progressdlg use wxProgressDialog"
268 --enable-miniframe use wxMiniFrame class"
270 --enable-html use wxHTML sub-library"
272 --enable-tooltips use wxToolTip class"
274 --enable-splines use spline drawing code"
276 --enable-validators use wxValidator and derived classes"
278 --enable-busyinfo use wxBusyInfo"
280 --enable-plot use wxPlot"
282 --enable-joystick compile in joystick support (Linux only)"
284 --enable-gif use gif images (GIF file format)"
286 --enable-pcx use pcx images (PCX file format)"
288 --enable-pnm use pnm images (PNM file format)"
290 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
292 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
294 --disable-gtktest Do not try to compile and run a test GTK program"
296 --with-x use the X Window System"
298 # Initialize some variables set by options.
299 # The variables have the same names as the options, with
300 # dashes changed to underlines.
302 cache_file
=.
/config.cache
311 program_transform_name
=s
,x
,x
,
319 bindir
='${exec_prefix}/bin'
320 sbindir
='${exec_prefix}/sbin'
321 libexecdir
='${exec_prefix}/libexec'
322 datadir
='${prefix}/share'
323 sysconfdir
='${prefix}/etc'
324 sharedstatedir
='${prefix}/com'
325 localstatedir
='${prefix}/var'
326 libdir
='${exec_prefix}/lib'
327 includedir
='${prefix}/include'
328 oldincludedir
='/usr/include'
329 infodir
='${prefix}/info'
330 mandir
='${prefix}/man'
332 # Initialize some other variables.
335 SHELL
=${CONFIG_SHELL-/bin/sh}
336 # Maximum number of lines to put in a shell here document.
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
351 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
355 # Accept the important Cygnus configure options, so we can diagnose typos.
359 -bindir | --bindir | --bindi | --bind | --bin | --bi)
361 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
362 bindir
="$ac_optarg" ;;
364 -build | --build | --buil | --bui | --bu)
366 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
367 build
="$ac_optarg" ;;
369 -cache-file | --cache-file | --cache-fil | --cache-fi \
370 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
371 ac_prev
=cache_file
;;
372 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
373 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
374 cache_file
="$ac_optarg" ;;
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
380 datadir
="$ac_optarg" ;;
382 -disable-* | --disable-*)
383 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
384 # Reject names that are not valid shell variable names.
385 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
386 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
388 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
389 eval "enable_${ac_feature}=no" ;;
391 -enable-* | --enable-*)
392 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
393 # Reject names that are not valid shell variable names.
394 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
395 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
397 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
402 eval "enable_${ac_feature}='$ac_optarg'" ;;
404 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
405 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
406 | --exec | --exe | --ex)
407 ac_prev
=exec_prefix
;;
408 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
409 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
410 | --exec=* | --exe=* | --ex=*)
411 exec_prefix
="$ac_optarg" ;;
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
417 -help | --help | --hel | --he)
418 # Omit some internal or obsolete options to make the list less imposing.
419 # This message is too long to be a string in the A/UX 3.1 sh.
421 Usage: configure [options] [host]
422 Options: [defaults in brackets after descriptions]
424 --cache-file=FILE cache test results in FILE
425 --help print this message
426 --no-create do not create output files
427 --quiet, --silent do not print \`checking...' messages
428 --version print the version of autoconf that created configure
429 Directory and file names:
430 --prefix=PREFIX install architecture-independent files in PREFIX
432 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
434 --bindir=DIR user executables in DIR [EPREFIX/bin]
435 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
436 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
437 --datadir=DIR read-only architecture-independent data in DIR
439 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
440 --sharedstatedir=DIR modifiable architecture-independent data in DIR
442 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
443 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
444 --includedir=DIR C header files in DIR [PREFIX/include]
445 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
446 --infodir=DIR info documentation in DIR [PREFIX/info]
447 --mandir=DIR man documentation in DIR [PREFIX/man]
448 --srcdir=DIR find the sources in DIR [configure dir or ..]
449 --program-prefix=PREFIX prepend PREFIX to installed program names
450 --program-suffix=SUFFIX append SUFFIX to installed program names
451 --program-transform-name=PROGRAM
452 run sed PROGRAM on installed program names
456 --build=BUILD configure for building on BUILD [BUILD=HOST]
457 --host=HOST configure for HOST [guessed]
458 --target=TARGET configure for TARGET [TARGET=HOST]
459 Features and packages:
460 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
461 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
462 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
463 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
464 --x-includes=DIR X include files are in DIR
465 --x-libraries=DIR X library files are in DIR
467 if test -n "$ac_help"; then
468 echo "--enable and --with options recognized:$ac_help"
472 -host | --host | --hos | --ho)
474 -host=* | --host=* | --hos=* | --ho=*)
477 -includedir | --includedir | --includedi | --included | --include \
478 | --includ | --inclu | --incl | --inc)
479 ac_prev
=includedir
;;
480 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
481 | --includ=* | --inclu=* | --incl=* | --inc=*)
482 includedir
="$ac_optarg" ;;
484 -infodir | --infodir | --infodi | --infod | --info | --inf)
486 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
487 infodir
="$ac_optarg" ;;
489 -libdir | --libdir | --libdi | --libd)
491 -libdir=* | --libdir=* | --libdi=* | --libd=*)
492 libdir
="$ac_optarg" ;;
494 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
495 | --libexe | --libex | --libe)
496 ac_prev
=libexecdir
;;
497 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
498 | --libexe=* | --libex=* | --libe=*)
499 libexecdir
="$ac_optarg" ;;
501 -localstatedir | --localstatedir | --localstatedi | --localstated \
502 | --localstate | --localstat | --localsta | --localst \
503 | --locals | --local | --loca | --loc | --lo)
504 ac_prev
=localstatedir
;;
505 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
506 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
507 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
508 localstatedir
="$ac_optarg" ;;
510 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
512 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
513 mandir
="$ac_optarg" ;;
516 # Obsolete; use --without-fp.
519 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
523 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
524 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
527 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
528 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
529 | --oldin | --oldi | --old | --ol | --o)
530 ac_prev
=oldincludedir
;;
531 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
532 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
533 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
534 oldincludedir
="$ac_optarg" ;;
536 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
538 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
539 prefix
="$ac_optarg" ;;
541 -program-prefix | --program-prefix | --program-prefi | --program-pref \
542 | --program-pre | --program-pr | --program-p)
543 ac_prev
=program_prefix
;;
544 -program-prefix=* | --program-prefix=* | --program-prefi=* \
545 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
546 program_prefix
="$ac_optarg" ;;
548 -program-suffix | --program-suffix | --program-suffi | --program-suff \
549 | --program-suf | --program-su | --program-s)
550 ac_prev
=program_suffix
;;
551 -program-suffix=* | --program-suffix=* | --program-suffi=* \
552 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
553 program_suffix
="$ac_optarg" ;;
555 -program-transform-name | --program-transform-name \
556 | --program-transform-nam | --program-transform-na \
557 | --program-transform-n | --program-transform- \
558 | --program-transform | --program-transfor \
559 | --program-transfo | --program-transf \
560 | --program-trans | --program-tran \
561 | --progr-tra | --program-tr | --program-t)
562 ac_prev
=program_transform_name
;;
563 -program-transform-name=* | --program-transform-name=* \
564 | --program-transform-nam=* | --program-transform-na=* \
565 | --program-transform-n=* | --program-transform-=* \
566 | --program-transform=* | --program-transfor=* \
567 | --program-transfo=* | --program-transf=* \
568 | --program-trans=* | --program-tran=* \
569 | --progr-tra=* | --program-tr=* | --program-t=*)
570 program_transform_name
="$ac_optarg" ;;
572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
573 | -silent | --silent | --silen | --sile | --sil)
576 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
578 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
580 sbindir
="$ac_optarg" ;;
582 -sharedstatedir | --sharedstatedir | --sharedstatedi \
583 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
584 | --sharedst | --shareds | --shared | --share | --shar \
586 ac_prev
=sharedstatedir
;;
587 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
588 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
589 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
591 sharedstatedir
="$ac_optarg" ;;
593 -site | --site | --sit)
595 -site=* | --site=* | --sit=*)
598 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
600 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
601 srcdir
="$ac_optarg" ;;
603 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
604 | --syscon | --sysco | --sysc | --sys | --sy)
605 ac_prev
=sysconfdir
;;
606 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
607 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
608 sysconfdir
="$ac_optarg" ;;
610 -target | --target | --targe | --targ | --tar | --ta | --t)
612 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
613 target
="$ac_optarg" ;;
615 -v | -verbose | --verbose | --verbos | --verbo | --verb)
618 -version | --version | --versio | --versi | --vers)
619 echo "configure generated by autoconf version 2.13"
623 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
624 # Reject names that are not valid shell variable names.
625 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
626 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
628 ac_package
=`echo $ac_package| sed 's/-/_/g'`
633 eval "with_${ac_package}='$ac_optarg'" ;;
635 -without-* | --without-*)
636 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
637 # Reject names that are not valid shell variable names.
638 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
639 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
641 ac_package
=`echo $ac_package| sed 's/-/_/g'`
642 eval "with_${ac_package}=no" ;;
645 # Obsolete; use --with-x.
648 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
649 | --x-incl | --x-inc | --x-in | --x-i)
650 ac_prev
=x_includes
;;
651 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
652 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
653 x_includes
="$ac_optarg" ;;
655 -x-libraries | --x-libraries | --x-librarie | --x-librari \
656 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
657 ac_prev
=x_libraries
;;
658 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
659 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
660 x_libraries
="$ac_optarg" ;;
662 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
666 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
667 echo "configure: warning: $ac_option: invalid host type" 1>&2
669 if test "x$nonopt" != xNONE
; then
670 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
678 if test -n "$ac_prev"; then
679 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
682 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
684 # File descriptor usage:
687 # 2 errors and warnings
688 # 3 some systems may open it to /dev/tty
689 # 4 used on the Kubota Titan
690 # 6 checking for... messages and results
691 # 5 compiler messages saved in config.log
692 if test "$silent" = yes; then
700 This file contains any messages produced by compilers while
701 running configure, to aid debugging if configure makes a mistake.
704 # Strip out --no-create and --no-recursion so they do not pile up.
705 # Also quote any args containing shell metacharacters.
710 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
711 | --no-cr | --no-c) ;;
712 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
713 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
714 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
715 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
716 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
721 # Only set these to C if already set. These must not be set unconditionally
722 # because not all systems understand e.g. LANG=C (notably SCO).
723 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
724 # Non-C LC_CTYPE values break the ctype check.
725 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
726 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
727 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
728 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
730 # confdefs.h avoids OS command line length limits that DEFS can exceed.
731 rm -rf conftest
* confdefs.h
732 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
735 # A filename unique to this package, relative to the directory that
736 # configure is in, which we can look for to find out if srcdir is correct.
737 ac_unique_file
=wx
-config.
in
739 # Find the source files, if location was not specified.
740 if test -z "$srcdir"; then
741 ac_srcdir_defaulted
=yes
742 # Try the directory containing this script, then its parent.
744 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
745 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
747 if test ! -r $srcdir/$ac_unique_file; then
751 ac_srcdir_defaulted
=no
753 if test ! -r $srcdir/$ac_unique_file; then
754 if test "$ac_srcdir_defaulted" = yes; then
755 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
757 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
760 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
762 # Prefer explicitly selected file to automatically selected ones.
763 if test -z "$CONFIG_SITE"; then
764 if test "x$prefix" != xNONE
; then
765 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
767 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
770 for ac_site_file
in $CONFIG_SITE; do
771 if test -r "$ac_site_file"; then
772 echo "loading site script $ac_site_file"
777 if test -r "$cache_file"; then
778 echo "loading cache $cache_file"
781 echo "creating cache $cache_file"
786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
787 ac_cpp
='$CPP $CPPFLAGS'
788 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
789 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
790 cross_compiling
=$ac_cv_prog_cc_cross
794 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
795 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
796 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
803 ac_n
= ac_c
='\c' ac_t
=
809 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
810 if test -f $ac_dir/install-sh; then
812 ac_install_sh
="$ac_aux_dir/install-sh -c"
814 elif test -f $ac_dir/install.sh
; then
816 ac_install_sh
="$ac_aux_dir/install.sh -c"
820 if test -z "$ac_aux_dir"; then
821 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
823 ac_config_guess
=$ac_aux_dir/config.guess
824 ac_config_sub
=$ac_aux_dir/config.sub
825 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
828 # Do some error checking and defaulting for the host and target type.
830 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
833 # 1. You are not allowed to specify --host, --target, and nonopt at the
835 # 2. Host defaults to nonopt.
836 # 3. If nonopt is not specified, then host defaults to the current host,
837 # as determined by config.guess.
838 # 4. Target and build default to nonopt.
839 # 5. If nonopt is not specified, then target and build default to host.
841 # The aliases save the names the user supplied, while $host etc.
842 # will get canonicalized.
843 case $host---$target---$nonopt in
844 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
845 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
849 # Make sure we can run config.sub.
850 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
851 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
854 echo $ac_n "checking host system type""... $ac_c" 1>&6
855 echo "configure:856: checking host system type" >&5
858 case "$host_alias" in
862 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
863 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
865 *) host_alias
=$nonopt ;;
869 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
870 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
871 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
872 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
873 echo "$ac_t""$host" 1>&6
875 echo $ac_n "checking target system type""... $ac_c" 1>&6
876 echo "configure:877: checking target system type" >&5
879 case "$target_alias" in
882 NONE
) target_alias
=$host_alias ;;
883 *) target_alias
=$nonopt ;;
887 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
888 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
889 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
890 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
891 echo "$ac_t""$target" 1>&6
893 echo $ac_n "checking build system type""... $ac_c" 1>&6
894 echo "configure:895: checking build system type" >&5
897 case "$build_alias" in
900 NONE
) build_alias
=$host_alias ;;
901 *) build_alias
=$nonopt ;;
905 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
906 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
907 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
908 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
909 echo "$ac_t""$build" 1>&6
911 test "$host_alias" != "$target_alias" &&
912 test "$program_prefix$program_suffix$program_transform_name" = \
914 program_prefix
=${target_alias}-
918 WX_MAJOR_VERSION_NUMBER
=2
919 WX_MINOR_VERSION_NUMBER
=3
925 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
927 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
928 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
929 WX_REVISION
=$WX_INTERFACE_AGE
930 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
957 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
959 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
962 DEFAULT_wxUSE_MOTIF
=0
967 DEFAULT_DEFAULT_wxUSE_GTK
=0
968 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
969 DEFAULT_DEFAULT_wxUSE_MSW
=0
970 DEFAULT_DEFAULT_wxUSE_WINE
=0
971 DEFAULT_DEFAULT_wxUSE_PM
=0
978 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
979 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
980 cat >> confdefs.h
<<\EOF
987 cat >> confdefs.h
<<\EOF
992 if test "x$TMP" = "xalpha"; then
994 cat >> confdefs.h
<<\EOF
999 DEFAULT_DEFAULT_wxUSE_GTK
=1
1001 *-*-irix5* | *-*-irix6* )
1004 cat >> confdefs.h
<<\EOF
1008 cat >> confdefs.h
<<\EOF
1012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 cat >> confdefs.h
<<\EOF
1022 cat >> confdefs.h
<<\EOF
1023 #define __SOLARIS__ 1
1026 cat >> confdefs.h
<<\EOF
1030 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1031 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1037 cat >> confdefs.h
<<\EOF
1041 cat >> confdefs.h
<<\EOF
1045 cat >> confdefs.h
<<\EOF
1049 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1054 cat >> confdefs.h
<<\EOF
1055 #define __FREEBSD__ 1
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_GTK
=1
1067 cat >> confdefs.h
<<\EOF
1068 #define __FREEBSD__ 1
1071 cat >> confdefs.h
<<\EOF
1072 #define __NETBSD__ 1
1075 DEFAULT_DEFAULT_wxUSE_GTK
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1089 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1107 cat >> confdefs.h
<<\EOF
1111 cat >> confdefs.h
<<\EOF
1115 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1121 cat >> confdefs.h
<<\EOF
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1133 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1136 *-*-cygwin32* | *-*-mingw32* )
1139 cat >> confdefs.h
<<\EOF
1143 cat >> confdefs.h
<<\EOF
1147 cat >> confdefs.h
<<\EOF
1148 #define __WINDOWS__ 1
1151 cat >> confdefs.h
<<\EOF
1152 #define __GNUWIN32__ 1
1155 cat >> confdefs.h
<<\EOF
1159 cat >> confdefs.h
<<\EOF
1160 #define WINVER 0x0400
1164 DEFAULT_DEFAULT_wxUSE_MSW
=1
1168 cat >> confdefs.h
<<\EOF
1173 DEFAULT_DEFAULT_wxUSE_PM
=1
1178 cat >> confdefs.h
<<\EOF
1185 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1188 if test "$USE_UNIX" = 1 ; then
1190 cat >> confdefs.h
<<\EOF
1195 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1196 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1199 if test "$USE_BEOS" = 1; then
1200 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1201 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1204 if test "$USE_LINUX" = 1; then
1205 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1206 echo "configure:1207: checking for gettext in -lc" >&5
1207 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1209 echo $ac_n "(cached) $ac_c" 1>&6
1211 ac_save_LIBS
="$LIBS"
1213 cat > conftest.
$ac_ext <<EOF
1214 #line 1215 "configure"
1215 #include "confdefs.h"
1216 /* Override any gcc2 internal prototype to avoid an error. */
1217 /* We use char because int might match the return type of a gcc2
1218 builtin and then its argument prototype would still apply. */
1225 if { (eval echo configure
:1226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1227 eval "ac_cv_lib_$ac_lib_var=yes"
1229 echo "configure: failed program was:" >&5
1230 cat conftest.
$ac_ext >&5
1232 eval "ac_cv_lib_$ac_lib_var=no"
1235 LIBS
="$ac_save_LIBS"
1238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1239 echo "$ac_t""yes" 1>&6
1240 cat >> confdefs.h
<<\EOF
1241 #define wxHAVE_GLIBC2 1
1245 echo "$ac_t""no" 1>&6
1253 wx_arg_cache_file
="configarg.cache"
1254 echo "loading argument cache $wx_arg_cache_file"
1255 rm -f ${wx_arg_cache_file}.tmp
1256 touch ${wx_arg_cache_file}.tmp
1257 touch ${wx_arg_cache_file}
1261 if test $DEBUG_CONFIGURE = 1; then
1262 DEFAULT_wxUSE_THREADS
=yes
1264 DEFAULT_wxUSE_SHARED
=yes
1265 DEFAULT_wxUSE_BURNT_NAME
=no
1266 DEFAULT_wxUSE_OPTIMISE
=yes
1267 DEFAULT_wxUSE_PROFILE
=no
1268 DEFAULT_wxUSE_NO_DEPS
=no
1269 DEFAULT_wxUSE_NO_RTTI
=no
1270 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1271 DEFAULT_wxUSE_PERMISSIVE
=no
1272 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1273 DEFAULT_wxUSE_DEBUG_INFO
=yes
1274 DEFAULT_wxUSE_DEBUG_GDB
=yes
1275 DEFAULT_wxUSE_MEM_TRACING
=no
1276 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1277 DEFAULT_wxUSE_DMALLOC
=no
1278 DEFAULT_wxUSE_APPLE_IEEE
=no
1280 DEFAULT_wxUSE_LOG
=yes
1282 DEFAULT_wxUSE_GUI
=yes
1284 DEFAULT_wxUSE_ZLIB
=no
1285 DEFAULT_wxUSE_LIBPNG
=no
1286 DEFAULT_wxUSE_LIBJPEG
=no
1287 DEFAULT_wxUSE_LIBTIFF
=no
1288 DEFAULT_wxUSE_ODBC
=no
1289 DEFAULT_wxUSE_OPENGL
=no
1291 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1292 DEFAULT_wxUSE_STD_IOSTREAM
=no
1293 DEFAULT_wxUSE_FILE
=no
1294 DEFAULT_wxUSE_TEXTFILE
=no
1295 DEFAULT_wxUSE_TIMEDATE
=no
1296 DEFAULT_wxUSE_WAVE
=no
1297 DEFAULT_wxUSE_INTL
=no
1298 DEFAULT_wxUSE_CONFIG
=no
1299 DEFAULT_wxUSE_STREAMS
=no
1300 DEFAULT_wxUSE_SOCKETS
=no
1301 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1302 DEFAULT_wxUSE_SERIAL
=no
1303 DEFAULT_wxUSE_JOYSTICK
=no
1304 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1305 DEFAULT_wxUSE_LONGLONG
=no
1307 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1308 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1309 DEFAULT_wxUSE_POSTSCRIPT
=no
1311 DEFAULT_wxUSE_X_RESOURCES
=no
1312 DEFAULT_wxUSE_CLIPBOARD
=no
1313 DEFAULT_wxUSE_TOOLTIPS
=no
1314 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1315 DEFAULT_wxUSE_SPLINES
=no
1317 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1318 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1319 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1321 DEFAULT_wxUSE_PROLOGIO
=no
1322 DEFAULT_wxUSE_RESOURCES
=no
1323 DEFAULT_wxUSE_CONSTRAINTS
=no
1324 DEFAULT_wxUSE_IPC
=no
1325 DEFAULT_wxUSE_HELP
=no
1326 DEFAULT_wxUSE_WXTREE
=no
1327 DEFAULT_wxUSE_METAFILE
=no
1329 DEFAULT_wxUSE_COMMONDLGS
=no
1330 DEFAULT_wxUSE_DIRDLG
=no
1331 DEFAULT_wxUSE_TEXTDLG
=no
1332 DEFAULT_wxUSE_STARTUP_TIPS
=no
1333 DEFAULT_wxUSE_PROGRESSDLG
=no
1334 DEFAULT_wxUSE_MINIFRAME
=no
1335 DEFAULT_wxUSE_HTML
=no
1336 DEFAULT_wxUSE_FILESYSTEM
=no
1337 DEFAULT_wxUSE_FS_INET
=no
1338 DEFAULT_wxUSE_FS_ZIP
=no
1339 DEFAULT_wxUSE_BUSYINFO
=no
1340 DEFAULT_wxUSE_ZIPSTREAM
=no
1341 DEFAULT_wxUSE_VALIDATORS
=yes
1343 DEFAULT_wxUSE_ACCEL
=no
1344 DEFAULT_wxUSE_CARET
=no
1345 DEFAULT_wxUSE_BMPBUTTON
=no
1346 DEFAULT_wxUSE_CHECKBOX
=no
1347 DEFAULT_wxUSE_CHECKLST
=no
1348 DEFAULT_wxUSE_CHOICE
=yes
1349 DEFAULT_wxUSE_COMBOBOX
=no
1350 DEFAULT_wxUSE_GAUGE
=no
1351 DEFAULT_wxUSE_GRID
=no
1352 DEFAULT_wxUSE_NEW_GRID
=no
1353 DEFAULT_wxUSE_IMAGLIST
=no
1354 DEFAULT_wxUSE_LISTBOX
=no
1355 DEFAULT_wxUSE_LISTCTRL
=no
1356 DEFAULT_wxUSE_NOTEBOOK
=no
1357 DEFAULT_wxUSE_PLOT
=no
1358 DEFAULT_wxUSE_RADIOBOX
=no
1359 DEFAULT_wxUSE_RADIOBTN
=no
1360 DEFAULT_wxUSE_SASH
=no
1361 DEFAULT_wxUSE_SCROLLBAR
=no
1362 DEFAULT_wxUSE_SLIDER
=no
1363 DEFAULT_wxUSE_SPINBTN
=no
1364 DEFAULT_wxUSE_SPINCTRL
=no
1365 DEFAULT_wxUSE_SPLITTER
=no
1366 DEFAULT_wxUSE_STATBMP
=no
1367 DEFAULT_wxUSE_STATBOX
=no
1368 DEFAULT_wxUSE_STATLINE
=no
1369 DEFAULT_wxUSE_STATUSBAR
=yes
1370 DEFAULT_wxUSE_TABDIALOG
=no
1371 DEFAULT_wxUSE_TOOLBAR
=no
1372 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1373 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1374 DEFAULT_wxUSE_TREECTRL
=no
1376 DEFAULT_wxUSE_UNICODE
=no
1377 DEFAULT_wxUSE_WCSRTOMBS
=no
1379 DEFAULT_wxUSE_GIF
=no
1380 DEFAULT_wxUSE_PCX
=no
1381 DEFAULT_wxUSE_PNM
=no
1383 DEFAULT_wxUSE_THREADS
=yes
1385 DEFAULT_wxUSE_SHARED
=yes
1386 DEFAULT_wxUSE_BURNT_NAME
=no
1387 DEFAULT_wxUSE_OPTIMISE
=yes
1388 DEFAULT_wxUSE_PROFILE
=no
1389 DEFAULT_wxUSE_NO_DEPS
=no
1390 DEFAULT_wxUSE_NO_RTTI
=no
1391 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1392 DEFAULT_wxUSE_PERMISSIVE
=no
1393 DEFAULT_wxUSE_DEBUG_FLAG
=no
1394 DEFAULT_wxUSE_DEBUG_INFO
=no
1395 DEFAULT_wxUSE_DEBUG_GDB
=no
1396 DEFAULT_wxUSE_MEM_TRACING
=no
1397 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1398 DEFAULT_wxUSE_DMALLOC
=no
1399 DEFAULT_wxUSE_APPLE_IEEE
=yes
1401 DEFAULT_wxUSE_LOG
=yes
1403 DEFAULT_wxUSE_GUI
=yes
1405 DEFAULT_wxUSE_ZLIB
=yes
1406 DEFAULT_wxUSE_LIBPNG
=yes
1407 DEFAULT_wxUSE_LIBJPEG
=yes
1408 DEFAULT_wxUSE_LIBTIFF
=yes
1409 DEFAULT_wxUSE_ODBC
=no
1410 DEFAULT_wxUSE_OPENGL
=no
1412 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1413 DEFAULT_wxUSE_STD_IOSTREAM
=no
1414 DEFAULT_wxUSE_FILE
=yes
1415 DEFAULT_wxUSE_TEXTFILE
=yes
1416 DEFAULT_wxUSE_TIMEDATE
=yes
1417 DEFAULT_wxUSE_WAVE
=no
1418 DEFAULT_wxUSE_INTL
=yes
1419 DEFAULT_wxUSE_CONFIG
=yes
1420 DEFAULT_wxUSE_STREAMS
=yes
1421 DEFAULT_wxUSE_SOCKETS
=yes
1422 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1423 DEFAULT_wxUSE_SERIAL
=yes
1424 DEFAULT_wxUSE_JOYSTICK
=yes
1425 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1426 DEFAULT_wxUSE_LONGLONG
=yes
1428 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1429 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1430 DEFAULT_wxUSE_POSTSCRIPT
=yes
1432 DEFAULT_wxUSE_X_RESOURCES
=no
1433 DEFAULT_wxUSE_CLIPBOARD
=yes
1434 DEFAULT_wxUSE_TOOLTIPS
=yes
1435 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1436 DEFAULT_wxUSE_SPLINES
=yes
1438 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1439 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1440 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1442 DEFAULT_wxUSE_PROLOGIO
=yes
1443 DEFAULT_wxUSE_RESOURCES
=yes
1444 DEFAULT_wxUSE_CONSTRAINTS
=yes
1445 DEFAULT_wxUSE_IPC
=yes
1446 DEFAULT_wxUSE_HELP
=yes
1447 DEFAULT_wxUSE_WXTREE
=yes
1448 DEFAULT_wxUSE_METAFILE
=yes
1450 DEFAULT_wxUSE_COMMONDLGS
=yes
1451 DEFAULT_wxUSE_DIRDLG
=yes
1452 DEFAULT_wxUSE_TEXTDLG
=yes
1453 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1454 DEFAULT_wxUSE_PROGRESSDLG
=yes
1455 DEFAULT_wxUSE_MINIFRAME
=yes
1456 DEFAULT_wxUSE_HTML
=yes
1457 DEFAULT_wxUSE_FILESYSTEM
=yes
1458 DEFAULT_wxUSE_FS_INET
=yes
1459 DEFAULT_wxUSE_FS_ZIP
=yes
1460 DEFAULT_wxUSE_BUSYINFO
=yes
1461 DEFAULT_wxUSE_ZIPSTREAM
=yes
1462 DEFAULT_wxUSE_VALIDATORS
=yes
1464 DEFAULT_wxUSE_ACCEL
=yes
1465 DEFAULT_wxUSE_CARET
=yes
1466 DEFAULT_wxUSE_BMPBUTTON
=yes
1467 DEFAULT_wxUSE_CHECKBOX
=yes
1468 DEFAULT_wxUSE_CHECKLST
=yes
1469 DEFAULT_wxUSE_CHOICE
=yes
1470 DEFAULT_wxUSE_COMBOBOX
=yes
1471 DEFAULT_wxUSE_GAUGE
=yes
1472 DEFAULT_wxUSE_GRID
=yes
1473 DEFAULT_wxUSE_NEW_GRID
=yes
1474 DEFAULT_wxUSE_IMAGLIST
=yes
1475 DEFAULT_wxUSE_LISTBOX
=yes
1476 DEFAULT_wxUSE_LISTCTRL
=yes
1477 DEFAULT_wxUSE_NOTEBOOK
=yes
1478 DEFAULT_wxUSE_PLOT
=yes
1479 DEFAULT_wxUSE_RADIOBOX
=yes
1480 DEFAULT_wxUSE_RADIOBTN
=yes
1481 DEFAULT_wxUSE_SASH
=yes
1482 DEFAULT_wxUSE_SCROLLBAR
=yes
1483 DEFAULT_wxUSE_SLIDER
=yes
1484 DEFAULT_wxUSE_SPINBTN
=yes
1485 DEFAULT_wxUSE_SPINCTRL
=yes
1486 DEFAULT_wxUSE_SPLITTER
=yes
1487 DEFAULT_wxUSE_STATBMP
=yes
1488 DEFAULT_wxUSE_STATBOX
=yes
1489 DEFAULT_wxUSE_STATLINE
=yes
1490 DEFAULT_wxUSE_STATUSBAR
=yes
1491 DEFAULT_wxUSE_TABDIALOG
=no
1492 DEFAULT_wxUSE_TOOLBAR
=yes
1493 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1494 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1495 DEFAULT_wxUSE_TREECTRL
=yes
1497 DEFAULT_wxUSE_UNICODE
=no
1498 DEFAULT_wxUSE_WCSRTOMBS
=no
1500 DEFAULT_wxUSE_GIF
=yes
1501 DEFAULT_wxUSE_PCX
=yes
1502 DEFAULT_wxUSE_PNM
=yes
1507 for toolkit
in `echo $ALL_TOOLKITS`; do
1508 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1509 if test "x$LINE" != x
; then
1510 has_toolkit_in_cache
=1
1511 eval "DEFAULT_$LINE"
1512 eval "CACHE_$toolkit=1"
1518 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1519 echo "configure:1520: checking "for --enable-gui"" >&5
1521 # Check whether --enable-gui or --disable-gui was given.
1522 if test "${enable_gui+set}" = set; then
1523 enableval
="$enable_gui"
1525 if test "$enableval" = yes; then
1526 ac_cv_use_gui
='wxUSE_GUI=yes'
1528 ac_cv_use_gui
='wxUSE_GUI=no'
1533 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1534 if test "x$LINE" != x
; then
1535 eval "DEFAULT_$LINE"
1540 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1545 eval "$ac_cv_use_gui"
1546 if test "$no_cache" != 1; then
1547 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1550 if test "$wxUSE_GUI" = yes; then
1551 echo "$ac_t""yes" 1>&6
1553 echo "$ac_t""no" 1>&6
1557 if test "$wxUSE_GUI" = "yes"; then
1559 # Check whether --with-gtk or --without-gtk was given.
1560 if test "${with_gtk+set}" = set; then
1562 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1565 # Check whether --with-motif or --without-motif was given.
1566 if test "${with_motif+set}" = set; then
1567 withval
="$with_motif"
1568 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1571 # Check whether --with-wine or --without-wine was given.
1572 if test "${with_wine+set}" = set; then
1573 withval
="$with_wine"
1574 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1577 # Check whether --with-cygwin or --without-cygwin was given.
1578 if test "${with_cygwin+set}" = set; then
1579 withval
="$with_cygwin"
1580 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1583 # Check whether --with-mingw or --without-mingw was given.
1584 if test "${with_mingw+set}" = set; then
1585 withval
="$with_mingw"
1586 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1589 # Check whether --with-pm or --without-pm was given.
1590 if test "${with_pm+set}" = set; then
1592 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1596 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1597 if test "${with_gtk_prefix+set}" = set; then
1598 withval
="$with_gtk_prefix"
1599 gtk_config_prefix
="$withval"
1601 gtk_config_prefix
=""
1604 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1605 if test "${with_gtk_exec_prefix+set}" = set; then
1606 withval
="$with_gtk_exec_prefix"
1607 gtk_config_exec_prefix
="$withval"
1609 gtk_config_exec_prefix
=""
1614 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1615 echo "configure:1616: checking "for --with-libpng"" >&5
1617 # Check whether --with-libpng or --without-libpng was given.
1618 if test "${with_libpng+set}" = set; then
1619 withval
="$with_libpng"
1621 if test "$withval" = yes; then
1622 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1623 elif test "$withval" = no
; then
1624 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1625 elif test "$withval" = sys
; then
1626 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1628 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1633 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1634 if test "x$LINE" != x
; then
1635 eval "DEFAULT_$LINE"
1640 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1645 eval "$ac_cv_use_libpng"
1646 if test "$no_cache" != 1; then
1647 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1650 if test "$wxUSE_LIBPNG" = yes; then
1651 echo "$ac_t""yes" 1>&6
1652 elif test "$wxUSE_LIBPNG" = no
; then
1653 echo "$ac_t""no" 1>&6
1654 elif test "$wxUSE_LIBPNG" = sys
; then
1655 echo "$ac_t""system version" 1>&6
1657 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1661 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1662 echo "configure:1663: checking "for --with-libjpeg"" >&5
1664 # Check whether --with-libjpeg or --without-libjpeg was given.
1665 if test "${with_libjpeg+set}" = set; then
1666 withval
="$with_libjpeg"
1668 if test "$withval" = yes; then
1669 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1670 elif test "$withval" = no
; then
1671 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1672 elif test "$withval" = sys
; then
1673 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1675 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1680 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1681 if test "x$LINE" != x
; then
1682 eval "DEFAULT_$LINE"
1687 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1692 eval "$ac_cv_use_libjpeg"
1693 if test "$no_cache" != 1; then
1694 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1697 if test "$wxUSE_LIBJPEG" = yes; then
1698 echo "$ac_t""yes" 1>&6
1699 elif test "$wxUSE_LIBJPEG" = no
; then
1700 echo "$ac_t""no" 1>&6
1701 elif test "$wxUSE_LIBJPEG" = sys
; then
1702 echo "$ac_t""system version" 1>&6
1704 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1708 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1709 echo "configure:1710: checking "for --with-libtiff"" >&5
1711 # Check whether --with-libtiff or --without-libtiff was given.
1712 if test "${with_libtiff+set}" = set; then
1713 withval
="$with_libtiff"
1715 if test "$withval" = yes; then
1716 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1717 elif test "$withval" = no
; then
1718 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1719 elif test "$withval" = sys
; then
1720 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1722 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1727 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1728 if test "x$LINE" != x
; then
1729 eval "DEFAULT_$LINE"
1734 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1739 eval "$ac_cv_use_libtiff"
1740 if test "$no_cache" != 1; then
1741 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1744 if test "$wxUSE_LIBTIFF" = yes; then
1745 echo "$ac_t""yes" 1>&6
1746 elif test "$wxUSE_LIBTIFF" = no
; then
1747 echo "$ac_t""no" 1>&6
1748 elif test "$wxUSE_LIBTIFF" = sys
; then
1749 echo "$ac_t""system version" 1>&6
1751 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1755 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1756 echo "configure:1757: checking "for --with-opengl"" >&5
1758 # Check whether --with-opengl or --without-opengl was given.
1759 if test "${with_opengl+set}" = set; then
1760 withval
="$with_opengl"
1762 if test "$withval" = yes; then
1763 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1765 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1770 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1771 if test "x$LINE" != x
; then
1772 eval "DEFAULT_$LINE"
1777 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1782 eval "$ac_cv_use_opengl"
1783 if test "$no_cache" != 1; then
1784 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1787 if test "$wxUSE_OPENGL" = yes; then
1788 echo "$ac_t""yes" 1>&6
1790 echo "$ac_t""no" 1>&6
1797 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1798 echo "configure:1799: checking "for --with-dmalloc"" >&5
1800 # Check whether --with-dmalloc or --without-dmalloc was given.
1801 if test "${with_dmalloc+set}" = set; then
1802 withval
="$with_dmalloc"
1804 if test "$withval" = yes; then
1805 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1807 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1812 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1813 if test "x$LINE" != x
; then
1814 eval "DEFAULT_$LINE"
1819 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1824 eval "$ac_cv_use_dmalloc"
1825 if test "$no_cache" != 1; then
1826 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1829 if test "$wxUSE_DMALLOC" = yes; then
1830 echo "$ac_t""yes" 1>&6
1832 echo "$ac_t""no" 1>&6
1836 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1837 echo "configure:1838: checking "for --with-zlib"" >&5
1839 # Check whether --with-zlib or --without-zlib was given.
1840 if test "${with_zlib+set}" = set; then
1841 withval
="$with_zlib"
1843 if test "$withval" = yes; then
1844 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1845 elif test "$withval" = no
; then
1846 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1847 elif test "$withval" = sys
; then
1848 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1850 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1855 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1856 if test "x$LINE" != x
; then
1857 eval "DEFAULT_$LINE"
1862 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1867 eval "$ac_cv_use_zlib"
1868 if test "$no_cache" != 1; then
1869 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1872 if test "$wxUSE_ZLIB" = yes; then
1873 echo "$ac_t""yes" 1>&6
1874 elif test "$wxUSE_ZLIB" = no
; then
1875 echo "$ac_t""no" 1>&6
1876 elif test "$wxUSE_ZLIB" = sys
; then
1877 echo "$ac_t""system version" 1>&6
1879 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1883 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1884 echo "configure:1885: checking "for --with-odbc"" >&5
1886 # Check whether --with-odbc or --without-odbc was given.
1887 if test "${with_odbc+set}" = set; then
1888 withval
="$with_odbc"
1890 if test "$withval" = yes; then
1891 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1893 ac_cv_use_odbc
='wxUSE_ODBC=no'
1898 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1899 if test "x$LINE" != x
; then
1900 eval "DEFAULT_$LINE"
1905 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1910 eval "$ac_cv_use_odbc"
1911 if test "$no_cache" != 1; then
1912 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1915 if test "$wxUSE_ODBC" = yes; then
1916 echo "$ac_t""yes" 1>&6
1918 echo "$ac_t""no" 1>&6
1925 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1926 echo "configure:1927: checking "for --enable-shared"" >&5
1928 # Check whether --enable-shared or --disable-shared was given.
1929 if test "${enable_shared+set}" = set; then
1930 enableval
="$enable_shared"
1932 if test "$enableval" = yes; then
1933 ac_cv_use_shared
='wxUSE_SHARED=yes'
1935 ac_cv_use_shared
='wxUSE_SHARED=no'
1940 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1941 if test "x$LINE" != x
; then
1942 eval "DEFAULT_$LINE"
1947 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1952 eval "$ac_cv_use_shared"
1953 if test "$no_cache" != 1; then
1954 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1957 if test "$wxUSE_SHARED" = yes; then
1958 echo "$ac_t""yes" 1>&6
1960 echo "$ac_t""no" 1>&6
1964 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1965 echo "configure:1966: checking "for --enable-burnt_name"" >&5
1967 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1968 if test "${enable_burnt_name+set}" = set; then
1969 enableval
="$enable_burnt_name"
1971 if test "$enableval" = yes; then
1972 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1974 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1979 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1980 if test "x$LINE" != x
; then
1981 eval "DEFAULT_$LINE"
1986 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1991 eval "$ac_cv_use_burnt_name"
1992 if test "$no_cache" != 1; then
1993 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1996 if test "$wxUSE_BURNT_NAME" = yes; then
1997 echo "$ac_t""yes" 1>&6
1999 echo "$ac_t""no" 1>&6
2003 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2004 echo "configure:2005: checking "for --enable-optimise"" >&5
2006 # Check whether --enable-optimise or --disable-optimise was given.
2007 if test "${enable_optimise+set}" = set; then
2008 enableval
="$enable_optimise"
2010 if test "$enableval" = yes; then
2011 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2013 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2018 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2019 if test "x$LINE" != x
; then
2020 eval "DEFAULT_$LINE"
2025 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2030 eval "$ac_cv_use_optimise"
2031 if test "$no_cache" != 1; then
2032 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2035 if test "$wxUSE_OPTIMISE" = yes; then
2036 echo "$ac_t""yes" 1>&6
2038 echo "$ac_t""no" 1>&6
2042 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2043 echo "configure:2044: checking "for --enable-debug"" >&5
2045 # Check whether --enable-debug or --disable-debug was given.
2046 if test "${enable_debug+set}" = set; then
2047 enableval
="$enable_debug"
2049 if test "$enableval" = yes; then
2050 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2052 ac_cv_use_debug
='wxUSE_DEBUG=no'
2057 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2058 if test "x$LINE" != x
; then
2059 eval "DEFAULT_$LINE"
2064 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2069 eval "$ac_cv_use_debug"
2070 if test "$no_cache" != 1; then
2071 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2074 if test "$wxUSE_DEBUG" = yes; then
2075 echo "$ac_t""yes" 1>&6
2077 echo "$ac_t""no" 1>&6
2081 if test "$wxUSE_DEBUG" = "yes"; then
2082 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2083 DEFAULT_wxUSE_DEBUG_INFO
=yes
2084 elif test "$wxUSE_DEBUG" = "no"; then
2085 DEFAULT_wxUSE_DEBUG_FLAG
=no
2086 DEFAULT_wxUSE_DEBUG_INFO
=no
2090 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2091 echo "configure:2092: checking "for --enable-debug_flag"" >&5
2093 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2094 if test "${enable_debug_flag+set}" = set; then
2095 enableval
="$enable_debug_flag"
2097 if test "$enableval" = yes; then
2098 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2100 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2105 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x
; then
2107 eval "DEFAULT_$LINE"
2112 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2117 eval "$ac_cv_use_debug_flag"
2118 if test "$no_cache" != 1; then
2119 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2122 if test "$wxUSE_DEBUG_FLAG" = yes; then
2123 echo "$ac_t""yes" 1>&6
2125 echo "$ac_t""no" 1>&6
2129 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2130 echo "configure:2131: checking "for --enable-debug_info"" >&5
2132 # Check whether --enable-debug_info or --disable-debug_info was given.
2133 if test "${enable_debug_info+set}" = set; then
2134 enableval
="$enable_debug_info"
2136 if test "$enableval" = yes; then
2137 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2139 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2144 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2145 if test "x$LINE" != x
; then
2146 eval "DEFAULT_$LINE"
2151 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2156 eval "$ac_cv_use_debug_info"
2157 if test "$no_cache" != 1; then
2158 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2161 if test "$wxUSE_DEBUG_INFO" = yes; then
2162 echo "$ac_t""yes" 1>&6
2164 echo "$ac_t""no" 1>&6
2168 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2169 echo "configure:2170: checking "for --enable-debug_gdb"" >&5
2171 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2172 if test "${enable_debug_gdb+set}" = set; then
2173 enableval
="$enable_debug_gdb"
2175 if test "$enableval" = yes; then
2176 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2178 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2183 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2184 if test "x$LINE" != x
; then
2185 eval "DEFAULT_$LINE"
2190 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2195 eval "$ac_cv_use_debug_gdb"
2196 if test "$no_cache" != 1; then
2197 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2200 if test "$wxUSE_DEBUG_GDB" = yes; then
2201 echo "$ac_t""yes" 1>&6
2203 echo "$ac_t""no" 1>&6
2207 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2208 echo "configure:2209: checking "for --enable-debug_cntxt"" >&5
2210 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2211 if test "${enable_debug_cntxt+set}" = set; then
2212 enableval
="$enable_debug_cntxt"
2214 if test "$enableval" = yes; then
2215 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2217 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2222 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2223 if test "x$LINE" != x
; then
2224 eval "DEFAULT_$LINE"
2229 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2234 eval "$ac_cv_use_debug_cntxt"
2235 if test "$no_cache" != 1; then
2236 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2239 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2240 echo "$ac_t""yes" 1>&6
2242 echo "$ac_t""no" 1>&6
2246 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2247 echo "configure:2248: checking "for --enable-mem_tracing"" >&5
2249 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2250 if test "${enable_mem_tracing+set}" = set; then
2251 enableval
="$enable_mem_tracing"
2253 if test "$enableval" = yes; then
2254 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2256 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2261 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2273 eval "$ac_cv_use_mem_tracing"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_MEM_TRACING" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2285 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2286 echo "configure:2287: checking "for --enable-profile"" >&5
2288 # Check whether --enable-profile or --disable-profile was given.
2289 if test "${enable_profile+set}" = set; then
2290 enableval
="$enable_profile"
2292 if test "$enableval" = yes; then
2293 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2295 ac_cv_use_profile
='wxUSE_PROFILE=no'
2300 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2301 if test "x$LINE" != x
; then
2302 eval "DEFAULT_$LINE"
2307 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2312 eval "$ac_cv_use_profile"
2313 if test "$no_cache" != 1; then
2314 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2317 if test "$wxUSE_PROFILE" = yes; then
2318 echo "$ac_t""yes" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2325 echo "configure:2326: checking "for --enable-no_rtti"" >&5
2327 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2328 if test "${enable_no_rtti+set}" = set; then
2329 enableval
="$enable_no_rtti"
2331 if test "$enableval" = yes; then
2332 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2334 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2339 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2340 if test "x$LINE" != x
; then
2341 eval "DEFAULT_$LINE"
2346 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2351 eval "$ac_cv_use_no_rtti"
2352 if test "$no_cache" != 1; then
2353 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2356 if test "$wxUSE_NO_RTTI" = yes; then
2357 echo "$ac_t""yes" 1>&6
2359 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2364 echo "configure:2365: checking "for --enable-no_exceptions"" >&5
2366 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2367 if test "${enable_no_exceptions+set}" = set; then
2368 enableval
="$enable_no_exceptions"
2370 if test "$enableval" = yes; then
2371 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2373 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2378 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2379 if test "x$LINE" != x
; then
2380 eval "DEFAULT_$LINE"
2385 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2390 eval "$ac_cv_use_no_exceptions"
2391 if test "$no_cache" != 1; then
2392 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2395 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2396 echo "$ac_t""yes" 1>&6
2398 echo "$ac_t""no" 1>&6
2402 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2403 echo "configure:2404: checking "for --enable-permissive"" >&5
2405 # Check whether --enable-permissive or --disable-permissive was given.
2406 if test "${enable_permissive+set}" = set; then
2407 enableval
="$enable_permissive"
2409 if test "$enableval" = yes; then
2410 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2412 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2417 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2418 if test "x$LINE" != x
; then
2419 eval "DEFAULT_$LINE"
2424 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2429 eval "$ac_cv_use_permissive"
2430 if test "$no_cache" != 1; then
2431 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2434 if test "$wxUSE_PERMISSIVE" = yes; then
2435 echo "$ac_t""yes" 1>&6
2437 echo "$ac_t""no" 1>&6
2441 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2442 echo "configure:2443: checking "for --enable-no_deps"" >&5
2444 # Check whether --enable-no_deps or --disable-no_deps was given.
2445 if test "${enable_no_deps+set}" = set; then
2446 enableval
="$enable_no_deps"
2448 if test "$enableval" = yes; then
2449 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2451 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2456 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x
; then
2458 eval "DEFAULT_$LINE"
2463 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2468 eval "$ac_cv_use_no_deps"
2469 if test "$no_cache" != 1; then
2470 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2473 if test "$wxUSE_NO_DEPS" = yes; then
2474 echo "$ac_t""yes" 1>&6
2476 echo "$ac_t""no" 1>&6
2482 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2483 echo "configure:2484: checking "for --enable-intl"" >&5
2485 # Check whether --enable-intl or --disable-intl was given.
2486 if test "${enable_intl+set}" = set; then
2487 enableval
="$enable_intl"
2489 if test "$enableval" = yes; then
2490 ac_cv_use_intl
='wxUSE_INTL=yes'
2492 ac_cv_use_intl
='wxUSE_INTL=no'
2497 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2498 if test "x$LINE" != x
; then
2499 eval "DEFAULT_$LINE"
2504 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2509 eval "$ac_cv_use_intl"
2510 if test "$no_cache" != 1; then
2511 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2514 if test "$wxUSE_INTL" = yes; then
2515 echo "$ac_t""yes" 1>&6
2517 echo "$ac_t""no" 1>&6
2521 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2522 echo "configure:2523: checking "for --enable-config"" >&5
2524 # Check whether --enable-config or --disable-config was given.
2525 if test "${enable_config+set}" = set; then
2526 enableval
="$enable_config"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_config
='wxUSE_CONFIG=yes'
2531 ac_cv_use_config
='wxUSE_CONFIG=no'
2536 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2548 eval "$ac_cv_use_config"
2549 if test "$no_cache" != 1; then
2550 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2553 if test "$wxUSE_CONFIG" = yes; then
2554 echo "$ac_t""yes" 1>&6
2556 echo "$ac_t""no" 1>&6
2561 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2562 echo "configure:2563: checking "for --enable-sockets"" >&5
2564 # Check whether --enable-sockets or --disable-sockets was given.
2565 if test "${enable_sockets+set}" = set; then
2566 enableval
="$enable_sockets"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2571 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2576 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2588 eval "$ac_cv_use_sockets"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_SOCKETS" = yes; then
2594 echo "$ac_t""yes" 1>&6
2596 echo "$ac_t""no" 1>&6
2601 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2602 echo "configure:2603: checking "for --enable-ipc"" >&5
2604 # Check whether --enable-ipc or --disable-ipc was given.
2605 if test "${enable_ipc+set}" = set; then
2606 enableval
="$enable_ipc"
2608 if test "$enableval" = yes; then
2609 ac_cv_use_ipc
='wxUSE_IPC=yes'
2611 ac_cv_use_ipc
='wxUSE_IPC=no'
2616 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2617 if test "x$LINE" != x
; then
2618 eval "DEFAULT_$LINE"
2623 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2628 eval "$ac_cv_use_ipc"
2629 if test "$no_cache" != 1; then
2630 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2633 if test "$wxUSE_IPC" = yes; then
2634 echo "$ac_t""yes" 1>&6
2636 echo "$ac_t""no" 1>&6
2641 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2642 echo "configure:2643: checking "for --enable-dialupman"" >&5
2644 # Check whether --enable-dialupman or --disable-dialupman was given.
2645 if test "${enable_dialupman+set}" = set; then
2646 enableval
="$enable_dialupman"
2648 if test "$enableval" = yes; then
2649 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2651 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2656 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x
; then
2658 eval "DEFAULT_$LINE"
2663 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2668 eval "$ac_cv_use_dialupman"
2669 if test "$no_cache" != 1; then
2670 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2673 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2674 echo "$ac_t""yes" 1>&6
2676 echo "$ac_t""no" 1>&6
2680 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2681 echo "configure:2682: checking "for --enable-apple_ieee"" >&5
2683 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2684 if test "${enable_apple_ieee+set}" = set; then
2685 enableval
="$enable_apple_ieee"
2687 if test "$enableval" = yes; then
2688 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2690 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2695 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x
; then
2697 eval "DEFAULT_$LINE"
2702 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2707 eval "$ac_cv_use_apple_ieee"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_APPLE_IEEE" = yes; then
2713 echo "$ac_t""yes" 1>&6
2715 echo "$ac_t""no" 1>&6
2719 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2720 echo "configure:2721: checking "for --enable-timedate"" >&5
2722 # Check whether --enable-timedate or --disable-timedate was given.
2723 if test "${enable_timedate+set}" = set; then
2724 enableval
="$enable_timedate"
2726 if test "$enableval" = yes; then
2727 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2729 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2734 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2746 eval "$ac_cv_use_timedate"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_TIMEDATE" = yes; then
2752 echo "$ac_t""yes" 1>&6
2754 echo "$ac_t""no" 1>&6
2758 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2759 echo "configure:2760: checking "for --enable-wave"" >&5
2761 # Check whether --enable-wave or --disable-wave was given.
2762 if test "${enable_wave+set}" = set; then
2763 enableval
="$enable_wave"
2765 if test "$enableval" = yes; then
2766 ac_cv_use_wave
='wxUSE_WAVE=yes'
2768 ac_cv_use_wave
='wxUSE_WAVE=no'
2773 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2785 eval "$ac_cv_use_wave"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_WAVE" = yes; then
2791 echo "$ac_t""yes" 1>&6
2793 echo "$ac_t""no" 1>&6
2797 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2798 echo "configure:2799: checking "for --enable-fraction"" >&5
2800 # Check whether --enable-fraction or --disable-fraction was given.
2801 if test "${enable_fraction+set}" = set; then
2802 enableval
="$enable_fraction"
2804 if test "$enableval" = yes; then
2805 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2807 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2812 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2813 if test "x$LINE" != x
; then
2814 eval "DEFAULT_$LINE"
2819 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2824 eval "$ac_cv_use_fraction"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2829 if test "$wxUSE_FRACTION" = yes; then
2830 echo "$ac_t""yes" 1>&6
2832 echo "$ac_t""no" 1>&6
2836 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2837 echo "configure:2838: checking "for --enable-dynlib"" >&5
2839 # Check whether --enable-dynlib or --disable-dynlib was given.
2840 if test "${enable_dynlib+set}" = set; then
2841 enableval
="$enable_dynlib"
2843 if test "$enableval" = yes; then
2844 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2846 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2851 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x
; then
2853 eval "DEFAULT_$LINE"
2858 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2863 eval "$ac_cv_use_dynlib"
2864 if test "$no_cache" != 1; then
2865 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2868 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2869 echo "$ac_t""yes" 1>&6
2871 echo "$ac_t""no" 1>&6
2875 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2876 echo "configure:2877: checking "for --enable-longlong"" >&5
2878 # Check whether --enable-longlong or --disable-longlong was given.
2879 if test "${enable_longlong+set}" = set; then
2880 enableval
="$enable_longlong"
2882 if test "$enableval" = yes; then
2883 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2885 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2890 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2897 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2902 eval "$ac_cv_use_longlong"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2907 if test "$wxUSE_LONGLONG" = yes; then
2908 echo "$ac_t""yes" 1>&6
2910 echo "$ac_t""no" 1>&6
2914 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2915 echo "configure:2916: checking "for --enable-log"" >&5
2917 # Check whether --enable-log or --disable-log was given.
2918 if test "${enable_log+set}" = set; then
2919 enableval
="$enable_log"
2921 if test "$enableval" = yes; then
2922 ac_cv_use_log
='wxUSE_LOG=yes'
2924 ac_cv_use_log
='wxUSE_LOG=no'
2929 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2930 if test "x$LINE" != x
; then
2931 eval "DEFAULT_$LINE"
2936 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2941 eval "$ac_cv_use_log"
2942 if test "$no_cache" != 1; then
2943 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2946 if test "$wxUSE_LOG" = yes; then
2947 echo "$ac_t""yes" 1>&6
2949 echo "$ac_t""no" 1>&6
2953 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2954 echo "configure:2955: checking "for --enable-streams"" >&5
2956 # Check whether --enable-streams or --disable-streams was given.
2957 if test "${enable_streams+set}" = set; then
2958 enableval
="$enable_streams"
2960 if test "$enableval" = yes; then
2961 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2963 ac_cv_use_streams
='wxUSE_STREAMS=no'
2968 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2969 if test "x$LINE" != x
; then
2970 eval "DEFAULT_$LINE"
2975 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2980 eval "$ac_cv_use_streams"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2985 if test "$wxUSE_STREAMS" = yes; then
2986 echo "$ac_t""yes" 1>&6
2988 echo "$ac_t""no" 1>&6
2992 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2993 echo "configure:2994: checking "for --enable-file"" >&5
2995 # Check whether --enable-file or --disable-file was given.
2996 if test "${enable_file+set}" = set; then
2997 enableval
="$enable_file"
2999 if test "$enableval" = yes; then
3000 ac_cv_use_file
='wxUSE_FILE=yes'
3002 ac_cv_use_file
='wxUSE_FILE=no'
3007 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x
; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3019 eval "$ac_cv_use_file"
3020 if test "$no_cache" != 1; then
3021 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3024 if test "$wxUSE_FILE" = yes; then
3025 echo "$ac_t""yes" 1>&6
3027 echo "$ac_t""no" 1>&6
3031 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3032 echo "configure:3033: checking "for --enable-textfile"" >&5
3034 # Check whether --enable-textfile or --disable-textfile was given.
3035 if test "${enable_textfile+set}" = set; then
3036 enableval
="$enable_textfile"
3038 if test "$enableval" = yes; then
3039 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3041 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3046 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x
; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3058 eval "$ac_cv_use_textfile"
3059 if test "$no_cache" != 1; then
3060 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3063 if test "$wxUSE_TEXTFILE" = yes; then
3064 echo "$ac_t""yes" 1>&6
3066 echo "$ac_t""no" 1>&6
3070 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3071 echo "configure:3072: checking "for --enable-unicode"" >&5
3073 # Check whether --enable-unicode or --disable-unicode was given.
3074 if test "${enable_unicode+set}" = set; then
3075 enableval
="$enable_unicode"
3077 if test "$enableval" = yes; then
3078 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3080 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3085 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3086 if test "x$LINE" != x
; then
3087 eval "DEFAULT_$LINE"
3092 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3097 eval "$ac_cv_use_unicode"
3098 if test "$no_cache" != 1; then
3099 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3102 if test "$wxUSE_UNICODE" = yes; then
3103 echo "$ac_t""yes" 1>&6
3105 echo "$ac_t""no" 1>&6
3109 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3110 echo "configure:3111: checking "for --enable-wcsrtombs"" >&5
3112 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3113 if test "${enable_wcsrtombs+set}" = set; then
3114 enableval
="$enable_wcsrtombs"
3116 if test "$enableval" = yes; then
3117 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3119 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3124 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3136 eval "$ac_cv_use_wcsrtombs"
3137 if test "$no_cache" != 1; then
3138 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3141 if test "$wxUSE_WCSRTOMBS" = yes; then
3142 echo "$ac_t""yes" 1>&6
3144 echo "$ac_t""no" 1>&6
3148 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3149 echo "configure:3150: checking "for --enable-wxprintfv"" >&5
3151 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3152 if test "${enable_wxprintfv+set}" = set; then
3153 enableval
="$enable_wxprintfv"
3155 if test "$enableval" = yes; then
3156 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3158 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3163 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3175 eval "$ac_cv_use_wxprintfv"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3180 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3181 echo "$ac_t""yes" 1>&6
3183 echo "$ac_t""no" 1>&6
3187 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3188 echo "configure:3189: checking "for --enable-std_iostreams"" >&5
3190 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3191 if test "${enable_std_iostreams+set}" = set; then
3192 enableval
="$enable_std_iostreams"
3194 if test "$enableval" = yes; then
3195 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3197 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3202 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x
; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3214 eval "$ac_cv_use_std_iostreams"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3219 if test "$wxUSE_STD_IOSTREAM" = yes; then
3220 echo "$ac_t""yes" 1>&6
3222 echo "$ac_t""no" 1>&6
3226 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3227 echo "configure:3228: checking "for --enable-filesystem"" >&5
3229 # Check whether --enable-filesystem or --disable-filesystem was given.
3230 if test "${enable_filesystem+set}" = set; then
3231 enableval
="$enable_filesystem"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3236 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3241 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3253 eval "$ac_cv_use_filesystem"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_FILESYSTEM" = yes; then
3259 echo "$ac_t""yes" 1>&6
3261 echo "$ac_t""no" 1>&6
3265 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3266 echo "configure:3267: checking "for --enable-fs_inet"" >&5
3268 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3269 if test "${enable_fs_inet+set}" = set; then
3270 enableval
="$enable_fs_inet"
3272 if test "$enableval" = yes; then
3273 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3275 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3280 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x
; then
3282 eval "DEFAULT_$LINE"
3287 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3292 eval "$ac_cv_use_fs_inet"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3297 if test "$wxUSE_FS_INET" = yes; then
3298 echo "$ac_t""yes" 1>&6
3300 echo "$ac_t""no" 1>&6
3304 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3305 echo "configure:3306: checking "for --enable-fs_zip"" >&5
3307 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3308 if test "${enable_fs_zip+set}" = set; then
3309 enableval
="$enable_fs_zip"
3311 if test "$enableval" = yes; then
3312 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3314 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3319 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3331 eval "$ac_cv_use_fs_zip"
3332 if test "$no_cache" != 1; then
3333 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3336 if test "$wxUSE_FS_ZIP" = yes; then
3337 echo "$ac_t""yes" 1>&6
3339 echo "$ac_t""no" 1>&6
3343 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3344 echo "configure:3345: checking "for --enable-zipstream"" >&5
3346 # Check whether --enable-zipstream or --disable-zipstream was given.
3347 if test "${enable_zipstream+set}" = set; then
3348 enableval
="$enable_zipstream"
3350 if test "$enableval" = yes; then
3351 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3353 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3358 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x
; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3370 eval "$ac_cv_use_zipstream"
3371 if test "$no_cache" != 1; then
3372 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3375 if test "$wxUSE_ZIPSTREAM" = yes; then
3376 echo "$ac_t""yes" 1>&6
3378 echo "$ac_t""no" 1>&6
3383 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3384 echo "configure:3385: checking "for --enable-catch_segvs"" >&5
3386 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3387 if test "${enable_catch_segvs+set}" = set; then
3388 enableval
="$enable_catch_segvs"
3390 if test "$enableval" = yes; then
3391 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3393 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3398 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x
; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3410 eval "$ac_cv_use_catch_segvs"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3416 echo "$ac_t""yes" 1>&6
3418 echo "$ac_t""no" 1>&6
3424 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3425 echo "configure:3426: checking "for --enable-threads"" >&5
3427 # Check whether --enable-threads or --disable-threads was given.
3428 if test "${enable_threads+set}" = set; then
3429 enableval
="$enable_threads"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_threads
='wxUSE_THREADS=yes'
3434 ac_cv_use_threads
='wxUSE_THREADS=no'
3439 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x
; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3451 eval "$ac_cv_use_threads"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_THREADS" = yes; then
3457 echo "$ac_t""yes" 1>&6
3459 echo "$ac_t""no" 1>&6
3463 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3464 echo "configure:3465: checking "for --enable-serial"" >&5
3466 # Check whether --enable-serial or --disable-serial was given.
3467 if test "${enable_serial+set}" = set; then
3468 enableval
="$enable_serial"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3473 ac_cv_use_serial
='wxUSE_SERIAL=no'
3478 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3490 eval "$ac_cv_use_serial"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_SERIAL" = yes; then
3496 echo "$ac_t""yes" 1>&6
3498 echo "$ac_t""no" 1>&6
3502 if test "$wxUSE_GUI" = "yes"; then
3506 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3507 echo "configure:3508: checking "for --enable-docview"" >&5
3509 # Check whether --enable-docview or --disable-docview was given.
3510 if test "${enable_docview+set}" = set; then
3511 enableval
="$enable_docview"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3516 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3521 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3533 eval "$ac_cv_use_docview"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3539 echo "$ac_t""yes" 1>&6
3541 echo "$ac_t""no" 1>&6
3545 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3546 echo "configure:3547: checking "for --enable-help"" >&5
3548 # Check whether --enable-help or --disable-help was given.
3549 if test "${enable_help+set}" = set; then
3550 enableval
="$enable_help"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_help
='wxUSE_HELP=yes'
3555 ac_cv_use_help
='wxUSE_HELP=no'
3560 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3572 eval "$ac_cv_use_help"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_HELP" = yes; then
3578 echo "$ac_t""yes" 1>&6
3580 echo "$ac_t""no" 1>&6
3584 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3585 echo "configure:3586: checking "for --enable-constraints"" >&5
3587 # Check whether --enable-constraints or --disable-constraints was given.
3588 if test "${enable_constraints+set}" = set; then
3589 enableval
="$enable_constraints"
3591 if test "$enableval" = yes; then
3592 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3594 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3599 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3600 if test "x$LINE" != x
; then
3601 eval "DEFAULT_$LINE"
3606 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3611 eval "$ac_cv_use_constraints"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_CONSTRAINTS" = yes; then
3617 echo "$ac_t""yes" 1>&6
3619 echo "$ac_t""no" 1>&6
3623 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3624 echo "configure:3625: checking "for --enable-printarch"" >&5
3626 # Check whether --enable-printarch or --disable-printarch was given.
3627 if test "${enable_printarch+set}" = set; then
3628 enableval
="$enable_printarch"
3630 if test "$enableval" = yes; then
3631 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3633 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3638 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x
; then
3640 eval "DEFAULT_$LINE"
3645 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3650 eval "$ac_cv_use_printarch"
3651 if test "$no_cache" != 1; then
3652 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3655 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3656 echo "$ac_t""yes" 1>&6
3658 echo "$ac_t""no" 1>&6
3662 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3663 echo "configure:3664: checking "for --enable-mdi"" >&5
3665 # Check whether --enable-mdi or --disable-mdi was given.
3666 if test "${enable_mdi+set}" = set; then
3667 enableval
="$enable_mdi"
3669 if test "$enableval" = yes; then
3670 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3672 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3677 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x
; then
3679 eval "DEFAULT_$LINE"
3684 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3689 eval "$ac_cv_use_mdi"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3695 echo "$ac_t""yes" 1>&6
3697 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3703 echo "configure:3704: checking "for --enable-postscript"" >&5
3705 # Check whether --enable-postscript or --disable-postscript was given.
3706 if test "${enable_postscript+set}" = set; then
3707 enableval
="$enable_postscript"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3712 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3717 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3729 eval "$ac_cv_use_postscript"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_POSTSCRIPT" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3744 echo "configure:3745: checking "for --enable-prologio"" >&5
3746 # Check whether --enable-prologio or --disable-prologio was given.
3747 if test "${enable_prologio+set}" = set; then
3748 enableval
="$enable_prologio"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3753 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3758 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3770 eval "$ac_cv_use_prologio"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_PROLOGIO" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3783 echo "configure:3784: checking "for --enable-resources"" >&5
3785 # Check whether --enable-resources or --disable-resources was given.
3786 if test "${enable_resources+set}" = set; then
3787 enableval
="$enable_resources"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3792 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3797 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3809 eval "$ac_cv_use_resources"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_RESOURCES" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3823 echo "configure:3824: checking "for --enable-xresources"" >&5
3825 # Check whether --enable-xresources or --disable-xresources was given.
3826 if test "${enable_xresources+set}" = set; then
3827 enableval
="$enable_xresources"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3832 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3837 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3849 eval "$ac_cv_use_xresources"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_X_RESOURCES" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3863 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3864 echo "configure:3865: checking "for --enable-clipboard"" >&5
3866 # Check whether --enable-clipboard or --disable-clipboard was given.
3867 if test "${enable_clipboard+set}" = set; then
3868 enableval
="$enable_clipboard"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3873 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3878 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x
; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3890 eval "$ac_cv_use_clipboard"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_CLIPBOARD" = yes; then
3896 echo "$ac_t""yes" 1>&6
3898 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3903 echo "configure:3904: checking "for --enable-dnd"" >&5
3905 # Check whether --enable-dnd or --disable-dnd was given.
3906 if test "${enable_dnd+set}" = set; then
3907 enableval
="$enable_dnd"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3912 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3917 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3929 eval "$ac_cv_use_dnd"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3942 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3943 echo "configure:3944: checking "for --enable-wxtree"" >&5
3945 # Check whether --enable-wxtree or --disable-wxtree was given.
3946 if test "${enable_wxtree+set}" = set; then
3947 enableval
="$enable_wxtree"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3952 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3957 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x
; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3969 eval "$ac_cv_use_wxtree"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3974 if test "$wxUSE_WXTREE" = yes; then
3975 echo "$ac_t""yes" 1>&6
3977 echo "$ac_t""no" 1>&6
3983 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3984 echo "configure:3985: checking "for --enable-controls"" >&5
3986 # Check whether --enable-controls or --disable-controls was given.
3987 if test "${enable_controls+set}" = set; then
3988 enableval
="$enable_controls"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3993 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3998 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4010 eval "$ac_cv_use_controls"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4015 if test "$wxUSE_CONTROLS" = yes; then
4016 echo "$ac_t""yes" 1>&6
4018 echo "$ac_t""no" 1>&6
4022 if test "$wxUSE_CONTROLS" = "yes"; then
4023 DEFAULT_wxUSE_ACCEL
=yes
4024 DEFAULT_wxUSE_CARET
=yes
4025 DEFAULT_wxUSE_COMBOBOX
=yes
4026 DEFAULT_wxUSE_BMPBUTTON
=yes
4027 DEFAULT_wxUSE_CHECKBOX
=yes
4028 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4029 DEFAULT_wxUSE_CHOICE
=yes
4030 DEFAULT_wxUSE_GAUGE
=yes
4031 DEFAULT_wxUSE_GRID
=yes
4032 DEFAULT_wxUSE_NEW_GRID
=yes
4033 DEFAULT_wxUSE_IMAGLIST
=yes
4034 DEFAULT_wxUSE_LISTBOX
=yes
4035 DEFAULT_wxUSE_LISTCTRL
=yes
4036 DEFAULT_wxUSE_NOTEBOOK
=yes
4037 DEFAULT_wxUSE_RADIOBOX
=yes
4038 DEFAULT_wxUSE_RADIOBTN
=yes
4039 DEFAULT_wxUSE_SASH
=yes
4040 DEFAULT_wxUSE_SCROLLBAR
=yes
4041 DEFAULT_wxUSE_SLIDER
=yes
4042 DEFAULT_wxUSE_SPINBTN
=yes
4043 DEFAULT_wxUSE_SPINCTRL
=yes
4044 DEFAULT_wxUSE_SPLITTER
=yes
4045 DEFAULT_wxUSE_STATBMP
=yes
4046 DEFAULT_wxUSE_STATBOX
=yes
4047 DEFAULT_wxUSE_STATLINE
=yes
4048 DEFAULT_wxUSE_STATUSBAR
=yes
4049 DEFAULT_wxUSE_TAB_DIALOG
=yes
4050 DEFAULT_wxUSE_TOOLBAR
=yes
4051 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4052 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4053 DEFAULT_wxUSE_TOOLTIPS
=yes
4054 DEFAULT_wxUSE_TREECTRL
=yes
4055 elif test "$wxUSE_CONTROLS" = "no"; then
4056 DEFAULT_wxUSE_ACCEL
=no
4057 DEFAULT_wxUSE_CARET
=no
4058 DEFAULT_wxUSE_COMBOBOX
=no
4059 DEFAULT_wxUSE_BMPBUTTON
=no
4060 DEFAULT_wxUSE_CHECKBOX
=no
4061 DEFAULT_wxUSE_CHECKLISTBOX
=no
4062 DEFAULT_wxUSE_CHOICE
=no
4063 DEFAULT_wxUSE_GAUGE
=no
4064 DEFAULT_wxUSE_GRID
=no
4065 DEFAULT_wxUSE_NEW_GRID
=no
4066 DEFAULT_wxUSE_IMAGLIST
=no
4067 DEFAULT_wxUSE_LISTBOX
=no
4068 DEFAULT_wxUSE_LISTCTRL
=no
4069 DEFAULT_wxUSE_NOTEBOOK
=no
4070 DEFAULT_wxUSE_RADIOBOX
=no
4071 DEFAULT_wxUSE_RADIOBTN
=no
4072 DEFAULT_wxUSE_SASH
=no
4073 DEFAULT_wxUSE_SCROLLBAR
=no
4074 DEFAULT_wxUSE_SLIDER
=no
4075 DEFAULT_wxUSE_SPINBTN
=no
4076 DEFAULT_wxUSE_SPINCTRL
=no
4077 DEFAULT_wxUSE_SPLITTER
=no
4078 DEFAULT_wxUSE_STATBMP
=no
4079 DEFAULT_wxUSE_STATBOX
=no
4080 DEFAULT_wxUSE_STATLINE
=no
4081 DEFAULT_wxUSE_STATUSBAR
=no
4082 DEFAULT_wxUSE_TAB_DIALOG
=no
4083 DEFAULT_wxUSE_TOOLBAR
=no
4084 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4085 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4086 DEFAULT_wxUSE_TOOLTIPS
=no
4087 DEFAULT_wxUSE_TREECTRL
=no
4091 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4092 echo "configure:4093: checking "for --enable-accel"" >&5
4094 # Check whether --enable-accel or --disable-accel was given.
4095 if test "${enable_accel+set}" = set; then
4096 enableval
="$enable_accel"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4101 ac_cv_use_accel
='wxUSE_ACCEL=no'
4106 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x
; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4118 eval "$ac_cv_use_accel"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4123 if test "$wxUSE_ACCEL" = yes; then
4124 echo "$ac_t""yes" 1>&6
4126 echo "$ac_t""no" 1>&6
4130 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4131 echo "configure:4132: checking "for --enable-caret"" >&5
4133 # Check whether --enable-caret or --disable-caret was given.
4134 if test "${enable_caret+set}" = set; then
4135 enableval
="$enable_caret"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_caret
='wxUSE_CARET=yes'
4140 ac_cv_use_caret
='wxUSE_CARET=no'
4145 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4157 eval "$ac_cv_use_caret"
4158 if test "$no_cache" != 1; then
4159 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4162 if test "$wxUSE_CARET" = yes; then
4163 echo "$ac_t""yes" 1>&6
4165 echo "$ac_t""no" 1>&6
4169 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4170 echo "configure:4171: checking "for --enable-bmpbutton"" >&5
4172 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4173 if test "${enable_bmpbutton+set}" = set; then
4174 enableval
="$enable_bmpbutton"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4179 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4184 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4196 eval "$ac_cv_use_bmpbutton"
4197 if test "$no_cache" != 1; then
4198 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4201 if test "$wxUSE_BMPBUTTON" = yes; then
4202 echo "$ac_t""yes" 1>&6
4204 echo "$ac_t""no" 1>&6
4208 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4209 echo "configure:4210: checking "for --enable-checkbox"" >&5
4211 # Check whether --enable-checkbox or --disable-checkbox was given.
4212 if test "${enable_checkbox+set}" = set; then
4213 enableval
="$enable_checkbox"
4215 if test "$enableval" = yes; then
4216 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4218 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4223 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x
; then
4225 eval "DEFAULT_$LINE"
4230 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4235 eval "$ac_cv_use_checkbox"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4240 if test "$wxUSE_CHECKBOX" = yes; then
4241 echo "$ac_t""yes" 1>&6
4243 echo "$ac_t""no" 1>&6
4247 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4248 echo "configure:4249: checking "for --enable-checklst"" >&5
4250 # Check whether --enable-checklst or --disable-checklst was given.
4251 if test "${enable_checklst+set}" = set; then
4252 enableval
="$enable_checklst"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4257 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4262 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4274 eval "$ac_cv_use_checklst"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_CHECKLST" = yes; then
4280 echo "$ac_t""yes" 1>&6
4282 echo "$ac_t""no" 1>&6
4286 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4287 echo "configure:4288: checking "for --enable-choice"" >&5
4289 # Check whether --enable-choice or --disable-choice was given.
4290 if test "${enable_choice+set}" = set; then
4291 enableval
="$enable_choice"
4293 if test "$enableval" = yes; then
4294 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4296 ac_cv_use_choice
='wxUSE_CHOICE=no'
4301 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4302 if test "x$LINE" != x
; then
4303 eval "DEFAULT_$LINE"
4308 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4313 eval "$ac_cv_use_choice"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4318 if test "$wxUSE_CHOICE" = yes; then
4319 echo "$ac_t""yes" 1>&6
4321 echo "$ac_t""no" 1>&6
4325 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4326 echo "configure:4327: checking "for --enable-combobox"" >&5
4328 # Check whether --enable-combobox or --disable-combobox was given.
4329 if test "${enable_combobox+set}" = set; then
4330 enableval
="$enable_combobox"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4335 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4340 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4352 eval "$ac_cv_use_combobox"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_COMBOBOX" = yes; then
4358 echo "$ac_t""yes" 1>&6
4360 echo "$ac_t""no" 1>&6
4364 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4365 echo "configure:4366: checking "for --enable-gauge"" >&5
4367 # Check whether --enable-gauge or --disable-gauge was given.
4368 if test "${enable_gauge+set}" = set; then
4369 enableval
="$enable_gauge"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4374 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4379 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x
; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4391 eval "$ac_cv_use_gauge"
4392 if test "$no_cache" != 1; then
4393 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4396 if test "$wxUSE_GAUGE" = yes; then
4397 echo "$ac_t""yes" 1>&6
4399 echo "$ac_t""no" 1>&6
4403 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4404 echo "configure:4405: checking "for --enable-grid"" >&5
4406 # Check whether --enable-grid or --disable-grid was given.
4407 if test "${enable_grid+set}" = set; then
4408 enableval
="$enable_grid"
4410 if test "$enableval" = yes; then
4411 ac_cv_use_grid
='wxUSE_GRID=yes'
4413 ac_cv_use_grid
='wxUSE_GRID=no'
4418 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x
; then
4420 eval "DEFAULT_$LINE"
4425 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4430 eval "$ac_cv_use_grid"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4435 if test "$wxUSE_GRID" = yes; then
4436 echo "$ac_t""yes" 1>&6
4438 echo "$ac_t""no" 1>&6
4442 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4443 echo "configure:4444: checking "for --enable-newgrid"" >&5
4445 # Check whether --enable-newgrid or --disable-newgrid was given.
4446 if test "${enable_newgrid+set}" = set; then
4447 enableval
="$enable_newgrid"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4452 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4457 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x
; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4469 eval "$ac_cv_use_newgrid"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4474 if test "$wxUSE_NEW_GRID" = yes; then
4475 echo "$ac_t""yes" 1>&6
4477 echo "$ac_t""no" 1>&6
4481 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4482 echo "configure:4483: checking "for --enable-imaglist"" >&5
4484 # Check whether --enable-imaglist or --disable-imaglist was given.
4485 if test "${enable_imaglist+set}" = set; then
4486 enableval
="$enable_imaglist"
4488 if test "$enableval" = yes; then
4489 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4491 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4496 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4497 if test "x$LINE" != x
; then
4498 eval "DEFAULT_$LINE"
4503 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4508 eval "$ac_cv_use_imaglist"
4509 if test "$no_cache" != 1; then
4510 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4513 if test "$wxUSE_IMAGLIST" = yes; then
4514 echo "$ac_t""yes" 1>&6
4516 echo "$ac_t""no" 1>&6
4520 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4521 echo "configure:4522: checking "for --enable-listbox"" >&5
4523 # Check whether --enable-listbox or --disable-listbox was given.
4524 if test "${enable_listbox+set}" = set; then
4525 enableval
="$enable_listbox"
4527 if test "$enableval" = yes; then
4528 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4530 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4535 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x
; then
4537 eval "DEFAULT_$LINE"
4542 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4547 eval "$ac_cv_use_listbox"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4552 if test "$wxUSE_LISTBOX" = yes; then
4553 echo "$ac_t""yes" 1>&6
4555 echo "$ac_t""no" 1>&6
4559 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4560 echo "configure:4561: checking "for --enable-listctrl"" >&5
4562 # Check whether --enable-listctrl or --disable-listctrl was given.
4563 if test "${enable_listctrl+set}" = set; then
4564 enableval
="$enable_listctrl"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4569 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4574 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x
; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4586 eval "$ac_cv_use_listctrl"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4591 if test "$wxUSE_LISTCTRL" = yes; then
4592 echo "$ac_t""yes" 1>&6
4594 echo "$ac_t""no" 1>&6
4598 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4599 echo "configure:4600: checking "for --enable-notebook"" >&5
4601 # Check whether --enable-notebook or --disable-notebook was given.
4602 if test "${enable_notebook+set}" = set; then
4603 enableval
="$enable_notebook"
4605 if test "$enableval" = yes; then
4606 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4608 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4613 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x
; then
4615 eval "DEFAULT_$LINE"
4620 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4625 eval "$ac_cv_use_notebook"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_NOTEBOOK" = yes; then
4631 echo "$ac_t""yes" 1>&6
4633 echo "$ac_t""no" 1>&6
4637 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4638 echo "configure:4639: checking "for --enable-radiobox"" >&5
4640 # Check whether --enable-radiobox or --disable-radiobox was given.
4641 if test "${enable_radiobox+set}" = set; then
4642 enableval
="$enable_radiobox"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4647 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4652 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4664 eval "$ac_cv_use_radiobox"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_RADIOBOX" = yes; then
4670 echo "$ac_t""yes" 1>&6
4672 echo "$ac_t""no" 1>&6
4676 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4677 echo "configure:4678: checking "for --enable-radiobtn"" >&5
4679 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4680 if test "${enable_radiobtn+set}" = set; then
4681 enableval
="$enable_radiobtn"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4686 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4691 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4703 eval "$ac_cv_use_radiobtn"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4708 if test "$wxUSE_RADIOBTN" = yes; then
4709 echo "$ac_t""yes" 1>&6
4711 echo "$ac_t""no" 1>&6
4715 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4716 echo "configure:4717: checking "for --enable-sash"" >&5
4718 # Check whether --enable-sash or --disable-sash was given.
4719 if test "${enable_sash+set}" = set; then
4720 enableval
="$enable_sash"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_sash
='wxUSE_SASH=yes'
4725 ac_cv_use_sash
='wxUSE_SASH=no'
4730 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4742 eval "$ac_cv_use_sash"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4747 if test "$wxUSE_SASH" = yes; then
4748 echo "$ac_t""yes" 1>&6
4750 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4755 echo "configure:4756: checking "for --enable-scrollbar"" >&5
4757 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4758 if test "${enable_scrollbar+set}" = set; then
4759 enableval
="$enable_scrollbar"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4764 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4769 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4781 eval "$ac_cv_use_scrollbar"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_SCROLLBAR" = yes; then
4787 echo "$ac_t""yes" 1>&6
4789 echo "$ac_t""no" 1>&6
4793 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4794 echo "configure:4795: checking "for --enable-slider"" >&5
4796 # Check whether --enable-slider or --disable-slider was given.
4797 if test "${enable_slider+set}" = set; then
4798 enableval
="$enable_slider"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4803 ac_cv_use_slider
='wxUSE_SLIDER=no'
4808 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x
; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4820 eval "$ac_cv_use_slider"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4825 if test "$wxUSE_SLIDER" = yes; then
4826 echo "$ac_t""yes" 1>&6
4828 echo "$ac_t""no" 1>&6
4832 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4833 echo "configure:4834: checking "for --enable-spinbtn"" >&5
4835 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4836 if test "${enable_spinbtn+set}" = set; then
4837 enableval
="$enable_spinbtn"
4839 if test "$enableval" = yes; then
4840 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4842 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4847 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x
; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4859 eval "$ac_cv_use_spinbtn"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4864 if test "$wxUSE_SPINBTN" = yes; then
4865 echo "$ac_t""yes" 1>&6
4867 echo "$ac_t""no" 1>&6
4871 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4872 echo "configure:4873: checking "for --enable-spinctrl"" >&5
4874 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4875 if test "${enable_spinctrl+set}" = set; then
4876 enableval
="$enable_spinctrl"
4878 if test "$enableval" = yes; then
4879 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4881 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4886 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4887 if test "x$LINE" != x
; then
4888 eval "DEFAULT_$LINE"
4893 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4898 eval "$ac_cv_use_spinctrl"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_SPINCTRL" = yes; then
4904 echo "$ac_t""yes" 1>&6
4906 echo "$ac_t""no" 1>&6
4910 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4911 echo "configure:4912: checking "for --enable-splitter"" >&5
4913 # Check whether --enable-splitter or --disable-splitter was given.
4914 if test "${enable_splitter+set}" = set; then
4915 enableval
="$enable_splitter"
4917 if test "$enableval" = yes; then
4918 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4920 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4925 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4926 if test "x$LINE" != x
; then
4927 eval "DEFAULT_$LINE"
4932 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4937 eval "$ac_cv_use_splitter"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4942 if test "$wxUSE_SPLITTER" = yes; then
4943 echo "$ac_t""yes" 1>&6
4945 echo "$ac_t""no" 1>&6
4949 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4950 echo "configure:4951: checking "for --enable-statbmp"" >&5
4952 # Check whether --enable-statbmp or --disable-statbmp was given.
4953 if test "${enable_statbmp+set}" = set; then
4954 enableval
="$enable_statbmp"
4956 if test "$enableval" = yes; then
4957 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4959 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4964 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x
; then
4966 eval "DEFAULT_$LINE"
4971 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4976 eval "$ac_cv_use_statbmp"
4977 if test "$no_cache" != 1; then
4978 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4981 if test "$wxUSE_STATBMP" = yes; then
4982 echo "$ac_t""yes" 1>&6
4984 echo "$ac_t""no" 1>&6
4988 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4989 echo "configure:4990: checking "for --enable-statbox"" >&5
4991 # Check whether --enable-statbox or --disable-statbox was given.
4992 if test "${enable_statbox+set}" = set; then
4993 enableval
="$enable_statbox"
4995 if test "$enableval" = yes; then
4996 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4998 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5003 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x
; then
5005 eval "DEFAULT_$LINE"
5010 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5015 eval "$ac_cv_use_statbox"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_STATBOX" = yes; then
5021 echo "$ac_t""yes" 1>&6
5023 echo "$ac_t""no" 1>&6
5027 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5028 echo "configure:5029: checking "for --enable-statline"" >&5
5030 # Check whether --enable-statline or --disable-statline was given.
5031 if test "${enable_statline+set}" = set; then
5032 enableval
="$enable_statline"
5034 if test "$enableval" = yes; then
5035 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5037 ac_cv_use_statline
='wxUSE_STATLINE=no'
5042 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x
; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5054 eval "$ac_cv_use_statline"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5059 if test "$wxUSE_STATLINE" = yes; then
5060 echo "$ac_t""yes" 1>&6
5062 echo "$ac_t""no" 1>&6
5066 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5067 echo "configure:5068: checking "for --enable-statusbar"" >&5
5069 # Check whether --enable-statusbar or --disable-statusbar was given.
5070 if test "${enable_statusbar+set}" = set; then
5071 enableval
="$enable_statusbar"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5076 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5081 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5093 eval "$ac_cv_use_statusbar"
5094 if test "$no_cache" != 1; then
5095 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5098 if test "$wxUSE_STATUSBAR" = yes; then
5099 echo "$ac_t""yes" 1>&6
5101 echo "$ac_t""no" 1>&6
5105 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5106 echo "configure:5107: checking "for --enable-tabdialog"" >&5
5108 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5109 if test "${enable_tabdialog+set}" = set; then
5110 enableval
="$enable_tabdialog"
5112 if test "$enableval" = yes; then
5113 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5115 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5120 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x
; then
5122 eval "DEFAULT_$LINE"
5127 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5132 eval "$ac_cv_use_tabdialog"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_TABDIALOG" = yes; then
5138 echo "$ac_t""yes" 1>&6
5140 echo "$ac_t""no" 1>&6
5144 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5145 echo "configure:5146: checking "for --enable-toolbar"" >&5
5147 # Check whether --enable-toolbar or --disable-toolbar was given.
5148 if test "${enable_toolbar+set}" = set; then
5149 enableval
="$enable_toolbar"
5151 if test "$enableval" = yes; then
5152 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5154 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5159 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5160 if test "x$LINE" != x
; then
5161 eval "DEFAULT_$LINE"
5166 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5171 eval "$ac_cv_use_toolbar"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_TOOLBAR" = yes; then
5177 echo "$ac_t""yes" 1>&6
5179 echo "$ac_t""no" 1>&6
5183 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5184 echo "configure:5185: checking "for --enable-tbarnative"" >&5
5186 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5187 if test "${enable_tbarnative+set}" = set; then
5188 enableval
="$enable_tbarnative"
5190 if test "$enableval" = yes; then
5191 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5193 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5198 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x
; then
5200 eval "DEFAULT_$LINE"
5205 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5210 eval "$ac_cv_use_tbarnative"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5215 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5216 echo "$ac_t""yes" 1>&6
5218 echo "$ac_t""no" 1>&6
5222 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5223 echo "configure:5224: checking "for --enable-tbarsmpl"" >&5
5225 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5226 if test "${enable_tbarsmpl+set}" = set; then
5227 enableval
="$enable_tbarsmpl"
5229 if test "$enableval" = yes; then
5230 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5232 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5237 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5238 if test "x$LINE" != x
; then
5239 eval "DEFAULT_$LINE"
5244 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5249 eval "$ac_cv_use_tbarsmpl"
5250 if test "$no_cache" != 1; then
5251 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5254 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5255 echo "$ac_t""yes" 1>&6
5257 echo "$ac_t""no" 1>&6
5261 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5262 echo "configure:5263: checking "for --enable-treectrl"" >&5
5264 # Check whether --enable-treectrl or --disable-treectrl was given.
5265 if test "${enable_treectrl+set}" = set; then
5266 enableval
="$enable_treectrl"
5268 if test "$enableval" = yes; then
5269 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5271 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5276 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5277 if test "x$LINE" != x
; then
5278 eval "DEFAULT_$LINE"
5283 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5288 eval "$ac_cv_use_treectrl"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5293 if test "$wxUSE_TREECTRL" = yes; then
5294 echo "$ac_t""yes" 1>&6
5296 echo "$ac_t""no" 1>&6
5302 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5303 echo "configure:5304: checking "for --enable-commondlg"" >&5
5305 # Check whether --enable-commondlg or --disable-commondlg was given.
5306 if test "${enable_commondlg+set}" = set; then
5307 enableval
="$enable_commondlg"
5309 if test "$enableval" = yes; then
5310 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5312 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5317 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5318 if test "x$LINE" != x
; then
5319 eval "DEFAULT_$LINE"
5324 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5329 eval "$ac_cv_use_commondlg"
5330 if test "$no_cache" != 1; then
5331 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5334 if test "$wxUSE_COMMONDLGS" = yes; then
5335 echo "$ac_t""yes" 1>&6
5337 echo "$ac_t""no" 1>&6
5341 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5342 echo "configure:5343: checking "for --enable-dirdlg"" >&5
5344 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5345 if test "${enable_dirdlg+set}" = set; then
5346 enableval
="$enable_dirdlg"
5348 if test "$enableval" = yes; then
5349 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5351 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5356 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5363 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5368 eval "$ac_cv_use_dirdlg"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_DIRDLG" = yes; then
5374 echo "$ac_t""yes" 1>&6
5376 echo "$ac_t""no" 1>&6
5380 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5381 echo "configure:5382: checking "for --enable-textdlg"" >&5
5383 # Check whether --enable-textdlg or --disable-textdlg was given.
5384 if test "${enable_textdlg+set}" = set; then
5385 enableval
="$enable_textdlg"
5387 if test "$enableval" = yes; then
5388 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5390 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5395 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x
; then
5397 eval "DEFAULT_$LINE"
5402 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5407 eval "$ac_cv_use_textdlg"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5412 if test "$wxUSE_TEXTDLG" = yes; then
5413 echo "$ac_t""yes" 1>&6
5415 echo "$ac_t""no" 1>&6
5419 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5420 echo "configure:5421: checking "for --enable-tipdlg"" >&5
5422 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5423 if test "${enable_tipdlg+set}" = set; then
5424 enableval
="$enable_tipdlg"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5429 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5434 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5446 eval "$ac_cv_use_tipdlg"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_STARTUP_TIPS" = yes; then
5452 echo "$ac_t""yes" 1>&6
5454 echo "$ac_t""no" 1>&6
5458 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5459 echo "configure:5460: checking "for --enable-progressdlg"" >&5
5461 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5462 if test "${enable_progressdlg+set}" = set; then
5463 enableval
="$enable_progressdlg"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5468 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5473 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x
; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5485 eval "$ac_cv_use_progressdlg"
5486 if test "$no_cache" != 1; then
5487 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5490 if test "$wxUSE_PROGRESSDLG" = yes; then
5491 echo "$ac_t""yes" 1>&6
5493 echo "$ac_t""no" 1>&6
5497 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5498 echo "configure:5499: checking "for --enable-miniframe"" >&5
5500 # Check whether --enable-miniframe or --disable-miniframe was given.
5501 if test "${enable_miniframe+set}" = set; then
5502 enableval
="$enable_miniframe"
5504 if test "$enableval" = yes; then
5505 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5507 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5512 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5513 if test "x$LINE" != x
; then
5514 eval "DEFAULT_$LINE"
5519 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5524 eval "$ac_cv_use_miniframe"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_MINIFRAME" = yes; then
5530 echo "$ac_t""yes" 1>&6
5532 echo "$ac_t""no" 1>&6
5536 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5537 echo "configure:5538: checking "for --enable-html"" >&5
5539 # Check whether --enable-html or --disable-html was given.
5540 if test "${enable_html+set}" = set; then
5541 enableval
="$enable_html"
5543 if test "$enableval" = yes; then
5544 ac_cv_use_html
='wxUSE_HTML=yes'
5546 ac_cv_use_html
='wxUSE_HTML=no'
5551 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5552 if test "x$LINE" != x
; then
5553 eval "DEFAULT_$LINE"
5558 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5563 eval "$ac_cv_use_html"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_HTML" = yes; then
5569 echo "$ac_t""yes" 1>&6
5571 echo "$ac_t""no" 1>&6
5575 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5576 echo "configure:5577: checking "for --enable-tooltips"" >&5
5578 # Check whether --enable-tooltips or --disable-tooltips was given.
5579 if test "${enable_tooltips+set}" = set; then
5580 enableval
="$enable_tooltips"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5585 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5590 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x
; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5602 eval "$ac_cv_use_tooltips"
5603 if test "$no_cache" != 1; then
5604 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5607 if test "$wxUSE_TOOLTIPS" = yes; then
5608 echo "$ac_t""yes" 1>&6
5610 echo "$ac_t""no" 1>&6
5614 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5615 echo "configure:5616: checking "for --enable-splines"" >&5
5617 # Check whether --enable-splines or --disable-splines was given.
5618 if test "${enable_splines+set}" = set; then
5619 enableval
="$enable_splines"
5621 if test "$enableval" = yes; then
5622 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5624 ac_cv_use_splines
='wxUSE_SPLINES=no'
5629 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5630 if test "x$LINE" != x
; then
5631 eval "DEFAULT_$LINE"
5636 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5641 eval "$ac_cv_use_splines"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_SPLINES" = yes; then
5647 echo "$ac_t""yes" 1>&6
5649 echo "$ac_t""no" 1>&6
5653 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5654 echo "configure:5655: checking "for --enable-validators"" >&5
5656 # Check whether --enable-validators or --disable-validators was given.
5657 if test "${enable_validators+set}" = set; then
5658 enableval
="$enable_validators"
5660 if test "$enableval" = yes; then
5661 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5663 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5668 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5669 if test "x$LINE" != x
; then
5670 eval "DEFAULT_$LINE"
5675 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5680 eval "$ac_cv_use_validators"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_VALIDATORS" = yes; then
5686 echo "$ac_t""yes" 1>&6
5688 echo "$ac_t""no" 1>&6
5692 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5693 echo "configure:5694: checking "for --enable-busyinfo"" >&5
5695 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5696 if test "${enable_busyinfo+set}" = set; then
5697 enableval
="$enable_busyinfo"
5699 if test "$enableval" = yes; then
5700 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5702 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5707 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x
; then
5709 eval "DEFAULT_$LINE"
5714 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5719 eval "$ac_cv_use_busyinfo"
5720 if test "$no_cache" != 1; then
5721 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5724 if test "$wxUSE_BUSYINFO" = yes; then
5725 echo "$ac_t""yes" 1>&6
5727 echo "$ac_t""no" 1>&6
5731 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5732 echo "configure:5733: checking "for --enable-plot"" >&5
5734 # Check whether --enable-plot or --disable-plot was given.
5735 if test "${enable_plot+set}" = set; then
5736 enableval
="$enable_plot"
5738 if test "$enableval" = yes; then
5739 ac_cv_use_plot
='wxUSE_PLOT=yes'
5741 ac_cv_use_plot
='wxUSE_PLOT=no'
5746 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5747 if test "x$LINE" != x
; then
5748 eval "DEFAULT_$LINE"
5753 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5758 eval "$ac_cv_use_plot"
5759 if test "$no_cache" != 1; then
5760 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5763 if test "$wxUSE_PLOT" = yes; then
5764 echo "$ac_t""yes" 1>&6
5766 echo "$ac_t""no" 1>&6
5770 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5771 echo "configure:5772: checking "for --enable-joystick"" >&5
5773 # Check whether --enable-joystick or --disable-joystick was given.
5774 if test "${enable_joystick+set}" = set; then
5775 enableval
="$enable_joystick"
5777 if test "$enableval" = yes; then
5778 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5780 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5785 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x
; then
5787 eval "DEFAULT_$LINE"
5792 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5797 eval "$ac_cv_use_joystick"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_JOYSTICK" = yes; then
5803 echo "$ac_t""yes" 1>&6
5805 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5812 echo "configure:5813: checking "for --enable-gif"" >&5
5814 # Check whether --enable-gif or --disable-gif was given.
5815 if test "${enable_gif+set}" = set; then
5816 enableval
="$enable_gif"
5818 if test "$enableval" = yes; then
5819 ac_cv_use_gif
='wxUSE_GIF=yes'
5821 ac_cv_use_gif
='wxUSE_GIF=no'
5826 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5833 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5838 eval "$ac_cv_use_gif"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_GIF" = yes; then
5844 echo "$ac_t""yes" 1>&6
5846 echo "$ac_t""no" 1>&6
5850 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5851 echo "configure:5852: checking "for --enable-pcx"" >&5
5853 # Check whether --enable-pcx or --disable-pcx was given.
5854 if test "${enable_pcx+set}" = set; then
5855 enableval
="$enable_pcx"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_pcx
='wxUSE_PCX=yes'
5860 ac_cv_use_pcx
='wxUSE_PCX=no'
5865 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5877 eval "$ac_cv_use_pcx"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_PCX" = yes; then
5883 echo "$ac_t""yes" 1>&6
5885 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5890 echo "configure:5891: checking "for --enable-pnm"" >&5
5892 # Check whether --enable-pnm or --disable-pnm was given.
5893 if test "${enable_pnm+set}" = set; then
5894 enableval
="$enable_pnm"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_pnm
='wxUSE_PNM=yes'
5899 ac_cv_use_pnm
='wxUSE_PNM=no'
5904 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5916 eval "$ac_cv_use_pnm"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_PNM" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5931 echo "saving argument cache $wx_arg_cache_file"
5932 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5936 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5937 echo "configure:5938: checking for toolkit" >&5
5939 if test "$wxUSE_GUI" = "yes"; then
5941 if test "$USE_BEOS" = 1; then
5942 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5945 if test "$TOOLKIT_GIVEN" = 1; then
5946 for toolkit
in `echo $ALL_TOOLKITS`; do
5948 eval "value=\$${var}"
5949 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5952 for toolkit
in `echo $ALL_TOOLKITS`; do
5953 if test "$has_toolkit_in_cache" != 1; then
5954 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5956 var
=DEFAULT_wxUSE_
$toolkit
5958 eval "wxUSE_$toolkit=\$${var}"
5962 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5966 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5967 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5976 case "$NUM_TOOLKITS" in
5980 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5983 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5986 for toolkit
in `echo $ALL_TOOLKITS`; do
5988 eval "value=\$${var}"
5989 if test "x$value" != x
; then
5990 cache_var
=CACHE_
$toolkit
5991 eval "cache=\$${cache_var}"
5992 if test "$cache" = 1; then
5993 echo "$var=$value" >> ${wx_arg_cache_file}
5995 if test "$value" = 1; then
5996 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6003 echo "$ac_t""base only" 1>&6
6007 cat > confcache
<<\EOF
6008 # This file is a shell script that caches the results of configure
6009 # tests run on this system so they can be shared between configure
6010 # scripts and configure runs. It is not useful on other systems.
6011 # If it contains results you don't want to keep, you may remove or edit it.
6013 # By default, configure uses ./config.cache as the cache file,
6014 # creating it if it does not exist already. You can give configure
6015 # the --cache-file=FILE option to use a different cache file; that is
6016 # what configure does when it calls configure scripts in
6017 # subdirectories, so they share the cache.
6018 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6019 # config.status only pays attention to the cache file if you give it the
6020 # --recheck option to rerun configure.
6023 # The following way of writing the cache mishandles newlines in values,
6024 # but we know of no workaround that is simple, portable, and efficient.
6025 # So, don't put newlines in cache variables' values.
6026 # Ultrix sh set writes to stderr and can't be redirected directly,
6027 # and sets the high bit in the cache file unless we assign to the vars.
6029 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6031 # `set' does not quote correctly, so add quotes (double-quote substitution
6032 # turns \\\\ into \\, and sed turns \\ into \).
6034 -e "s/'/'\\\\''/g" \
6035 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6038 # `set' quotes correctly as required by POSIX, so do not add quotes.
6039 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6042 if cmp -s $cache_file confcache
; then
6045 if test -w $cache_file; then
6046 echo "updating cache $cache_file"
6047 cat confcache
> $cache_file
6049 echo "not updating unwritable cache $cache_file"
6055 if test "$build" != "$host" ; then
6059 RANLIB
=$host_alias-ranlib
6060 DLLTOOL
=$host_alias-dlltool
6061 RESCOMP
=$host_alias-windres
6064 STRIP
=$host_alias-strip
6067 # Extract the first word of "gcc", so it can be a program name with args.
6068 set dummy gcc
; ac_word
=$2
6069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6070 echo "configure:6071: checking for $ac_word" >&5
6071 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6072 echo $ac_n "(cached) $ac_c" 1>&6
6074 if test -n "$CC"; then
6075 ac_cv_prog_CC
="$CC" # Let the user override the test.
6077 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6079 for ac_dir
in $ac_dummy; do
6080 test -z "$ac_dir" && ac_dir
=.
6081 if test -f $ac_dir/$ac_word; then
6090 if test -n "$CC"; then
6091 echo "$ac_t""$CC" 1>&6
6093 echo "$ac_t""no" 1>&6
6096 if test -z "$CC"; then
6097 # Extract the first word of "cc", so it can be a program name with args.
6098 set dummy cc
; ac_word
=$2
6099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6100 echo "configure:6101: checking for $ac_word" >&5
6101 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6102 echo $ac_n "(cached) $ac_c" 1>&6
6104 if test -n "$CC"; then
6105 ac_cv_prog_CC
="$CC" # Let the user override the test.
6107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6110 for ac_dir
in $ac_dummy; do
6111 test -z "$ac_dir" && ac_dir
=.
6112 if test -f $ac_dir/$ac_word; then
6113 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6114 ac_prog_rejected
=yes
6122 if test $ac_prog_rejected = yes; then
6123 # We found a bogon in the path, so make sure we never use it.
6124 set dummy
$ac_cv_prog_CC
6126 if test $# -gt 0; then
6127 # We chose a different compiler from the bogus one.
6128 # However, it has the same basename, so the bogon will be chosen
6129 # first if we set CC to just the basename; use the full file name.
6131 set dummy
"$ac_dir/$ac_word" "$@"
6139 if test -n "$CC"; then
6140 echo "$ac_t""$CC" 1>&6
6142 echo "$ac_t""no" 1>&6
6145 if test -z "$CC"; then
6146 case "`uname -s`" in
6148 # Extract the first word of "cl", so it can be a program name with args.
6149 set dummy cl
; ac_word
=$2
6150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6151 echo "configure:6152: checking for $ac_word" >&5
6152 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6153 echo $ac_n "(cached) $ac_c" 1>&6
6155 if test -n "$CC"; then
6156 ac_cv_prog_CC
="$CC" # Let the user override the test.
6158 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6160 for ac_dir
in $ac_dummy; do
6161 test -z "$ac_dir" && ac_dir
=.
6162 if test -f $ac_dir/$ac_word; then
6171 if test -n "$CC"; then
6172 echo "$ac_t""$CC" 1>&6
6174 echo "$ac_t""no" 1>&6
6179 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6182 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6183 echo "configure:6184: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6187 ac_cpp
='$CPP $CPPFLAGS'
6188 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6189 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6190 cross_compiling
=$ac_cv_prog_cc_cross
6192 cat > conftest.
$ac_ext << EOF
6194 #line 6195 "configure"
6195 #include "confdefs.h"
6199 if { (eval echo configure
:6200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6200 ac_cv_prog_cc_works
=yes
6201 # If we can't run a trivial program, we are probably using a cross compiler.
6202 if (.
/conftest
; exit) 2>/dev
/null
; then
6203 ac_cv_prog_cc_cross
=no
6205 ac_cv_prog_cc_cross
=yes
6208 echo "configure: failed program was:" >&5
6209 cat conftest.
$ac_ext >&5
6210 ac_cv_prog_cc_works
=no
6214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6215 ac_cpp
='$CPP $CPPFLAGS'
6216 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6217 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6218 cross_compiling
=$ac_cv_prog_cc_cross
6220 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6221 if test $ac_cv_prog_cc_works = no
; then
6222 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6224 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6225 echo "configure:6226: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6226 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6227 cross_compiling
=$ac_cv_prog_cc_cross
6229 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6230 echo "configure:6231: checking whether we are using GNU C" >&5
6231 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 cat > conftest.c
<<EOF
6239 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6246 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6248 if test $ac_cv_prog_gcc = yes; then
6254 ac_test_CFLAGS
="${CFLAGS+set}"
6255 ac_save_CFLAGS
="$CFLAGS"
6257 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6258 echo "configure:6259: checking whether ${CC-cc} accepts -g" >&5
6259 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6260 echo $ac_n "(cached) $ac_c" 1>&6
6262 echo 'void f(){}' > conftest.c
6263 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6272 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6273 if test "$ac_test_CFLAGS" = set; then
6274 CFLAGS
="$ac_save_CFLAGS"
6275 elif test $ac_cv_prog_cc_g = yes; then
6276 if test "$GCC" = yes; then
6282 if test "$GCC" = yes; then
6290 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6292 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6293 echo "configure:6294: checking how to run the C preprocessor" >&5
6294 # On Suns, sometimes $CPP names a directory.
6295 if test -n "$CPP" && test -d "$CPP"; then
6298 if test -z "$CPP"; then
6299 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6300 echo $ac_n "(cached) $ac_c" 1>&6
6302 # This must be in double quotes, not single quotes, because CPP may get
6303 # substituted into the Makefile and "${CC-cc}" will confuse make.
6305 # On the NeXT, cc -E runs the code through the compiler's parser,
6306 # not just through cpp.
6307 cat > conftest.
$ac_ext <<EOF
6308 #line 6309 "configure"
6309 #include "confdefs.h"
6313 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6314 { (eval echo configure
:6315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6315 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6316 if test -z "$ac_err"; then
6320 echo "configure: failed program was:" >&5
6321 cat conftest.
$ac_ext >&5
6323 CPP
="${CC-cc} -E -traditional-cpp"
6324 cat > conftest.
$ac_ext <<EOF
6325 #line 6326 "configure"
6326 #include "confdefs.h"
6330 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6331 { (eval echo configure
:6332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6332 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6333 if test -z "$ac_err"; then
6337 echo "configure: failed program was:" >&5
6338 cat conftest.
$ac_ext >&5
6340 CPP
="${CC-cc} -nologo -E"
6341 cat > conftest.
$ac_ext <<EOF
6342 #line 6343 "configure"
6343 #include "confdefs.h"
6347 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6348 { (eval echo configure
:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6349 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6350 if test -z "$ac_err"; then
6354 echo "configure: failed program was:" >&5
6355 cat conftest.
$ac_ext >&5
6364 ac_cv_prog_CPP
="$CPP"
6366 CPP
="$ac_cv_prog_CPP"
6368 ac_cv_prog_CPP
="$CPP"
6370 echo "$ac_t""$CPP" 1>&6
6373 if test $ac_cv_prog_gcc = yes; then
6374 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6375 echo "configure:6376: checking whether ${CC-cc} needs -traditional" >&5
6376 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6377 echo $ac_n "(cached) $ac_c" 1>&6
6379 ac_pattern
="Autoconf.*'x'"
6380 cat > conftest.
$ac_ext <<EOF
6381 #line 6382 "configure"
6382 #include "confdefs.h"
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 egrep "$ac_pattern" >/dev
/null
2>&1; then
6389 ac_cv_prog_gcc_traditional
=yes
6392 ac_cv_prog_gcc_traditional
=no
6397 if test $ac_cv_prog_gcc_traditional = no
; then
6398 cat > conftest.
$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6405 egrep "$ac_pattern" >/dev
/null
2>&1; then
6407 ac_cv_prog_gcc_traditional
=yes
6414 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6415 if test $ac_cv_prog_gcc_traditional = yes; then
6416 CC
="$CC -traditional"
6423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6424 ac_cpp
='$CXXCPP $CPPFLAGS'
6425 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6426 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6427 cross_compiling
=$ac_cv_prog_cxx_cross
6430 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6432 # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy
$ac_prog; ac_word
=$2
6434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6435 echo "configure:6436: checking for $ac_word" >&5
6436 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6437 echo $ac_n "(cached) $ac_c" 1>&6
6439 if test -n "$CXX"; then
6440 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6442 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6444 for ac_dir
in $ac_dummy; do
6445 test -z "$ac_dir" && ac_dir
=.
6446 if test -f $ac_dir/$ac_word; then
6447 ac_cv_prog_CXX
="$ac_prog"
6454 CXX
="$ac_cv_prog_CXX"
6455 if test -n "$CXX"; then
6456 echo "$ac_t""$CXX" 1>&6
6458 echo "$ac_t""no" 1>&6
6461 test -n "$CXX" && break
6463 test -n "$CXX" || CXX
="gcc"
6466 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6467 echo "configure:6468: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6471 ac_cpp
='$CXXCPP $CPPFLAGS'
6472 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6473 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6474 cross_compiling
=$ac_cv_prog_cxx_cross
6476 cat > conftest.
$ac_ext << EOF
6478 #line 6479 "configure"
6479 #include "confdefs.h"
6481 int main(){return(0);}
6483 if { (eval echo configure
:6484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6484 ac_cv_prog_cxx_works
=yes
6485 # If we can't run a trivial program, we are probably using a cross compiler.
6486 if (.
/conftest
; exit) 2>/dev
/null
; then
6487 ac_cv_prog_cxx_cross
=no
6489 ac_cv_prog_cxx_cross
=yes
6492 echo "configure: failed program was:" >&5
6493 cat conftest.
$ac_ext >&5
6494 ac_cv_prog_cxx_works
=no
6498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6499 ac_cpp
='$CXXCPP $CPPFLAGS'
6500 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6501 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6502 cross_compiling
=$ac_cv_prog_cxx_cross
6504 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6505 if test $ac_cv_prog_cxx_works = no
; then
6506 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6508 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6509 echo "configure:6510: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6510 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6511 cross_compiling
=$ac_cv_prog_cxx_cross
6513 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6514 echo "configure:6515: checking whether we are using GNU C++" >&5
6515 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6516 echo $ac_n "(cached) $ac_c" 1>&6
6518 cat > conftest.C
<<EOF
6523 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6530 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6532 if test $ac_cv_prog_gxx = yes; then
6538 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6539 ac_save_CXXFLAGS
="$CXXFLAGS"
6541 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6542 echo "configure:6543: checking whether ${CXX-g++} accepts -g" >&5
6543 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6544 echo $ac_n "(cached) $ac_c" 1>&6
6546 echo 'void f(){}' > conftest.cc
6547 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6548 ac_cv_prog_cxx_g
=yes
6556 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6557 if test "$ac_test_CXXFLAGS" = set; then
6558 CXXFLAGS
="$ac_save_CXXFLAGS"
6559 elif test $ac_cv_prog_cxx_g = yes; then
6560 if test "$GXX" = yes; then
6566 if test "$GXX" = yes; then
6574 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6575 echo "configure:6576: checking how to run the C++ preprocessor" >&5
6576 if test -z "$CXXCPP"; then
6577 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6578 echo $ac_n "(cached) $ac_c" 1>&6
6581 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6582 ac_cpp
='$CXXCPP $CPPFLAGS'
6583 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6584 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6585 cross_compiling
=$ac_cv_prog_cxx_cross
6586 CXXCPP
="${CXX-g++} -E"
6587 cat > conftest.
$ac_ext <<EOF
6588 #line 6589 "configure"
6589 #include "confdefs.h"
6592 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6593 { (eval echo configure
:6594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6594 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6595 if test -z "$ac_err"; then
6599 echo "configure: failed program was:" >&5
6600 cat conftest.
$ac_ext >&5
6605 ac_cv_prog_CXXCPP
="$CXXCPP"
6607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6608 ac_cpp
='$CXXCPP $CPPFLAGS'
6609 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6610 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6611 cross_compiling
=$ac_cv_prog_cxx_cross
6614 CXXCPP
="$ac_cv_prog_CXXCPP"
6615 echo "$ac_t""$CXXCPP" 1>&6
6618 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6622 ac_cpp
='$CPP $CPPFLAGS'
6623 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6624 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6625 cross_compiling
=$ac_cv_prog_cc_cross
6628 # Extract the first word of "ranlib", so it can be a program name with args.
6629 set dummy ranlib
; ac_word
=$2
6630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6631 echo "configure:6632: checking for $ac_word" >&5
6632 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6633 echo $ac_n "(cached) $ac_c" 1>&6
6635 if test -n "$RANLIB"; then
6636 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6640 for ac_dir
in $ac_dummy; do
6641 test -z "$ac_dir" && ac_dir
=.
6642 if test -f $ac_dir/$ac_word; then
6643 ac_cv_prog_RANLIB
="ranlib"
6648 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6651 RANLIB
="$ac_cv_prog_RANLIB"
6652 if test -n "$RANLIB"; then
6653 echo "$ac_t""$RANLIB" 1>&6
6655 echo "$ac_t""no" 1>&6
6659 # Extract the first word of "ar", so it can be a program name with args.
6660 set dummy
ar; ac_word
=$2
6661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6662 echo "configure:6663: checking for $ac_word" >&5
6663 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6664 echo $ac_n "(cached) $ac_c" 1>&6
6666 if test -n "$AR"; then
6667 ac_cv_prog_AR
="$AR" # Let the user override the test.
6669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6671 for ac_dir
in $ac_dummy; do
6672 test -z "$ac_dir" && ac_dir
=.
6673 if test -f $ac_dir/$ac_word; then
6679 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6683 if test -n "$AR"; then
6684 echo "$ac_t""$AR" 1>&6
6686 echo "$ac_t""no" 1>&6
6690 # Find a good install program. We prefer a C program (faster),
6691 # so one script is as good as another. But avoid the broken or
6692 # incompatible versions:
6693 # SysV /etc/install, /usr/sbin/install
6694 # SunOS /usr/etc/install
6695 # IRIX /sbin/install
6697 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6698 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6699 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6700 # ./install, which can be erroneously created by make from ./install.sh.
6701 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6702 echo "configure:6703: checking for a BSD compatible install" >&5
6703 if test -z "$INSTALL"; then
6704 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6705 echo $ac_n "(cached) $ac_c" 1>&6
6707 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6708 for ac_dir
in $PATH; do
6709 # Account for people who put trailing slashes in PATH elements.
6711 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6713 # OSF1 and SCO ODT 3.0 have their own names for install.
6714 # Don't use installbsd from OSF since it installs stuff as root
6716 for ac_prog
in ginstall scoinst
install; do
6717 if test -f $ac_dir/$ac_prog; then
6718 if test $ac_prog = install &&
6719 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6720 # AIX install. It has an incompatible calling convention.
6723 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6734 if test "${ac_cv_path_install+set}" = set; then
6735 INSTALL
="$ac_cv_path_install"
6737 # As a last resort, use the slow shell script. We don't cache a
6738 # path for INSTALL within a source directory, because that will
6739 # break other packages using the cache if that directory is
6740 # removed, or if the path is relative.
6741 INSTALL
="$ac_install_sh"
6744 echo "$ac_t""$INSTALL" 1>&6
6746 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6747 # It thinks the first close brace ends the variable substitution.
6748 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6750 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6752 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6755 # Extract the first word of "strip", so it can be a program name with args.
6756 set dummy strip
; ac_word
=$2
6757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6758 echo "configure:6759: checking for $ac_word" >&5
6759 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6760 echo $ac_n "(cached) $ac_c" 1>&6
6762 if test -n "$STRIP"; then
6763 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6765 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6767 for ac_dir
in $ac_dummy; do
6768 test -z "$ac_dir" && ac_dir
=.
6769 if test -f $ac_dir/$ac_word; then
6770 ac_cv_prog_STRIP
="strip"
6775 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6778 STRIP
="$ac_cv_prog_STRIP"
6779 if test -n "$STRIP"; then
6780 echo "$ac_t""$STRIP" 1>&6
6782 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6787 echo "configure:6788: checking "make for VPATH support
"" >&5
6788 cat - << EOF > confMake
6794 if test ! -d sub
; then
6797 echo dummy
> sub
/file
6798 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6800 rm -f sub
/file check final_file confMake
6802 if test "$RESULT" = 0; then
6803 echo "$ac_t""yes" 1>&6
6805 echo "$ac_t""no" 1>&6
6806 { echo "configure: error: You need a make-utility that is able to use the variable
6808 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6811 for ac_prog
in 'bison -y' byacc
6813 # Extract the first word of "$ac_prog", so it can be a program name with args.
6814 set dummy
$ac_prog; ac_word
=$2
6815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6816 echo "configure:6817: checking for $ac_word" >&5
6817 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6818 echo $ac_n "(cached) $ac_c" 1>&6
6820 if test -n "$YACC"; then
6821 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6823 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6825 for ac_dir
in $ac_dummy; do
6826 test -z "$ac_dir" && ac_dir
=.
6827 if test -f $ac_dir/$ac_word; then
6828 ac_cv_prog_YACC
="$ac_prog"
6835 YACC
="$ac_cv_prog_YACC"
6836 if test -n "$YACC"; then
6837 echo "$ac_t""$YACC" 1>&6
6839 echo "$ac_t""no" 1>&6
6842 test -n "$YACC" && break
6844 test -n "$YACC" || YACC
="yacc"
6847 # Extract the first word of "flex", so it can be a program name with args.
6848 set dummy flex
; ac_word
=$2
6849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6850 echo "configure:6851: checking for $ac_word" >&5
6851 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6852 echo $ac_n "(cached) $ac_c" 1>&6
6854 if test -n "$LEX"; then
6855 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6857 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6859 for ac_dir
in $ac_dummy; do
6860 test -z "$ac_dir" && ac_dir
=.
6861 if test -f $ac_dir/$ac_word; then
6862 ac_cv_prog_LEX
="flex"
6867 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6870 LEX
="$ac_cv_prog_LEX"
6871 if test -n "$LEX"; then
6872 echo "$ac_t""$LEX" 1>&6
6874 echo "$ac_t""no" 1>&6
6877 if test -z "$LEXLIB"
6883 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6884 echo "configure:6885: checking for yywrap in -l$ac_lib" >&5
6885 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6887 echo $ac_n "(cached) $ac_c" 1>&6
6889 ac_save_LIBS
="$LIBS"
6890 LIBS
="-l$ac_lib $LIBS"
6891 cat > conftest.
$ac_ext <<EOF
6892 #line 6893 "configure"
6893 #include "confdefs.h"
6894 /* Override any gcc2 internal prototype to avoid an error. */
6895 /* We use char because int might match the return type of a gcc2
6896 builtin and then its argument prototype would still apply. */
6903 if { (eval echo configure
:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6905 eval "ac_cv_lib_$ac_lib_var=yes"
6907 echo "configure: failed program was:" >&5
6908 cat conftest.
$ac_ext >&5
6910 eval "ac_cv_lib_$ac_lib_var=no"
6913 LIBS
="$ac_save_LIBS"
6916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6917 echo "$ac_t""yes" 1>&6
6920 echo "$ac_t""no" 1>&6
6926 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6927 echo "configure:6928: checking whether ln -s works" >&5
6928 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6929 echo $ac_n "(cached) $ac_c" 1>&6
6932 if ln -s X conftestdata
2>/dev
/null
6935 ac_cv_prog_LN_S
="ln -s"
6940 LN_S
="$ac_cv_prog_LN_S"
6941 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6942 echo "$ac_t""yes" 1>&6
6944 echo "$ac_t""no" 1>&6
6950 /usr/local/include \
6952 /usr/Motif-1.2/include \
6953 /usr/Motif-2.1/include \
6955 /usr/include/Motif1.2 \
6956 /opt/xpm/include/X11 \
6957 /opt/GBxpm/include/ \
6958 /opt/GBxpm/X11/include/ \
6960 /usr/Motif1.2/include \
6962 /usr/openwin/include \
6966 /usr/X11R6/include \
6967 /usr/X11R6.4/include \
6968 /usr/X11R5/include \
6969 /usr/X11R4/include \
6971 /usr/include/X11R6 \
6972 /usr/include/X11R5 \
6973 /usr/include/X11R4 \
6975 /usr/local/X11R6/include \
6976 /usr/local/X11R5/include \
6977 /usr/local/X11R4/include \
6979 /usr/local/include/X11R6 \
6980 /usr/local/include/X11R5 \
6981 /usr/local/include/X11R4 \
6985 /usr/local/X11/include \
6986 /usr/local/include/X11 \
6990 /usr/XFree86/include/X11 \
6992 X:/XFree86/include \
6993 X:/XFree86/include/X11 \
6996 /usr/local/include/gtk \
6998 /usr/local/include/glib \
7001 /usr/local/include/qt \
7003 /usr/include/windows \
7005 /usr/local/include/wine \
7007 /usr/unsupported/include \
7008 /usr/athena/include \
7009 /usr/local/x11r5/include \
7010 /usr/lpp/Xamples/include \
7012 /usr/openwin/share/include \
7016 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7019 cat > confcache
<<\EOF
7020 # This file is a shell script that caches the results of configure
7021 # tests run on this system so they can be shared between configure
7022 # scripts and configure runs. It is not useful on other systems.
7023 # If it contains results you don't want to keep, you may remove or edit it.
7025 # By default, configure uses ./config.cache as the cache file,
7026 # creating it if it does not exist already. You can give configure
7027 # the --cache-file=FILE option to use a different cache file; that is
7028 # what configure does when it calls configure scripts in
7029 # subdirectories, so they share the cache.
7030 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7031 # config.status only pays attention to the cache file if you give it the
7032 # --recheck option to rerun configure.
7035 # The following way of writing the cache mishandles newlines in values,
7036 # but we know of no workaround that is simple, portable, and efficient.
7037 # So, don't put newlines in cache variables' values.
7038 # Ultrix sh set writes to stderr and can't be redirected directly,
7039 # and sets the high bit in the cache file unless we assign to the vars.
7041 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7043 # `set' does not quote correctly, so add quotes (double-quote substitution
7044 # turns \\\\ into \\, and sed turns \\ into \).
7046 -e "s/'/'\\\\''/g" \
7047 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7050 # `set' quotes correctly as required by POSIX, so do not add quotes.
7051 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7054 if cmp -s $cache_file confcache
; then
7057 if test -w $cache_file; then
7058 echo "updating cache $cache_file"
7059 cat confcache
> $cache_file
7061 echo "not updating unwritable cache $cache_file"
7070 if test "$wxUSE_GUI" = "yes"; then
7090 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7091 if test "$cross_compiling" = "yes" ; then
7092 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7094 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7095 echo "configure:7096: checking for Windows headers" >&5
7098 for ac_dir
in $SEARCH_INCLUDE;
7100 if test -f "$ac_dir/windows.h"; then
7101 ac_find_includes
=$ac_dir
7106 if test "$ac_find_includes" != "" ; then
7107 echo "$ac_t""found $ac_find_includes" 1>&6
7108 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7110 echo "$ac_t""no" 1>&6
7111 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7115 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7116 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7118 if test "$wxUSE_ODBC" = "yes" ; then
7119 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7122 if test "$wxUSE_MINGW" = 1; then
7123 LDFLAGS
="$LDFLAGS -mwindows"
7128 GUIOBJS
="\$(MSW_GUIOBJS)"
7129 GUIHEADERS
="\$(MSW_HEADERS)"
7130 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7131 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7135 RCINCSWITCH
="--include-dir"
7136 RCDEFSWITCH
="--define"
7137 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7140 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7142 RESPROGRAM
="\$(RES_PROGRAM)"
7146 if test "$wxUSE_GTK" = 1; then
7147 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7148 if test "${with_gtk_prefix+set}" = set; then
7149 withval
="$with_gtk_prefix"
7150 gtk_config_prefix
="$withval"
7152 gtk_config_prefix
=""
7155 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7156 if test "${with_gtk_exec_prefix+set}" = set; then
7157 withval
="$with_gtk_exec_prefix"
7158 gtk_config_exec_prefix
="$withval"
7160 gtk_config_exec_prefix
=""
7163 # Check whether --enable-gtktest or --disable-gtktest was given.
7164 if test "${enable_gtktest+set}" = set; then
7165 enableval
="$enable_gtktest"
7172 for module
in . gthread
7176 gtk_config_args
="$gtk_config_args gthread"
7181 if test x
$gtk_config_exec_prefix != x
; then
7182 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7183 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7184 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7187 if test x
$gtk_config_prefix != x
; then
7188 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7189 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7190 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7194 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7195 set dummy gtk
-config-2.0
; ac_word
=$2
7196 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7197 echo "configure:7198: checking for $ac_word" >&5
7198 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7199 echo $ac_n "(cached) $ac_c" 1>&6
7201 case "$GTK_CONFIG_2_0" in
7203 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7206 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7211 for ac_dir
in $ac_dummy; do
7212 test -z "$ac_dir" && ac_dir
=.
7213 if test -f $ac_dir/$ac_word; then
7214 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7219 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7223 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7224 if test -n "$GTK_CONFIG_2_0"; then
7225 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7227 echo "$ac_t""no" 1>&6
7230 min_gtk_version
=1.3.1
7231 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7232 echo "configure:7233: checking for GTK - version >= $min_gtk_version" >&5
7234 if test "$GTK_CONFIG_2_0" = "no" ; then
7237 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7238 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7239 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7241 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7243 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7245 if test "x$enable_gtktest" = "xyes" ; then
7246 ac_save_CFLAGS
="$CFLAGS"
7247 ac_save_LIBS
="$LIBS"
7248 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7249 LIBS
="$GTK_LIBS $LIBS"
7251 if test "$cross_compiling" = yes; then
7252 echo $ac_n "cross compiling; assumed OK... $ac_c"
7254 cat > conftest.
$ac_ext <<EOF
7255 #line 7256 "configure"
7256 #include "confdefs.h"
7258 #include <gtk/gtk.h>
7265 int major, minor, micro;
7268 system ("touch conf.gtktest");
7270 /* HP/UX 9 (%@#!) writes to sscanf strings */
7271 tmp_version = g_strdup("$min_gtk_version");
7272 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7273 printf("%s, bad version string\n", "$min_gtk_version");
7277 if ((gtk_major_version != $gtk_config_major_version) ||
7278 (gtk_minor_version != $gtk_config_minor_version) ||
7279 (gtk_micro_version != $gtk_config_micro_version))
7281 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7282 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7283 gtk_major_version, gtk_minor_version, gtk_micro_version);
7284 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7285 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7286 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7287 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7288 printf("*** required on your system.\n");
7289 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7290 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7291 printf("*** before re-running configure\n");
7293 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7294 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7295 (gtk_minor_version != GTK_MINOR_VERSION) ||
7296 (gtk_micro_version != GTK_MICRO_VERSION))
7298 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7299 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7300 printf("*** library (version %d.%d.%d)\n",
7301 gtk_major_version, gtk_minor_version, gtk_micro_version);
7303 #endif /* defined (GTK_MAJOR_VERSION) ... */
7306 if ((gtk_major_version > major) ||
7307 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7308 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7314 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7315 gtk_major_version, gtk_minor_version, gtk_micro_version);
7316 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7317 major, minor, micro);
7318 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7320 printf("*** If you have already installed a sufficiently new version, this error\n");
7321 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7322 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7323 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7324 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7325 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7326 printf("*** so that the correct libraries are found at run-time))\n");
7333 if { (eval echo configure
:7334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7337 echo "configure: failed program was:" >&5
7338 cat conftest.
$ac_ext >&5
7345 CFLAGS
="$ac_save_CFLAGS"
7346 LIBS
="$ac_save_LIBS"
7349 if test "x$no_gtk" = x
; then
7350 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7353 echo "$ac_t""no" 1>&6
7354 if test "$GTK_CONFIG_2_0" = "no" ; then
7355 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7356 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7357 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7358 echo "*** full path to gtk-config-2.0."
7360 if test -f conf.gtktest
; then
7363 echo "*** Could not run GTK test program, checking why..."
7364 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7365 LIBS
="$LIBS $GTK_LIBS"
7366 cat > conftest.
$ac_ext <<EOF
7367 #line 7368 "configure"
7368 #include "confdefs.h"
7370 #include <gtk/gtk.h>
7374 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7377 if { (eval echo configure
:7378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7379 echo "*** The test program compiled, but did not run. This usually means"
7380 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7381 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7382 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7383 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7384 echo "*** is required on your system"
7386 echo "*** If you have an old version installed, it is best to remove it, although"
7387 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7389 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7390 echo "*** came with the system with the command"
7392 echo "*** rpm --erase --nodeps gtk gtk-devel"
7394 echo "configure: failed program was:" >&5
7395 cat conftest.
$ac_ext >&5
7397 echo "*** The test program failed to compile or link. See the file config.log for the"
7398 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7399 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7400 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7403 CFLAGS
="$ac_save_CFLAGS"
7404 LIBS
="$ac_save_LIBS"
7411 if test x
$gtk_config_exec_prefix != x
; then
7412 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7413 if test x
${GTK_CONFIG+set} != xset
; then
7414 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7417 if test x
$gtk_config_prefix != x
; then
7418 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7419 if test x
${GTK_CONFIG+set} != xset
; then
7420 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7424 # Extract the first word of "gtk-config", so it can be a program name with args.
7425 set dummy gtk
-config; ac_word
=$2
7426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7427 echo "configure:7428: checking for $ac_word" >&5
7428 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7429 echo $ac_n "(cached) $ac_c" 1>&6
7431 case "$GTK_CONFIG" in
7433 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7436 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7439 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7441 for ac_dir
in $ac_dummy; do
7442 test -z "$ac_dir" && ac_dir
=.
7443 if test -f $ac_dir/$ac_word; then
7444 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7449 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7453 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7454 if test -n "$GTK_CONFIG"; then
7455 echo "$ac_t""$GTK_CONFIG" 1>&6
7457 echo "$ac_t""no" 1>&6
7460 min_gtk_version
=1.2.7
7461 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7462 echo "configure:7463: checking for GTK - version >= $min_gtk_version" >&5
7464 if test "$GTK_CONFIG" != "no" ; then
7465 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7466 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7467 ac_save_CFLAGS
="$CFLAGS"
7468 ac_save_LIBS
="$LIBS"
7469 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7470 LIBS
="$LIBS $GTK_LIBS"
7471 if test "$cross_compiling" = yes; then
7472 echo $ac_n "cross compiling; assumed OK... $ac_c"
7474 cat > conftest.
$ac_ext <<EOF
7475 #line 7476 "configure"
7476 #include "confdefs.h"
7478 #include <gtk/gtk.h>
7479 #include <gtk/gtkfeatures.h>
7486 int major, minor, micro;
7488 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7489 printf("%s, bad version string\n", "$min_gtk_version");
7493 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7494 (GTK_MINOR_VERSION != gtk_minor_version) ||
7495 (GTK_MICRO_VERSION != gtk_micro_version)) {
7496 printf("Headers vs. library version mismatch!\n");
7500 if (gtk_minor_version == 1) return FALSE;
7502 return !((gtk_major_version > major) ||
7503 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7504 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7508 if { (eval echo configure
:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7512 echo "configure: failed program was:" >&5
7513 cat conftest.
$ac_ext >&5
7520 CFLAGS
="$ac_save_CFLAGS"
7521 LIBS
="$ac_save_LIBS"
7525 if test "x$no_gtk" = x
; then
7526 echo "$ac_t""yes" 1>&6
7529 echo "$ac_t""no" 1>&6
7538 if test x
$gtk_config_exec_prefix != x
; then
7539 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7540 if test x
${GTK_CONFIG+set} != xset
; then
7541 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7544 if test x
$gtk_config_prefix != x
; then
7545 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7546 if test x
${GTK_CONFIG+set} != xset
; then
7547 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7551 # Extract the first word of "gtk-config", so it can be a program name with args.
7552 set dummy gtk
-config; ac_word
=$2
7553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7554 echo "configure:7555: checking for $ac_word" >&5
7555 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7556 echo $ac_n "(cached) $ac_c" 1>&6
7558 case "$GTK_CONFIG" in
7560 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7563 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7566 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7568 for ac_dir
in $ac_dummy; do
7569 test -z "$ac_dir" && ac_dir
=.
7570 if test -f $ac_dir/$ac_word; then
7571 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7576 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7580 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7581 if test -n "$GTK_CONFIG"; then
7582 echo "$ac_t""$GTK_CONFIG" 1>&6
7584 echo "$ac_t""no" 1>&6
7587 min_gtk_version
=1.2.3
7588 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7589 echo "configure:7590: checking for GTK - version >= $min_gtk_version" >&5
7591 if test "$GTK_CONFIG" != "no" ; then
7592 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7593 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7594 ac_save_CFLAGS
="$CFLAGS"
7595 ac_save_LIBS
="$LIBS"
7596 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7597 LIBS
="$LIBS $GTK_LIBS"
7598 if test "$cross_compiling" = yes; then
7599 echo $ac_n "cross compiling; assumed OK... $ac_c"
7601 cat > conftest.
$ac_ext <<EOF
7602 #line 7603 "configure"
7603 #include "confdefs.h"
7605 #include <gtk/gtk.h>
7606 #include <gtk/gtkfeatures.h>
7613 int major, minor, micro;
7615 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7616 printf("%s, bad version string\n", "$min_gtk_version");
7620 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7621 (GTK_MINOR_VERSION != gtk_minor_version) ||
7622 (GTK_MICRO_VERSION != gtk_micro_version)) {
7623 printf("Headers vs. library version mismatch!\n");
7627 if (gtk_minor_version == 1) return FALSE;
7629 return !((gtk_major_version > major) ||
7630 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7631 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7635 if { (eval echo configure
:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7639 echo "configure: failed program was:" >&5
7640 cat conftest.
$ac_ext >&5
7647 CFLAGS
="$ac_save_CFLAGS"
7648 LIBS
="$ac_save_LIBS"
7652 if test "x$no_gtk" = x
; then
7653 echo "$ac_t""yes" 1>&6
7656 echo "$ac_t""no" 1>&6
7671 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7672 { echo "configure: error:
7673 Please check that gtk-config is in path, the directory
7674 where GTK+ libraries are installed (returned by
7675 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7676 equivalent variable and GTK+ is version 1.2.3 or above.
7680 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7683 GUI_TK_LIBRARY
="$GTK_LIBS"
7687 AFMINSTALL
=afminstall
7689 GUIOBJS
="\$(GTK_GUIOBJS)"
7690 GUIHEADERS
="\$(GTK_HEADERS)"
7691 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7692 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7693 GUIDEPS
="\$(GTK_GUIDEPS)"
7694 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7695 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7696 UNIXOBJS
="\$(UNIX_OBJS)"
7697 UNIXDEPS
="\$(UNIX_DEPS)"
7700 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7701 echo "configure:7702: checking for gdk_im_open in -lgdk" >&5
7702 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7704 echo $ac_n "(cached) $ac_c" 1>&6
7706 ac_save_LIBS
="$LIBS"
7708 cat > conftest.
$ac_ext <<EOF
7709 #line 7710 "configure"
7710 #include "confdefs.h"
7711 /* Override any gcc2 internal prototype to avoid an error. */
7712 /* We use char because int might match the return type of a gcc2
7713 builtin and then its argument prototype would still apply. */
7720 if { (eval echo configure
:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7722 eval "ac_cv_lib_$ac_lib_var=yes"
7724 echo "configure: failed program was:" >&5
7725 cat conftest.
$ac_ext >&5
7727 eval "ac_cv_lib_$ac_lib_var=no"
7730 LIBS
="$ac_save_LIBS"
7733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7734 echo "$ac_t""yes" 1>&6
7735 cat >> confdefs.h
<<\EOF
7740 echo "$ac_t""no" 1>&6
7745 if test "$wxUSE_WINE" = 1; then
7746 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7747 echo "configure:7748: checking for WINE includes" >&5
7750 for ac_dir
in $SEARCH_INCLUDE;
7752 if test -f "$ac_dir/windows.h"; then
7753 ac_find_includes
=$ac_dir
7758 if test "$ac_find_includes" != "" ; then
7759 echo "$ac_t""found $ac_find_includes" 1>&6
7760 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7762 echo "$ac_t""no" 1>&6
7763 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7767 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7768 echo "configure:7769: checking for Xpm library" >&5
7771 for ac_dir
in $SEARCH_LIB;
7773 for ac_extension
in a so sl
; do
7774 if test -f "$ac_dir/libXpm.$ac_extension"; then
7775 ac_find_libraries
=$ac_dir
7781 if test "$ac_find_libraries" != "" ; then
7782 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7784 cat >> confdefs.h
<<\EOF
7785 #define wxHAVE_LIB_XPM 1
7788 echo "$ac_t""found at $ac_find_libraries" 1>&6
7790 echo "$ac_t""no" 1>&6
7791 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7795 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7796 echo "configure:7797: checking for Mesa library" >&5
7799 for ac_dir
in $SEARCH_LIB;
7801 for ac_extension
in a so sl
; do
7802 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7803 ac_find_libraries
=$ac_dir
7809 if test "$ac_find_libraries" != "" ; then
7810 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7811 MESA_LINK
="-lMesaGL"
7812 echo "$ac_t""found at $ac_find_libraries" 1>&6
7814 { echo "configure: error: no" 1>&2; exit 1; }
7817 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7818 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7822 GUIHEADERS
="\$(MSW_HEADERS)"
7823 GUIOBJS
="\$(MSW_GUIOBJS)"
7824 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7825 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7826 GUIDEPS
="\$(MSW_GUIDEPS)"
7827 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7828 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7829 UNIXOBJS
="\$(UNIX_OBJS)"
7830 UNIXDEPS
="\$(UNIX_DEPS)"
7835 # If we find X, set shell vars x_includes and x_libraries to the
7836 # paths, otherwise set no_x=yes.
7837 # Uses ac_ vars as temps to allow command line to override cache and checks.
7838 # --without-x overrides everything else, but does not touch the cache.
7839 echo $ac_n "checking for X""... $ac_c" 1>&6
7840 echo "configure:7841: checking for X" >&5
7842 # Check whether --with-x or --without-x was given.
7843 if test "${with_x+set}" = set; then
7848 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7849 if test "x$with_x" = xno
; then
7850 # The user explicitly disabled X.
7853 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7854 # Both variables are already set.
7857 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7858 echo $ac_n "(cached) $ac_c" 1>&6
7860 # One or both of the vars are not set, and there is no cached value.
7861 ac_x_includes
=NO ac_x_libraries
=NO
7863 if mkdir conftestdir
; then
7865 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7866 cat > Imakefile
<<'EOF'
7868 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7870 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7871 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7872 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7874 for ac_extension
in a so sl
; do
7875 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7876 test -f $ac_im_libdir/libX11.
$ac_extension; then
7877 ac_im_usrlibdir
=$ac_im_libdir; break
7880 # Screen out bogus values from the imake configuration. They are
7881 # bogus both because they are the default anyway, and because
7882 # using them would break gcc on systems where it needs fixed includes.
7883 case "$ac_im_incroot" in
7885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7887 case "$ac_im_usrlibdir" in
7889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7896 if test "$ac_x_includes" = NO
; then
7897 # Guess where to find include files, by looking for this one X11 .h file.
7898 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7900 # First, try using that file with no special directory specified.
7901 cat > conftest.
$ac_ext <<EOF
7902 #line 7903 "configure"
7903 #include "confdefs.h"
7904 #include <$x_direct_test_include>
7906 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7907 { (eval echo configure
:7908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7908 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7909 if test -z "$ac_err"; then
7911 # We can compile using X headers with no special include directory.
7915 echo "configure: failed program was:" >&5
7916 cat conftest.
$ac_ext >&5
7918 # Look for the header file in a standard set of common directories.
7919 # Check X11 before X11Rn because it is often a symlink to the current release.
7922 /usr
/X
11R
6/include \
7923 /usr
/X
11R
5/include \
7924 /usr
/X
11R
4/include \
7927 /usr
/include
/X11R6 \
7928 /usr
/include
/X11R5 \
7929 /usr
/include
/X11R4 \
7931 /usr
/local
/X
11/include \
7932 /usr
/local
/X
11R
6/include \
7933 /usr
/local
/X
11R
5/include \
7934 /usr
/local
/X
11R
4/include \
7936 /usr
/local
/include
/X11 \
7937 /usr
/local
/include
/X11R6 \
7938 /usr
/local
/include
/X11R5 \
7939 /usr
/local
/include
/X11R4 \
7943 /usr
/XFree
86/include
/X11 \
7946 /usr
/local
/include \
7947 /usr
/unsupported
/include \
7948 /usr
/athena
/include \
7949 /usr
/local
/x
11r
5/include \
7950 /usr
/lpp
/Xamples
/include \
7952 /usr
/openwin
/include \
7953 /usr
/openwin
/share
/include \
7956 if test -r "$ac_dir/$x_direct_test_include"; then
7957 ac_x_includes
=$ac_dir
7963 fi # $ac_x_includes = NO
7965 if test "$ac_x_libraries" = NO
; then
7966 # Check for the libraries.
7968 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7969 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7971 # See if we find them without any special options.
7972 # Don't add to $LIBS permanently.
7973 ac_save_LIBS
="$LIBS"
7974 LIBS
="-l$x_direct_test_library $LIBS"
7975 cat > conftest.
$ac_ext <<EOF
7976 #line 7977 "configure"
7977 #include "confdefs.h"
7980 ${x_direct_test_function}()
7983 if { (eval echo configure
:7984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7985 LIBS
="$ac_save_LIBS"
7986 # We can link X programs with no special library path.
7989 echo "configure: failed program was:" >&5
7990 cat conftest.
$ac_ext >&5
7992 LIBS
="$ac_save_LIBS"
7993 # First see if replacing the include by lib works.
7994 # Check X11 before X11Rn because it is often a symlink to the current release.
7995 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8006 /usr
/local
/X
11/lib \
8007 /usr
/local
/X
11R
6/lib \
8008 /usr
/local
/X
11R
5/lib \
8009 /usr
/local
/X
11R
4/lib \
8011 /usr
/local
/lib
/X11 \
8012 /usr
/local
/lib
/X11R6 \
8013 /usr
/local
/lib
/X11R5 \
8014 /usr
/local
/lib
/X11R4 \
8018 /usr
/XFree
86/lib
/X11 \
8022 /usr
/unsupported
/lib \
8024 /usr
/local
/x
11r
5/lib \
8025 /usr
/lpp
/Xamples
/lib \
8029 /usr
/openwin
/share
/lib \
8032 for ac_extension
in a so sl
; do
8033 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8034 ac_x_libraries
=$ac_dir
8041 fi # $ac_x_libraries = NO
8043 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8044 # Didn't find X anywhere. Cache the known absence of X.
8045 ac_cv_have_x
="have_x=no"
8047 # Record where we found X for the cache.
8048 ac_cv_have_x
="have_x=yes \
8049 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8053 eval "$ac_cv_have_x"
8056 if test "$have_x" != yes; then
8057 echo "$ac_t""$have_x" 1>&6
8060 # If each of the values was on the command line, it overrides each guess.
8061 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8062 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8063 # Update the cache value to reflect the command line values.
8064 ac_cv_have_x
="have_x=yes \
8065 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8066 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8069 if test "$no_x" = yes; then
8070 # Not all programs may use this symbol, but it does not hurt to define it.
8071 cat >> confdefs.h
<<\EOF
8072 #define X_DISPLAY_MISSING 1
8075 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8077 if test -n "$x_includes"; then
8078 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8081 # It would also be nice to do this for all -L options, not just this one.
8082 if test -n "$x_libraries"; then
8083 X_LIBS
="$X_LIBS -L$x_libraries"
8084 # For Solaris; some versions of Sun CC require a space after -R and
8085 # others require no space. Words are not sufficient . . . .
8086 case "`(uname -sr) 2>/dev/null`" in
8088 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8089 echo "configure:8090: checking whether -R must be followed by a space" >&5
8090 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8091 cat > conftest.
$ac_ext <<EOF
8092 #line 8093 "configure"
8093 #include "confdefs.h"
8099 if { (eval echo configure
:8100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8103 echo "configure: failed program was:" >&5
8104 cat conftest.
$ac_ext >&5
8109 if test $ac_R_nospace = yes; then
8110 echo "$ac_t""no" 1>&6
8111 X_LIBS
="$X_LIBS -R$x_libraries"
8113 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8114 cat > conftest.
$ac_ext <<EOF
8115 #line 8116 "configure"
8116 #include "confdefs.h"
8122 if { (eval echo configure
:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8126 echo "configure: failed program was:" >&5
8127 cat conftest.
$ac_ext >&5
8132 if test $ac_R_space = yes; then
8133 echo "$ac_t""yes" 1>&6
8134 X_LIBS
="$X_LIBS -R $x_libraries"
8136 echo "$ac_t""neither works" 1>&6
8139 LIBS
="$ac_xsave_LIBS"
8143 # Check for system-dependent libraries X programs must link with.
8144 # Do this before checking for the system-independent R6 libraries
8145 # (-lICE), since we may need -lsocket or whatever for X linking.
8147 if test "$ISC" = yes; then
8148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8150 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8151 # libraries were built with DECnet support. And karl@cs.umb.edu says
8152 # the Alpha needs dnet_stub (dnet does not exist).
8153 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8154 echo "configure:8155: checking for dnet_ntoa in -ldnet" >&5
8155 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8157 echo $ac_n "(cached) $ac_c" 1>&6
8159 ac_save_LIBS
="$LIBS"
8161 cat > conftest.
$ac_ext <<EOF
8162 #line 8163 "configure"
8163 #include "confdefs.h"
8164 /* Override any gcc2 internal prototype to avoid an error. */
8165 /* We use char because int might match the return type of a gcc2
8166 builtin and then its argument prototype would still apply. */
8173 if { (eval echo configure
:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8175 eval "ac_cv_lib_$ac_lib_var=yes"
8177 echo "configure: failed program was:" >&5
8178 cat conftest.
$ac_ext >&5
8180 eval "ac_cv_lib_$ac_lib_var=no"
8183 LIBS
="$ac_save_LIBS"
8186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8187 echo "$ac_t""yes" 1>&6
8188 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8190 echo "$ac_t""no" 1>&6
8193 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8194 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8195 echo "configure:8196: checking for dnet_ntoa in -ldnet_stub" >&5
8196 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8198 echo $ac_n "(cached) $ac_c" 1>&6
8200 ac_save_LIBS
="$LIBS"
8201 LIBS
="-ldnet_stub $LIBS"
8202 cat > conftest.
$ac_ext <<EOF
8203 #line 8204 "configure"
8204 #include "confdefs.h"
8205 /* Override any gcc2 internal prototype to avoid an error. */
8206 /* We use char because int might match the return type of a gcc2
8207 builtin and then its argument prototype would still apply. */
8214 if { (eval echo configure
:8215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8216 eval "ac_cv_lib_$ac_lib_var=yes"
8218 echo "configure: failed program was:" >&5
8219 cat conftest.
$ac_ext >&5
8221 eval "ac_cv_lib_$ac_lib_var=no"
8224 LIBS
="$ac_save_LIBS"
8227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8228 echo "$ac_t""yes" 1>&6
8229 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8231 echo "$ac_t""no" 1>&6
8236 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8237 # to get the SysV transport functions.
8238 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8240 # The nsl library prevents programs from opening the X display
8241 # on Irix 5.2, according to dickey@clark.net.
8242 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8243 echo "configure:8244: checking for gethostbyname" >&5
8244 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8245 echo $ac_n "(cached) $ac_c" 1>&6
8247 cat > conftest.
$ac_ext <<EOF
8248 #line 8249 "configure"
8249 #include "confdefs.h"
8250 /* System header to define __stub macros and hopefully few prototypes,
8251 which can conflict with char gethostbyname(); below. */
8253 /* Override any gcc2 internal prototype to avoid an error. */
8254 /* We use char because int might match the return type of a gcc2
8255 builtin and then its argument prototype would still apply. */
8256 char gethostbyname();
8260 /* The GNU C library defines this for functions which it implements
8261 to always fail with ENOSYS. Some functions are actually named
8262 something starting with __ and the normal name is an alias. */
8263 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8271 if { (eval echo configure
:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8273 eval "ac_cv_func_gethostbyname=yes"
8275 echo "configure: failed program was:" >&5
8276 cat conftest.
$ac_ext >&5
8278 eval "ac_cv_func_gethostbyname=no"
8283 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8284 echo "$ac_t""yes" 1>&6
8287 echo "$ac_t""no" 1>&6
8290 if test $ac_cv_func_gethostbyname = no
; then
8291 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8292 echo "configure:8293: checking for gethostbyname in -lnsl" >&5
8293 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8295 echo $ac_n "(cached) $ac_c" 1>&6
8297 ac_save_LIBS
="$LIBS"
8299 cat > conftest.
$ac_ext <<EOF
8300 #line 8301 "configure"
8301 #include "confdefs.h"
8302 /* Override any gcc2 internal prototype to avoid an error. */
8303 /* We use char because int might match the return type of a gcc2
8304 builtin and then its argument prototype would still apply. */
8305 char gethostbyname();
8311 if { (eval echo configure
:8312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8313 eval "ac_cv_lib_$ac_lib_var=yes"
8315 echo "configure: failed program was:" >&5
8316 cat conftest.
$ac_ext >&5
8318 eval "ac_cv_lib_$ac_lib_var=no"
8321 LIBS
="$ac_save_LIBS"
8324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8325 echo "$ac_t""yes" 1>&6
8326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8328 echo "$ac_t""no" 1>&6
8333 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8334 # socket/setsockopt and other routines are undefined under SCO ODT
8335 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8336 # on later versions), says simon@lia.di.epfl.ch: it contains
8337 # gethostby* variants that don't use the nameserver (or something).
8338 # -lsocket must be given before -lnsl if both are needed.
8339 # We assume that if connect needs -lnsl, so does gethostbyname.
8340 echo $ac_n "checking for connect""... $ac_c" 1>&6
8341 echo "configure:8342: checking for connect" >&5
8342 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8343 echo $ac_n "(cached) $ac_c" 1>&6
8345 cat > conftest.
$ac_ext <<EOF
8346 #line 8347 "configure"
8347 #include "confdefs.h"
8348 /* System header to define __stub macros and hopefully few prototypes,
8349 which can conflict with char connect(); below. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8352 /* We use char because int might match the return type of a gcc2
8353 builtin and then its argument prototype would still apply. */
8358 /* The GNU C library defines this for functions which it implements
8359 to always fail with ENOSYS. Some functions are actually named
8360 something starting with __ and the normal name is an alias. */
8361 #if defined (__stub_connect) || defined (__stub___connect)
8369 if { (eval echo configure
:8370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8371 eval "ac_cv_func_connect=yes"
8373 echo "configure: failed program was:" >&5
8374 cat conftest.
$ac_ext >&5
8376 eval "ac_cv_func_connect=no"
8381 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8382 echo "$ac_t""yes" 1>&6
8385 echo "$ac_t""no" 1>&6
8388 if test $ac_cv_func_connect = no
; then
8389 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8390 echo "configure:8391: checking for connect in -lsocket" >&5
8391 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8393 echo $ac_n "(cached) $ac_c" 1>&6
8395 ac_save_LIBS
="$LIBS"
8396 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8397 cat > conftest.
$ac_ext <<EOF
8398 #line 8399 "configure"
8399 #include "confdefs.h"
8400 /* Override any gcc2 internal prototype to avoid an error. */
8401 /* We use char because int might match the return type of a gcc2
8402 builtin and then its argument prototype would still apply. */
8409 if { (eval echo configure
:8410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8411 eval "ac_cv_lib_$ac_lib_var=yes"
8413 echo "configure: failed program was:" >&5
8414 cat conftest.
$ac_ext >&5
8416 eval "ac_cv_lib_$ac_lib_var=no"
8419 LIBS
="$ac_save_LIBS"
8422 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8423 echo "$ac_t""yes" 1>&6
8424 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8426 echo "$ac_t""no" 1>&6
8431 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8432 echo $ac_n "checking for remove""... $ac_c" 1>&6
8433 echo "configure:8434: checking for remove" >&5
8434 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8435 echo $ac_n "(cached) $ac_c" 1>&6
8437 cat > conftest.
$ac_ext <<EOF
8438 #line 8439 "configure"
8439 #include "confdefs.h"
8440 /* System header to define __stub macros and hopefully few prototypes,
8441 which can conflict with char remove(); below. */
8443 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8450 /* The GNU C library defines this for functions which it implements
8451 to always fail with ENOSYS. Some functions are actually named
8452 something starting with __ and the normal name is an alias. */
8453 #if defined (__stub_remove) || defined (__stub___remove)
8461 if { (eval echo configure
:8462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8463 eval "ac_cv_func_remove=yes"
8465 echo "configure: failed program was:" >&5
8466 cat conftest.
$ac_ext >&5
8468 eval "ac_cv_func_remove=no"
8473 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8474 echo "$ac_t""yes" 1>&6
8477 echo "$ac_t""no" 1>&6
8480 if test $ac_cv_func_remove = no
; then
8481 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8482 echo "configure:8483: checking for remove in -lposix" >&5
8483 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8484 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8485 echo $ac_n "(cached) $ac_c" 1>&6
8487 ac_save_LIBS
="$LIBS"
8488 LIBS
="-lposix $LIBS"
8489 cat > conftest.
$ac_ext <<EOF
8490 #line 8491 "configure"
8491 #include "confdefs.h"
8492 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8501 if { (eval echo configure
:8502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8503 eval "ac_cv_lib_$ac_lib_var=yes"
8505 echo "configure: failed program was:" >&5
8506 cat conftest.
$ac_ext >&5
8508 eval "ac_cv_lib_$ac_lib_var=no"
8511 LIBS
="$ac_save_LIBS"
8514 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8515 echo "$ac_t""yes" 1>&6
8516 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8518 echo "$ac_t""no" 1>&6
8523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8524 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8525 echo "configure:8526: checking for shmat" >&5
8526 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8529 cat > conftest.
$ac_ext <<EOF
8530 #line 8531 "configure"
8531 #include "confdefs.h"
8532 /* System header to define __stub macros and hopefully few prototypes,
8533 which can conflict with char shmat(); below. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8542 /* The GNU C library defines this for functions which it implements
8543 to always fail with ENOSYS. Some functions are actually named
8544 something starting with __ and the normal name is an alias. */
8545 #if defined (__stub_shmat) || defined (__stub___shmat)
8553 if { (eval echo configure
:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8555 eval "ac_cv_func_shmat=yes"
8557 echo "configure: failed program was:" >&5
8558 cat conftest.
$ac_ext >&5
8560 eval "ac_cv_func_shmat=no"
8565 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8566 echo "$ac_t""yes" 1>&6
8569 echo "$ac_t""no" 1>&6
8572 if test $ac_cv_func_shmat = no
; then
8573 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8574 echo "configure:8575: checking for shmat in -lipc" >&5
8575 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8577 echo $ac_n "(cached) $ac_c" 1>&6
8579 ac_save_LIBS
="$LIBS"
8581 cat > conftest.
$ac_ext <<EOF
8582 #line 8583 "configure"
8583 #include "confdefs.h"
8584 /* Override any gcc2 internal prototype to avoid an error. */
8585 /* We use char because int might match the return type of a gcc2
8586 builtin and then its argument prototype would still apply. */
8593 if { (eval echo configure
:8594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8595 eval "ac_cv_lib_$ac_lib_var=yes"
8597 echo "configure: failed program was:" >&5
8598 cat conftest.
$ac_ext >&5
8600 eval "ac_cv_lib_$ac_lib_var=no"
8603 LIBS
="$ac_save_LIBS"
8606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8607 echo "$ac_t""yes" 1>&6
8608 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8610 echo "$ac_t""no" 1>&6
8616 # Check for libraries that X11R6 Xt/Xaw programs need.
8617 ac_save_LDFLAGS
="$LDFLAGS"
8618 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8619 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8620 # check for ICE first), but we must link in the order -lSM -lICE or
8621 # we get undefined symbols. So assume we have SM if we have ICE.
8622 # These have to be linked with before -lX11, unlike the other
8623 # libraries we check for below, so use a different variable.
8624 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8625 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8626 echo "configure:8627: checking for IceConnectionNumber in -lICE" >&5
8627 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8628 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8629 echo $ac_n "(cached) $ac_c" 1>&6
8631 ac_save_LIBS
="$LIBS"
8632 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8633 cat > conftest.
$ac_ext <<EOF
8634 #line 8635 "configure"
8635 #include "confdefs.h"
8636 /* Override any gcc2 internal prototype to avoid an error. */
8637 /* We use char because int might match the return type of a gcc2
8638 builtin and then its argument prototype would still apply. */
8639 char IceConnectionNumber();
8642 IceConnectionNumber()
8645 if { (eval echo configure
:8646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8647 eval "ac_cv_lib_$ac_lib_var=yes"
8649 echo "configure: failed program was:" >&5
8650 cat conftest.
$ac_ext >&5
8652 eval "ac_cv_lib_$ac_lib_var=no"
8655 LIBS
="$ac_save_LIBS"
8658 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8659 echo "$ac_t""yes" 1>&6
8660 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8662 echo "$ac_t""no" 1>&6
8665 LDFLAGS
="$ac_save_LDFLAGS"
8669 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8670 LDFLAGS
="$LDFLAGS $X_LIBS"
8672 if test "$wxUSE_MOTIF" = 1; then
8673 if test "$no_x" = "yes"; then
8674 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8677 GUI_TK_LIBRARY
="$X_LIBS"
8678 TOOLKIT_INCLUDE
="$X_CFLAGS"
8680 AFMINSTALL
=afminstall
8683 COMPILED_X_PROGRAM
=0
8685 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8686 echo "configure:8687: checking for Motif/Lesstif headers" >&5
8689 for ac_dir
in $SEARCH_INCLUDE;
8691 if test -f "$ac_dir/Xm/Xm.h"; then
8692 ac_find_includes
=$ac_dir
8697 if test "$ac_find_includes" != "" ; then
8698 echo "$ac_t""found $ac_find_includes" 1>&6
8700 cat > conftest.
$ac_ext <<EOF
8701 #line 8702 "configure"
8702 #include "confdefs.h"
8710 version = xmUseVersion;
8714 if { (eval echo configure
:8715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8717 echo "$ac_t""found in default search path" 1>&6
8718 COMPILED_X_PROGRAM
=1
8721 echo "configure: failed program was:" >&5
8722 cat conftest.
$ac_ext >&5
8725 echo "$ac_t""no" 1>&6
8726 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8733 if test "$COMPILED_X_PROGRAM" = 0; then
8734 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8735 echo "configure:8736: checking for Motif/Lesstif library" >&5
8738 for ac_dir
in $SEARCH_LIB;
8740 for ac_extension
in a so sl
; do
8741 if test -f "$ac_dir/libXm.$ac_extension"; then
8742 ac_find_libraries
=$ac_dir
8748 if test "$ac_find_libraries" != "" ; then
8750 ac_path_to_include
=$ac_find_includes
8751 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8753 if test $result = 0; then
8754 ac_path_to_include
=""
8756 ac_path_to_include
="-I$ac_find_includes"
8760 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8762 if test $result = 0; then
8765 ac_path_to_link
="-L$ac_find_libraries"
8769 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8770 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8771 echo "$ac_t""found at $ac_find_libraries" 1>&6
8773 cat > conftest.
$ac_ext <<EOF
8774 #line 8775 "configure"
8775 #include "confdefs.h"
8783 version = xmUseVersion;
8787 if { (eval echo configure
:8788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8790 echo "$ac_t""found in default search path" 1>&6
8791 COMPILED_X_PROGRAM
=1
8794 echo "configure: failed program was:" >&5
8795 cat conftest.
$ac_ext >&5
8798 echo "$ac_t""no" 1>&6
8799 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8809 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8810 echo "configure:8811: checking for Xpm library" >&5
8813 for ac_dir
in $SEARCH_LIB;
8815 for ac_extension
in a so sl
; do
8816 if test -f "$ac_dir/libXpm.$ac_extension"; then
8817 ac_find_libraries
=$ac_dir
8823 if test "$ac_find_libraries" != "" ; then
8825 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8827 if test $result = 0; then
8830 ac_path_to_link
="-L$ac_find_libraries"
8833 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8835 cat >> confdefs.h
<<\EOF
8836 #define wxHAVE_LIB_XPM 1
8839 echo "$ac_t""found at $ac_find_libraries" 1>&6
8841 cat > conftest.
$ac_ext <<EOF
8842 #line 8843 "configure"
8843 #include "confdefs.h"
8845 #include <X11/xpm.h>
8851 version = XpmLibraryVersion();
8855 if { (eval echo configure
:8856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8859 cat >> confdefs.h
<<\EOF
8860 #define wxHAVE_LIB_XPM 1
8863 echo "$ac_t""found in default search path" 1>&6
8864 COMPILED_X_PROGRAM
=0
8867 echo "configure: failed program was:" >&5
8868 cat conftest.
$ac_ext >&5
8871 echo "$ac_t""no" 1>&6
8872 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8879 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
8880 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8883 GUIHEADERS
="\$(MOTIF_HEADERS)"
8884 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8885 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8886 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8887 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8888 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8889 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8890 UNIXOBJS
="\$(UNIX_OBJS)"
8891 UNIXDEPS
="\$(UNIX_DEPS)"
8895 if test "$wxUSE_PM" = 1; then
8898 GUIOBJS
="\$(PM_GUIOBJS)"
8899 GUIHEADERS
="\$(PM_HEADERS)"
8900 COMMONOBJS
="\$(PM_COMMONOBJS)"
8901 GENERICOBJS
="\$(PM_GENERICOBJS)"
8902 GUIDEPS
="\$(PM_GUIDEPS)"
8903 COMMONDEPS
="\$(PM_COMMONDEPS)"
8904 GENERICDEPS
="\$(PM_GENERICDEPS)"
8910 if test "$TOOLKIT" != "PM" ; then
8911 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8916 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
8917 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
8919 TOOLKIT_NAME
="${TOOLKIT_DIR}"
8922 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8924 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
8926 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8928 if test "$TOOLKIT" != "MSW"; then
8929 if test "$wxUSE_ODBC" = "yes" ; then
8930 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8934 if test "$wxUSE_LIBJPEG" = "yes" ; then
8935 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8937 if test "$wxUSE_LIBTIFF" = "yes" ; then
8938 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8940 if test "$wxUSE_LIBPNG" = "yes" ; then
8941 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8943 if test "$wxUSE_ZLIB" = "yes" ; then
8944 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8946 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8948 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8949 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8950 RPM_SPEC
="wx\$(TOOLKIT).spec"
8952 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8953 DISTDIR
="wx\$(TOOLKIT)"
8959 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
8960 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
8962 TOOLKIT_NAME
="${TOOLKIT_DIR}"
8965 TOOLKIT_DEF
="-D__WXBASE__"
8967 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8968 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8970 if test "$wxUSE_ZLIB" = "yes" ; then
8971 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8974 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
8976 PORT_FILES
="src/files.lst"
8977 RPM_FILES
="src/rpmfiles.lst"
8978 RPM_SPEC
="wxBase.spec"
8984 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8985 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8987 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8988 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8990 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8991 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8993 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8994 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8995 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8996 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8997 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8998 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9005 WX_TARGET_LIBRARY_SONAME
=
9008 if test "$wxUSE_SHARED" = "yes"; then
9011 if test "$GCC" = yes ; then
9012 SHARED_LD
="${CC} -shared -fPIC -o"
9015 LDFLAGS
="-L/usr/lib"
9017 SHARED_LD
="${CXX} -b -o"
9020 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9021 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9022 if test "$wxUSE_OPENGL" = "yes"; then
9023 WX_ALL_INSTALLED
="preinstall_gl"
9024 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9026 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9031 SHARED_LD
="${CC} -shared -o"
9033 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9034 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9035 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9036 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9038 if test "$wxUSE_OPENGL" = "yes"; then
9039 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9040 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9042 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9043 WX_ALL
="CREATE_LINKS"
9046 *-*-irix5* | *-*-irix6* )
9047 if test "$GCC" = yes ; then
9048 SHARED_LD
="${CC} -shared -o"
9051 SHARED_LD
="${CXX} -shared -o"
9053 if test "$wxUSE_OPENGL" = "yes"; then
9054 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9055 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9057 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9058 WX_ALL
="CREATE_LINKS"
9062 if test "$GCC" = yes ; then
9063 SHARED_LD
="${CC} -shared -o"
9066 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9068 SHARED_LD
="${CXX} -G -o"
9071 if test "$wxUSE_OPENGL" = "yes"; then
9072 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9073 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9075 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9076 WX_ALL
="CREATE_LINKS"
9080 SHARED_LD
="${CC} -shared -o"
9082 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9083 WX_ALL
="CREATE_LINKS"
9085 *-*-freebsd* | *-*-netbsd*)
9086 SHARED_LD
="${CC} -shared -o"
9088 if test "$wxUSE_OPENGL" = "yes"; then
9089 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9090 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9092 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9093 WX_ALL
="CREATE_LINKS"
9097 SHARED_LD
="${CXX} -shared -o"
9099 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9100 WX_ALL
="CREATE_LINKS"
9103 SHARED_LD
="${CXX} -shared -o"
9105 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9106 WX_ALL
="CREATE_LINKS"
9109 SHARED_LD
="${CC} -shared -o"
9111 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9112 WX_ALL
="CREATE_LINKS"
9115 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9116 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9119 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9120 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9121 if test "$wxUSE_OPENGL" = "yes"; then
9122 WX_ALL_INSTALLED
="preinstall_gl"
9123 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9125 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9129 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9130 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9131 if test "$wxUSE_OPENGL" = "yes"; then
9132 WX_ALL_INSTALLED
="preinstall_gl"
9133 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9135 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9139 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9140 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9143 SHARED_LD
="${LD} -shared -o"
9145 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9146 WX_ALL
="CREATE_LINKS"
9149 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9152 if test "x$WX_TARGET_LIBRARY" = "x"; then
9153 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9154 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9156 WX_TARGET_LIBRARY_TYPE
="so"
9158 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9159 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9161 if test "$wxUSE_OPENGL" = "yes"; then
9162 WX_ALL_INSTALLED
="preinstall_gl"
9163 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9165 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9168 if test "$wxUSE_GUI" = "no"; then
9169 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9172 WX_TARGET_LIBRARY_TYPE
="a"
9176 for ac_hdr
in strings.h
9178 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9180 echo "configure:9181: checking for $ac_hdr" >&5
9181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9182 echo $ac_n "(cached) $ac_c" 1>&6
9184 cat > conftest.
$ac_ext <<EOF
9185 #line 9186 "configure"
9186 #include "confdefs.h"
9189 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9190 { (eval echo configure
:9191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9191 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9192 if test -z "$ac_err"; then
9194 eval "ac_cv_header_$ac_safe=yes"
9197 echo "configure: failed program was:" >&5
9198 cat conftest.
$ac_ext >&5
9200 eval "ac_cv_header_$ac_safe=no"
9204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9205 echo "$ac_t""yes" 1>&6
9206 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9207 cat >> confdefs.h
<<EOF
9208 #define $ac_tr_hdr 1
9212 echo "$ac_t""no" 1>&6
9216 for ac_hdr
in unistd.h
9218 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9220 echo "configure:9221: checking for $ac_hdr" >&5
9221 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9222 echo $ac_n "(cached) $ac_c" 1>&6
9224 cat > conftest.
$ac_ext <<EOF
9225 #line 9226 "configure"
9226 #include "confdefs.h"
9229 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9230 { (eval echo configure
:9231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9231 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9232 if test -z "$ac_err"; then
9234 eval "ac_cv_header_$ac_safe=yes"
9237 echo "configure: failed program was:" >&5
9238 cat conftest.
$ac_ext >&5
9240 eval "ac_cv_header_$ac_safe=no"
9244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9245 echo "$ac_t""yes" 1>&6
9246 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9247 cat >> confdefs.h
<<EOF
9248 #define $ac_tr_hdr 1
9252 echo "$ac_t""no" 1>&6
9256 for ac_hdr
in wchar.h
9258 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9259 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9260 echo "configure:9261: checking for $ac_hdr" >&5
9261 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9262 echo $ac_n "(cached) $ac_c" 1>&6
9264 cat > conftest.
$ac_ext <<EOF
9265 #line 9266 "configure"
9266 #include "confdefs.h"
9269 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9270 { (eval echo configure
:9271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9271 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9272 if test -z "$ac_err"; then
9274 eval "ac_cv_header_$ac_safe=yes"
9277 echo "configure: failed program was:" >&5
9278 cat conftest.
$ac_ext >&5
9280 eval "ac_cv_header_$ac_safe=no"
9284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9285 echo "$ac_t""yes" 1>&6
9286 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9287 cat >> confdefs.h
<<EOF
9288 #define $ac_tr_hdr 1
9292 echo "$ac_t""no" 1>&6
9296 for ac_hdr
in wcstr.h
9298 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9300 echo "configure:9301: checking for $ac_hdr" >&5
9301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9302 echo $ac_n "(cached) $ac_c" 1>&6
9304 cat > conftest.
$ac_ext <<EOF
9305 #line 9306 "configure"
9306 #include "confdefs.h"
9309 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9310 { (eval echo configure
:9311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9311 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9312 if test -z "$ac_err"; then
9314 eval "ac_cv_header_$ac_safe=yes"
9317 echo "configure: failed program was:" >&5
9318 cat conftest.
$ac_ext >&5
9320 eval "ac_cv_header_$ac_safe=no"
9324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9325 echo "$ac_t""yes" 1>&6
9326 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9327 cat >> confdefs.h
<<EOF
9328 #define $ac_tr_hdr 1
9332 echo "$ac_t""no" 1>&6
9336 for ac_hdr
in fnmatch.h
9338 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9339 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9340 echo "configure:9341: checking for $ac_hdr" >&5
9341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 cat > conftest.
$ac_ext <<EOF
9345 #line 9346 "configure"
9346 #include "confdefs.h"
9349 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9350 { (eval echo configure
:9351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9351 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9352 if test -z "$ac_err"; then
9354 eval "ac_cv_header_$ac_safe=yes"
9357 echo "configure: failed program was:" >&5
9358 cat conftest.
$ac_ext >&5
9360 eval "ac_cv_header_$ac_safe=no"
9364 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9365 echo "$ac_t""yes" 1>&6
9366 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9367 cat >> confdefs.h
<<EOF
9368 #define $ac_tr_hdr 1
9372 echo "$ac_t""no" 1>&6
9376 for ac_hdr
in iconv.h
9378 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9379 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9380 echo "configure:9381: checking for $ac_hdr" >&5
9381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 cat > conftest.
$ac_ext <<EOF
9385 #line 9386 "configure"
9386 #include "confdefs.h"
9389 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9390 { (eval echo configure
:9391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9391 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9392 if test -z "$ac_err"; then
9394 eval "ac_cv_header_$ac_safe=yes"
9397 echo "configure: failed program was:" >&5
9398 cat conftest.
$ac_ext >&5
9400 eval "ac_cv_header_$ac_safe=no"
9404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9405 echo "$ac_t""yes" 1>&6
9406 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9407 cat >> confdefs.h
<<EOF
9408 #define $ac_tr_hdr 1
9412 echo "$ac_t""no" 1>&6
9416 for ac_hdr
in langinfo.h
9418 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9420 echo "configure:9421: checking for $ac_hdr" >&5
9421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9422 echo $ac_n "(cached) $ac_c" 1>&6
9424 cat > conftest.
$ac_ext <<EOF
9425 #line 9426 "configure"
9426 #include "confdefs.h"
9429 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9430 { (eval echo configure
:9431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9431 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9432 if test -z "$ac_err"; then
9434 eval "ac_cv_header_$ac_safe=yes"
9437 echo "configure: failed program was:" >&5
9438 cat conftest.
$ac_ext >&5
9440 eval "ac_cv_header_$ac_safe=no"
9444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9445 echo "$ac_t""yes" 1>&6
9446 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9447 cat >> confdefs.h
<<EOF
9448 #define $ac_tr_hdr 1
9452 echo "$ac_t""no" 1>&6
9457 if test "$wxUSE_GUI" = "yes"; then
9458 if test "$wxUSE_UNIX" = "yes"; then
9459 for ac_hdr
in X
11/XKBlib.h
9461 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9462 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9463 echo "configure:9464: checking for $ac_hdr" >&5
9464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9465 echo $ac_n "(cached) $ac_c" 1>&6
9467 cat > conftest.
$ac_ext <<EOF
9468 #line 9469 "configure"
9469 #include "confdefs.h"
9472 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9473 { (eval echo configure
:9474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9474 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9475 if test -z "$ac_err"; then
9477 eval "ac_cv_header_$ac_safe=yes"
9480 echo "configure: failed program was:" >&5
9481 cat conftest.
$ac_ext >&5
9483 eval "ac_cv_header_$ac_safe=no"
9487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9488 echo "$ac_t""yes" 1>&6
9489 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9490 cat >> confdefs.h
<<EOF
9491 #define $ac_tr_hdr 1
9495 echo "$ac_t""no" 1>&6
9503 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9504 echo "configure:9505: checking for ANSI C header files" >&5
9505 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9506 echo $ac_n "(cached) $ac_c" 1>&6
9508 cat > conftest.
$ac_ext <<EOF
9509 #line 9510 "configure"
9510 #include "confdefs.h"
9516 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9517 { (eval echo configure
:9518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9518 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9519 if test -z "$ac_err"; then
9521 ac_cv_header_stdc
=yes
9524 echo "configure: failed program was:" >&5
9525 cat conftest.
$ac_ext >&5
9527 ac_cv_header_stdc
=no
9531 if test $ac_cv_header_stdc = yes; then
9532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9533 cat > conftest.
$ac_ext <<EOF
9534 #line 9535 "configure"
9535 #include "confdefs.h"
9538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9539 egrep "memchr" >/dev
/null
2>&1; then
9543 ac_cv_header_stdc
=no
9549 if test $ac_cv_header_stdc = yes; then
9550 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9551 cat > conftest.
$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9557 egrep "free" >/dev
/null
2>&1; then
9561 ac_cv_header_stdc
=no
9567 if test $ac_cv_header_stdc = yes; then
9568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9569 if test "$cross_compiling" = yes; then
9572 cat > conftest.
$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9576 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9577 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9578 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9579 int main () { int i; for (i = 0; i < 256; i++)
9580 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9584 if { (eval echo configure
:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9588 echo "configure: failed program was:" >&5
9589 cat conftest.
$ac_ext >&5
9591 ac_cv_header_stdc
=no
9599 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9600 if test $ac_cv_header_stdc = yes; then
9601 cat >> confdefs.h
<<\EOF
9602 #define STDC_HEADERS 1
9607 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9608 echo "configure:9609: checking for mode_t" >&5
9609 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9610 echo $ac_n "(cached) $ac_c" 1>&6
9612 cat > conftest.
$ac_ext <<EOF
9613 #line 9614 "configure"
9614 #include "confdefs.h"
9615 #include <sys/types.h>
9621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9622 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9624 ac_cv_type_mode_t
=yes
9627 ac_cv_type_mode_t
=no
9632 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9633 if test $ac_cv_type_mode_t = no
; then
9634 cat >> confdefs.h
<<\EOF
9640 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9641 echo "configure:9642: checking for off_t" >&5
9642 if eval "test \"`echo '$''{'ac_cv_type_off_t'+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"
9648 #include <sys/types.h>
9654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9655 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9657 ac_cv_type_off_t
=yes
9665 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9666 if test $ac_cv_type_off_t = no
; then
9667 cat >> confdefs.h
<<\EOF
9673 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9674 echo "configure:9675: checking for pid_t" >&5
9675 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9676 echo $ac_n "(cached) $ac_c" 1>&6
9678 cat > conftest.
$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9681 #include <sys/types.h>
9687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9688 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9690 ac_cv_type_pid_t
=yes
9698 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9699 if test $ac_cv_type_pid_t = no
; then
9700 cat >> confdefs.h
<<\EOF
9706 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9707 echo "configure:9708: checking for size_t" >&5
9708 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9709 echo $ac_n "(cached) $ac_c" 1>&6
9711 cat > conftest.
$ac_ext <<EOF
9712 #line 9713 "configure"
9713 #include "confdefs.h"
9714 #include <sys/types.h>
9720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9721 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9723 ac_cv_type_size_t
=yes
9726 ac_cv_type_size_t
=no
9731 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9732 if test $ac_cv_type_size_t = no
; then
9733 cat >> confdefs.h
<<\EOF
9734 #define size_t unsigned
9739 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9740 echo "configure:9741: checking for uid_t in sys/types.h" >&5
9741 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9742 echo $ac_n "(cached) $ac_c" 1>&6
9744 cat > conftest.
$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747 #include <sys/types.h>
9749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9750 egrep "uid_t" >/dev
/null
2>&1; then
9752 ac_cv_type_uid_t
=yes
9761 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9762 if test $ac_cv_type_uid_t = no
; then
9763 cat >> confdefs.h
<<\EOF
9767 cat >> confdefs.h
<<\EOF
9775 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9776 echo "configure:9777: checking for pw_gecos in struct passwd" >&5
9777 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9781 cat > conftest.
$ac_ext <<EOF
9782 #line 9783 "configure"
9783 #include "confdefs.h"
9793 if { (eval echo configure
:9794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9796 wx_cv_struct_pw_gecos
=yes
9799 echo "configure: failed program was:" >&5
9800 cat conftest.
$ac_ext >&5
9803 wx_cv_struct_pw_gecos
=no
9812 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9814 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9815 cat >> confdefs.h
<<\EOF
9816 #define HAVE_PW_GECOS 1
9822 echo $ac_n "checking for working const""... $ac_c" 1>&6
9823 echo "configure:9824: checking for working const" >&5
9824 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9825 echo $ac_n "(cached) $ac_c" 1>&6
9827 cat > conftest.
$ac_ext <<EOF
9828 #line 9829 "configure"
9829 #include "confdefs.h"
9833 /* Ultrix mips cc rejects this. */
9834 typedef int charset[2]; const charset x;
9835 /* SunOS 4.1.1 cc rejects this. */
9836 char const *const *ccp;
9838 /* NEC SVR4.0.2 mips cc rejects this. */
9839 struct point {int x, y;};
9840 static struct point const zero = {0,0};
9841 /* AIX XL C 1.02.0.0 rejects this.
9842 It does not let you subtract one const X* pointer from another in an arm
9843 of an if-expression whose if-part is not a constant expression */
9844 const char *g = "string";
9845 ccp = &g + (g ? g-g : 0);
9846 /* HPUX 7.0 cc rejects these. */
9849 ccp = (char const *const *) p;
9850 { /* SCO 3.2v4 cc rejects this. */
9852 char const *s = 0 ? (char *) 0 : (char const *) 0;
9856 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9858 const int *foo = &x[0];
9861 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9862 typedef const int *iptr;
9866 { /* AIX XL C 1.02.0.0 rejects this saying
9867 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9868 struct s { int j; const int *ap[3]; };
9869 struct s *b; b->j = 5;
9871 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9877 if { (eval echo configure
:9878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9881 echo "configure: failed program was:" >&5
9882 cat conftest.
$ac_ext >&5
9889 echo "$ac_t""$ac_cv_c_const" 1>&6
9890 if test $ac_cv_c_const = no
; then
9891 cat >> confdefs.h
<<\EOF
9897 echo $ac_n "checking for inline""... $ac_c" 1>&6
9898 echo "configure:9899: checking for inline" >&5
9899 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9900 echo $ac_n "(cached) $ac_c" 1>&6
9903 for ac_kw
in inline __inline__ __inline
; do
9904 cat > conftest.
$ac_ext <<EOF
9905 #line 9906 "configure"
9906 #include "confdefs.h"
9912 if { (eval echo configure
:9913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9914 ac_cv_c_inline
=$ac_kw; break
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9924 echo "$ac_t""$ac_cv_c_inline" 1>&6
9925 case "$ac_cv_c_inline" in
9927 no
) cat >> confdefs.h
<<\EOF
9931 *) cat >> confdefs.h
<<EOF
9932 #define inline $ac_cv_c_inline
9938 echo $ac_n "checking size of char""... $ac_c" 1>&6
9939 echo "configure:9940: checking size of char" >&5
9940 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9941 echo $ac_n "(cached) $ac_c" 1>&6
9943 if test "$cross_compiling" = yes; then
9946 cat > conftest.
$ac_ext <<EOF
9947 #line 9948 "configure"
9948 #include "confdefs.h"
9952 FILE *f=fopen("conftestval", "w");
9954 fprintf(f, "%d\n", sizeof(char));
9958 if { (eval echo configure
:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9960 ac_cv_sizeof_char
=`cat conftestval`
9962 echo "configure: failed program was:" >&5
9963 cat conftest.
$ac_ext >&5
9971 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9972 cat >> confdefs.h
<<EOF
9973 #define SIZEOF_CHAR $ac_cv_sizeof_char
9977 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
9978 echo "configure:9979: checking size of wchar_t" >&5
9979 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
9980 echo $ac_n "(cached) $ac_c" 1>&6
9982 if test "$cross_compiling" = yes; then
9983 ac_cv_sizeof_wchar_t
=4
9985 cat > conftest.
$ac_ext <<EOF
9986 #line 9987 "configure"
9987 #include "confdefs.h"
9991 FILE *f=fopen("conftestval", "w");
9993 fprintf(f, "%d\n", sizeof(wchar_t));
9997 if { (eval echo configure
:9998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9999 ac_cv_sizeof_wchar_t
=`cat conftestval`
10001 echo "configure: failed program was:" >&5
10002 cat conftest.
$ac_ext >&5
10004 ac_cv_sizeof_wchar_t
=0
10010 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10011 cat >> confdefs.h
<<EOF
10012 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10016 echo $ac_n "checking size of short""... $ac_c" 1>&6
10017 echo "configure:10018: checking size of short" >&5
10018 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10019 echo $ac_n "(cached) $ac_c" 1>&6
10021 if test "$cross_compiling" = yes; then
10022 ac_cv_sizeof_short
=2
10024 cat > conftest.
$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10030 FILE *f=fopen("conftestval", "w");
10032 fprintf(f, "%d\n", sizeof(short));
10036 if { (eval echo configure
:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10038 ac_cv_sizeof_short
=`cat conftestval`
10040 echo "configure: failed program was:" >&5
10041 cat conftest.
$ac_ext >&5
10043 ac_cv_sizeof_short
=0
10049 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10050 cat >> confdefs.h
<<EOF
10051 #define SIZEOF_SHORT $ac_cv_sizeof_short
10055 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10056 echo "configure:10057: checking size of int *" >&5
10057 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 if test "$cross_compiling" = yes; then
10061 ac_cv_sizeof_int_p
=4
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10069 FILE *f=fopen("conftestval", "w");
10071 fprintf(f, "%d\n", sizeof(int *));
10075 if { (eval echo configure
:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10077 ac_cv_sizeof_int_p
=`cat conftestval`
10079 echo "configure: failed program was:" >&5
10080 cat conftest.
$ac_ext >&5
10082 ac_cv_sizeof_int_p
=0
10088 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10089 cat >> confdefs.h
<<EOF
10090 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10094 echo $ac_n "checking size of int""... $ac_c" 1>&6
10095 echo "configure:10096: checking size of int" >&5
10096 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10097 echo $ac_n "(cached) $ac_c" 1>&6
10099 if test "$cross_compiling" = yes; then
10102 cat > conftest.
$ac_ext <<EOF
10103 #line 10104 "configure"
10104 #include "confdefs.h"
10108 FILE *f=fopen("conftestval", "w");
10110 fprintf(f, "%d\n", sizeof(int));
10114 if { (eval echo configure
:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10116 ac_cv_sizeof_int
=`cat conftestval`
10118 echo "configure: failed program was:" >&5
10119 cat conftest.
$ac_ext >&5
10127 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10128 cat >> confdefs.h
<<EOF
10129 #define SIZEOF_INT $ac_cv_sizeof_int
10133 echo $ac_n "checking size of long""... $ac_c" 1>&6
10134 echo "configure:10135: checking size of long" >&5
10135 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10136 echo $ac_n "(cached) $ac_c" 1>&6
10138 if test "$cross_compiling" = yes; then
10139 ac_cv_sizeof_long
=4
10141 cat > conftest.
$ac_ext <<EOF
10142 #line 10143 "configure"
10143 #include "confdefs.h"
10147 FILE *f=fopen("conftestval", "w");
10149 fprintf(f, "%d\n", sizeof(long));
10153 if { (eval echo configure
:10154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10155 ac_cv_sizeof_long
=`cat conftestval`
10157 echo "configure: failed program was:" >&5
10158 cat conftest.
$ac_ext >&5
10160 ac_cv_sizeof_long
=0
10166 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10167 cat >> confdefs.h
<<EOF
10168 #define SIZEOF_LONG $ac_cv_sizeof_long
10172 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10173 echo "configure:10174: checking size of long long" >&5
10174 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10175 echo $ac_n "(cached) $ac_c" 1>&6
10177 if test "$cross_compiling" = yes; then
10178 ac_cv_sizeof_long_long
=0
10180 cat > conftest.
$ac_ext <<EOF
10181 #line 10182 "configure"
10182 #include "confdefs.h"
10186 FILE *f=fopen("conftestval", "w");
10188 fprintf(f, "%d\n", sizeof(long long));
10192 if { (eval echo configure
:10193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10194 ac_cv_sizeof_long_long
=`cat conftestval`
10196 echo "configure: failed program was:" >&5
10197 cat conftest.
$ac_ext >&5
10199 ac_cv_sizeof_long_long
=0
10205 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10206 cat >> confdefs.h
<<EOF
10207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10212 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10213 echo "configure:10214: checking whether byte ordering is bigendian" >&5
10214 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10215 echo $ac_n "(cached) $ac_c" 1>&6
10217 ac_cv_c_bigendian
=unknown
10218 # See if sys/param.h defines the BYTE_ORDER macro.
10219 cat > conftest.
$ac_ext <<EOF
10220 #line 10221 "configure"
10221 #include "confdefs.h"
10222 #include <sys/types.h>
10223 #include <sys/param.h>
10226 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10227 bogus endian macros
10231 if { (eval echo configure
:10232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10233 # It does; now see whether it defined to BIG_ENDIAN or not.
10234 cat > conftest.
$ac_ext <<EOF
10235 #line 10236 "configure"
10236 #include "confdefs.h"
10237 #include <sys/types.h>
10238 #include <sys/param.h>
10241 #if BYTE_ORDER != BIG_ENDIAN
10246 if { (eval echo configure
:10247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10248 ac_cv_c_bigendian
=yes
10250 echo "configure: failed program was:" >&5
10251 cat conftest.
$ac_ext >&5
10253 ac_cv_c_bigendian
=no
10257 echo "configure: failed program was:" >&5
10258 cat conftest.
$ac_ext >&5
10261 if test $ac_cv_c_bigendian = unknown
; then
10262 if test "$cross_compiling" = yes; then
10263 ac_cv_c_bigendian
=unknown
10265 cat > conftest.
$ac_ext <<EOF
10266 #line 10267 "configure"
10267 #include "confdefs.h"
10269 /* Are we little or big endian? From Harbison&Steele. */
10273 char c[sizeof (long)];
10276 exit (u.c[sizeof (long) - 1] == 1);
10279 if { (eval echo configure
:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10281 ac_cv_c_bigendian
=no
10283 echo "configure: failed program was:" >&5
10284 cat conftest.
$ac_ext >&5
10286 ac_cv_c_bigendian
=yes
10294 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10295 if test $ac_cv_c_bigendian = unknown
; then
10296 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
10298 if test $ac_cv_c_bigendian = yes; then
10299 cat >> confdefs.h
<<\EOF
10300 #define WORDS_BIGENDIAN 1
10307 if test "$cross_compiling" = "yes"; then
10308 cat >> confdefs.h
<<\EOF
10309 #define wxUSE_IOSTREAMH 1
10315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10316 ac_cpp
='$CXXCPP $CPPFLAGS'
10317 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10318 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10319 cross_compiling
=$ac_cv_prog_cxx_cross
10322 for ac_hdr
in iostream
10324 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10325 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10326 echo "configure:10327: checking for $ac_hdr" >&5
10327 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10328 echo $ac_n "(cached) $ac_c" 1>&6
10330 cat > conftest.
$ac_ext <<EOF
10331 #line 10332 "configure"
10332 #include "confdefs.h"
10335 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10336 { (eval echo configure
:10337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10337 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10338 if test -z "$ac_err"; then
10340 eval "ac_cv_header_$ac_safe=yes"
10343 echo "configure: failed program was:" >&5
10344 cat conftest.
$ac_ext >&5
10346 eval "ac_cv_header_$ac_safe=no"
10350 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10351 echo "$ac_t""yes" 1>&6
10352 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10353 cat >> confdefs.h
<<EOF
10354 #define $ac_tr_hdr 1
10358 echo "$ac_t""no" 1>&6
10363 if test "x$HAVE_IOSTREAM" = x
; then
10364 cat >> confdefs.h
<<\EOF
10365 #define wxUSE_IOSTREAMH 1
10373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10374 ac_cpp
='$CPP $CPPFLAGS'
10375 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10376 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10377 cross_compiling
=$ac_cv_prog_cc_cross
10383 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10384 echo "configure:10385: checking if C++ compiler supports bool" >&5
10385 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10386 echo $ac_n "(cached) $ac_c" 1>&6
10391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10392 ac_cpp
='$CXXCPP $CPPFLAGS'
10393 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10394 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10395 cross_compiling
=$ac_cv_prog_cxx_cross
10398 cat > conftest.
$ac_ext <<EOF
10399 #line 10400 "configure"
10400 #include "confdefs.h"
10411 if { (eval echo configure
:10412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10414 cat >> confdefs.h
<<\EOF
10415 #define HAVE_BOOL 1
10421 echo "configure: failed program was:" >&5
10422 cat conftest.
$ac_ext >&5
10432 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10433 ac_cpp
='$CPP $CPPFLAGS'
10434 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10435 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10436 cross_compiling
=$ac_cv_prog_cc_cross
10441 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10443 if test "$wx_cv_cpp_bool" = "yes"; then
10444 cat >> confdefs.h
<<\EOF
10445 #define HAVE_BOOL 1
10452 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10453 echo "configure:10454: checking if you need GNU extensions" >&5
10454 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10455 echo $ac_n "(cached) $ac_c" 1>&6
10458 cat > conftest.
$ac_ext <<EOF
10459 #line 10460 "configure"
10460 #include "confdefs.h"
10461 #include <features.h>
10465 #ifndef __GNU_LIBRARY__
10466 Compile error wanted
10472 if { (eval echo configure
:10473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10474 wx_cv_gnu_extensions
=yes
10476 echo "configure: failed program was:" >&5
10477 cat conftest.
$ac_ext >&5
10479 wx_cv_gnu_extensions
=no
10486 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10487 if test "$wx_cv_gnu_extensions" = "yes"; then
10488 cat >> confdefs.h
<<EOF
10489 #define _GNU_SOURCE 1
10496 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10497 echo "configure:10498: checking for wcslen in -lc" >&5
10498 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10499 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10502 ac_save_LIBS
="$LIBS"
10504 cat > conftest.
$ac_ext <<EOF
10505 #line 10506 "configure"
10506 #include "confdefs.h"
10507 /* Override any gcc2 internal prototype to avoid an error. */
10508 /* We use char because int might match the return type of a gcc2
10509 builtin and then its argument prototype would still apply. */
10516 if { (eval echo configure
:10517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10518 eval "ac_cv_lib_$ac_lib_var=yes"
10520 echo "configure: failed program was:" >&5
10521 cat conftest.
$ac_ext >&5
10523 eval "ac_cv_lib_$ac_lib_var=no"
10526 LIBS
="$ac_save_LIBS"
10529 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10530 echo "$ac_t""yes" 1>&6
10532 cat >> confdefs.h
<<\EOF
10533 #define HAVE_WCSLEN 1
10539 echo "$ac_t""no" 1>&6
10541 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10542 echo "configure:10543: checking for wcslen in -lw" >&5
10543 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10545 echo $ac_n "(cached) $ac_c" 1>&6
10547 ac_save_LIBS
="$LIBS"
10549 cat > conftest.
$ac_ext <<EOF
10550 #line 10551 "configure"
10551 #include "confdefs.h"
10552 /* Override any gcc2 internal prototype to avoid an error. */
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10561 if { (eval echo configure
:10562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10563 eval "ac_cv_lib_$ac_lib_var=yes"
10565 echo "configure: failed program was:" >&5
10566 cat conftest.
$ac_ext >&5
10568 eval "ac_cv_lib_$ac_lib_var=no"
10571 LIBS
="$ac_save_LIBS"
10574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10575 echo "$ac_t""yes" 1>&6
10577 cat >> confdefs.h
<<\EOF
10578 #define HAVE_WCSLEN 1
10584 echo "$ac_t""no" 1>&6
10591 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10592 echo "configure:10593: checking for vprintf" >&5
10593 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10594 echo $ac_n "(cached) $ac_c" 1>&6
10596 cat > conftest.
$ac_ext <<EOF
10597 #line 10598 "configure"
10598 #include "confdefs.h"
10599 /* System header to define __stub macros and hopefully few prototypes,
10600 which can conflict with char vprintf(); below. */
10601 #include <assert.h>
10602 /* Override any gcc2 internal prototype to avoid an error. */
10603 /* We use char because int might match the return type of a gcc2
10604 builtin and then its argument prototype would still apply. */
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10620 if { (eval echo configure
:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10622 eval "ac_cv_func_vprintf=yes"
10624 echo "configure: failed program was:" >&5
10625 cat conftest.
$ac_ext >&5
10627 eval "ac_cv_func_vprintf=no"
10632 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10633 echo "$ac_t""yes" 1>&6
10634 cat >> confdefs.h
<<\EOF
10635 #define HAVE_VPRINTF 1
10639 echo "$ac_t""no" 1>&6
10642 if test "$ac_cv_func_vprintf" != yes; then
10643 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10644 echo "configure:10645: checking for _doprnt" >&5
10645 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10646 echo $ac_n "(cached) $ac_c" 1>&6
10648 cat > conftest.
$ac_ext <<EOF
10649 #line 10650 "configure"
10650 #include "confdefs.h"
10651 /* System header to define __stub macros and hopefully few prototypes,
10652 which can conflict with char _doprnt(); below. */
10653 #include <assert.h>
10654 /* Override any gcc2 internal prototype to avoid an error. */
10655 /* We use char because int might match the return type of a gcc2
10656 builtin and then its argument prototype would still apply. */
10661 /* The GNU C library defines this for functions which it implements
10662 to always fail with ENOSYS. Some functions are actually named
10663 something starting with __ and the normal name is an alias. */
10664 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10672 if { (eval echo configure
:10673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10674 eval "ac_cv_func__doprnt=yes"
10676 echo "configure: failed program was:" >&5
10677 cat conftest.
$ac_ext >&5
10679 eval "ac_cv_func__doprnt=no"
10684 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10685 echo "$ac_t""yes" 1>&6
10686 cat >> confdefs.h
<<\EOF
10687 #define HAVE_DOPRNT 1
10691 echo "$ac_t""no" 1>&6
10699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10700 ac_cpp
='$CXXCPP $CPPFLAGS'
10701 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10702 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10703 cross_compiling
=$ac_cv_prog_cxx_cross
10708 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10709 echo "configure:10710: checking for vsnprintf" >&5
10710 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10711 echo $ac_n "(cached) $ac_c" 1>&6
10714 cat > conftest.
$ac_ext <<EOF
10715 #line 10716 "configure"
10716 #include "confdefs.h"
10719 #include <stdarg.h>
10723 int wx_test_vsnprintf(const char *, ...);
10725 wx_test_vsnprintf("%s");
10729 int wx_test_vsnprintf(const char *fmt, ...)
10734 va_start(argp, fmt);
10735 vsnprintf(s, 42, fmt, argp);
10740 if { (eval echo configure
:10741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10743 cat >> confdefs.h
<<\EOF
10744 #define HAVE_VSNPRINTF 1
10747 wx_cv_func_vsnprintf
=yes
10750 echo "configure: failed program was:" >&5
10751 cat conftest.
$ac_ext >&5
10754 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10755 wx_cv_func_vsnprintf
=no
10762 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10764 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10765 echo "configure:10766: checking for vsscanf" >&5
10766 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10767 echo $ac_n "(cached) $ac_c" 1>&6
10770 cat > conftest.
$ac_ext <<EOF
10771 #line 10772 "configure"
10772 #include "confdefs.h"
10775 #include <stdarg.h>
10779 int wx_test_vsscanf(const char *, ...);
10781 wx_test_vsscanf("%d");
10785 int wx_test_vsscanf(const char *fmt, ...)
10788 va_start(argp, fmt);
10789 vsscanf("42", fmt, argp);
10794 if { (eval echo configure
:10795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10797 cat >> confdefs.h
<<\EOF
10798 #define HAVE_VSSCANF 1
10801 wx_cv_func_vsscanf
=yes
10804 echo "configure: failed program was:" >&5
10805 cat conftest.
$ac_ext >&5
10808 wx_cv_func_vsscanf
=no
10815 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10819 ac_cpp
='$CPP $CPPFLAGS'
10820 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10821 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10822 cross_compiling
=$ac_cv_prog_cc_cross
10825 if test "$TOOLKIT" != "MSW"; then
10827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
10828 for ac_func
in sigaction
10830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10831 echo "configure:10832: checking for $ac_func" >&5
10832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10833 echo $ac_n "(cached) $ac_c" 1>&6
10835 cat > conftest.
$ac_ext <<EOF
10836 #line 10837 "configure"
10837 #include "confdefs.h"
10838 /* System header to define __stub macros and hopefully few prototypes,
10839 which can conflict with char $ac_func(); below. */
10840 #include <assert.h>
10841 /* Override any gcc2 internal prototype to avoid an error. */
10842 /* We use char because int might match the return type of a gcc2
10843 builtin and then its argument prototype would still apply. */
10848 /* The GNU C library defines this for functions which it implements
10849 to always fail with ENOSYS. Some functions are actually named
10850 something starting with __ and the normal name is an alias. */
10851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10859 if { (eval echo configure
:10860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10861 eval "ac_cv_func_$ac_func=yes"
10863 echo "configure: failed program was:" >&5
10864 cat conftest.
$ac_ext >&5
10866 eval "ac_cv_func_$ac_func=no"
10871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10872 echo "$ac_t""yes" 1>&6
10873 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10874 cat >> confdefs.h
<<EOF
10875 #define $ac_tr_func 1
10879 echo "$ac_t""no" 1>&6
10884 if test "$ac_cv_func_sigaction" = "no"; then
10885 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
10886 wxUSE_ON_FATAL_EXCEPTION
=no
10889 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
10892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10893 ac_cpp
='$CXXCPP $CPPFLAGS'
10894 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10895 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10896 cross_compiling
=$ac_cv_prog_cxx_cross
10899 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
10900 echo "configure:10901: checking for sa_handler type" >&5
10901 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
10902 echo $ac_n "(cached) $ac_c" 1>&6
10905 cat > conftest.
$ac_ext <<EOF
10906 #line 10907 "configure"
10907 #include "confdefs.h"
10908 #include <signal.h>
10911 extern void testSigHandler(int);
10913 struct sigaction sa;
10914 sa.sa_handler = testSigHandler;
10918 if { (eval echo configure
:10919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10921 wx_cv_type_sa_handler
=int
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10928 wx_cv_type_sa_handler
=void
10935 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
10938 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10939 ac_cpp
='$CPP $CPPFLAGS'
10940 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10941 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10942 cross_compiling
=$ac_cv_prog_cc_cross
10945 cat >> confdefs.h
<<EOF
10946 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
10952 for ac_func
in vfork
10954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10955 echo "configure:10956: checking for $ac_func" >&5
10956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10957 echo $ac_n "(cached) $ac_c" 1>&6
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10962 /* System header to define __stub macros and hopefully few prototypes,
10963 which can conflict with char $ac_func(); below. */
10964 #include <assert.h>
10965 /* Override any gcc2 internal prototype to avoid an error. */
10966 /* We use char because int might match the return type of a gcc2
10967 builtin and then its argument prototype would still apply. */
10972 /* The GNU C library defines this for functions which it implements
10973 to always fail with ENOSYS. Some functions are actually named
10974 something starting with __ and the normal name is an alias. */
10975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10983 if { (eval echo configure
:10984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10985 eval "ac_cv_func_$ac_func=yes"
10987 echo "configure: failed program was:" >&5
10988 cat conftest.
$ac_ext >&5
10990 eval "ac_cv_func_$ac_func=no"
10995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10996 echo "$ac_t""yes" 1>&6
10997 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10998 cat >> confdefs.h
<<EOF
10999 #define $ac_tr_func 1
11003 echo "$ac_t""no" 1>&6
11008 for ac_func
in timegm
11010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11011 echo "configure:11012: checking for $ac_func" >&5
11012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11013 echo $ac_n "(cached) $ac_c" 1>&6
11015 cat > conftest.
$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 /* System header to define __stub macros and hopefully few prototypes,
11019 which can conflict with char $ac_func(); below. */
11020 #include <assert.h>
11021 /* Override any gcc2 internal prototype to avoid an error. */
11022 /* We use char because int might match the return type of a gcc2
11023 builtin and then its argument prototype would still apply. */
11028 /* The GNU C library defines this for functions which it implements
11029 to always fail with ENOSYS. Some functions are actually named
11030 something starting with __ and the normal name is an alias. */
11031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11039 if { (eval echo configure
:11040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11041 eval "ac_cv_func_$ac_func=yes"
11043 echo "configure: failed program was:" >&5
11044 cat conftest.
$ac_ext >&5
11046 eval "ac_cv_func_$ac_func=no"
11051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11052 echo "$ac_t""yes" 1>&6
11053 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11054 cat >> confdefs.h
<<EOF
11055 #define $ac_tr_func 1
11059 echo "$ac_t""no" 1>&6
11064 HAVE_SOME_SLEEP_FUNC
=0
11065 if test "$USE_BEOS" = 1; then
11066 cat >> confdefs.h
<<\EOF
11067 #define HAVE_SLEEP 1
11070 HAVE_SOME_SLEEP_FUNC
=1
11073 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11075 for ac_func
in nanosleep
11077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11078 echo "configure:11079: checking for $ac_func" >&5
11079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11080 echo $ac_n "(cached) $ac_c" 1>&6
11082 cat > conftest.
$ac_ext <<EOF
11083 #line 11084 "configure"
11084 #include "confdefs.h"
11085 /* System header to define __stub macros and hopefully few prototypes,
11086 which can conflict with char $ac_func(); below. */
11087 #include <assert.h>
11088 /* Override any gcc2 internal prototype to avoid an error. */
11089 /* We use char because int might match the return type of a gcc2
11090 builtin and then its argument prototype would still apply. */
11095 /* The GNU C library defines this for functions which it implements
11096 to always fail with ENOSYS. Some functions are actually named
11097 something starting with __ and the normal name is an alias. */
11098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11106 if { (eval echo configure
:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11108 eval "ac_cv_func_$ac_func=yes"
11110 echo "configure: failed program was:" >&5
11111 cat conftest.
$ac_ext >&5
11113 eval "ac_cv_func_$ac_func=no"
11118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11119 echo "$ac_t""yes" 1>&6
11120 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11121 cat >> confdefs.h
<<EOF
11122 #define $ac_tr_func 1
11124 cat >> confdefs.h
<<\EOF
11125 #define HAVE_NANOSLEEP 1
11129 echo "$ac_t""no" 1>&6
11130 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11131 echo "configure:11132: checking for nanosleep in -lposix4" >&5
11132 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11133 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11134 echo $ac_n "(cached) $ac_c" 1>&6
11136 ac_save_LIBS
="$LIBS"
11137 LIBS
="-lposix4 $LIBS"
11138 cat > conftest.
$ac_ext <<EOF
11139 #line 11140 "configure"
11140 #include "confdefs.h"
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11150 if { (eval echo configure
:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11152 eval "ac_cv_lib_$ac_lib_var=yes"
11154 echo "configure: failed program was:" >&5
11155 cat conftest.
$ac_ext >&5
11157 eval "ac_cv_lib_$ac_lib_var=no"
11160 LIBS
="$ac_save_LIBS"
11163 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11164 echo "$ac_t""yes" 1>&6
11166 cat >> confdefs.h
<<\EOF
11167 #define HAVE_NANOSLEEP 1
11170 POSIX4_LINK
="-lposix4"
11173 echo "$ac_t""no" 1>&6
11175 for ac_func
in usleep
11177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11178 echo "configure:11179: checking for $ac_func" >&5
11179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11180 echo $ac_n "(cached) $ac_c" 1>&6
11182 cat > conftest.
$ac_ext <<EOF
11183 #line 11184 "configure"
11184 #include "confdefs.h"
11185 /* System header to define __stub macros and hopefully few prototypes,
11186 which can conflict with char $ac_func(); below. */
11187 #include <assert.h>
11188 /* Override any gcc2 internal prototype to avoid an error. */
11189 /* We use char because int might match the return type of a gcc2
11190 builtin and then its argument prototype would still apply. */
11195 /* The GNU C library defines this for functions which it implements
11196 to always fail with ENOSYS. Some functions are actually named
11197 something starting with __ and the normal name is an alias. */
11198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 if { (eval echo configure
:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11208 eval "ac_cv_func_$ac_func=yes"
11210 echo "configure: failed program was:" >&5
11211 cat conftest.
$ac_ext >&5
11213 eval "ac_cv_func_$ac_func=no"
11218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11219 echo "$ac_t""yes" 1>&6
11220 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11221 cat >> confdefs.h
<<EOF
11222 #define $ac_tr_func 1
11226 echo "$ac_t""no" 1>&6
11230 echo "configure: warning: wxSleep() function will not work" 1>&2
11242 for ac_func
in uname gethostname
11244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11245 echo "configure:11246: checking for $ac_func" >&5
11246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11247 echo $ac_n "(cached) $ac_c" 1>&6
11249 cat > conftest.
$ac_ext <<EOF
11250 #line 11251 "configure"
11251 #include "confdefs.h"
11252 /* System header to define __stub macros and hopefully few prototypes,
11253 which can conflict with char $ac_func(); below. */
11254 #include <assert.h>
11255 /* Override any gcc2 internal prototype to avoid an error. */
11256 /* We use char because int might match the return type of a gcc2
11257 builtin and then its argument prototype would still apply. */
11262 /* The GNU C library defines this for functions which it implements
11263 to always fail with ENOSYS. Some functions are actually named
11264 something starting with __ and the normal name is an alias. */
11265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11273 if { (eval echo configure
:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11275 eval "ac_cv_func_$ac_func=yes"
11277 echo "configure: failed program was:" >&5
11278 cat conftest.
$ac_ext >&5
11280 eval "ac_cv_func_$ac_func=no"
11285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11286 echo "$ac_t""yes" 1>&6
11287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11288 cat >> confdefs.h
<<EOF
11289 #define $ac_tr_func 1
11293 echo "$ac_t""no" 1>&6
11300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp
='$CXXCPP $CPPFLAGS'
11302 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling
=$ac_cv_prog_cxx_cross
11307 for ac_func
in strtok_r
11309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11310 echo "configure:11311: checking for $ac_func" >&5
11311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11314 cat > conftest.
$ac_ext <<EOF
11315 #line 11316 "configure"
11316 #include "confdefs.h"
11317 /* System header to define __stub macros and hopefully few prototypes,
11318 which can conflict with char $ac_func(); below. */
11319 #include <assert.h>
11320 /* Override any gcc2 internal prototype to avoid an error. */
11324 /* We use char because int might match the return type of a gcc2
11325 builtin and then its argument prototype would still apply. */
11330 /* The GNU C library defines this for functions which it implements
11331 to always fail with ENOSYS. Some functions are actually named
11332 something starting with __ and the normal name is an alias. */
11333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11341 if { (eval echo configure
:11342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11343 eval "ac_cv_func_$ac_func=yes"
11345 echo "configure: failed program was:" >&5
11346 cat conftest.
$ac_ext >&5
11348 eval "ac_cv_func_$ac_func=no"
11353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11354 echo "$ac_t""yes" 1>&6
11355 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11356 cat >> confdefs.h
<<EOF
11357 #define $ac_tr_func 1
11361 echo "$ac_t""no" 1>&6
11367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11368 ac_cpp
='$CPP $CPPFLAGS'
11369 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11370 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11371 cross_compiling
=$ac_cv_prog_cc_cross
11375 for ac_func
in inet_addr
11377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11378 echo "configure:11379: checking for $ac_func" >&5
11379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11380 echo $ac_n "(cached) $ac_c" 1>&6
11382 cat > conftest.
$ac_ext <<EOF
11383 #line 11384 "configure"
11384 #include "confdefs.h"
11385 /* System header to define __stub macros and hopefully few prototypes,
11386 which can conflict with char $ac_func(); below. */
11387 #include <assert.h>
11388 /* Override any gcc2 internal prototype to avoid an error. */
11389 /* We use char because int might match the return type of a gcc2
11390 builtin and then its argument prototype would still apply. */
11395 /* The GNU C library defines this for functions which it implements
11396 to always fail with ENOSYS. Some functions are actually named
11397 something starting with __ and the normal name is an alias. */
11398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11406 if { (eval echo configure
:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11408 eval "ac_cv_func_$ac_func=yes"
11410 echo "configure: failed program was:" >&5
11411 cat conftest.
$ac_ext >&5
11413 eval "ac_cv_func_$ac_func=no"
11418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11419 echo "$ac_t""yes" 1>&6
11420 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11421 cat >> confdefs.h
<<EOF
11422 #define $ac_tr_func 1
11424 cat >> confdefs.h
<<\EOF
11425 #define HAVE_INET_ADDR 1
11429 echo "$ac_t""no" 1>&6
11430 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11431 echo "configure:11432: checking for inet_addr in -lnsl" >&5
11432 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11434 echo $ac_n "(cached) $ac_c" 1>&6
11436 ac_save_LIBS
="$LIBS"
11438 cat > conftest.
$ac_ext <<EOF
11439 #line 11440 "configure"
11440 #include "confdefs.h"
11441 /* Override any gcc2 internal prototype to avoid an error. */
11442 /* We use char because int might match the return type of a gcc2
11443 builtin and then its argument prototype would still apply. */
11450 if { (eval echo configure
:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11452 eval "ac_cv_lib_$ac_lib_var=yes"
11454 echo "configure: failed program was:" >&5
11455 cat conftest.
$ac_ext >&5
11457 eval "ac_cv_lib_$ac_lib_var=no"
11460 LIBS
="$ac_save_LIBS"
11463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11464 echo "$ac_t""yes" 1>&6
11467 echo "$ac_t""no" 1>&6
11468 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11469 echo "configure:11470: checking for inet_addr in -lresolv" >&5
11470 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11472 echo $ac_n "(cached) $ac_c" 1>&6
11474 ac_save_LIBS
="$LIBS"
11475 LIBS
="-lresolv $LIBS"
11476 cat > conftest.
$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11479 /* Override any gcc2 internal prototype to avoid an error. */
11480 /* We use char because int might match the return type of a gcc2
11481 builtin and then its argument prototype would still apply. */
11488 if { (eval echo configure
:11489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11490 eval "ac_cv_lib_$ac_lib_var=yes"
11492 echo "configure: failed program was:" >&5
11493 cat conftest.
$ac_ext >&5
11495 eval "ac_cv_lib_$ac_lib_var=no"
11498 LIBS
="$ac_save_LIBS"
11501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11502 echo "$ac_t""yes" 1>&6
11506 echo "$ac_t""no" 1>&6
11518 for ac_func
in inet_aton
11520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11521 echo "configure:11522: checking for $ac_func" >&5
11522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11523 echo $ac_n "(cached) $ac_c" 1>&6
11525 cat > conftest.
$ac_ext <<EOF
11526 #line 11527 "configure"
11527 #include "confdefs.h"
11528 /* System header to define __stub macros and hopefully few prototypes,
11529 which can conflict with char $ac_func(); below. */
11530 #include <assert.h>
11531 /* Override any gcc2 internal prototype to avoid an error. */
11532 /* We use char because int might match the return type of a gcc2
11533 builtin and then its argument prototype would still apply. */
11538 /* The GNU C library defines this for functions which it implements
11539 to always fail with ENOSYS. Some functions are actually named
11540 something starting with __ and the normal name is an alias. */
11541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11549 if { (eval echo configure
:11550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11551 eval "ac_cv_func_$ac_func=yes"
11553 echo "configure: failed program was:" >&5
11554 cat conftest.
$ac_ext >&5
11556 eval "ac_cv_func_$ac_func=no"
11561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11562 echo "$ac_t""yes" 1>&6
11563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11564 cat >> confdefs.h
<<EOF
11565 #define $ac_tr_func 1
11567 cat >> confdefs.h
<<\EOF
11568 #define HAVE_INET_ATON 1
11572 echo "$ac_t""no" 1>&6
11573 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11574 echo "configure:11575: checking for inet_aton in -l$INET_LINK" >&5
11575 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11577 echo $ac_n "(cached) $ac_c" 1>&6
11579 ac_save_LIBS
="$LIBS"
11580 LIBS
="-l$INET_LINK $LIBS"
11581 cat > conftest.
$ac_ext <<EOF
11582 #line 11583 "configure"
11583 #include "confdefs.h"
11584 /* Override any gcc2 internal prototype to avoid an error. */
11585 /* We use char because int might match the return type of a gcc2
11586 builtin and then its argument prototype would still apply. */
11593 if { (eval echo configure
:11594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11595 eval "ac_cv_lib_$ac_lib_var=yes"
11597 echo "configure: failed program was:" >&5
11598 cat conftest.
$ac_ext >&5
11600 eval "ac_cv_lib_$ac_lib_var=no"
11603 LIBS
="$ac_save_LIBS"
11606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11607 echo "$ac_t""yes" 1>&6
11608 cat >> confdefs.h
<<\EOF
11609 #define HAVE_INET_ATON 1
11613 echo "$ac_t""no" 1>&6
11621 if test "x$INET_LINK" != "x"; then
11622 cat >> confdefs.h
<<\EOF
11623 #define HAVE_INET_ADDR 1
11626 INET_LINK
="-l$INET_LINK"
11632 cat > confcache
<<\EOF
11633 # This file is a shell script that caches the results of configure
11634 # tests run on this system so they can be shared between configure
11635 # scripts and configure runs. It is not useful on other systems.
11636 # If it contains results you don't want to keep, you may remove or edit it.
11638 # By default, configure uses ./config.cache as the cache file,
11639 # creating it if it does not exist already. You can give configure
11640 # the --cache-file=FILE option to use a different cache file; that is
11641 # what configure does when it calls configure scripts in
11642 # subdirectories, so they share the cache.
11643 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11644 # config.status only pays attention to the cache file if you give it the
11645 # --recheck option to rerun configure.
11648 # The following way of writing the cache mishandles newlines in values,
11649 # but we know of no workaround that is simple, portable, and efficient.
11650 # So, don't put newlines in cache variables' values.
11651 # Ultrix sh set writes to stderr and can't be redirected directly,
11652 # and sets the high bit in the cache file unless we assign to the vars.
11654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11656 # `set' does not quote correctly, so add quotes (double-quote substitution
11657 # turns \\\\ into \\, and sed turns \\ into \).
11659 -e "s/'/'\\\\''/g" \
11660 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11663 # `set' quotes correctly as required by POSIX, so do not add quotes.
11664 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11667 if cmp -s $cache_file confcache
; then
11670 if test -w $cache_file; then
11671 echo "updating cache $cache_file"
11672 cat confcache
> $cache_file
11674 echo "not updating unwritable cache $cache_file"
11681 if test "$TOOLKIT" != "MSW"; then
11687 if test "$wxUSE_THREADS" = "yes" ; then
11688 if test "$wxUSE_WINE" = 1 ; then
11689 echo "configure: warning: Threads are not supported under WINE" 1>&2
11691 elif test "$USE_BEOS" = 1; then
11692 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11697 if test "$wxUSE_THREADS" = "yes" ; then
11699 if test "$wxUSE_AIX" = 1; then
11700 THREADS_LIB
=pthreads
11702 THREADS_LIB
=pthread
11705 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
11706 echo "configure:11707: checking for pthread_create in -l$THREADS_LIB" >&5
11707 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
11708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11709 echo $ac_n "(cached) $ac_c" 1>&6
11711 ac_save_LIBS
="$LIBS"
11712 LIBS
="-l$THREADS_LIB $LIBS"
11713 cat > conftest.
$ac_ext <<EOF
11714 #line 11715 "configure"
11715 #include "confdefs.h"
11716 /* Override any gcc2 internal prototype to avoid an error. */
11717 /* We use char because int might match the return type of a gcc2
11718 builtin and then its argument prototype would still apply. */
11719 char pthread_create();
11725 if { (eval echo configure
:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11727 eval "ac_cv_lib_$ac_lib_var=yes"
11729 echo "configure: failed program was:" >&5
11730 cat conftest.
$ac_ext >&5
11732 eval "ac_cv_lib_$ac_lib_var=no"
11735 LIBS
="$ac_save_LIBS"
11738 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11739 echo "$ac_t""yes" 1>&6
11741 THREADS_OBJ
="threadpsx.lo"
11742 THREADS_LINK
=$THREADS_LIB
11745 echo "$ac_t""no" 1>&6
11747 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
11748 echo "configure:11749: checking for pthread_create in -lc_r" >&5
11749 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
11750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11751 echo $ac_n "(cached) $ac_c" 1>&6
11753 ac_save_LIBS
="$LIBS"
11755 cat > conftest.
$ac_ext <<EOF
11756 #line 11757 "configure"
11757 #include "confdefs.h"
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 /* We use char because int might match the return type of a gcc2
11760 builtin and then its argument prototype would still apply. */
11761 char pthread_create();
11767 if { (eval echo configure
:11768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11769 eval "ac_cv_lib_$ac_lib_var=yes"
11771 echo "configure: failed program was:" >&5
11772 cat conftest.
$ac_ext >&5
11774 eval "ac_cv_lib_$ac_lib_var=no"
11777 LIBS
="$ac_save_LIBS"
11780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11781 echo "$ac_t""yes" 1>&6
11783 THREADS_OBJ
="threadpsx.lo"
11787 echo "$ac_t""no" 1>&6
11789 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11790 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11791 echo "configure:11792: checking for sys/prctl.h" >&5
11792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11793 echo $ac_n "(cached) $ac_c" 1>&6
11795 cat > conftest.
$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11798 #include <sys/prctl.h>
11800 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11801 { (eval echo configure
:11802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11802 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11803 if test -z "$ac_err"; then
11805 eval "ac_cv_header_$ac_safe=yes"
11808 echo "configure: failed program was:" >&5
11809 cat conftest.
$ac_ext >&5
11811 eval "ac_cv_header_$ac_safe=no"
11815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11816 echo "$ac_t""yes" 1>&6
11818 THREADS_OBJ
="threadsgi.lo"
11821 echo "$ac_t""no" 1>&6
11831 if test -z "$THREADS_OBJ" ; then
11833 echo "configure: warning: No thread support on this system" 1>&2
11837 if test "$wxUSE_THREADS" = "yes" ; then
11838 for ac_func
in thr_setconcurrency
11840 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11841 echo "configure:11842: checking for $ac_func" >&5
11842 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11843 echo $ac_n "(cached) $ac_c" 1>&6
11845 cat > conftest.
$ac_ext <<EOF
11846 #line 11847 "configure"
11847 #include "confdefs.h"
11848 /* System header to define __stub macros and hopefully few prototypes,
11849 which can conflict with char $ac_func(); below. */
11850 #include <assert.h>
11851 /* Override any gcc2 internal prototype to avoid an error. */
11852 /* We use char because int might match the return type of a gcc2
11853 builtin and then its argument prototype would still apply. */
11858 /* The GNU C library defines this for functions which it implements
11859 to always fail with ENOSYS. Some functions are actually named
11860 something starting with __ and the normal name is an alias. */
11861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11869 if { (eval echo configure
:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11871 eval "ac_cv_func_$ac_func=yes"
11873 echo "configure: failed program was:" >&5
11874 cat conftest.
$ac_ext >&5
11876 eval "ac_cv_func_$ac_func=no"
11881 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11882 echo "$ac_t""yes" 1>&6
11883 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11884 cat >> confdefs.h
<<EOF
11885 #define $ac_tr_func 1
11889 echo "$ac_t""no" 1>&6
11895 for ac_hdr
in sched.h
11897 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11898 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11899 echo "configure:11900: checking for $ac_hdr" >&5
11900 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11901 echo $ac_n "(cached) $ac_c" 1>&6
11903 cat > conftest.
$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11908 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11909 { (eval echo configure
:11910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11910 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11911 if test -z "$ac_err"; then
11913 eval "ac_cv_header_$ac_safe=yes"
11916 echo "configure: failed program was:" >&5
11917 cat conftest.
$ac_ext >&5
11919 eval "ac_cv_header_$ac_safe=no"
11923 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11924 echo "$ac_t""yes" 1>&6
11925 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11926 cat >> confdefs.h
<<EOF
11927 #define $ac_tr_hdr 1
11931 echo "$ac_t""no" 1>&6
11936 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11937 echo "configure:11938: checking for sched_yield in -l$THREADS_LINK" >&5
11938 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11940 echo $ac_n "(cached) $ac_c" 1>&6
11942 ac_save_LIBS
="$LIBS"
11943 LIBS
="-l$THREADS_LINK $LIBS"
11944 cat > conftest.
$ac_ext <<EOF
11945 #line 11946 "configure"
11946 #include "confdefs.h"
11947 /* Override any gcc2 internal prototype to avoid an error. */
11948 /* We use char because int might match the return type of a gcc2
11949 builtin and then its argument prototype would still apply. */
11950 char sched_yield();
11956 if { (eval echo configure
:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11958 eval "ac_cv_lib_$ac_lib_var=yes"
11960 echo "configure: failed program was:" >&5
11961 cat conftest.
$ac_ext >&5
11963 eval "ac_cv_lib_$ac_lib_var=no"
11966 LIBS
="$ac_save_LIBS"
11969 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11970 echo "$ac_t""yes" 1>&6
11971 cat >> confdefs.h
<<\EOF
11972 #define HAVE_SCHED_YIELD 1
11976 echo "$ac_t""no" 1>&6
11977 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11978 echo "configure:11979: checking for sched_yield in -l"posix4
"" >&5
11979 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11981 echo $ac_n "(cached) $ac_c" 1>&6
11983 ac_save_LIBS
="$LIBS"
11984 LIBS
="-l"posix4
" $LIBS"
11985 cat > conftest.
$ac_ext <<EOF
11986 #line 11987 "configure"
11987 #include "confdefs.h"
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11991 char sched_yield();
11997 if { (eval echo configure
:11998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11999 eval "ac_cv_lib_$ac_lib_var=yes"
12001 echo "configure: failed program was:" >&5
12002 cat conftest.
$ac_ext >&5
12004 eval "ac_cv_lib_$ac_lib_var=no"
12007 LIBS
="$ac_save_LIBS"
12010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12011 echo "$ac_t""yes" 1>&6
12012 cat >> confdefs.h
<<\EOF
12013 #define HAVE_SCHED_YIELD 1
12015 POSIX4_LINK
="-lposix4"
12017 echo "$ac_t""no" 1>&6
12018 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12027 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12028 echo "configure:12029: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12029 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12030 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12033 ac_save_LIBS
="$LIBS"
12034 LIBS
="-l$THREADS_LINK $LIBS"
12035 cat > conftest.
$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12038 /* Override any gcc2 internal prototype to avoid an error. */
12039 /* We use char because int might match the return type of a gcc2
12040 builtin and then its argument prototype would still apply. */
12041 char pthread_attr_getschedpolicy();
12044 pthread_attr_getschedpolicy()
12047 if { (eval echo configure
:12048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12049 eval "ac_cv_lib_$ac_lib_var=yes"
12051 echo "configure: failed program was:" >&5
12052 cat conftest.
$ac_ext >&5
12054 eval "ac_cv_lib_$ac_lib_var=no"
12057 LIBS
="$ac_save_LIBS"
12060 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12061 echo "$ac_t""yes" 1>&6
12062 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12063 echo "configure:12064: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12064 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12066 echo $ac_n "(cached) $ac_c" 1>&6
12068 ac_save_LIBS
="$LIBS"
12069 LIBS
="-l$THREADS_LINK $LIBS"
12070 cat > conftest.
$ac_ext <<EOF
12071 #line 12072 "configure"
12072 #include "confdefs.h"
12073 /* Override any gcc2 internal prototype to avoid an error. */
12074 /* We use char because int might match the return type of a gcc2
12075 builtin and then its argument prototype would still apply. */
12076 char pthread_attr_setschedparam();
12079 pthread_attr_setschedparam()
12082 if { (eval echo configure
:12083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12084 eval "ac_cv_lib_$ac_lib_var=yes"
12086 echo "configure: failed program was:" >&5
12087 cat conftest.
$ac_ext >&5
12089 eval "ac_cv_lib_$ac_lib_var=no"
12092 LIBS
="$ac_save_LIBS"
12095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12096 echo "$ac_t""yes" 1>&6
12097 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12098 echo "configure:12099: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12099 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12100 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12101 echo $ac_n "(cached) $ac_c" 1>&6
12103 ac_save_LIBS
="$LIBS"
12104 LIBS
="-l$THREADS_LINK $LIBS"
12105 cat > conftest.
$ac_ext <<EOF
12106 #line 12107 "configure"
12107 #include "confdefs.h"
12108 /* Override any gcc2 internal prototype to avoid an error. */
12109 /* We use char because int might match the return type of a gcc2
12110 builtin and then its argument prototype would still apply. */
12111 char sched_get_priority_max();
12114 sched_get_priority_max()
12117 if { (eval echo configure
:12118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12119 eval "ac_cv_lib_$ac_lib_var=yes"
12121 echo "configure: failed program was:" >&5
12122 cat conftest.
$ac_ext >&5
12124 eval "ac_cv_lib_$ac_lib_var=no"
12127 LIBS
="$ac_save_LIBS"
12130 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12131 echo "$ac_t""yes" 1>&6
12134 echo "$ac_t""no" 1>&6
12135 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12136 echo "configure:12137: checking for sched_get_priority_max in -l"posix4
"" >&5
12137 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12141 ac_save_LIBS
="$LIBS"
12142 LIBS
="-l"posix4
" $LIBS"
12143 cat > conftest.
$ac_ext <<EOF
12144 #line 12145 "configure"
12145 #include "confdefs.h"
12146 /* Override any gcc2 internal prototype to avoid an error. */
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12149 char sched_get_priority_max();
12152 sched_get_priority_max()
12155 if { (eval echo configure
:12156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12157 eval "ac_cv_lib_$ac_lib_var=yes"
12159 echo "configure: failed program was:" >&5
12160 cat conftest.
$ac_ext >&5
12162 eval "ac_cv_lib_$ac_lib_var=no"
12165 LIBS
="$ac_save_LIBS"
12168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12169 echo "$ac_t""yes" 1>&6
12172 POSIX4_LINK
="-lposix4"
12175 echo "$ac_t""no" 1>&6
12183 echo "$ac_t""no" 1>&6
12188 echo "$ac_t""no" 1>&6
12192 if test "$HAVE_PRIOR_FUNCS" = 1; then
12193 cat >> confdefs.h
<<\EOF
12194 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12198 echo "configure: warning: Setting thread priority will not work" 1>&2
12201 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12202 echo "configure:12203: checking for pthread_cancel in -l$THREADS_LINK" >&5
12203 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12205 echo $ac_n "(cached) $ac_c" 1>&6
12207 ac_save_LIBS
="$LIBS"
12208 LIBS
="-l$THREADS_LINK $LIBS"
12209 cat > conftest.
$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12212 /* Override any gcc2 internal prototype to avoid an error. */
12213 /* We use char because int might match the return type of a gcc2
12214 builtin and then its argument prototype would still apply. */
12215 char pthread_cancel();
12221 if { (eval echo configure
:12222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12223 eval "ac_cv_lib_$ac_lib_var=yes"
12225 echo "configure: failed program was:" >&5
12226 cat conftest.
$ac_ext >&5
12228 eval "ac_cv_lib_$ac_lib_var=no"
12231 LIBS
="$ac_save_LIBS"
12234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12235 echo "$ac_t""yes" 1>&6
12236 cat >> confdefs.h
<<\EOF
12237 #define HAVE_PTHREAD_CANCEL 1
12241 echo "$ac_t""no" 1>&6
12242 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12246 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12247 echo "configure:12248: checking for pthread_cleanup_push/pop" >&5
12248 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12249 echo $ac_n "(cached) $ac_c" 1>&6
12252 cat > conftest.
$ac_ext <<EOF
12253 #line 12254 "configure"
12254 #include "confdefs.h"
12255 #include <pthread.h>
12258 pthread_cleanup_push(NULL, NULL);
12259 pthread_cleanup_pop(0);
12263 if { (eval echo configure
:12264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12266 wx_cv_func_pthread_cleanup_push
=yes
12267 cat >> confdefs.h
<<\EOF
12268 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12273 echo "configure: failed program was:" >&5
12274 cat conftest.
$ac_ext >&5
12277 wx_cv_func_pthread_cleanup_push
=no
12284 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12286 THREADS_LINK
="-l$THREADS_LINK"
12291 if test "$wxUSE_THREADS" = "yes"; then
12292 cat >> confdefs.h
<<\EOF
12293 #define wxUSE_THREADS 1
12297 CFLAGS
="${CFLAGS} -D_REENTRANT"
12298 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12302 if test "$ac_cv_func_strtok_r" = "yes"; then
12303 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12304 echo "configure:12305: checking if -D_REENTRANT is needed" >&5
12305 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12306 CFLAGS
="${CFLAGS} -D_REENTRANT"
12307 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12308 echo "$ac_t""yes" 1>&6
12310 echo "$ac_t""no" 1>&6
12315 if test "$WXGTK20" = 1 ; then
12316 cat >> confdefs.h
<<EOF
12317 #define __WXGTK20__ $WXGTK20
12323 if test "$WXGTK12" = 1 ; then
12324 cat >> confdefs.h
<<EOF
12325 #define __WXGTK12__ $WXGTK12
12330 if test "$WXGTK127" = 1 ; then
12331 cat >> confdefs.h
<<EOF
12332 #define __WXGTK127__ $WXGTK127
12337 if test "$WXWINE" = 1 ; then
12338 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12341 if test "$wxUSE_CYGWIN" = 1 ; then
12342 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12347 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12352 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12353 wxUSE_DEBUG_INFO
=yes
12357 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12358 cat >> confdefs.h
<<\EOF
12362 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12364 if test "$wxUSE_GTK" = 1 ; then
12365 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12369 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12370 cat >> confdefs.h
<<\EOF
12371 #define wxUSE_MEMORY_TRACING 1
12374 cat >> confdefs.h
<<\EOF
12375 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12378 cat >> confdefs.h
<<\EOF
12379 #define wxUSE_DEBUG_NEW_ALWAYS 1
12382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12385 if test "$wxUSE_DMALLOC" = "yes" ; then
12386 DMALLOC_LINK
="-ldmalloc"
12390 if test "$wxUSE_PROFILE" = "yes" ; then
12396 if test "$GCC" = yes ; then
12397 if test "$wxUSE_NO_RTTI" = "yes" ; then
12398 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
12400 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12401 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
12403 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12404 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12406 if test "$wxUSE_NO_DEPS" = "no" ; then
12407 DEP_INFO_FLAGS
="-MMD"
12412 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12413 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12414 if test "$wxUSE_OPTIMISE" = "no" ; then
12417 if test "$GCC" = yes ; then
12420 i586
-*-*|i686
-*-* )
12421 OPTIMISE
="${OPTIMISE} "
12431 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12432 cat >> confdefs.h
<<\EOF
12433 #define wxUSE_ZLIB 1
12436 if test "$wxUSE_ZLIB" = "yes" ; then
12437 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12440 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12441 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12442 echo "configure:12443: checking for zlib.h" >&5
12443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12444 echo $ac_n "(cached) $ac_c" 1>&6
12446 cat > conftest.
$ac_ext <<EOF
12447 #line 12448 "configure"
12448 #include "confdefs.h"
12451 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12452 { (eval echo configure
:12453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12453 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12454 if test -z "$ac_err"; then
12456 eval "ac_cv_header_$ac_safe=yes"
12459 echo "configure: failed program was:" >&5
12460 cat conftest.
$ac_ext >&5
12462 eval "ac_cv_header_$ac_safe=no"
12466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12467 echo "$ac_t""yes" 1>&6
12468 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12469 echo "configure:12470: checking for deflate in -lz" >&5
12470 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12472 echo $ac_n "(cached) $ac_c" 1>&6
12474 ac_save_LIBS
="$LIBS"
12476 cat > conftest.
$ac_ext <<EOF
12477 #line 12478 "configure"
12478 #include "confdefs.h"
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 /* We use char because int might match the return type of a gcc2
12481 builtin and then its argument prototype would still apply. */
12488 if { (eval echo configure
:12489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12490 eval "ac_cv_lib_$ac_lib_var=yes"
12492 echo "configure: failed program was:" >&5
12493 cat conftest.
$ac_ext >&5
12495 eval "ac_cv_lib_$ac_lib_var=no"
12498 LIBS
="$ac_save_LIBS"
12501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12502 echo "$ac_t""yes" 1>&6
12505 echo "$ac_t""no" 1>&6
12509 echo "$ac_t""no" 1>&6
12512 if test "x$ZLIB_LINK" = "x" ; then
12513 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12519 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12520 cat >> confdefs.h
<<\EOF
12521 #define wxUSE_LIBPNG 1
12524 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12525 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12529 if test "$wxUSE_LIBPNG" = "yes" ; then
12530 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12533 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12534 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12535 echo "configure:12536: checking for png.h" >&5
12536 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12537 echo $ac_n "(cached) $ac_c" 1>&6
12539 cat > conftest.
$ac_ext <<EOF
12540 #line 12541 "configure"
12541 #include "confdefs.h"
12544 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12545 { (eval echo configure
:12546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12546 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12547 if test -z "$ac_err"; then
12549 eval "ac_cv_header_$ac_safe=yes"
12552 echo "configure: failed program was:" >&5
12553 cat conftest.
$ac_ext >&5
12555 eval "ac_cv_header_$ac_safe=no"
12559 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12560 echo "$ac_t""yes" 1>&6
12561 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12562 echo "configure:12563: checking for png_check_sig in -lpng" >&5
12563 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12564 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12565 echo $ac_n "(cached) $ac_c" 1>&6
12567 ac_save_LIBS
="$LIBS"
12568 LIBS
="-lpng -lz -lm $LIBS"
12569 cat > conftest.
$ac_ext <<EOF
12570 #line 12571 "configure"
12571 #include "confdefs.h"
12572 /* Override any gcc2 internal prototype to avoid an error. */
12573 /* We use char because int might match the return type of a gcc2
12574 builtin and then its argument prototype would still apply. */
12575 char png_check_sig();
12581 if { (eval echo configure
:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12583 eval "ac_cv_lib_$ac_lib_var=yes"
12585 echo "configure: failed program was:" >&5
12586 cat conftest.
$ac_ext >&5
12588 eval "ac_cv_lib_$ac_lib_var=no"
12591 LIBS
="$ac_save_LIBS"
12594 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12595 echo "$ac_t""yes" 1>&6
12598 echo "$ac_t""no" 1>&6
12603 echo "$ac_t""no" 1>&6
12606 if test "x$PNG_LINK" = "x" ; then
12607 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12615 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12616 cat >> confdefs.h
<<\EOF
12617 #define wxUSE_LIBJPEG 1
12620 if test "$wxUSE_LIBJPEG" = "yes" ; then
12621 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12624 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12625 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12626 echo "configure:12627: checking for jpeglib.h" >&5
12627 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12628 echo $ac_n "(cached) $ac_c" 1>&6
12630 cat > conftest.
$ac_ext <<EOF
12631 #line 12632 "configure"
12632 #include "confdefs.h"
12633 #include <jpeglib.h>
12635 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12636 { (eval echo configure
:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12637 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12638 if test -z "$ac_err"; then
12640 eval "ac_cv_header_$ac_safe=yes"
12643 echo "configure: failed program was:" >&5
12644 cat conftest.
$ac_ext >&5
12646 eval "ac_cv_header_$ac_safe=no"
12650 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12651 echo "$ac_t""yes" 1>&6
12652 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12653 echo "configure:12654: checking for jpeg_read_header in -ljpeg" >&5
12654 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12656 echo $ac_n "(cached) $ac_c" 1>&6
12658 ac_save_LIBS
="$LIBS"
12659 LIBS
="-ljpeg $LIBS"
12660 cat > conftest.
$ac_ext <<EOF
12661 #line 12662 "configure"
12662 #include "confdefs.h"
12663 /* Override any gcc2 internal prototype to avoid an error. */
12664 /* We use char because int might match the return type of a gcc2
12665 builtin and then its argument prototype would still apply. */
12666 char jpeg_read_header();
12672 if { (eval echo configure
:12673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12674 eval "ac_cv_lib_$ac_lib_var=yes"
12676 echo "configure: failed program was:" >&5
12677 cat conftest.
$ac_ext >&5
12679 eval "ac_cv_lib_$ac_lib_var=no"
12682 LIBS
="$ac_save_LIBS"
12685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12686 echo "$ac_t""yes" 1>&6
12689 echo "$ac_t""no" 1>&6
12693 echo "$ac_t""no" 1>&6
12696 if test "x$JPEG_LINK" = "x" ; then
12697 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
12703 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
12704 cat >> confdefs.h
<<\EOF
12705 #define wxUSE_LIBTIFF 1
12708 if test "$wxUSE_LIBTIFF" = "yes" ; then
12709 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12712 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12713 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12714 echo "configure:12715: checking for tiffio.h" >&5
12715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12716 echo $ac_n "(cached) $ac_c" 1>&6
12718 cat > conftest.
$ac_ext <<EOF
12719 #line 12720 "configure"
12720 #include "confdefs.h"
12721 #include <tiffio.h>
12723 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12724 { (eval echo configure
:12725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12725 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12726 if test -z "$ac_err"; then
12728 eval "ac_cv_header_$ac_safe=yes"
12731 echo "configure: failed program was:" >&5
12732 cat conftest.
$ac_ext >&5
12734 eval "ac_cv_header_$ac_safe=no"
12738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12739 echo "$ac_t""yes" 1>&6
12740 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12741 echo "configure:12742: checking for TIFFError in -ltiff" >&5
12742 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12743 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12744 echo $ac_n "(cached) $ac_c" 1>&6
12746 ac_save_LIBS
="$LIBS"
12747 LIBS
="-ltiff -lm $LIBS"
12748 cat > conftest.
$ac_ext <<EOF
12749 #line 12750 "configure"
12750 #include "confdefs.h"
12751 /* Override any gcc2 internal prototype to avoid an error. */
12752 /* We use char because int might match the return type of a gcc2
12753 builtin and then its argument prototype would still apply. */
12760 if { (eval echo configure
:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12762 eval "ac_cv_lib_$ac_lib_var=yes"
12764 echo "configure: failed program was:" >&5
12765 cat conftest.
$ac_ext >&5
12767 eval "ac_cv_lib_$ac_lib_var=no"
12770 LIBS
="$ac_save_LIBS"
12773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12774 echo "$ac_t""yes" 1>&6
12777 echo "$ac_t""no" 1>&6
12781 echo "$ac_t""no" 1>&6
12784 if test "x$TIFF_LINK" = "x" ; then
12785 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
12790 if test "$wxUSE_OPENGL" = "yes"; then
12791 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12792 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12793 echo "configure:12794: checking for GL/gl.h" >&5
12794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12795 echo $ac_n "(cached) $ac_c" 1>&6
12797 cat > conftest.
$ac_ext <<EOF
12798 #line 12799 "configure"
12799 #include "confdefs.h"
12802 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12803 { (eval echo configure
:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12804 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12805 if test -z "$ac_err"; then
12807 eval "ac_cv_header_$ac_safe=yes"
12810 echo "configure: failed program was:" >&5
12811 cat conftest.
$ac_ext >&5
12813 eval "ac_cv_header_$ac_safe=no"
12817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12818 echo "$ac_t""yes" 1>&6
12820 cat >> confdefs.h
<<\EOF
12821 #define wxUSE_OPENGL 1
12824 cat >> confdefs.h
<<\EOF
12825 #define wxUSE_GLCANVAS 1
12828 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
12829 echo "configure:12830: checking for glFlush in -lGL" >&5
12830 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
12831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12832 echo $ac_n "(cached) $ac_c" 1>&6
12834 ac_save_LIBS
="$LIBS"
12836 cat > conftest.
$ac_ext <<EOF
12837 #line 12838 "configure"
12838 #include "confdefs.h"
12839 /* Override any gcc2 internal prototype to avoid an error. */
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12848 if { (eval echo configure
:12849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12850 eval "ac_cv_lib_$ac_lib_var=yes"
12852 echo "configure: failed program was:" >&5
12853 cat conftest.
$ac_ext >&5
12855 eval "ac_cv_lib_$ac_lib_var=no"
12858 LIBS
="$ac_save_LIBS"
12861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12862 echo "$ac_t""yes" 1>&6
12864 OPENGL_LINK
="-lGL -lGLU"
12867 echo "$ac_t""no" 1>&6
12869 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
12870 echo "configure:12871: checking for glFlush in -lMesaGL" >&5
12871 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
12872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12873 echo $ac_n "(cached) $ac_c" 1>&6
12875 ac_save_LIBS
="$LIBS"
12876 LIBS
="-lMesaGL $LIBS"
12877 cat > conftest.
$ac_ext <<EOF
12878 #line 12879 "configure"
12879 #include "confdefs.h"
12880 /* Override any gcc2 internal prototype to avoid an error. */
12881 /* We use char because int might match the return type of a gcc2
12882 builtin and then its argument prototype would still apply. */
12889 if { (eval echo configure
:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12891 eval "ac_cv_lib_$ac_lib_var=yes"
12893 echo "configure: failed program was:" >&5
12894 cat conftest.
$ac_ext >&5
12896 eval "ac_cv_lib_$ac_lib_var=no"
12899 LIBS
="$ac_save_LIBS"
12902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12903 echo "$ac_t""yes" 1>&6
12905 OPENGL_LINK
="-lMesaGL -lMesaGLU"
12908 echo "$ac_t""no" 1>&6
12916 echo "$ac_t""no" 1>&6
12923 if test "$wxUSE_GUI" = "yes"; then
12924 cat >> confdefs.h
<<\EOF
12925 #define wxUSE_GUI 1
12930 cat >> confdefs.h
<<\EOF
12931 #define wxUSE_NOGUI 1
12937 if test "$wxUSE_UNIX" = "yes"; then
12938 cat >> confdefs.h
<<\EOF
12939 #define wxUSE_UNIX 1
12945 if test "$wxUSE_APPLE_IEEE" = "yes"; then
12946 cat >> confdefs.h
<<\EOF
12947 #define wxUSE_APPLE_IEEE 1
12952 if test "$wxUSE_WAVE" = "yes"; then
12953 cat >> confdefs.h
<<\EOF
12954 #define wxUSE_WAVE 1
12959 if test "$wxUSE_FILE" = "yes"; then
12960 cat >> confdefs.h
<<\EOF
12961 #define wxUSE_FILE 1
12966 if test "$wxUSE_FILESYSTEM" = "yes"; then
12967 cat >> confdefs.h
<<\EOF
12968 #define wxUSE_FILESYSTEM 1
12973 if test "$wxUSE_FS_INET" = "yes"; then
12974 cat >> confdefs.h
<<\EOF
12975 #define wxUSE_FS_INET 1
12980 if test "$wxUSE_FS_ZIP" = "yes"; then
12981 cat >> confdefs.h
<<\EOF
12982 #define wxUSE_FS_ZIP 1
12987 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12988 cat >> confdefs.h
<<\EOF
12989 #define wxUSE_ZIPSTREAM 1
12994 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12995 cat >> confdefs.h
<<\EOF
12996 #define wxUSE_ON_FATAL_EXCEPTION 1
13001 if test "$wxUSE_BUSYINFO" = "yes"; then
13002 cat >> confdefs.h
<<\EOF
13003 #define wxUSE_BUSYINFO 1
13008 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13009 cat >> confdefs.h
<<\EOF
13010 #define wxUSE_STD_IOSTREAM 1
13015 if test "$wxUSE_TEXTFILE" = "yes"; then
13016 if test "$wxUSE_FILE" != "yes"; then
13017 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13019 cat >> confdefs.h
<<\EOF
13020 #define wxUSE_TEXTFILE 1
13026 if test "$wxUSE_CONFIG" = "yes" ; then
13027 if test "$wxUSE_TEXTFILE" != "yes"; then
13028 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13030 cat >> confdefs.h
<<\EOF
13031 #define wxUSE_CONFIG 1
13034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13038 if test "$wxUSE_INTL" = "yes" ; then
13039 if test "$wxUSE_FILE" != "yes"; then
13040 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13042 cat >> confdefs.h
<<\EOF
13043 #define wxUSE_INTL 1
13046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13047 GUIDIST
="$GUIDIST INTL_DIST"
13051 if test "$wxUSE_LOG" = "yes"; then
13052 cat >> confdefs.h
<<\EOF
13053 #define wxUSE_LOG 1
13058 if test "$wxUSE_LONGLONG" = "yes"; then
13059 cat >> confdefs.h
<<\EOF
13060 #define wxUSE_LONGLONG 1
13065 if test "$wxUSE_PLOT" = "yes"; then
13066 cat >> confdefs.h
<<\EOF
13067 #define wxUSE_PLOT 1
13072 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13073 cat >> confdefs.h
<<\EOF
13074 #define wxUSE_DIALUP_MANAGER 1
13077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13080 if test "$wxUSE_STREAMS" = "yes" ; then
13081 cat >> confdefs.h
<<\EOF
13082 #define wxUSE_STREAMS 1
13088 if test "$wxUSE_TIMEDATE" = "yes"; then
13089 for ac_func
in strptime
13091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13092 echo "configure:13093: checking for $ac_func" >&5
13093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13094 echo $ac_n "(cached) $ac_c" 1>&6
13096 cat > conftest.
$ac_ext <<EOF
13097 #line 13098 "configure"
13098 #include "confdefs.h"
13099 /* System header to define __stub macros and hopefully few prototypes,
13100 which can conflict with char $ac_func(); below. */
13101 #include <assert.h>
13102 /* Override any gcc2 internal prototype to avoid an error. */
13103 /* We use char because int might match the return type of a gcc2
13104 builtin and then its argument prototype would still apply. */
13109 /* The GNU C library defines this for functions which it implements
13110 to always fail with ENOSYS. Some functions are actually named
13111 something starting with __ and the normal name is an alias. */
13112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13120 if { (eval echo configure
:13121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13122 eval "ac_cv_func_$ac_func=yes"
13124 echo "configure: failed program was:" >&5
13125 cat conftest.
$ac_ext >&5
13127 eval "ac_cv_func_$ac_func=no"
13132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13133 echo "$ac_t""yes" 1>&6
13134 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13135 cat >> confdefs.h
<<EOF
13136 #define $ac_tr_func 1
13140 echo "$ac_t""no" 1>&6
13145 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13146 echo "configure:13147: checking for timezone variable in <time.h>" >&5
13147 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13148 echo $ac_n "(cached) $ac_c" 1>&6
13151 cat > conftest.
$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13164 if { (eval echo configure
:13165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13167 wx_cv_var_timezone
=__timezone
13170 echo "configure: failed program was:" >&5
13171 cat conftest.
$ac_ext >&5
13174 cat > conftest.
$ac_ext <<EOF
13175 #line 13176 "configure"
13176 #include "confdefs.h"
13187 if { (eval echo configure
:13188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13190 wx_cv_var_timezone
=_timezone
13193 echo "configure: failed program was:" >&5
13194 cat conftest.
$ac_ext >&5
13197 cat > conftest.
$ac_ext <<EOF
13198 #line 13199 "configure"
13199 #include "confdefs.h"
13210 if { (eval echo configure
:13211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13213 wx_cv_var_timezone
=timezone
13216 echo "configure: failed program was:" >&5
13217 cat conftest.
$ac_ext >&5
13219 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13235 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13237 cat >> confdefs.h
<<EOF
13238 #define WX_TIMEZONE $wx_cv_var_timezone
13242 for ac_func
in localtime
13244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13245 echo "configure:13246: checking for $ac_func" >&5
13246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13247 echo $ac_n "(cached) $ac_c" 1>&6
13249 cat > conftest.
$ac_ext <<EOF
13250 #line 13251 "configure"
13251 #include "confdefs.h"
13252 /* System header to define __stub macros and hopefully few prototypes,
13253 which can conflict with char $ac_func(); below. */
13254 #include <assert.h>
13255 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13262 /* The GNU C library defines this for functions which it implements
13263 to always fail with ENOSYS. Some functions are actually named
13264 something starting with __ and the normal name is an alias. */
13265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13273 if { (eval echo configure
:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13275 eval "ac_cv_func_$ac_func=yes"
13277 echo "configure: failed program was:" >&5
13278 cat conftest.
$ac_ext >&5
13280 eval "ac_cv_func_$ac_func=no"
13285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13286 echo "$ac_t""yes" 1>&6
13287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13288 cat >> confdefs.h
<<EOF
13289 #define $ac_tr_func 1
13293 echo "$ac_t""no" 1>&6
13298 if test "$ac_cv_func_localtime" = "yes"; then
13299 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13300 echo "configure:13301: checking for tm_gmtoff in struct tm" >&5
13301 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13302 echo $ac_n "(cached) $ac_c" 1>&6
13305 cat > conftest.
$ac_ext <<EOF
13306 #line 13307 "configure"
13307 #include "confdefs.h"
13318 if { (eval echo configure
:13319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13321 wx_cv_struct_tm_has_gmtoff
=yes
13322 cat >> confdefs.h
<<\EOF
13323 #define WX_GMTOFF_IN_TM 1
13328 echo "configure: failed program was:" >&5
13329 cat conftest.
$ac_ext >&5
13331 wx_cv_struct_tm_has_gmtoff
=no
13338 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13341 for ac_func
in gettimeofday ftime
13343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13344 echo "configure:13345: checking for $ac_func" >&5
13345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13346 echo $ac_n "(cached) $ac_c" 1>&6
13348 cat > conftest.
$ac_ext <<EOF
13349 #line 13350 "configure"
13350 #include "confdefs.h"
13351 /* System header to define __stub macros and hopefully few prototypes,
13352 which can conflict with char $ac_func(); below. */
13353 #include <assert.h>
13354 /* Override any gcc2 internal prototype to avoid an error. */
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13361 /* The GNU C library defines this for functions which it implements
13362 to always fail with ENOSYS. Some functions are actually named
13363 something starting with __ and the normal name is an alias. */
13364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13372 if { (eval echo configure
:13373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13374 eval "ac_cv_func_$ac_func=yes"
13376 echo "configure: failed program was:" >&5
13377 cat conftest.
$ac_ext >&5
13379 eval "ac_cv_func_$ac_func=no"
13384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13385 echo "$ac_t""yes" 1>&6
13386 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13387 cat >> confdefs.h
<<EOF
13388 #define $ac_tr_func 1
13392 echo "$ac_t""no" 1>&6
13397 if test "$ac_cv_func_gettimeofday" = "yes"; then
13398 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13399 echo "configure:13400: checking whether gettimeofday takes two arguments" >&5
13400 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13401 echo $ac_n "(cached) $ac_c" 1>&6
13406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13407 ac_cpp
='$CXXCPP $CPPFLAGS'
13408 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13409 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13410 cross_compiling
=$ac_cv_prog_cxx_cross
13413 cat > conftest.
$ac_ext <<EOF
13414 #line 13415 "configure"
13415 #include "confdefs.h"
13417 #include <sys/time.h>
13418 #include <unistd.h>
13423 struct timezone tz;
13424 gettimeofday(&tv, &tz);
13428 if { (eval echo configure
:13429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13430 wx_cv_func_gettimeofday_has_2_args
=yes
13432 echo "configure: failed program was:" >&5
13433 cat conftest.
$ac_ext >&5
13435 cat > conftest.
$ac_ext <<EOF
13436 #line 13437 "configure"
13437 #include "confdefs.h"
13439 #include <sys/time.h>
13440 #include <unistd.h>
13449 if { (eval echo configure
:13450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13451 wx_cv_func_gettimeofday_has_2_args
=no
13453 echo "configure: failed program was:" >&5
13454 cat conftest.
$ac_ext >&5
13456 wx_cv_func_gettimeofday_has_2_args
=unknown
13464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13465 ac_cpp
='$CPP $CPPFLAGS'
13466 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13467 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13468 cross_compiling
=$ac_cv_prog_cc_cross
13473 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13475 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13476 cat >> confdefs.h
<<\EOF
13477 #define WX_GETTIMEOFDAY_NO_TZ 1
13483 cat >> confdefs.h
<<\EOF
13484 #define wxUSE_TIMEDATE 1
13487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13491 if test "$TOOLKIT" != "MSW"; then
13493 if test "$wxUSE_SOCKETS" = "yes"; then
13494 echo $ac_n "checking for socket""... $ac_c" 1>&6
13495 echo "configure:13496: checking for socket" >&5
13496 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13497 echo $ac_n "(cached) $ac_c" 1>&6
13499 cat > conftest.
$ac_ext <<EOF
13500 #line 13501 "configure"
13501 #include "confdefs.h"
13502 /* System header to define __stub macros and hopefully few prototypes,
13503 which can conflict with char socket(); below. */
13504 #include <assert.h>
13505 /* Override any gcc2 internal prototype to avoid an error. */
13506 /* We use char because int might match the return type of a gcc2
13507 builtin and then its argument prototype would still apply. */
13512 /* The GNU C library defines this for functions which it implements
13513 to always fail with ENOSYS. Some functions are actually named
13514 something starting with __ and the normal name is an alias. */
13515 #if defined (__stub_socket) || defined (__stub___socket)
13523 if { (eval echo configure
:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13525 eval "ac_cv_func_socket=yes"
13527 echo "configure: failed program was:" >&5
13528 cat conftest.
$ac_ext >&5
13530 eval "ac_cv_func_socket=no"
13535 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13536 echo "$ac_t""yes" 1>&6
13539 echo "$ac_t""no" 1>&6
13540 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13541 echo "configure:13542: checking for socket in -lsocket" >&5
13542 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13544 echo $ac_n "(cached) $ac_c" 1>&6
13546 ac_save_LIBS
="$LIBS"
13547 LIBS
="-lsocket $LIBS"
13548 cat > conftest.
$ac_ext <<EOF
13549 #line 13550 "configure"
13550 #include "confdefs.h"
13551 /* Override any gcc2 internal prototype to avoid an error. */
13552 /* We use char because int might match the return type of a gcc2
13553 builtin and then its argument prototype would still apply. */
13560 if { (eval echo configure
:13561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13562 eval "ac_cv_lib_$ac_lib_var=yes"
13564 echo "configure: failed program was:" >&5
13565 cat conftest.
$ac_ext >&5
13567 eval "ac_cv_lib_$ac_lib_var=no"
13570 LIBS
="$ac_save_LIBS"
13573 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13574 echo "$ac_t""yes" 1>&6
13575 INET_LINK
="$INET_LINK -lsocket"
13577 echo "$ac_t""no" 1>&6
13579 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
13592 if test "$wxUSE_SOCKETS" = "yes" ; then
13593 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
13594 echo "configure:13595: checking what is the type of the third argument of getsockname" >&5
13595 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
13596 echo $ac_n "(cached) $ac_c" 1>&6
13601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13602 ac_cpp
='$CXXCPP $CPPFLAGS'
13603 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13604 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13605 cross_compiling
=$ac_cv_prog_cxx_cross
13608 cat > conftest.
$ac_ext <<EOF
13609 #line 13610 "configure"
13610 #include "confdefs.h"
13612 #include <sys/types.h>
13613 #include <sys/socket.h>
13618 getsockname(0, 0, &len);
13622 if { (eval echo configure
:13623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13624 wx_cv_type_getsockname3
=socklen_t
13626 echo "configure: failed program was:" >&5
13627 cat conftest.
$ac_ext >&5
13629 cat > conftest.
$ac_ext <<EOF
13630 #line 13631 "configure"
13631 #include "confdefs.h"
13633 #include <sys/types.h>
13634 #include <sys/socket.h>
13639 getsockname(0, 0, &len);
13643 if { (eval echo configure
:13644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13645 wx_cv_type_getsockname3
=size_t
13647 echo "configure: failed program was:" >&5
13648 cat conftest.
$ac_ext >&5
13650 cat > conftest.
$ac_ext <<EOF
13651 #line 13652 "configure"
13652 #include "confdefs.h"
13654 #include <sys/types.h>
13655 #include <sys/socket.h>
13660 getsockname(0, 0, &len);
13664 if { (eval echo configure
:13665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13666 wx_cv_type_getsockname3
=int
13668 echo "configure: failed program was:" >&5
13669 cat conftest.
$ac_ext >&5
13671 wx_cv_type_getsockname3
=unknown
13683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp
='$CPP $CPPFLAGS'
13685 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling
=$ac_cv_prog_cc_cross
13692 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
13694 if test "$wx_cv_type_getsockname3" = "unknown"; then
13696 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
13698 cat >> confdefs.h
<<EOF
13699 #define SOCKLEN_T $wx_cv_type_getsockname3
13705 if test "$wxUSE_SOCKETS" = "yes" ; then
13706 cat >> confdefs.h
<<\EOF
13707 #define wxUSE_SOCKETS 1
13710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
13711 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
13715 if test "$wxUSE_GUI" = "yes"; then
13717 if test "$TOOLKIT" != "MSW"; then
13719 if test "$wxUSE_JOYSTICK" = "yes"; then
13720 for ac_hdr
in linux
/joystick.h
13722 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13724 echo "configure:13725: checking for $ac_hdr" >&5
13725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13726 echo $ac_n "(cached) $ac_c" 1>&6
13728 cat > conftest.
$ac_ext <<EOF
13729 #line 13730 "configure"
13730 #include "confdefs.h"
13733 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13734 { (eval echo configure
:13735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13735 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13736 if test -z "$ac_err"; then
13738 eval "ac_cv_header_$ac_safe=yes"
13741 echo "configure: failed program was:" >&5
13742 cat conftest.
$ac_ext >&5
13744 eval "ac_cv_header_$ac_safe=no"
13748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13749 echo "$ac_t""yes" 1>&6
13750 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13751 cat >> confdefs.h
<<EOF
13752 #define $ac_tr_hdr 1
13756 echo "$ac_t""no" 1>&6
13760 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
13762 echo "configure: warning: Joystick not supported by this system" 1>&2
13768 if test "$wxUSE_JOYSTICK" = "yes"; then
13769 cat >> confdefs.h
<<\EOF
13770 #define wxUSE_JOYSTICK 1
13773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
13779 if test "$TOOLKIT" != "MSW"; then
13783 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
13784 for ac_func
in dlopen
13786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13787 echo "configure:13788: checking for $ac_func" >&5
13788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13789 echo $ac_n "(cached) $ac_c" 1>&6
13791 cat > conftest.
$ac_ext <<EOF
13792 #line 13793 "configure"
13793 #include "confdefs.h"
13794 /* System header to define __stub macros and hopefully few prototypes,
13795 which can conflict with char $ac_func(); below. */
13796 #include <assert.h>
13797 /* Override any gcc2 internal prototype to avoid an error. */
13798 /* We use char because int might match the return type of a gcc2
13799 builtin and then its argument prototype would still apply. */
13804 /* The GNU C library defines this for functions which it implements
13805 to always fail with ENOSYS. Some functions are actually named
13806 something starting with __ and the normal name is an alias. */
13807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13815 if { (eval echo configure
:13816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13817 eval "ac_cv_func_$ac_func=yes"
13819 echo "configure: failed program was:" >&5
13820 cat conftest.
$ac_ext >&5
13822 eval "ac_cv_func_$ac_func=no"
13827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13828 echo "$ac_t""yes" 1>&6
13829 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13830 cat >> confdefs.h
<<EOF
13831 #define $ac_tr_func 1
13834 cat >> confdefs.h
<<\EOF
13835 #define HAVE_DLOPEN 1
13841 echo "$ac_t""no" 1>&6
13842 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
13843 echo "configure:13844: checking for dlopen in -ldl" >&5
13844 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
13845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13846 echo $ac_n "(cached) $ac_c" 1>&6
13848 ac_save_LIBS
="$LIBS"
13850 cat > conftest.
$ac_ext <<EOF
13851 #line 13852 "configure"
13852 #include "confdefs.h"
13853 /* Override any gcc2 internal prototype to avoid an error. */
13854 /* We use char because int might match the return type of a gcc2
13855 builtin and then its argument prototype would still apply. */
13862 if { (eval echo configure
:13863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13864 eval "ac_cv_lib_$ac_lib_var=yes"
13866 echo "configure: failed program was:" >&5
13867 cat conftest.
$ac_ext >&5
13869 eval "ac_cv_lib_$ac_lib_var=no"
13872 LIBS
="$ac_save_LIBS"
13875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13878 cat >> confdefs.h
<<\EOF
13879 #define HAVE_DLOPEN 1
13886 echo "$ac_t""no" 1>&6
13888 for ac_func
in shl_load
13890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13891 echo "configure:13892: checking for $ac_func" >&5
13892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13895 cat > conftest.
$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13898 /* System header to define __stub macros and hopefully few prototypes,
13899 which can conflict with char $ac_func(); below. */
13900 #include <assert.h>
13901 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13908 /* The GNU C library defines this for functions which it implements
13909 to always fail with ENOSYS. Some functions are actually named
13910 something starting with __ and the normal name is an alias. */
13911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13919 if { (eval echo configure
:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13921 eval "ac_cv_func_$ac_func=yes"
13923 echo "configure: failed program was:" >&5
13924 cat conftest.
$ac_ext >&5
13926 eval "ac_cv_func_$ac_func=no"
13931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13932 echo "$ac_t""yes" 1>&6
13933 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13934 cat >> confdefs.h
<<EOF
13935 #define $ac_tr_func 1
13938 cat >> confdefs.h
<<\EOF
13939 #define HAVE_SHL_LOAD 1
13945 echo "$ac_t""no" 1>&6
13946 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
13947 echo "configure:13948: checking for dld in -lshl_load" >&5
13948 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
13949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13952 ac_save_LIBS
="$LIBS"
13953 LIBS
="-lshl_load $LIBS"
13954 cat > conftest.
$ac_ext <<EOF
13955 #line 13956 "configure"
13956 #include "confdefs.h"
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 /* We use char because int might match the return type of a gcc2
13959 builtin and then its argument prototype would still apply. */
13966 if { (eval echo configure
:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13968 eval "ac_cv_lib_$ac_lib_var=yes"
13970 echo "configure: failed program was:" >&5
13971 cat conftest.
$ac_ext >&5
13973 eval "ac_cv_lib_$ac_lib_var=no"
13976 LIBS
="$ac_save_LIBS"
13979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13980 echo "$ac_t""yes" 1>&6
13986 echo "$ac_t""no" 1>&6
14001 if test "$HAVE_DL_FUNCS" = 1; then
14002 for ac_func
in dlerror
14004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14005 echo "configure:14006: checking for $ac_func" >&5
14006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 cat > conftest.
$ac_ext <<EOF
14010 #line 14011 "configure"
14011 #include "confdefs.h"
14012 /* System header to define __stub macros and hopefully few prototypes,
14013 which can conflict with char $ac_func(); below. */
14014 #include <assert.h>
14015 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14022 /* The GNU C library defines this for functions which it implements
14023 to always fail with ENOSYS. Some functions are actually named
14024 something starting with __ and the normal name is an alias. */
14025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14033 if { (eval echo configure
:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14035 eval "ac_cv_func_$ac_func=yes"
14037 echo "configure: failed program was:" >&5
14038 cat conftest.
$ac_ext >&5
14040 eval "ac_cv_func_$ac_func=no"
14045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14048 cat >> confdefs.h
<<EOF
14049 #define $ac_tr_func 1
14051 cat >> confdefs.h
<<\EOF
14052 #define HAVE_DLERROR 1
14056 echo "$ac_t""no" 1>&6
14057 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14058 echo "configure:14059: checking for dlerror in -ldl" >&5
14059 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14061 echo $ac_n "(cached) $ac_c" 1>&6
14063 ac_save_LIBS
="$LIBS"
14065 cat > conftest.
$ac_ext <<EOF
14066 #line 14067 "configure"
14067 #include "confdefs.h"
14068 /* Override any gcc2 internal prototype to avoid an error. */
14069 /* We use char because int might match the return type of a gcc2
14070 builtin and then its argument prototype would still apply. */
14077 if { (eval echo configure
:14078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14079 eval "ac_cv_lib_$ac_lib_var=yes"
14081 echo "configure: failed program was:" >&5
14082 cat conftest.
$ac_ext >&5
14084 eval "ac_cv_lib_$ac_lib_var=no"
14087 LIBS
="$ac_save_LIBS"
14090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14091 echo "$ac_t""yes" 1>&6
14092 cat >> confdefs.h
<<\EOF
14093 #define HAVE_DLERROR 1
14097 echo "$ac_t""no" 1>&6
14105 if test "$HAVE_DL_FUNCS" = 0; then
14106 if test "$HAVE_SHL_FUNCS" = 0; then
14107 if test "$USE_UNIX" = 1; then
14108 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14109 wxUSE_DYNLIB_CLASS
=no
14111 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14119 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14120 cat >> confdefs.h
<<\EOF
14121 #define wxUSE_DYNLIB_CLASS 1
14130 if test "$wxUSE_UNICODE" = "yes" ; then
14131 cat >> confdefs.h
<<\EOF
14132 #define wxUSE_UNICODE 1
14137 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14138 cat >> confdefs.h
<<\EOF
14139 #define wxUSE_WCSRTOMBS 1
14144 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14145 cat >> confdefs.h
<<\EOF
14146 #define wxUSE_EXPERIMENTAL_PRINTF 1
14152 if test "$wxUSE_SERIAL" = "yes" ; then
14153 cat >> confdefs.h
<<\EOF
14154 #define wxUSE_SERIAL 1
14161 if test "$wxUSE_ODBC" = "yes" ; then
14162 cat >> confdefs.h
<<\EOF
14163 #define wxUSE_ODBC 1
14166 WXODBCFLAG
="-D_IODBC_"
14167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14168 IODBCOBJS
="\$(IODBC_OBJS)"
14174 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14175 cat >> confdefs.h
<<\EOF
14176 #define wxUSE_POSTSCRIPT 1
14181 cat >> confdefs.h
<<\EOF
14182 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14186 cat >> confdefs.h
<<\EOF
14187 #define wxUSE_NORMALIZED_PS_FONTS 1
14192 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14193 cat >> confdefs.h
<<\EOF
14194 #define wxUSE_CONSTRAINTS 1
14197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14200 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14201 cat >> confdefs.h
<<\EOF
14202 #define wxUSE_MDI_ARCHITECTURE 1
14205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14208 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14209 cat >> confdefs.h
<<\EOF
14210 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14214 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14219 if test "$wxUSE_HELP" = "yes"; then
14220 cat >> confdefs.h
<<\EOF
14221 #define wxUSE_HELP 1
14224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14227 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14228 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14229 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14231 cat >> confdefs.h
<<\EOF
14232 #define wxUSE_PRINTING_ARCHITECTURE 1
14236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14239 if test "$wxUSE_PROLOGIO" = "yes" ; then
14240 cat >> confdefs.h
<<\EOF
14241 #define wxUSE_PROLOGIO 1
14246 if test "$wxUSE_RESOURCES" = "yes" ; then
14247 if test "$wxUSE_PROLOGIO" = "yes" ; then
14248 cat >> confdefs.h
<<\EOF
14249 #define wxUSE_RESOURCES 1
14252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14254 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14258 if test "$wxUSE_X_RESOURCES" = "yes"; then
14259 cat >> confdefs.h
<<\EOF
14260 #define wxUSE_X_RESOURCES 1
14266 if test "$wxUSE_IPC" = "yes"; then
14267 if test "$wxUSE_SOCKETS" != "yes"; then
14268 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14271 cat >> confdefs.h
<<\EOF
14272 #define wxUSE_IPC 1
14277 if test "$wxUSE_CLIPBOARD" = "yes"; then
14278 cat >> confdefs.h
<<\EOF
14279 #define wxUSE_CLIPBOARD 1
14284 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14285 if test "$wxUSE_GTK" = 1; then
14286 if test "$WXGTK12" != 1; then
14287 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14288 wxUSE_DRAG_AND_DROP
=no
14292 if test "$wxUSE_MOTIF" = 1; then
14293 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14294 wxUSE_DRAG_AND_DROP
=no
14297 if test "$USE_WIN32" = 1; then
14298 for ac_hdr
in ole2.h
14300 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14302 echo "configure:14303: checking for $ac_hdr" >&5
14303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14304 echo $ac_n "(cached) $ac_c" 1>&6
14306 cat > conftest.
$ac_ext <<EOF
14307 #line 14308 "configure"
14308 #include "confdefs.h"
14311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14312 { (eval echo configure
:14313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14314 if test -z "$ac_err"; then
14316 eval "ac_cv_header_$ac_safe=yes"
14319 echo "configure: failed program was:" >&5
14320 cat conftest.
$ac_ext >&5
14322 eval "ac_cv_header_$ac_safe=no"
14326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14327 echo "$ac_t""yes" 1>&6
14328 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14329 cat >> confdefs.h
<<EOF
14330 #define $ac_tr_hdr 1
14334 echo "$ac_t""no" 1>&6
14338 if test "x$HAVE_OLE2_H" = x
; then
14339 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14340 wxUSE_DRAG_AND_DROP
=no
14344 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14345 cat >> confdefs.h
<<\EOF
14346 #define wxUSE_DRAG_AND_DROP 1
14349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14354 if test "$wxUSE_SPLINES" = "yes" ; then
14355 cat >> confdefs.h
<<\EOF
14356 #define wxUSE_SPLINES 1
14362 if test "$wxUSE_ACCEL" = "yes"; then
14363 cat >> confdefs.h
<<\EOF
14364 #define wxUSE_ACCEL 1
14369 if test "$wxUSE_CARET" = "yes"; then
14370 cat >> confdefs.h
<<\EOF
14371 #define wxUSE_CARET 1
14374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14377 if test "$wxUSE_COMBOBOX" = "yes"; then
14378 cat >> confdefs.h
<<\EOF
14379 #define wxUSE_COMBOBOX 1
14384 if test "$wxUSE_CHOICE" = "yes"; then
14385 cat >> confdefs.h
<<\EOF
14386 #define wxUSE_CHOICE 1
14391 if test "$wxUSE_BMPBUTTON" = "yes"; then
14392 cat >> confdefs.h
<<\EOF
14393 #define wxUSE_BMPBUTTON 1
14398 if test "$wxUSE_CHECKBOX" = "yes"; then
14399 cat >> confdefs.h
<<\EOF
14400 #define wxUSE_CHECKBOX 1
14405 if test "$wxUSE_CHECKLST" = "yes"; then
14406 cat >> confdefs.h
<<\EOF
14407 #define wxUSE_CHECKLISTBOX 1
14410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14413 if test "$wxUSE_GAUGE" = "yes"; then
14414 cat >> confdefs.h
<<\EOF
14415 #define wxUSE_GAUGE 1
14420 if test "$wxUSE_NEW_GRID" = "yes"; then
14422 cat >> confdefs.h
<<\EOF
14423 #define wxUSE_NEW_GRID 1
14426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14429 if test "$wxUSE_GRID" = "yes"; then
14430 cat >> confdefs.h
<<\EOF
14431 #define wxUSE_GRID 1
14434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14437 if test "$wxUSE_IMAGLIST" = "yes"; then
14438 cat >> confdefs.h
<<\EOF
14439 #define wxUSE_IMAGLIST 1
14444 if test "$wxUSE_LISTBOX" = "yes"; then
14445 cat >> confdefs.h
<<\EOF
14446 #define wxUSE_LISTBOX 1
14451 if test "$wxUSE_LISTCTRL" = "yes"; then
14452 if test "$wxUSE_IMAGLIST" = "yes"; then
14453 cat >> confdefs.h
<<\EOF
14454 #define wxUSE_LISTCTRL 1
14457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14459 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14463 if test "$wxUSE_NOTEBOOK" = "yes"; then
14464 cat >> confdefs.h
<<\EOF
14465 #define wxUSE_NOTEBOOK 1
14468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14471 if test "$wxUSE_RADIOBOX" = "yes"; then
14472 cat >> confdefs.h
<<\EOF
14473 #define wxUSE_RADIOBOX 1
14478 if test "$wxUSE_RADIOBTN" = "yes"; then
14479 cat >> confdefs.h
<<\EOF
14480 #define wxUSE_RADIOBTN 1
14485 if test "$wxUSE_SASH" = "yes"; then
14486 cat >> confdefs.h
<<\EOF
14487 #define wxUSE_SASH 1
14490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14493 if test "$wxUSE_SCROLLBAR" = "yes"; then
14494 cat >> confdefs.h
<<\EOF
14495 #define wxUSE_SCROLLBAR 1
14498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14501 if test "$wxUSE_SLIDER" = "yes"; then
14502 cat >> confdefs.h
<<\EOF
14503 #define wxUSE_SLIDER 1
14508 if test "$wxUSE_SPINBTN" = "yes"; then
14509 cat >> confdefs.h
<<\EOF
14510 #define wxUSE_SPINBTN 1
14515 if test "$wxUSE_SPINCTRL" = "yes"; then
14516 cat >> confdefs.h
<<\EOF
14517 #define wxUSE_SPINCTRL 1
14522 if test "$wxUSE_SPLITTER" = "yes"; then
14523 cat >> confdefs.h
<<\EOF
14524 #define wxUSE_SPLITTER 1
14527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14530 if test "$wxUSE_STATBMP" = "yes"; then
14531 cat >> confdefs.h
<<\EOF
14532 #define wxUSE_STATBMP 1
14537 if test "$wxUSE_STATBOX" = "yes"; then
14538 cat >> confdefs.h
<<\EOF
14539 #define wxUSE_STATBOX 1
14544 if test "$wxUSE_STATLINE" = "yes"; then
14545 if test "$wxUSE_WINE" = 1 ; then
14546 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
14548 cat >> confdefs.h
<<\EOF
14549 #define wxUSE_STATLINE 1
14555 if test "$wxUSE_STATUSBAR" = "yes"; then
14556 cat >> confdefs.h
<<\EOF
14557 #define wxUSE_STATUSBAR 1
14561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
14564 if test "$wxUSE_TABDIALOG" = "yes"; then
14565 cat >> confdefs.h
<<\EOF
14566 #define wxUSE_TAB_DIALOG 1
14569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
14572 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
14573 cat >> confdefs.h
<<\EOF
14574 #define wxUSE_TOOLBAR_SIMPLE 1
14577 wxUSE_TOOLBAR
="yes"
14580 if test "$wxUSE_TOOLBAR" = "yes"; then
14581 cat >> confdefs.h
<<\EOF
14582 #define wxUSE_TOOLBAR 1
14586 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
14587 wxUSE_TOOLBAR_NATIVE
="yes"
14590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
14593 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
14594 cat >> confdefs.h
<<\EOF
14595 #define wxUSE_TOOLBAR_NATIVE 1
14600 if test "$wxUSE_TOOLTIPS" = "yes"; then
14601 if test "$wxUSE_MOTIF" = 1; then
14602 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
14604 if test "$wxUSE_WINE" = 1; then
14605 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
14607 cat >> confdefs.h
<<\EOF
14608 #define wxUSE_TOOLTIPS 1
14615 if test "$wxUSE_TREECTRL" = "yes"; then
14616 if test "$wxUSE_IMAGLIST" = "yes"; then
14617 cat >> confdefs.h
<<\EOF
14618 #define wxUSE_TREECTRL 1
14621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
14623 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
14629 if test "$wxUSE_METAFILE" = "yes"; then
14630 cat >> confdefs.h
<<\EOF
14631 #define wxUSE_METAFILE 1
14636 if test "$wxUSE_DIRDLG" = "yes"; then
14637 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14638 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
14640 if test "$wxUSE_TREECTRL" != "yes"; then
14641 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
14643 cat >> confdefs.h
<<\EOF
14644 #define wxUSE_DIRDLG 1
14651 if test "$wxUSE_TEXTDLG" = "yes"; then
14652 cat >> confdefs.h
<<\EOF
14653 #define wxUSE_TEXTDLG 1
14658 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
14659 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14660 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
14662 cat >> confdefs.h
<<\EOF
14663 #define wxUSE_STARTUP_TIPS 1
14669 if test "$wxUSE_PROGRESSDLG" = "yes"; then
14670 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14671 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
14673 cat >> confdefs.h
<<\EOF
14674 #define wxUSE_PROGRESSDLG 1
14680 if test "$wxUSE_MINIFRAME" = "yes"; then
14681 cat >> confdefs.h
<<\EOF
14682 #define wxUSE_MINIFRAME 1
14685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
14688 if test "$wxUSE_HTML" = "yes"; then
14689 cat >> confdefs.h
<<\EOF
14690 #define wxUSE_HTML 1
14693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
14694 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
14697 if test "$wxUSE_VALIDATORS" = "yes"; then
14698 cat >> confdefs.h
<<\EOF
14699 #define wxUSE_VALIDATORS 1
14702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
14705 if test "$wxUSE_GIF" = "yes" ; then
14706 cat >> confdefs.h
<<\EOF
14707 #define wxUSE_GIF 1
14712 if test "$wxUSE_PCX" = "yes" ; then
14713 cat >> confdefs.h
<<\EOF
14714 #define wxUSE_PCX 1
14719 if test "$wxUSE_PNM" = "yes" ; then
14720 cat >> confdefs.h
<<\EOF
14721 #define wxUSE_PNM 1
14727 if test "$cross_compiling" = "yes"; then
14730 OSINFO
=`uname -s -r -m`
14731 OSINFO
="\"$OSINFO\""
14734 cat >> confdefs.h
<<EOF
14735 #define WXWIN_OS_DESCRIPTION $OSINFO
14740 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
14741 OPENGL_LIBS
="$OPENGL_LINK"
14743 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
14744 if test "$wxUSE_GUI" = "yes"; then
14745 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $EXTRA_LIBS"
14748 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
14750 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
14752 if test "$wxUSE_GTK" = 1; then
14753 WXCONFIG_INCLUDE
=""
14755 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
14758 if test "$GXX" = yes ; then
14759 CXXWARNINGS
="-Wall"
14761 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
14763 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
14764 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
14766 LDFLAGS
="$LDFLAGS $PROFILE"
14768 if test "$wxUSE_GUI" = "yes"; then
14770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
14771 font fractal image menu minimal richedit"
14773 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
14778 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
14874 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
14875 echo "configure:14876: checking whether ${MAKE-make} sets \${MAKE}" >&5
14876 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
14877 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
14878 echo $ac_n "(cached) $ac_c" 1>&6
14880 cat > conftestmake
<<\EOF
14882 @
echo 'ac_maketemp="${MAKE}"'
14884 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14885 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
14886 if test -n "$ac_maketemp"; then
14887 eval ac_cv_prog_make_
${ac_make}_set
=yes
14889 eval ac_cv_prog_make_
${ac_make}_set
=no
14893 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
14894 echo "$ac_t""yes" 1>&6
14897 echo "$ac_t""no" 1>&6
14898 SET_MAKE
="MAKE=${MAKE-make}"
14902 if test -d include
; then
14903 if test -d include
/wx
; then
14904 if test -d include
/wx
/${TOOLKIT_DIR}; then
14905 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
14906 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
14914 if test "$wxUSE_GUI" = "yes"; then
14915 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
14916 wx_cv_path_ifs
=$PATH_IFS
14917 wx_cv_program_ext
=$PROGRAM_EXT
14918 wx_cv_target_library
=$WX_TARGET_LIBRARY
14919 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
14920 subdirs
="demos samples utils contrib"
14925 cat > confcache
<<\EOF
14926 # This file is a shell script that caches the results of configure
14927 # tests run on this system so they can be shared between configure
14928 # scripts and configure runs. It is not useful on other systems.
14929 # If it contains results you don't want to keep, you may remove or edit it.
14931 # By default, configure uses ./config.cache as the cache file,
14932 # creating it if it does not exist already. You can give configure
14933 # the --cache-file=FILE option to use a different cache file; that is
14934 # what configure does when it calls configure scripts in
14935 # subdirectories, so they share the cache.
14936 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14937 # config.status only pays attention to the cache file if you give it the
14938 # --recheck option to rerun configure.
14941 # The following way of writing the cache mishandles newlines in values,
14942 # but we know of no workaround that is simple, portable, and efficient.
14943 # So, don't put newlines in cache variables' values.
14944 # Ultrix sh set writes to stderr and can't be redirected directly,
14945 # and sets the high bit in the cache file unless we assign to the vars.
14947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14949 # `set' does not quote correctly, so add quotes (double-quote substitution
14950 # turns \\\\ into \\, and sed turns \\ into \).
14952 -e "s/'/'\\\\''/g" \
14953 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14956 # `set' quotes correctly as required by POSIX, so do not add quotes.
14957 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14960 if cmp -s $cache_file confcache
; then
14963 if test -w $cache_file; then
14964 echo "updating cache $cache_file"
14965 cat confcache
> $cache_file
14967 echo "not updating unwritable cache $cache_file"
14972 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
14974 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14975 # Let make expand exec_prefix.
14976 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14978 # Any assignment to VPATH causes Sun make to only execute
14979 # the first set of double-colon rules, so remove it if not needed.
14980 # If there is a colon in the path, we need to keep it.
14981 if test "x$srcdir" = x.
; then
14982 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
14985 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
14987 DEFS
=-DHAVE_CONFIG_H
14989 # Without the "./", some shells look in PATH for config.status.
14990 : ${CONFIG_STATUS=./config.status}
14992 echo creating
$CONFIG_STATUS
14993 rm -f $CONFIG_STATUS
14994 cat > $CONFIG_STATUS <<EOF
14996 # Generated automatically by configure.
14997 # Run this file to recreate the current configuration.
14998 # This directory was configured as follows,
14999 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15001 # $0 $ac_configure_args
15003 # Compiler output produced by configure, useful for debugging
15004 # configure, is in ./config.log if it exists.
15006 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15009 case "\$ac_option" in
15010 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15011 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15012 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15013 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15014 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15016 -help | --help | --hel | --he | --h)
15017 echo "\$ac_cs_usage"; exit 0 ;;
15018 *) echo "\$ac_cs_usage"; exit 1 ;;
15022 ac_given_srcdir=$srcdir
15023 ac_given_INSTALL="$INSTALL"
15025 trap 'rm -fr `echo "
15031 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15033 cat >> $CONFIG_STATUS <<EOF
15035 # Protect against being on the right side of a sed subst in config.status.
15036 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15037 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15041 s%@CFLAGS@%$CFLAGS%g
15042 s%@CPPFLAGS@%$CPPFLAGS%g
15043 s%@CXXFLAGS@%$CXXFLAGS%g
15044 s%@FFLAGS@%$FFLAGS%g
15046 s%@LDFLAGS@%$LDFLAGS%g
15048 s%@exec_prefix@%$exec_prefix%g
15049 s%@prefix@%$prefix%g
15050 s%@program_transform_name@%$program_transform_name%g
15051 s%@bindir@%$bindir%g
15052 s%@sbindir@%$sbindir%g
15053 s%@libexecdir@%$libexecdir%g
15054 s%@datadir@%$datadir%g
15055 s%@sysconfdir@%$sysconfdir%g
15056 s%@sharedstatedir@%$sharedstatedir%g
15057 s%@localstatedir@%$localstatedir%g
15058 s%@libdir@%$libdir%g
15059 s%@includedir@%$includedir%g
15060 s%@oldincludedir@%$oldincludedir%g
15061 s%@infodir@%$infodir%g
15062 s%@mandir@%$mandir%g
15064 s%@host_alias@%$host_alias%g
15065 s%@host_cpu@%$host_cpu%g
15066 s%@host_vendor@%$host_vendor%g
15067 s%@host_os@%$host_os%g
15068 s%@target@%$target%g
15069 s%@target_alias@%$target_alias%g
15070 s%@target_cpu@%$target_cpu%g
15071 s%@target_vendor@%$target_vendor%g
15072 s%@target_os@%$target_os%g
15074 s%@build_alias@%$build_alias%g
15075 s%@build_cpu@%$build_cpu%g
15076 s%@build_vendor@%$build_vendor%g
15077 s%@build_os@%$build_os%g
15081 s%@CXXCPP@%$CXXCPP%g
15082 s%@RANLIB@%$RANLIB%g
15084 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15085 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15086 s%@INSTALL_DATA@%$INSTALL_DATA%g
15090 s%@LEXLIB@%$LEXLIB%g
15092 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15093 s%@GTK_CONFIG@%$GTK_CONFIG%g
15094 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15095 s%@GTK_LIBS@%$GTK_LIBS%g
15096 s%@X_CFLAGS@%$X_CFLAGS%g
15097 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15098 s%@X_LIBS@%$X_LIBS%g
15099 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15100 s%@LEX_STEM@%$LEX_STEM%g
15101 s%@PATH_IFS@%$PATH_IFS%g
15102 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15103 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15104 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15105 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15106 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15107 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15108 s%@WX_LIBRARY@%$WX_LIBRARY%g
15109 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15110 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15111 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15112 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15113 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15114 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15115 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15116 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15117 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15118 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15119 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15120 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15121 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15122 s%@WX_ALL@%$WX_ALL%g
15123 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15124 s%@SHARED_LD@%$SHARED_LD%g
15125 s%@PIC_FLAG@%$PIC_FLAG%g
15126 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15127 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15128 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15129 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15130 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15131 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15132 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15133 s%@USE_GUI@%$USE_GUI%g
15134 s%@AFMINSTALL@%$AFMINSTALL%g
15135 s%@TOOLKIT@%$TOOLKIT%g
15136 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15137 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15138 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15139 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15140 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15141 s%@GUIHEADERS@%$GUIHEADERS%g
15142 s%@GUIOBJS@%$GUIOBJS%g
15143 s%@COMMONOBJS@%$COMMONOBJS%g
15144 s%@GENERICOBJS@%$GENERICOBJS%g
15145 s%@GUIDEPS@%$GUIDEPS%g
15146 s%@COMMONDEPS@%$COMMONDEPS%g
15147 s%@GENERICDEPS@%$GENERICDEPS%g
15148 s%@IODBCOBJS@%$IODBCOBJS%g
15149 s%@UNIXOBJS@%$UNIXOBJS%g
15150 s%@UNIXDEPS@%$UNIXDEPS%g
15151 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15152 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15153 s%@GUIDIST@%$GUIDIST%g
15154 s%@PORT_FILES@%$PORT_FILES%g
15155 s%@DISTDIR@%$DISTDIR%g
15156 s%@RPM_SPEC@%$RPM_SPEC%g
15157 s%@RPM_FILES@%$RPM_FILES%g
15158 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15159 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15160 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15161 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15162 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15163 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15164 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15165 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15166 s%@EXTRADEFS@%$EXTRADEFS%g
15167 s%@LD_LIBS@%$LD_LIBS%g
15168 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15169 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15170 s%@RESPROGRAM@%$RESPROGRAM%g
15171 s%@RESCOMP@%$RESCOMP%g
15172 s%@RESFLAGS@%$RESFLAGS%g
15173 s%@DLLTOOL@%$DLLTOOL%g
15177 s%@MAKEINFO@%$MAKEINFO%g
15178 s%@SET_MAKE@%$SET_MAKE%g
15179 s%@subdirs@%$subdirs%g
15184 cat >> $CONFIG_STATUS <<\EOF
15186 # Split the substitutions into bite-sized pieces for seds with
15187 # small command number limits, like on Digital OSF/1 and HP-UX.
15188 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15189 ac_file
=1 # Number of current file.
15190 ac_beg
=1 # First line for current file.
15191 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15194 while $ac_more_lines; do
15195 if test $ac_beg -gt 1; then
15196 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15198 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15200 if test ! -s conftest.s
$ac_file; then
15201 ac_more_lines
=false
15202 rm -f conftest.s
$ac_file
15204 if test -z "$ac_sed_cmds"; then
15205 ac_sed_cmds
="sed -f conftest.s$ac_file"
15207 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15209 ac_file
=`expr $ac_file + 1`
15211 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15214 if test -z "$ac_sed_cmds"; then
15219 cat >> $CONFIG_STATUS <<EOF
15221 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15228 cat >> $CONFIG_STATUS <<\EOF
15229 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15230 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15232 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15233 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15234 *) ac_file_in
="${ac_file}.in" ;;
15237 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15239 # Remove last slash and all that follows it. Not all systems have dirname.
15240 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15241 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15242 # The file is in a subdirectory.
15243 test ! -d "$ac_dir" && mkdir "$ac_dir"
15244 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15245 # A "../" for each directory in $ac_dir_suffix.
15246 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15248 ac_dir_suffix
= ac_dots
=
15251 case "$ac_given_srcdir" in
15253 if test -z "$ac_dots"; then top_srcdir
=.
15254 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15255 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15256 *) # Relative path.
15257 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15258 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15261 case "$ac_given_INSTALL" in
15262 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15263 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15266 echo creating
"$ac_file"
15268 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15270 *Makefile
*) ac_comsub
="1i\\
15271 # $configure_input" ;;
15275 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15277 s%@configure_input@%$configure_input%g
15278 s%@srcdir@%$srcdir%g
15279 s%@top_srcdir@%$top_srcdir%g
15280 s%@INSTALL@%$INSTALL%g
15281 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15285 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15286 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15288 # ac_d sets the value in "#define NAME VALUE" lines.
15289 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15290 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15293 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15294 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15295 ac_uB
='\([ ]\)%\1#\2define\3'
15298 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15299 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15300 ac_eB
='$%\1#\2define\3'
15304 if test "${CONFIG_HEADERS+set}" != set; then
15306 cat >> $CONFIG_STATUS <<EOF
15307 CONFIG_HEADERS="setup.h:setup.h.in"
15309 cat >> $CONFIG_STATUS <<\EOF
15311 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15312 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15314 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15315 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15316 *) ac_file_in
="${ac_file}.in" ;;
15319 echo creating
$ac_file
15321 rm -f conftest.frag conftest.
in conftest.out
15322 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15323 cat $ac_file_inputs > conftest.
in
15327 # Transform confdefs.h into a sed script conftest.vals that substitutes
15328 # the proper values into config.h.in to produce config.h. And first:
15329 # Protect against being on the right side of a sed subst in config.status.
15330 # Protect against being in an unquoted here document in config.status.
15331 rm -f conftest.vals
15332 cat > conftest.hdr
<<\EOF
15335 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15339 sed -n -f conftest.hdr confdefs.h > conftest.vals
15342 # This sed command replaces #undef with comments. This is necessary, for
15343 # example, in the case of _POSIX_SOURCE, which is predefined and required
15344 # on some systems where configure will not decide to define it.
15345 cat >> conftest.vals <<\EOF
15346 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15349 # Break up conftest.vals because some shells have a limit on
15350 # the size of here documents, and old seds have small limits too.
15352 rm -f conftest.tail
15355 ac_lines=`grep -c . conftest.vals
`
15356 # grep -c gives empty output for an empty file on some AIX systems.
15357 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15358 # Write a limited-size here document to conftest.frag.
15359 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15360 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15362 sed -f conftest.frag conftest.in > conftest.out
15364 mv conftest.out conftest.in
15365 ' >> $CONFIG_STATUS
15366 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15367 rm -f conftest.vals
15368 mv conftest.tail conftest.vals
15370 rm -f conftest.vals
15372 cat >> $CONFIG_STATUS <<\EOF
15373 rm -f conftest.frag conftest.h
15374 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15375 cat conftest.in >> conftest.h
15377 if cmp -s $ac_file conftest.h 2>/dev/null; then
15378 echo "$ac_file is unchanged"
15381 # Remove last slash and all that follows it. Not all systems have dirname.
15382 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15383 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15384 # The file is in a subdirectory.
15385 test ! -d "$ac_dir" && mkdir "$ac_dir"
15388 mv conftest.h $ac_file
15393 cat >> $CONFIG_STATUS <<EOF
15395 TOOLKIT_DIR="${TOOLKIT_DIR}"
15396 TOOLKIT_NAME="${TOOLKIT_NAME}"
15401 cat >> $CONFIG_STATUS <<\EOF
15404 mv wx-config wx${TOOLKIT_NAME}-config
15405 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15408 if test ! -d lib; then
15411 if test ! -d lib/wx; then
15414 if test ! -d lib/wx/include; then
15415 mkdir lib/wx/include
15417 if test ! -d lib/wx/include/wx; then
15418 mkdir lib/wx/include/wx
15420 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15421 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15423 if test -f setup.h; then
15424 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15428 if test ! -d include; then
15431 if test ! -d include/wx; then
15434 if test ! -d include/wx/${TOOLKIT_DIR}; then
15435 mkdir include/wx/${TOOLKIT_DIR}
15437 if test -f setup.h; then
15438 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15444 chmod +x $CONFIG_STATUS
15445 rm -fr confdefs* $ac_clean_files
15446 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15448 if test "$no_recursion" != yes; then
15450 # Remove --cache-file and --srcdir arguments so they do not pile up.
15451 ac_sub_configure_args=
15453 for ac_arg in $ac_configure_args; do
15454 if test -n "$ac_prev"; then
15459 -cache-file | --cache-file | --cache-fil | --cache-fi \
15460 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15461 ac_prev=cache_file ;;
15462 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15463 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15465 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15467 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15469 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15473 for ac_config_dir in demos samples utils contrib; do
15475 # Do not complain, so a configure script can configure whichever
15476 # parts of a large source tree are present.
15477 if test ! -d $srcdir/$ac_config_dir; then
15481 echo configuring in $ac_config_dir
15486 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15488 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15496 # A "../" for each directory in /$ac_config_dir.
15497 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15500 .) # No --srcdir option. We are building in place.
15501 ac_sub_srcdir=$srcdir ;;
15502 /*) # Absolute path.
15503 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15504 *) # Relative path.
15505 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15508 # Check for guested configure; otherwise get Cygnus style configure.
15509 if test -f $ac_sub_srcdir/configure; then
15510 ac_sub_configure=$ac_sub_srcdir/configure
15511 elif test -f $ac_sub_srcdir/configure.in; then
15512 ac_sub_configure=$ac_configure
15514 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15518 # The recursion is here.
15519 if test -n "$ac_sub_configure"; then
15521 # Make the cache file name correct relative to the subdirectory.
15522 case "$cache_file" in
15523 /*) ac_sub_cache_file=$cache_file ;;
15524 *) # Relative path.
15525 ac_sub_cache_file="$ac_dots$cache_file" ;;
15527 case "$ac_given_INSTALL" in
15528 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15529 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15532 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15533 # The eval makes quoting arguments work.
15534 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15537 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }