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"
60 --enable-universal use wxWindows GUI controls instead of native ones"
64 --with-motif use Motif/Lesstif"
66 --with-mac use Mac OS X"
70 --with-cygwin use Cygwin for MS-Windows"
72 --with-mingw use GCC Minimal MS-Windows"
74 --with-pm use OS/2 Presentation Manager"
78 --with-gtk-prefix=PFX Prefix where GTK is installed"
80 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
82 --with-libpng use libpng (PNG image format)"
84 --with-libjpeg use libjpeg (JPEG file format)"
86 --with-libtiff use libtiff (TIFF file format)"
88 --with-freetype use freetype (font rasterizer)"
90 --with-opengl use OpenGL (or Mesa)"
92 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
94 --with-zlib use zlib for LZW compression"
96 --with-odbc use the IODBC and wxODBC classes"
98 --enable-shared create shared library code"
100 --enable-burnt_name create set name in shared library "
102 --enable-optimise create optimised code"
104 --enable-debug same as debug_flag and debug_info"
106 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
108 --enable-debug_info create code with debugging information"
110 --enable-debug_gdb create code with extra GDB debugging information"
112 --enable-debug_cntxt use wxDebugContext"
114 --enable-mem_tracing create code with memory tracing"
116 --enable-profile create code with profiling information"
118 --enable-no_rtti create code without RTTI information"
120 --enable-no_exceptions create code without exceptions information"
122 --enable-permissive compile code disregarding strict ANSI"
124 --enable-no_deps create code without dependency information"
126 --enable-intl use internationalization system"
128 --enable-config use wxConfig (and derived) classes"
130 --enable-sockets use socket/network classes"
132 --enable-ipc use interprocess communication (wxSocket etc.)"
134 --enable-cmdline use wxCmdLineParser class"
136 --enable-datetime use wxDateTime class"
138 --enable-timedate use obsolete wxDate/wxTime classes"
140 --enable-stopwatch use wxStopWatch class"
142 --enable-dialupman use dialup network classes"
144 --enable-apple_ieee use the Apple IEEE codec"
146 --enable-timer use wxTimer class"
148 --enable-wave use wxWave class"
150 --enable-fraction use wxFraction class"
152 --enable-dynlib use wxLibrary class for DLL loading"
154 --enable-longlong use wxLongLong class"
156 --enable-geometry use geometry class"
158 --enable-log use logging system"
160 --enable-streams use wxStream etc classes"
162 --enable-file use wxFile classes"
164 --enable-ffile use wxFFile classes"
166 --enable-textfile use wxTextFile classes"
168 --enable-fontmap use font encodings conversion classes"
170 --enable-unicode compile wxString with Unicode support"
172 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
174 --enable-wxprintfv use wxWindows implementation of vprintf()"
176 --enable-std_iostreams use standard C++ stream classes"
178 --enable-filesystem use virtual file systems classes"
180 --enable-fs_inet use virtual HTTP/FTP filesystems"
182 --enable-fs_zip use virtual ZIP filesystems"
184 --enable-zipstream use wxZipInputStream"
186 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
188 --enable-snglinst use wxSingleInstanceChecker class"
190 --enable-mimetypes use wxMimeTypesManager"
192 --enable-threads use threads"
194 --enable-serial use class serialization"
196 --enable-docview use document view architecture"
198 --enable-help use help (using external browser at present)"
200 --enable-constraints use layout-constraints system"
202 --enable-printarch use printing architecture"
204 --enable-mdi use multiple document interface architecture"
206 --enable-loggui use standard GUI logger"
208 --enable-logwin use wxLogWindow"
210 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
212 --enable-prologio use Prolog IO library"
214 --enable-resources use wxWindows resources"
216 --enable-xresources use X resources for save (default for gtk+)"
218 --enable-clipboard use wxClipboard classes"
220 --enable-dnd use Drag'n'Drop classes"
222 --enable-metafile use win32 metafiles"
224 --enable-wxtree make wxTree library"
226 --enable-controls use all usual controls"
228 --enable-accel use accelerators"
230 --enable-button use wxButton class"
232 --enable-bmpbutton use wxBitmapButton class"
234 --enable-calendar use wxCalendarCtrl class"
236 --enable-caret use wxCaret class"
238 --enable-checkbox use wxCheckBox class"
240 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
242 --enable-choice use wxChoice class"
244 --enable-combobox use wxComboBox classes"
246 --enable-gauge use wxGauge class"
248 --enable-grid use wxGrid class"
250 --enable-newgrid use new wxGrid class"
252 --enable-imaglist use wxImageList class"
254 --enable-listbox use wxListBox class"
256 --enable-listctrl use wxListCtrl class"
258 --enable-notebook use wxNotebook class"
260 --enable-radiobox use wxRadioBox class"
262 --enable-radiobtn use wxRadioButton class"
264 --enable-sash use wxSashWindow class"
266 --enable-scrollbar use wxScrollBar class and scrollable windows"
268 --enable-slider use wxSlider class"
270 --enable-spinbtn use wxSpinButton class"
272 --enable-spinctrl use wxSpinCtrl class"
274 --enable-splitter use wxSplitterWindow class"
276 --enable-statbmp use wxStaticBitmap class"
278 --enable-statbox use wxStaticBox class"
280 --enable-statline use wxStaticLine class"
282 --enable-stattext use wxStaticText class"
284 --enable-statusbar use wxStatusBar class"
286 --enable-tabdialog use wxTabControl class"
288 --enable-textctrl use wxTextCtrl class"
290 --enable-togglebtn use wxToggleButton class"
292 --enable-toolbar use wxToolBar class"
294 --enable-tbarnative use native wxToolBar class"
296 --enable-tbarsmpl use wxToolBarSimple class"
298 --enable-treectrl use wxTreeCtrl class"
300 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
302 --enable-choicedlg use wxChoiceDialog"
304 --enable-coldlg use wxColourDialog"
306 --enable-filedlg use wxFileDialog"
308 --enable-fontdlg use wxFontDialog"
310 --enable-dirdlg use wxDirDialog"
312 --enable-msgdlg use wxMessageDialog"
314 --enable-numberdlg use wxNumberEntryDialog"
316 --enable-textdlg use wxTextDialog"
318 --enable-tipdlg use startup tips"
320 --enable-progressdlg use wxProgressDialog"
322 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
324 --enable-miniframe use wxMiniFrame class"
326 --enable-html use wxHTML sub-library"
328 --enable-tooltips use wxToolTip class"
330 --enable-splines use spline drawing code"
332 --enable-validators use wxValidator and derived classes"
334 --enable-busyinfo use wxBusyInfo"
336 --enable-joystick compile in joystick support (Linux only)"
338 --enable-metafiles use wxMetaFile (Windows only)"
340 --enable-image use wxImage class"
342 --enable-gif use gif images (GIF file format)"
344 --enable-pcx use pcx images (PCX file format)"
346 --enable-pnm use pnm images (PNM file format)"
348 --enable-xpm use xpm images (XPM file format)"
350 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
352 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
354 --disable-gtktest Do not try to compile and run a test GTK program"
356 --with-x use the X Window System"
358 # Initialize some variables set by options.
359 # The variables have the same names as the options, with
360 # dashes changed to underlines.
362 cache_file
=.
/config.cache
371 program_transform_name
=s
,x
,x
,
379 bindir
='${exec_prefix}/bin'
380 sbindir
='${exec_prefix}/sbin'
381 libexecdir
='${exec_prefix}/libexec'
382 datadir
='${prefix}/share'
383 sysconfdir
='${prefix}/etc'
384 sharedstatedir
='${prefix}/com'
385 localstatedir
='${prefix}/var'
386 libdir
='${exec_prefix}/lib'
387 includedir
='${prefix}/include'
388 oldincludedir
='/usr/include'
389 infodir
='${prefix}/info'
390 mandir
='${prefix}/man'
392 # Initialize some other variables.
395 SHELL
=${CONFIG_SHELL-/bin/sh}
396 # Maximum number of lines to put in a shell here document.
403 # If the previous option needs an argument, assign it.
404 if test -n "$ac_prev"; then
405 eval "$ac_prev=\$ac_option"
411 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
415 # Accept the important Cygnus configure options, so we can diagnose typos.
419 -bindir | --bindir | --bindi | --bind | --bin | --bi)
421 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
422 bindir
="$ac_optarg" ;;
424 -build | --build | --buil | --bui | --bu)
426 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
427 build
="$ac_optarg" ;;
429 -cache-file | --cache-file | --cache-fil | --cache-fi \
430 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
431 ac_prev
=cache_file
;;
432 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
433 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
434 cache_file
="$ac_optarg" ;;
436 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
438 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
440 datadir
="$ac_optarg" ;;
442 -disable-* | --disable-*)
443 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
444 # Reject names that are not valid shell variable names.
445 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
446 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
448 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
449 eval "enable_${ac_feature}=no" ;;
451 -enable-* | --enable-*)
452 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
453 # Reject names that are not valid shell variable names.
454 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
455 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
457 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
462 eval "enable_${ac_feature}='$ac_optarg'" ;;
464 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
465 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
466 | --exec | --exe | --ex)
467 ac_prev
=exec_prefix
;;
468 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
469 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
470 | --exec=* | --exe=* | --ex=*)
471 exec_prefix
="$ac_optarg" ;;
473 -gas | --gas | --ga | --g)
474 # Obsolete; use --with-gas.
477 -help | --help | --hel | --he)
478 # Omit some internal or obsolete options to make the list less imposing.
479 # This message is too long to be a string in the A/UX 3.1 sh.
481 Usage: configure [options] [host]
482 Options: [defaults in brackets after descriptions]
484 --cache-file=FILE cache test results in FILE
485 --help print this message
486 --no-create do not create output files
487 --quiet, --silent do not print \`checking...' messages
488 --version print the version of autoconf that created configure
489 Directory and file names:
490 --prefix=PREFIX install architecture-independent files in PREFIX
492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
494 --bindir=DIR user executables in DIR [EPREFIX/bin]
495 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
496 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
497 --datadir=DIR read-only architecture-independent data in DIR
499 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
500 --sharedstatedir=DIR modifiable architecture-independent data in DIR
502 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
503 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
504 --includedir=DIR C header files in DIR [PREFIX/include]
505 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
506 --infodir=DIR info documentation in DIR [PREFIX/info]
507 --mandir=DIR man documentation in DIR [PREFIX/man]
508 --srcdir=DIR find the sources in DIR [configure dir or ..]
509 --program-prefix=PREFIX prepend PREFIX to installed program names
510 --program-suffix=SUFFIX append SUFFIX to installed program names
511 --program-transform-name=PROGRAM
512 run sed PROGRAM on installed program names
516 --build=BUILD configure for building on BUILD [BUILD=HOST]
517 --host=HOST configure for HOST [guessed]
518 --target=TARGET configure for TARGET [TARGET=HOST]
519 Features and packages:
520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
522 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
523 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
524 --x-includes=DIR X include files are in DIR
525 --x-libraries=DIR X library files are in DIR
527 if test -n "$ac_help"; then
528 echo "--enable and --with options recognized:$ac_help"
532 -host | --host | --hos | --ho)
534 -host=* | --host=* | --hos=* | --ho=*)
537 -includedir | --includedir | --includedi | --included | --include \
538 | --includ | --inclu | --incl | --inc)
539 ac_prev
=includedir
;;
540 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
541 | --includ=* | --inclu=* | --incl=* | --inc=*)
542 includedir
="$ac_optarg" ;;
544 -infodir | --infodir | --infodi | --infod | --info | --inf)
546 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
547 infodir
="$ac_optarg" ;;
549 -libdir | --libdir | --libdi | --libd)
551 -libdir=* | --libdir=* | --libdi=* | --libd=*)
552 libdir
="$ac_optarg" ;;
554 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
555 | --libexe | --libex | --libe)
556 ac_prev
=libexecdir
;;
557 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
558 | --libexe=* | --libex=* | --libe=*)
559 libexecdir
="$ac_optarg" ;;
561 -localstatedir | --localstatedir | --localstatedi | --localstated \
562 | --localstate | --localstat | --localsta | --localst \
563 | --locals | --local | --loca | --loc | --lo)
564 ac_prev
=localstatedir
;;
565 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
566 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
567 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
568 localstatedir
="$ac_optarg" ;;
570 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
572 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
573 mandir
="$ac_optarg" ;;
576 # Obsolete; use --without-fp.
579 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
583 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
584 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
587 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
588 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
589 | --oldin | --oldi | --old | --ol | --o)
590 ac_prev
=oldincludedir
;;
591 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
592 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
593 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
594 oldincludedir
="$ac_optarg" ;;
596 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
598 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
599 prefix
="$ac_optarg" ;;
601 -program-prefix | --program-prefix | --program-prefi | --program-pref \
602 | --program-pre | --program-pr | --program-p)
603 ac_prev
=program_prefix
;;
604 -program-prefix=* | --program-prefix=* | --program-prefi=* \
605 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
606 program_prefix
="$ac_optarg" ;;
608 -program-suffix | --program-suffix | --program-suffi | --program-suff \
609 | --program-suf | --program-su | --program-s)
610 ac_prev
=program_suffix
;;
611 -program-suffix=* | --program-suffix=* | --program-suffi=* \
612 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
613 program_suffix
="$ac_optarg" ;;
615 -program-transform-name | --program-transform-name \
616 | --program-transform-nam | --program-transform-na \
617 | --program-transform-n | --program-transform- \
618 | --program-transform | --program-transfor \
619 | --program-transfo | --program-transf \
620 | --program-trans | --program-tran \
621 | --progr-tra | --program-tr | --program-t)
622 ac_prev
=program_transform_name
;;
623 -program-transform-name=* | --program-transform-name=* \
624 | --program-transform-nam=* | --program-transform-na=* \
625 | --program-transform-n=* | --program-transform-=* \
626 | --program-transform=* | --program-transfor=* \
627 | --program-transfo=* | --program-transf=* \
628 | --program-trans=* | --program-tran=* \
629 | --progr-tra=* | --program-tr=* | --program-t=*)
630 program_transform_name
="$ac_optarg" ;;
632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
633 | -silent | --silent | --silen | --sile | --sil)
636 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
638 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
640 sbindir
="$ac_optarg" ;;
642 -sharedstatedir | --sharedstatedir | --sharedstatedi \
643 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
644 | --sharedst | --shareds | --shared | --share | --shar \
646 ac_prev
=sharedstatedir
;;
647 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
648 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
649 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
651 sharedstatedir
="$ac_optarg" ;;
653 -site | --site | --sit)
655 -site=* | --site=* | --sit=*)
658 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
660 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
661 srcdir
="$ac_optarg" ;;
663 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
664 | --syscon | --sysco | --sysc | --sys | --sy)
665 ac_prev
=sysconfdir
;;
666 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
667 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
668 sysconfdir
="$ac_optarg" ;;
670 -target | --target | --targe | --targ | --tar | --ta | --t)
672 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
673 target
="$ac_optarg" ;;
675 -v | -verbose | --verbose | --verbos | --verbo | --verb)
678 -version | --version | --versio | --versi | --vers)
679 echo "configure generated by autoconf version 2.13"
683 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
684 # Reject names that are not valid shell variable names.
685 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
686 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
688 ac_package
=`echo $ac_package| sed 's/-/_/g'`
693 eval "with_${ac_package}='$ac_optarg'" ;;
695 -without-* | --without-*)
696 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
697 # Reject names that are not valid shell variable names.
698 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
699 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
701 ac_package
=`echo $ac_package| sed 's/-/_/g'`
702 eval "with_${ac_package}=no" ;;
705 # Obsolete; use --with-x.
708 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
709 | --x-incl | --x-inc | --x-in | --x-i)
710 ac_prev
=x_includes
;;
711 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
712 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
713 x_includes
="$ac_optarg" ;;
715 -x-libraries | --x-libraries | --x-librarie | --x-librari \
716 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
717 ac_prev
=x_libraries
;;
718 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
719 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
720 x_libraries
="$ac_optarg" ;;
722 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
726 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
727 echo "configure: warning: $ac_option: invalid host type" 1>&2
729 if test "x$nonopt" != xNONE
; then
730 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
738 if test -n "$ac_prev"; then
739 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
742 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
744 # File descriptor usage:
747 # 2 errors and warnings
748 # 3 some systems may open it to /dev/tty
749 # 4 used on the Kubota Titan
750 # 6 checking for... messages and results
751 # 5 compiler messages saved in config.log
752 if test "$silent" = yes; then
760 This file contains any messages produced by compilers while
761 running configure, to aid debugging if configure makes a mistake.
764 # Strip out --no-create and --no-recursion so they do not pile up.
765 # Also quote any args containing shell metacharacters.
770 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
771 | --no-cr | --no-c) ;;
772 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
773 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
774 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
775 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
776 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
781 # Only set these to C if already set. These must not be set unconditionally
782 # because not all systems understand e.g. LANG=C (notably SCO).
783 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
784 # Non-C LC_CTYPE values break the ctype check.
785 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
786 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
787 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
788 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
790 # confdefs.h avoids OS command line length limits that DEFS can exceed.
791 rm -rf conftest
* confdefs.h
792 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
795 # A filename unique to this package, relative to the directory that
796 # configure is in, which we can look for to find out if srcdir is correct.
797 ac_unique_file
=wx
-config.
in
799 # Find the source files, if location was not specified.
800 if test -z "$srcdir"; then
801 ac_srcdir_defaulted
=yes
802 # Try the directory containing this script, then its parent.
804 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
805 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
807 if test ! -r $srcdir/$ac_unique_file; then
811 ac_srcdir_defaulted
=no
813 if test ! -r $srcdir/$ac_unique_file; then
814 if test "$ac_srcdir_defaulted" = yes; then
815 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
817 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
820 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
822 # Prefer explicitly selected file to automatically selected ones.
823 if test -z "$CONFIG_SITE"; then
824 if test "x$prefix" != xNONE
; then
825 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
827 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
830 for ac_site_file
in $CONFIG_SITE; do
831 if test -r "$ac_site_file"; then
832 echo "loading site script $ac_site_file"
837 if test -r "$cache_file"; then
838 echo "loading cache $cache_file"
841 echo "creating cache $cache_file"
846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
847 ac_cpp
='$CPP $CPPFLAGS'
848 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
849 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
850 cross_compiling
=$ac_cv_prog_cc_cross
854 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
855 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
856 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
863 ac_n
= ac_c
='\c' ac_t
=
869 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
870 if test -f $ac_dir/install-sh; then
872 ac_install_sh
="$ac_aux_dir/install-sh -c"
874 elif test -f $ac_dir/install.sh
; then
876 ac_install_sh
="$ac_aux_dir/install.sh -c"
880 if test -z "$ac_aux_dir"; then
881 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
883 ac_config_guess
=$ac_aux_dir/config.guess
884 ac_config_sub
=$ac_aux_dir/config.sub
885 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
888 # Do some error checking and defaulting for the host and target type.
890 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
893 # 1. You are not allowed to specify --host, --target, and nonopt at the
895 # 2. Host defaults to nonopt.
896 # 3. If nonopt is not specified, then host defaults to the current host,
897 # as determined by config.guess.
898 # 4. Target and build default to nonopt.
899 # 5. If nonopt is not specified, then target and build default to host.
901 # The aliases save the names the user supplied, while $host etc.
902 # will get canonicalized.
903 case $host---$target---$nonopt in
904 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
905 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
909 # Make sure we can run config.sub.
910 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
911 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
914 echo $ac_n "checking host system type""... $ac_c" 1>&6
915 echo "configure:916: checking host system type" >&5
918 case "$host_alias" in
922 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
923 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
925 *) host_alias
=$nonopt ;;
929 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
930 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
931 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
932 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
933 echo "$ac_t""$host" 1>&6
935 echo $ac_n "checking target system type""... $ac_c" 1>&6
936 echo "configure:937: checking target system type" >&5
939 case "$target_alias" in
942 NONE
) target_alias
=$host_alias ;;
943 *) target_alias
=$nonopt ;;
947 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
948 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
949 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
950 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
951 echo "$ac_t""$target" 1>&6
953 echo $ac_n "checking build system type""... $ac_c" 1>&6
954 echo "configure:955: checking build system type" >&5
957 case "$build_alias" in
960 NONE
) build_alias
=$host_alias ;;
961 *) build_alias
=$nonopt ;;
965 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
966 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
967 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
968 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
969 echo "$ac_t""$build" 1>&6
971 test "$host_alias" != "$target_alias" &&
972 test "$program_prefix$program_suffix$program_transform_name" = \
974 program_prefix
=${target_alias}-
978 WX_MAJOR_VERSION_NUMBER
=2
979 WX_MINOR_VERSION_NUMBER
=3
982 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
983 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1017 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1019 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1024 DEFAULT_wxUSE_MOTIF
=0
1027 DEFAULT_wxUSE_WINE
=0
1029 DEFAULT_DEFAULT_wxUSE_GTK
=0
1030 DEFAULT_DEFAULT_wxUSE_MAC
=0
1031 DEFAULT_DEFAULT_wxUSE_MGL
=0
1032 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1033 DEFAULT_DEFAULT_wxUSE_MSW
=0
1034 DEFAULT_DEFAULT_wxUSE_PM
=0
1035 DEFAULT_DEFAULT_wxUSE_WINE
=0
1042 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1043 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1044 cat >> confdefs.h
<<\EOF
1051 cat >> confdefs.h
<<\EOF
1056 if test "x$TMP" = "xalpha"; then
1058 cat >> confdefs.h
<<\EOF
1063 DEFAULT_DEFAULT_wxUSE_GTK
=1
1065 *-*-irix5* | *-*-irix6* )
1068 cat >> confdefs.h
<<\EOF
1072 cat >> confdefs.h
<<\EOF
1076 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1087 #define __SOLARIS__ 1
1090 cat >> confdefs.h
<<\EOF
1094 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1095 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1101 cat >> confdefs.h
<<\EOF
1105 cat >> confdefs.h
<<\EOF
1109 cat >> confdefs.h
<<\EOF
1113 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1118 cat >> confdefs.h
<<\EOF
1119 #define __FREEBSD__ 1
1122 cat >> confdefs.h
<<\EOF
1126 DEFAULT_DEFAULT_wxUSE_GTK
=1
1131 cat >> confdefs.h
<<\EOF
1132 #define __FREEBSD__ 1
1135 cat >> confdefs.h
<<\EOF
1136 #define __OPENBSD__ 1
1139 DEFAULT_DEFAULT_wxUSE_GTK
=1
1144 cat >> confdefs.h
<<\EOF
1145 #define __FREEBSD__ 1
1148 cat >> confdefs.h
<<\EOF
1149 #define __NETBSD__ 1
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1157 cat >> confdefs.h
<<\EOF
1161 cat >> confdefs.h
<<\EOF
1165 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1166 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1171 cat >> confdefs.h
<<\EOF
1175 cat >> confdefs.h
<<\EOF
1179 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1184 cat >> confdefs.h
<<\EOF
1188 cat >> confdefs.h
<<\EOF
1192 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1198 cat >> confdefs.h
<<\EOF
1202 cat >> confdefs.h
<<\EOF
1206 cat >> confdefs.h
<<\EOF
1210 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1213 *-*-cygwin* | *-*-mingw32* )
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1225 #define __WINDOWS__ 1
1228 cat >> confdefs.h
<<\EOF
1229 #define __GNUWIN32__ 1
1232 cat >> confdefs.h
<<\EOF
1236 cat >> confdefs.h
<<\EOF
1237 #define WINVER 0x0400
1241 DEFAULT_DEFAULT_wxUSE_MSW
=1
1245 cat >> confdefs.h
<<\EOF
1250 DEFAULT_DEFAULT_wxUSE_PM
=1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1264 cat >> confdefs.h
<<\EOF
1268 DEFAULT_DEFAULT_wxUSE_MAC
=1
1273 cat >> confdefs.h
<<\EOF
1280 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1283 if test "$USE_UNIX" = 1 ; then
1285 cat >> confdefs.h
<<\EOF
1290 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1291 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1294 if test "$USE_BEOS" = 1; then
1295 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1296 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1299 if test "$USE_LINUX" = 1; then
1300 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1301 echo "configure:1302: checking for gettext in -lc" >&5
1302 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1304 echo $ac_n "(cached) $ac_c" 1>&6
1306 ac_save_LIBS
="$LIBS"
1308 cat > conftest.
$ac_ext <<EOF
1309 #line 1310 "configure"
1310 #include "confdefs.h"
1311 /* Override any gcc2 internal prototype to avoid an error. */
1312 /* We use char because int might match the return type of a gcc2
1313 builtin and then its argument prototype would still apply. */
1320 if { (eval echo configure
:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1322 eval "ac_cv_lib_$ac_lib_var=yes"
1324 echo "configure: failed program was:" >&5
1325 cat conftest.
$ac_ext >&5
1327 eval "ac_cv_lib_$ac_lib_var=no"
1330 LIBS
="$ac_save_LIBS"
1333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1334 echo "$ac_t""yes" 1>&6
1335 cat >> confdefs.h
<<\EOF
1336 #define wxHAVE_GLIBC2 1
1340 echo "$ac_t""no" 1>&6
1348 wx_arg_cache_file
="configarg.cache"
1349 echo "loading argument cache $wx_arg_cache_file"
1350 rm -f ${wx_arg_cache_file}.tmp
1351 touch ${wx_arg_cache_file}.tmp
1352 touch ${wx_arg_cache_file}
1356 if test $DEBUG_CONFIGURE = 1; then
1357 DEFAULT_wxUSE_UNIVERSAL
=no
1359 DEFAULT_wxUSE_THREADS
=yes
1361 DEFAULT_wxUSE_SHARED
=yes
1362 DEFAULT_wxUSE_BURNT_NAME
=no
1363 DEFAULT_wxUSE_OPTIMISE
=no
1364 DEFAULT_wxUSE_PROFILE
=no
1365 DEFAULT_wxUSE_NO_DEPS
=no
1366 DEFAULT_wxUSE_NO_RTTI
=no
1367 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1368 DEFAULT_wxUSE_PERMISSIVE
=no
1369 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1370 DEFAULT_wxUSE_DEBUG_INFO
=yes
1371 DEFAULT_wxUSE_DEBUG_GDB
=yes
1372 DEFAULT_wxUSE_MEM_TRACING
=no
1373 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1374 DEFAULT_wxUSE_DMALLOC
=no
1375 DEFAULT_wxUSE_APPLE_IEEE
=no
1377 DEFAULT_wxUSE_LOG
=yes
1378 DEFAULT_wxUSE_LOGWINDOW
=no
1379 DEFAULT_wxUSE_LOGGUI
=no
1381 DEFAULT_wxUSE_GUI
=yes
1382 DEFAULT_wxUSE_CONTROLS
=no
1384 DEFAULT_wxUSE_ZLIB
=no
1385 DEFAULT_wxUSE_LIBPNG
=no
1386 DEFAULT_wxUSE_LIBJPEG
=no
1387 DEFAULT_wxUSE_LIBTIFF
=no
1388 DEFAULT_wxUSE_ODBC
=no
1389 DEFAULT_wxUSE_FREETYPE
=no
1390 DEFAULT_wxUSE_OPENGL
=no
1392 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1393 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1394 DEFAULT_wxUSE_STD_IOSTREAM
=no
1395 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1396 DEFAULT_wxUSE_DATETIME
=no
1397 DEFAULT_wxUSE_TIMEDATE
=no
1398 DEFAULT_wxUSE_TIMER
=no
1399 DEFAULT_wxUSE_STOPWATCH
=no
1400 DEFAULT_wxUSE_FILE
=no
1401 DEFAULT_wxUSE_FFILE
=no
1402 DEFAULT_wxUSE_TEXTFILE
=no
1403 DEFAULT_wxUSE_WAVE
=no
1404 DEFAULT_wxUSE_INTL
=no
1405 DEFAULT_wxUSE_CONFIG
=no
1406 DEFAULT_wxUSE_FONTMAP
=no
1407 DEFAULT_wxUSE_STREAMS
=no
1408 DEFAULT_wxUSE_SOCKETS
=no
1409 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1410 DEFAULT_wxUSE_SERIAL
=no
1411 DEFAULT_wxUSE_JOYSTICK
=no
1412 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1413 DEFAULT_wxUSE_LONGLONG
=no
1414 DEFAULT_wxUSE_GEOMETRY
=no
1416 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1417 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1418 DEFAULT_wxUSE_POSTSCRIPT
=no
1420 DEFAULT_wxUSE_X_RESOURCES
=no
1421 DEFAULT_wxUSE_CLIPBOARD
=no
1422 DEFAULT_wxUSE_TOOLTIPS
=no
1423 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1424 DEFAULT_wxUSE_SPLINES
=no
1426 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1427 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1428 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1430 DEFAULT_wxUSE_PROLOGIO
=no
1431 DEFAULT_wxUSE_RESOURCES
=no
1432 DEFAULT_wxUSE_CONSTRAINTS
=no
1433 DEFAULT_wxUSE_IPC
=no
1434 DEFAULT_wxUSE_HELP
=no
1435 DEFAULT_wxUSE_WXTREE
=no
1436 DEFAULT_wxUSE_METAFILE
=no
1437 DEFAULT_wxUSE_MIMETYPE
=no
1439 DEFAULT_wxUSE_COMMONDLGS
=no
1440 DEFAULT_wxUSE_CHOICEDLG
=no
1441 DEFAULT_wxUSE_COLOURDLG
=no
1442 DEFAULT_wxUSE_DIRDLG
=no
1443 DEFAULT_wxUSE_FILEDLG
=no
1444 DEFAULT_wxUSE_FONTDLG
=no
1445 DEFAULT_wxUSE_MSGDLG
=no
1446 DEFAULT_wxUSE_NUMBERDLG
=no
1447 DEFAULT_wxUSE_TEXTDLG
=no
1448 DEFAULT_wxUSE_STARTUP_TIPS
=no
1449 DEFAULT_wxUSE_PROGRESSDLG
=no
1450 DEFAULT_wxUSE_MENUS
=no
1451 DEFAULT_wxUSE_MINIFRAME
=no
1452 DEFAULT_wxUSE_HTML
=no
1453 DEFAULT_wxUSE_FILESYSTEM
=no
1454 DEFAULT_wxUSE_FS_INET
=no
1455 DEFAULT_wxUSE_FS_ZIP
=no
1456 DEFAULT_wxUSE_BUSYINFO
=no
1457 DEFAULT_wxUSE_ZIPSTREAM
=no
1458 DEFAULT_wxUSE_VALIDATORS
=no
1460 DEFAULT_wxUSE_ACCEL
=no
1461 DEFAULT_wxUSE_BUTTON
=no
1462 DEFAULT_wxUSE_BMPBUTTON
=no
1463 DEFAULT_wxUSE_CALCTRL
=no
1464 DEFAULT_wxUSE_CARET
=no
1465 DEFAULT_wxUSE_CHECKBOX
=no
1466 DEFAULT_wxUSE_CHECKLST
=no
1467 DEFAULT_wxUSE_CHOICE
=no
1468 DEFAULT_wxUSE_COMBOBOX
=no
1469 DEFAULT_wxUSE_GAUGE
=no
1470 DEFAULT_wxUSE_GRID
=no
1471 DEFAULT_wxUSE_NEW_GRID
=no
1472 DEFAULT_wxUSE_IMAGLIST
=no
1473 DEFAULT_wxUSE_LISTBOX
=no
1474 DEFAULT_wxUSE_LISTCTRL
=no
1475 DEFAULT_wxUSE_NOTEBOOK
=no
1476 DEFAULT_wxUSE_RADIOBOX
=no
1477 DEFAULT_wxUSE_RADIOBTN
=no
1478 DEFAULT_wxUSE_SASH
=no
1479 DEFAULT_wxUSE_SCROLLBAR
=no
1480 DEFAULT_wxUSE_SLIDER
=no
1481 DEFAULT_wxUSE_SPINBTN
=no
1482 DEFAULT_wxUSE_SPINCTRL
=no
1483 DEFAULT_wxUSE_SPLITTER
=no
1484 DEFAULT_wxUSE_STATBMP
=no
1485 DEFAULT_wxUSE_STATBOX
=no
1486 DEFAULT_wxUSE_STATLINE
=no
1487 DEFAULT_wxUSE_STATTEXT
=no
1488 DEFAULT_wxUSE_STATUSBAR
=yes
1489 DEFAULT_wxUSE_TABDIALOG
=no
1490 DEFAULT_wxUSE_TEXTCTRL
=no
1491 DEFAULT_wxUSE_TOGGLEBTN
=no
1492 DEFAULT_wxUSE_TOOLBAR
=no
1493 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1494 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1495 DEFAULT_wxUSE_TREECTRL
=no
1497 DEFAULT_wxUSE_UNICODE
=no
1498 DEFAULT_wxUSE_WCSRTOMBS
=no
1500 DEFAULT_wxUSE_IMAGE
=no
1501 DEFAULT_wxUSE_GIF
=no
1502 DEFAULT_wxUSE_PCX
=no
1503 DEFAULT_wxUSE_PNM
=no
1504 DEFAULT_wxUSE_XPM
=no
1506 DEFAULT_wxUSE_UNIVERSAL
=no
1508 DEFAULT_wxUSE_THREADS
=yes
1510 DEFAULT_wxUSE_SHARED
=yes
1511 DEFAULT_wxUSE_BURNT_NAME
=no
1512 DEFAULT_wxUSE_OPTIMISE
=yes
1513 DEFAULT_wxUSE_PROFILE
=no
1514 DEFAULT_wxUSE_NO_DEPS
=no
1515 DEFAULT_wxUSE_NO_RTTI
=no
1516 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1517 DEFAULT_wxUSE_PERMISSIVE
=no
1518 DEFAULT_wxUSE_DEBUG_FLAG
=no
1519 DEFAULT_wxUSE_DEBUG_INFO
=no
1520 DEFAULT_wxUSE_DEBUG_GDB
=no
1521 DEFAULT_wxUSE_MEM_TRACING
=no
1522 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1523 DEFAULT_wxUSE_DMALLOC
=no
1524 DEFAULT_wxUSE_APPLE_IEEE
=yes
1526 DEFAULT_wxUSE_LOG
=yes
1528 DEFAULT_wxUSE_GUI
=yes
1530 DEFAULT_wxUSE_ZLIB
=yes
1531 DEFAULT_wxUSE_LIBPNG
=yes
1532 DEFAULT_wxUSE_LIBJPEG
=yes
1533 DEFAULT_wxUSE_LIBTIFF
=yes
1534 DEFAULT_wxUSE_ODBC
=no
1535 DEFAULT_wxUSE_FREETYPE
=no
1536 DEFAULT_wxUSE_OPENGL
=no
1538 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1539 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1540 DEFAULT_wxUSE_STD_IOSTREAM
=no
1541 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1542 DEFAULT_wxUSE_DATETIME
=yes
1543 DEFAULT_wxUSE_TIMEDATE
=no
1544 DEFAULT_wxUSE_TIMER
=yes
1545 DEFAULT_wxUSE_STOPWATCH
=yes
1546 DEFAULT_wxUSE_FILE
=yes
1547 DEFAULT_wxUSE_FFILE
=yes
1548 DEFAULT_wxUSE_TEXTFILE
=yes
1549 DEFAULT_wxUSE_WAVE
=no
1550 DEFAULT_wxUSE_INTL
=yes
1551 DEFAULT_wxUSE_CONFIG
=yes
1552 DEFAULT_wxUSE_FONTMAP
=yes
1553 DEFAULT_wxUSE_STREAMS
=yes
1554 DEFAULT_wxUSE_SOCKETS
=yes
1555 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1556 DEFAULT_wxUSE_SERIAL
=yes
1557 DEFAULT_wxUSE_JOYSTICK
=yes
1558 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1559 DEFAULT_wxUSE_LONGLONG
=yes
1560 DEFAULT_wxUSE_GEOMETRY
=yes
1562 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1563 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1564 DEFAULT_wxUSE_POSTSCRIPT
=yes
1566 DEFAULT_wxUSE_X_RESOURCES
=no
1567 DEFAULT_wxUSE_CLIPBOARD
=yes
1568 DEFAULT_wxUSE_TOOLTIPS
=yes
1569 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1570 DEFAULT_wxUSE_SPLINES
=yes
1572 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1573 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1574 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1576 DEFAULT_wxUSE_PROLOGIO
=yes
1577 DEFAULT_wxUSE_RESOURCES
=yes
1578 DEFAULT_wxUSE_CONSTRAINTS
=yes
1579 DEFAULT_wxUSE_IPC
=yes
1580 DEFAULT_wxUSE_HELP
=yes
1581 DEFAULT_wxUSE_WXTREE
=yes
1582 DEFAULT_wxUSE_METAFILE
=yes
1583 DEFAULT_wxUSE_MIMETYPE
=yes
1585 DEFAULT_wxUSE_COMMONDLGS
=yes
1586 DEFAULT_wxUSE_CHOICEDLG
=yes
1587 DEFAULT_wxUSE_COLOURDLG
=yes
1588 DEFAULT_wxUSE_DIRDLG
=yes
1589 DEFAULT_wxUSE_FILEDLG
=yes
1590 DEFAULT_wxUSE_FONTDLG
=yes
1591 DEFAULT_wxUSE_MSGDLG
=yes
1592 DEFAULT_wxUSE_NUMBERDLG
=yes
1593 DEFAULT_wxUSE_TEXTDLG
=yes
1594 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1595 DEFAULT_wxUSE_PROGRESSDLG
=yes
1596 DEFAULT_wxUSE_MENUS
=yes
1597 DEFAULT_wxUSE_MINIFRAME
=yes
1598 DEFAULT_wxUSE_HTML
=yes
1599 DEFAULT_wxUSE_FILESYSTEM
=yes
1600 DEFAULT_wxUSE_FS_INET
=yes
1601 DEFAULT_wxUSE_FS_ZIP
=yes
1602 DEFAULT_wxUSE_BUSYINFO
=yes
1603 DEFAULT_wxUSE_ZIPSTREAM
=yes
1604 DEFAULT_wxUSE_VALIDATORS
=yes
1606 DEFAULT_wxUSE_ACCEL
=yes
1607 DEFAULT_wxUSE_BUTTON
=yes
1608 DEFAULT_wxUSE_BMPBUTTON
=yes
1609 DEFAULT_wxUSE_CALCTRL
=yes
1610 DEFAULT_wxUSE_CARET
=yes
1611 DEFAULT_wxUSE_CHECKBOX
=yes
1612 DEFAULT_wxUSE_CHECKLST
=yes
1613 DEFAULT_wxUSE_CHOICE
=yes
1614 DEFAULT_wxUSE_COMBOBOX
=yes
1615 DEFAULT_wxUSE_GAUGE
=yes
1616 DEFAULT_wxUSE_GRID
=yes
1617 DEFAULT_wxUSE_NEW_GRID
=yes
1618 DEFAULT_wxUSE_IMAGLIST
=yes
1619 DEFAULT_wxUSE_LISTBOX
=yes
1620 DEFAULT_wxUSE_LISTCTRL
=yes
1621 DEFAULT_wxUSE_NOTEBOOK
=yes
1622 DEFAULT_wxUSE_RADIOBOX
=yes
1623 DEFAULT_wxUSE_RADIOBTN
=yes
1624 DEFAULT_wxUSE_SASH
=yes
1625 DEFAULT_wxUSE_SCROLLBAR
=yes
1626 DEFAULT_wxUSE_SLIDER
=yes
1627 DEFAULT_wxUSE_SPINBTN
=yes
1628 DEFAULT_wxUSE_SPINCTRL
=yes
1629 DEFAULT_wxUSE_SPLITTER
=yes
1630 DEFAULT_wxUSE_STATBMP
=yes
1631 DEFAULT_wxUSE_STATBOX
=yes
1632 DEFAULT_wxUSE_STATLINE
=yes
1633 DEFAULT_wxUSE_STATTEXT
=yes
1634 DEFAULT_wxUSE_STATUSBAR
=yes
1635 DEFAULT_wxUSE_TABDIALOG
=no
1636 DEFAULT_wxUSE_TEXTCTRL
=yes
1637 DEFAULT_wxUSE_TOGGLEBTN
=yes
1638 DEFAULT_wxUSE_TOOLBAR
=yes
1639 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1640 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1641 DEFAULT_wxUSE_TREECTRL
=yes
1643 DEFAULT_wxUSE_UNICODE
=no
1644 DEFAULT_wxUSE_WCSRTOMBS
=no
1646 DEFAULT_wxUSE_IMAGE
=yes
1647 DEFAULT_wxUSE_GIF
=yes
1648 DEFAULT_wxUSE_PCX
=yes
1649 DEFAULT_wxUSE_PNM
=yes
1650 DEFAULT_wxUSE_XPM
=yes
1655 for toolkit
in `echo $ALL_TOOLKITS`; do
1656 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1657 if test "x$LINE" != x
; then
1658 has_toolkit_in_cache
=1
1659 eval "DEFAULT_$LINE"
1660 eval "CACHE_$toolkit=1"
1666 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1667 echo "configure:1668: checking for --enable-gui" >&5
1669 # Check whether --enable-gui or --disable-gui was given.
1670 if test "${enable_gui+set}" = set; then
1671 enableval
="$enable_gui"
1673 if test "$enableval" = yes; then
1674 ac_cv_use_gui
='wxUSE_GUI=yes'
1676 ac_cv_use_gui
='wxUSE_GUI=no'
1681 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1682 if test "x$LINE" != x
; then
1683 eval "DEFAULT_$LINE"
1688 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1693 eval "$ac_cv_use_gui"
1694 if test "$no_cache" != 1; then
1695 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1698 if test "$wxUSE_GUI" = yes; then
1699 echo "$ac_t""yes" 1>&6
1701 echo "$ac_t""no" 1>&6
1705 if test "$wxUSE_GUI" = "yes"; then
1708 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1709 echo "configure:1710: checking for --enable-universal" >&5
1711 # Check whether --enable-universal or --disable-universal was given.
1712 if test "${enable_universal+set}" = set; then
1713 enableval
="$enable_universal"
1715 if test "$enableval" = yes; then
1716 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1718 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1723 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1724 if test "x$LINE" != x
; then
1725 eval "DEFAULT_$LINE"
1730 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1735 eval "$ac_cv_use_universal"
1736 if test "$no_cache" != 1; then
1737 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1740 if test "$wxUSE_UNIVERSAL" = yes; then
1741 echo "$ac_t""yes" 1>&6
1743 echo "$ac_t""no" 1>&6
1746 # Check whether --with-gtk or --without-gtk was given.
1747 if test "${with_gtk+set}" = set; then
1749 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1752 # Check whether --with-motif or --without-motif was given.
1753 if test "${with_motif+set}" = set; then
1754 withval
="$with_motif"
1755 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1758 # Check whether --with-mac or --without-mac was given.
1759 if test "${with_mac+set}" = set; then
1761 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1764 # Check whether --with-wine or --without-wine was given.
1765 if test "${with_wine+set}" = set; then
1766 withval
="$with_wine"
1767 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1770 # Check whether --with-cygwin or --without-cygwin was given.
1771 if test "${with_cygwin+set}" = set; then
1772 withval
="$with_cygwin"
1773 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1776 # Check whether --with-mingw or --without-mingw was given.
1777 if test "${with_mingw+set}" = set; then
1778 withval
="$with_mingw"
1779 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1782 # Check whether --with-pm or --without-pm was given.
1783 if test "${with_pm+set}" = set; then
1785 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1788 # Check whether --with-mgl or --without-mgl was given.
1789 if test "${with_mgl+set}" = set; then
1791 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1795 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1796 if test "${with_gtk_prefix+set}" = set; then
1797 withval
="$with_gtk_prefix"
1798 gtk_config_prefix
="$withval"
1800 gtk_config_prefix
=""
1803 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1804 if test "${with_gtk_exec_prefix+set}" = set; then
1805 withval
="$with_gtk_exec_prefix"
1806 gtk_config_exec_prefix
="$withval"
1808 gtk_config_exec_prefix
=""
1813 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1814 echo "configure:1815: checking for --with-libpng" >&5
1816 # Check whether --with-libpng or --without-libpng was given.
1817 if test "${with_libpng+set}" = set; then
1818 withval
="$with_libpng"
1820 if test "$withval" = yes; then
1821 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1822 elif test "$withval" = no
; then
1823 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1824 elif test "$withval" = sys
; then
1825 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1827 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1832 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1833 if test "x$LINE" != x
; then
1834 eval "DEFAULT_$LINE"
1839 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1844 eval "$ac_cv_use_libpng"
1845 if test "$no_cache" != 1; then
1846 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1849 if test "$wxUSE_LIBPNG" = yes; then
1850 echo "$ac_t""yes" 1>&6
1851 elif test "$wxUSE_LIBPNG" = no
; then
1852 echo "$ac_t""no" 1>&6
1853 elif test "$wxUSE_LIBPNG" = sys
; then
1854 echo "$ac_t""system version" 1>&6
1856 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1860 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1861 echo "configure:1862: checking for --with-libjpeg" >&5
1863 # Check whether --with-libjpeg or --without-libjpeg was given.
1864 if test "${with_libjpeg+set}" = set; then
1865 withval
="$with_libjpeg"
1867 if test "$withval" = yes; then
1868 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1869 elif test "$withval" = no
; then
1870 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1871 elif test "$withval" = sys
; then
1872 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1874 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1879 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1880 if test "x$LINE" != x
; then
1881 eval "DEFAULT_$LINE"
1886 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1891 eval "$ac_cv_use_libjpeg"
1892 if test "$no_cache" != 1; then
1893 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1896 if test "$wxUSE_LIBJPEG" = yes; then
1897 echo "$ac_t""yes" 1>&6
1898 elif test "$wxUSE_LIBJPEG" = no
; then
1899 echo "$ac_t""no" 1>&6
1900 elif test "$wxUSE_LIBJPEG" = sys
; then
1901 echo "$ac_t""system version" 1>&6
1903 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1907 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1908 echo "configure:1909: checking for --with-libtiff" >&5
1910 # Check whether --with-libtiff or --without-libtiff was given.
1911 if test "${with_libtiff+set}" = set; then
1912 withval
="$with_libtiff"
1914 if test "$withval" = yes; then
1915 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1916 elif test "$withval" = no
; then
1917 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1918 elif test "$withval" = sys
; then
1919 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1921 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1926 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1927 if test "x$LINE" != x
; then
1928 eval "DEFAULT_$LINE"
1933 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1938 eval "$ac_cv_use_libtiff"
1939 if test "$no_cache" != 1; then
1940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1943 if test "$wxUSE_LIBTIFF" = yes; then
1944 echo "$ac_t""yes" 1>&6
1945 elif test "$wxUSE_LIBTIFF" = no
; then
1946 echo "$ac_t""no" 1>&6
1947 elif test "$wxUSE_LIBTIFF" = sys
; then
1948 echo "$ac_t""system version" 1>&6
1950 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1954 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1955 echo "configure:1956: checking for --with-freetype" >&5
1957 # Check whether --with-freetype or --without-freetype was given.
1958 if test "${with_freetype+set}" = set; then
1959 withval
="$with_freetype"
1961 if test "$withval" = yes; then
1962 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1963 elif test "$withval" = no
; then
1964 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1965 elif test "$withval" = sys
; then
1966 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1968 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1973 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1974 if test "x$LINE" != x
; then
1975 eval "DEFAULT_$LINE"
1980 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1985 eval "$ac_cv_use_freetype"
1986 if test "$no_cache" != 1; then
1987 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1990 if test "$wxUSE_FREETYPE" = yes; then
1991 echo "$ac_t""yes" 1>&6
1992 elif test "$wxUSE_FREETYPE" = no
; then
1993 echo "$ac_t""no" 1>&6
1994 elif test "$wxUSE_FREETYPE" = sys
; then
1995 echo "$ac_t""system version" 1>&6
1997 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2001 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2002 echo "configure:2003: checking for --with-opengl" >&5
2004 # Check whether --with-opengl or --without-opengl was given.
2005 if test "${with_opengl+set}" = set; then
2006 withval
="$with_opengl"
2008 if test "$withval" = yes; then
2009 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2011 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2016 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2017 if test "x$LINE" != x
; then
2018 eval "DEFAULT_$LINE"
2023 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2028 eval "$ac_cv_use_opengl"
2029 if test "$no_cache" != 1; then
2030 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2033 if test "$wxUSE_OPENGL" = yes; then
2034 echo "$ac_t""yes" 1>&6
2036 echo "$ac_t""no" 1>&6
2043 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2044 echo "configure:2045: checking for --with-dmalloc" >&5
2046 # Check whether --with-dmalloc or --without-dmalloc was given.
2047 if test "${with_dmalloc+set}" = set; then
2048 withval
="$with_dmalloc"
2050 if test "$withval" = yes; then
2051 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2053 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2058 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2059 if test "x$LINE" != x
; then
2060 eval "DEFAULT_$LINE"
2065 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2070 eval "$ac_cv_use_dmalloc"
2071 if test "$no_cache" != 1; then
2072 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2075 if test "$wxUSE_DMALLOC" = yes; then
2076 echo "$ac_t""yes" 1>&6
2078 echo "$ac_t""no" 1>&6
2082 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2083 echo "configure:2084: checking for --with-zlib" >&5
2085 # Check whether --with-zlib or --without-zlib was given.
2086 if test "${with_zlib+set}" = set; then
2087 withval
="$with_zlib"
2089 if test "$withval" = yes; then
2090 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2091 elif test "$withval" = no
; then
2092 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2093 elif test "$withval" = sys
; then
2094 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2096 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2101 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2102 if test "x$LINE" != x
; then
2103 eval "DEFAULT_$LINE"
2108 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2113 eval "$ac_cv_use_zlib"
2114 if test "$no_cache" != 1; then
2115 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2118 if test "$wxUSE_ZLIB" = yes; then
2119 echo "$ac_t""yes" 1>&6
2120 elif test "$wxUSE_ZLIB" = no
; then
2121 echo "$ac_t""no" 1>&6
2122 elif test "$wxUSE_ZLIB" = sys
; then
2123 echo "$ac_t""system version" 1>&6
2125 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2129 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2130 echo "configure:2131: checking for --with-odbc" >&5
2132 # Check whether --with-odbc or --without-odbc was given.
2133 if test "${with_odbc+set}" = set; then
2134 withval
="$with_odbc"
2136 if test "$withval" = yes; then
2137 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2139 ac_cv_use_odbc
='wxUSE_ODBC=no'
2144 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2145 if test "x$LINE" != x
; then
2146 eval "DEFAULT_$LINE"
2151 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2156 eval "$ac_cv_use_odbc"
2157 if test "$no_cache" != 1; then
2158 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2161 if test "$wxUSE_ODBC" = yes; then
2162 echo "$ac_t""yes" 1>&6
2164 echo "$ac_t""no" 1>&6
2171 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2172 echo "configure:2173: checking for --enable-shared" >&5
2174 # Check whether --enable-shared or --disable-shared was given.
2175 if test "${enable_shared+set}" = set; then
2176 enableval
="$enable_shared"
2178 if test "$enableval" = yes; then
2179 ac_cv_use_shared
='wxUSE_SHARED=yes'
2181 ac_cv_use_shared
='wxUSE_SHARED=no'
2186 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2198 eval "$ac_cv_use_shared"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_SHARED" = yes; then
2204 echo "$ac_t""yes" 1>&6
2206 echo "$ac_t""no" 1>&6
2210 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2211 echo "configure:2212: checking for --enable-burnt_name" >&5
2213 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2214 if test "${enable_burnt_name+set}" = set; then
2215 enableval
="$enable_burnt_name"
2217 if test "$enableval" = yes; then
2218 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2220 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2225 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2226 if test "x$LINE" != x
; then
2227 eval "DEFAULT_$LINE"
2232 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2237 eval "$ac_cv_use_burnt_name"
2238 if test "$no_cache" != 1; then
2239 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2242 if test "$wxUSE_BURNT_NAME" = yes; then
2243 echo "$ac_t""yes" 1>&6
2245 echo "$ac_t""no" 1>&6
2249 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2250 echo "configure:2251: checking for --enable-optimise" >&5
2252 # Check whether --enable-optimise or --disable-optimise was given.
2253 if test "${enable_optimise+set}" = set; then
2254 enableval
="$enable_optimise"
2256 if test "$enableval" = yes; then
2257 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2259 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2264 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x
; then
2266 eval "DEFAULT_$LINE"
2271 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2276 eval "$ac_cv_use_optimise"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2281 if test "$wxUSE_OPTIMISE" = yes; then
2282 echo "$ac_t""yes" 1>&6
2284 echo "$ac_t""no" 1>&6
2288 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2289 echo "configure:2290: checking for --enable-debug" >&5
2291 # Check whether --enable-debug or --disable-debug was given.
2292 if test "${enable_debug+set}" = set; then
2293 enableval
="$enable_debug"
2295 if test "$enableval" = yes; then
2296 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2298 ac_cv_use_debug
='wxUSE_DEBUG=no'
2303 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2304 if test "x$LINE" != x
; then
2305 eval "DEFAULT_$LINE"
2310 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2315 eval "$ac_cv_use_debug"
2316 if test "$no_cache" != 1; then
2317 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2320 if test "$wxUSE_DEBUG" = yes; then
2321 echo "$ac_t""yes" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 if test "$wxUSE_DEBUG" = "yes"; then
2328 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2329 DEFAULT_wxUSE_DEBUG_INFO
=yes
2330 elif test "$wxUSE_DEBUG" = "no"; then
2331 DEFAULT_wxUSE_DEBUG_FLAG
=no
2332 DEFAULT_wxUSE_DEBUG_INFO
=no
2336 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --enable-debug_flag" >&5
2339 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2340 if test "${enable_debug_flag+set}" = set; then
2341 enableval
="$enable_debug_flag"
2343 if test "$enableval" = yes; then
2344 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2346 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2351 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2363 eval "$ac_cv_use_debug_flag"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_DEBUG_FLAG" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2376 echo "configure:2377: checking for --enable-debug_info" >&5
2378 # Check whether --enable-debug_info or --disable-debug_info was given.
2379 if test "${enable_debug_info+set}" = set; then
2380 enableval
="$enable_debug_info"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2385 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2390 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x
; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2402 eval "$ac_cv_use_debug_info"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2407 if test "$wxUSE_DEBUG_INFO" = yes; then
2408 echo "$ac_t""yes" 1>&6
2410 echo "$ac_t""no" 1>&6
2414 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2415 echo "configure:2416: checking for --enable-debug_gdb" >&5
2417 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2418 if test "${enable_debug_gdb+set}" = set; then
2419 enableval
="$enable_debug_gdb"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2424 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2429 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x
; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2441 eval "$ac_cv_use_debug_gdb"
2442 if test "$no_cache" != 1; then
2443 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2446 if test "$wxUSE_DEBUG_GDB" = yes; then
2447 echo "$ac_t""yes" 1>&6
2449 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2454 echo "configure:2455: checking for --enable-debug_cntxt" >&5
2456 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2457 if test "${enable_debug_cntxt+set}" = set; then
2458 enableval
="$enable_debug_cntxt"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2463 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2468 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2480 eval "$ac_cv_use_debug_cntxt"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2492 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2493 echo "configure:2494: checking for --enable-mem_tracing" >&5
2495 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2496 if test "${enable_mem_tracing+set}" = set; then
2497 enableval
="$enable_mem_tracing"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2502 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2507 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2519 eval "$ac_cv_use_mem_tracing"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_MEM_TRACING" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2531 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2532 echo "configure:2533: checking for --enable-profile" >&5
2534 # Check whether --enable-profile or --disable-profile was given.
2535 if test "${enable_profile+set}" = set; then
2536 enableval
="$enable_profile"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2541 ac_cv_use_profile
='wxUSE_PROFILE=no'
2546 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2558 eval "$ac_cv_use_profile"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2563 if test "$wxUSE_PROFILE" = yes; then
2564 echo "$ac_t""yes" 1>&6
2566 echo "$ac_t""no" 1>&6
2570 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2571 echo "configure:2572: checking for --enable-no_rtti" >&5
2573 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2574 if test "${enable_no_rtti+set}" = set; then
2575 enableval
="$enable_no_rtti"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2580 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2585 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2597 eval "$ac_cv_use_no_rtti"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_NO_RTTI" = yes; then
2603 echo "$ac_t""yes" 1>&6
2605 echo "$ac_t""no" 1>&6
2609 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2610 echo "configure:2611: checking for --enable-no_exceptions" >&5
2612 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2613 if test "${enable_no_exceptions+set}" = set; then
2614 enableval
="$enable_no_exceptions"
2616 if test "$enableval" = yes; then
2617 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2619 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2624 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2636 eval "$ac_cv_use_no_exceptions"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2641 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2642 echo "$ac_t""yes" 1>&6
2644 echo "$ac_t""no" 1>&6
2648 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2649 echo "configure:2650: checking for --enable-permissive" >&5
2651 # Check whether --enable-permissive or --disable-permissive was given.
2652 if test "${enable_permissive+set}" = set; then
2653 enableval
="$enable_permissive"
2655 if test "$enableval" = yes; then
2656 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2658 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2663 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x
; then
2665 eval "DEFAULT_$LINE"
2670 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2675 eval "$ac_cv_use_permissive"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_PERMISSIVE" = yes; then
2681 echo "$ac_t""yes" 1>&6
2683 echo "$ac_t""no" 1>&6
2687 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2688 echo "configure:2689: checking for --enable-no_deps" >&5
2690 # Check whether --enable-no_deps or --disable-no_deps was given.
2691 if test "${enable_no_deps+set}" = set; then
2692 enableval
="$enable_no_deps"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2697 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2702 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2714 eval "$ac_cv_use_no_deps"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2719 if test "$wxUSE_NO_DEPS" = yes; then
2720 echo "$ac_t""yes" 1>&6
2722 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --enable-intl" >&5
2731 # Check whether --enable-intl or --disable-intl was given.
2732 if test "${enable_intl+set}" = set; then
2733 enableval
="$enable_intl"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_intl
='wxUSE_INTL=yes'
2738 ac_cv_use_intl
='wxUSE_INTL=no'
2743 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2755 eval "$ac_cv_use_intl"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2760 if test "$wxUSE_INTL" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2767 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2768 echo "configure:2769: checking for --enable-config" >&5
2770 # Check whether --enable-config or --disable-config was given.
2771 if test "${enable_config+set}" = set; then
2772 enableval
="$enable_config"
2774 if test "$enableval" = yes; then
2775 ac_cv_use_config
='wxUSE_CONFIG=yes'
2777 ac_cv_use_config
='wxUSE_CONFIG=no'
2782 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2794 eval "$ac_cv_use_config"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2799 if test "$wxUSE_CONFIG" = yes; then
2800 echo "$ac_t""yes" 1>&6
2802 echo "$ac_t""no" 1>&6
2807 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2808 echo "configure:2809: checking for --enable-sockets" >&5
2810 # Check whether --enable-sockets or --disable-sockets was given.
2811 if test "${enable_sockets+set}" = set; then
2812 enableval
="$enable_sockets"
2814 if test "$enableval" = yes; then
2815 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2817 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2822 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2823 if test "x$LINE" != x
; then
2824 eval "DEFAULT_$LINE"
2829 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2834 eval "$ac_cv_use_sockets"
2835 if test "$no_cache" != 1; then
2836 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2839 if test "$wxUSE_SOCKETS" = yes; then
2840 echo "$ac_t""yes" 1>&6
2842 echo "$ac_t""no" 1>&6
2847 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2848 echo "configure:2849: checking for --enable-ipc" >&5
2850 # Check whether --enable-ipc or --disable-ipc was given.
2851 if test "${enable_ipc+set}" = set; then
2852 enableval
="$enable_ipc"
2854 if test "$enableval" = yes; then
2855 ac_cv_use_ipc
='wxUSE_IPC=yes'
2857 ac_cv_use_ipc
='wxUSE_IPC=no'
2862 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x
; then
2864 eval "DEFAULT_$LINE"
2869 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2874 eval "$ac_cv_use_ipc"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2879 if test "$wxUSE_IPC" = yes; then
2880 echo "$ac_t""yes" 1>&6
2882 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2888 echo "configure:2889: checking for --enable-cmdline" >&5
2890 # Check whether --enable-cmdline or --disable-cmdline was given.
2891 if test "${enable_cmdline+set}" = set; then
2892 enableval
="$enable_cmdline"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2897 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2902 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2914 eval "$ac_cv_use_cmdline"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_CMDLINE_PARSER" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2926 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
2927 echo "configure:2928: checking for --enable-datetime" >&5
2929 # Check whether --enable-datetime or --disable-datetime was given.
2930 if test "${enable_datetime+set}" = set; then
2931 enableval
="$enable_datetime"
2933 if test "$enableval" = yes; then
2934 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
2936 ac_cv_use_datetime
='wxUSE_DATETIME=no'
2941 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
2953 eval "$ac_cv_use_datetime"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_DATETIME" = yes; then
2959 echo "$ac_t""yes" 1>&6
2961 echo "$ac_t""no" 1>&6
2965 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
2966 echo "configure:2967: checking for --enable-timedate" >&5
2968 # Check whether --enable-timedate or --disable-timedate was given.
2969 if test "${enable_timedate+set}" = set; then
2970 enableval
="$enable_timedate"
2972 if test "$enableval" = yes; then
2973 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2975 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2980 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2992 eval "$ac_cv_use_timedate"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_TIMEDATE" = yes; then
2998 echo "$ac_t""yes" 1>&6
3000 echo "$ac_t""no" 1>&6
3004 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3005 echo "configure:3006: checking for --enable-stopwatch" >&5
3007 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3008 if test "${enable_stopwatch+set}" = set; then
3009 enableval
="$enable_stopwatch"
3011 if test "$enableval" = yes; then
3012 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3014 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3019 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3031 eval "$ac_cv_use_stopwatch"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_STOPWATCH" = yes; then
3037 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3043 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3044 echo "configure:3045: checking for --enable-dialupman" >&5
3046 # Check whether --enable-dialupman or --disable-dialupman was given.
3047 if test "${enable_dialupman+set}" = set; then
3048 enableval
="$enable_dialupman"
3050 if test "$enableval" = yes; then
3051 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3053 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3058 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3070 eval "$ac_cv_use_dialupman"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3076 echo "$ac_t""yes" 1>&6
3078 echo "$ac_t""no" 1>&6
3082 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3083 echo "configure:3084: checking for --enable-apple_ieee" >&5
3085 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3086 if test "${enable_apple_ieee+set}" = set; then
3087 enableval
="$enable_apple_ieee"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3092 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3097 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3109 eval "$ac_cv_use_apple_ieee"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_APPLE_IEEE" = yes; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3121 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3122 echo "configure:3123: checking for --enable-timer" >&5
3124 # Check whether --enable-timer or --disable-timer was given.
3125 if test "${enable_timer+set}" = set; then
3126 enableval
="$enable_timer"
3128 if test "$enableval" = yes; then
3129 ac_cv_use_timer
='wxUSE_TIMER=yes'
3131 ac_cv_use_timer
='wxUSE_TIMER=no'
3136 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3148 eval "$ac_cv_use_timer"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_TIMER" = yes; then
3154 echo "$ac_t""yes" 1>&6
3156 echo "$ac_t""no" 1>&6
3160 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3161 echo "configure:3162: checking for --enable-wave" >&5
3163 # Check whether --enable-wave or --disable-wave was given.
3164 if test "${enable_wave+set}" = set; then
3165 enableval
="$enable_wave"
3167 if test "$enableval" = yes; then
3168 ac_cv_use_wave
='wxUSE_WAVE=yes'
3170 ac_cv_use_wave
='wxUSE_WAVE=no'
3175 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3187 eval "$ac_cv_use_wave"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_WAVE" = yes; then
3193 echo "$ac_t""yes" 1>&6
3195 echo "$ac_t""no" 1>&6
3199 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3200 echo "configure:3201: checking for --enable-fraction" >&5
3202 # Check whether --enable-fraction or --disable-fraction was given.
3203 if test "${enable_fraction+set}" = set; then
3204 enableval
="$enable_fraction"
3206 if test "$enableval" = yes; then
3207 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3209 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3214 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x
; then
3216 eval "DEFAULT_$LINE"
3221 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3226 eval "$ac_cv_use_fraction"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_FRACTION" = yes; then
3232 echo "$ac_t""yes" 1>&6
3234 echo "$ac_t""no" 1>&6
3238 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3239 echo "configure:3240: checking for --enable-dynlib" >&5
3241 # Check whether --enable-dynlib or --disable-dynlib was given.
3242 if test "${enable_dynlib+set}" = set; then
3243 enableval
="$enable_dynlib"
3245 if test "$enableval" = yes; then
3246 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3248 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3253 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3265 eval "$ac_cv_use_dynlib"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3270 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3271 echo "$ac_t""yes" 1>&6
3273 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3278 echo "configure:3279: checking for --enable-longlong" >&5
3280 # Check whether --enable-longlong or --disable-longlong was given.
3281 if test "${enable_longlong+set}" = set; then
3282 enableval
="$enable_longlong"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3287 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3292 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x
; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3304 eval "$ac_cv_use_longlong"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_LONGLONG" = yes; then
3310 echo "$ac_t""yes" 1>&6
3312 echo "$ac_t""no" 1>&6
3316 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3317 echo "configure:3318: checking for --enable-geometry" >&5
3319 # Check whether --enable-geometry or --disable-geometry was given.
3320 if test "${enable_geometry+set}" = set; then
3321 enableval
="$enable_geometry"
3323 if test "$enableval" = yes; then
3324 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3326 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3331 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x
; then
3333 eval "DEFAULT_$LINE"
3338 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3343 eval "$ac_cv_use_geometry"
3344 if test "$no_cache" != 1; then
3345 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3348 if test "$wxUSE_GEOMETRY" = yes; then
3349 echo "$ac_t""yes" 1>&6
3351 echo "$ac_t""no" 1>&6
3355 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3356 echo "configure:3357: checking for --enable-log" >&5
3358 # Check whether --enable-log or --disable-log was given.
3359 if test "${enable_log+set}" = set; then
3360 enableval
="$enable_log"
3362 if test "$enableval" = yes; then
3363 ac_cv_use_log
='wxUSE_LOG=yes'
3365 ac_cv_use_log
='wxUSE_LOG=no'
3370 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3382 eval "$ac_cv_use_log"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_LOG" = yes; then
3388 echo "$ac_t""yes" 1>&6
3390 echo "$ac_t""no" 1>&6
3394 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3395 echo "configure:3396: checking for --enable-streams" >&5
3397 # Check whether --enable-streams or --disable-streams was given.
3398 if test "${enable_streams+set}" = set; then
3399 enableval
="$enable_streams"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3404 ac_cv_use_streams
='wxUSE_STREAMS=no'
3409 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3421 eval "$ac_cv_use_streams"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_STREAMS" = yes; then
3427 echo "$ac_t""yes" 1>&6
3429 echo "$ac_t""no" 1>&6
3433 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3434 echo "configure:3435: checking for --enable-file" >&5
3436 # Check whether --enable-file or --disable-file was given.
3437 if test "${enable_file+set}" = set; then
3438 enableval
="$enable_file"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_file
='wxUSE_FILE=yes'
3443 ac_cv_use_file
='wxUSE_FILE=no'
3448 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3460 eval "$ac_cv_use_file"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_FILE" = yes; then
3466 echo "$ac_t""yes" 1>&6
3468 echo "$ac_t""no" 1>&6
3472 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3473 echo "configure:3474: checking for --enable-ffile" >&5
3475 # Check whether --enable-ffile or --disable-ffile was given.
3476 if test "${enable_ffile+set}" = set; then
3477 enableval
="$enable_ffile"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3482 ac_cv_use_ffile
='wxUSE_FFILE=no'
3487 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3499 eval "$ac_cv_use_ffile"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_FFILE" = yes; then
3505 echo "$ac_t""yes" 1>&6
3507 echo "$ac_t""no" 1>&6
3511 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3512 echo "configure:3513: checking for --enable-textfile" >&5
3514 # Check whether --enable-textfile or --disable-textfile was given.
3515 if test "${enable_textfile+set}" = set; then
3516 enableval
="$enable_textfile"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3521 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3526 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3538 eval "$ac_cv_use_textfile"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_TEXTFILE" = yes; then
3544 echo "$ac_t""yes" 1>&6
3546 echo "$ac_t""no" 1>&6
3550 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3551 echo "configure:3552: checking for --enable-fontmap" >&5
3553 # Check whether --enable-fontmap or --disable-fontmap was given.
3554 if test "${enable_fontmap+set}" = set; then
3555 enableval
="$enable_fontmap"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3560 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3565 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3577 eval "$ac_cv_use_fontmap"
3578 if test "$no_cache" != 1; then
3579 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3582 if test "$wxUSE_FONTMAP" = yes; then
3583 echo "$ac_t""yes" 1>&6
3585 echo "$ac_t""no" 1>&6
3589 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3590 echo "configure:3591: checking for --enable-unicode" >&5
3592 # Check whether --enable-unicode or --disable-unicode was given.
3593 if test "${enable_unicode+set}" = set; then
3594 enableval
="$enable_unicode"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3599 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3604 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3616 eval "$ac_cv_use_unicode"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3621 if test "$wxUSE_UNICODE" = yes; then
3622 echo "$ac_t""yes" 1>&6
3624 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3629 echo "configure:3630: checking for --enable-wcsrtombs" >&5
3631 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3632 if test "${enable_wcsrtombs+set}" = set; then
3633 enableval
="$enable_wcsrtombs"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3638 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3643 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3655 eval "$ac_cv_use_wcsrtombs"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_WCSRTOMBS" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3668 echo "configure:3669: checking for --enable-wxprintfv" >&5
3670 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3671 if test "${enable_wxprintfv+set}" = set; then
3672 enableval
="$enable_wxprintfv"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3677 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3682 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3694 eval "$ac_cv_use_wxprintfv"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3707 echo "configure:3708: checking for --enable-std_iostreams" >&5
3709 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3710 if test "${enable_std_iostreams+set}" = set; then
3711 enableval
="$enable_std_iostreams"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3716 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3721 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3733 eval "$ac_cv_use_std_iostreams"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_STD_IOSTREAM" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3745 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3746 echo "configure:3747: checking for --enable-filesystem" >&5
3748 # Check whether --enable-filesystem or --disable-filesystem was given.
3749 if test "${enable_filesystem+set}" = set; then
3750 enableval
="$enable_filesystem"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3755 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3760 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3772 eval "$ac_cv_use_filesystem"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_FILESYSTEM" = yes; then
3778 echo "$ac_t""yes" 1>&6
3780 echo "$ac_t""no" 1>&6
3784 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3785 echo "configure:3786: checking for --enable-fs_inet" >&5
3787 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3788 if test "${enable_fs_inet+set}" = set; then
3789 enableval
="$enable_fs_inet"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3794 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3799 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3811 eval "$ac_cv_use_fs_inet"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_FS_INET" = yes; then
3817 echo "$ac_t""yes" 1>&6
3819 echo "$ac_t""no" 1>&6
3823 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3824 echo "configure:3825: checking for --enable-fs_zip" >&5
3826 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3827 if test "${enable_fs_zip+set}" = set; then
3828 enableval
="$enable_fs_zip"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3833 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3838 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3850 eval "$ac_cv_use_fs_zip"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_FS_ZIP" = yes; then
3856 echo "$ac_t""yes" 1>&6
3858 echo "$ac_t""no" 1>&6
3862 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3863 echo "configure:3864: checking for --enable-zipstream" >&5
3865 # Check whether --enable-zipstream or --disable-zipstream was given.
3866 if test "${enable_zipstream+set}" = set; then
3867 enableval
="$enable_zipstream"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3872 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3877 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x
; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3889 eval "$ac_cv_use_zipstream"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3894 if test "$wxUSE_ZIPSTREAM" = yes; then
3895 echo "$ac_t""yes" 1>&6
3897 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3903 echo "configure:3904: checking for --enable-catch_segvs" >&5
3905 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3906 if test "${enable_catch_segvs+set}" = set; then
3907 enableval
="$enable_catch_segvs"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3912 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3917 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3929 eval "$ac_cv_use_catch_segvs"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3941 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
3942 echo "configure:3943: checking for --enable-snglinst" >&5
3944 # Check whether --enable-snglinst or --disable-snglinst was given.
3945 if test "${enable_snglinst+set}" = set; then
3946 enableval
="$enable_snglinst"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
3951 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
3956 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
3968 eval "$ac_cv_use_snglinst"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
3974 echo "$ac_t""yes" 1>&6
3976 echo "$ac_t""no" 1>&6
3981 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
3982 echo "configure:3983: checking for --enable-mimetype" >&5
3984 # Check whether --enable-mimetype or --disable-mimetype was given.
3985 if test "${enable_mimetype+set}" = set; then
3986 enableval
="$enable_mimetype"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
3991 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
3996 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x
; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4008 eval "$ac_cv_use_mimetype"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_MIMETYPE" = yes; then
4014 echo "$ac_t""yes" 1>&6
4016 echo "$ac_t""no" 1>&6
4022 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4023 echo "configure:4024: checking for --enable-threads" >&5
4025 # Check whether --enable-threads or --disable-threads was given.
4026 if test "${enable_threads+set}" = set; then
4027 enableval
="$enable_threads"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_threads
='wxUSE_THREADS=yes'
4032 ac_cv_use_threads
='wxUSE_THREADS=no'
4037 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4049 eval "$ac_cv_use_threads"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_THREADS" = yes; then
4055 echo "$ac_t""yes" 1>&6
4057 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4062 echo "configure:4063: checking for --enable-serial" >&5
4064 # Check whether --enable-serial or --disable-serial was given.
4065 if test "${enable_serial+set}" = set; then
4066 enableval
="$enable_serial"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4071 ac_cv_use_serial
='wxUSE_SERIAL=no'
4076 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4088 eval "$ac_cv_use_serial"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_SERIAL" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4100 if test "$wxUSE_GUI" = "yes"; then
4104 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4105 echo "configure:4106: checking for --enable-docview" >&5
4107 # Check whether --enable-docview or --disable-docview was given.
4108 if test "${enable_docview+set}" = set; then
4109 enableval
="$enable_docview"
4111 if test "$enableval" = yes; then
4112 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4114 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4119 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x
; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4131 eval "$ac_cv_use_docview"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4137 echo "$ac_t""yes" 1>&6
4139 echo "$ac_t""no" 1>&6
4143 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4144 echo "configure:4145: checking for --enable-help" >&5
4146 # Check whether --enable-help or --disable-help was given.
4147 if test "${enable_help+set}" = set; then
4148 enableval
="$enable_help"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_help
='wxUSE_HELP=yes'
4153 ac_cv_use_help
='wxUSE_HELP=no'
4158 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4170 eval "$ac_cv_use_help"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_HELP" = yes; then
4176 echo "$ac_t""yes" 1>&6
4178 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-constraints" >&5
4185 # Check whether --enable-constraints or --disable-constraints was given.
4186 if test "${enable_constraints+set}" = set; then
4187 enableval
="$enable_constraints"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4192 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4197 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4209 eval "$ac_cv_use_constraints"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_CONSTRAINTS" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4221 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4222 echo "configure:4223: checking for --enable-printarch" >&5
4224 # Check whether --enable-printarch or --disable-printarch was given.
4225 if test "${enable_printarch+set}" = set; then
4226 enableval
="$enable_printarch"
4228 if test "$enableval" = yes; then
4229 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4231 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4236 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x
; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4248 eval "$ac_cv_use_printarch"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4254 echo "$ac_t""yes" 1>&6
4256 echo "$ac_t""no" 1>&6
4260 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4261 echo "configure:4262: checking for --enable-mdi" >&5
4263 # Check whether --enable-mdi or --disable-mdi was given.
4264 if test "${enable_mdi+set}" = set; then
4265 enableval
="$enable_mdi"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4270 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4275 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4287 eval "$ac_cv_use_mdi"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4293 echo "$ac_t""yes" 1>&6
4295 echo "$ac_t""no" 1>&6
4299 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4300 echo "configure:4301: checking for --enable-loggui" >&5
4302 # Check whether --enable-loggui or --disable-loggui was given.
4303 if test "${enable_loggui+set}" = set; then
4304 enableval
="$enable_loggui"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4309 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4314 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4326 eval "$ac_cv_use_loggui"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_LOGGUI" = yes; then
4332 echo "$ac_t""yes" 1>&6
4334 echo "$ac_t""no" 1>&6
4338 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4339 echo "configure:4340: checking for --enable-logwin" >&5
4341 # Check whether --enable-logwin or --disable-logwin was given.
4342 if test "${enable_logwin+set}" = set; then
4343 enableval
="$enable_logwin"
4345 if test "$enableval" = yes; then
4346 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4348 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4353 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x
; then
4355 eval "DEFAULT_$LINE"
4360 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4365 eval "$ac_cv_use_logwin"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4370 if test "$wxUSE_LOGWINDOW" = yes; then
4371 echo "$ac_t""yes" 1>&6
4373 echo "$ac_t""no" 1>&6
4378 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4379 echo "configure:4380: checking for --enable-postscript" >&5
4381 # Check whether --enable-postscript or --disable-postscript was given.
4382 if test "${enable_postscript+set}" = set; then
4383 enableval
="$enable_postscript"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4388 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4393 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4405 eval "$ac_cv_use_postscript"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_POSTSCRIPT" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4420 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4421 echo "configure:4422: checking for --enable-prologio" >&5
4423 # Check whether --enable-prologio or --disable-prologio was given.
4424 if test "${enable_prologio+set}" = set; then
4425 enableval
="$enable_prologio"
4427 if test "$enableval" = yes; then
4428 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4430 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4435 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x
; then
4437 eval "DEFAULT_$LINE"
4442 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4447 eval "$ac_cv_use_prologio"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_PROLOGIO" = yes; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4459 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4460 echo "configure:4461: checking for --enable-resources" >&5
4462 # Check whether --enable-resources or --disable-resources was given.
4463 if test "${enable_resources+set}" = set; then
4464 enableval
="$enable_resources"
4466 if test "$enableval" = yes; then
4467 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4469 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4474 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4486 eval "$ac_cv_use_resources"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_RESOURCES" = yes; then
4492 echo "$ac_t""yes" 1>&6
4494 echo "$ac_t""no" 1>&6
4499 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4500 echo "configure:4501: checking for --enable-xresources" >&5
4502 # Check whether --enable-xresources or --disable-xresources was given.
4503 if test "${enable_xresources+set}" = set; then
4504 enableval
="$enable_xresources"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4509 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4514 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x
; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4526 eval "$ac_cv_use_xresources"
4527 if test "$no_cache" != 1; then
4528 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4531 if test "$wxUSE_X_RESOURCES" = yes; then
4532 echo "$ac_t""yes" 1>&6
4534 echo "$ac_t""no" 1>&6
4540 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4541 echo "configure:4542: checking for --enable-clipboard" >&5
4543 # Check whether --enable-clipboard or --disable-clipboard was given.
4544 if test "${enable_clipboard+set}" = set; then
4545 enableval
="$enable_clipboard"
4547 if test "$enableval" = yes; then
4548 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4550 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4555 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x
; then
4557 eval "DEFAULT_$LINE"
4562 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4567 eval "$ac_cv_use_clipboard"
4568 if test "$no_cache" != 1; then
4569 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4572 if test "$wxUSE_CLIPBOARD" = yes; then
4573 echo "$ac_t""yes" 1>&6
4575 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-dnd" >&5
4582 # Check whether --enable-dnd or --disable-dnd was given.
4583 if test "${enable_dnd+set}" = set; then
4584 enableval
="$enable_dnd"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4589 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4594 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4606 eval "$ac_cv_use_dnd"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4618 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4619 echo "configure:4620: checking for --enable-metafile" >&5
4621 # Check whether --enable-metafile or --disable-metafile was given.
4622 if test "${enable_metafile+set}" = set; then
4623 enableval
="$enable_metafile"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4628 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4633 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4645 eval "$ac_cv_use_metafile"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_METAFILE" = yes; then
4651 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4658 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4659 echo "configure:4660: checking for --enable-wxtree" >&5
4661 # Check whether --enable-wxtree or --disable-wxtree was given.
4662 if test "${enable_wxtree+set}" = set; then
4663 enableval
="$enable_wxtree"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4668 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4673 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4685 eval "$ac_cv_use_wxtree"
4686 if test "$no_cache" != 1; then
4687 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4690 if test "$wxUSE_WXTREE" = yes; then
4691 echo "$ac_t""yes" 1>&6
4693 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4700 echo "configure:4701: checking for --enable-controls" >&5
4702 # Check whether --enable-controls or --disable-controls was given.
4703 if test "${enable_controls+set}" = set; then
4704 enableval
="$enable_controls"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4709 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4714 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4726 eval "$ac_cv_use_controls"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_CONTROLS" = yes; then
4732 echo "$ac_t""yes" 1>&6
4734 echo "$ac_t""no" 1>&6
4738 if test "$wxUSE_CONTROLS" = "yes"; then
4739 DEFAULT_wxUSE_ACCEL
=yes
4740 DEFAULT_wxUSE_BMPBUTTON
=yes
4741 DEFAULT_wxUSE_BUTTON
=yes
4742 DEFAULT_wxUSE_CALCTRL
=no
4743 DEFAULT_wxUSE_CARET
=yes
4744 DEFAULT_wxUSE_COMBOBOX
=yes
4745 DEFAULT_wxUSE_CHECKBOX
=yes
4746 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4747 DEFAULT_wxUSE_CHOICE
=yes
4748 DEFAULT_wxUSE_GAUGE
=yes
4749 DEFAULT_wxUSE_GRID
=yes
4750 DEFAULT_wxUSE_NEW_GRID
=yes
4751 DEFAULT_wxUSE_IMAGLIST
=yes
4752 DEFAULT_wxUSE_LISTBOX
=yes
4753 DEFAULT_wxUSE_LISTCTRL
=yes
4754 DEFAULT_wxUSE_NOTEBOOK
=yes
4755 DEFAULT_wxUSE_RADIOBOX
=yes
4756 DEFAULT_wxUSE_RADIOBTN
=yes
4757 DEFAULT_wxUSE_SASH
=yes
4758 DEFAULT_wxUSE_SCROLLBAR
=yes
4759 DEFAULT_wxUSE_SLIDER
=yes
4760 DEFAULT_wxUSE_SPINBTN
=yes
4761 DEFAULT_wxUSE_SPINCTRL
=yes
4762 DEFAULT_wxUSE_SPLITTER
=yes
4763 DEFAULT_wxUSE_STATBMP
=yes
4764 DEFAULT_wxUSE_STATBOX
=yes
4765 DEFAULT_wxUSE_STATLINE
=yes
4766 DEFAULT_wxUSE_STATUSBAR
=yes
4767 DEFAULT_wxUSE_TAB_DIALOG
=yes
4768 DEFAULT_wxUSE_TOGGLEBTN
=yes
4769 DEFAULT_wxUSE_TOOLBAR
=yes
4770 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4771 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4772 DEFAULT_wxUSE_TOOLTIPS
=yes
4773 DEFAULT_wxUSE_TREECTRL
=yes
4774 elif test "$wxUSE_CONTROLS" = "no"; then
4775 DEFAULT_wxUSE_ACCEL
=no
4776 DEFAULT_wxUSE_BMPBUTTON
=no
4777 DEFAULT_wxUSE_BUTTON
=no
4778 DEFAULT_wxUSE_CALCTRL
=no
4779 DEFAULT_wxUSE_CARET
=no
4780 DEFAULT_wxUSE_COMBOBOX
=no
4781 DEFAULT_wxUSE_CHECKBOX
=no
4782 DEFAULT_wxUSE_CHECKLISTBOX
=no
4783 DEFAULT_wxUSE_CHOICE
=no
4784 DEFAULT_wxUSE_GAUGE
=no
4785 DEFAULT_wxUSE_GRID
=no
4786 DEFAULT_wxUSE_NEW_GRID
=no
4787 DEFAULT_wxUSE_IMAGLIST
=no
4788 DEFAULT_wxUSE_LISTBOX
=no
4789 DEFAULT_wxUSE_LISTCTRL
=no
4790 DEFAULT_wxUSE_NOTEBOOK
=no
4791 DEFAULT_wxUSE_RADIOBOX
=no
4792 DEFAULT_wxUSE_RADIOBTN
=no
4793 DEFAULT_wxUSE_SASH
=no
4794 DEFAULT_wxUSE_SCROLLBAR
=no
4795 DEFAULT_wxUSE_SLIDER
=no
4796 DEFAULT_wxUSE_SPINBTN
=no
4797 DEFAULT_wxUSE_SPINCTRL
=no
4798 DEFAULT_wxUSE_SPLITTER
=no
4799 DEFAULT_wxUSE_STATBMP
=no
4800 DEFAULT_wxUSE_STATBOX
=no
4801 DEFAULT_wxUSE_STATLINE
=no
4802 DEFAULT_wxUSE_STATUSBAR
=no
4803 DEFAULT_wxUSE_TAB_DIALOG
=no
4804 DEFAULT_wxUSE_TOGGLEBTN
=no
4805 DEFAULT_wxUSE_TOOLBAR
=no
4806 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4807 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4808 DEFAULT_wxUSE_TOOLTIPS
=no
4809 DEFAULT_wxUSE_TREECTRL
=no
4813 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4814 echo "configure:4815: checking for --enable-accel" >&5
4816 # Check whether --enable-accel or --disable-accel was given.
4817 if test "${enable_accel+set}" = set; then
4818 enableval
="$enable_accel"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4823 ac_cv_use_accel
='wxUSE_ACCEL=no'
4828 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x
; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4840 eval "$ac_cv_use_accel"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_ACCEL" = yes; then
4846 echo "$ac_t""yes" 1>&6
4848 echo "$ac_t""no" 1>&6
4852 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4853 echo "configure:4854: checking for --enable-button" >&5
4855 # Check whether --enable-button or --disable-button was given.
4856 if test "${enable_button+set}" = set; then
4857 enableval
="$enable_button"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_button
='wxUSE_BUTTON=yes'
4862 ac_cv_use_button
='wxUSE_BUTTON=no'
4867 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x
; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4879 eval "$ac_cv_use_button"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_BUTTON" = yes; then
4885 echo "$ac_t""yes" 1>&6
4887 echo "$ac_t""no" 1>&6
4891 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4892 echo "configure:4893: checking for --enable-bmpbutton" >&5
4894 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4895 if test "${enable_bmpbutton+set}" = set; then
4896 enableval
="$enable_bmpbutton"
4898 if test "$enableval" = yes; then
4899 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4901 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4906 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x
; then
4908 eval "DEFAULT_$LINE"
4913 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4918 eval "$ac_cv_use_bmpbutton"
4919 if test "$no_cache" != 1; then
4920 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4923 if test "$wxUSE_BMPBUTTON" = yes; then
4924 echo "$ac_t""yes" 1>&6
4926 echo "$ac_t""no" 1>&6
4930 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
4931 echo "configure:4932: checking for --enable-calendar" >&5
4933 # Check whether --enable-calendar or --disable-calendar was given.
4934 if test "${enable_calendar+set}" = set; then
4935 enableval
="$enable_calendar"
4937 if test "$enableval" = yes; then
4938 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
4940 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
4945 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x
; then
4947 eval "DEFAULT_$LINE"
4952 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
4957 eval "$ac_cv_use_calendar"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_CALCTRL" = yes; then
4963 echo "$ac_t""yes" 1>&6
4965 echo "$ac_t""no" 1>&6
4969 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
4970 echo "configure:4971: checking for --enable-caret" >&5
4972 # Check whether --enable-caret or --disable-caret was given.
4973 if test "${enable_caret+set}" = set; then
4974 enableval
="$enable_caret"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_caret
='wxUSE_CARET=yes'
4979 ac_cv_use_caret
='wxUSE_CARET=no'
4984 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4996 eval "$ac_cv_use_caret"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_CARET" = yes; then
5002 echo "$ac_t""yes" 1>&6
5004 echo "$ac_t""no" 1>&6
5008 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5009 echo "configure:5010: checking for --enable-checkbox" >&5
5011 # Check whether --enable-checkbox or --disable-checkbox was given.
5012 if test "${enable_checkbox+set}" = set; then
5013 enableval
="$enable_checkbox"
5015 if test "$enableval" = yes; then
5016 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5018 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5023 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5024 if test "x$LINE" != x
; then
5025 eval "DEFAULT_$LINE"
5030 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5035 eval "$ac_cv_use_checkbox"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_CHECKBOX" = yes; then
5041 echo "$ac_t""yes" 1>&6
5043 echo "$ac_t""no" 1>&6
5047 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5048 echo "configure:5049: checking for --enable-checklst" >&5
5050 # Check whether --enable-checklst or --disable-checklst was given.
5051 if test "${enable_checklst+set}" = set; then
5052 enableval
="$enable_checklst"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5057 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5062 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5074 eval "$ac_cv_use_checklst"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_CHECKLST" = yes; then
5080 echo "$ac_t""yes" 1>&6
5082 echo "$ac_t""no" 1>&6
5086 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5087 echo "configure:5088: checking for --enable-choice" >&5
5089 # Check whether --enable-choice or --disable-choice was given.
5090 if test "${enable_choice+set}" = set; then
5091 enableval
="$enable_choice"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5096 ac_cv_use_choice
='wxUSE_CHOICE=no'
5101 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5113 eval "$ac_cv_use_choice"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5118 if test "$wxUSE_CHOICE" = yes; then
5119 echo "$ac_t""yes" 1>&6
5121 echo "$ac_t""no" 1>&6
5125 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5126 echo "configure:5127: checking for --enable-combobox" >&5
5128 # Check whether --enable-combobox or --disable-combobox was given.
5129 if test "${enable_combobox+set}" = set; then
5130 enableval
="$enable_combobox"
5132 if test "$enableval" = yes; then
5133 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5135 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5140 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5147 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5152 eval "$ac_cv_use_combobox"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_COMBOBOX" = yes; then
5158 echo "$ac_t""yes" 1>&6
5160 echo "$ac_t""no" 1>&6
5164 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5165 echo "configure:5166: checking for --enable-gauge" >&5
5167 # Check whether --enable-gauge or --disable-gauge was given.
5168 if test "${enable_gauge+set}" = set; then
5169 enableval
="$enable_gauge"
5171 if test "$enableval" = yes; then
5172 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5174 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5179 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x
; then
5181 eval "DEFAULT_$LINE"
5186 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5191 eval "$ac_cv_use_gauge"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_GAUGE" = yes; then
5197 echo "$ac_t""yes" 1>&6
5199 echo "$ac_t""no" 1>&6
5203 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5204 echo "configure:5205: checking for --enable-grid" >&5
5206 # Check whether --enable-grid or --disable-grid was given.
5207 if test "${enable_grid+set}" = set; then
5208 enableval
="$enable_grid"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_grid
='wxUSE_GRID=yes'
5213 ac_cv_use_grid
='wxUSE_GRID=no'
5218 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5230 eval "$ac_cv_use_grid"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5235 if test "$wxUSE_GRID" = yes; then
5236 echo "$ac_t""yes" 1>&6
5238 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5243 echo "configure:5244: checking for --enable-newgrid" >&5
5245 # Check whether --enable-newgrid or --disable-newgrid was given.
5246 if test "${enable_newgrid+set}" = set; then
5247 enableval
="$enable_newgrid"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5252 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5257 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5269 eval "$ac_cv_use_newgrid"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_NEW_GRID" = yes; then
5275 echo "$ac_t""yes" 1>&6
5277 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5282 echo "configure:5283: checking for --enable-imaglist" >&5
5284 # Check whether --enable-imaglist or --disable-imaglist was given.
5285 if test "${enable_imaglist+set}" = set; then
5286 enableval
="$enable_imaglist"
5288 if test "$enableval" = yes; then
5289 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5291 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5296 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5308 eval "$ac_cv_use_imaglist"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_IMAGLIST" = yes; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5320 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5321 echo "configure:5322: checking for --enable-listbox" >&5
5323 # Check whether --enable-listbox or --disable-listbox was given.
5324 if test "${enable_listbox+set}" = set; then
5325 enableval
="$enable_listbox"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5330 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5335 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5347 eval "$ac_cv_use_listbox"
5348 if test "$no_cache" != 1; then
5349 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5352 if test "$wxUSE_LISTBOX" = yes; then
5353 echo "$ac_t""yes" 1>&6
5355 echo "$ac_t""no" 1>&6
5359 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5360 echo "configure:5361: checking for --enable-listctrl" >&5
5362 # Check whether --enable-listctrl or --disable-listctrl was given.
5363 if test "${enable_listctrl+set}" = set; then
5364 enableval
="$enable_listctrl"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5369 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5374 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5386 eval "$ac_cv_use_listctrl"
5387 if test "$no_cache" != 1; then
5388 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5391 if test "$wxUSE_LISTCTRL" = yes; then
5392 echo "$ac_t""yes" 1>&6
5394 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --enable-notebook" >&5
5401 # Check whether --enable-notebook or --disable-notebook was given.
5402 if test "${enable_notebook+set}" = set; then
5403 enableval
="$enable_notebook"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5408 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5413 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5425 eval "$ac_cv_use_notebook"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_NOTEBOOK" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5438 echo "configure:5439: checking for --enable-radiobox" >&5
5440 # Check whether --enable-radiobox or --disable-radiobox was given.
5441 if test "${enable_radiobox+set}" = set; then
5442 enableval
="$enable_radiobox"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5447 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5452 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5464 eval "$ac_cv_use_radiobox"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_RADIOBOX" = yes; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5477 echo "configure:5478: checking for --enable-radiobtn" >&5
5479 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5480 if test "${enable_radiobtn+set}" = set; then
5481 enableval
="$enable_radiobtn"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5486 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5491 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5503 eval "$ac_cv_use_radiobtn"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_RADIOBTN" = yes; then
5509 echo "$ac_t""yes" 1>&6
5511 echo "$ac_t""no" 1>&6
5515 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5516 echo "configure:5517: checking for --enable-sash" >&5
5518 # Check whether --enable-sash or --disable-sash was given.
5519 if test "${enable_sash+set}" = set; then
5520 enableval
="$enable_sash"
5522 if test "$enableval" = yes; then
5523 ac_cv_use_sash
='wxUSE_SASH=yes'
5525 ac_cv_use_sash
='wxUSE_SASH=no'
5530 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5531 if test "x$LINE" != x
; then
5532 eval "DEFAULT_$LINE"
5537 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5542 eval "$ac_cv_use_sash"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_SASH" = yes; then
5548 echo "$ac_t""yes" 1>&6
5550 echo "$ac_t""no" 1>&6
5554 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5555 echo "configure:5556: checking for --enable-scrollbar" >&5
5557 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5558 if test "${enable_scrollbar+set}" = set; then
5559 enableval
="$enable_scrollbar"
5561 if test "$enableval" = yes; then
5562 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5564 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5569 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5570 if test "x$LINE" != x
; then
5571 eval "DEFAULT_$LINE"
5576 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5581 eval "$ac_cv_use_scrollbar"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_SCROLLBAR" = yes; then
5587 echo "$ac_t""yes" 1>&6
5589 echo "$ac_t""no" 1>&6
5593 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5594 echo "configure:5595: checking for --enable-slider" >&5
5596 # Check whether --enable-slider or --disable-slider was given.
5597 if test "${enable_slider+set}" = set; then
5598 enableval
="$enable_slider"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5603 ac_cv_use_slider
='wxUSE_SLIDER=no'
5608 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x
; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5620 eval "$ac_cv_use_slider"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_SLIDER" = yes; then
5626 echo "$ac_t""yes" 1>&6
5628 echo "$ac_t""no" 1>&6
5632 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5633 echo "configure:5634: checking for --enable-spinbtn" >&5
5635 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5636 if test "${enable_spinbtn+set}" = set; then
5637 enableval
="$enable_spinbtn"
5639 if test "$enableval" = yes; then
5640 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5642 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5647 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x
; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5659 eval "$ac_cv_use_spinbtn"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5664 if test "$wxUSE_SPINBTN" = yes; then
5665 echo "$ac_t""yes" 1>&6
5667 echo "$ac_t""no" 1>&6
5671 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5672 echo "configure:5673: checking for --enable-spinctrl" >&5
5674 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5675 if test "${enable_spinctrl+set}" = set; then
5676 enableval
="$enable_spinctrl"
5678 if test "$enableval" = yes; then
5679 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5681 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5686 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x
; then
5688 eval "DEFAULT_$LINE"
5693 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5698 eval "$ac_cv_use_spinctrl"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_SPINCTRL" = yes; then
5704 echo "$ac_t""yes" 1>&6
5706 echo "$ac_t""no" 1>&6
5710 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5711 echo "configure:5712: checking for --enable-splitter" >&5
5713 # Check whether --enable-splitter or --disable-splitter was given.
5714 if test "${enable_splitter+set}" = set; then
5715 enableval
="$enable_splitter"
5717 if test "$enableval" = yes; then
5718 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5720 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5725 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x
; then
5727 eval "DEFAULT_$LINE"
5732 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5737 eval "$ac_cv_use_splitter"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_SPLITTER" = yes; then
5743 echo "$ac_t""yes" 1>&6
5745 echo "$ac_t""no" 1>&6
5749 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5750 echo "configure:5751: checking for --enable-statbmp" >&5
5752 # Check whether --enable-statbmp or --disable-statbmp was given.
5753 if test "${enable_statbmp+set}" = set; then
5754 enableval
="$enable_statbmp"
5756 if test "$enableval" = yes; then
5757 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5759 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5764 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x
; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5776 eval "$ac_cv_use_statbmp"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_STATBMP" = yes; then
5782 echo "$ac_t""yes" 1>&6
5784 echo "$ac_t""no" 1>&6
5788 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5789 echo "configure:5790: checking for --enable-statbox" >&5
5791 # Check whether --enable-statbox or --disable-statbox was given.
5792 if test "${enable_statbox+set}" = set; then
5793 enableval
="$enable_statbox"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5798 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5803 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5815 eval "$ac_cv_use_statbox"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_STATBOX" = yes; then
5821 echo "$ac_t""yes" 1>&6
5823 echo "$ac_t""no" 1>&6
5827 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5828 echo "configure:5829: checking for --enable-statline" >&5
5830 # Check whether --enable-statline or --disable-statline was given.
5831 if test "${enable_statline+set}" = set; then
5832 enableval
="$enable_statline"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5837 ac_cv_use_statline
='wxUSE_STATLINE=no'
5842 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5854 eval "$ac_cv_use_statline"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5859 if test "$wxUSE_STATLINE" = yes; then
5860 echo "$ac_t""yes" 1>&6
5862 echo "$ac_t""no" 1>&6
5866 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5867 echo "configure:5868: checking for --enable-stattext" >&5
5869 # Check whether --enable-stattext or --disable-stattext was given.
5870 if test "${enable_stattext+set}" = set; then
5871 enableval
="$enable_stattext"
5873 if test "$enableval" = yes; then
5874 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5876 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5881 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x
; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5893 eval "$ac_cv_use_stattext"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_STATTEXT" = yes; then
5899 echo "$ac_t""yes" 1>&6
5901 echo "$ac_t""no" 1>&6
5905 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5906 echo "configure:5907: checking for --enable-statusbar" >&5
5908 # Check whether --enable-statusbar or --disable-statusbar was given.
5909 if test "${enable_statusbar+set}" = set; then
5910 enableval
="$enable_statusbar"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5915 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5920 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5932 eval "$ac_cv_use_statusbar"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_STATUSBAR" = yes; then
5938 echo "$ac_t""yes" 1>&6
5940 echo "$ac_t""no" 1>&6
5944 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
5945 echo "configure:5946: checking for --enable-tabdialog" >&5
5947 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5948 if test "${enable_tabdialog+set}" = set; then
5949 enableval
="$enable_tabdialog"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5954 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5959 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5971 eval "$ac_cv_use_tabdialog"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5976 if test "$wxUSE_TABDIALOG" = yes; then
5977 echo "$ac_t""yes" 1>&6
5979 echo "$ac_t""no" 1>&6
5983 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
5984 echo "configure:5985: checking for --enable-textctrl" >&5
5986 # Check whether --enable-textctrl or --disable-textctrl was given.
5987 if test "${enable_textctrl+set}" = set; then
5988 enableval
="$enable_textctrl"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
5993 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
5998 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6010 eval "$ac_cv_use_textctrl"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_TEXTCTRL" = yes; then
6016 echo "$ac_t""yes" 1>&6
6018 echo "$ac_t""no" 1>&6
6022 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6023 echo "configure:6024: checking for --enable-togglebtn" >&5
6025 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6026 if test "${enable_togglebtn+set}" = set; then
6027 enableval
="$enable_togglebtn"
6029 if test "$enableval" = yes; then
6030 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6032 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6037 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6038 if test "x$LINE" != x
; then
6039 eval "DEFAULT_$LINE"
6044 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6049 eval "$ac_cv_use_togglebtn"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_TOGGLEBTN" = yes; then
6055 echo "$ac_t""yes" 1>&6
6057 echo "$ac_t""no" 1>&6
6061 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6062 echo "configure:6063: checking for --enable-toolbar" >&5
6064 # Check whether --enable-toolbar or --disable-toolbar was given.
6065 if test "${enable_toolbar+set}" = set; then
6066 enableval
="$enable_toolbar"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6071 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6076 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x
; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6088 eval "$ac_cv_use_toolbar"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_TOOLBAR" = yes; then
6094 echo "$ac_t""yes" 1>&6
6096 echo "$ac_t""no" 1>&6
6100 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6101 echo "configure:6102: checking for --enable-tbarnative" >&5
6103 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6104 if test "${enable_tbarnative+set}" = set; then
6105 enableval
="$enable_tbarnative"
6107 if test "$enableval" = yes; then
6108 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6110 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6115 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6116 if test "x$LINE" != x
; then
6117 eval "DEFAULT_$LINE"
6122 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6127 eval "$ac_cv_use_tbarnative"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6132 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6133 echo "$ac_t""yes" 1>&6
6135 echo "$ac_t""no" 1>&6
6139 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6140 echo "configure:6141: checking for --enable-tbarsmpl" >&5
6142 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6143 if test "${enable_tbarsmpl+set}" = set; then
6144 enableval
="$enable_tbarsmpl"
6146 if test "$enableval" = yes; then
6147 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6149 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6154 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6155 if test "x$LINE" != x
; then
6156 eval "DEFAULT_$LINE"
6161 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6166 eval "$ac_cv_use_tbarsmpl"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6172 echo "$ac_t""yes" 1>&6
6174 echo "$ac_t""no" 1>&6
6178 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6179 echo "configure:6180: checking for --enable-treectrl" >&5
6181 # Check whether --enable-treectrl or --disable-treectrl was given.
6182 if test "${enable_treectrl+set}" = set; then
6183 enableval
="$enable_treectrl"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6188 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6193 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6205 eval "$ac_cv_use_treectrl"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_TREECTRL" = yes; then
6211 echo "$ac_t""yes" 1>&6
6213 echo "$ac_t""no" 1>&6
6219 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6220 echo "configure:6221: checking for --enable-commondlg" >&5
6222 # Check whether --enable-commondlg or --disable-commondlg was given.
6223 if test "${enable_commondlg+set}" = set; then
6224 enableval
="$enable_commondlg"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6229 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6234 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6246 eval "$ac_cv_use_commondlg"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_COMMONDLGS" = yes; then
6252 echo "$ac_t""yes" 1>&6
6254 echo "$ac_t""no" 1>&6
6258 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6259 echo "configure:6260: checking for --enable-choicedlg" >&5
6261 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6262 if test "${enable_choicedlg+set}" = set; then
6263 enableval
="$enable_choicedlg"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6268 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6273 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6285 eval "$ac_cv_use_choicedlg"
6286 if test "$no_cache" != 1; then
6287 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6290 if test "$wxUSE_CHOICEDLG" = yes; then
6291 echo "$ac_t""yes" 1>&6
6293 echo "$ac_t""no" 1>&6
6297 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6298 echo "configure:6299: checking for --enable-coldlg" >&5
6300 # Check whether --enable-coldlg or --disable-coldlg was given.
6301 if test "${enable_coldlg+set}" = set; then
6302 enableval
="$enable_coldlg"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6307 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6312 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6324 eval "$ac_cv_use_coldlg"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_COLOURDLG" = yes; then
6330 echo "$ac_t""yes" 1>&6
6332 echo "$ac_t""no" 1>&6
6336 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6337 echo "configure:6338: checking for --enable-filedlg" >&5
6339 # Check whether --enable-filedlg or --disable-filedlg was given.
6340 if test "${enable_filedlg+set}" = set; then
6341 enableval
="$enable_filedlg"
6343 if test "$enableval" = yes; then
6344 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6346 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6351 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x
; then
6353 eval "DEFAULT_$LINE"
6358 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6363 eval "$ac_cv_use_filedlg"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_FILEDLG" = yes; then
6369 echo "$ac_t""yes" 1>&6
6371 echo "$ac_t""no" 1>&6
6375 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6376 echo "configure:6377: checking for --enable-fontdlg" >&5
6378 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6379 if test "${enable_fontdlg+set}" = set; then
6380 enableval
="$enable_fontdlg"
6382 if test "$enableval" = yes; then
6383 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6385 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6390 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x
; then
6392 eval "DEFAULT_$LINE"
6397 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6402 eval "$ac_cv_use_fontdlg"
6403 if test "$no_cache" != 1; then
6404 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6407 if test "$wxUSE_FONTDLG" = yes; then
6408 echo "$ac_t""yes" 1>&6
6410 echo "$ac_t""no" 1>&6
6414 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6415 echo "configure:6416: checking for --enable-dirdlg" >&5
6417 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6418 if test "${enable_dirdlg+set}" = set; then
6419 enableval
="$enable_dirdlg"
6421 if test "$enableval" = yes; then
6422 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6424 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6429 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6441 eval "$ac_cv_use_dirdlg"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_DIRDLG" = yes; then
6447 echo "$ac_t""yes" 1>&6
6449 echo "$ac_t""no" 1>&6
6453 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6454 echo "configure:6455: checking for --enable-msgdlg" >&5
6456 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6457 if test "${enable_msgdlg+set}" = set; then
6458 enableval
="$enable_msgdlg"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6463 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6468 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6480 eval "$ac_cv_use_msgdlg"
6481 if test "$no_cache" != 1; then
6482 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6485 if test "$wxUSE_MSGDLG" = yes; then
6486 echo "$ac_t""yes" 1>&6
6488 echo "$ac_t""no" 1>&6
6492 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6493 echo "configure:6494: checking for --enable-numberdlg" >&5
6495 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6496 if test "${enable_numberdlg+set}" = set; then
6497 enableval
="$enable_numberdlg"
6499 if test "$enableval" = yes; then
6500 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6502 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6507 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6508 if test "x$LINE" != x
; then
6509 eval "DEFAULT_$LINE"
6514 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6519 eval "$ac_cv_use_numberdlg"
6520 if test "$no_cache" != 1; then
6521 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6524 if test "$wxUSE_NUMBERDLG" = yes; then
6525 echo "$ac_t""yes" 1>&6
6527 echo "$ac_t""no" 1>&6
6531 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6532 echo "configure:6533: checking for --enable-textdlg" >&5
6534 # Check whether --enable-textdlg or --disable-textdlg was given.
6535 if test "${enable_textdlg+set}" = set; then
6536 enableval
="$enable_textdlg"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6541 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6546 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x
; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6558 eval "$ac_cv_use_textdlg"
6559 if test "$no_cache" != 1; then
6560 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6563 if test "$wxUSE_TEXTDLG" = yes; then
6564 echo "$ac_t""yes" 1>&6
6566 echo "$ac_t""no" 1>&6
6570 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6571 echo "configure:6572: checking for --enable-tipdlg" >&5
6573 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6574 if test "${enable_tipdlg+set}" = set; then
6575 enableval
="$enable_tipdlg"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6580 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6585 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x
; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6597 eval "$ac_cv_use_tipdlg"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6602 if test "$wxUSE_STARTUP_TIPS" = yes; then
6603 echo "$ac_t""yes" 1>&6
6605 echo "$ac_t""no" 1>&6
6609 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6610 echo "configure:6611: checking for --enable-progressdlg" >&5
6612 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6613 if test "${enable_progressdlg+set}" = set; then
6614 enableval
="$enable_progressdlg"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6619 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6624 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6636 eval "$ac_cv_use_progressdlg"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_PROGRESSDLG" = yes; then
6642 echo "$ac_t""yes" 1>&6
6644 echo "$ac_t""no" 1>&6
6648 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6649 echo "configure:6650: checking for --enable-menus" >&5
6651 # Check whether --enable-menus or --disable-menus was given.
6652 if test "${enable_menus+set}" = set; then
6653 enableval
="$enable_menus"
6655 if test "$enableval" = yes; then
6656 ac_cv_use_menus
='wxUSE_MENUS=yes'
6658 ac_cv_use_menus
='wxUSE_MENUS=no'
6663 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x
; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6675 eval "$ac_cv_use_menus"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_MENUS" = yes; then
6681 echo "$ac_t""yes" 1>&6
6683 echo "$ac_t""no" 1>&6
6687 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6688 echo "configure:6689: checking for --enable-miniframe" >&5
6690 # Check whether --enable-miniframe or --disable-miniframe was given.
6691 if test "${enable_miniframe+set}" = set; then
6692 enableval
="$enable_miniframe"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6697 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6702 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6714 eval "$ac_cv_use_miniframe"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_MINIFRAME" = yes; then
6720 echo "$ac_t""yes" 1>&6
6722 echo "$ac_t""no" 1>&6
6726 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6727 echo "configure:6728: checking for --enable-html" >&5
6729 # Check whether --enable-html or --disable-html was given.
6730 if test "${enable_html+set}" = set; then
6731 enableval
="$enable_html"
6733 if test "$enableval" = yes; then
6734 ac_cv_use_html
='wxUSE_HTML=yes'
6736 ac_cv_use_html
='wxUSE_HTML=no'
6741 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x
; then
6743 eval "DEFAULT_$LINE"
6748 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6753 eval "$ac_cv_use_html"
6754 if test "$no_cache" != 1; then
6755 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6758 if test "$wxUSE_HTML" = yes; then
6759 echo "$ac_t""yes" 1>&6
6761 echo "$ac_t""no" 1>&6
6765 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6766 echo "configure:6767: checking for --enable-tooltips" >&5
6768 # Check whether --enable-tooltips or --disable-tooltips was given.
6769 if test "${enable_tooltips+set}" = set; then
6770 enableval
="$enable_tooltips"
6772 if test "$enableval" = yes; then
6773 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6775 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6780 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x
; then
6782 eval "DEFAULT_$LINE"
6787 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6792 eval "$ac_cv_use_tooltips"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6797 if test "$wxUSE_TOOLTIPS" = yes; then
6798 echo "$ac_t""yes" 1>&6
6800 echo "$ac_t""no" 1>&6
6804 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6805 echo "configure:6806: checking for --enable-splines" >&5
6807 # Check whether --enable-splines or --disable-splines was given.
6808 if test "${enable_splines+set}" = set; then
6809 enableval
="$enable_splines"
6811 if test "$enableval" = yes; then
6812 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6814 ac_cv_use_splines
='wxUSE_SPLINES=no'
6819 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x
; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6831 eval "$ac_cv_use_splines"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6836 if test "$wxUSE_SPLINES" = yes; then
6837 echo "$ac_t""yes" 1>&6
6839 echo "$ac_t""no" 1>&6
6843 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6844 echo "configure:6845: checking for --enable-validators" >&5
6846 # Check whether --enable-validators or --disable-validators was given.
6847 if test "${enable_validators+set}" = set; then
6848 enableval
="$enable_validators"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6853 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6858 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x
; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6870 eval "$ac_cv_use_validators"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6875 if test "$wxUSE_VALIDATORS" = yes; then
6876 echo "$ac_t""yes" 1>&6
6878 echo "$ac_t""no" 1>&6
6882 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6883 echo "configure:6884: checking for --enable-busyinfo" >&5
6885 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6886 if test "${enable_busyinfo+set}" = set; then
6887 enableval
="$enable_busyinfo"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
6892 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
6897 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6909 eval "$ac_cv_use_busyinfo"
6910 if test "$no_cache" != 1; then
6911 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6914 if test "$wxUSE_BUSYINFO" = yes; then
6915 echo "$ac_t""yes" 1>&6
6917 echo "$ac_t""no" 1>&6
6921 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
6922 echo "configure:6923: checking for --enable-joystick" >&5
6924 # Check whether --enable-joystick or --disable-joystick was given.
6925 if test "${enable_joystick+set}" = set; then
6926 enableval
="$enable_joystick"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
6931 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
6936 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
6948 eval "$ac_cv_use_joystick"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_JOYSTICK" = yes; then
6954 echo "$ac_t""yes" 1>&6
6956 echo "$ac_t""no" 1>&6
6960 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
6961 echo "configure:6962: checking for --enable-metafile" >&5
6963 # Check whether --enable-metafile or --disable-metafile was given.
6964 if test "${enable_metafile+set}" = set; then
6965 enableval
="$enable_metafile"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6970 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6975 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6987 eval "$ac_cv_use_metafile"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_METAFILE" = yes; then
6993 echo "$ac_t""yes" 1>&6
6995 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-image" >&5
7004 # Check whether --enable-image or --disable-image was given.
7005 if test "${enable_image+set}" = set; then
7006 enableval
="$enable_image"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_image
='wxUSE_IMAGE=yes'
7011 ac_cv_use_image
='wxUSE_IMAGE=no'
7016 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7028 eval "$ac_cv_use_image"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_IMAGE" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-gif" >&5
7043 # Check whether --enable-gif or --disable-gif was given.
7044 if test "${enable_gif+set}" = set; then
7045 enableval
="$enable_gif"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_gif
='wxUSE_GIF=yes'
7050 ac_cv_use_gif
='wxUSE_GIF=no'
7055 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7067 eval "$ac_cv_use_gif"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_GIF" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-pcx" >&5
7082 # Check whether --enable-pcx or --disable-pcx was given.
7083 if test "${enable_pcx+set}" = set; then
7084 enableval
="$enable_pcx"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_pcx
='wxUSE_PCX=yes'
7089 ac_cv_use_pcx
='wxUSE_PCX=no'
7094 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7106 eval "$ac_cv_use_pcx"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_PCX" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-pnm" >&5
7121 # Check whether --enable-pnm or --disable-pnm was given.
7122 if test "${enable_pnm+set}" = set; then
7123 enableval
="$enable_pnm"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_pnm
='wxUSE_PNM=yes'
7128 ac_cv_use_pnm
='wxUSE_PNM=no'
7133 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7145 eval "$ac_cv_use_pnm"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_PNM" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7157 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7158 echo "configure:7159: checking for --enable-pnm" >&5
7160 # Check whether --enable-pnm or --disable-pnm was given.
7161 if test "${enable_pnm+set}" = set; then
7162 enableval
="$enable_pnm"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_pnm
='wxUSE_XPM=yes'
7167 ac_cv_use_pnm
='wxUSE_XPM=no'
7172 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x
; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7184 eval "$ac_cv_use_pnm"
7185 if test "$no_cache" != 1; then
7186 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7189 if test "$wxUSE_XPM" = yes; then
7190 echo "$ac_t""yes" 1>&6
7192 echo "$ac_t""no" 1>&6
7199 echo "saving argument cache $wx_arg_cache_file"
7200 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7204 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7205 echo "configure:7206: checking for toolkit" >&5
7207 if test "$wxUSE_GUI" = "yes"; then
7209 if test "$USE_BEOS" = 1; then
7210 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7213 if test "$TOOLKIT_GIVEN" = 1; then
7214 for toolkit
in `echo $ALL_TOOLKITS`; do
7216 eval "value=\$${var}"
7217 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7220 for toolkit
in `echo $ALL_TOOLKITS`; do
7221 if test "$has_toolkit_in_cache" != 1; then
7222 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7224 var
=DEFAULT_wxUSE_
$toolkit
7226 eval "wxUSE_$toolkit=\$${var}"
7230 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7234 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7235 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7244 case "$NUM_TOOLKITS" in
7248 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7251 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7254 for toolkit
in `echo $ALL_TOOLKITS`; do
7256 eval "value=\$${var}"
7257 if test "x$value" != x
; then
7258 cache_var
=CACHE_
$toolkit
7259 eval "cache=\$${cache_var}"
7260 if test "$cache" = 1; then
7261 echo "$var=$value" >> ${wx_arg_cache_file}
7263 if test "$value" = 1; then
7264 echo "$ac_t""`echo $toolkit | tr [A-Z] [a-z]`" 1>&6
7271 echo "$ac_t""base only" 1>&6
7275 cat > confcache
<<\EOF
7276 # This file is a shell script that caches the results of configure
7277 # tests run on this system so they can be shared between configure
7278 # scripts and configure runs. It is not useful on other systems.
7279 # If it contains results you don't want to keep, you may remove or edit it.
7281 # By default, configure uses ./config.cache as the cache file,
7282 # creating it if it does not exist already. You can give configure
7283 # the --cache-file=FILE option to use a different cache file; that is
7284 # what configure does when it calls configure scripts in
7285 # subdirectories, so they share the cache.
7286 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7287 # config.status only pays attention to the cache file if you give it the
7288 # --recheck option to rerun configure.
7291 # The following way of writing the cache mishandles newlines in values,
7292 # but we know of no workaround that is simple, portable, and efficient.
7293 # So, don't put newlines in cache variables' values.
7294 # Ultrix sh set writes to stderr and can't be redirected directly,
7295 # and sets the high bit in the cache file unless we assign to the vars.
7297 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7299 # `set' does not quote correctly, so add quotes (double-quote substitution
7300 # turns \\\\ into \\, and sed turns \\ into \).
7302 -e "s/'/'\\\\''/g" \
7303 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7306 # `set' quotes correctly as required by POSIX, so do not add quotes.
7307 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7310 if cmp -s $cache_file confcache
; then
7313 if test -w $cache_file; then
7314 echo "updating cache $cache_file"
7315 cat confcache
> $cache_file
7317 echo "not updating unwritable cache $cache_file"
7323 if test "$build" != "$host" ; then
7327 RANLIB
=$host_alias-ranlib
7328 DLLTOOL
=$host_alias-dlltool
7329 RESCOMP
=$host_alias-windres
7332 STRIP
=$host_alias-strip
7335 # Extract the first word of "gcc", so it can be a program name with args.
7336 set dummy gcc
; ac_word
=$2
7337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7338 echo "configure:7339: checking for $ac_word" >&5
7339 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7340 echo $ac_n "(cached) $ac_c" 1>&6
7342 if test -n "$CC"; then
7343 ac_cv_prog_CC
="$CC" # Let the user override the test.
7345 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7347 for ac_dir
in $ac_dummy; do
7348 test -z "$ac_dir" && ac_dir
=.
7349 if test -f $ac_dir/$ac_word; then
7358 if test -n "$CC"; then
7359 echo "$ac_t""$CC" 1>&6
7361 echo "$ac_t""no" 1>&6
7364 if test -z "$CC"; then
7365 # Extract the first word of "cc", so it can be a program name with args.
7366 set dummy cc
; ac_word
=$2
7367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7368 echo "configure:7369: checking for $ac_word" >&5
7369 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7370 echo $ac_n "(cached) $ac_c" 1>&6
7372 if test -n "$CC"; then
7373 ac_cv_prog_CC
="$CC" # Let the user override the test.
7375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7378 for ac_dir
in $ac_dummy; do
7379 test -z "$ac_dir" && ac_dir
=.
7380 if test -f $ac_dir/$ac_word; then
7381 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7382 ac_prog_rejected
=yes
7390 if test $ac_prog_rejected = yes; then
7391 # We found a bogon in the path, so make sure we never use it.
7392 set dummy
$ac_cv_prog_CC
7394 if test $# -gt 0; then
7395 # We chose a different compiler from the bogus one.
7396 # However, it has the same basename, so the bogon will be chosen
7397 # first if we set CC to just the basename; use the full file name.
7399 set dummy
"$ac_dir/$ac_word" "$@"
7407 if test -n "$CC"; then
7408 echo "$ac_t""$CC" 1>&6
7410 echo "$ac_t""no" 1>&6
7413 if test -z "$CC"; then
7414 case "`uname -s`" in
7416 # Extract the first word of "cl", so it can be a program name with args.
7417 set dummy cl
; ac_word
=$2
7418 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7419 echo "configure:7420: checking for $ac_word" >&5
7420 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7421 echo $ac_n "(cached) $ac_c" 1>&6
7423 if test -n "$CC"; then
7424 ac_cv_prog_CC
="$CC" # Let the user override the test.
7426 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7428 for ac_dir
in $ac_dummy; do
7429 test -z "$ac_dir" && ac_dir
=.
7430 if test -f $ac_dir/$ac_word; then
7439 if test -n "$CC"; then
7440 echo "$ac_t""$CC" 1>&6
7442 echo "$ac_t""no" 1>&6
7447 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7450 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7451 echo "configure:7452: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7455 ac_cpp
='$CPP $CPPFLAGS'
7456 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7457 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7458 cross_compiling
=$ac_cv_prog_cc_cross
7460 cat > conftest.
$ac_ext << EOF
7462 #line 7463 "configure"
7463 #include "confdefs.h"
7467 if { (eval echo configure
:7468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7468 ac_cv_prog_cc_works
=yes
7469 # If we can't run a trivial program, we are probably using a cross compiler.
7470 if (.
/conftest
; exit) 2>/dev
/null
; then
7471 ac_cv_prog_cc_cross
=no
7473 ac_cv_prog_cc_cross
=yes
7476 echo "configure: failed program was:" >&5
7477 cat conftest.
$ac_ext >&5
7478 ac_cv_prog_cc_works
=no
7482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7483 ac_cpp
='$CPP $CPPFLAGS'
7484 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7485 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7486 cross_compiling
=$ac_cv_prog_cc_cross
7488 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7489 if test $ac_cv_prog_cc_works = no
; then
7490 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7492 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7493 echo "configure:7494: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7494 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7495 cross_compiling
=$ac_cv_prog_cc_cross
7497 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7498 echo "configure:7499: checking whether we are using GNU C" >&5
7499 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7500 echo $ac_n "(cached) $ac_c" 1>&6
7502 cat > conftest.c
<<EOF
7507 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7514 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7516 if test $ac_cv_prog_gcc = yes; then
7522 ac_test_CFLAGS
="${CFLAGS+set}"
7523 ac_save_CFLAGS
="$CFLAGS"
7525 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7526 echo "configure:7527: checking whether ${CC-cc} accepts -g" >&5
7527 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7528 echo $ac_n "(cached) $ac_c" 1>&6
7530 echo 'void f(){}' > conftest.c
7531 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7540 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7541 if test "$ac_test_CFLAGS" = set; then
7542 CFLAGS
="$ac_save_CFLAGS"
7543 elif test $ac_cv_prog_cc_g = yes; then
7544 if test "$GCC" = yes; then
7550 if test "$GCC" = yes; then
7558 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7560 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7561 echo "configure:7562: checking how to run the C preprocessor" >&5
7562 # On Suns, sometimes $CPP names a directory.
7563 if test -n "$CPP" && test -d "$CPP"; then
7566 if test -z "$CPP"; then
7567 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7568 echo $ac_n "(cached) $ac_c" 1>&6
7570 # This must be in double quotes, not single quotes, because CPP may get
7571 # substituted into the Makefile and "${CC-cc}" will confuse make.
7573 # On the NeXT, cc -E runs the code through the compiler's parser,
7574 # not just through cpp.
7575 cat > conftest.
$ac_ext <<EOF
7576 #line 7577 "configure"
7577 #include "confdefs.h"
7581 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7582 { (eval echo configure
:7583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7583 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7584 if test -z "$ac_err"; then
7588 echo "configure: failed program was:" >&5
7589 cat conftest.
$ac_ext >&5
7591 CPP
="${CC-cc} -E -traditional-cpp"
7592 cat > conftest.
$ac_ext <<EOF
7593 #line 7594 "configure"
7594 #include "confdefs.h"
7598 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7599 { (eval echo configure
:7600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7600 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7601 if test -z "$ac_err"; then
7605 echo "configure: failed program was:" >&5
7606 cat conftest.
$ac_ext >&5
7608 CPP
="${CC-cc} -nologo -E"
7609 cat > conftest.
$ac_ext <<EOF
7610 #line 7611 "configure"
7611 #include "confdefs.h"
7615 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7616 { (eval echo configure
:7617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7617 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7618 if test -z "$ac_err"; then
7622 echo "configure: failed program was:" >&5
7623 cat conftest.
$ac_ext >&5
7632 ac_cv_prog_CPP
="$CPP"
7634 CPP
="$ac_cv_prog_CPP"
7636 ac_cv_prog_CPP
="$CPP"
7638 echo "$ac_t""$CPP" 1>&6
7641 if test $ac_cv_prog_gcc = yes; then
7642 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7643 echo "configure:7644: checking whether ${CC-cc} needs -traditional" >&5
7644 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6
7647 ac_pattern
="Autoconf.*'x'"
7648 cat > conftest.
$ac_ext <<EOF
7649 #line 7650 "configure"
7650 #include "confdefs.h"
7654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7655 egrep "$ac_pattern" >/dev
/null
2>&1; then
7657 ac_cv_prog_gcc_traditional
=yes
7660 ac_cv_prog_gcc_traditional
=no
7665 if test $ac_cv_prog_gcc_traditional = no
; then
7666 cat > conftest.
$ac_ext <<EOF
7667 #line 7668 "configure"
7668 #include "confdefs.h"
7672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7673 egrep "$ac_pattern" >/dev
/null
2>&1; then
7675 ac_cv_prog_gcc_traditional
=yes
7682 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7683 if test $ac_cv_prog_gcc_traditional = yes; then
7684 CC
="$CC -traditional"
7691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7692 ac_cpp
='$CXXCPP $CPPFLAGS'
7693 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7694 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7695 cross_compiling
=$ac_cv_prog_cxx_cross
7698 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7700 # Extract the first word of "$ac_prog", so it can be a program name with args.
7701 set dummy
$ac_prog; ac_word
=$2
7702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7703 echo "configure:7704: checking for $ac_word" >&5
7704 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7705 echo $ac_n "(cached) $ac_c" 1>&6
7707 if test -n "$CXX"; then
7708 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7710 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7712 for ac_dir
in $ac_dummy; do
7713 test -z "$ac_dir" && ac_dir
=.
7714 if test -f $ac_dir/$ac_word; then
7715 ac_cv_prog_CXX
="$ac_prog"
7722 CXX
="$ac_cv_prog_CXX"
7723 if test -n "$CXX"; then
7724 echo "$ac_t""$CXX" 1>&6
7726 echo "$ac_t""no" 1>&6
7729 test -n "$CXX" && break
7731 test -n "$CXX" || CXX
="gcc"
7734 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7735 echo "configure:7736: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7739 ac_cpp
='$CXXCPP $CPPFLAGS'
7740 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7741 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7742 cross_compiling
=$ac_cv_prog_cxx_cross
7744 cat > conftest.
$ac_ext << EOF
7746 #line 7747 "configure"
7747 #include "confdefs.h"
7749 int main(){return(0);}
7751 if { (eval echo configure
:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7752 ac_cv_prog_cxx_works
=yes
7753 # If we can't run a trivial program, we are probably using a cross compiler.
7754 if (.
/conftest
; exit) 2>/dev
/null
; then
7755 ac_cv_prog_cxx_cross
=no
7757 ac_cv_prog_cxx_cross
=yes
7760 echo "configure: failed program was:" >&5
7761 cat conftest.
$ac_ext >&5
7762 ac_cv_prog_cxx_works
=no
7766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7767 ac_cpp
='$CXXCPP $CPPFLAGS'
7768 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7769 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7770 cross_compiling
=$ac_cv_prog_cxx_cross
7772 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7773 if test $ac_cv_prog_cxx_works = no
; then
7774 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7776 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7777 echo "configure:7778: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7778 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7779 cross_compiling
=$ac_cv_prog_cxx_cross
7781 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7782 echo "configure:7783: checking whether we are using GNU C++" >&5
7783 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7784 echo $ac_n "(cached) $ac_c" 1>&6
7786 cat > conftest.C
<<EOF
7791 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7798 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7800 if test $ac_cv_prog_gxx = yes; then
7806 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7807 ac_save_CXXFLAGS
="$CXXFLAGS"
7809 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7810 echo "configure:7811: checking whether ${CXX-g++} accepts -g" >&5
7811 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7812 echo $ac_n "(cached) $ac_c" 1>&6
7814 echo 'void f(){}' > conftest.cc
7815 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7816 ac_cv_prog_cxx_g
=yes
7824 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7825 if test "$ac_test_CXXFLAGS" = set; then
7826 CXXFLAGS
="$ac_save_CXXFLAGS"
7827 elif test $ac_cv_prog_cxx_g = yes; then
7828 if test "$GXX" = yes; then
7834 if test "$GXX" = yes; then
7842 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7843 echo "configure:7844: checking how to run the C++ preprocessor" >&5
7844 if test -z "$CXXCPP"; then
7845 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7846 echo $ac_n "(cached) $ac_c" 1>&6
7849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7850 ac_cpp
='$CXXCPP $CPPFLAGS'
7851 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7852 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7853 cross_compiling
=$ac_cv_prog_cxx_cross
7854 CXXCPP
="${CXX-g++} -E"
7855 cat > conftest.
$ac_ext <<EOF
7856 #line 7857 "configure"
7857 #include "confdefs.h"
7860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7861 { (eval echo configure
:7862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7863 if test -z "$ac_err"; then
7867 echo "configure: failed program was:" >&5
7868 cat conftest.
$ac_ext >&5
7873 ac_cv_prog_CXXCPP
="$CXXCPP"
7875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7876 ac_cpp
='$CXXCPP $CPPFLAGS'
7877 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7878 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7879 cross_compiling
=$ac_cv_prog_cxx_cross
7882 CXXCPP
="$ac_cv_prog_CXXCPP"
7883 echo "$ac_t""$CXXCPP" 1>&6
7886 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
7889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7890 ac_cpp
='$CPP $CPPFLAGS'
7891 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7892 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7893 cross_compiling
=$ac_cv_prog_cc_cross
7896 # Extract the first word of "ranlib", so it can be a program name with args.
7897 set dummy ranlib
; ac_word
=$2
7898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7899 echo "configure:7900: checking for $ac_word" >&5
7900 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
7901 echo $ac_n "(cached) $ac_c" 1>&6
7903 if test -n "$RANLIB"; then
7904 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7906 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7908 for ac_dir
in $ac_dummy; do
7909 test -z "$ac_dir" && ac_dir
=.
7910 if test -f $ac_dir/$ac_word; then
7911 ac_cv_prog_RANLIB
="ranlib"
7916 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
7919 RANLIB
="$ac_cv_prog_RANLIB"
7920 if test -n "$RANLIB"; then
7921 echo "$ac_t""$RANLIB" 1>&6
7923 echo "$ac_t""no" 1>&6
7927 # Extract the first word of "ar", so it can be a program name with args.
7928 set dummy
ar; ac_word
=$2
7929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7930 echo "configure:7931: checking for $ac_word" >&5
7931 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7934 if test -n "$AR"; then
7935 ac_cv_prog_AR
="$AR" # Let the user override the test.
7937 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7939 for ac_dir
in $ac_dummy; do
7940 test -z "$ac_dir" && ac_dir
=.
7941 if test -f $ac_dir/$ac_word; then
7947 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
7951 if test -n "$AR"; then
7952 echo "$ac_t""$AR" 1>&6
7954 echo "$ac_t""no" 1>&6
7958 # Find a good install program. We prefer a C program (faster),
7959 # so one script is as good as another. But avoid the broken or
7960 # incompatible versions:
7961 # SysV /etc/install, /usr/sbin/install
7962 # SunOS /usr/etc/install
7963 # IRIX /sbin/install
7965 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7966 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7968 # ./install, which can be erroneously created by make from ./install.sh.
7969 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
7970 echo "configure:7971: checking for a BSD compatible install" >&5
7971 if test -z "$INSTALL"; then
7972 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7975 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
7976 for ac_dir
in $PATH; do
7977 # Account for people who put trailing slashes in PATH elements.
7979 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
7981 # OSF1 and SCO ODT 3.0 have their own names for install.
7982 # Don't use installbsd from OSF since it installs stuff as root
7984 for ac_prog
in ginstall scoinst
install; do
7985 if test -f $ac_dir/$ac_prog; then
7986 if test $ac_prog = install &&
7987 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
7988 # AIX install. It has an incompatible calling convention.
7991 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8002 if test "${ac_cv_path_install+set}" = set; then
8003 INSTALL
="$ac_cv_path_install"
8005 # As a last resort, use the slow shell script. We don't cache a
8006 # path for INSTALL within a source directory, because that will
8007 # break other packages using the cache if that directory is
8008 # removed, or if the path is relative.
8009 INSTALL
="$ac_install_sh"
8012 echo "$ac_t""$INSTALL" 1>&6
8014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8015 # It thinks the first close brace ends the variable substitution.
8016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8018 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8020 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8023 # Extract the first word of "strip", so it can be a program name with args.
8024 set dummy strip
; ac_word
=$2
8025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8026 echo "configure:8027: checking for $ac_word" >&5
8027 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8028 echo $ac_n "(cached) $ac_c" 1>&6
8030 if test -n "$STRIP"; then
8031 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8033 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8035 for ac_dir
in $ac_dummy; do
8036 test -z "$ac_dir" && ac_dir
=.
8037 if test -f $ac_dir/$ac_word; then
8038 ac_cv_prog_STRIP
="strip"
8043 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8046 STRIP
="$ac_cv_prog_STRIP"
8047 if test -n "$STRIP"; then
8048 echo "$ac_t""$STRIP" 1>&6
8050 echo "$ac_t""no" 1>&6
8054 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8055 echo "configure:8056: checking make for VPATH support" >&5
8056 cat - << EOF > confMake
8062 if test ! -d sub
; then
8065 echo dummy
> sub
/file
8066 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8068 rm -f sub
/file check final_file confMake
8070 if test "$RESULT" = 0; then
8071 echo "$ac_t""yes" 1>&6
8073 echo "$ac_t""no" 1>&6
8074 { echo "configure: error:
8075 You need a make-utility that is able to use the variable
8077 If your version of make does not support VPATH correctly,
8078 please install GNU-make (possibly as gmake), and start
8079 configure with the following command:
8080 export MAKE=gmake; ./configure for sh-type shells
8081 setenv MAKE gmake; ./configure for csh-type shells
8082 Also please do remember to use gmake in this case every time
8083 you are trying to compile.
8087 for ac_prog
in 'bison -y' byacc
8089 # Extract the first word of "$ac_prog", so it can be a program name with args.
8090 set dummy
$ac_prog; ac_word
=$2
8091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8092 echo "configure:8093: checking for $ac_word" >&5
8093 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8094 echo $ac_n "(cached) $ac_c" 1>&6
8096 if test -n "$YACC"; then
8097 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8099 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8101 for ac_dir
in $ac_dummy; do
8102 test -z "$ac_dir" && ac_dir
=.
8103 if test -f $ac_dir/$ac_word; then
8104 ac_cv_prog_YACC
="$ac_prog"
8111 YACC
="$ac_cv_prog_YACC"
8112 if test -n "$YACC"; then
8113 echo "$ac_t""$YACC" 1>&6
8115 echo "$ac_t""no" 1>&6
8118 test -n "$YACC" && break
8120 test -n "$YACC" || YACC
="yacc"
8123 # Extract the first word of "flex", so it can be a program name with args.
8124 set dummy flex
; ac_word
=$2
8125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8126 echo "configure:8127: checking for $ac_word" >&5
8127 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8128 echo $ac_n "(cached) $ac_c" 1>&6
8130 if test -n "$LEX"; then
8131 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8133 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8135 for ac_dir
in $ac_dummy; do
8136 test -z "$ac_dir" && ac_dir
=.
8137 if test -f $ac_dir/$ac_word; then
8138 ac_cv_prog_LEX
="flex"
8143 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8146 LEX
="$ac_cv_prog_LEX"
8147 if test -n "$LEX"; then
8148 echo "$ac_t""$LEX" 1>&6
8150 echo "$ac_t""no" 1>&6
8153 if test -z "$LEXLIB"
8159 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8160 echo "configure:8161: checking for yywrap in -l$ac_lib" >&5
8161 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8163 echo $ac_n "(cached) $ac_c" 1>&6
8165 ac_save_LIBS
="$LIBS"
8166 LIBS
="-l$ac_lib $LIBS"
8167 cat > conftest.
$ac_ext <<EOF
8168 #line 8169 "configure"
8169 #include "confdefs.h"
8170 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8179 if { (eval echo configure
:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8181 eval "ac_cv_lib_$ac_lib_var=yes"
8183 echo "configure: failed program was:" >&5
8184 cat conftest.
$ac_ext >&5
8186 eval "ac_cv_lib_$ac_lib_var=no"
8189 LIBS
="$ac_save_LIBS"
8192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8193 echo "$ac_t""yes" 1>&6
8196 echo "$ac_t""no" 1>&6
8202 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8203 echo "configure:8204: checking whether ln -s works" >&5
8204 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8205 echo $ac_n "(cached) $ac_c" 1>&6
8208 if ln -s X conftestdata
2>/dev
/null
8211 ac_cv_prog_LN_S
="ln -s"
8216 LN_S
="$ac_cv_prog_LN_S"
8217 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8218 echo "$ac_t""yes" 1>&6
8220 echo "$ac_t""no" 1>&6
8226 /usr/local/include \
8228 /usr/Motif-1.2/include \
8229 /usr/Motif-2.1/include \
8231 /usr/include/Motif1.2 \
8232 /opt/xpm/include/X11 \
8233 /opt/GBxpm/include/ \
8234 /opt/GBxpm/X11/include/ \
8236 /usr/Motif1.2/include \
8238 /usr/openwin/include \
8242 /usr/X11R6/include \
8243 /usr/X11R6.4/include \
8244 /usr/X11R5/include \
8245 /usr/X11R4/include \
8247 /usr/include/X11R6 \
8248 /usr/include/X11R5 \
8249 /usr/include/X11R4 \
8251 /usr/local/X11R6/include \
8252 /usr/local/X11R5/include \
8253 /usr/local/X11R4/include \
8255 /usr/local/include/X11R6 \
8256 /usr/local/include/X11R5 \
8257 /usr/local/include/X11R4 \
8261 /usr/local/X11/include \
8262 /usr/local/include/X11 \
8266 /usr/XFree86/include/X11 \
8268 X:/XFree86/include \
8269 X:/XFree86/include/X11 \
8272 /usr/local/include/gtk \
8274 /usr/local/include/glib \
8277 /usr/local/include/qt \
8279 /usr/include/windows \
8281 /usr/local/include/wine \
8283 /usr/unsupported/include \
8284 /usr/athena/include \
8285 /usr/local/x11r5/include \
8286 /usr/lpp/Xamples/include \
8288 /usr/openwin/share/include \
8292 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8295 cat > confcache
<<\EOF
8296 # This file is a shell script that caches the results of configure
8297 # tests run on this system so they can be shared between configure
8298 # scripts and configure runs. It is not useful on other systems.
8299 # If it contains results you don't want to keep, you may remove or edit it.
8301 # By default, configure uses ./config.cache as the cache file,
8302 # creating it if it does not exist already. You can give configure
8303 # the --cache-file=FILE option to use a different cache file; that is
8304 # what configure does when it calls configure scripts in
8305 # subdirectories, so they share the cache.
8306 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8307 # config.status only pays attention to the cache file if you give it the
8308 # --recheck option to rerun configure.
8311 # The following way of writing the cache mishandles newlines in values,
8312 # but we know of no workaround that is simple, portable, and efficient.
8313 # So, don't put newlines in cache variables' values.
8314 # Ultrix sh set writes to stderr and can't be redirected directly,
8315 # and sets the high bit in the cache file unless we assign to the vars.
8317 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8319 # `set' does not quote correctly, so add quotes (double-quote substitution
8320 # turns \\\\ into \\, and sed turns \\ into \).
8322 -e "s/'/'\\\\''/g" \
8323 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8326 # `set' quotes correctly as required by POSIX, so do not add quotes.
8327 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8330 if cmp -s $cache_file confcache
; then
8333 if test -w $cache_file; then
8334 echo "updating cache $cache_file"
8335 cat confcache
> $cache_file
8337 echo "not updating unwritable cache $cache_file"
8346 if test "$wxUSE_GUI" = "yes"; then
8361 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8362 if test "$cross_compiling" = "yes" ; then
8363 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8365 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8366 echo "configure:8367: checking for Windows headers" >&5
8369 for ac_dir
in $SEARCH_INCLUDE;
8371 if test -f "$ac_dir/windows.h"; then
8372 ac_find_includes
=$ac_dir
8377 if test "$ac_find_includes" != "" ; then
8378 echo "$ac_t""found $ac_find_includes" 1>&6
8379 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8381 echo "$ac_t""no" 1>&6
8382 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8386 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8387 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8389 if test "$wxUSE_ODBC" = "yes" ; then
8390 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8393 if test "$wxUSE_MINGW" = 1; then
8394 LDFLAGS
="$LDFLAGS -mwindows"
8400 RCINCSWITCH
="--include-dir"
8401 RCDEFSWITCH
="--define"
8402 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8405 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8407 RESPROGRAM
="\$(RES_PROGRAM)"
8410 if test "$wxUSE_GTK" = 1; then
8411 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8412 if test "${with_gtk_prefix+set}" = set; then
8413 withval
="$with_gtk_prefix"
8414 gtk_config_prefix
="$withval"
8416 gtk_config_prefix
=""
8419 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8420 if test "${with_gtk_exec_prefix+set}" = set; then
8421 withval
="$with_gtk_exec_prefix"
8422 gtk_config_exec_prefix
="$withval"
8424 gtk_config_exec_prefix
=""
8427 # Check whether --enable-gtktest or --disable-gtktest was given.
8428 if test "${enable_gtktest+set}" = set; then
8429 enableval
="$enable_gtktest"
8436 for module
in . gthread
8440 gtk_config_args
="$gtk_config_args gthread"
8445 if test x
$gtk_config_exec_prefix != x
; then
8446 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8447 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8448 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8451 if test x
$gtk_config_prefix != x
; then
8452 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8453 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8454 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8458 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8459 set dummy gtk
-config-2.0
; ac_word
=$2
8460 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8461 echo "configure:8462: checking for $ac_word" >&5
8462 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8463 echo $ac_n "(cached) $ac_c" 1>&6
8465 case "$GTK_CONFIG_2_0" in
8467 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8470 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8473 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8475 for ac_dir
in $ac_dummy; do
8476 test -z "$ac_dir" && ac_dir
=.
8477 if test -f $ac_dir/$ac_word; then
8478 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8483 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8487 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8488 if test -n "$GTK_CONFIG_2_0"; then
8489 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8491 echo "$ac_t""no" 1>&6
8494 min_gtk_version
=1.3.1
8495 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8496 echo "configure:8497: checking for GTK - version >= $min_gtk_version" >&5
8498 if test "$GTK_CONFIG_2_0" = "no" ; then
8501 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8502 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8503 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8505 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8507 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8508 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8509 if test "x$enable_gtktest" = "xyes" ; then
8510 ac_save_CFLAGS
="$CFLAGS"
8511 ac_save_LIBS
="$LIBS"
8512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8513 LIBS
="$GTK_LIBS $LIBS"
8515 if test "$cross_compiling" = yes; then
8516 echo $ac_n "cross compiling; assumed OK... $ac_c"
8518 cat > conftest.
$ac_ext <<EOF
8519 #line 8520 "configure"
8520 #include "confdefs.h"
8522 #include <gtk/gtk.h>
8529 int major, minor, micro;
8532 system ("touch conf.gtktest");
8534 /* HP/UX 9 (%@#!) writes to sscanf strings */
8535 tmp_version = g_strdup("$min_gtk_version");
8536 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8537 printf("%s, bad version string\n", "$min_gtk_version");
8541 if ((gtk_major_version != $gtk_config_major_version) ||
8542 (gtk_minor_version != $gtk_config_minor_version) ||
8543 (gtk_micro_version != $gtk_config_micro_version))
8545 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8546 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8547 gtk_major_version, gtk_minor_version, gtk_micro_version);
8548 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8549 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8550 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8551 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8552 printf("*** required on your system.\n");
8553 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8554 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8555 printf("*** before re-running configure\n");
8557 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8558 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8559 (gtk_minor_version != GTK_MINOR_VERSION) ||
8560 (gtk_micro_version != GTK_MICRO_VERSION))
8562 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8563 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8564 printf("*** library (version %d.%d.%d)\n",
8565 gtk_major_version, gtk_minor_version, gtk_micro_version);
8567 #endif /* defined (GTK_MAJOR_VERSION) ... */
8570 if ((gtk_major_version > major) ||
8571 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8572 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8578 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8579 gtk_major_version, gtk_minor_version, gtk_micro_version);
8580 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8581 major, minor, micro);
8582 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8584 printf("*** If you have already installed a sufficiently new version, this error\n");
8585 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8586 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8587 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8588 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8589 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8590 printf("*** so that the correct libraries are found at run-time))\n");
8597 if { (eval echo configure
:8598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8601 echo "configure: failed program was:" >&5
8602 cat conftest.
$ac_ext >&5
8609 CFLAGS
="$ac_save_CFLAGS"
8610 LIBS
="$ac_save_LIBS"
8613 if test "x$no_gtk" = x
; then
8614 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8617 echo "$ac_t""no" 1>&6
8618 if test "$GTK_CONFIG_2_0" = "no" ; then
8619 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8620 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8621 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8622 echo "*** full path to gtk-config-2.0."
8624 if test -f conf.gtktest
; then
8627 echo "*** Could not run GTK test program, checking why..."
8628 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8629 LIBS
="$LIBS $GTK_LIBS"
8630 cat > conftest.
$ac_ext <<EOF
8631 #line 8632 "configure"
8632 #include "confdefs.h"
8634 #include <gtk/gtk.h>
8638 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8641 if { (eval echo configure
:8642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8643 echo "*** The test program compiled, but did not run. This usually means"
8644 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8645 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8646 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8647 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8648 echo "*** is required on your system"
8650 echo "*** If you have an old version installed, it is best to remove it, although"
8651 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8653 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8654 echo "*** came with the system with the command"
8656 echo "*** rpm --erase --nodeps gtk gtk-devel"
8658 echo "configure: failed program was:" >&5
8659 cat conftest.
$ac_ext >&5
8661 echo "*** The test program failed to compile or link. See the file config.log for the"
8662 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8663 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8664 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8667 CFLAGS
="$ac_save_CFLAGS"
8668 LIBS
="$ac_save_LIBS"
8675 if test x
$gtk_config_exec_prefix != x
; then
8676 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8677 if test x
${GTK_CONFIG+set} != xset
; then
8678 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8681 if test x
$gtk_config_prefix != x
; then
8682 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8683 if test x
${GTK_CONFIG+set} != xset
; then
8684 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8688 # Extract the first word of "gtk-config", so it can be a program name with args.
8689 set dummy gtk
-config; ac_word
=$2
8690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8691 echo "configure:8692: checking for $ac_word" >&5
8692 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8693 echo $ac_n "(cached) $ac_c" 1>&6
8695 case "$GTK_CONFIG" in
8697 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8700 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8705 for ac_dir
in $ac_dummy; do
8706 test -z "$ac_dir" && ac_dir
=.
8707 if test -f $ac_dir/$ac_word; then
8708 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8713 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8717 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8718 if test -n "$GTK_CONFIG"; then
8719 echo "$ac_t""$GTK_CONFIG" 1>&6
8721 echo "$ac_t""no" 1>&6
8724 min_gtk_version
=1.2.7
8725 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8726 echo "configure:8727: checking for GTK - version >= $min_gtk_version" >&5
8728 if test "$GTK_CONFIG" != "no" ; then
8729 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8730 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8731 ac_save_CFLAGS
="$CFLAGS"
8732 ac_save_LIBS
="$LIBS"
8733 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8734 LIBS
="$LIBS $GTK_LIBS"
8735 if test "$cross_compiling" = yes; then
8736 echo $ac_n "cross compiling; assumed OK... $ac_c"
8738 cat > conftest.
$ac_ext <<EOF
8739 #line 8740 "configure"
8740 #include "confdefs.h"
8742 #include <gtk/gtk.h>
8743 #include <gtk/gtkfeatures.h>
8750 int major, minor, micro;
8752 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8753 printf("%s, bad version string\n", "$min_gtk_version");
8757 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8758 (GTK_MINOR_VERSION != gtk_minor_version) ||
8759 (GTK_MICRO_VERSION != gtk_micro_version)) {
8760 printf("Headers vs. library version mismatch!\n");
8764 if (gtk_minor_version == 1) return FALSE;
8766 return !((gtk_major_version > major) ||
8767 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8768 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8772 if { (eval echo configure
:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8776 echo "configure: failed program was:" >&5
8777 cat conftest.
$ac_ext >&5
8784 CFLAGS
="$ac_save_CFLAGS"
8785 LIBS
="$ac_save_LIBS"
8789 if test "x$no_gtk" = x
; then
8790 echo "$ac_t""yes" 1>&6
8793 echo "$ac_t""no" 1>&6
8802 if test x
$gtk_config_exec_prefix != x
; then
8803 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8804 if test x
${GTK_CONFIG+set} != xset
; then
8805 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8808 if test x
$gtk_config_prefix != x
; then
8809 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8810 if test x
${GTK_CONFIG+set} != xset
; then
8811 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8815 # Extract the first word of "gtk-config", so it can be a program name with args.
8816 set dummy gtk
-config; ac_word
=$2
8817 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8818 echo "configure:8819: checking for $ac_word" >&5
8819 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8820 echo $ac_n "(cached) $ac_c" 1>&6
8822 case "$GTK_CONFIG" in
8824 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8827 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8830 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8832 for ac_dir
in $ac_dummy; do
8833 test -z "$ac_dir" && ac_dir
=.
8834 if test -f $ac_dir/$ac_word; then
8835 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8840 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8844 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8845 if test -n "$GTK_CONFIG"; then
8846 echo "$ac_t""$GTK_CONFIG" 1>&6
8848 echo "$ac_t""no" 1>&6
8851 min_gtk_version
=1.2.3
8852 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8853 echo "configure:8854: checking for GTK - version >= $min_gtk_version" >&5
8855 if test "$GTK_CONFIG" != "no" ; then
8856 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8857 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8858 ac_save_CFLAGS
="$CFLAGS"
8859 ac_save_LIBS
="$LIBS"
8860 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8861 LIBS
="$LIBS $GTK_LIBS"
8862 if test "$cross_compiling" = yes; then
8863 echo $ac_n "cross compiling; assumed OK... $ac_c"
8865 cat > conftest.
$ac_ext <<EOF
8866 #line 8867 "configure"
8867 #include "confdefs.h"
8869 #include <gtk/gtk.h>
8870 #include <gtk/gtkfeatures.h>
8877 int major, minor, micro;
8879 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8880 printf("%s, bad version string\n", "$min_gtk_version");
8884 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8885 (GTK_MINOR_VERSION != gtk_minor_version) ||
8886 (GTK_MICRO_VERSION != gtk_micro_version)) {
8887 printf("Headers vs. library version mismatch!\n");
8891 if (gtk_minor_version == 1) return FALSE;
8893 return !((gtk_major_version > major) ||
8894 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8895 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8899 if { (eval echo configure
:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8903 echo "configure: failed program was:" >&5
8904 cat conftest.
$ac_ext >&5
8911 CFLAGS
="$ac_save_CFLAGS"
8912 LIBS
="$ac_save_LIBS"
8916 if test "x$no_gtk" = x
; then
8917 echo "$ac_t""yes" 1>&6
8920 echo "$ac_t""no" 1>&6
8935 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
8936 { echo "configure: error:
8937 Please check that gtk-config is in path, the directory
8938 where GTK+ libraries are installed (returned by
8939 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
8940 equivalent variable and GTK+ is version 1.2.3 or above.
8944 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
8947 GUI_TK_LIBRARY
="$GTK_LIBS"
8950 AFMINSTALL
=afminstall
8954 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
8955 echo "configure:8956: checking for gdk_im_open in -lgdk" >&5
8956 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
8957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8958 echo $ac_n "(cached) $ac_c" 1>&6
8960 ac_save_LIBS
="$LIBS"
8962 cat > conftest.
$ac_ext <<EOF
8963 #line 8964 "configure"
8964 #include "confdefs.h"
8965 /* Override any gcc2 internal prototype to avoid an error. */
8966 /* We use char because int might match the return type of a gcc2
8967 builtin and then its argument prototype would still apply. */
8974 if { (eval echo configure
:8975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8976 eval "ac_cv_lib_$ac_lib_var=yes"
8978 echo "configure: failed program was:" >&5
8979 cat conftest.
$ac_ext >&5
8981 eval "ac_cv_lib_$ac_lib_var=no"
8984 LIBS
="$ac_save_LIBS"
8987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8988 echo "$ac_t""yes" 1>&6
8989 cat >> confdefs.h
<<\EOF
8994 echo "$ac_t""no" 1>&6
8999 if test "$wxUSE_MGL" = 1; then
9001 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9002 echo "configure:9003: checking for SciTech MGL library" >&5
9003 if test "x$MGL_ROOT" = x
; then
9004 echo "$ac_t""not found" 1>&6
9005 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9007 echo "$ac_t""$MGL_ROOT" 1>&6
9010 MGL_OS
=linux
/gcc
/glibc
9013 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9014 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9018 if test "x$MGL_LIB_TYPE" = x
; then
9019 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9020 MGL_LIB_TYPE
=release
9022 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9026 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9027 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9029 AFMINSTALL
=afminstall
9034 if test "$wxUSE_WINE" = 1; then
9035 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9036 echo "configure:9037: checking for WINE includes" >&5
9039 for ac_dir
in $SEARCH_INCLUDE;
9041 if test -f "$ac_dir/windows.h"; then
9042 ac_find_includes
=$ac_dir
9047 if test "$ac_find_includes" != "" ; then
9048 echo "$ac_t""found $ac_find_includes" 1>&6
9049 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9051 echo "$ac_t""no" 1>&6
9052 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9056 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9057 echo "configure:9058: checking for Xpm library" >&5
9060 for ac_dir
in $SEARCH_LIB;
9062 for ac_extension
in a so sl
; do
9063 if test -f "$ac_dir/libXpm.$ac_extension"; then
9064 ac_find_libraries
=$ac_dir
9070 if test "$ac_find_libraries" != "" ; then
9071 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9073 cat >> confdefs.h
<<\EOF
9074 #define wxHAVE_LIB_XPM 1
9077 echo "$ac_t""found at $ac_find_libraries" 1>&6
9079 echo "$ac_t""no" 1>&6
9080 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9084 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9085 echo "configure:9086: checking for Mesa library" >&5
9088 for ac_dir
in $SEARCH_LIB;
9090 for ac_extension
in a so sl
; do
9091 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9092 ac_find_libraries
=$ac_dir
9098 if test "$ac_find_libraries" != "" ; then
9099 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9100 MESA_LINK
="-lMesaGL"
9101 echo "$ac_t""found at $ac_find_libraries" 1>&6
9103 { echo "configure: error: no" 1>&2; exit 1; }
9106 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9107 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9114 # If we find X, set shell vars x_includes and x_libraries to the
9115 # paths, otherwise set no_x=yes.
9116 # Uses ac_ vars as temps to allow command line to override cache and checks.
9117 # --without-x overrides everything else, but does not touch the cache.
9118 echo $ac_n "checking for X""... $ac_c" 1>&6
9119 echo "configure:9120: checking for X" >&5
9121 # Check whether --with-x or --without-x was given.
9122 if test "${with_x+set}" = set; then
9127 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9128 if test "x$with_x" = xno
; then
9129 # The user explicitly disabled X.
9132 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9133 # Both variables are already set.
9136 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9137 echo $ac_n "(cached) $ac_c" 1>&6
9139 # One or both of the vars are not set, and there is no cached value.
9140 ac_x_includes
=NO ac_x_libraries
=NO
9142 if mkdir conftestdir
; then
9144 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9145 cat > Imakefile
<<'EOF'
9147 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9149 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9151 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9152 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9153 for ac_extension
in a so sl
; do
9154 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9155 test -f $ac_im_libdir/libX11.
$ac_extension; then
9156 ac_im_usrlibdir
=$ac_im_libdir; break
9159 # Screen out bogus values from the imake configuration. They are
9160 # bogus both because they are the default anyway, and because
9161 # using them would break gcc on systems where it needs fixed includes.
9162 case "$ac_im_incroot" in
9164 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9166 case "$ac_im_usrlibdir" in
9168 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9175 if test "$ac_x_includes" = NO
; then
9176 # Guess where to find include files, by looking for this one X11 .h file.
9177 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9179 # First, try using that file with no special directory specified.
9180 cat > conftest.
$ac_ext <<EOF
9181 #line 9182 "configure"
9182 #include "confdefs.h"
9183 #include <$x_direct_test_include>
9185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9186 { (eval echo configure
:9187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9188 if test -z "$ac_err"; then
9190 # We can compile using X headers with no special include directory.
9194 echo "configure: failed program was:" >&5
9195 cat conftest.
$ac_ext >&5
9197 # Look for the header file in a standard set of common directories.
9198 # Check X11 before X11Rn because it is often a symlink to the current release.
9201 /usr
/X
11R
6/include \
9202 /usr
/X
11R
5/include \
9203 /usr
/X
11R
4/include \
9206 /usr
/include
/X11R6 \
9207 /usr
/include
/X11R5 \
9208 /usr
/include
/X11R4 \
9210 /usr
/local
/X
11/include \
9211 /usr
/local
/X
11R
6/include \
9212 /usr
/local
/X
11R
5/include \
9213 /usr
/local
/X
11R
4/include \
9215 /usr
/local
/include
/X11 \
9216 /usr
/local
/include
/X11R6 \
9217 /usr
/local
/include
/X11R5 \
9218 /usr
/local
/include
/X11R4 \
9222 /usr
/XFree
86/include
/X11 \
9225 /usr
/local
/include \
9226 /usr
/unsupported
/include \
9227 /usr
/athena
/include \
9228 /usr
/local
/x
11r
5/include \
9229 /usr
/lpp
/Xamples
/include \
9231 /usr
/openwin
/include \
9232 /usr
/openwin
/share
/include \
9235 if test -r "$ac_dir/$x_direct_test_include"; then
9236 ac_x_includes
=$ac_dir
9242 fi # $ac_x_includes = NO
9244 if test "$ac_x_libraries" = NO
; then
9245 # Check for the libraries.
9247 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9248 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9250 # See if we find them without any special options.
9251 # Don't add to $LIBS permanently.
9252 ac_save_LIBS
="$LIBS"
9253 LIBS
="-l$x_direct_test_library $LIBS"
9254 cat > conftest.
$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9259 ${x_direct_test_function}()
9262 if { (eval echo configure
:9263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9264 LIBS
="$ac_save_LIBS"
9265 # We can link X programs with no special library path.
9268 echo "configure: failed program was:" >&5
9269 cat conftest.
$ac_ext >&5
9271 LIBS
="$ac_save_LIBS"
9272 # First see if replacing the include by lib works.
9273 # Check X11 before X11Rn because it is often a symlink to the current release.
9274 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9285 /usr
/local
/X
11/lib \
9286 /usr
/local
/X
11R
6/lib \
9287 /usr
/local
/X
11R
5/lib \
9288 /usr
/local
/X
11R
4/lib \
9290 /usr
/local
/lib
/X11 \
9291 /usr
/local
/lib
/X11R6 \
9292 /usr
/local
/lib
/X11R5 \
9293 /usr
/local
/lib
/X11R4 \
9297 /usr
/XFree
86/lib
/X11 \
9301 /usr
/unsupported
/lib \
9303 /usr
/local
/x
11r
5/lib \
9304 /usr
/lpp
/Xamples
/lib \
9308 /usr
/openwin
/share
/lib \
9311 for ac_extension
in a so sl
; do
9312 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9313 ac_x_libraries
=$ac_dir
9320 fi # $ac_x_libraries = NO
9322 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9323 # Didn't find X anywhere. Cache the known absence of X.
9324 ac_cv_have_x
="have_x=no"
9326 # Record where we found X for the cache.
9327 ac_cv_have_x
="have_x=yes \
9328 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9332 eval "$ac_cv_have_x"
9335 if test "$have_x" != yes; then
9336 echo "$ac_t""$have_x" 1>&6
9339 # If each of the values was on the command line, it overrides each guess.
9340 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9341 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9342 # Update the cache value to reflect the command line values.
9343 ac_cv_have_x
="have_x=yes \
9344 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9345 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9348 if test "$no_x" = yes; then
9349 # Not all programs may use this symbol, but it does not hurt to define it.
9350 cat >> confdefs.h
<<\EOF
9351 #define X_DISPLAY_MISSING 1
9354 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9356 if test -n "$x_includes"; then
9357 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9360 # It would also be nice to do this for all -L options, not just this one.
9361 if test -n "$x_libraries"; then
9362 X_LIBS
="$X_LIBS -L$x_libraries"
9363 # For Solaris; some versions of Sun CC require a space after -R and
9364 # others require no space. Words are not sufficient . . . .
9365 case "`(uname -sr) 2>/dev/null`" in
9367 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9368 echo "configure:9369: checking whether -R must be followed by a space" >&5
9369 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9370 cat > conftest.
$ac_ext <<EOF
9371 #line 9372 "configure"
9372 #include "confdefs.h"
9378 if { (eval echo configure
:9379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9382 echo "configure: failed program was:" >&5
9383 cat conftest.
$ac_ext >&5
9388 if test $ac_R_nospace = yes; then
9389 echo "$ac_t""no" 1>&6
9390 X_LIBS
="$X_LIBS -R$x_libraries"
9392 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9393 cat > conftest.
$ac_ext <<EOF
9394 #line 9395 "configure"
9395 #include "confdefs.h"
9401 if { (eval echo configure
:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9405 echo "configure: failed program was:" >&5
9406 cat conftest.
$ac_ext >&5
9411 if test $ac_R_space = yes; then
9412 echo "$ac_t""yes" 1>&6
9413 X_LIBS
="$X_LIBS -R $x_libraries"
9415 echo "$ac_t""neither works" 1>&6
9418 LIBS
="$ac_xsave_LIBS"
9422 # Check for system-dependent libraries X programs must link with.
9423 # Do this before checking for the system-independent R6 libraries
9424 # (-lICE), since we may need -lsocket or whatever for X linking.
9426 if test "$ISC" = yes; then
9427 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9429 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9430 # libraries were built with DECnet support. And karl@cs.umb.edu says
9431 # the Alpha needs dnet_stub (dnet does not exist).
9432 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9433 echo "configure:9434: checking for dnet_ntoa in -ldnet" >&5
9434 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9435 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9436 echo $ac_n "(cached) $ac_c" 1>&6
9438 ac_save_LIBS
="$LIBS"
9440 cat > conftest.
$ac_ext <<EOF
9441 #line 9442 "configure"
9442 #include "confdefs.h"
9443 /* Override any gcc2 internal prototype to avoid an error. */
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9452 if { (eval echo configure
:9453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9454 eval "ac_cv_lib_$ac_lib_var=yes"
9456 echo "configure: failed program was:" >&5
9457 cat conftest.
$ac_ext >&5
9459 eval "ac_cv_lib_$ac_lib_var=no"
9462 LIBS
="$ac_save_LIBS"
9465 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9466 echo "$ac_t""yes" 1>&6
9467 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9469 echo "$ac_t""no" 1>&6
9472 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9473 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9474 echo "configure:9475: checking for dnet_ntoa in -ldnet_stub" >&5
9475 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9476 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9479 ac_save_LIBS
="$LIBS"
9480 LIBS
="-ldnet_stub $LIBS"
9481 cat > conftest.
$ac_ext <<EOF
9482 #line 9483 "configure"
9483 #include "confdefs.h"
9484 /* Override any gcc2 internal prototype to avoid an error. */
9485 /* We use char because int might match the return type of a gcc2
9486 builtin and then its argument prototype would still apply. */
9493 if { (eval echo configure
:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9495 eval "ac_cv_lib_$ac_lib_var=yes"
9497 echo "configure: failed program was:" >&5
9498 cat conftest.
$ac_ext >&5
9500 eval "ac_cv_lib_$ac_lib_var=no"
9503 LIBS
="$ac_save_LIBS"
9506 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9507 echo "$ac_t""yes" 1>&6
9508 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9510 echo "$ac_t""no" 1>&6
9515 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9516 # to get the SysV transport functions.
9517 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9519 # The nsl library prevents programs from opening the X display
9520 # on Irix 5.2, according to dickey@clark.net.
9521 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9522 echo "configure:9523: checking for gethostbyname" >&5
9523 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9524 echo $ac_n "(cached) $ac_c" 1>&6
9526 cat > conftest.
$ac_ext <<EOF
9527 #line 9528 "configure"
9528 #include "confdefs.h"
9529 /* System header to define __stub macros and hopefully few prototypes,
9530 which can conflict with char gethostbyname(); below. */
9532 /* Override any gcc2 internal prototype to avoid an error. */
9533 /* We use char because int might match the return type of a gcc2
9534 builtin and then its argument prototype would still apply. */
9535 char gethostbyname();
9539 /* The GNU C library defines this for functions which it implements
9540 to always fail with ENOSYS. Some functions are actually named
9541 something starting with __ and the normal name is an alias. */
9542 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9550 if { (eval echo configure
:9551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9552 eval "ac_cv_func_gethostbyname=yes"
9554 echo "configure: failed program was:" >&5
9555 cat conftest.
$ac_ext >&5
9557 eval "ac_cv_func_gethostbyname=no"
9562 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9563 echo "$ac_t""yes" 1>&6
9566 echo "$ac_t""no" 1>&6
9569 if test $ac_cv_func_gethostbyname = no
; then
9570 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9571 echo "configure:9572: checking for gethostbyname in -lnsl" >&5
9572 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9573 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9574 echo $ac_n "(cached) $ac_c" 1>&6
9576 ac_save_LIBS
="$LIBS"
9578 cat > conftest.
$ac_ext <<EOF
9579 #line 9580 "configure"
9580 #include "confdefs.h"
9581 /* Override any gcc2 internal prototype to avoid an error. */
9582 /* We use char because int might match the return type of a gcc2
9583 builtin and then its argument prototype would still apply. */
9584 char gethostbyname();
9590 if { (eval echo configure
:9591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9592 eval "ac_cv_lib_$ac_lib_var=yes"
9594 echo "configure: failed program was:" >&5
9595 cat conftest.
$ac_ext >&5
9597 eval "ac_cv_lib_$ac_lib_var=no"
9600 LIBS
="$ac_save_LIBS"
9603 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9604 echo "$ac_t""yes" 1>&6
9605 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9607 echo "$ac_t""no" 1>&6
9612 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9613 # socket/setsockopt and other routines are undefined under SCO ODT
9614 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9615 # on later versions), says simon@lia.di.epfl.ch: it contains
9616 # gethostby* variants that don't use the nameserver (or something).
9617 # -lsocket must be given before -lnsl if both are needed.
9618 # We assume that if connect needs -lnsl, so does gethostbyname.
9619 echo $ac_n "checking for connect""... $ac_c" 1>&6
9620 echo "configure:9621: checking for connect" >&5
9621 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9622 echo $ac_n "(cached) $ac_c" 1>&6
9624 cat > conftest.
$ac_ext <<EOF
9625 #line 9626 "configure"
9626 #include "confdefs.h"
9627 /* System header to define __stub macros and hopefully few prototypes,
9628 which can conflict with char connect(); below. */
9630 /* Override any gcc2 internal prototype to avoid an error. */
9631 /* We use char because int might match the return type of a gcc2
9632 builtin and then its argument prototype would still apply. */
9637 /* The GNU C library defines this for functions which it implements
9638 to always fail with ENOSYS. Some functions are actually named
9639 something starting with __ and the normal name is an alias. */
9640 #if defined (__stub_connect) || defined (__stub___connect)
9648 if { (eval echo configure
:9649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9650 eval "ac_cv_func_connect=yes"
9652 echo "configure: failed program was:" >&5
9653 cat conftest.
$ac_ext >&5
9655 eval "ac_cv_func_connect=no"
9660 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9661 echo "$ac_t""yes" 1>&6
9664 echo "$ac_t""no" 1>&6
9667 if test $ac_cv_func_connect = no
; then
9668 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9669 echo "configure:9670: checking for connect in -lsocket" >&5
9670 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9672 echo $ac_n "(cached) $ac_c" 1>&6
9674 ac_save_LIBS
="$LIBS"
9675 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9676 cat > conftest.
$ac_ext <<EOF
9677 #line 9678 "configure"
9678 #include "confdefs.h"
9679 /* Override any gcc2 internal prototype to avoid an error. */
9680 /* We use char because int might match the return type of a gcc2
9681 builtin and then its argument prototype would still apply. */
9688 if { (eval echo configure
:9689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9690 eval "ac_cv_lib_$ac_lib_var=yes"
9692 echo "configure: failed program was:" >&5
9693 cat conftest.
$ac_ext >&5
9695 eval "ac_cv_lib_$ac_lib_var=no"
9698 LIBS
="$ac_save_LIBS"
9701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9702 echo "$ac_t""yes" 1>&6
9703 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9705 echo "$ac_t""no" 1>&6
9710 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9711 echo $ac_n "checking for remove""... $ac_c" 1>&6
9712 echo "configure:9713: checking for remove" >&5
9713 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9714 echo $ac_n "(cached) $ac_c" 1>&6
9716 cat > conftest.
$ac_ext <<EOF
9717 #line 9718 "configure"
9718 #include "confdefs.h"
9719 /* System header to define __stub macros and hopefully few prototypes,
9720 which can conflict with char remove(); below. */
9722 /* Override any gcc2 internal prototype to avoid an error. */
9723 /* We use char because int might match the return type of a gcc2
9724 builtin and then its argument prototype would still apply. */
9729 /* The GNU C library defines this for functions which it implements
9730 to always fail with ENOSYS. Some functions are actually named
9731 something starting with __ and the normal name is an alias. */
9732 #if defined (__stub_remove) || defined (__stub___remove)
9740 if { (eval echo configure
:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9742 eval "ac_cv_func_remove=yes"
9744 echo "configure: failed program was:" >&5
9745 cat conftest.
$ac_ext >&5
9747 eval "ac_cv_func_remove=no"
9752 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9753 echo "$ac_t""yes" 1>&6
9756 echo "$ac_t""no" 1>&6
9759 if test $ac_cv_func_remove = no
; then
9760 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9761 echo "configure:9762: checking for remove in -lposix" >&5
9762 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9763 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9764 echo $ac_n "(cached) $ac_c" 1>&6
9766 ac_save_LIBS
="$LIBS"
9767 LIBS
="-lposix $LIBS"
9768 cat > conftest.
$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9771 /* Override any gcc2 internal prototype to avoid an error. */
9772 /* We use char because int might match the return type of a gcc2
9773 builtin and then its argument prototype would still apply. */
9780 if { (eval echo configure
:9781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9782 eval "ac_cv_lib_$ac_lib_var=yes"
9784 echo "configure: failed program was:" >&5
9785 cat conftest.
$ac_ext >&5
9787 eval "ac_cv_lib_$ac_lib_var=no"
9790 LIBS
="$ac_save_LIBS"
9793 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9794 echo "$ac_t""yes" 1>&6
9795 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9797 echo "$ac_t""no" 1>&6
9802 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9803 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9804 echo "configure:9805: checking for shmat" >&5
9805 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9806 echo $ac_n "(cached) $ac_c" 1>&6
9808 cat > conftest.
$ac_ext <<EOF
9809 #line 9810 "configure"
9810 #include "confdefs.h"
9811 /* System header to define __stub macros and hopefully few prototypes,
9812 which can conflict with char shmat(); below. */
9814 /* Override any gcc2 internal prototype to avoid an error. */
9815 /* We use char because int might match the return type of a gcc2
9816 builtin and then its argument prototype would still apply. */
9821 /* The GNU C library defines this for functions which it implements
9822 to always fail with ENOSYS. Some functions are actually named
9823 something starting with __ and the normal name is an alias. */
9824 #if defined (__stub_shmat) || defined (__stub___shmat)
9832 if { (eval echo configure
:9833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9834 eval "ac_cv_func_shmat=yes"
9836 echo "configure: failed program was:" >&5
9837 cat conftest.
$ac_ext >&5
9839 eval "ac_cv_func_shmat=no"
9844 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
9845 echo "$ac_t""yes" 1>&6
9848 echo "$ac_t""no" 1>&6
9851 if test $ac_cv_func_shmat = no
; then
9852 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
9853 echo "configure:9854: checking for shmat in -lipc" >&5
9854 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
9855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9858 ac_save_LIBS
="$LIBS"
9860 cat > conftest.
$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9863 /* Override any gcc2 internal prototype to avoid an error. */
9864 /* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9872 if { (eval echo configure
:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9874 eval "ac_cv_lib_$ac_lib_var=yes"
9876 echo "configure: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9879 eval "ac_cv_lib_$ac_lib_var=no"
9882 LIBS
="$ac_save_LIBS"
9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9889 echo "$ac_t""no" 1>&6
9895 # Check for libraries that X11R6 Xt/Xaw programs need.
9896 ac_save_LDFLAGS
="$LDFLAGS"
9897 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9898 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9899 # check for ICE first), but we must link in the order -lSM -lICE or
9900 # we get undefined symbols. So assume we have SM if we have ICE.
9901 # These have to be linked with before -lX11, unlike the other
9902 # libraries we check for below, so use a different variable.
9903 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
9904 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
9905 echo "configure:9906: checking for IceConnectionNumber in -lICE" >&5
9906 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
9907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9908 echo $ac_n "(cached) $ac_c" 1>&6
9910 ac_save_LIBS
="$LIBS"
9911 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9912 cat > conftest.
$ac_ext <<EOF
9913 #line 9914 "configure"
9914 #include "confdefs.h"
9915 /* Override any gcc2 internal prototype to avoid an error. */
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9918 char IceConnectionNumber();
9921 IceConnectionNumber()
9924 if { (eval echo configure
:9925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9926 eval "ac_cv_lib_$ac_lib_var=yes"
9928 echo "configure: failed program was:" >&5
9929 cat conftest.
$ac_ext >&5
9931 eval "ac_cv_lib_$ac_lib_var=no"
9934 LIBS
="$ac_save_LIBS"
9937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9938 echo "$ac_t""yes" 1>&6
9939 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9941 echo "$ac_t""no" 1>&6
9944 LDFLAGS
="$ac_save_LDFLAGS"
9948 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9949 LDFLAGS
="$LDFLAGS $X_LIBS"
9951 if test "$wxUSE_MOTIF" = 1; then
9952 if test "$no_x" = "yes"; then
9953 { echo "configure: error: X11 not found" 1>&2; exit 1; }
9956 GUI_TK_LIBRARY
="$X_LIBS"
9957 TOOLKIT_INCLUDE
="$X_CFLAGS"
9959 AFMINSTALL
=afminstall
9962 COMPILED_X_PROGRAM
=0
9964 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
9965 echo "configure:9966: checking for Motif/Lesstif headers" >&5
9968 for ac_dir
in $SEARCH_INCLUDE;
9970 if test -f "$ac_dir/Xm/Xm.h"; then
9971 ac_find_includes
=$ac_dir
9976 if test "$ac_find_includes" != "" ; then
9977 echo "$ac_t""found $ac_find_includes" 1>&6
9979 cat > conftest.
$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9989 version = xmUseVersion;
9993 if { (eval echo configure
:9994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9996 echo "$ac_t""found in default search path" 1>&6
9997 COMPILED_X_PROGRAM
=1
10000 echo "configure: failed program was:" >&5
10001 cat conftest.
$ac_ext >&5
10004 echo "$ac_t""no" 1>&6
10005 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10012 if test "$COMPILED_X_PROGRAM" = 0; then
10013 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10014 echo "configure:10015: checking for Motif/Lesstif library" >&5
10017 for ac_dir
in $SEARCH_LIB;
10019 for ac_extension
in a so sl
; do
10020 if test -f "$ac_dir/libXm.$ac_extension"; then
10021 ac_find_libraries
=$ac_dir
10027 if test "$ac_find_libraries" != "" ; then
10029 ac_path_to_include
=$ac_find_includes
10030 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10032 if test $result = 0; then
10033 ac_path_to_include
=""
10035 ac_path_to_include
="-I$ac_find_includes"
10039 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10041 if test $result = 0; then
10044 ac_path_to_link
="-L$ac_find_libraries"
10048 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10049 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10050 echo "$ac_t""found at $ac_find_libraries" 1>&6
10052 cat > conftest.
$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10062 version = xmUseVersion;
10066 if { (eval echo configure
:10067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10069 echo "$ac_t""found in default search path" 1>&6
10070 COMPILED_X_PROGRAM
=1
10073 echo "configure: failed program was:" >&5
10074 cat conftest.
$ac_ext >&5
10077 echo "$ac_t""no" 1>&6
10078 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10088 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10089 echo "configure:10090: checking for Xpm library" >&5
10092 for ac_dir
in $SEARCH_LIB;
10094 for ac_extension
in a so sl
; do
10095 if test -f "$ac_dir/libXpm.$ac_extension"; then
10096 ac_find_libraries
=$ac_dir
10102 if test "$ac_find_libraries" != "" ; then
10104 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10106 if test $result = 0; then
10109 ac_path_to_link
="-L$ac_find_libraries"
10112 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10114 cat >> confdefs.h
<<\EOF
10115 #define wxHAVE_LIB_XPM 1
10118 echo "$ac_t""found at $ac_find_libraries" 1>&6
10120 cat > conftest.
$ac_ext <<EOF
10121 #line 10122 "configure"
10122 #include "confdefs.h"
10124 #include <X11/xpm.h>
10130 version = XpmLibraryVersion();
10134 if { (eval echo configure
:10135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10138 cat >> confdefs.h
<<\EOF
10139 #define wxHAVE_LIB_XPM 1
10142 echo "$ac_t""found in default search path" 1>&6
10143 COMPILED_X_PROGRAM
=0
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10150 echo "$ac_t""no" 1>&6
10151 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10158 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10159 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10164 if test "$wxUSE_MAC" = 1; then
10169 if test "$wxUSE_PM" = 1; then
10174 if test "$TOOLKIT" != "PM" ; then
10175 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10180 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10182 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10184 if test "$TOOLKIT_NAME" = "motif"; then
10185 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10188 if test "$wxUSE_UNIVERSAL" = "yes"; then
10189 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10190 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10191 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10194 SETUPH_DIR
="${TOOLKIT_DIR}"
10197 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10198 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10201 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10202 if test "$wxUSE_UNIVERSAL" = "yes"; then
10203 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10206 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10208 if test "$wxUSE_UNIVERSAL" = "yes"; then
10209 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10211 ALL_OBJECTS
="\$(GUIOBJS)"
10214 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10216 if test "$TOOLKIT" != "MSW"; then
10217 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10220 if test "$wxUSE_HTML" = "yes"; then
10221 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10224 if test "$TOOLKIT" != "MSW"; then
10225 if test "$wxUSE_ODBC" = "yes" ; then
10226 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10230 if test "$wxUSE_LIBJPEG" = "yes" ; then
10231 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10233 if test "$wxUSE_LIBTIFF" = "yes" ; then
10234 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10236 if test "$wxUSE_LIBPNG" = "yes" ; then
10237 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10239 if test "$wxUSE_ZLIB" = "yes" ; then
10240 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10242 if test "$wxUSE_FREETYPE" = "yes" ; then
10243 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10246 if test "$wxUSE_UNIVERSAL" = "yes"; then
10247 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10249 ALL_DEPFILES
="\$(GUIDEPS)"
10252 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10254 if test "$TOOLKIT" != "MSW"; then
10255 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10258 if test "$wxUSE_HTML" = "yes"; then
10259 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10262 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10263 if test "$wxUSE_UNIVERSAL" = "yes"; then
10264 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10266 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10267 RPM_SPEC
="wx\$(TOOLKIT).spec"
10269 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10270 DISTDIR
="wx\$(TOOLKIT)"
10276 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10277 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10279 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10282 TOOLKIT_DEF
="-D__WXBASE__"
10284 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10285 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10287 if test "$wxUSE_ZLIB" = "yes" ; then
10288 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10291 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10293 PORT_FILES
="src/files.lst"
10294 RPM_FILES
="src/rpmfiles.lst"
10295 RPM_SPEC
="wxBase.spec"
10297 GUIDIST
="BASE_DIST"
10301 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10302 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10304 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10305 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10307 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10308 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10310 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10311 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10312 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10313 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10314 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10315 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10321 BURNT_LIBRARY_NAME
=
10322 WX_TARGET_LIBRARY_SONAME
=
10325 if test "$wxUSE_SHARED" = "yes"; then
10328 if test "$GCC" = yes ; then
10329 SHARED_LD
="${CC} -shared -fPIC -o"
10332 LDFLAGS
="-L/usr/lib"
10334 SHARED_LD
="${CXX} -b -o"
10337 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10338 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10339 if test "$wxUSE_OPENGL" = "yes"; then
10340 WX_ALL_INSTALLED
="preinstall_gl"
10341 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10343 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10348 SHARED_LD
="${CC} -shared -o"
10350 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10351 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10352 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10353 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10355 if test "$wxUSE_OPENGL" = "yes"; then
10356 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10357 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10359 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10360 WX_ALL
="CREATE_LINKS"
10363 *-*-irix5* | *-*-irix6* )
10364 if test "$GCC" = yes ; then
10365 SHARED_LD
="${CC} -shared -o"
10368 SHARED_LD
="${CXX} -shared -o"
10370 if test "$wxUSE_OPENGL" = "yes"; then
10371 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10372 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10374 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10375 WX_ALL
="CREATE_LINKS"
10379 if test "$GCC" = yes ; then
10380 SHARED_LD
="${CC} -shared -o"
10383 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10385 SHARED_LD
="${CXX} -G -o"
10388 if test "$wxUSE_OPENGL" = "yes"; then
10389 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10390 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10392 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10393 WX_ALL
="CREATE_LINKS"
10397 SHARED_LD
="${CC} -shared -o"
10399 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10400 WX_ALL
="CREATE_LINKS"
10402 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10403 SHARED_LD
="${CC} -shared -o"
10405 if test "$wxUSE_OPENGL" = "yes"; then
10406 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10407 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10409 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10410 WX_ALL
="CREATE_LINKS"
10414 SHARED_LD
="${CXX} -dynamiclib -o"
10415 PIC_FLAG
="-dynamic -fPIC"
10416 if test "$wxUSE_OPENGL" = "yes"; then
10417 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10418 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10420 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10421 WX_ALL
="CREATE_LINKS"
10423 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10424 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10425 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10426 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10427 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10428 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10429 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10430 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10431 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10434 SHARED_LD
="${CXX} -shared -o"
10436 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10437 WX_ALL
="CREATE_LINKS"
10440 SHARED_LD
="${CXX} -shared -o"
10442 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10443 WX_ALL
="CREATE_LINKS"
10446 SHARED_LD
="${CC} -shared -o"
10448 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10449 WX_ALL
="CREATE_LINKS"
10452 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10453 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10456 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10457 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10458 if test "$wxUSE_OPENGL" = "yes"; then
10459 WX_ALL_INSTALLED
="preinstall_gl"
10460 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10462 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10466 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10467 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10468 if test "$wxUSE_OPENGL" = "yes"; then
10469 WX_ALL_INSTALLED
="preinstall_gl"
10470 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10472 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10476 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10477 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10480 SHARED_LD
="${LD} -shared -o"
10482 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10483 WX_ALL
="CREATE_LINKS"
10486 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10489 if test "x$WX_TARGET_LIBRARY" = "x"; then
10490 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10491 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10493 WX_TARGET_LIBRARY_TYPE
="so"
10495 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10496 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10498 if test "$wxUSE_OPENGL" = "yes"; then
10499 WX_ALL_INSTALLED
="preinstall_gl"
10500 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10502 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10505 if test "$wxUSE_GUI" = "no"; then
10506 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10509 WX_TARGET_LIBRARY_TYPE
="a"
10513 for ac_hdr
in strings.h
10515 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10517 echo "configure:10518: checking for $ac_hdr" >&5
10518 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10519 echo $ac_n "(cached) $ac_c" 1>&6
10521 cat > conftest.
$ac_ext <<EOF
10522 #line 10523 "configure"
10523 #include "confdefs.h"
10526 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10527 { (eval echo configure
:10528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10528 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10529 if test -z "$ac_err"; then
10531 eval "ac_cv_header_$ac_safe=yes"
10534 echo "configure: failed program was:" >&5
10535 cat conftest.
$ac_ext >&5
10537 eval "ac_cv_header_$ac_safe=no"
10541 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10542 echo "$ac_t""yes" 1>&6
10543 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10544 cat >> confdefs.h
<<EOF
10545 #define $ac_tr_hdr 1
10549 echo "$ac_t""no" 1>&6
10553 for ac_hdr
in stdlib.h
10555 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10557 echo "configure:10558: checking for $ac_hdr" >&5
10558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10559 echo $ac_n "(cached) $ac_c" 1>&6
10561 cat > conftest.
$ac_ext <<EOF
10562 #line 10563 "configure"
10563 #include "confdefs.h"
10566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10567 { (eval echo configure
:10568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10568 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10569 if test -z "$ac_err"; then
10571 eval "ac_cv_header_$ac_safe=yes"
10574 echo "configure: failed program was:" >&5
10575 cat conftest.
$ac_ext >&5
10577 eval "ac_cv_header_$ac_safe=no"
10581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10582 echo "$ac_t""yes" 1>&6
10583 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10584 cat >> confdefs.h
<<EOF
10585 #define $ac_tr_hdr 1
10589 echo "$ac_t""no" 1>&6
10593 for ac_hdr
in unistd.h
10595 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10597 echo "configure:10598: checking for $ac_hdr" >&5
10598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10599 echo $ac_n "(cached) $ac_c" 1>&6
10601 cat > conftest.
$ac_ext <<EOF
10602 #line 10603 "configure"
10603 #include "confdefs.h"
10606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10607 { (eval echo configure
:10608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10609 if test -z "$ac_err"; then
10611 eval "ac_cv_header_$ac_safe=yes"
10614 echo "configure: failed program was:" >&5
10615 cat conftest.
$ac_ext >&5
10617 eval "ac_cv_header_$ac_safe=no"
10621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10622 echo "$ac_t""yes" 1>&6
10623 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10624 cat >> confdefs.h
<<EOF
10625 #define $ac_tr_hdr 1
10629 echo "$ac_t""no" 1>&6
10633 for ac_hdr
in wchar.h
10635 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10636 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10637 echo "configure:10638: checking for $ac_hdr" >&5
10638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10639 echo $ac_n "(cached) $ac_c" 1>&6
10641 cat > conftest.
$ac_ext <<EOF
10642 #line 10643 "configure"
10643 #include "confdefs.h"
10646 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10647 { (eval echo configure
:10648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10648 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10649 if test -z "$ac_err"; then
10651 eval "ac_cv_header_$ac_safe=yes"
10654 echo "configure: failed program was:" >&5
10655 cat conftest.
$ac_ext >&5
10657 eval "ac_cv_header_$ac_safe=no"
10661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10662 echo "$ac_t""yes" 1>&6
10663 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10664 cat >> confdefs.h
<<EOF
10665 #define $ac_tr_hdr 1
10669 echo "$ac_t""no" 1>&6
10673 for ac_hdr
in wcstr.h
10675 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10677 echo "configure:10678: checking for $ac_hdr" >&5
10678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10679 echo $ac_n "(cached) $ac_c" 1>&6
10681 cat > conftest.
$ac_ext <<EOF
10682 #line 10683 "configure"
10683 #include "confdefs.h"
10686 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10687 { (eval echo configure
:10688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10688 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10689 if test -z "$ac_err"; then
10691 eval "ac_cv_header_$ac_safe=yes"
10694 echo "configure: failed program was:" >&5
10695 cat conftest.
$ac_ext >&5
10697 eval "ac_cv_header_$ac_safe=no"
10701 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10702 echo "$ac_t""yes" 1>&6
10703 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10704 cat >> confdefs.h
<<EOF
10705 #define $ac_tr_hdr 1
10709 echo "$ac_t""no" 1>&6
10713 for ac_hdr
in fnmatch.h
10715 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10717 echo "configure:10718: checking for $ac_hdr" >&5
10718 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10721 cat > conftest.
$ac_ext <<EOF
10722 #line 10723 "configure"
10723 #include "confdefs.h"
10726 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10727 { (eval echo configure
:10728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10728 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10729 if test -z "$ac_err"; then
10731 eval "ac_cv_header_$ac_safe=yes"
10734 echo "configure: failed program was:" >&5
10735 cat conftest.
$ac_ext >&5
10737 eval "ac_cv_header_$ac_safe=no"
10741 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10742 echo "$ac_t""yes" 1>&6
10743 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10744 cat >> confdefs.h
<<EOF
10745 #define $ac_tr_hdr 1
10749 echo "$ac_t""no" 1>&6
10753 for ac_hdr
in iconv.h
10755 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10757 echo "configure:10758: checking for $ac_hdr" >&5
10758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10759 echo $ac_n "(cached) $ac_c" 1>&6
10761 cat > conftest.
$ac_ext <<EOF
10762 #line 10763 "configure"
10763 #include "confdefs.h"
10766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10767 { (eval echo configure
:10768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10768 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10769 if test -z "$ac_err"; then
10771 eval "ac_cv_header_$ac_safe=yes"
10774 echo "configure: failed program was:" >&5
10775 cat conftest.
$ac_ext >&5
10777 eval "ac_cv_header_$ac_safe=no"
10781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10782 echo "$ac_t""yes" 1>&6
10783 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10784 cat >> confdefs.h
<<EOF
10785 #define $ac_tr_hdr 1
10789 echo "$ac_t""no" 1>&6
10793 for ac_hdr
in langinfo.h
10795 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10796 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10797 echo "configure:10798: checking for $ac_hdr" >&5
10798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10799 echo $ac_n "(cached) $ac_c" 1>&6
10801 cat > conftest.
$ac_ext <<EOF
10802 #line 10803 "configure"
10803 #include "confdefs.h"
10806 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10807 { (eval echo configure
:10808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10808 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10809 if test -z "$ac_err"; then
10811 eval "ac_cv_header_$ac_safe=yes"
10814 echo "configure: failed program was:" >&5
10815 cat conftest.
$ac_ext >&5
10817 eval "ac_cv_header_$ac_safe=no"
10821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10822 echo "$ac_t""yes" 1>&6
10823 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10824 cat >> confdefs.h
<<EOF
10825 #define $ac_tr_hdr 1
10829 echo "$ac_t""no" 1>&6
10834 if test "$wxUSE_GUI" = "yes"; then
10835 if test "$wxUSE_UNIX" = "yes"; then
10836 for ac_hdr
in X
11/XKBlib.h
10838 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10840 echo "configure:10841: checking for $ac_hdr" >&5
10841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10842 echo $ac_n "(cached) $ac_c" 1>&6
10844 cat > conftest.
$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10849 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10850 { (eval echo configure
:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10851 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10852 if test -z "$ac_err"; then
10854 eval "ac_cv_header_$ac_safe=yes"
10857 echo "configure: failed program was:" >&5
10858 cat conftest.
$ac_ext >&5
10860 eval "ac_cv_header_$ac_safe=no"
10864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10867 cat >> confdefs.h
<<EOF
10868 #define $ac_tr_hdr 1
10872 echo "$ac_t""no" 1>&6
10880 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10881 echo "configure:10882: checking for ANSI C header files" >&5
10882 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
10883 echo $ac_n "(cached) $ac_c" 1>&6
10885 cat > conftest.
$ac_ext <<EOF
10886 #line 10887 "configure"
10887 #include "confdefs.h"
10888 #include <stdlib.h>
10889 #include <stdarg.h>
10890 #include <string.h>
10893 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10894 { (eval echo configure
:10895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10895 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10896 if test -z "$ac_err"; then
10898 ac_cv_header_stdc
=yes
10901 echo "configure: failed program was:" >&5
10902 cat conftest.
$ac_ext >&5
10904 ac_cv_header_stdc
=no
10908 if test $ac_cv_header_stdc = yes; then
10909 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10910 cat > conftest.
$ac_ext <<EOF
10911 #line 10912 "configure"
10912 #include "confdefs.h"
10913 #include <string.h>
10915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10916 egrep "memchr" >/dev
/null
2>&1; then
10920 ac_cv_header_stdc
=no
10926 if test $ac_cv_header_stdc = yes; then
10927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10928 cat > conftest.
$ac_ext <<EOF
10929 #line 10930 "configure"
10930 #include "confdefs.h"
10931 #include <stdlib.h>
10933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10934 egrep "free" >/dev
/null
2>&1; then
10938 ac_cv_header_stdc
=no
10944 if test $ac_cv_header_stdc = yes; then
10945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10946 if test "$cross_compiling" = yes; then
10949 cat > conftest.
$ac_ext <<EOF
10950 #line 10951 "configure"
10951 #include "confdefs.h"
10953 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10954 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10955 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10956 int main () { int i; for (i = 0; i < 256; i++)
10957 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
10961 if { (eval echo configure
:10962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10965 echo "configure: failed program was:" >&5
10966 cat conftest.
$ac_ext >&5
10968 ac_cv_header_stdc
=no
10976 echo "$ac_t""$ac_cv_header_stdc" 1>&6
10977 if test $ac_cv_header_stdc = yes; then
10978 cat >> confdefs.h
<<\EOF
10979 #define STDC_HEADERS 1
10984 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
10985 echo "configure:10986: checking for mode_t" >&5
10986 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10989 cat > conftest.
$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992 #include <sys/types.h>
10994 #include <stdlib.h>
10995 #include <stddef.h>
10998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10999 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11001 ac_cv_type_mode_t
=yes
11004 ac_cv_type_mode_t
=no
11009 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11010 if test $ac_cv_type_mode_t = no
; then
11011 cat >> confdefs.h
<<\EOF
11017 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11018 echo "configure:11019: checking for off_t" >&5
11019 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11020 echo $ac_n "(cached) $ac_c" 1>&6
11022 cat > conftest.
$ac_ext <<EOF
11023 #line 11024 "configure"
11024 #include "confdefs.h"
11025 #include <sys/types.h>
11027 #include <stdlib.h>
11028 #include <stddef.h>
11031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11032 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11034 ac_cv_type_off_t
=yes
11037 ac_cv_type_off_t
=no
11042 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11043 if test $ac_cv_type_off_t = no
; then
11044 cat >> confdefs.h
<<\EOF
11050 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11051 echo "configure:11052: checking for pid_t" >&5
11052 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 #include <sys/types.h>
11060 #include <stdlib.h>
11061 #include <stddef.h>
11064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11065 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11067 ac_cv_type_pid_t
=yes
11070 ac_cv_type_pid_t
=no
11075 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11076 if test $ac_cv_type_pid_t = no
; then
11077 cat >> confdefs.h
<<\EOF
11083 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11084 echo "configure:11085: checking for size_t" >&5
11085 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11088 cat > conftest.
$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11091 #include <sys/types.h>
11093 #include <stdlib.h>
11094 #include <stddef.h>
11097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11098 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11100 ac_cv_type_size_t
=yes
11103 ac_cv_type_size_t
=no
11108 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11109 if test $ac_cv_type_size_t = no
; then
11110 cat >> confdefs.h
<<\EOF
11111 #define size_t unsigned
11116 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11117 echo "configure:11118: checking for uid_t in sys/types.h" >&5
11118 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11119 echo $ac_n "(cached) $ac_c" 1>&6
11121 cat > conftest.
$ac_ext <<EOF
11122 #line 11123 "configure"
11123 #include "confdefs.h"
11124 #include <sys/types.h>
11126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11127 egrep "uid_t" >/dev
/null
2>&1; then
11129 ac_cv_type_uid_t
=yes
11132 ac_cv_type_uid_t
=no
11138 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11139 if test $ac_cv_type_uid_t = no
; then
11140 cat >> confdefs.h
<<\EOF
11144 cat >> confdefs.h
<<\EOF
11151 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11152 echo "configure:11153: checking for wchar_t" >&5
11153 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11154 echo $ac_n "(cached) $ac_c" 1>&6
11157 cat > conftest.
$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11165 ws = L"Hello, world!";
11169 if { (eval echo configure
:11170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11171 wx_cv_type_wchar_t
=yes
11173 echo "configure: failed program was:" >&5
11174 cat conftest.
$ac_ext >&5
11176 cat > conftest.
$ac_ext <<EOF
11177 #line 11178 "configure"
11178 #include "confdefs.h"
11179 #include <stdlib.h>
11184 ws = L"Hello, world!";
11188 if { (eval echo configure
:11189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11190 wx_cv_type_wchar_t
=yes
11192 echo "configure: failed program was:" >&5
11193 cat conftest.
$ac_ext >&5
11195 wx_cv_type_wchar_t
=no
11204 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11206 if test "$wx_cv_type_wchar_t" = "yes"; then
11207 cat >> confdefs.h
<<\EOF
11208 #define wxUSE_WCHAR_T 1
11215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11216 ac_cpp
='$CXXCPP $CPPFLAGS'
11217 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11218 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11219 cross_compiling
=$ac_cv_prog_cxx_cross
11221 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11222 echo "configure:11223: checking if size_t is unsigned int" >&5
11223 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11224 echo $ac_n "(cached) $ac_c" 1>&6
11226 cat > conftest.
$ac_ext <<EOF
11227 #line 11228 "configure"
11228 #include "confdefs.h"
11229 #include <stddef.h>
11234 struct Foo { void foo(size_t); void foo(unsigned int); };
11240 if { (eval echo configure
:11241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11242 wx_cv_size_t_is_uint
=no
11244 echo "configure: failed program was:" >&5
11245 cat conftest.
$ac_ext >&5
11247 wx_cv_size_t_is_uint
=yes
11254 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11256 if test "$wx_cv_size_t_is_uint" = "yes"; then
11257 cat >> confdefs.h
<<\EOF
11258 #define wxSIZE_T_IS_UINT 1
11262 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11263 echo "configure:11264: checking if size_t is unsigned long" >&5
11264 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11267 cat > conftest.
$ac_ext <<EOF
11268 #line 11269 "configure"
11269 #include "confdefs.h"
11270 #include <stddef.h>
11275 struct Foo { void foo(size_t); void foo(unsigned long); };
11281 if { (eval echo configure
:11282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11283 wx_cv_size_t_is_ulong
=no
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11288 wx_cv_size_t_is_ulong
=yes
11295 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11297 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11298 cat >> confdefs.h
<<\EOF
11299 #define wxSIZE_T_IS_ULONG 1
11306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp
='$CPP $CPPFLAGS'
11308 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling
=$ac_cv_prog_cc_cross
11314 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11315 echo "configure:11316: checking for pw_gecos in struct passwd" >&5
11316 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11317 echo $ac_n "(cached) $ac_c" 1>&6
11320 cat > conftest.
$ac_ext <<EOF
11321 #line 11322 "configure"
11322 #include "confdefs.h"
11332 if { (eval echo configure
:11333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11335 wx_cv_struct_pw_gecos
=yes
11338 echo "configure: failed program was:" >&5
11339 cat conftest.
$ac_ext >&5
11342 wx_cv_struct_pw_gecos
=no
11351 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11353 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11354 cat >> confdefs.h
<<\EOF
11355 #define HAVE_PW_GECOS 1
11361 echo $ac_n "checking for working const""... $ac_c" 1>&6
11362 echo "configure:11363: checking for working const" >&5
11363 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11364 echo $ac_n "(cached) $ac_c" 1>&6
11366 cat > conftest.
$ac_ext <<EOF
11367 #line 11368 "configure"
11368 #include "confdefs.h"
11372 /* Ultrix mips cc rejects this. */
11373 typedef int charset[2]; const charset x;
11374 /* SunOS 4.1.1 cc rejects this. */
11375 char const *const *ccp;
11377 /* NEC SVR4.0.2 mips cc rejects this. */
11378 struct point {int x, y;};
11379 static struct point const zero = {0,0};
11380 /* AIX XL C 1.02.0.0 rejects this.
11381 It does not let you subtract one const X* pointer from another in an arm
11382 of an if-expression whose if-part is not a constant expression */
11383 const char *g = "string";
11384 ccp = &g + (g ? g-g : 0);
11385 /* HPUX 7.0 cc rejects these. */
11388 ccp = (char const *const *) p;
11389 { /* SCO 3.2v4 cc rejects this. */
11391 char const *s = 0 ? (char *) 0 : (char const *) 0;
11395 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11396 int x[] = {25, 17};
11397 const int *foo = &x[0];
11400 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11401 typedef const int *iptr;
11405 { /* AIX XL C 1.02.0.0 rejects this saying
11406 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11407 struct s { int j; const int *ap[3]; };
11408 struct s *b; b->j = 5;
11410 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11411 const int foo = 10;
11416 if { (eval echo configure
:11417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11420 echo "configure: failed program was:" >&5
11421 cat conftest.
$ac_ext >&5
11428 echo "$ac_t""$ac_cv_c_const" 1>&6
11429 if test $ac_cv_c_const = no
; then
11430 cat >> confdefs.h
<<\EOF
11436 echo $ac_n "checking for inline""... $ac_c" 1>&6
11437 echo "configure:11438: checking for inline" >&5
11438 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11439 echo $ac_n "(cached) $ac_c" 1>&6
11442 for ac_kw
in inline __inline__ __inline
; do
11443 cat > conftest.
$ac_ext <<EOF
11444 #line 11445 "configure"
11445 #include "confdefs.h"
11451 if { (eval echo configure
:11452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11453 ac_cv_c_inline
=$ac_kw; break
11455 echo "configure: failed program was:" >&5
11456 cat conftest.
$ac_ext >&5
11463 echo "$ac_t""$ac_cv_c_inline" 1>&6
11464 case "$ac_cv_c_inline" in
11466 no
) cat >> confdefs.h
<<\EOF
11470 *) cat >> confdefs.h
<<EOF
11471 #define inline $ac_cv_c_inline
11477 echo $ac_n "checking size of char""... $ac_c" 1>&6
11478 echo "configure:11479: checking size of char" >&5
11479 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11482 if test "$cross_compiling" = yes; then
11483 ac_cv_sizeof_char
=1
11485 cat > conftest.
$ac_ext <<EOF
11486 #line 11487 "configure"
11487 #include "confdefs.h"
11491 FILE *f=fopen("conftestval", "w");
11493 fprintf(f, "%d\n", sizeof(char));
11497 if { (eval echo configure
:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11499 ac_cv_sizeof_char
=`cat conftestval`
11501 echo "configure: failed program was:" >&5
11502 cat conftest.
$ac_ext >&5
11504 ac_cv_sizeof_char
=0
11510 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11511 cat >> confdefs.h
<<EOF
11512 #define SIZEOF_CHAR $ac_cv_sizeof_char
11516 echo $ac_n "checking size of short""... $ac_c" 1>&6
11517 echo "configure:11518: checking size of short" >&5
11518 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11519 echo $ac_n "(cached) $ac_c" 1>&6
11521 if test "$cross_compiling" = yes; then
11522 ac_cv_sizeof_short
=2
11524 cat > conftest.
$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11530 FILE *f=fopen("conftestval", "w");
11532 fprintf(f, "%d\n", sizeof(short));
11536 if { (eval echo configure
:11537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11538 ac_cv_sizeof_short
=`cat conftestval`
11540 echo "configure: failed program was:" >&5
11541 cat conftest.
$ac_ext >&5
11543 ac_cv_sizeof_short
=0
11549 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11550 cat >> confdefs.h
<<EOF
11551 #define SIZEOF_SHORT $ac_cv_sizeof_short
11555 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11556 echo "configure:11557: checking size of int *" >&5
11557 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11558 echo $ac_n "(cached) $ac_c" 1>&6
11560 if test "$cross_compiling" = yes; then
11561 ac_cv_sizeof_int_p
=4
11563 cat > conftest.
$ac_ext <<EOF
11564 #line 11565 "configure"
11565 #include "confdefs.h"
11569 FILE *f=fopen("conftestval", "w");
11571 fprintf(f, "%d\n", sizeof(int *));
11575 if { (eval echo configure
:11576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11577 ac_cv_sizeof_int_p
=`cat conftestval`
11579 echo "configure: failed program was:" >&5
11580 cat conftest.
$ac_ext >&5
11582 ac_cv_sizeof_int_p
=0
11588 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11589 cat >> confdefs.h
<<EOF
11590 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11594 echo $ac_n "checking size of int""... $ac_c" 1>&6
11595 echo "configure:11596: checking size of int" >&5
11596 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11599 if test "$cross_compiling" = yes; then
11602 cat > conftest.
$ac_ext <<EOF
11603 #line 11604 "configure"
11604 #include "confdefs.h"
11608 FILE *f=fopen("conftestval", "w");
11610 fprintf(f, "%d\n", sizeof(int));
11614 if { (eval echo configure
:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11616 ac_cv_sizeof_int
=`cat conftestval`
11618 echo "configure: failed program was:" >&5
11619 cat conftest.
$ac_ext >&5
11627 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11628 cat >> confdefs.h
<<EOF
11629 #define SIZEOF_INT $ac_cv_sizeof_int
11633 echo $ac_n "checking size of long""... $ac_c" 1>&6
11634 echo "configure:11635: checking size of long" >&5
11635 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11636 echo $ac_n "(cached) $ac_c" 1>&6
11638 if test "$cross_compiling" = yes; then
11639 ac_cv_sizeof_long
=4
11641 cat > conftest.
$ac_ext <<EOF
11642 #line 11643 "configure"
11643 #include "confdefs.h"
11647 FILE *f=fopen("conftestval", "w");
11649 fprintf(f, "%d\n", sizeof(long));
11653 if { (eval echo configure
:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11655 ac_cv_sizeof_long
=`cat conftestval`
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 ac_cv_sizeof_long
=0
11666 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11667 cat >> confdefs.h
<<EOF
11668 #define SIZEOF_LONG $ac_cv_sizeof_long
11672 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11673 echo "configure:11674: checking size of long long" >&5
11674 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 if test "$cross_compiling" = yes; then
11678 ac_cv_sizeof_long_long
=0
11680 cat > conftest.
$ac_ext <<EOF
11681 #line 11682 "configure"
11682 #include "confdefs.h"
11686 FILE *f=fopen("conftestval", "w");
11688 fprintf(f, "%d\n", sizeof(long long));
11692 if { (eval echo configure
:11693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11694 ac_cv_sizeof_long_long
=`cat conftestval`
11696 echo "configure: failed program was:" >&5
11697 cat conftest.
$ac_ext >&5
11699 ac_cv_sizeof_long_long
=0
11705 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11706 cat >> confdefs.h
<<EOF
11707 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11712 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11713 echo "configure:11714: checking size of wchar_t" >&5
11714 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11715 echo $ac_n "(cached) $ac_c" 1>&6
11718 if test "$cross_compiling" = yes; then
11719 wx_cv_sizeof_wchar_t
=4
11722 cat > conftest.
$ac_ext <<EOF
11723 #line 11724 "configure"
11724 #include "confdefs.h"
11726 #ifdef HAVE_WCHAR_H
11727 # include <wchar.h>
11729 #ifdef HAVE_STDLIB_H
11730 # include <stdlib.h>
11735 FILE *f=fopen("conftestval", "w");
11737 fprintf(f, "%i", sizeof(wchar_t));
11742 if { (eval echo configure
:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11744 wx_cv_sizeof_wchar_t
=`cat conftestval`
11746 echo "configure: failed program was:" >&5
11747 cat conftest.
$ac_ext >&5
11749 wx_cv_sizeof_wchar_t
=0
11757 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11759 cat >> confdefs.h
<<EOF
11760 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11765 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11766 echo "configure:11767: checking whether byte ordering is bigendian" >&5
11767 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11768 echo $ac_n "(cached) $ac_c" 1>&6
11770 ac_cv_c_bigendian
=unknown
11771 # See if sys/param.h defines the BYTE_ORDER macro.
11772 cat > conftest.
$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 #include <sys/types.h>
11776 #include <sys/param.h>
11779 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11780 bogus endian macros
11784 if { (eval echo configure
:11785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11786 # It does; now see whether it defined to BIG_ENDIAN or not.
11787 cat > conftest.
$ac_ext <<EOF
11788 #line 11789 "configure"
11789 #include "confdefs.h"
11790 #include <sys/types.h>
11791 #include <sys/param.h>
11794 #if BYTE_ORDER != BIG_ENDIAN
11799 if { (eval echo configure
:11800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11801 ac_cv_c_bigendian
=yes
11803 echo "configure: failed program was:" >&5
11804 cat conftest.
$ac_ext >&5
11806 ac_cv_c_bigendian
=no
11810 echo "configure: failed program was:" >&5
11811 cat conftest.
$ac_ext >&5
11814 if test $ac_cv_c_bigendian = unknown
; then
11815 if test "$cross_compiling" = yes; then
11816 ac_cv_c_bigendian
=unknown
11818 cat > conftest.
$ac_ext <<EOF
11819 #line 11820 "configure"
11820 #include "confdefs.h"
11822 /* Are we little or big endian? From Harbison&Steele. */
11826 char c[sizeof (long)];
11829 exit (u.c[sizeof (long) - 1] == 1);
11832 if { (eval echo configure
:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11834 ac_cv_c_bigendian
=no
11836 echo "configure: failed program was:" >&5
11837 cat conftest.
$ac_ext >&5
11839 ac_cv_c_bigendian
=yes
11847 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11848 if test $ac_cv_c_bigendian = unknown
; then
11849 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
11851 if test $ac_cv_c_bigendian = yes; then
11852 cat >> confdefs.h
<<\EOF
11853 #define WORDS_BIGENDIAN 1
11860 if test "$cross_compiling" = "yes"; then
11861 cat >> confdefs.h
<<\EOF
11862 #define wxUSE_IOSTREAMH 1
11868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11869 ac_cpp
='$CXXCPP $CPPFLAGS'
11870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11872 cross_compiling
=$ac_cv_prog_cxx_cross
11875 for ac_hdr
in iostream
11877 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11878 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11879 echo "configure:11880: checking for $ac_hdr" >&5
11880 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11881 echo $ac_n "(cached) $ac_c" 1>&6
11883 cat > conftest.
$ac_ext <<EOF
11884 #line 11885 "configure"
11885 #include "confdefs.h"
11888 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11889 { (eval echo configure
:11890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11890 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11891 if test -z "$ac_err"; then
11893 eval "ac_cv_header_$ac_safe=yes"
11896 echo "configure: failed program was:" >&5
11897 cat conftest.
$ac_ext >&5
11899 eval "ac_cv_header_$ac_safe=no"
11903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11904 echo "$ac_t""yes" 1>&6
11905 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11906 cat >> confdefs.h
<<EOF
11907 #define $ac_tr_hdr 1
11911 echo "$ac_t""no" 1>&6
11916 if test "$ac_cv_header_iostream" = "yes" ; then
11919 cat >> confdefs.h
<<\EOF
11920 #define wxUSE_IOSTREAMH 1
11926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11927 ac_cpp
='$CPP $CPPFLAGS'
11928 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11929 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11930 cross_compiling
=$ac_cv_prog_cc_cross
11936 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11937 echo "configure:11938: checking if C++ compiler supports bool" >&5
11938 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11939 echo $ac_n "(cached) $ac_c" 1>&6
11944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11945 ac_cpp
='$CXXCPP $CPPFLAGS'
11946 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11947 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11948 cross_compiling
=$ac_cv_prog_cxx_cross
11951 cat > conftest.
$ac_ext <<EOF
11952 #line 11953 "configure"
11953 #include "confdefs.h"
11964 if { (eval echo configure
:11965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11970 echo "configure: failed program was:" >&5
11971 cat conftest.
$ac_ext >&5
11981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11982 ac_cpp
='$CPP $CPPFLAGS'
11983 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11984 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11985 cross_compiling
=$ac_cv_prog_cc_cross
11990 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11992 if test "$wx_cv_cpp_bool" = "yes"; then
11993 cat >> confdefs.h
<<\EOF
11994 #define HAVE_BOOL 1
12001 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
12002 echo "configure:12003: checking if you need GNU extensions" >&5
12003 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
12004 echo $ac_n "(cached) $ac_c" 1>&6
12007 cat > conftest.
$ac_ext <<EOF
12008 #line 12009 "configure"
12009 #include "confdefs.h"
12010 #include <features.h>
12014 #ifndef __GNU_LIBRARY__
12015 Compile error wanted
12021 if { (eval echo configure
:12022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12023 wx_cv_gnu_extensions
=yes
12025 echo "configure: failed program was:" >&5
12026 cat conftest.
$ac_ext >&5
12028 wx_cv_gnu_extensions
=no
12035 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
12036 if test "$wx_cv_gnu_extensions" = "yes"; then
12037 cat >> confdefs.h
<<EOF
12038 #define _GNU_SOURCE 1
12045 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12046 echo "configure:12047: checking for wcslen in -lc" >&5
12047 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12049 echo $ac_n "(cached) $ac_c" 1>&6
12051 ac_save_LIBS
="$LIBS"
12053 cat > conftest.
$ac_ext <<EOF
12054 #line 12055 "configure"
12055 #include "confdefs.h"
12056 /* Override any gcc2 internal prototype to avoid an error. */
12057 /* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12065 if { (eval echo configure
:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12067 eval "ac_cv_lib_$ac_lib_var=yes"
12069 echo "configure: failed program was:" >&5
12070 cat conftest.
$ac_ext >&5
12072 eval "ac_cv_lib_$ac_lib_var=no"
12075 LIBS
="$ac_save_LIBS"
12078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12079 echo "$ac_t""yes" 1>&6
12081 cat >> confdefs.h
<<\EOF
12082 #define HAVE_WCSLEN 1
12088 echo "$ac_t""no" 1>&6
12090 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12091 echo "configure:12092: checking for wcslen in -lw" >&5
12092 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12094 echo $ac_n "(cached) $ac_c" 1>&6
12096 ac_save_LIBS
="$LIBS"
12098 cat > conftest.
$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12101 /* Override any gcc2 internal prototype to avoid an error. */
12102 /* We use char because int might match the return type of a gcc2
12103 builtin and then its argument prototype would still apply. */
12110 if { (eval echo configure
:12111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12112 eval "ac_cv_lib_$ac_lib_var=yes"
12114 echo "configure: failed program was:" >&5
12115 cat conftest.
$ac_ext >&5
12117 eval "ac_cv_lib_$ac_lib_var=no"
12120 LIBS
="$ac_save_LIBS"
12123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12124 echo "$ac_t""yes" 1>&6
12126 cat >> confdefs.h
<<\EOF
12127 #define HAVE_WCSLEN 1
12133 echo "$ac_t""no" 1>&6
12140 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12141 echo "configure:12142: checking for vprintf" >&5
12142 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12143 echo $ac_n "(cached) $ac_c" 1>&6
12145 cat > conftest.
$ac_ext <<EOF
12146 #line 12147 "configure"
12147 #include "confdefs.h"
12148 /* System header to define __stub macros and hopefully few prototypes,
12149 which can conflict with char vprintf(); below. */
12150 #include <assert.h>
12151 /* Override any gcc2 internal prototype to avoid an error. */
12152 /* We use char because int might match the return type of a gcc2
12153 builtin and then its argument prototype would still apply. */
12158 /* The GNU C library defines this for functions which it implements
12159 to always fail with ENOSYS. Some functions are actually named
12160 something starting with __ and the normal name is an alias. */
12161 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12169 if { (eval echo configure
:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12171 eval "ac_cv_func_vprintf=yes"
12173 echo "configure: failed program was:" >&5
12174 cat conftest.
$ac_ext >&5
12176 eval "ac_cv_func_vprintf=no"
12181 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12182 echo "$ac_t""yes" 1>&6
12183 cat >> confdefs.h
<<\EOF
12184 #define HAVE_VPRINTF 1
12188 echo "$ac_t""no" 1>&6
12191 if test "$ac_cv_func_vprintf" != yes; then
12192 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12193 echo "configure:12194: checking for _doprnt" >&5
12194 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12195 echo $ac_n "(cached) $ac_c" 1>&6
12197 cat > conftest.
$ac_ext <<EOF
12198 #line 12199 "configure"
12199 #include "confdefs.h"
12200 /* System header to define __stub macros and hopefully few prototypes,
12201 which can conflict with char _doprnt(); below. */
12202 #include <assert.h>
12203 /* Override any gcc2 internal prototype to avoid an error. */
12204 /* We use char because int might match the return type of a gcc2
12205 builtin and then its argument prototype would still apply. */
12210 /* The GNU C library defines this for functions which it implements
12211 to always fail with ENOSYS. Some functions are actually named
12212 something starting with __ and the normal name is an alias. */
12213 #if defined (__stub__doprnt) || defined (__stub____doprnt)
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_func__doprnt=yes"
12225 echo "configure: failed program was:" >&5
12226 cat conftest.
$ac_ext >&5
12228 eval "ac_cv_func__doprnt=no"
12233 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12234 echo "$ac_t""yes" 1>&6
12235 cat >> confdefs.h
<<\EOF
12236 #define HAVE_DOPRNT 1
12240 echo "$ac_t""no" 1>&6
12251 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12252 echo "configure:12253: checking for vsnprintf" >&5
12253 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12254 echo $ac_n "(cached) $ac_c" 1>&6
12257 cat > conftest.
$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12262 #include <stdarg.h>
12266 int wx_test_vsnprintf(const char *, ...);
12268 wx_test_vsnprintf("%s");
12272 int wx_test_vsnprintf(const char *fmt, ...)
12277 va_start(argp, fmt);
12278 vsnprintf(s, 42, fmt, argp);
12283 if { (eval echo configure
:12284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12286 wx_cv_func_vsnprintf
=yes
12289 echo "configure: failed program was:" >&5
12290 cat conftest.
$ac_ext >&5
12293 cat > conftest.
$ac_ext <<EOF
12294 #line 12295 "configure"
12295 #include "confdefs.h"
12298 #include <stdarg.h>
12302 int wx_test_vsnprintf(const char *, ...);
12304 wx_test_vsnprintf("%s");
12308 int wx_test_vsnprintf(const char *fmt, ...)
12313 va_start(argp, fmt);
12314 _vsnprintf(s, 42, fmt, argp);
12319 if { (eval echo configure
:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12322 wx_cv_func_vsnprintf
=yes
12325 echo "configure: failed program was:" >&5
12326 cat conftest.
$ac_ext >&5
12329 wx_cv_func_vsnprintf
=no
12339 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12341 if test "$wx_cv_func_vsnprintf" = yes; then
12342 cat >> confdefs.h
<<\EOF
12343 #define HAVE_VSNPRINTF 1
12347 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12350 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12351 echo "configure:12352: checking for vsscanf" >&5
12352 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12353 echo $ac_n "(cached) $ac_c" 1>&6
12356 cat > conftest.
$ac_ext <<EOF
12357 #line 12358 "configure"
12358 #include "confdefs.h"
12361 #include <stdarg.h>
12365 int wx_test_vsscanf(const char *, ...);
12367 wx_test_vsscanf("%d");
12371 int wx_test_vsscanf(const char *fmt, ...)
12374 va_start(argp, fmt);
12375 vsscanf("42", fmt, argp);
12380 if { (eval echo configure
:12381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12383 wx_cv_func_vsscanf
=yes
12386 echo "configure: failed program was:" >&5
12387 cat conftest.
$ac_ext >&5
12390 wx_cv_func_vsscanf
=no
12397 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12399 if test "$wx_cv_func_vsscanf" = yes; then
12400 cat >> confdefs.h
<<\EOF
12401 #define HAVE_VSSCANF 1
12406 if test "$TOOLKIT" != "MSW"; then
12411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12412 ac_cpp
='$CXXCPP $CPPFLAGS'
12413 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12414 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12415 cross_compiling
=$ac_cv_prog_cxx_cross
12417 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12418 echo "configure:12419: checking if iconv() takes char**" >&5
12419 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12420 echo $ac_n "(cached) $ac_c" 1>&6
12423 cat > conftest.
$ac_ext <<EOF
12424 #line 12425 "configure"
12425 #include "confdefs.h"
12429 char **inbuf, **outbuf;
12431 size_t insz, outsz;
12432 iconv(cd, inbuf, &insz, outbuf, &outsz);
12436 if { (eval echo configure
:12437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12438 wx_cv_iconv_takes_char
=yes
12440 echo "configure: failed program was:" >&5
12441 cat conftest.
$ac_ext >&5
12443 wx_cv_iconv_takes_char
=no
12449 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12452 ac_cpp
='$CPP $CPPFLAGS'
12453 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12454 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12455 cross_compiling
=$ac_cv_prog_cc_cross
12457 if test "$wx_cv_iconv_takes_char" = yes ; then
12458 cat >> confdefs.h
<<\EOF
12459 #define WX_ICONV_TAKES_CHAR 1
12465 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12466 for ac_func
in sigaction
12468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12469 echo "configure:12470: checking for $ac_func" >&5
12470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12471 echo $ac_n "(cached) $ac_c" 1>&6
12473 cat > conftest.
$ac_ext <<EOF
12474 #line 12475 "configure"
12475 #include "confdefs.h"
12476 /* System header to define __stub macros and hopefully few prototypes,
12477 which can conflict with char $ac_func(); below. */
12478 #include <assert.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. */
12486 /* The GNU C library defines this for functions which it implements
12487 to always fail with ENOSYS. Some functions are actually named
12488 something starting with __ and the normal name is an alias. */
12489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12497 if { (eval echo configure
:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12499 eval "ac_cv_func_$ac_func=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 eval "ac_cv_func_$ac_func=no"
12509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12512 cat >> confdefs.h
<<EOF
12513 #define $ac_tr_func 1
12517 echo "$ac_t""no" 1>&6
12522 if test "$ac_cv_func_sigaction" = "no"; then
12523 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12524 wxUSE_ON_FATAL_EXCEPTION
=no
12527 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12531 ac_cpp
='$CXXCPP $CPPFLAGS'
12532 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12533 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12534 cross_compiling
=$ac_cv_prog_cxx_cross
12537 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12538 echo "configure:12539: checking for sa_handler type" >&5
12539 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12540 echo $ac_n "(cached) $ac_c" 1>&6
12543 cat > conftest.
$ac_ext <<EOF
12544 #line 12545 "configure"
12545 #include "confdefs.h"
12546 #include <signal.h>
12549 extern void testSigHandler(int);
12551 struct sigaction sa;
12552 sa.sa_handler = testSigHandler;
12556 if { (eval echo configure
:12557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12559 wx_cv_type_sa_handler
=int
12562 echo "configure: failed program was:" >&5
12563 cat conftest.
$ac_ext >&5
12566 wx_cv_type_sa_handler
=void
12573 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12577 ac_cpp
='$CPP $CPPFLAGS'
12578 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12579 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12580 cross_compiling
=$ac_cv_prog_cc_cross
12583 cat >> confdefs.h
<<EOF
12584 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12590 for ac_func
in vfork
12592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12593 echo "configure:12594: checking for $ac_func" >&5
12594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12595 echo $ac_n "(cached) $ac_c" 1>&6
12597 cat > conftest.
$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12600 /* System header to define __stub macros and hopefully few prototypes,
12601 which can conflict with char $ac_func(); below. */
12602 #include <assert.h>
12603 /* Override any gcc2 internal prototype to avoid an error. */
12604 /* We use char because int might match the return type of a gcc2
12605 builtin and then its argument prototype would still apply. */
12610 /* The GNU C library defines this for functions which it implements
12611 to always fail with ENOSYS. Some functions are actually named
12612 something starting with __ and the normal name is an alias. */
12613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12621 if { (eval echo configure
:12622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12623 eval "ac_cv_func_$ac_func=yes"
12625 echo "configure: failed program was:" >&5
12626 cat conftest.
$ac_ext >&5
12628 eval "ac_cv_func_$ac_func=no"
12633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12634 echo "$ac_t""yes" 1>&6
12635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12636 cat >> confdefs.h
<<EOF
12637 #define $ac_tr_func 1
12641 echo "$ac_t""no" 1>&6
12646 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12647 for ac_func
in fcntl flock
12649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12650 echo "configure:12651: checking for $ac_func" >&5
12651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12652 echo $ac_n "(cached) $ac_c" 1>&6
12654 cat > conftest.
$ac_ext <<EOF
12655 #line 12656 "configure"
12656 #include "confdefs.h"
12657 /* System header to define __stub macros and hopefully few prototypes,
12658 which can conflict with char $ac_func(); below. */
12659 #include <assert.h>
12660 /* Override any gcc2 internal prototype to avoid an error. */
12661 /* We use char because int might match the return type of a gcc2
12662 builtin and then its argument prototype would still apply. */
12667 /* The GNU C library defines this for functions which it implements
12668 to always fail with ENOSYS. Some functions are actually named
12669 something starting with __ and the normal name is an alias. */
12670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12678 if { (eval echo configure
:12679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12680 eval "ac_cv_func_$ac_func=yes"
12682 echo "configure: failed program was:" >&5
12683 cat conftest.
$ac_ext >&5
12685 eval "ac_cv_func_$ac_func=no"
12690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12691 echo "$ac_t""yes" 1>&6
12692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12693 cat >> confdefs.h
<<EOF
12694 #define $ac_tr_func 1
12698 echo "$ac_t""no" 1>&6
12703 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12704 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12705 wxUSE_SNGLINST_CHECKER
=no
12709 for ac_func
in timegm
12711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12712 echo "configure:12713: checking for $ac_func" >&5
12713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12714 echo $ac_n "(cached) $ac_c" 1>&6
12716 cat > conftest.
$ac_ext <<EOF
12717 #line 12718 "configure"
12718 #include "confdefs.h"
12719 /* System header to define __stub macros and hopefully few prototypes,
12720 which can conflict with char $ac_func(); below. */
12721 #include <assert.h>
12722 /* Override any gcc2 internal prototype to avoid an error. */
12723 /* We use char because int might match the return type of a gcc2
12724 builtin and then its argument prototype would still apply. */
12729 /* The GNU C library defines this for functions which it implements
12730 to always fail with ENOSYS. Some functions are actually named
12731 something starting with __ and the normal name is an alias. */
12732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12740 if { (eval echo configure
:12741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12742 eval "ac_cv_func_$ac_func=yes"
12744 echo "configure: failed program was:" >&5
12745 cat conftest.
$ac_ext >&5
12747 eval "ac_cv_func_$ac_func=no"
12752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12753 echo "$ac_t""yes" 1>&6
12754 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12755 cat >> confdefs.h
<<EOF
12756 #define $ac_tr_func 1
12760 echo "$ac_t""no" 1>&6
12765 for ac_func
in putenv setenv
12767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12768 echo "configure:12769: checking for $ac_func" >&5
12769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12770 echo $ac_n "(cached) $ac_c" 1>&6
12772 cat > conftest.
$ac_ext <<EOF
12773 #line 12774 "configure"
12774 #include "confdefs.h"
12775 /* System header to define __stub macros and hopefully few prototypes,
12776 which can conflict with char $ac_func(); below. */
12777 #include <assert.h>
12778 /* Override any gcc2 internal prototype to avoid an error. */
12779 /* We use char because int might match the return type of a gcc2
12780 builtin and then its argument prototype would still apply. */
12785 /* The GNU C library defines this for functions which it implements
12786 to always fail with ENOSYS. Some functions are actually named
12787 something starting with __ and the normal name is an alias. */
12788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12796 if { (eval echo configure
:12797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12798 eval "ac_cv_func_$ac_func=yes"
12800 echo "configure: failed program was:" >&5
12801 cat conftest.
$ac_ext >&5
12803 eval "ac_cv_func_$ac_func=no"
12808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12809 echo "$ac_t""yes" 1>&6
12810 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12811 cat >> confdefs.h
<<EOF
12812 #define $ac_tr_func 1
12816 echo "$ac_t""no" 1>&6
12821 HAVE_SOME_SLEEP_FUNC
=0
12822 if test "$USE_BEOS" = 1; then
12823 cat >> confdefs.h
<<\EOF
12824 #define HAVE_SLEEP 1
12827 HAVE_SOME_SLEEP_FUNC
=1
12830 if test "$USE_MAC" = 1; then
12831 cat >> confdefs.h
<<\EOF
12832 #define HAVE_USLEEP 1
12835 HAVE_SOME_SLEEP_FUNC
=1
12838 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12840 for ac_func
in nanosleep
12842 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12843 echo "configure:12844: checking for $ac_func" >&5
12844 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12845 echo $ac_n "(cached) $ac_c" 1>&6
12847 cat > conftest.
$ac_ext <<EOF
12848 #line 12849 "configure"
12849 #include "confdefs.h"
12850 /* System header to define __stub macros and hopefully few prototypes,
12851 which can conflict with char $ac_func(); below. */
12852 #include <assert.h>
12853 /* Override any gcc2 internal prototype to avoid an error. */
12854 /* We use char because int might match the return type of a gcc2
12855 builtin and then its argument prototype would still apply. */
12860 /* The GNU C library defines this for functions which it implements
12861 to always fail with ENOSYS. Some functions are actually named
12862 something starting with __ and the normal name is an alias. */
12863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12871 if { (eval echo configure
:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12873 eval "ac_cv_func_$ac_func=yes"
12875 echo "configure: failed program was:" >&5
12876 cat conftest.
$ac_ext >&5
12878 eval "ac_cv_func_$ac_func=no"
12883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12884 echo "$ac_t""yes" 1>&6
12885 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12886 cat >> confdefs.h
<<EOF
12887 #define $ac_tr_func 1
12889 cat >> confdefs.h
<<\EOF
12890 #define HAVE_NANOSLEEP 1
12894 echo "$ac_t""no" 1>&6
12895 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
12896 echo "configure:12897: checking for nanosleep in -lposix4" >&5
12897 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
12898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12899 echo $ac_n "(cached) $ac_c" 1>&6
12901 ac_save_LIBS
="$LIBS"
12902 LIBS
="-lposix4 $LIBS"
12903 cat > conftest.
$ac_ext <<EOF
12904 #line 12905 "configure"
12905 #include "confdefs.h"
12906 /* Override any gcc2 internal prototype to avoid an error. */
12907 /* We use char because int might match the return type of a gcc2
12908 builtin and then its argument prototype would still apply. */
12915 if { (eval echo configure
:12916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12917 eval "ac_cv_lib_$ac_lib_var=yes"
12919 echo "configure: failed program was:" >&5
12920 cat conftest.
$ac_ext >&5
12922 eval "ac_cv_lib_$ac_lib_var=no"
12925 LIBS
="$ac_save_LIBS"
12928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12929 echo "$ac_t""yes" 1>&6
12931 cat >> confdefs.h
<<\EOF
12932 #define HAVE_NANOSLEEP 1
12935 POSIX4_LINK
="-lposix4"
12938 echo "$ac_t""no" 1>&6
12940 for ac_func
in usleep
12942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12943 echo "configure:12944: checking for $ac_func" >&5
12944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12945 echo $ac_n "(cached) $ac_c" 1>&6
12947 cat > conftest.
$ac_ext <<EOF
12948 #line 12949 "configure"
12949 #include "confdefs.h"
12950 /* System header to define __stub macros and hopefully few prototypes,
12951 which can conflict with char $ac_func(); below. */
12952 #include <assert.h>
12953 /* Override any gcc2 internal prototype to avoid an error. */
12954 /* We use char because int might match the return type of a gcc2
12955 builtin and then its argument prototype would still apply. */
12960 /* The GNU C library defines this for functions which it implements
12961 to always fail with ENOSYS. Some functions are actually named
12962 something starting with __ and the normal name is an alias. */
12963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12971 if { (eval echo configure
:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12973 eval "ac_cv_func_$ac_func=yes"
12975 echo "configure: failed program was:" >&5
12976 cat conftest.
$ac_ext >&5
12978 eval "ac_cv_func_$ac_func=no"
12983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12984 echo "$ac_t""yes" 1>&6
12985 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12986 cat >> confdefs.h
<<EOF
12987 #define $ac_tr_func 1
12989 cat >> confdefs.h
<<\EOF
12990 #define HAVE_USLEEP 1
12994 echo "$ac_t""no" 1>&6
12995 echo "configure: warning: wxSleep() function will not work" 1>&2
13011 for ac_func
in uname gethostname
13013 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13014 echo "configure:13015: checking for $ac_func" >&5
13015 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13018 cat > conftest.
$ac_ext <<EOF
13019 #line 13020 "configure"
13020 #include "confdefs.h"
13021 /* System header to define __stub macros and hopefully few prototypes,
13022 which can conflict with char $ac_func(); below. */
13023 #include <assert.h>
13024 /* Override any gcc2 internal prototype to avoid an error. */
13025 /* We use char because int might match the return type of a gcc2
13026 builtin and then its argument prototype would still apply. */
13031 /* The GNU C library defines this for functions which it implements
13032 to always fail with ENOSYS. Some functions are actually named
13033 something starting with __ and the normal name is an alias. */
13034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13042 if { (eval echo configure
:13043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13044 eval "ac_cv_func_$ac_func=yes"
13046 echo "configure: failed program was:" >&5
13047 cat conftest.
$ac_ext >&5
13049 eval "ac_cv_func_$ac_func=no"
13054 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13055 echo "$ac_t""yes" 1>&6
13056 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13057 cat >> confdefs.h
<<EOF
13058 #define $ac_tr_func 1
13062 echo "$ac_t""no" 1>&6
13069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13070 ac_cpp
='$CXXCPP $CPPFLAGS'
13071 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13072 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13073 cross_compiling
=$ac_cv_prog_cxx_cross
13076 for ac_func
in strtok_r
13078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13079 echo "configure:13080: checking for $ac_func" >&5
13080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13086 /* System header to define __stub macros and hopefully few prototypes,
13087 which can conflict with char $ac_func(); below. */
13088 #include <assert.h>
13089 /* Override any gcc2 internal prototype to avoid an error. */
13093 /* We use char because int might match the return type of a gcc2
13094 builtin and then its argument prototype would still apply. */
13099 /* The GNU C library defines this for functions which it implements
13100 to always fail with ENOSYS. Some functions are actually named
13101 something starting with __ and the normal name is an alias. */
13102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13110 if { (eval echo configure
:13111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13112 eval "ac_cv_func_$ac_func=yes"
13114 echo "configure: failed program was:" >&5
13115 cat conftest.
$ac_ext >&5
13117 eval "ac_cv_func_$ac_func=no"
13122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13123 echo "$ac_t""yes" 1>&6
13124 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13125 cat >> confdefs.h
<<EOF
13126 #define $ac_tr_func 1
13130 echo "$ac_t""no" 1>&6
13136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13137 ac_cpp
='$CPP $CPPFLAGS'
13138 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13139 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13140 cross_compiling
=$ac_cv_prog_cc_cross
13144 for ac_func
in inet_addr
13146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13147 echo "configure:13148: checking for $ac_func" >&5
13148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13151 cat > conftest.
$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13154 /* System header to define __stub macros and hopefully few prototypes,
13155 which can conflict with char $ac_func(); below. */
13156 #include <assert.h>
13157 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13164 /* The GNU C library defines this for functions which it implements
13165 to always fail with ENOSYS. Some functions are actually named
13166 something starting with __ and the normal name is an alias. */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 if { (eval echo configure
:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13177 eval "ac_cv_func_$ac_func=yes"
13179 echo "configure: failed program was:" >&5
13180 cat conftest.
$ac_ext >&5
13182 eval "ac_cv_func_$ac_func=no"
13187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13188 echo "$ac_t""yes" 1>&6
13189 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13190 cat >> confdefs.h
<<EOF
13191 #define $ac_tr_func 1
13193 cat >> confdefs.h
<<\EOF
13194 #define HAVE_INET_ADDR 1
13198 echo "$ac_t""no" 1>&6
13199 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13200 echo "configure:13201: checking for inet_addr in -lnsl" >&5
13201 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13203 echo $ac_n "(cached) $ac_c" 1>&6
13205 ac_save_LIBS
="$LIBS"
13207 cat > conftest.
$ac_ext <<EOF
13208 #line 13209 "configure"
13209 #include "confdefs.h"
13210 /* Override any gcc2 internal prototype to avoid an error. */
13211 /* We use char because int might match the return type of a gcc2
13212 builtin and then its argument prototype would still apply. */
13219 if { (eval echo configure
:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13221 eval "ac_cv_lib_$ac_lib_var=yes"
13223 echo "configure: failed program was:" >&5
13224 cat conftest.
$ac_ext >&5
13226 eval "ac_cv_lib_$ac_lib_var=no"
13229 LIBS
="$ac_save_LIBS"
13232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13233 echo "$ac_t""yes" 1>&6
13236 echo "$ac_t""no" 1>&6
13237 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13238 echo "configure:13239: checking for inet_addr in -lresolv" >&5
13239 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13243 ac_save_LIBS
="$LIBS"
13244 LIBS
="-lresolv $LIBS"
13245 cat > conftest.
$ac_ext <<EOF
13246 #line 13247 "configure"
13247 #include "confdefs.h"
13248 /* Override any gcc2 internal prototype to avoid an error. */
13249 /* We use char because int might match the return type of a gcc2
13250 builtin and then its argument prototype would still apply. */
13257 if { (eval echo configure
:13258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13259 eval "ac_cv_lib_$ac_lib_var=yes"
13261 echo "configure: failed program was:" >&5
13262 cat conftest.
$ac_ext >&5
13264 eval "ac_cv_lib_$ac_lib_var=no"
13267 LIBS
="$ac_save_LIBS"
13270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13271 echo "$ac_t""yes" 1>&6
13275 echo "$ac_t""no" 1>&6
13287 for ac_func
in inet_aton
13289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13290 echo "configure:13291: checking for $ac_func" >&5
13291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13292 echo $ac_n "(cached) $ac_c" 1>&6
13294 cat > conftest.
$ac_ext <<EOF
13295 #line 13296 "configure"
13296 #include "confdefs.h"
13297 /* System header to define __stub macros and hopefully few prototypes,
13298 which can conflict with char $ac_func(); below. */
13299 #include <assert.h>
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 /* We use char because int might match the return type of a gcc2
13302 builtin and then its argument prototype would still apply. */
13307 /* The GNU C library defines this for functions which it implements
13308 to always fail with ENOSYS. Some functions are actually named
13309 something starting with __ and the normal name is an alias. */
13310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13318 if { (eval echo configure
:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13320 eval "ac_cv_func_$ac_func=yes"
13322 echo "configure: failed program was:" >&5
13323 cat conftest.
$ac_ext >&5
13325 eval "ac_cv_func_$ac_func=no"
13330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13331 echo "$ac_t""yes" 1>&6
13332 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13333 cat >> confdefs.h
<<EOF
13334 #define $ac_tr_func 1
13336 cat >> confdefs.h
<<\EOF
13337 #define HAVE_INET_ATON 1
13341 echo "$ac_t""no" 1>&6
13342 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13343 echo "configure:13344: checking for inet_aton in -l$INET_LINK" >&5
13344 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13345 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13346 echo $ac_n "(cached) $ac_c" 1>&6
13348 ac_save_LIBS
="$LIBS"
13349 LIBS
="-l$INET_LINK $LIBS"
13350 cat > conftest.
$ac_ext <<EOF
13351 #line 13352 "configure"
13352 #include "confdefs.h"
13353 /* Override any gcc2 internal prototype to avoid an error. */
13354 /* We use char because int might match the return type of a gcc2
13355 builtin and then its argument prototype would still apply. */
13362 if { (eval echo configure
:13363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13364 eval "ac_cv_lib_$ac_lib_var=yes"
13366 echo "configure: failed program was:" >&5
13367 cat conftest.
$ac_ext >&5
13369 eval "ac_cv_lib_$ac_lib_var=no"
13372 LIBS
="$ac_save_LIBS"
13375 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13376 echo "$ac_t""yes" 1>&6
13377 cat >> confdefs.h
<<\EOF
13378 #define HAVE_INET_ATON 1
13382 echo "$ac_t""no" 1>&6
13390 if test "x$INET_LINK" != "x"; then
13391 cat >> confdefs.h
<<\EOF
13392 #define HAVE_INET_ADDR 1
13395 INET_LINK
="-l$INET_LINK"
13401 cat > confcache
<<\EOF
13402 # This file is a shell script that caches the results of configure
13403 # tests run on this system so they can be shared between configure
13404 # scripts and configure runs. It is not useful on other systems.
13405 # If it contains results you don't want to keep, you may remove or edit it.
13407 # By default, configure uses ./config.cache as the cache file,
13408 # creating it if it does not exist already. You can give configure
13409 # the --cache-file=FILE option to use a different cache file; that is
13410 # what configure does when it calls configure scripts in
13411 # subdirectories, so they share the cache.
13412 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13413 # config.status only pays attention to the cache file if you give it the
13414 # --recheck option to rerun configure.
13417 # The following way of writing the cache mishandles newlines in values,
13418 # but we know of no workaround that is simple, portable, and efficient.
13419 # So, don't put newlines in cache variables' values.
13420 # Ultrix sh set writes to stderr and can't be redirected directly,
13421 # and sets the high bit in the cache file unless we assign to the vars.
13423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13425 # `set' does not quote correctly, so add quotes (double-quote substitution
13426 # turns \\\\ into \\, and sed turns \\ into \).
13428 -e "s/'/'\\\\''/g" \
13429 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13432 # `set' quotes correctly as required by POSIX, so do not add quotes.
13433 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13436 if cmp -s $cache_file confcache
; then
13439 if test -w $cache_file; then
13440 echo "updating cache $cache_file"
13441 cat confcache
> $cache_file
13443 echo "not updating unwritable cache $cache_file"
13450 if test "$TOOLKIT" != "MSW"; then
13456 if test "$wxUSE_THREADS" = "yes" ; then
13457 if test "$wxUSE_WINE" = 1 ; then
13458 echo "configure: warning: Threads are not supported under WINE" 1>&2
13460 elif test "$USE_BEOS" = 1; then
13461 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13466 if test "$wxUSE_THREADS" = "yes" ; then
13468 if test "$USE_AIX" = 1; then
13469 THREADS_LIB
=pthreads
13471 THREADS_LIB
=pthread
13474 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13475 echo "configure:13476: checking for pthread_create in -l$THREADS_LIB" >&5
13476 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13478 echo $ac_n "(cached) $ac_c" 1>&6
13480 ac_save_LIBS
="$LIBS"
13481 LIBS
="-l$THREADS_LIB $LIBS"
13482 cat > conftest.
$ac_ext <<EOF
13483 #line 13484 "configure"
13484 #include "confdefs.h"
13485 /* Override any gcc2 internal prototype to avoid an error. */
13486 /* We use char because int might match the return type of a gcc2
13487 builtin and then its argument prototype would still apply. */
13488 char pthread_create();
13494 if { (eval echo configure
:13495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13496 eval "ac_cv_lib_$ac_lib_var=yes"
13498 echo "configure: failed program was:" >&5
13499 cat conftest.
$ac_ext >&5
13501 eval "ac_cv_lib_$ac_lib_var=no"
13504 LIBS
="$ac_save_LIBS"
13507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13508 echo "$ac_t""yes" 1>&6
13510 THREADS_OBJ
="threadpsx.lo"
13511 THREADS_LINK
=$THREADS_LIB
13514 echo "$ac_t""no" 1>&6
13516 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13517 echo "configure:13518: checking for pthread_create in -lc_r" >&5
13518 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13520 echo $ac_n "(cached) $ac_c" 1>&6
13522 ac_save_LIBS
="$LIBS"
13524 cat > conftest.
$ac_ext <<EOF
13525 #line 13526 "configure"
13526 #include "confdefs.h"
13527 /* Override any gcc2 internal prototype to avoid an error. */
13528 /* We use char because int might match the return type of a gcc2
13529 builtin and then its argument prototype would still apply. */
13530 char pthread_create();
13536 if { (eval echo configure
:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13538 eval "ac_cv_lib_$ac_lib_var=yes"
13540 echo "configure: failed program was:" >&5
13541 cat conftest.
$ac_ext >&5
13543 eval "ac_cv_lib_$ac_lib_var=no"
13546 LIBS
="$ac_save_LIBS"
13549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13550 echo "$ac_t""yes" 1>&6
13552 THREADS_OBJ
="threadpsx.lo"
13556 echo "$ac_t""no" 1>&6
13558 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13559 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13560 echo "configure:13561: checking for sys/prctl.h" >&5
13561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13562 echo $ac_n "(cached) $ac_c" 1>&6
13564 cat > conftest.
$ac_ext <<EOF
13565 #line 13566 "configure"
13566 #include "confdefs.h"
13567 #include <sys/prctl.h>
13569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13570 { (eval echo configure
:13571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13572 if test -z "$ac_err"; then
13574 eval "ac_cv_header_$ac_safe=yes"
13577 echo "configure: failed program was:" >&5
13578 cat conftest.
$ac_ext >&5
13580 eval "ac_cv_header_$ac_safe=no"
13584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13585 echo "$ac_t""yes" 1>&6
13587 THREADS_OBJ
="threadsgi.lo"
13590 echo "$ac_t""no" 1>&6
13600 if test -z "$THREADS_OBJ" ; then
13602 echo "configure: warning: No thread support on this system" 1>&2
13606 if test "$wxUSE_THREADS" = "yes" ; then
13607 for ac_func
in thr_setconcurrency
13609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13610 echo "configure:13611: checking for $ac_func" >&5
13611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13612 echo $ac_n "(cached) $ac_c" 1>&6
13614 cat > conftest.
$ac_ext <<EOF
13615 #line 13616 "configure"
13616 #include "confdefs.h"
13617 /* System header to define __stub macros and hopefully few prototypes,
13618 which can conflict with char $ac_func(); below. */
13619 #include <assert.h>
13620 /* Override any gcc2 internal prototype to avoid an error. */
13621 /* We use char because int might match the return type of a gcc2
13622 builtin and then its argument prototype would still apply. */
13627 /* The GNU C library defines this for functions which it implements
13628 to always fail with ENOSYS. Some functions are actually named
13629 something starting with __ and the normal name is an alias. */
13630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13638 if { (eval echo configure
:13639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13640 eval "ac_cv_func_$ac_func=yes"
13642 echo "configure: failed program was:" >&5
13643 cat conftest.
$ac_ext >&5
13645 eval "ac_cv_func_$ac_func=no"
13650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13651 echo "$ac_t""yes" 1>&6
13652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13653 cat >> confdefs.h
<<EOF
13654 #define $ac_tr_func 1
13658 echo "$ac_t""no" 1>&6
13664 for ac_hdr
in sched.h
13666 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13667 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13668 echo "configure:13669: checking for $ac_hdr" >&5
13669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13670 echo $ac_n "(cached) $ac_c" 1>&6
13672 cat > conftest.
$ac_ext <<EOF
13673 #line 13674 "configure"
13674 #include "confdefs.h"
13677 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13678 { (eval echo configure
:13679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13679 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13680 if test -z "$ac_err"; then
13682 eval "ac_cv_header_$ac_safe=yes"
13685 echo "configure: failed program was:" >&5
13686 cat conftest.
$ac_ext >&5
13688 eval "ac_cv_header_$ac_safe=no"
13692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13693 echo "$ac_t""yes" 1>&6
13694 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13695 cat >> confdefs.h
<<EOF
13696 #define $ac_tr_hdr 1
13700 echo "$ac_t""no" 1>&6
13705 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13706 echo "configure:13707: checking for sched_yield in -l$THREADS_LINK" >&5
13707 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13711 ac_save_LIBS
="$LIBS"
13712 LIBS
="-l$THREADS_LINK $LIBS"
13713 cat > conftest.
$ac_ext <<EOF
13714 #line 13715 "configure"
13715 #include "confdefs.h"
13716 /* Override any gcc2 internal prototype to avoid an error. */
13717 /* We use char because int might match the return type of a gcc2
13718 builtin and then its argument prototype would still apply. */
13719 char sched_yield();
13725 if { (eval echo configure
:13726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13727 eval "ac_cv_lib_$ac_lib_var=yes"
13729 echo "configure: failed program was:" >&5
13730 cat conftest.
$ac_ext >&5
13732 eval "ac_cv_lib_$ac_lib_var=no"
13735 LIBS
="$ac_save_LIBS"
13738 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13739 echo "$ac_t""yes" 1>&6
13740 cat >> confdefs.h
<<\EOF
13741 #define HAVE_SCHED_YIELD 1
13745 echo "$ac_t""no" 1>&6
13746 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13747 echo "configure:13748: checking for sched_yield in -lposix4" >&5
13748 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 ac_save_LIBS
="$LIBS"
13753 LIBS
="-lposix4 $LIBS"
13754 cat > conftest.
$ac_ext <<EOF
13755 #line 13756 "configure"
13756 #include "confdefs.h"
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13760 char sched_yield();
13766 if { (eval echo configure
:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13768 eval "ac_cv_lib_$ac_lib_var=yes"
13770 echo "configure: failed program was:" >&5
13771 cat conftest.
$ac_ext >&5
13773 eval "ac_cv_lib_$ac_lib_var=no"
13776 LIBS
="$ac_save_LIBS"
13779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13780 echo "$ac_t""yes" 1>&6
13781 cat >> confdefs.h
<<\EOF
13782 #define HAVE_SCHED_YIELD 1
13784 POSIX4_LINK
="-lposix4"
13786 echo "$ac_t""no" 1>&6
13787 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13796 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13797 echo "configure:13798: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13798 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13800 echo $ac_n "(cached) $ac_c" 1>&6
13802 ac_save_LIBS
="$LIBS"
13803 LIBS
="-l$THREADS_LINK $LIBS"
13804 cat > conftest.
$ac_ext <<EOF
13805 #line 13806 "configure"
13806 #include "confdefs.h"
13807 /* Override any gcc2 internal prototype to avoid an error. */
13808 /* We use char because int might match the return type of a gcc2
13809 builtin and then its argument prototype would still apply. */
13810 char pthread_attr_getschedpolicy();
13813 pthread_attr_getschedpolicy()
13816 if { (eval echo configure
:13817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13818 eval "ac_cv_lib_$ac_lib_var=yes"
13820 echo "configure: failed program was:" >&5
13821 cat conftest.
$ac_ext >&5
13823 eval "ac_cv_lib_$ac_lib_var=no"
13826 LIBS
="$ac_save_LIBS"
13829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13830 echo "$ac_t""yes" 1>&6
13831 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13832 echo "configure:13833: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13833 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13835 echo $ac_n "(cached) $ac_c" 1>&6
13837 ac_save_LIBS
="$LIBS"
13838 LIBS
="-l$THREADS_LINK $LIBS"
13839 cat > conftest.
$ac_ext <<EOF
13840 #line 13841 "configure"
13841 #include "confdefs.h"
13842 /* Override any gcc2 internal prototype to avoid an error. */
13843 /* We use char because int might match the return type of a gcc2
13844 builtin and then its argument prototype would still apply. */
13845 char pthread_attr_setschedparam();
13848 pthread_attr_setschedparam()
13851 if { (eval echo configure
:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13853 eval "ac_cv_lib_$ac_lib_var=yes"
13855 echo "configure: failed program was:" >&5
13856 cat conftest.
$ac_ext >&5
13858 eval "ac_cv_lib_$ac_lib_var=no"
13861 LIBS
="$ac_save_LIBS"
13864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13865 echo "$ac_t""yes" 1>&6
13866 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13867 echo "configure:13868: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13868 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13870 echo $ac_n "(cached) $ac_c" 1>&6
13872 ac_save_LIBS
="$LIBS"
13873 LIBS
="-l$THREADS_LINK $LIBS"
13874 cat > conftest.
$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13877 /* Override any gcc2 internal prototype to avoid an error. */
13878 /* We use char because int might match the return type of a gcc2
13879 builtin and then its argument prototype would still apply. */
13880 char sched_get_priority_max();
13883 sched_get_priority_max()
13886 if { (eval echo configure
:13887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13888 eval "ac_cv_lib_$ac_lib_var=yes"
13890 echo "configure: failed program was:" >&5
13891 cat conftest.
$ac_ext >&5
13893 eval "ac_cv_lib_$ac_lib_var=no"
13896 LIBS
="$ac_save_LIBS"
13899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13900 echo "$ac_t""yes" 1>&6
13903 echo "$ac_t""no" 1>&6
13904 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
13905 echo "configure:13906: checking for sched_get_priority_max in -lposix4" >&5
13906 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13910 ac_save_LIBS
="$LIBS"
13911 LIBS
="-lposix4 $LIBS"
13912 cat > conftest.
$ac_ext <<EOF
13913 #line 13914 "configure"
13914 #include "confdefs.h"
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 /* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13918 char sched_get_priority_max();
13921 sched_get_priority_max()
13924 if { (eval echo configure
:13925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13926 eval "ac_cv_lib_$ac_lib_var=yes"
13928 echo "configure: failed program was:" >&5
13929 cat conftest.
$ac_ext >&5
13931 eval "ac_cv_lib_$ac_lib_var=no"
13934 LIBS
="$ac_save_LIBS"
13937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13938 echo "$ac_t""yes" 1>&6
13941 POSIX4_LINK
="-lposix4"
13944 echo "$ac_t""no" 1>&6
13952 echo "$ac_t""no" 1>&6
13957 echo "$ac_t""no" 1>&6
13961 if test "$HAVE_PRIOR_FUNCS" = 1; then
13962 cat >> confdefs.h
<<\EOF
13963 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
13967 echo "configure: warning: Setting thread priority will not work" 1>&2
13970 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
13971 echo "configure:13972: checking for pthread_cancel in -l$THREADS_LINK" >&5
13972 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
13973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13974 echo $ac_n "(cached) $ac_c" 1>&6
13976 ac_save_LIBS
="$LIBS"
13977 LIBS
="-l$THREADS_LINK $LIBS"
13978 cat > conftest.
$ac_ext <<EOF
13979 #line 13980 "configure"
13980 #include "confdefs.h"
13981 /* Override any gcc2 internal prototype to avoid an error. */
13982 /* We use char because int might match the return type of a gcc2
13983 builtin and then its argument prototype would still apply. */
13984 char pthread_cancel();
13990 if { (eval echo configure
:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13992 eval "ac_cv_lib_$ac_lib_var=yes"
13994 echo "configure: failed program was:" >&5
13995 cat conftest.
$ac_ext >&5
13997 eval "ac_cv_lib_$ac_lib_var=no"
14000 LIBS
="$ac_save_LIBS"
14003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14004 echo "$ac_t""yes" 1>&6
14005 cat >> confdefs.h
<<\EOF
14006 #define HAVE_PTHREAD_CANCEL 1
14010 echo "$ac_t""no" 1>&6
14011 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14015 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14016 echo "configure:14017: checking for pthread_cleanup_push/pop" >&5
14017 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14018 echo $ac_n "(cached) $ac_c" 1>&6
14021 cat > conftest.
$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14024 #include <pthread.h>
14027 pthread_cleanup_push(NULL, NULL);
14028 pthread_cleanup_pop(0);
14032 if { (eval echo configure
:14033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14035 wx_cv_func_pthread_cleanup_push
=yes
14038 echo "configure: failed program was:" >&5
14039 cat conftest.
$ac_ext >&5
14042 wx_cv_func_pthread_cleanup_push
=no
14049 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14051 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14052 cat >> confdefs.h
<<\EOF
14053 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14059 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14060 echo "configure:14061: checking for pthread_mutexattr_t" >&5
14061 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14065 cat > conftest.
$ac_ext <<EOF
14066 #line 14067 "configure"
14067 #include "confdefs.h"
14068 #include <pthread.h>
14071 pthread_mutexattr_t attr;
14072 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14076 if { (eval echo configure
:14077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14079 wx_cv_type_pthread_mutexattr_t
=yes
14082 echo "configure: failed program was:" >&5
14083 cat conftest.
$ac_ext >&5
14086 wx_cv_type_pthread_mutexattr_t
=no
14094 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14096 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14097 cat >> confdefs.h
<<\EOF
14098 #define HAVE_PTHREAD_MUTEXATTR_T 1
14102 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14103 echo "configure:14104: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14104 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14108 cat > conftest.
$ac_ext <<EOF
14109 #line 14110 "configure"
14110 #include "confdefs.h"
14111 #include <pthread.h>
14114 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14118 if { (eval echo configure
:14119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14121 wx_cv_type_pthread_rec_mutex_init
=yes
14124 echo "configure: failed program was:" >&5
14125 cat conftest.
$ac_ext >&5
14128 wx_cv_type_pthread_rec_mutex_init
=no
14136 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14137 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14138 cat >> confdefs.h
<<\EOF
14139 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14143 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14147 THREADS_LINK
="-l$THREADS_LINK"
14149 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14150 CFLAGS
="${CFLAGS} -mt"
14151 CXXFLAGS
="${CXXFLAGS} -mt"
14152 LDFLAGS
="${LDFLAGS} -mt"
14158 if test "$wxUSE_THREADS" = "yes"; then
14159 cat >> confdefs.h
<<\EOF
14160 #define wxUSE_THREADS 1
14164 if test "$wxUSE_MAC" = "0"; then
14165 CFLAGS
="${CFLAGS} -D_REENTRANT"
14166 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14171 if test "$ac_cv_func_strtok_r" = "yes"; then
14172 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14173 echo "configure:14174: checking if -D_REENTRANT is needed" >&5
14174 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14175 CFLAGS
="${CFLAGS} -D_REENTRANT"
14176 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14177 echo "$ac_t""yes" 1>&6
14179 echo "$ac_t""no" 1>&6
14184 if test "$WXGTK20" = 1 ; then
14185 cat >> confdefs.h
<<EOF
14186 #define __WXGTK20__ $WXGTK20
14192 if test "$WXGTK12" = 1 ; then
14193 cat >> confdefs.h
<<EOF
14194 #define __WXGTK12__ $WXGTK12
14199 if test "$WXGTK127" = 1 ; then
14200 cat >> confdefs.h
<<EOF
14201 #define __WXGTK127__ $WXGTK127
14206 if test "$WXWINE" = 1 ; then
14207 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14210 if test "$wxUSE_MAC" = 1 ; then
14211 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14212 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14213 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14214 # Extract the first word of "Rez", so it can be a program name with args.
14215 set dummy Rez
; ac_word
=$2
14216 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14217 echo "configure:14218: checking for $ac_word" >&5
14218 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14219 echo $ac_n "(cached) $ac_c" 1>&6
14221 if test -n "$REZ"; then
14222 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14224 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14226 for ac_dir
in $ac_dummy; do
14227 test -z "$ac_dir" && ac_dir
=.
14228 if test -f $ac_dir/$ac_word; then
14229 ac_cv_prog_REZ
="Rez"
14234 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14237 REZ
="$ac_cv_prog_REZ"
14238 if test -n "$REZ"; then
14239 echo "$ac_t""$REZ" 1>&6
14241 echo "$ac_t""no" 1>&6
14244 # Extract the first word of "Derez", so it can be a program name with args.
14245 set dummy Derez
; ac_word
=$2
14246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14247 echo "configure:14248: checking for $ac_word" >&5
14248 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14249 echo $ac_n "(cached) $ac_c" 1>&6
14251 if test -n "$DEREZ"; then
14252 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14254 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14256 for ac_dir
in $ac_dummy; do
14257 test -z "$ac_dir" && ac_dir
=.
14258 if test -f $ac_dir/$ac_word; then
14259 ac_cv_prog_DEREZ
="Derez"
14264 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14267 DEREZ
="$ac_cv_prog_DEREZ"
14268 if test -n "$DEREZ"; then
14269 echo "$ac_t""$DEREZ" 1>&6
14271 echo "$ac_t""no" 1>&6
14275 REZFLAGS
="-d __UNIX__ -useDF"
14276 DEREZFLAGS
="Carbon.r -useDF"
14277 RESFLAGS
="Carbon.r -t APPL"
14278 LIBWXMACRES
="\$(LIBWX_MACRES)"
14279 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14282 if test "$wxUSE_CYGWIN" = 1 ; then
14283 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14288 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14293 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14294 wxUSE_DEBUG_INFO
=yes
14298 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14299 cat >> confdefs.h
<<\EOF
14303 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14305 if test "$wxUSE_GTK" = 1 ; then
14306 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14310 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14311 cat >> confdefs.h
<<\EOF
14312 #define wxUSE_MEMORY_TRACING 1
14315 cat >> confdefs.h
<<\EOF
14316 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14319 cat >> confdefs.h
<<\EOF
14320 #define wxUSE_DEBUG_NEW_ALWAYS 1
14323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14326 if test "$wxUSE_DMALLOC" = "yes" ; then
14327 DMALLOC_LINK
="-ldmalloc"
14331 if test "$wxUSE_PROFILE" = "yes" ; then
14337 CODE_GEN_FLAGS_CXX
=
14338 if test "$GCC" = yes ; then
14339 if test "$wxUSE_NO_RTTI" = "yes" ; then
14340 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14342 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14343 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14345 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14346 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14348 if test "$wxUSE_NO_DEPS" = "no" ; then
14349 DEP_INFO_FLAGS
="-MMD"
14354 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14355 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14356 if test "$wxUSE_OPTIMISE" = "no" ; then
14359 if test "$GCC" = yes ; then
14362 i586
-*-*|i686
-*-* )
14363 OPTIMISE
="${OPTIMISE} "
14373 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14374 cat >> confdefs.h
<<\EOF
14375 #define wxUSE_ZLIB 1
14378 if test "$wxUSE_ZLIB" = "yes" ; then
14379 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14382 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14383 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14384 echo "configure:14385: checking for zlib.h" >&5
14385 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14386 echo $ac_n "(cached) $ac_c" 1>&6
14388 cat > conftest.
$ac_ext <<EOF
14389 #line 14390 "configure"
14390 #include "confdefs.h"
14393 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14394 { (eval echo configure
:14395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14395 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14396 if test -z "$ac_err"; then
14398 eval "ac_cv_header_$ac_safe=yes"
14401 echo "configure: failed program was:" >&5
14402 cat conftest.
$ac_ext >&5
14404 eval "ac_cv_header_$ac_safe=no"
14408 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14409 echo "$ac_t""yes" 1>&6
14410 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14411 echo "configure:14412: checking for deflate in -lz" >&5
14412 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14414 echo $ac_n "(cached) $ac_c" 1>&6
14416 ac_save_LIBS
="$LIBS"
14418 cat > conftest.
$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14421 /* Override any gcc2 internal prototype to avoid an error. */
14422 /* We use char because int might match the return type of a gcc2
14423 builtin and then its argument prototype would still apply. */
14430 if { (eval echo configure
:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14432 eval "ac_cv_lib_$ac_lib_var=yes"
14434 echo "configure: failed program was:" >&5
14435 cat conftest.
$ac_ext >&5
14437 eval "ac_cv_lib_$ac_lib_var=no"
14440 LIBS
="$ac_save_LIBS"
14443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14444 echo "$ac_t""yes" 1>&6
14447 echo "$ac_t""no" 1>&6
14451 echo "$ac_t""no" 1>&6
14454 if test "x$ZLIB_LINK" = "x" ; then
14455 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14461 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14462 cat >> confdefs.h
<<\EOF
14463 #define wxUSE_LIBPNG 1
14466 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14467 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14471 if test "$wxUSE_LIBPNG" = "yes" ; then
14472 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14475 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14476 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14477 echo "configure:14478: checking for png.h" >&5
14478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14479 echo $ac_n "(cached) $ac_c" 1>&6
14481 cat > conftest.
$ac_ext <<EOF
14482 #line 14483 "configure"
14483 #include "confdefs.h"
14486 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14487 { (eval echo configure
:14488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14488 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14489 if test -z "$ac_err"; then
14491 eval "ac_cv_header_$ac_safe=yes"
14494 echo "configure: failed program was:" >&5
14495 cat conftest.
$ac_ext >&5
14497 eval "ac_cv_header_$ac_safe=no"
14501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14502 echo "$ac_t""yes" 1>&6
14503 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14504 echo "configure:14505: checking for png_check_sig in -lpng" >&5
14505 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14507 echo $ac_n "(cached) $ac_c" 1>&6
14509 ac_save_LIBS
="$LIBS"
14510 LIBS
="-lpng -lz -lm $LIBS"
14511 cat > conftest.
$ac_ext <<EOF
14512 #line 14513 "configure"
14513 #include "confdefs.h"
14514 /* Override any gcc2 internal prototype to avoid an error. */
14515 /* We use char because int might match the return type of a gcc2
14516 builtin and then its argument prototype would still apply. */
14517 char png_check_sig();
14523 if { (eval echo configure
:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14525 eval "ac_cv_lib_$ac_lib_var=yes"
14527 echo "configure: failed program was:" >&5
14528 cat conftest.
$ac_ext >&5
14530 eval "ac_cv_lib_$ac_lib_var=no"
14533 LIBS
="$ac_save_LIBS"
14536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14537 echo "$ac_t""yes" 1>&6
14540 echo "$ac_t""no" 1>&6
14545 echo "$ac_t""no" 1>&6
14548 if test "x$PNG_LINK" = "x" ; then
14549 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14557 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14558 cat >> confdefs.h
<<\EOF
14559 #define wxUSE_LIBJPEG 1
14562 if test "$wxUSE_LIBJPEG" = "yes" ; then
14563 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14566 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
14567 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14568 echo "configure:14569: checking for jpeglib.h" >&5
14569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14570 echo $ac_n "(cached) $ac_c" 1>&6
14572 cat > conftest.
$ac_ext <<EOF
14573 #line 14574 "configure"
14574 #include "confdefs.h"
14575 #include <jpeglib.h>
14577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14578 { (eval echo configure
:14579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14580 if test -z "$ac_err"; then
14582 eval "ac_cv_header_$ac_safe=yes"
14585 echo "configure: failed program was:" >&5
14586 cat conftest.
$ac_ext >&5
14588 eval "ac_cv_header_$ac_safe=no"
14592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14593 echo "$ac_t""yes" 1>&6
14594 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14595 echo "configure:14596: checking for jpeg_read_header in -ljpeg" >&5
14596 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14598 echo $ac_n "(cached) $ac_c" 1>&6
14600 ac_save_LIBS
="$LIBS"
14601 LIBS
="-ljpeg $LIBS"
14602 cat > conftest.
$ac_ext <<EOF
14603 #line 14604 "configure"
14604 #include "confdefs.h"
14605 /* Override any gcc2 internal prototype to avoid an error. */
14606 /* We use char because int might match the return type of a gcc2
14607 builtin and then its argument prototype would still apply. */
14608 char jpeg_read_header();
14614 if { (eval echo configure
:14615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14616 eval "ac_cv_lib_$ac_lib_var=yes"
14618 echo "configure: failed program was:" >&5
14619 cat conftest.
$ac_ext >&5
14621 eval "ac_cv_lib_$ac_lib_var=no"
14624 LIBS
="$ac_save_LIBS"
14627 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14628 echo "$ac_t""yes" 1>&6
14631 echo "$ac_t""no" 1>&6
14635 echo "$ac_t""no" 1>&6
14638 if test "x$JPEG_LINK" = "x" ; then
14639 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14645 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14646 cat >> confdefs.h
<<\EOF
14647 #define wxUSE_LIBTIFF 1
14650 if test "$wxUSE_LIBTIFF" = "yes" ; then
14651 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14654 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14655 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14656 echo "configure:14657: checking for tiffio.h" >&5
14657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14658 echo $ac_n "(cached) $ac_c" 1>&6
14660 cat > conftest.
$ac_ext <<EOF
14661 #line 14662 "configure"
14662 #include "confdefs.h"
14663 #include <tiffio.h>
14665 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14666 { (eval echo configure
:14667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14667 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14668 if test -z "$ac_err"; then
14670 eval "ac_cv_header_$ac_safe=yes"
14673 echo "configure: failed program was:" >&5
14674 cat conftest.
$ac_ext >&5
14676 eval "ac_cv_header_$ac_safe=no"
14680 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14681 echo "$ac_t""yes" 1>&6
14682 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14683 echo "configure:14684: checking for TIFFError in -ltiff" >&5
14684 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14686 echo $ac_n "(cached) $ac_c" 1>&6
14688 ac_save_LIBS
="$LIBS"
14689 LIBS
="-ltiff -lm $LIBS"
14690 cat > conftest.
$ac_ext <<EOF
14691 #line 14692 "configure"
14692 #include "confdefs.h"
14693 /* Override any gcc2 internal prototype to avoid an error. */
14694 /* We use char because int might match the return type of a gcc2
14695 builtin and then its argument prototype would still apply. */
14702 if { (eval echo configure
:14703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14704 eval "ac_cv_lib_$ac_lib_var=yes"
14706 echo "configure: failed program was:" >&5
14707 cat conftest.
$ac_ext >&5
14709 eval "ac_cv_lib_$ac_lib_var=no"
14712 LIBS
="$ac_save_LIBS"
14715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14716 echo "$ac_t""yes" 1>&6
14719 echo "$ac_t""no" 1>&6
14723 echo "$ac_t""no" 1>&6
14726 if test "x$TIFF_LINK" = "x" ; then
14727 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14733 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14734 cat >> confdefs.h
<<\EOF
14735 #define wxUSE_FREETYPE 1
14738 if test "$wxUSE_FREETYPE" = "yes" ; then
14739 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14742 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14743 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14744 echo "configure:14745: checking for freetype.h" >&5
14745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14746 echo $ac_n "(cached) $ac_c" 1>&6
14748 cat > conftest.
$ac_ext <<EOF
14749 #line 14750 "configure"
14750 #include "confdefs.h"
14751 #include <freetype.h>
14753 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14754 { (eval echo configure
:14755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14755 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14756 if test -z "$ac_err"; then
14758 eval "ac_cv_header_$ac_safe=yes"
14761 echo "configure: failed program was:" >&5
14762 cat conftest.
$ac_ext >&5
14764 eval "ac_cv_header_$ac_safe=no"
14768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14769 echo "$ac_t""yes" 1>&6
14770 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14771 echo "configure:14772: checking for FT_Render_Glyph in -lfreetype" >&5
14772 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14774 echo $ac_n "(cached) $ac_c" 1>&6
14776 ac_save_LIBS
="$LIBS"
14777 LIBS
="-lfreetype -lm $LIBS"
14778 cat > conftest.
$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 /* Override any gcc2 internal prototype to avoid an error. */
14782 /* We use char because int might match the return type of a gcc2
14783 builtin and then its argument prototype would still apply. */
14784 char FT_Render_Glyph();
14790 if { (eval echo configure
:14791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14792 eval "ac_cv_lib_$ac_lib_var=yes"
14794 echo "configure: failed program was:" >&5
14795 cat conftest.
$ac_ext >&5
14797 eval "ac_cv_lib_$ac_lib_var=no"
14800 LIBS
="$ac_save_LIBS"
14803 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14804 echo "$ac_t""yes" 1>&6
14805 FREETYPE_LINK
="-lfreetype"
14807 echo "$ac_t""no" 1>&6
14812 echo "$ac_t""no" 1>&6
14815 if test "x$FREETYPE_LINK" = "x" ; then
14816 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14821 if test "$wxUSE_OPENGL" = "yes"; then
14822 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14823 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14824 echo "configure:14825: checking for GL/gl.h" >&5
14825 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14826 echo $ac_n "(cached) $ac_c" 1>&6
14828 cat > conftest.
$ac_ext <<EOF
14829 #line 14830 "configure"
14830 #include "confdefs.h"
14833 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14834 { (eval echo configure
:14835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14835 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14836 if test -z "$ac_err"; then
14838 eval "ac_cv_header_$ac_safe=yes"
14841 echo "configure: failed program was:" >&5
14842 cat conftest.
$ac_ext >&5
14844 eval "ac_cv_header_$ac_safe=no"
14848 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14849 echo "$ac_t""yes" 1>&6
14851 cat >> confdefs.h
<<\EOF
14852 #define wxUSE_OPENGL 1
14855 cat >> confdefs.h
<<\EOF
14856 #define wxUSE_GLCANVAS 1
14859 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14860 echo "configure:14861: checking for glFlush in -lGL" >&5
14861 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14863 echo $ac_n "(cached) $ac_c" 1>&6
14865 ac_save_LIBS
="$LIBS"
14867 cat > conftest.
$ac_ext <<EOF
14868 #line 14869 "configure"
14869 #include "confdefs.h"
14870 /* Override any gcc2 internal prototype to avoid an error. */
14871 /* We use char because int might match the return type of a gcc2
14872 builtin and then its argument prototype would still apply. */
14879 if { (eval echo configure
:14880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14881 eval "ac_cv_lib_$ac_lib_var=yes"
14883 echo "configure: failed program was:" >&5
14884 cat conftest.
$ac_ext >&5
14886 eval "ac_cv_lib_$ac_lib_var=no"
14889 LIBS
="$ac_save_LIBS"
14892 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14893 echo "$ac_t""yes" 1>&6
14895 OPENGL_LINK
="-lGL -lGLU"
14898 echo "$ac_t""no" 1>&6
14900 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
14901 echo "configure:14902: checking for glFlush in -lMesaGL" >&5
14902 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
14903 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14904 echo $ac_n "(cached) $ac_c" 1>&6
14906 ac_save_LIBS
="$LIBS"
14907 LIBS
="-lMesaGL $LIBS"
14908 cat > conftest.
$ac_ext <<EOF
14909 #line 14910 "configure"
14910 #include "confdefs.h"
14911 /* Override any gcc2 internal prototype to avoid an error. */
14912 /* We use char because int might match the return type of a gcc2
14913 builtin and then its argument prototype would still apply. */
14920 if { (eval echo configure
:14921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14922 eval "ac_cv_lib_$ac_lib_var=yes"
14924 echo "configure: failed program was:" >&5
14925 cat conftest.
$ac_ext >&5
14927 eval "ac_cv_lib_$ac_lib_var=no"
14930 LIBS
="$ac_save_LIBS"
14933 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14934 echo "$ac_t""yes" 1>&6
14936 OPENGL_LINK
="-lMesaGL -lMesaGLU"
14939 echo "$ac_t""no" 1>&6
14947 echo "$ac_t""no" 1>&6
14954 if test "$wxUSE_GUI" = "yes"; then
14955 cat >> confdefs.h
<<\EOF
14956 #define wxUSE_GUI 1
14961 cat >> confdefs.h
<<\EOF
14962 #define wxUSE_NOGUI 1
14968 if test "$wxUSE_UNIX" = "yes"; then
14969 cat >> confdefs.h
<<\EOF
14970 #define wxUSE_UNIX 1
14976 if test "$wxUSE_APPLE_IEEE" = "yes"; then
14977 cat >> confdefs.h
<<\EOF
14978 #define wxUSE_APPLE_IEEE 1
14983 if test "$wxUSE_TIMER" = "yes"; then
14984 cat >> confdefs.h
<<\EOF
14985 #define wxUSE_TIMER 1
14990 if test "$wxUSE_WAVE" = "yes"; then
14991 cat >> confdefs.h
<<\EOF
14992 #define wxUSE_WAVE 1
14997 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
14998 cat >> confdefs.h
<<\EOF
14999 #define wxUSE_CMDLINE_PARSER 1
15004 if test "$wxUSE_STOPWATCH" = "yes"; then
15005 cat >> confdefs.h
<<\EOF
15006 #define wxUSE_STOPWATCH 1
15011 if test "$wxUSE_DATETIME" = "yes"; then
15012 cat >> confdefs.h
<<\EOF
15013 #define wxUSE_DATETIME 1
15018 if test "$wxUSE_TIMEDATE" = "yes"; then
15019 cat >> confdefs.h
<<\EOF
15020 #define wxUSE_TIMEDATE 1
15025 if test "$wxUSE_FILE" = "yes"; then
15026 cat >> confdefs.h
<<\EOF
15027 #define wxUSE_FILE 1
15032 if test "$wxUSE_FFILE" = "yes"; then
15033 cat >> confdefs.h
<<\EOF
15034 #define wxUSE_FFILE 1
15039 if test "$wxUSE_FILESYSTEM" = "yes"; then
15040 cat >> confdefs.h
<<\EOF
15041 #define wxUSE_FILESYSTEM 1
15046 if test "$wxUSE_FS_INET" = "yes"; then
15047 cat >> confdefs.h
<<\EOF
15048 #define wxUSE_FS_INET 1
15053 if test "$wxUSE_FS_ZIP" = "yes"; then
15054 cat >> confdefs.h
<<\EOF
15055 #define wxUSE_FS_ZIP 1
15060 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15061 cat >> confdefs.h
<<\EOF
15062 #define wxUSE_ZIPSTREAM 1
15067 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15068 cat >> confdefs.h
<<\EOF
15069 #define wxUSE_ON_FATAL_EXCEPTION 1
15074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15075 cat >> confdefs.h
<<\EOF
15076 #define wxUSE_SNGLINST_CHECKER 1
15081 if test "$wxUSE_BUSYINFO" = "yes"; then
15082 cat >> confdefs.h
<<\EOF
15083 #define wxUSE_BUSYINFO 1
15088 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15089 cat >> confdefs.h
<<\EOF
15090 #define wxUSE_STD_IOSTREAM 1
15095 if test "$wxUSE_TEXTFILE" = "yes"; then
15096 if test "$wxUSE_FILE" != "yes"; then
15097 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15099 cat >> confdefs.h
<<\EOF
15100 #define wxUSE_TEXTFILE 1
15106 if test "$wxUSE_CONFIG" = "yes" ; then
15107 if test "$wxUSE_TEXTFILE" != "yes"; then
15108 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15110 cat >> confdefs.h
<<\EOF
15111 #define wxUSE_CONFIG 1
15114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15118 if test "$wxUSE_INTL" = "yes" ; then
15119 if test "$wxUSE_FILE" != "yes"; then
15120 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15122 cat >> confdefs.h
<<\EOF
15123 #define wxUSE_INTL 1
15126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15127 GUIDIST
="$GUIDIST INTL_DIST"
15131 if test "$wxUSE_LOG" = "yes"; then
15132 cat >> confdefs.h
<<\EOF
15133 #define wxUSE_LOG 1
15138 if test "$wxUSE_LONGLONG" = "yes"; then
15139 cat >> confdefs.h
<<\EOF
15140 #define wxUSE_LONGLONG 1
15145 if test "$wxUSE_GEOMETRY" = "yes"; then
15146 cat >> confdefs.h
<<\EOF
15147 #define wxUSE_GEOMETRY 1
15152 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15153 cat >> confdefs.h
<<\EOF
15154 #define wxUSE_DIALUP_MANAGER 1
15157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15160 if test "$wxUSE_STREAMS" = "yes" ; then
15161 cat >> confdefs.h
<<\EOF
15162 #define wxUSE_STREAMS 1
15168 if test "$wxUSE_DATETIME" = "yes"; then
15169 for ac_func
in strptime
15171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15172 echo "configure:15173: checking for $ac_func" >&5
15173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15174 echo $ac_n "(cached) $ac_c" 1>&6
15176 cat > conftest.
$ac_ext <<EOF
15177 #line 15178 "configure"
15178 #include "confdefs.h"
15179 /* System header to define __stub macros and hopefully few prototypes,
15180 which can conflict with char $ac_func(); below. */
15181 #include <assert.h>
15182 /* Override any gcc2 internal prototype to avoid an error. */
15183 /* We use char because int might match the return type of a gcc2
15184 builtin and then its argument prototype would still apply. */
15189 /* The GNU C library defines this for functions which it implements
15190 to always fail with ENOSYS. Some functions are actually named
15191 something starting with __ and the normal name is an alias. */
15192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15200 if { (eval echo configure
:15201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15202 eval "ac_cv_func_$ac_func=yes"
15204 echo "configure: failed program was:" >&5
15205 cat conftest.
$ac_ext >&5
15207 eval "ac_cv_func_$ac_func=no"
15212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15213 echo "$ac_t""yes" 1>&6
15214 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15215 cat >> confdefs.h
<<EOF
15216 #define $ac_tr_func 1
15220 echo "$ac_t""no" 1>&6
15225 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15226 echo "configure:15227: checking for timezone variable in <time.h>" >&5
15227 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15228 echo $ac_n "(cached) $ac_c" 1>&6
15231 cat > conftest.
$ac_ext <<EOF
15232 #line 15233 "configure"
15233 #include "confdefs.h"
15244 if { (eval echo configure
:15245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15247 wx_cv_var_timezone
=__timezone
15250 echo "configure: failed program was:" >&5
15251 cat conftest.
$ac_ext >&5
15254 cat > conftest.
$ac_ext <<EOF
15255 #line 15256 "configure"
15256 #include "confdefs.h"
15267 if { (eval echo configure
:15268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15270 wx_cv_var_timezone
=_timezone
15273 echo "configure: failed program was:" >&5
15274 cat conftest.
$ac_ext >&5
15277 cat > conftest.
$ac_ext <<EOF
15278 #line 15279 "configure"
15279 #include "confdefs.h"
15290 if { (eval echo configure
:15291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15293 wx_cv_var_timezone
=timezone
15296 echo "configure: failed program was:" >&5
15297 cat conftest.
$ac_ext >&5
15299 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15315 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15317 cat >> confdefs.h
<<EOF
15318 #define WX_TIMEZONE $wx_cv_var_timezone
15322 for ac_func
in localtime
15324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15325 echo "configure:15326: checking for $ac_func" >&5
15326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15327 echo $ac_n "(cached) $ac_c" 1>&6
15329 cat > conftest.
$ac_ext <<EOF
15330 #line 15331 "configure"
15331 #include "confdefs.h"
15332 /* System header to define __stub macros and hopefully few prototypes,
15333 which can conflict with char $ac_func(); below. */
15334 #include <assert.h>
15335 /* Override any gcc2 internal prototype to avoid an error. */
15336 /* We use char because int might match the return type of a gcc2
15337 builtin and then its argument prototype would still apply. */
15342 /* The GNU C library defines this for functions which it implements
15343 to always fail with ENOSYS. Some functions are actually named
15344 something starting with __ and the normal name is an alias. */
15345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15353 if { (eval echo configure
:15354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15355 eval "ac_cv_func_$ac_func=yes"
15357 echo "configure: failed program was:" >&5
15358 cat conftest.
$ac_ext >&5
15360 eval "ac_cv_func_$ac_func=no"
15365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15366 echo "$ac_t""yes" 1>&6
15367 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15368 cat >> confdefs.h
<<EOF
15369 #define $ac_tr_func 1
15373 echo "$ac_t""no" 1>&6
15378 if test "$ac_cv_func_localtime" = "yes"; then
15379 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15380 echo "configure:15381: checking for tm_gmtoff in struct tm" >&5
15381 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15382 echo $ac_n "(cached) $ac_c" 1>&6
15385 cat > conftest.
$ac_ext <<EOF
15386 #line 15387 "configure"
15387 #include "confdefs.h"
15398 if { (eval echo configure
:15399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15401 wx_cv_struct_tm_has_gmtoff
=yes
15404 echo "configure: failed program was:" >&5
15405 cat conftest.
$ac_ext >&5
15407 wx_cv_struct_tm_has_gmtoff
=no
15414 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15417 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15418 cat >> confdefs.h
<<\EOF
15419 #define WX_GMTOFF_IN_TM 1
15424 for ac_func
in gettimeofday ftime
15426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15427 echo "configure:15428: checking for $ac_func" >&5
15428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15429 echo $ac_n "(cached) $ac_c" 1>&6
15431 cat > conftest.
$ac_ext <<EOF
15432 #line 15433 "configure"
15433 #include "confdefs.h"
15434 /* System header to define __stub macros and hopefully few prototypes,
15435 which can conflict with char $ac_func(); below. */
15436 #include <assert.h>
15437 /* Override any gcc2 internal prototype to avoid an error. */
15438 /* We use char because int might match the return type of a gcc2
15439 builtin and then its argument prototype would still apply. */
15444 /* The GNU C library defines this for functions which it implements
15445 to always fail with ENOSYS. Some functions are actually named
15446 something starting with __ and the normal name is an alias. */
15447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15455 if { (eval echo configure
:15456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15457 eval "ac_cv_func_$ac_func=yes"
15459 echo "configure: failed program was:" >&5
15460 cat conftest.
$ac_ext >&5
15462 eval "ac_cv_func_$ac_func=no"
15467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15468 echo "$ac_t""yes" 1>&6
15469 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15470 cat >> confdefs.h
<<EOF
15471 #define $ac_tr_func 1
15475 echo "$ac_t""no" 1>&6
15480 if test "$ac_cv_func_gettimeofday" = "yes"; then
15481 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15482 echo "configure:15483: checking whether gettimeofday takes two arguments" >&5
15483 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15484 echo $ac_n "(cached) $ac_c" 1>&6
15489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15490 ac_cpp
='$CXXCPP $CPPFLAGS'
15491 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15492 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15493 cross_compiling
=$ac_cv_prog_cxx_cross
15496 cat > conftest.
$ac_ext <<EOF
15497 #line 15498 "configure"
15498 #include "confdefs.h"
15500 #include <sys/time.h>
15501 #include <unistd.h>
15506 struct timezone tz;
15507 gettimeofday(&tv, &tz);
15511 if { (eval echo configure
:15512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15513 wx_cv_func_gettimeofday_has_2_args
=yes
15515 echo "configure: failed program was:" >&5
15516 cat conftest.
$ac_ext >&5
15518 cat > conftest.
$ac_ext <<EOF
15519 #line 15520 "configure"
15520 #include "confdefs.h"
15522 #include <sys/time.h>
15523 #include <unistd.h>
15532 if { (eval echo configure
:15533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15534 wx_cv_func_gettimeofday_has_2_args
=no
15536 echo "configure: failed program was:" >&5
15537 cat conftest.
$ac_ext >&5
15539 wx_cv_func_gettimeofday_has_2_args
=unknown
15547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15548 ac_cpp
='$CPP $CPPFLAGS'
15549 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15550 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15551 cross_compiling
=$ac_cv_prog_cc_cross
15556 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15558 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15559 cat >> confdefs.h
<<\EOF
15560 #define WX_GETTIMEOFDAY_NO_TZ 1
15566 cat >> confdefs.h
<<\EOF
15567 #define wxUSE_TIMEDATE 1
15570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15574 if test "$TOOLKIT" != "MSW"; then
15576 if test "$wxUSE_SOCKETS" = "yes"; then
15577 echo $ac_n "checking for socket""... $ac_c" 1>&6
15578 echo "configure:15579: checking for socket" >&5
15579 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15580 echo $ac_n "(cached) $ac_c" 1>&6
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15585 /* System header to define __stub macros and hopefully few prototypes,
15586 which can conflict with char socket(); below. */
15587 #include <assert.h>
15588 /* Override any gcc2 internal prototype to avoid an error. */
15589 /* We use char because int might match the return type of a gcc2
15590 builtin and then its argument prototype would still apply. */
15595 /* The GNU C library defines this for functions which it implements
15596 to always fail with ENOSYS. Some functions are actually named
15597 something starting with __ and the normal name is an alias. */
15598 #if defined (__stub_socket) || defined (__stub___socket)
15606 if { (eval echo configure
:15607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15608 eval "ac_cv_func_socket=yes"
15610 echo "configure: failed program was:" >&5
15611 cat conftest.
$ac_ext >&5
15613 eval "ac_cv_func_socket=no"
15618 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15619 echo "$ac_t""yes" 1>&6
15622 echo "$ac_t""no" 1>&6
15623 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15624 echo "configure:15625: checking for socket in -lsocket" >&5
15625 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15627 echo $ac_n "(cached) $ac_c" 1>&6
15629 ac_save_LIBS
="$LIBS"
15630 LIBS
="-lsocket $LIBS"
15631 cat > conftest.
$ac_ext <<EOF
15632 #line 15633 "configure"
15633 #include "confdefs.h"
15634 /* Override any gcc2 internal prototype to avoid an error. */
15635 /* We use char because int might match the return type of a gcc2
15636 builtin and then its argument prototype would still apply. */
15643 if { (eval echo configure
:15644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15645 eval "ac_cv_lib_$ac_lib_var=yes"
15647 echo "configure: failed program was:" >&5
15648 cat conftest.
$ac_ext >&5
15650 eval "ac_cv_lib_$ac_lib_var=no"
15653 LIBS
="$ac_save_LIBS"
15656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15657 echo "$ac_t""yes" 1>&6
15658 INET_LINK
="$INET_LINK -lsocket"
15660 echo "$ac_t""no" 1>&6
15662 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15674 if test "$wxUSE_SOCKETS" = "yes" ; then
15675 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15676 echo "configure:15677: checking what is the type of the third argument of getsockname" >&5
15677 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15678 echo $ac_n "(cached) $ac_c" 1>&6
15683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15684 ac_cpp
='$CXXCPP $CPPFLAGS'
15685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15687 cross_compiling
=$ac_cv_prog_cxx_cross
15690 cat > conftest.
$ac_ext <<EOF
15691 #line 15692 "configure"
15692 #include "confdefs.h"
15694 #include <sys/types.h>
15695 #include <sys/socket.h>
15700 getsockname(0, 0, &len);
15704 if { (eval echo configure
:15705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15706 wx_cv_type_getsockname3
=socklen_t
15708 echo "configure: failed program was:" >&5
15709 cat conftest.
$ac_ext >&5
15711 cat > conftest.
$ac_ext <<EOF
15712 #line 15713 "configure"
15713 #include "confdefs.h"
15715 #include <sys/types.h>
15716 #include <sys/socket.h>
15721 getsockname(0, 0, &len);
15725 if { (eval echo configure
:15726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15727 wx_cv_type_getsockname3
=size_t
15729 echo "configure: failed program was:" >&5
15730 cat conftest.
$ac_ext >&5
15732 cat > conftest.
$ac_ext <<EOF
15733 #line 15734 "configure"
15734 #include "confdefs.h"
15736 #include <sys/types.h>
15737 #include <sys/socket.h>
15742 getsockname(0, 0, &len);
15746 if { (eval echo configure
:15747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15748 wx_cv_type_getsockname3
=int
15750 echo "configure: failed program was:" >&5
15751 cat conftest.
$ac_ext >&5
15753 wx_cv_type_getsockname3
=unknown
15765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15766 ac_cpp
='$CPP $CPPFLAGS'
15767 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15768 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15769 cross_compiling
=$ac_cv_prog_cc_cross
15774 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15776 if test "$wx_cv_type_getsockname3" = "unknown"; then
15778 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15780 cat >> confdefs.h
<<EOF
15781 #define SOCKLEN_T $wx_cv_type_getsockname3
15789 if test "$wxUSE_SOCKETS" = "yes" ; then
15790 cat >> confdefs.h
<<\EOF
15791 #define wxUSE_SOCKETS 1
15794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15795 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15799 if test "$wxUSE_GUI" = "yes"; then
15801 if test "$TOOLKIT" != "MSW"; then
15803 if test "$wxUSE_JOYSTICK" = "yes"; then
15804 for ac_hdr
in linux
/joystick.h
15806 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15807 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15808 echo "configure:15809: checking for $ac_hdr" >&5
15809 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15810 echo $ac_n "(cached) $ac_c" 1>&6
15812 cat > conftest.
$ac_ext <<EOF
15813 #line 15814 "configure"
15814 #include "confdefs.h"
15817 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15818 { (eval echo configure
:15819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15819 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15820 if test -z "$ac_err"; then
15822 eval "ac_cv_header_$ac_safe=yes"
15825 echo "configure: failed program was:" >&5
15826 cat conftest.
$ac_ext >&5
15828 eval "ac_cv_header_$ac_safe=no"
15832 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15833 echo "$ac_t""yes" 1>&6
15834 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15835 cat >> confdefs.h
<<EOF
15836 #define $ac_tr_hdr 1
15840 echo "$ac_t""no" 1>&6
15844 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15846 echo "configure: warning: Joystick not supported by this system" 1>&2
15852 if test "$wxUSE_JOYSTICK" = "yes"; then
15853 cat >> confdefs.h
<<\EOF
15854 #define wxUSE_JOYSTICK 1
15857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
15863 if test "$TOOLKIT" != "MSW"; then
15867 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
15868 if test "$USE_MAC" = 1; then
15871 for ac_func
in dlopen
15873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15874 echo "configure:15875: checking for $ac_func" >&5
15875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15876 echo $ac_n "(cached) $ac_c" 1>&6
15878 cat > conftest.
$ac_ext <<EOF
15879 #line 15880 "configure"
15880 #include "confdefs.h"
15881 /* System header to define __stub macros and hopefully few prototypes,
15882 which can conflict with char $ac_func(); below. */
15883 #include <assert.h>
15884 /* Override any gcc2 internal prototype to avoid an error. */
15885 /* We use char because int might match the return type of a gcc2
15886 builtin and then its argument prototype would still apply. */
15891 /* The GNU C library defines this for functions which it implements
15892 to always fail with ENOSYS. Some functions are actually named
15893 something starting with __ and the normal name is an alias. */
15894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15902 if { (eval echo configure
:15903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15904 eval "ac_cv_func_$ac_func=yes"
15906 echo "configure: failed program was:" >&5
15907 cat conftest.
$ac_ext >&5
15909 eval "ac_cv_func_$ac_func=no"
15914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15915 echo "$ac_t""yes" 1>&6
15916 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15917 cat >> confdefs.h
<<EOF
15918 #define $ac_tr_func 1
15921 cat >> confdefs.h
<<\EOF
15922 #define HAVE_DLOPEN 1
15928 echo "$ac_t""no" 1>&6
15929 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
15930 echo "configure:15931: checking for dlopen in -ldl" >&5
15931 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
15932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15933 echo $ac_n "(cached) $ac_c" 1>&6
15935 ac_save_LIBS
="$LIBS"
15937 cat > conftest.
$ac_ext <<EOF
15938 #line 15939 "configure"
15939 #include "confdefs.h"
15940 /* Override any gcc2 internal prototype to avoid an error. */
15941 /* We use char because int might match the return type of a gcc2
15942 builtin and then its argument prototype would still apply. */
15949 if { (eval echo configure
:15950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15951 eval "ac_cv_lib_$ac_lib_var=yes"
15953 echo "configure: failed program was:" >&5
15954 cat conftest.
$ac_ext >&5
15956 eval "ac_cv_lib_$ac_lib_var=no"
15959 LIBS
="$ac_save_LIBS"
15962 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15963 echo "$ac_t""yes" 1>&6
15965 cat >> confdefs.h
<<\EOF
15966 #define HAVE_DLOPEN 1
15973 echo "$ac_t""no" 1>&6
15975 for ac_func
in shl_load
15977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15978 echo "configure:15979: checking for $ac_func" >&5
15979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15980 echo $ac_n "(cached) $ac_c" 1>&6
15982 cat > conftest.
$ac_ext <<EOF
15983 #line 15984 "configure"
15984 #include "confdefs.h"
15985 /* System header to define __stub macros and hopefully few prototypes,
15986 which can conflict with char $ac_func(); below. */
15987 #include <assert.h>
15988 /* Override any gcc2 internal prototype to avoid an error. */
15989 /* We use char because int might match the return type of a gcc2
15990 builtin and then its argument prototype would still apply. */
15995 /* The GNU C library defines this for functions which it implements
15996 to always fail with ENOSYS. Some functions are actually named
15997 something starting with __ and the normal name is an alias. */
15998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16006 if { (eval echo configure
:16007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16008 eval "ac_cv_func_$ac_func=yes"
16010 echo "configure: failed program was:" >&5
16011 cat conftest.
$ac_ext >&5
16013 eval "ac_cv_func_$ac_func=no"
16018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16019 echo "$ac_t""yes" 1>&6
16020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16021 cat >> confdefs.h
<<EOF
16022 #define $ac_tr_func 1
16025 cat >> confdefs.h
<<\EOF
16026 #define HAVE_SHL_LOAD 1
16032 echo "$ac_t""no" 1>&6
16033 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16034 echo "configure:16035: checking for dld in -lshl_load" >&5
16035 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16036 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16037 echo $ac_n "(cached) $ac_c" 1>&6
16039 ac_save_LIBS
="$LIBS"
16040 LIBS
="-lshl_load $LIBS"
16041 cat > conftest.
$ac_ext <<EOF
16042 #line 16043 "configure"
16043 #include "confdefs.h"
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 /* We use char because int might match the return type of a gcc2
16046 builtin and then its argument prototype would still apply. */
16053 if { (eval echo configure
:16054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16055 eval "ac_cv_lib_$ac_lib_var=yes"
16057 echo "configure: failed program was:" >&5
16058 cat conftest.
$ac_ext >&5
16060 eval "ac_cv_lib_$ac_lib_var=no"
16063 LIBS
="$ac_save_LIBS"
16066 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16067 echo "$ac_t""yes" 1>&6
16073 echo "$ac_t""no" 1>&6
16088 if test "$HAVE_DL_FUNCS" = 1; then
16089 for ac_func
in dlerror
16091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16092 echo "configure:16093: checking for $ac_func" >&5
16093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16094 echo $ac_n "(cached) $ac_c" 1>&6
16096 cat > conftest.
$ac_ext <<EOF
16097 #line 16098 "configure"
16098 #include "confdefs.h"
16099 /* System header to define __stub macros and hopefully few prototypes,
16100 which can conflict with char $ac_func(); below. */
16101 #include <assert.h>
16102 /* Override any gcc2 internal prototype to avoid an error. */
16103 /* We use char because int might match the return type of a gcc2
16104 builtin and then its argument prototype would still apply. */
16109 /* The GNU C library defines this for functions which it implements
16110 to always fail with ENOSYS. Some functions are actually named
16111 something starting with __ and the normal name is an alias. */
16112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16120 if { (eval echo configure
:16121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16122 eval "ac_cv_func_$ac_func=yes"
16124 echo "configure: failed program was:" >&5
16125 cat conftest.
$ac_ext >&5
16127 eval "ac_cv_func_$ac_func=no"
16132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16133 echo "$ac_t""yes" 1>&6
16134 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16135 cat >> confdefs.h
<<EOF
16136 #define $ac_tr_func 1
16138 cat >> confdefs.h
<<\EOF
16139 #define HAVE_DLERROR 1
16143 echo "$ac_t""no" 1>&6
16144 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16145 echo "configure:16146: checking for dlerror in -ldl" >&5
16146 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16150 ac_save_LIBS
="$LIBS"
16152 cat > conftest.
$ac_ext <<EOF
16153 #line 16154 "configure"
16154 #include "confdefs.h"
16155 /* Override any gcc2 internal prototype to avoid an error. */
16156 /* We use char because int might match the return type of a gcc2
16157 builtin and then its argument prototype would still apply. */
16164 if { (eval echo configure
:16165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16166 eval "ac_cv_lib_$ac_lib_var=yes"
16168 echo "configure: failed program was:" >&5
16169 cat conftest.
$ac_ext >&5
16171 eval "ac_cv_lib_$ac_lib_var=no"
16174 LIBS
="$ac_save_LIBS"
16177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16178 echo "$ac_t""yes" 1>&6
16179 cat >> confdefs.h
<<\EOF
16180 #define HAVE_DLERROR 1
16184 echo "$ac_t""no" 1>&6
16193 if test "$HAVE_DL_FUNCS" = 0; then
16194 if test "$HAVE_SHL_FUNCS" = 0; then
16195 if test "$USE_UNIX" = 1; then
16196 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16197 wxUSE_DYNLIB_CLASS
=no
16199 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16207 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16208 cat >> confdefs.h
<<\EOF
16209 #define wxUSE_DYNLIB_CLASS 1
16218 if test "$wxUSE_FONTMAP" = "yes" ; then
16219 cat >> confdefs.h
<<\EOF
16220 #define wxUSE_FONTMAP 1
16225 if test "$wxUSE_UNICODE" = "yes" ; then
16226 cat >> confdefs.h
<<\EOF
16227 #define wxUSE_UNICODE 1
16232 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16233 cat >> confdefs.h
<<\EOF
16234 #define wxUSE_WCSRTOMBS 1
16239 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16240 cat >> confdefs.h
<<\EOF
16241 #define wxUSE_EXPERIMENTAL_PRINTF 1
16247 if test "$wxUSE_SERIAL" = "yes" ; then
16248 cat >> confdefs.h
<<\EOF
16249 #define wxUSE_SERIAL 1
16256 if test "$wxUSE_ODBC" = "yes" ; then
16257 cat >> confdefs.h
<<\EOF
16258 #define wxUSE_ODBC 1
16261 WXODBCFLAG
="-D_IODBC_"
16262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16266 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16267 cat >> confdefs.h
<<\EOF
16268 #define wxUSE_POSTSCRIPT 1
16273 cat >> confdefs.h
<<\EOF
16274 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16278 cat >> confdefs.h
<<\EOF
16279 #define wxUSE_NORMALIZED_PS_FONTS 1
16284 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16285 cat >> confdefs.h
<<\EOF
16286 #define wxUSE_CONSTRAINTS 1
16289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16292 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16293 cat >> confdefs.h
<<\EOF
16294 #define wxUSE_MDI_ARCHITECTURE 1
16297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16300 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16301 cat >> confdefs.h
<<\EOF
16302 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16306 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16311 if test "$wxUSE_HELP" = "yes"; then
16312 cat >> confdefs.h
<<\EOF
16313 #define wxUSE_HELP 1
16316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16319 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16320 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16321 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16323 cat >> confdefs.h
<<\EOF
16324 #define wxUSE_PRINTING_ARCHITECTURE 1
16328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16331 if test "$wxUSE_PROLOGIO" = "yes" ; then
16332 cat >> confdefs.h
<<\EOF
16333 #define wxUSE_PROLOGIO 1
16338 if test "$wxUSE_RESOURCES" = "yes" ; then
16339 if test "$wxUSE_PROLOGIO" = "yes" ; then
16340 cat >> confdefs.h
<<\EOF
16341 #define wxUSE_RESOURCES 1
16344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16346 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16350 if test "$wxUSE_X_RESOURCES" = "yes"; then
16351 cat >> confdefs.h
<<\EOF
16352 #define wxUSE_X_RESOURCES 1
16358 if test "$wxUSE_IPC" = "yes"; then
16359 if test "$wxUSE_SOCKETS" != "yes"; then
16360 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16363 cat >> confdefs.h
<<\EOF
16364 #define wxUSE_IPC 1
16369 if test "$wxUSE_CLIPBOARD" = "yes"; then
16370 cat >> confdefs.h
<<\EOF
16371 #define wxUSE_CLIPBOARD 1
16374 cat >> confdefs.h
<<\EOF
16375 #define wxUSE_DATAOBJ 1
16380 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16381 if test "$wxUSE_GTK" = 1; then
16382 if test "$WXGTK12" != 1; then
16383 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16384 wxUSE_DRAG_AND_DROP
=no
16388 if test "$wxUSE_MOTIF" = 1; then
16389 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16390 wxUSE_DRAG_AND_DROP
=no
16393 if test "$wxUSE_MAC" = 1; then
16394 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16395 wxUSE_DRAG_AND_DROP
=no
16398 if test "$USE_WIN32" = 1; then
16400 for ac_hdr
in ole2.h
16402 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16404 echo "configure:16405: checking for $ac_hdr" >&5
16405 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16406 echo $ac_n "(cached) $ac_c" 1>&6
16408 cat > conftest.
$ac_ext <<EOF
16409 #line 16410 "configure"
16410 #include "confdefs.h"
16413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16414 { (eval echo configure
:16415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16415 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16416 if test -z "$ac_err"; then
16418 eval "ac_cv_header_$ac_safe=yes"
16421 echo "configure: failed program was:" >&5
16422 cat conftest.
$ac_ext >&5
16424 eval "ac_cv_header_$ac_safe=no"
16428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16429 echo "$ac_t""yes" 1>&6
16430 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16431 cat >> confdefs.h
<<EOF
16432 #define $ac_tr_hdr 1
16436 echo "$ac_t""no" 1>&6
16441 if test "$ac_cv_header_ole2_h" = "yes" ; then
16442 if test "$GCC" = yes ; then
16443 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16444 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16445 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16446 LIBS
="$LIBS -lole32 -luuid"
16448 if test "$wxUSE_METAFILE" = "yes"; then
16449 cat >> confdefs.h
<<\EOF
16450 #define wxUSE_METAFILE 1
16453 cat >> confdefs.h
<<\EOF
16454 #define wxUSE_ENH_METAFILE 1
16460 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16461 wxUSE_DRAG_AND_DROP
=no
16465 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16466 cat >> confdefs.h
<<\EOF
16467 #define wxUSE_DRAG_AND_DROP 1
16470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16475 if test "$wxUSE_SPLINES" = "yes" ; then
16476 cat >> confdefs.h
<<\EOF
16477 #define wxUSE_SPLINES 1
16484 if test "$wxUSE_CONTROLS" = "yes"; then
16488 if test "$wxUSE_ACCEL" = "yes"; then
16489 cat >> confdefs.h
<<\EOF
16490 #define wxUSE_ACCEL 1
16496 if test "$wxUSE_BUTTON" = "yes"; then
16497 cat >> confdefs.h
<<\EOF
16498 #define wxUSE_BUTTON 1
16504 if test "$wxUSE_BMPBUTTON" = "yes"; then
16505 cat >> confdefs.h
<<\EOF
16506 #define wxUSE_BMPBUTTON 1
16512 if test "$wxUSE_CALCTRL" = "yes"; then
16513 cat >> confdefs.h
<<\EOF
16514 #define wxUSE_CALENDARCTRL 1
16518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16521 if test "$wxUSE_CARET" = "yes"; then
16522 cat >> confdefs.h
<<\EOF
16523 #define wxUSE_CARET 1
16527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16530 if test "$wxUSE_COMBOBOX" = "yes"; then
16531 cat >> confdefs.h
<<\EOF
16532 #define wxUSE_COMBOBOX 1
16538 if test "$wxUSE_CHOICE" = "yes"; then
16539 cat >> confdefs.h
<<\EOF
16540 #define wxUSE_CHOICE 1
16546 if test "$wxUSE_CHECKBOX" = "yes"; then
16547 cat >> confdefs.h
<<\EOF
16548 #define wxUSE_CHECKBOX 1
16554 if test "$wxUSE_CHECKLST" = "yes"; then
16555 cat >> confdefs.h
<<\EOF
16556 #define wxUSE_CHECKLISTBOX 1
16560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16563 if test "$wxUSE_GAUGE" = "yes"; then
16564 cat >> confdefs.h
<<\EOF
16565 #define wxUSE_GAUGE 1
16571 if test "$wxUSE_NEW_GRID" = "yes"; then
16573 cat >> confdefs.h
<<\EOF
16574 #define wxUSE_NEW_GRID 1
16578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16581 if test "$wxUSE_GRID" = "yes"; then
16582 cat >> confdefs.h
<<\EOF
16583 #define wxUSE_GRID 1
16587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16590 if test "$wxUSE_IMAGLIST" = "yes"; then
16591 cat >> confdefs.h
<<\EOF
16592 #define wxUSE_IMAGLIST 1
16597 if test "$wxUSE_LISTBOX" = "yes"; then
16598 cat >> confdefs.h
<<\EOF
16599 #define wxUSE_LISTBOX 1
16605 if test "$wxUSE_LISTCTRL" = "yes"; then
16606 if test "$wxUSE_IMAGLIST" = "yes"; then
16607 cat >> confdefs.h
<<\EOF
16608 #define wxUSE_LISTCTRL 1
16612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16614 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16618 if test "$wxUSE_NOTEBOOK" = "yes"; then
16619 cat >> confdefs.h
<<\EOF
16620 #define wxUSE_NOTEBOOK 1
16624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16627 if test "$wxUSE_RADIOBOX" = "yes"; then
16628 cat >> confdefs.h
<<\EOF
16629 #define wxUSE_RADIOBOX 1
16635 if test "$wxUSE_RADIOBTN" = "yes"; then
16636 cat >> confdefs.h
<<\EOF
16637 #define wxUSE_RADIOBTN 1
16643 if test "$wxUSE_SASH" = "yes"; then
16644 cat >> confdefs.h
<<\EOF
16645 #define wxUSE_SASH 1
16648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16651 if test "$wxUSE_SCROLLBAR" = "yes"; then
16652 cat >> confdefs.h
<<\EOF
16653 #define wxUSE_SCROLLBAR 1
16657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16660 if test "$wxUSE_SLIDER" = "yes"; then
16661 cat >> confdefs.h
<<\EOF
16662 #define wxUSE_SLIDER 1
16668 if test "$wxUSE_SPINBTN" = "yes"; then
16669 cat >> confdefs.h
<<\EOF
16670 #define wxUSE_SPINBTN 1
16676 if test "$wxUSE_SPINCTRL" = "yes"; then
16677 cat >> confdefs.h
<<\EOF
16678 #define wxUSE_SPINCTRL 1
16684 if test "$wxUSE_SPLITTER" = "yes"; then
16685 cat >> confdefs.h
<<\EOF
16686 #define wxUSE_SPLITTER 1
16689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16692 if test "$wxUSE_STATBMP" = "yes"; then
16693 cat >> confdefs.h
<<\EOF
16694 #define wxUSE_STATBMP 1
16700 if test "$wxUSE_STATBOX" = "yes"; then
16701 cat >> confdefs.h
<<\EOF
16702 #define wxUSE_STATBOX 1
16708 if test "$wxUSE_STATTEXT" = "yes"; then
16709 cat >> confdefs.h
<<\EOF
16710 #define wxUSE_STATTEXT 1
16716 if test "$wxUSE_STATLINE" = "yes"; then
16717 if test "$wxUSE_WINE" = 1 ; then
16718 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16720 cat >> confdefs.h
<<\EOF
16721 #define wxUSE_STATLINE 1
16728 if test "$wxUSE_STATUSBAR" = "yes"; then
16729 cat >> confdefs.h
<<\EOF
16730 #define wxUSE_STATUSBAR 1
16735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16738 if test "$wxUSE_TABDIALOG" = "yes"; then
16739 cat >> confdefs.h
<<\EOF
16740 #define wxUSE_TAB_DIALOG 1
16743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16746 if test "$wxUSE_TEXTCTRL" = "yes"; then
16747 cat >> confdefs.h
<<\EOF
16748 #define wxUSE_TEXTCTRL 1
16752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16755 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16756 if test "$wxUSE_MAC" = 1; then
16757 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16761 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16762 cat >> confdefs.h
<<\EOF
16763 #define wxUSE_TOGGLEBTN 1
16770 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16771 cat >> confdefs.h
<<\EOF
16772 #define wxUSE_TOOLBAR_SIMPLE 1
16775 wxUSE_TOOLBAR
="yes"
16779 if test "$wxUSE_TOOLBAR" = "yes"; then
16780 cat >> confdefs.h
<<\EOF
16781 #define wxUSE_TOOLBAR 1
16786 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16787 wxUSE_TOOLBAR_NATIVE
="yes"
16790 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16791 cat >> confdefs.h
<<\EOF
16792 #define wxUSE_TOOLBAR_NATIVE 1
16798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16801 if test "$wxUSE_TOOLTIPS" = "yes"; then
16802 if test "$wxUSE_MOTIF" = 1; then
16803 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16805 if test "$wxUSE_WINE" = 1; then
16806 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16808 cat >> confdefs.h
<<\EOF
16809 #define wxUSE_TOOLTIPS 1
16816 if test "$wxUSE_TREECTRL" = "yes"; then
16817 if test "$wxUSE_IMAGLIST" = "yes"; then
16818 cat >> confdefs.h
<<\EOF
16819 #define wxUSE_TREECTRL 1
16823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
16825 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16829 if test "$USES_CONTROLS" = 1; then
16830 cat >> confdefs.h
<<\EOF
16831 #define wxUSE_CONTROLS 1
16838 if test "$wxUSE_MENUS" = "yes"; then
16839 cat >> confdefs.h
<<\EOF
16840 #define wxUSE_MENUS 1
16843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
16846 if test "$wxUSE_METAFILE" = "yes"; then
16847 cat >> confdefs.h
<<\EOF
16848 #define wxUSE_METAFILE 1
16853 if test "$wxUSE_MIMETYPE" = "yes"; then
16854 cat >> confdefs.h
<<\EOF
16855 #define wxUSE_MIMETYPE 1
16860 if test "$wxUSE_MINIFRAME" = "yes"; then
16861 cat >> confdefs.h
<<\EOF
16862 #define wxUSE_MINIFRAME 1
16865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
16868 if test "$wxUSE_HTML" = "yes"; then
16869 cat >> confdefs.h
<<\EOF
16870 #define wxUSE_HTML 1
16873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
16874 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
16877 if test "$wxUSE_VALIDATORS" = "yes"; then
16878 cat >> confdefs.h
<<\EOF
16879 #define wxUSE_VALIDATORS 1
16882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
16885 if test "$wxUSE_IMAGE" = "yes" ; then
16886 cat >> confdefs.h
<<\EOF
16887 #define wxUSE_IMAGE 1
16892 if test "$wxUSE_GIF" = "yes" ; then
16893 cat >> confdefs.h
<<\EOF
16894 #define wxUSE_GIF 1
16899 if test "$wxUSE_PCX" = "yes" ; then
16900 cat >> confdefs.h
<<\EOF
16901 #define wxUSE_PCX 1
16906 if test "$wxUSE_PNM" = "yes" ; then
16907 cat >> confdefs.h
<<\EOF
16908 #define wxUSE_PNM 1
16913 if test "$wxUSE_XPM" = "yes" ; then
16914 cat >> confdefs.h
<<\EOF
16915 #define wxUSE_XPM 1
16921 if test "$wxUSE_CHOICEDLG" = "yes"; then
16922 cat >> confdefs.h
<<\EOF
16923 #define wxUSE_CHOICEDLG 1
16928 if test "$wxUSE_COLOURDLG" = "yes"; then
16929 cat >> confdefs.h
<<\EOF
16930 #define wxUSE_COLOURDLG 1
16935 if test "$wxUSE_FILEDLG" = "yes"; then
16936 cat >> confdefs.h
<<\EOF
16937 #define wxUSE_FILEDLG 1
16942 if test "$wxUSE_FONTDLG" = "yes"; then
16943 cat >> confdefs.h
<<\EOF
16944 #define wxUSE_FONTDLG 1
16949 if test "$wxUSE_DIRDLG" = "yes"; then
16950 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16951 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
16953 if test "$wxUSE_TREECTRL" != "yes"; then
16954 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
16956 cat >> confdefs.h
<<\EOF
16957 #define wxUSE_DIRDLG 1
16964 if test "$wxUSE_MSGDLG" = "yes"; then
16965 cat >> confdefs.h
<<\EOF
16966 #define wxUSE_MSGDLG 1
16971 if test "$wxUSE_NUMBERDLG" = "yes"; then
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_NUMBERDLG 1
16978 if test "$wxUSE_PROGRESSDLG" = "yes"; then
16979 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16980 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
16982 cat >> confdefs.h
<<\EOF
16983 #define wxUSE_PROGRESSDLG 1
16989 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
16990 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16991 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
16993 cat >> confdefs.h
<<\EOF
16994 #define wxUSE_STARTUP_TIPS 1
17000 if test "$wxUSE_TEXTDLG" = "yes"; then
17001 cat >> confdefs.h
<<\EOF
17002 #define wxUSE_TEXTDLG 1
17008 if test "$cross_compiling" = "yes"; then
17011 OSINFO
=`uname -s -r -m`
17012 OSINFO
="\"$OSINFO\""
17015 cat >> confdefs.h
<<EOF
17016 #define WXWIN_OS_DESCRIPTION $OSINFO
17021 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17022 OPENGL_LIBS
="$OPENGL_LINK"
17024 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17025 if test "$USE_MAC" = 1 ; then
17026 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17028 if test "$wxUSE_GUI" = "yes"; then
17029 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17032 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17034 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17036 if test "$wxUSE_GTK" = 1; then
17037 WXCONFIG_INCLUDE
=""
17039 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17042 if test "$GXX" = yes ; then
17043 CXXWARNINGS
="-Wall"
17045 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17047 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17048 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17050 LDFLAGS
="$LDFLAGS $PROFILE"
17052 if test "$wxUSE_GUI" = "yes"; then
17054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
17055 drawing dynamic event font fractal image \
17056 minimal richedit widgets"
17058 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17062 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17067 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17162 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17163 echo "configure:17164: checking whether ${MAKE-make} sets \${MAKE}" >&5
17164 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17165 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17166 echo $ac_n "(cached) $ac_c" 1>&6
17168 cat > conftestmake
<<\EOF
17170 @
echo 'ac_maketemp="${MAKE}"'
17172 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17173 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17174 if test -n "$ac_maketemp"; then
17175 eval ac_cv_prog_make_
${ac_make}_set
=yes
17177 eval ac_cv_prog_make_
${ac_make}_set
=no
17181 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17182 echo "$ac_t""yes" 1>&6
17185 echo "$ac_t""no" 1>&6
17186 SET_MAKE
="MAKE=${MAKE-make}"
17190 if test -d include
; then
17191 if test -d include
/wx
; then
17192 if test -d include
/wx
/${SETUPH_DIR}; then
17193 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17194 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17202 if test "$wxUSE_GUI" = "yes"; then
17203 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17204 wx_cv_path_ifs
=$PATH_IFS
17205 wx_cv_program_ext
=$PROGRAM_EXT
17206 wx_cv_target_library
=$WX_TARGET_LIBRARY
17207 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17208 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17209 wx_cv_target_library wx_cv_target_libtype
17210 subdirs
="demos samples utils contrib"
17215 cat > confcache
<<\EOF
17216 # This file is a shell script that caches the results of configure
17217 # tests run on this system so they can be shared between configure
17218 # scripts and configure runs. It is not useful on other systems.
17219 # If it contains results you don't want to keep, you may remove or edit it.
17221 # By default, configure uses ./config.cache as the cache file,
17222 # creating it if it does not exist already. You can give configure
17223 # the --cache-file=FILE option to use a different cache file; that is
17224 # what configure does when it calls configure scripts in
17225 # subdirectories, so they share the cache.
17226 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17227 # config.status only pays attention to the cache file if you give it the
17228 # --recheck option to rerun configure.
17231 # The following way of writing the cache mishandles newlines in values,
17232 # but we know of no workaround that is simple, portable, and efficient.
17233 # So, don't put newlines in cache variables' values.
17234 # Ultrix sh set writes to stderr and can't be redirected directly,
17235 # and sets the high bit in the cache file unless we assign to the vars.
17237 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17239 # `set' does not quote correctly, so add quotes (double-quote substitution
17240 # turns \\\\ into \\, and sed turns \\ into \).
17242 -e "s/'/'\\\\''/g" \
17243 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17246 # `set' quotes correctly as required by POSIX, so do not add quotes.
17247 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17250 if cmp -s $cache_file confcache
; then
17253 if test -w $cache_file; then
17254 echo "updating cache $cache_file"
17255 cat confcache
> $cache_file
17257 echo "not updating unwritable cache $cache_file"
17262 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17264 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17265 # Let make expand exec_prefix.
17266 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17268 # Any assignment to VPATH causes Sun make to only execute
17269 # the first set of double-colon rules, so remove it if not needed.
17270 # If there is a colon in the path, we need to keep it.
17271 if test "x$srcdir" = x.
; then
17272 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17275 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17277 DEFS
=-DHAVE_CONFIG_H
17279 # Without the "./", some shells look in PATH for config.status.
17280 : ${CONFIG_STATUS=./config.status}
17282 echo creating
$CONFIG_STATUS
17283 rm -f $CONFIG_STATUS
17284 cat > $CONFIG_STATUS <<EOF
17286 # Generated automatically by configure.
17287 # Run this file to recreate the current configuration.
17288 # This directory was configured as follows,
17289 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17291 # $0 $ac_configure_args
17293 # Compiler output produced by configure, useful for debugging
17294 # configure, is in ./config.log if it exists.
17296 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17299 case "\$ac_option" in
17300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17301 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17302 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17303 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17304 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17306 -help | --help | --hel | --he | --h)
17307 echo "\$ac_cs_usage"; exit 0 ;;
17308 *) echo "\$ac_cs_usage"; exit 1 ;;
17312 ac_given_srcdir=$srcdir
17313 ac_given_INSTALL="$INSTALL"
17315 trap 'rm -fr `echo "
17321 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17323 cat >> $CONFIG_STATUS <<EOF
17325 # Protect against being on the right side of a sed subst in config.status.
17326 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17327 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17331 s%@CFLAGS@%$CFLAGS%g
17332 s%@CPPFLAGS@%$CPPFLAGS%g
17333 s%@CXXFLAGS@%$CXXFLAGS%g
17334 s%@FFLAGS@%$FFLAGS%g
17336 s%@LDFLAGS@%$LDFLAGS%g
17338 s%@exec_prefix@%$exec_prefix%g
17339 s%@prefix@%$prefix%g
17340 s%@program_transform_name@%$program_transform_name%g
17341 s%@bindir@%$bindir%g
17342 s%@sbindir@%$sbindir%g
17343 s%@libexecdir@%$libexecdir%g
17344 s%@datadir@%$datadir%g
17345 s%@sysconfdir@%$sysconfdir%g
17346 s%@sharedstatedir@%$sharedstatedir%g
17347 s%@localstatedir@%$localstatedir%g
17348 s%@libdir@%$libdir%g
17349 s%@includedir@%$includedir%g
17350 s%@oldincludedir@%$oldincludedir%g
17351 s%@infodir@%$infodir%g
17352 s%@mandir@%$mandir%g
17354 s%@host_alias@%$host_alias%g
17355 s%@host_cpu@%$host_cpu%g
17356 s%@host_vendor@%$host_vendor%g
17357 s%@host_os@%$host_os%g
17358 s%@target@%$target%g
17359 s%@target_alias@%$target_alias%g
17360 s%@target_cpu@%$target_cpu%g
17361 s%@target_vendor@%$target_vendor%g
17362 s%@target_os@%$target_os%g
17364 s%@build_alias@%$build_alias%g
17365 s%@build_cpu@%$build_cpu%g
17366 s%@build_vendor@%$build_vendor%g
17367 s%@build_os@%$build_os%g
17371 s%@CXXCPP@%$CXXCPP%g
17372 s%@RANLIB@%$RANLIB%g
17374 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17375 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17376 s%@INSTALL_DATA@%$INSTALL_DATA%g
17380 s%@LEXLIB@%$LEXLIB%g
17382 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17383 s%@GTK_CONFIG@%$GTK_CONFIG%g
17384 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17385 s%@GTK_LIBS@%$GTK_LIBS%g
17386 s%@X_CFLAGS@%$X_CFLAGS%g
17387 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17388 s%@X_LIBS@%$X_LIBS%g
17389 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17392 s%@LEX_STEM@%$LEX_STEM%g
17393 s%@PATH_IFS@%$PATH_IFS%g
17394 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17395 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17396 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17397 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17398 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17399 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17400 s%@WX_LIBRARY@%$WX_LIBRARY%g
17401 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17402 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17403 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17404 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17405 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17406 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17407 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17408 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17409 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17410 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17411 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17412 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17413 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17414 s%@WX_ALL@%$WX_ALL%g
17415 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17416 s%@SHARED_LD@%$SHARED_LD%g
17417 s%@PIC_FLAG@%$PIC_FLAG%g
17418 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17419 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17420 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17421 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17422 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17423 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17424 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17425 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17426 s%@USE_GUI@%$USE_GUI%g
17427 s%@AFMINSTALL@%$AFMINSTALL%g
17428 s%@SETUPH_DIR@%$SETUPH_DIR%g
17429 s%@TOOLKIT@%$TOOLKIT%g
17430 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17431 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17432 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17433 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17434 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17435 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17436 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17437 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17438 s%@GUIDIST@%$GUIDIST%g
17439 s%@PORT_FILES@%$PORT_FILES%g
17440 s%@DISTDIR@%$DISTDIR%g
17441 s%@RPM_SPEC@%$RPM_SPEC%g
17442 s%@RPM_FILES@%$RPM_FILES%g
17443 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17444 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17445 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17446 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17447 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17448 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17449 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17450 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17451 s%@EXTRADEFS@%$EXTRADEFS%g
17452 s%@LD_LIBS@%$LD_LIBS%g
17453 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17454 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17455 s%@RESPROGRAM@%$RESPROGRAM%g
17456 s%@RESCOMP@%$RESCOMP%g
17457 s%@RESFLAGS@%$RESFLAGS%g
17458 s%@REZFLAGS@%$REZFLAGS%g
17459 s%@DEREZFLAGS@%$DEREZFLAGS%g
17460 s%@LIBWXMACRES@%$LIBWXMACRES%g
17461 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17462 s%@DLLTOOL@%$DLLTOOL%g
17466 s%@MAKEINFO@%$MAKEINFO%g
17467 s%@SET_MAKE@%$SET_MAKE%g
17468 s%@subdirs@%$subdirs%g
17473 cat >> $CONFIG_STATUS <<\EOF
17475 # Split the substitutions into bite-sized pieces for seds with
17476 # small command number limits, like on Digital OSF/1 and HP-UX.
17477 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17478 ac_file
=1 # Number of current file.
17479 ac_beg
=1 # First line for current file.
17480 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17483 while $ac_more_lines; do
17484 if test $ac_beg -gt 1; then
17485 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17487 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17489 if test ! -s conftest.s
$ac_file; then
17490 ac_more_lines
=false
17491 rm -f conftest.s
$ac_file
17493 if test -z "$ac_sed_cmds"; then
17494 ac_sed_cmds
="sed -f conftest.s$ac_file"
17496 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17498 ac_file
=`expr $ac_file + 1`
17500 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17503 if test -z "$ac_sed_cmds"; then
17508 cat >> $CONFIG_STATUS <<EOF
17510 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17517 cat >> $CONFIG_STATUS <<\EOF
17518 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17519 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17521 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17522 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17523 *) ac_file_in
="${ac_file}.in" ;;
17526 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17528 # Remove last slash and all that follows it. Not all systems have dirname.
17529 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17530 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17531 # The file is in a subdirectory.
17532 test ! -d "$ac_dir" && mkdir "$ac_dir"
17533 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17534 # A "../" for each directory in $ac_dir_suffix.
17535 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17537 ac_dir_suffix
= ac_dots
=
17540 case "$ac_given_srcdir" in
17542 if test -z "$ac_dots"; then top_srcdir
=.
17543 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17544 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17545 *) # Relative path.
17546 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17547 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17550 case "$ac_given_INSTALL" in
17551 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17552 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17555 echo creating
"$ac_file"
17557 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17559 *Makefile
*) ac_comsub
="1i\\
17560 # $configure_input" ;;
17564 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17566 s%@configure_input@%$configure_input%g
17567 s%@srcdir@%$srcdir%g
17568 s%@top_srcdir@%$top_srcdir%g
17569 s%@INSTALL@%$INSTALL%g
17570 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17574 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17575 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17577 # ac_d sets the value in "#define NAME VALUE" lines.
17578 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17579 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17582 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17583 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17584 ac_uB
='\([ ]\)%\1#\2define\3'
17587 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17588 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17589 ac_eB
='$%\1#\2define\3'
17593 if test "${CONFIG_HEADERS+set}" != set; then
17595 cat >> $CONFIG_STATUS <<EOF
17596 CONFIG_HEADERS="setup.h:setup.h.in"
17598 cat >> $CONFIG_STATUS <<\EOF
17600 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17601 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17603 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17604 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17605 *) ac_file_in
="${ac_file}.in" ;;
17608 echo creating
$ac_file
17610 rm -f conftest.frag conftest.
in conftest.out
17611 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17612 cat $ac_file_inputs > conftest.
in
17616 # Transform confdefs.h into a sed script conftest.vals that substitutes
17617 # the proper values into config.h.in to produce config.h. And first:
17618 # Protect against being on the right side of a sed subst in config.status.
17619 # Protect against being in an unquoted here document in config.status.
17620 rm -f conftest.vals
17621 cat > conftest.hdr
<<\EOF
17624 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17628 sed -n -f conftest.hdr confdefs.h > conftest.vals
17631 # This sed command replaces #undef with comments. This is necessary, for
17632 # example, in the case of _POSIX_SOURCE, which is predefined and required
17633 # on some systems where configure will not decide to define it.
17634 cat >> conftest.vals <<\EOF
17635 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17638 # Break up conftest.vals because some shells have a limit on
17639 # the size of here documents, and old seds have small limits too.
17641 rm -f conftest.tail
17644 ac_lines=`grep -c . conftest.vals
`
17645 # grep -c gives empty output for an empty file on some AIX systems.
17646 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17647 # Write a limited-size here document to conftest.frag.
17648 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17649 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17651 sed -f conftest.frag conftest.in > conftest.out
17653 mv conftest.out conftest.in
17654 ' >> $CONFIG_STATUS
17655 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17656 rm -f conftest.vals
17657 mv conftest.tail conftest.vals
17659 rm -f conftest.vals
17661 cat >> $CONFIG_STATUS <<\EOF
17662 rm -f conftest.frag conftest.h
17663 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17664 cat conftest.in >> conftest.h
17666 if cmp -s $ac_file conftest.h 2>/dev/null; then
17667 echo "$ac_file is unchanged"
17670 # Remove last slash and all that follows it. Not all systems have dirname.
17671 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17672 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17673 # The file is in a subdirectory.
17674 test ! -d "$ac_dir" && mkdir "$ac_dir"
17677 mv conftest.h $ac_file
17682 cat >> $CONFIG_STATUS <<EOF
17684 SETUPH_DIR="${SETUPH_DIR}"
17685 TOOLKIT_NAME="${TOOLKIT_NAME}"
17690 cat >> $CONFIG_STATUS <<\EOF
17692 if test ! -f wx${TOOLKIT_NAME}-config; then
17694 mv wx-config wx${TOOLKIT_NAME}-config
17695 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17699 if test ! -d lib; then
17702 if test ! -d lib/wx; then
17705 if test ! -d lib/wx/include; then
17706 mkdir lib/wx/include
17708 if test ! -d lib/wx/include/wx; then
17709 mkdir lib/wx/include/wx
17711 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17712 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17714 if test -f setup.h; then
17715 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17719 if test ! -d include; then
17722 if test ! -d include/wx; then
17725 if test ! -d include/wx/${SETUPH_DIR}; then
17726 mkdir include/wx/${SETUPH_DIR}
17728 if test -f setup.h; then
17729 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17735 chmod +x $CONFIG_STATUS
17736 rm -fr confdefs* $ac_clean_files
17737 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17739 if test "$no_recursion" != yes; then
17741 # Remove --cache-file and --srcdir arguments so they do not pile up.
17742 ac_sub_configure_args=
17744 for ac_arg in $ac_configure_args; do
17745 if test -n "$ac_prev"; then
17750 -cache-file | --cache-file | --cache-fil | --cache-fi \
17751 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17752 ac_prev=cache_file ;;
17753 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17754 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17756 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17758 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17760 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17764 for ac_config_dir in demos samples utils contrib; do
17766 # Do not complain, so a configure script can configure whichever
17767 # parts of a large source tree are present.
17768 if test ! -d $srcdir/$ac_config_dir; then
17772 echo configuring in $ac_config_dir
17777 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17779 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17787 # A "../" for each directory in /$ac_config_dir.
17788 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17791 .) # No --srcdir option. We are building in place.
17792 ac_sub_srcdir=$srcdir ;;
17793 /*) # Absolute path.
17794 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17795 *) # Relative path.
17796 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17799 # Check for guested configure; otherwise get Cygnus style configure.
17800 if test -f $ac_sub_srcdir/configure; then
17801 ac_sub_configure=$ac_sub_srcdir/configure
17802 elif test -f $ac_sub_srcdir/configure.in; then
17803 ac_sub_configure=$ac_configure
17805 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17809 # The recursion is here.
17810 if test -n "$ac_sub_configure"; then
17812 # Make the cache file name correct relative to the subdirectory.
17813 case "$cache_file" in
17814 /*) ac_sub_cache_file=$cache_file ;;
17815 *) # Relative path.
17816 ac_sub_cache_file="$ac_dots$cache_file" ;;
17818 case "$ac_given_INSTALL" in
17819 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17820 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17823 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17824 # The eval makes quoting arguments work.
17825 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17828 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }