3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-intl use internationalization system"
127 --enable-config use wxConfig (and derived) classes"
129 --enable-sockets use socket/network classes"
131 --enable-ipc use interprocess communication (wxSocket etc.)"
133 --enable-cmdline use wxCmdLineParser class"
135 --enable-datetime use wxDateTime class"
137 --enable-timedate use obsolete wxDate/wxTime classes"
139 --enable-stopwatch use wxStopWatch class"
141 --enable-dialupman use dialup network classes"
143 --enable-apple_ieee use the Apple IEEE codec"
145 --enable-timer use wxTimer class"
147 --enable-wave use wxWave class"
149 --enable-fraction use wxFraction class"
151 --enable-dynlib use wxLibrary class for DLL loading"
153 --enable-longlong use wxLongLong class"
155 --enable-geometry use geometry class"
157 --enable-log use logging system"
159 --enable-streams use wxStream etc classes"
161 --enable-file use wxFile classes"
163 --enable-ffile use wxFFile classes"
165 --enable-textfile use wxTextFile classes"
167 --enable-fontmap use font encodings conversion classes"
169 --enable-unicode compile wxString with Unicode support"
171 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
173 --enable-wxprintfv use wxWindows implementation of vprintf()"
175 --enable-std_iostreams use standard C++ stream classes"
177 --enable-filesystem use virtual file systems classes"
179 --enable-fs_inet use virtual HTTP/FTP filesystems"
181 --enable-fs_zip use virtual ZIP filesystems"
183 --enable-zipstream use wxZipInputStream"
185 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
187 --enable-snglinst use wxSingleInstanceChecker class"
189 --enable-mimetypes use wxMimeTypesManager"
191 --enable-threads use threads"
193 --enable-serial use class serialization"
195 --enable-docview use document view architecture"
197 --enable-help use help (using external browser at present)"
199 --enable-constraints use layout-constraints system"
201 --enable-printarch use printing architecture"
203 --enable-mdi use multiple document interface architecture"
205 --enable-loggui use standard GUI logger"
207 --enable-logwin use wxLogWindow"
209 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
211 --enable-prologio use Prolog IO library"
213 --enable-resources use wxWindows resources"
215 --enable-xresources use X resources for save (default for gtk+)"
217 --enable-clipboard use wxClipboard classes"
219 --enable-dnd use Drag'n'Drop classes"
221 --enable-metafile use win32 metafiles"
223 --enable-wxtree make wxTree library"
225 --enable-controls use all usual controls"
227 --enable-accel use accelerators"
229 --enable-button use wxButton class"
231 --enable-bmpbutton use wxBitmapButton class"
233 --enable-calendar use wxCalendarCtrl class"
235 --enable-caret use wxCaret class"
237 --enable-checkbox use wxCheckBox class"
239 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
241 --enable-choice use wxChoice class"
243 --enable-combobox use wxComboBox classes"
245 --enable-gauge use wxGauge class"
247 --enable-grid use wxGrid class"
249 --enable-newgrid use new wxGrid class"
251 --enable-imaglist use wxImageList class"
253 --enable-listbox use wxListBox class"
255 --enable-listctrl use wxListCtrl class"
257 --enable-notebook use wxNotebook class"
259 --enable-radiobox use wxRadioBox class"
261 --enable-radiobtn use wxRadioButton class"
263 --enable-sash use wxSashWindow class"
265 --enable-scrollbar use wxScrollBar class and scrollable windows"
267 --enable-slider use wxSlider class"
269 --enable-spinbtn use wxSpinButton class"
271 --enable-spinctrl use wxSpinCtrl class"
273 --enable-splitter use wxSplitterWindow class"
275 --enable-statbmp use wxStaticBitmap class"
277 --enable-statbox use wxStaticBox class"
279 --enable-statline use wxStaticLine class"
281 --enable-stattext use wxStaticText class"
283 --enable-statusbar use wxStatusBar class"
285 --enable-tabdialog use wxTabControl class"
287 --enable-textctrl use wxTextCtrl class"
289 --enable-togglebtn use wxToggleButton class"
291 --enable-toolbar use wxToolBar class"
293 --enable-tbarnative use native wxToolBar class"
295 --enable-tbarsmpl use wxToolBarSimple class"
297 --enable-treectrl use wxTreeCtrl class"
299 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
301 --enable-choicedlg use wxChoiceDialog"
303 --enable-coldlg use wxColourDialog"
305 --enable-filedlg use wxFileDialog"
307 --enable-fontdlg use wxFontDialog"
309 --enable-dirdlg use wxDirDialog"
311 --enable-msgdlg use wxMessageDialog"
313 --enable-numberdlg use wxNumberEntryDialog"
315 --enable-textdlg use wxTextDialog"
317 --enable-tipdlg use startup tips"
319 --enable-progressdlg use wxProgressDialog"
321 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
323 --enable-miniframe use wxMiniFrame class"
325 --enable-html use wxHTML sub-library"
327 --enable-tooltips use wxToolTip class"
329 --enable-splines use spline drawing code"
331 --enable-validators use wxValidator and derived classes"
333 --enable-busyinfo use wxBusyInfo"
335 --enable-joystick compile in joystick support (Linux only)"
337 --enable-metafiles use wxMetaFile (Windows only)"
339 --enable-image use wxImage class"
341 --enable-gif use gif images (GIF file format)"
343 --enable-pcx use pcx images (PCX file format)"
345 --enable-pnm use pnm images (PNM file format)"
347 --enable-xpm use xpm images (XPM file format)"
349 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
351 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
353 --disable-gtktest Do not try to compile and run a test GTK program"
355 --with-x use the X Window System"
357 # Initialize some variables set by options.
358 # The variables have the same names as the options, with
359 # dashes changed to underlines.
361 cache_file
=.
/config.cache
370 program_transform_name
=s
,x
,x
,
378 bindir
='${exec_prefix}/bin'
379 sbindir
='${exec_prefix}/sbin'
380 libexecdir
='${exec_prefix}/libexec'
381 datadir
='${prefix}/share'
382 sysconfdir
='${prefix}/etc'
383 sharedstatedir
='${prefix}/com'
384 localstatedir
='${prefix}/var'
385 libdir
='${exec_prefix}/lib'
386 includedir
='${prefix}/include'
387 oldincludedir
='/usr/include'
388 infodir
='${prefix}/info'
389 mandir
='${prefix}/man'
391 # Initialize some other variables.
394 SHELL
=${CONFIG_SHELL-/bin/sh}
395 # Maximum number of lines to put in a shell here document.
402 # If the previous option needs an argument, assign it.
403 if test -n "$ac_prev"; then
404 eval "$ac_prev=\$ac_option"
410 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
414 # Accept the important Cygnus configure options, so we can diagnose typos.
418 -bindir | --bindir | --bindi | --bind | --bin | --bi)
420 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
421 bindir
="$ac_optarg" ;;
423 -build | --build | --buil | --bui | --bu)
425 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
426 build
="$ac_optarg" ;;
428 -cache-file | --cache-file | --cache-fil | --cache-fi \
429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
430 ac_prev
=cache_file
;;
431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
433 cache_file
="$ac_optarg" ;;
435 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
437 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
439 datadir
="$ac_optarg" ;;
441 -disable-* | --disable-*)
442 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
443 # Reject names that are not valid shell variable names.
444 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
445 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
447 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
448 eval "enable_${ac_feature}=no" ;;
450 -enable-* | --enable-*)
451 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
452 # Reject names that are not valid shell variable names.
453 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
454 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
456 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
461 eval "enable_${ac_feature}='$ac_optarg'" ;;
463 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
464 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
465 | --exec | --exe | --ex)
466 ac_prev
=exec_prefix
;;
467 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
468 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
469 | --exec=* | --exe=* | --ex=*)
470 exec_prefix
="$ac_optarg" ;;
472 -gas | --gas | --ga | --g)
473 # Obsolete; use --with-gas.
476 -help | --help | --hel | --he)
477 # Omit some internal or obsolete options to make the list less imposing.
478 # This message is too long to be a string in the A/UX 3.1 sh.
480 Usage: configure [options] [host]
481 Options: [defaults in brackets after descriptions]
483 --cache-file=FILE cache test results in FILE
484 --help print this message
485 --no-create do not create output files
486 --quiet, --silent do not print \`checking...' messages
487 --version print the version of autoconf that created configure
488 Directory and file names:
489 --prefix=PREFIX install architecture-independent files in PREFIX
491 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
493 --bindir=DIR user executables in DIR [EPREFIX/bin]
494 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
495 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
496 --datadir=DIR read-only architecture-independent data in DIR
498 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
499 --sharedstatedir=DIR modifiable architecture-independent data in DIR
501 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
502 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
503 --includedir=DIR C header files in DIR [PREFIX/include]
504 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
505 --infodir=DIR info documentation in DIR [PREFIX/info]
506 --mandir=DIR man documentation in DIR [PREFIX/man]
507 --srcdir=DIR find the sources in DIR [configure dir or ..]
508 --program-prefix=PREFIX prepend PREFIX to installed program names
509 --program-suffix=SUFFIX append SUFFIX to installed program names
510 --program-transform-name=PROGRAM
511 run sed PROGRAM on installed program names
515 --build=BUILD configure for building on BUILD [BUILD=HOST]
516 --host=HOST configure for HOST [guessed]
517 --target=TARGET configure for TARGET [TARGET=HOST]
518 Features and packages:
519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
521 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
522 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
523 --x-includes=DIR X include files are in DIR
524 --x-libraries=DIR X library files are in DIR
526 if test -n "$ac_help"; then
527 echo "--enable and --with options recognized:$ac_help"
531 -host | --host | --hos | --ho)
533 -host=* | --host=* | --hos=* | --ho=*)
536 -includedir | --includedir | --includedi | --included | --include \
537 | --includ | --inclu | --incl | --inc)
538 ac_prev
=includedir
;;
539 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
540 | --includ=* | --inclu=* | --incl=* | --inc=*)
541 includedir
="$ac_optarg" ;;
543 -infodir | --infodir | --infodi | --infod | --info | --inf)
545 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
546 infodir
="$ac_optarg" ;;
548 -libdir | --libdir | --libdi | --libd)
550 -libdir=* | --libdir=* | --libdi=* | --libd=*)
551 libdir
="$ac_optarg" ;;
553 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
554 | --libexe | --libex | --libe)
555 ac_prev
=libexecdir
;;
556 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
557 | --libexe=* | --libex=* | --libe=*)
558 libexecdir
="$ac_optarg" ;;
560 -localstatedir | --localstatedir | --localstatedi | --localstated \
561 | --localstate | --localstat | --localsta | --localst \
562 | --locals | --local | --loca | --loc | --lo)
563 ac_prev
=localstatedir
;;
564 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
565 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
566 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
567 localstatedir
="$ac_optarg" ;;
569 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
571 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
572 mandir
="$ac_optarg" ;;
575 # Obsolete; use --without-fp.
578 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
582 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
583 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
586 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
587 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
588 | --oldin | --oldi | --old | --ol | --o)
589 ac_prev
=oldincludedir
;;
590 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
591 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
592 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
593 oldincludedir
="$ac_optarg" ;;
595 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
597 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
598 prefix
="$ac_optarg" ;;
600 -program-prefix | --program-prefix | --program-prefi | --program-pref \
601 | --program-pre | --program-pr | --program-p)
602 ac_prev
=program_prefix
;;
603 -program-prefix=* | --program-prefix=* | --program-prefi=* \
604 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
605 program_prefix
="$ac_optarg" ;;
607 -program-suffix | --program-suffix | --program-suffi | --program-suff \
608 | --program-suf | --program-su | --program-s)
609 ac_prev
=program_suffix
;;
610 -program-suffix=* | --program-suffix=* | --program-suffi=* \
611 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
612 program_suffix
="$ac_optarg" ;;
614 -program-transform-name | --program-transform-name \
615 | --program-transform-nam | --program-transform-na \
616 | --program-transform-n | --program-transform- \
617 | --program-transform | --program-transfor \
618 | --program-transfo | --program-transf \
619 | --program-trans | --program-tran \
620 | --progr-tra | --program-tr | --program-t)
621 ac_prev
=program_transform_name
;;
622 -program-transform-name=* | --program-transform-name=* \
623 | --program-transform-nam=* | --program-transform-na=* \
624 | --program-transform-n=* | --program-transform-=* \
625 | --program-transform=* | --program-transfor=* \
626 | --program-transfo=* | --program-transf=* \
627 | --program-trans=* | --program-tran=* \
628 | --progr-tra=* | --program-tr=* | --program-t=*)
629 program_transform_name
="$ac_optarg" ;;
631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
632 | -silent | --silent | --silen | --sile | --sil)
635 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
637 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
639 sbindir
="$ac_optarg" ;;
641 -sharedstatedir | --sharedstatedir | --sharedstatedi \
642 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
643 | --sharedst | --shareds | --shared | --share | --shar \
645 ac_prev
=sharedstatedir
;;
646 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
647 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
648 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
650 sharedstatedir
="$ac_optarg" ;;
652 -site | --site | --sit)
654 -site=* | --site=* | --sit=*)
657 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
659 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
660 srcdir
="$ac_optarg" ;;
662 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
663 | --syscon | --sysco | --sysc | --sys | --sy)
664 ac_prev
=sysconfdir
;;
665 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
666 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
667 sysconfdir
="$ac_optarg" ;;
669 -target | --target | --targe | --targ | --tar | --ta | --t)
671 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
672 target
="$ac_optarg" ;;
674 -v | -verbose | --verbose | --verbos | --verbo | --verb)
677 -version | --version | --versio | --versi | --vers)
678 echo "configure generated by autoconf version 2.13"
682 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
683 # Reject names that are not valid shell variable names.
684 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
685 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
687 ac_package
=`echo $ac_package| sed 's/-/_/g'`
692 eval "with_${ac_package}='$ac_optarg'" ;;
694 -without-* | --without-*)
695 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
696 # Reject names that are not valid shell variable names.
697 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
698 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
700 ac_package
=`echo $ac_package| sed 's/-/_/g'`
701 eval "with_${ac_package}=no" ;;
704 # Obsolete; use --with-x.
707 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
708 | --x-incl | --x-inc | --x-in | --x-i)
709 ac_prev
=x_includes
;;
710 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
711 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
712 x_includes
="$ac_optarg" ;;
714 -x-libraries | --x-libraries | --x-librarie | --x-librari \
715 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
716 ac_prev
=x_libraries
;;
717 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
718 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
719 x_libraries
="$ac_optarg" ;;
721 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
725 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
726 echo "configure: warning: $ac_option: invalid host type" 1>&2
728 if test "x$nonopt" != xNONE
; then
729 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
737 if test -n "$ac_prev"; then
738 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
741 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
743 # File descriptor usage:
746 # 2 errors and warnings
747 # 3 some systems may open it to /dev/tty
748 # 4 used on the Kubota Titan
749 # 6 checking for... messages and results
750 # 5 compiler messages saved in config.log
751 if test "$silent" = yes; then
759 This file contains any messages produced by compilers while
760 running configure, to aid debugging if configure makes a mistake.
763 # Strip out --no-create and --no-recursion so they do not pile up.
764 # Also quote any args containing shell metacharacters.
769 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
770 | --no-cr | --no-c) ;;
771 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
772 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
773 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
774 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
775 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
780 # Only set these to C if already set. These must not be set unconditionally
781 # because not all systems understand e.g. LANG=C (notably SCO).
782 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
783 # Non-C LC_CTYPE values break the ctype check.
784 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
785 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
786 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
787 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
790 rm -rf conftest
* confdefs.h
791 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
794 # A filename unique to this package, relative to the directory that
795 # configure is in, which we can look for to find out if srcdir is correct.
796 ac_unique_file
=wx
-config.
in
798 # Find the source files, if location was not specified.
799 if test -z "$srcdir"; then
800 ac_srcdir_defaulted
=yes
801 # Try the directory containing this script, then its parent.
803 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
804 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
806 if test ! -r $srcdir/$ac_unique_file; then
810 ac_srcdir_defaulted
=no
812 if test ! -r $srcdir/$ac_unique_file; then
813 if test "$ac_srcdir_defaulted" = yes; then
814 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
816 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
819 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
821 # Prefer explicitly selected file to automatically selected ones.
822 if test -z "$CONFIG_SITE"; then
823 if test "x$prefix" != xNONE
; then
824 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
826 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
829 for ac_site_file
in $CONFIG_SITE; do
830 if test -r "$ac_site_file"; then
831 echo "loading site script $ac_site_file"
836 if test -r "$cache_file"; then
837 echo "loading cache $cache_file"
840 echo "creating cache $cache_file"
845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
846 ac_cpp
='$CPP $CPPFLAGS'
847 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
848 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
849 cross_compiling
=$ac_cv_prog_cc_cross
853 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
854 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
855 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
862 ac_n
= ac_c
='\c' ac_t
=
868 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
869 if test -f $ac_dir/install-sh; then
871 ac_install_sh
="$ac_aux_dir/install-sh -c"
873 elif test -f $ac_dir/install.sh
; then
875 ac_install_sh
="$ac_aux_dir/install.sh -c"
879 if test -z "$ac_aux_dir"; then
880 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
882 ac_config_guess
=$ac_aux_dir/config.guess
883 ac_config_sub
=$ac_aux_dir/config.sub
884 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
887 # Do some error checking and defaulting for the host and target type.
889 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
892 # 1. You are not allowed to specify --host, --target, and nonopt at the
894 # 2. Host defaults to nonopt.
895 # 3. If nonopt is not specified, then host defaults to the current host,
896 # as determined by config.guess.
897 # 4. Target and build default to nonopt.
898 # 5. If nonopt is not specified, then target and build default to host.
900 # The aliases save the names the user supplied, while $host etc.
901 # will get canonicalized.
902 case $host---$target---$nonopt in
903 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
904 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
908 # Make sure we can run config.sub.
909 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
910 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
913 echo $ac_n "checking host system type""... $ac_c" 1>&6
914 echo "configure:915: checking host system type" >&5
917 case "$host_alias" in
921 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
922 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
924 *) host_alias
=$nonopt ;;
928 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
929 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
930 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
931 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
932 echo "$ac_t""$host" 1>&6
934 echo $ac_n "checking target system type""... $ac_c" 1>&6
935 echo "configure:936: checking target system type" >&5
938 case "$target_alias" in
941 NONE
) target_alias
=$host_alias ;;
942 *) target_alias
=$nonopt ;;
946 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
947 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
948 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
949 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
950 echo "$ac_t""$target" 1>&6
952 echo $ac_n "checking build system type""... $ac_c" 1>&6
953 echo "configure:954: checking build system type" >&5
956 case "$build_alias" in
959 NONE
) build_alias
=$host_alias ;;
960 *) build_alias
=$nonopt ;;
964 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
965 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
966 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
967 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
968 echo "$ac_t""$build" 1>&6
970 test "$host_alias" != "$target_alias" &&
971 test "$program_prefix$program_suffix$program_transform_name" = \
973 program_prefix
=${target_alias}-
977 WX_MAJOR_VERSION_NUMBER
=2
978 WX_MINOR_VERSION_NUMBER
=3
981 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
982 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1016 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1018 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1023 DEFAULT_wxUSE_MOTIF
=0
1026 DEFAULT_wxUSE_WINE
=0
1028 DEFAULT_DEFAULT_wxUSE_GTK
=0
1029 DEFAULT_DEFAULT_wxUSE_MAC
=0
1030 DEFAULT_DEFAULT_wxUSE_MGL
=0
1031 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1032 DEFAULT_DEFAULT_wxUSE_MSW
=0
1033 DEFAULT_DEFAULT_wxUSE_PM
=0
1034 DEFAULT_DEFAULT_wxUSE_WINE
=0
1041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1042 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1043 cat >> confdefs.h
<<\EOF
1050 cat >> confdefs.h
<<\EOF
1055 if test "x$TMP" = "xalpha"; then
1057 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_GTK
=1
1064 *-*-irix5* | *-*-irix6* )
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1081 cat >> confdefs.h
<<\EOF
1085 cat >> confdefs.h
<<\EOF
1086 #define __SOLARIS__ 1
1089 cat >> confdefs.h
<<\EOF
1093 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1094 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1117 cat >> confdefs.h
<<\EOF
1118 #define __FREEBSD__ 1
1121 cat >> confdefs.h
<<\EOF
1125 DEFAULT_DEFAULT_wxUSE_GTK
=1
1130 cat >> confdefs.h
<<\EOF
1131 #define __FREEBSD__ 1
1134 cat >> confdefs.h
<<\EOF
1135 #define __OPENBSD__ 1
1138 DEFAULT_DEFAULT_wxUSE_GTK
=1
1143 cat >> confdefs.h
<<\EOF
1144 #define __FREEBSD__ 1
1147 cat >> confdefs.h
<<\EOF
1148 #define __NETBSD__ 1
1151 DEFAULT_DEFAULT_wxUSE_GTK
=1
1156 cat >> confdefs.h
<<\EOF
1160 cat >> confdefs.h
<<\EOF
1164 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1165 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1170 cat >> confdefs.h
<<\EOF
1174 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1212 *-*-cygwin* | *-*-mingw32* )
1215 cat >> confdefs.h
<<\EOF
1219 cat >> confdefs.h
<<\EOF
1223 cat >> confdefs.h
<<\EOF
1224 #define __WINDOWS__ 1
1227 cat >> confdefs.h
<<\EOF
1228 #define __GNUWIN32__ 1
1231 cat >> confdefs.h
<<\EOF
1235 cat >> confdefs.h
<<\EOF
1236 #define WINVER 0x0400
1240 DEFAULT_DEFAULT_wxUSE_MSW
=1
1244 cat >> confdefs.h
<<\EOF
1249 DEFAULT_DEFAULT_wxUSE_PM
=1
1255 cat >> confdefs.h
<<\EOF
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_MAC
=1
1272 cat >> confdefs.h
<<\EOF
1279 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1282 if test "$USE_UNIX" = 1 ; then
1284 cat >> confdefs.h
<<\EOF
1289 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1290 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1293 if test "$USE_BEOS" = 1; then
1294 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1295 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1298 if test "$USE_LINUX" = 1; then
1299 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1300 echo "configure:1301: checking for gettext in -lc" >&5
1301 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1303 echo $ac_n "(cached) $ac_c" 1>&6
1305 ac_save_LIBS
="$LIBS"
1307 cat > conftest.
$ac_ext <<EOF
1308 #line 1309 "configure"
1309 #include "confdefs.h"
1310 /* Override any gcc2 internal prototype to avoid an error. */
1311 /* We use char because int might match the return type of a gcc2
1312 builtin and then its argument prototype would still apply. */
1319 if { (eval echo configure
:1320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1321 eval "ac_cv_lib_$ac_lib_var=yes"
1323 echo "configure: failed program was:" >&5
1324 cat conftest.
$ac_ext >&5
1326 eval "ac_cv_lib_$ac_lib_var=no"
1329 LIBS
="$ac_save_LIBS"
1332 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1333 echo "$ac_t""yes" 1>&6
1334 cat >> confdefs.h
<<\EOF
1335 #define wxHAVE_GLIBC2 1
1339 echo "$ac_t""no" 1>&6
1347 wx_arg_cache_file
="configarg.cache"
1348 echo "loading argument cache $wx_arg_cache_file"
1349 rm -f ${wx_arg_cache_file}.tmp
1350 touch ${wx_arg_cache_file}.tmp
1351 touch ${wx_arg_cache_file}
1355 if test $DEBUG_CONFIGURE = 1; then
1356 DEFAULT_wxUSE_UNIVERSAL
=no
1358 DEFAULT_wxUSE_THREADS
=yes
1360 DEFAULT_wxUSE_SHARED
=yes
1361 DEFAULT_wxUSE_BURNT_NAME
=no
1362 DEFAULT_wxUSE_OPTIMISE
=no
1363 DEFAULT_wxUSE_PROFILE
=no
1364 DEFAULT_wxUSE_NO_DEPS
=no
1365 DEFAULT_wxUSE_NO_RTTI
=no
1366 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1367 DEFAULT_wxUSE_PERMISSIVE
=no
1368 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1369 DEFAULT_wxUSE_DEBUG_INFO
=yes
1370 DEFAULT_wxUSE_DEBUG_GDB
=yes
1371 DEFAULT_wxUSE_MEM_TRACING
=no
1372 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1373 DEFAULT_wxUSE_DMALLOC
=no
1374 DEFAULT_wxUSE_APPLE_IEEE
=no
1376 DEFAULT_wxUSE_LOG
=yes
1377 DEFAULT_wxUSE_LOGWINDOW
=no
1378 DEFAULT_wxUSE_LOGGUI
=no
1380 DEFAULT_wxUSE_GUI
=yes
1381 DEFAULT_wxUSE_CONTROLS
=no
1383 DEFAULT_wxUSE_ZLIB
=no
1384 DEFAULT_wxUSE_LIBPNG
=no
1385 DEFAULT_wxUSE_LIBJPEG
=no
1386 DEFAULT_wxUSE_LIBTIFF
=no
1387 DEFAULT_wxUSE_ODBC
=no
1388 DEFAULT_wxUSE_FREETYPE
=no
1389 DEFAULT_wxUSE_OPENGL
=no
1391 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1392 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1393 DEFAULT_wxUSE_STD_IOSTREAM
=no
1394 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1395 DEFAULT_wxUSE_DATETIME
=no
1396 DEFAULT_wxUSE_TIMEDATE
=no
1397 DEFAULT_wxUSE_TIMER
=no
1398 DEFAULT_wxUSE_STOPWATCH
=no
1399 DEFAULT_wxUSE_FILE
=no
1400 DEFAULT_wxUSE_FFILE
=no
1401 DEFAULT_wxUSE_TEXTFILE
=no
1402 DEFAULT_wxUSE_WAVE
=no
1403 DEFAULT_wxUSE_INTL
=no
1404 DEFAULT_wxUSE_CONFIG
=no
1405 DEFAULT_wxUSE_FONTMAP
=no
1406 DEFAULT_wxUSE_STREAMS
=no
1407 DEFAULT_wxUSE_SOCKETS
=no
1408 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1409 DEFAULT_wxUSE_SERIAL
=no
1410 DEFAULT_wxUSE_JOYSTICK
=no
1411 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1412 DEFAULT_wxUSE_LONGLONG
=no
1413 DEFAULT_wxUSE_GEOMETRY
=no
1415 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1416 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1417 DEFAULT_wxUSE_POSTSCRIPT
=no
1419 DEFAULT_wxUSE_X_RESOURCES
=no
1420 DEFAULT_wxUSE_CLIPBOARD
=no
1421 DEFAULT_wxUSE_TOOLTIPS
=no
1422 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1423 DEFAULT_wxUSE_SPLINES
=no
1425 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1426 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1427 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1429 DEFAULT_wxUSE_PROLOGIO
=no
1430 DEFAULT_wxUSE_RESOURCES
=no
1431 DEFAULT_wxUSE_CONSTRAINTS
=no
1432 DEFAULT_wxUSE_IPC
=no
1433 DEFAULT_wxUSE_HELP
=no
1434 DEFAULT_wxUSE_WXTREE
=no
1435 DEFAULT_wxUSE_METAFILE
=no
1436 DEFAULT_wxUSE_MIMETYPE
=no
1438 DEFAULT_wxUSE_COMMONDLGS
=no
1439 DEFAULT_wxUSE_CHOICEDLG
=no
1440 DEFAULT_wxUSE_COLOURDLG
=no
1441 DEFAULT_wxUSE_DIRDLG
=no
1442 DEFAULT_wxUSE_FILEDLG
=no
1443 DEFAULT_wxUSE_FONTDLG
=no
1444 DEFAULT_wxUSE_MSGDLG
=no
1445 DEFAULT_wxUSE_NUMBERDLG
=no
1446 DEFAULT_wxUSE_TEXTDLG
=no
1447 DEFAULT_wxUSE_STARTUP_TIPS
=no
1448 DEFAULT_wxUSE_PROGRESSDLG
=no
1449 DEFAULT_wxUSE_MENUS
=no
1450 DEFAULT_wxUSE_MINIFRAME
=no
1451 DEFAULT_wxUSE_HTML
=no
1452 DEFAULT_wxUSE_FILESYSTEM
=no
1453 DEFAULT_wxUSE_FS_INET
=no
1454 DEFAULT_wxUSE_FS_ZIP
=no
1455 DEFAULT_wxUSE_BUSYINFO
=no
1456 DEFAULT_wxUSE_ZIPSTREAM
=no
1457 DEFAULT_wxUSE_VALIDATORS
=no
1459 DEFAULT_wxUSE_ACCEL
=no
1460 DEFAULT_wxUSE_BUTTON
=no
1461 DEFAULT_wxUSE_BMPBUTTON
=no
1462 DEFAULT_wxUSE_CALCTRL
=no
1463 DEFAULT_wxUSE_CARET
=no
1464 DEFAULT_wxUSE_CHECKBOX
=no
1465 DEFAULT_wxUSE_CHECKLST
=no
1466 DEFAULT_wxUSE_CHOICE
=no
1467 DEFAULT_wxUSE_COMBOBOX
=no
1468 DEFAULT_wxUSE_GAUGE
=no
1469 DEFAULT_wxUSE_GRID
=no
1470 DEFAULT_wxUSE_NEW_GRID
=no
1471 DEFAULT_wxUSE_IMAGLIST
=no
1472 DEFAULT_wxUSE_LISTBOX
=no
1473 DEFAULT_wxUSE_LISTCTRL
=no
1474 DEFAULT_wxUSE_NOTEBOOK
=no
1475 DEFAULT_wxUSE_RADIOBOX
=no
1476 DEFAULT_wxUSE_RADIOBTN
=no
1477 DEFAULT_wxUSE_SASH
=no
1478 DEFAULT_wxUSE_SCROLLBAR
=no
1479 DEFAULT_wxUSE_SLIDER
=no
1480 DEFAULT_wxUSE_SPINBTN
=no
1481 DEFAULT_wxUSE_SPINCTRL
=no
1482 DEFAULT_wxUSE_SPLITTER
=no
1483 DEFAULT_wxUSE_STATBMP
=no
1484 DEFAULT_wxUSE_STATBOX
=no
1485 DEFAULT_wxUSE_STATLINE
=no
1486 DEFAULT_wxUSE_STATTEXT
=no
1487 DEFAULT_wxUSE_STATUSBAR
=yes
1488 DEFAULT_wxUSE_TABDIALOG
=no
1489 DEFAULT_wxUSE_TEXTCTRL
=no
1490 DEFAULT_wxUSE_TOGGLEBTN
=no
1491 DEFAULT_wxUSE_TOOLBAR
=no
1492 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1493 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1494 DEFAULT_wxUSE_TREECTRL
=no
1496 DEFAULT_wxUSE_UNICODE
=no
1497 DEFAULT_wxUSE_WCSRTOMBS
=no
1499 DEFAULT_wxUSE_IMAGE
=no
1500 DEFAULT_wxUSE_GIF
=no
1501 DEFAULT_wxUSE_PCX
=no
1502 DEFAULT_wxUSE_PNM
=no
1503 DEFAULT_wxUSE_XPM
=no
1505 DEFAULT_wxUSE_UNIVERSAL
=no
1507 DEFAULT_wxUSE_THREADS
=yes
1509 DEFAULT_wxUSE_SHARED
=yes
1510 DEFAULT_wxUSE_BURNT_NAME
=no
1511 DEFAULT_wxUSE_OPTIMISE
=yes
1512 DEFAULT_wxUSE_PROFILE
=no
1513 DEFAULT_wxUSE_NO_DEPS
=no
1514 DEFAULT_wxUSE_NO_RTTI
=no
1515 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1516 DEFAULT_wxUSE_PERMISSIVE
=no
1517 DEFAULT_wxUSE_DEBUG_FLAG
=no
1518 DEFAULT_wxUSE_DEBUG_INFO
=no
1519 DEFAULT_wxUSE_DEBUG_GDB
=no
1520 DEFAULT_wxUSE_MEM_TRACING
=no
1521 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1522 DEFAULT_wxUSE_DMALLOC
=no
1523 DEFAULT_wxUSE_APPLE_IEEE
=yes
1525 DEFAULT_wxUSE_LOG
=yes
1527 DEFAULT_wxUSE_GUI
=yes
1529 DEFAULT_wxUSE_ZLIB
=yes
1530 DEFAULT_wxUSE_LIBPNG
=yes
1531 DEFAULT_wxUSE_LIBJPEG
=yes
1532 DEFAULT_wxUSE_LIBTIFF
=yes
1533 DEFAULT_wxUSE_ODBC
=no
1534 DEFAULT_wxUSE_FREETYPE
=no
1535 DEFAULT_wxUSE_OPENGL
=no
1537 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1538 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1539 DEFAULT_wxUSE_STD_IOSTREAM
=no
1540 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1541 DEFAULT_wxUSE_DATETIME
=yes
1542 DEFAULT_wxUSE_TIMEDATE
=no
1543 DEFAULT_wxUSE_TIMER
=yes
1544 DEFAULT_wxUSE_STOPWATCH
=yes
1545 DEFAULT_wxUSE_FILE
=yes
1546 DEFAULT_wxUSE_FFILE
=yes
1547 DEFAULT_wxUSE_TEXTFILE
=yes
1548 DEFAULT_wxUSE_WAVE
=no
1549 DEFAULT_wxUSE_INTL
=yes
1550 DEFAULT_wxUSE_CONFIG
=yes
1551 DEFAULT_wxUSE_FONTMAP
=yes
1552 DEFAULT_wxUSE_STREAMS
=yes
1553 DEFAULT_wxUSE_SOCKETS
=yes
1554 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1555 DEFAULT_wxUSE_SERIAL
=yes
1556 DEFAULT_wxUSE_JOYSTICK
=yes
1557 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1558 DEFAULT_wxUSE_LONGLONG
=yes
1559 DEFAULT_wxUSE_GEOMETRY
=yes
1561 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1562 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1563 DEFAULT_wxUSE_POSTSCRIPT
=yes
1565 DEFAULT_wxUSE_X_RESOURCES
=no
1566 DEFAULT_wxUSE_CLIPBOARD
=yes
1567 DEFAULT_wxUSE_TOOLTIPS
=yes
1568 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1569 DEFAULT_wxUSE_SPLINES
=yes
1571 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1572 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1573 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1575 DEFAULT_wxUSE_PROLOGIO
=yes
1576 DEFAULT_wxUSE_RESOURCES
=yes
1577 DEFAULT_wxUSE_CONSTRAINTS
=yes
1578 DEFAULT_wxUSE_IPC
=yes
1579 DEFAULT_wxUSE_HELP
=yes
1580 DEFAULT_wxUSE_WXTREE
=yes
1581 DEFAULT_wxUSE_METAFILE
=yes
1582 DEFAULT_wxUSE_MIMETYPE
=yes
1584 DEFAULT_wxUSE_COMMONDLGS
=yes
1585 DEFAULT_wxUSE_CHOICEDLG
=yes
1586 DEFAULT_wxUSE_COLOURDLG
=yes
1587 DEFAULT_wxUSE_DIRDLG
=yes
1588 DEFAULT_wxUSE_FILEDLG
=yes
1589 DEFAULT_wxUSE_FONTDLG
=yes
1590 DEFAULT_wxUSE_MSGDLG
=yes
1591 DEFAULT_wxUSE_NUMBERDLG
=yes
1592 DEFAULT_wxUSE_TEXTDLG
=yes
1593 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1594 DEFAULT_wxUSE_PROGRESSDLG
=yes
1595 DEFAULT_wxUSE_MENUS
=yes
1596 DEFAULT_wxUSE_MINIFRAME
=yes
1597 DEFAULT_wxUSE_HTML
=yes
1598 DEFAULT_wxUSE_FILESYSTEM
=yes
1599 DEFAULT_wxUSE_FS_INET
=yes
1600 DEFAULT_wxUSE_FS_ZIP
=yes
1601 DEFAULT_wxUSE_BUSYINFO
=yes
1602 DEFAULT_wxUSE_ZIPSTREAM
=yes
1603 DEFAULT_wxUSE_VALIDATORS
=yes
1605 DEFAULT_wxUSE_ACCEL
=yes
1606 DEFAULT_wxUSE_BUTTON
=yes
1607 DEFAULT_wxUSE_BMPBUTTON
=yes
1608 DEFAULT_wxUSE_CALCTRL
=yes
1609 DEFAULT_wxUSE_CARET
=yes
1610 DEFAULT_wxUSE_CHECKBOX
=yes
1611 DEFAULT_wxUSE_CHECKLST
=yes
1612 DEFAULT_wxUSE_CHOICE
=yes
1613 DEFAULT_wxUSE_COMBOBOX
=yes
1614 DEFAULT_wxUSE_GAUGE
=yes
1615 DEFAULT_wxUSE_GRID
=yes
1616 DEFAULT_wxUSE_NEW_GRID
=yes
1617 DEFAULT_wxUSE_IMAGLIST
=yes
1618 DEFAULT_wxUSE_LISTBOX
=yes
1619 DEFAULT_wxUSE_LISTCTRL
=yes
1620 DEFAULT_wxUSE_NOTEBOOK
=yes
1621 DEFAULT_wxUSE_RADIOBOX
=yes
1622 DEFAULT_wxUSE_RADIOBTN
=yes
1623 DEFAULT_wxUSE_SASH
=yes
1624 DEFAULT_wxUSE_SCROLLBAR
=yes
1625 DEFAULT_wxUSE_SLIDER
=yes
1626 DEFAULT_wxUSE_SPINBTN
=yes
1627 DEFAULT_wxUSE_SPINCTRL
=yes
1628 DEFAULT_wxUSE_SPLITTER
=yes
1629 DEFAULT_wxUSE_STATBMP
=yes
1630 DEFAULT_wxUSE_STATBOX
=yes
1631 DEFAULT_wxUSE_STATLINE
=yes
1632 DEFAULT_wxUSE_STATTEXT
=yes
1633 DEFAULT_wxUSE_STATUSBAR
=yes
1634 DEFAULT_wxUSE_TABDIALOG
=no
1635 DEFAULT_wxUSE_TEXTCTRL
=yes
1636 DEFAULT_wxUSE_TOGGLEBTN
=yes
1637 DEFAULT_wxUSE_TOOLBAR
=yes
1638 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1639 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1640 DEFAULT_wxUSE_TREECTRL
=yes
1642 DEFAULT_wxUSE_UNICODE
=no
1643 DEFAULT_wxUSE_WCSRTOMBS
=no
1645 DEFAULT_wxUSE_IMAGE
=yes
1646 DEFAULT_wxUSE_GIF
=yes
1647 DEFAULT_wxUSE_PCX
=yes
1648 DEFAULT_wxUSE_PNM
=yes
1649 DEFAULT_wxUSE_XPM
=yes
1654 for toolkit
in `echo $ALL_TOOLKITS`; do
1655 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1656 if test "x$LINE" != x
; then
1657 has_toolkit_in_cache
=1
1658 eval "DEFAULT_$LINE"
1659 eval "CACHE_$toolkit=1"
1665 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1666 echo "configure:1667: checking for --enable-gui" >&5
1668 # Check whether --enable-gui or --disable-gui was given.
1669 if test "${enable_gui+set}" = set; then
1670 enableval
="$enable_gui"
1672 if test "$enableval" = yes; then
1673 ac_cv_use_gui
='wxUSE_GUI=yes'
1675 ac_cv_use_gui
='wxUSE_GUI=no'
1680 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1681 if test "x$LINE" != x
; then
1682 eval "DEFAULT_$LINE"
1687 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1692 eval "$ac_cv_use_gui"
1693 if test "$no_cache" != 1; then
1694 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1697 if test "$wxUSE_GUI" = yes; then
1698 echo "$ac_t""yes" 1>&6
1700 echo "$ac_t""no" 1>&6
1704 if test "$wxUSE_GUI" = "yes"; then
1707 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1708 echo "configure:1709: checking for --enable-universal" >&5
1710 # Check whether --enable-universal or --disable-universal was given.
1711 if test "${enable_universal+set}" = set; then
1712 enableval
="$enable_universal"
1714 if test "$enableval" = yes; then
1715 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1717 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1722 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1723 if test "x$LINE" != x
; then
1724 eval "DEFAULT_$LINE"
1729 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1734 eval "$ac_cv_use_universal"
1735 if test "$no_cache" != 1; then
1736 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1739 if test "$wxUSE_UNIVERSAL" = yes; then
1740 echo "$ac_t""yes" 1>&6
1742 echo "$ac_t""no" 1>&6
1745 # Check whether --with-gtk or --without-gtk was given.
1746 if test "${with_gtk+set}" = set; then
1748 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1751 # Check whether --with-motif or --without-motif was given.
1752 if test "${with_motif+set}" = set; then
1753 withval
="$with_motif"
1754 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1757 # Check whether --with-mac or --without-mac was given.
1758 if test "${with_mac+set}" = set; then
1760 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1763 # Check whether --with-wine or --without-wine was given.
1764 if test "${with_wine+set}" = set; then
1765 withval
="$with_wine"
1766 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1769 # Check whether --with-cygwin or --without-cygwin was given.
1770 if test "${with_cygwin+set}" = set; then
1771 withval
="$with_cygwin"
1772 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1775 # Check whether --with-mingw or --without-mingw was given.
1776 if test "${with_mingw+set}" = set; then
1777 withval
="$with_mingw"
1778 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1781 # Check whether --with-pm or --without-pm was given.
1782 if test "${with_pm+set}" = set; then
1784 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1787 # Check whether --with-mgl or --without-mgl was given.
1788 if test "${with_mgl+set}" = set; then
1790 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1794 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1795 if test "${enable_gtk2+set}" = set; then
1796 enableval
="$enable_gtk2"
1804 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1805 echo "configure:1806: checking for --with-libpng" >&5
1807 # Check whether --with-libpng or --without-libpng was given.
1808 if test "${with_libpng+set}" = set; then
1809 withval
="$with_libpng"
1811 if test "$withval" = yes; then
1812 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1813 elif test "$withval" = no
; then
1814 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1815 elif test "$withval" = sys
; then
1816 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1818 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1823 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1824 if test "x$LINE" != x
; then
1825 eval "DEFAULT_$LINE"
1830 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1835 eval "$ac_cv_use_libpng"
1836 if test "$no_cache" != 1; then
1837 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1840 if test "$wxUSE_LIBPNG" = yes; then
1841 echo "$ac_t""yes" 1>&6
1842 elif test "$wxUSE_LIBPNG" = no
; then
1843 echo "$ac_t""no" 1>&6
1844 elif test "$wxUSE_LIBPNG" = sys
; then
1845 echo "$ac_t""system version" 1>&6
1847 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1851 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1852 echo "configure:1853: checking for --with-libjpeg" >&5
1854 # Check whether --with-libjpeg or --without-libjpeg was given.
1855 if test "${with_libjpeg+set}" = set; then
1856 withval
="$with_libjpeg"
1858 if test "$withval" = yes; then
1859 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1860 elif test "$withval" = no
; then
1861 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1862 elif test "$withval" = sys
; then
1863 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1865 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1870 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1871 if test "x$LINE" != x
; then
1872 eval "DEFAULT_$LINE"
1877 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1882 eval "$ac_cv_use_libjpeg"
1883 if test "$no_cache" != 1; then
1884 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1887 if test "$wxUSE_LIBJPEG" = yes; then
1888 echo "$ac_t""yes" 1>&6
1889 elif test "$wxUSE_LIBJPEG" = no
; then
1890 echo "$ac_t""no" 1>&6
1891 elif test "$wxUSE_LIBJPEG" = sys
; then
1892 echo "$ac_t""system version" 1>&6
1894 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1898 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1899 echo "configure:1900: checking for --with-libtiff" >&5
1901 # Check whether --with-libtiff or --without-libtiff was given.
1902 if test "${with_libtiff+set}" = set; then
1903 withval
="$with_libtiff"
1905 if test "$withval" = yes; then
1906 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1907 elif test "$withval" = no
; then
1908 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1909 elif test "$withval" = sys
; then
1910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1912 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1917 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1929 eval "$ac_cv_use_libtiff"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_LIBTIFF" = yes; then
1935 echo "$ac_t""yes" 1>&6
1936 elif test "$wxUSE_LIBTIFF" = no
; then
1937 echo "$ac_t""no" 1>&6
1938 elif test "$wxUSE_LIBTIFF" = sys
; then
1939 echo "$ac_t""system version" 1>&6
1941 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1945 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1946 echo "configure:1947: checking for --with-freetype" >&5
1948 # Check whether --with-freetype or --without-freetype was given.
1949 if test "${with_freetype+set}" = set; then
1950 withval
="$with_freetype"
1952 if test "$withval" = yes; then
1953 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1954 elif test "$withval" = no
; then
1955 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1956 elif test "$withval" = sys
; then
1957 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1959 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1964 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1965 if test "x$LINE" != x
; then
1966 eval "DEFAULT_$LINE"
1971 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1976 eval "$ac_cv_use_freetype"
1977 if test "$no_cache" != 1; then
1978 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1981 if test "$wxUSE_FREETYPE" = yes; then
1982 echo "$ac_t""yes" 1>&6
1983 elif test "$wxUSE_FREETYPE" = no
; then
1984 echo "$ac_t""no" 1>&6
1985 elif test "$wxUSE_FREETYPE" = sys
; then
1986 echo "$ac_t""system version" 1>&6
1988 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1992 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1993 echo "configure:1994: checking for --with-opengl" >&5
1995 # Check whether --with-opengl or --without-opengl was given.
1996 if test "${with_opengl+set}" = set; then
1997 withval
="$with_opengl"
1999 if test "$withval" = yes; then
2000 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2002 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2007 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2008 if test "x$LINE" != x
; then
2009 eval "DEFAULT_$LINE"
2014 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2019 eval "$ac_cv_use_opengl"
2020 if test "$no_cache" != 1; then
2021 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2024 if test "$wxUSE_OPENGL" = yes; then
2025 echo "$ac_t""yes" 1>&6
2027 echo "$ac_t""no" 1>&6
2034 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2035 echo "configure:2036: checking for --with-dmalloc" >&5
2037 # Check whether --with-dmalloc or --without-dmalloc was given.
2038 if test "${with_dmalloc+set}" = set; then
2039 withval
="$with_dmalloc"
2041 if test "$withval" = yes; then
2042 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2044 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2049 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2050 if test "x$LINE" != x
; then
2051 eval "DEFAULT_$LINE"
2056 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2061 eval "$ac_cv_use_dmalloc"
2062 if test "$no_cache" != 1; then
2063 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2066 if test "$wxUSE_DMALLOC" = yes; then
2067 echo "$ac_t""yes" 1>&6
2069 echo "$ac_t""no" 1>&6
2073 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2074 echo "configure:2075: checking for --with-zlib" >&5
2076 # Check whether --with-zlib or --without-zlib was given.
2077 if test "${with_zlib+set}" = set; then
2078 withval
="$with_zlib"
2080 if test "$withval" = yes; then
2081 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2082 elif test "$withval" = no
; then
2083 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2084 elif test "$withval" = sys
; then
2085 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2087 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2092 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2093 if test "x$LINE" != x
; then
2094 eval "DEFAULT_$LINE"
2099 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2104 eval "$ac_cv_use_zlib"
2105 if test "$no_cache" != 1; then
2106 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2109 if test "$wxUSE_ZLIB" = yes; then
2110 echo "$ac_t""yes" 1>&6
2111 elif test "$wxUSE_ZLIB" = no
; then
2112 echo "$ac_t""no" 1>&6
2113 elif test "$wxUSE_ZLIB" = sys
; then
2114 echo "$ac_t""system version" 1>&6
2116 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2120 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2121 echo "configure:2122: checking for --with-odbc" >&5
2123 # Check whether --with-odbc or --without-odbc was given.
2124 if test "${with_odbc+set}" = set; then
2125 withval
="$with_odbc"
2127 if test "$withval" = yes; then
2128 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2130 ac_cv_use_odbc
='wxUSE_ODBC=no'
2135 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2136 if test "x$LINE" != x
; then
2137 eval "DEFAULT_$LINE"
2142 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2147 eval "$ac_cv_use_odbc"
2148 if test "$no_cache" != 1; then
2149 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2152 if test "$wxUSE_ODBC" = yes; then
2153 echo "$ac_t""yes" 1>&6
2155 echo "$ac_t""no" 1>&6
2162 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2163 echo "configure:2164: checking for --enable-shared" >&5
2165 # Check whether --enable-shared or --disable-shared was given.
2166 if test "${enable_shared+set}" = set; then
2167 enableval
="$enable_shared"
2169 if test "$enableval" = yes; then
2170 ac_cv_use_shared
='wxUSE_SHARED=yes'
2172 ac_cv_use_shared
='wxUSE_SHARED=no'
2177 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2189 eval "$ac_cv_use_shared"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_SHARED" = yes; then
2195 echo "$ac_t""yes" 1>&6
2197 echo "$ac_t""no" 1>&6
2201 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2202 echo "configure:2203: checking for --enable-burnt_name" >&5
2204 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2205 if test "${enable_burnt_name+set}" = set; then
2206 enableval
="$enable_burnt_name"
2208 if test "$enableval" = yes; then
2209 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2211 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2216 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2217 if test "x$LINE" != x
; then
2218 eval "DEFAULT_$LINE"
2223 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2228 eval "$ac_cv_use_burnt_name"
2229 if test "$no_cache" != 1; then
2230 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2233 if test "$wxUSE_BURNT_NAME" = yes; then
2234 echo "$ac_t""yes" 1>&6
2236 echo "$ac_t""no" 1>&6
2240 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2241 echo "configure:2242: checking for --enable-optimise" >&5
2243 # Check whether --enable-optimise or --disable-optimise was given.
2244 if test "${enable_optimise+set}" = set; then
2245 enableval
="$enable_optimise"
2247 if test "$enableval" = yes; then
2248 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2250 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2255 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2256 if test "x$LINE" != x
; then
2257 eval "DEFAULT_$LINE"
2262 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2267 eval "$ac_cv_use_optimise"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2272 if test "$wxUSE_OPTIMISE" = yes; then
2273 echo "$ac_t""yes" 1>&6
2275 echo "$ac_t""no" 1>&6
2279 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2280 echo "configure:2281: checking for --enable-debug" >&5
2282 # Check whether --enable-debug or --disable-debug was given.
2283 if test "${enable_debug+set}" = set; then
2284 enableval
="$enable_debug"
2286 if test "$enableval" = yes; then
2287 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2289 ac_cv_use_debug
='wxUSE_DEBUG=no'
2294 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2295 if test "x$LINE" != x
; then
2296 eval "DEFAULT_$LINE"
2301 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2306 eval "$ac_cv_use_debug"
2307 if test "$no_cache" != 1; then
2308 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2311 if test "$wxUSE_DEBUG" = yes; then
2312 echo "$ac_t""yes" 1>&6
2314 echo "$ac_t""no" 1>&6
2318 if test "$wxUSE_DEBUG" = "yes"; then
2319 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2320 DEFAULT_wxUSE_DEBUG_INFO
=yes
2321 elif test "$wxUSE_DEBUG" = "no"; then
2322 DEFAULT_wxUSE_DEBUG_FLAG
=no
2323 DEFAULT_wxUSE_DEBUG_INFO
=no
2327 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2328 echo "configure:2329: checking for --enable-debug_flag" >&5
2330 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2331 if test "${enable_debug_flag+set}" = set; then
2332 enableval
="$enable_debug_flag"
2334 if test "$enableval" = yes; then
2335 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2337 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2342 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2343 if test "x$LINE" != x
; then
2344 eval "DEFAULT_$LINE"
2349 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2354 eval "$ac_cv_use_debug_flag"
2355 if test "$no_cache" != 1; then
2356 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2359 if test "$wxUSE_DEBUG_FLAG" = yes; then
2360 echo "$ac_t""yes" 1>&6
2362 echo "$ac_t""no" 1>&6
2366 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2367 echo "configure:2368: checking for --enable-debug_info" >&5
2369 # Check whether --enable-debug_info or --disable-debug_info was given.
2370 if test "${enable_debug_info+set}" = set; then
2371 enableval
="$enable_debug_info"
2373 if test "$enableval" = yes; then
2374 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2376 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2381 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2382 if test "x$LINE" != x
; then
2383 eval "DEFAULT_$LINE"
2388 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2393 eval "$ac_cv_use_debug_info"
2394 if test "$no_cache" != 1; then
2395 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2398 if test "$wxUSE_DEBUG_INFO" = yes; then
2399 echo "$ac_t""yes" 1>&6
2401 echo "$ac_t""no" 1>&6
2405 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2406 echo "configure:2407: checking for --enable-debug_gdb" >&5
2408 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2409 if test "${enable_debug_gdb+set}" = set; then
2410 enableval
="$enable_debug_gdb"
2412 if test "$enableval" = yes; then
2413 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2415 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2420 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2421 if test "x$LINE" != x
; then
2422 eval "DEFAULT_$LINE"
2427 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2432 eval "$ac_cv_use_debug_gdb"
2433 if test "$no_cache" != 1; then
2434 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2437 if test "$wxUSE_DEBUG_GDB" = yes; then
2438 echo "$ac_t""yes" 1>&6
2440 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2445 echo "configure:2446: checking for --enable-debug_cntxt" >&5
2447 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2448 if test "${enable_debug_cntxt+set}" = set; then
2449 enableval
="$enable_debug_cntxt"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2454 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2459 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2471 eval "$ac_cv_use_debug_cntxt"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2483 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2484 echo "configure:2485: checking for --enable-mem_tracing" >&5
2486 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2487 if test "${enable_mem_tracing+set}" = set; then
2488 enableval
="$enable_mem_tracing"
2490 if test "$enableval" = yes; then
2491 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2493 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2498 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2499 if test "x$LINE" != x
; then
2500 eval "DEFAULT_$LINE"
2505 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2510 eval "$ac_cv_use_mem_tracing"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_MEM_TRACING" = yes; then
2516 echo "$ac_t""yes" 1>&6
2518 echo "$ac_t""no" 1>&6
2522 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2523 echo "configure:2524: checking for --enable-profile" >&5
2525 # Check whether --enable-profile or --disable-profile was given.
2526 if test "${enable_profile+set}" = set; then
2527 enableval
="$enable_profile"
2529 if test "$enableval" = yes; then
2530 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2532 ac_cv_use_profile
='wxUSE_PROFILE=no'
2537 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2538 if test "x$LINE" != x
; then
2539 eval "DEFAULT_$LINE"
2544 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2549 eval "$ac_cv_use_profile"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2554 if test "$wxUSE_PROFILE" = yes; then
2555 echo "$ac_t""yes" 1>&6
2557 echo "$ac_t""no" 1>&6
2561 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2562 echo "configure:2563: checking for --enable-no_rtti" >&5
2564 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2565 if test "${enable_no_rtti+set}" = set; then
2566 enableval
="$enable_no_rtti"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2571 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2576 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2588 eval "$ac_cv_use_no_rtti"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_NO_RTTI" = yes; then
2594 echo "$ac_t""yes" 1>&6
2596 echo "$ac_t""no" 1>&6
2600 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2601 echo "configure:2602: checking for --enable-no_exceptions" >&5
2603 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2604 if test "${enable_no_exceptions+set}" = set; then
2605 enableval
="$enable_no_exceptions"
2607 if test "$enableval" = yes; then
2608 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2610 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2615 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2627 eval "$ac_cv_use_no_exceptions"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2632 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2633 echo "$ac_t""yes" 1>&6
2635 echo "$ac_t""no" 1>&6
2639 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2640 echo "configure:2641: checking for --enable-permissive" >&5
2642 # Check whether --enable-permissive or --disable-permissive was given.
2643 if test "${enable_permissive+set}" = set; then
2644 enableval
="$enable_permissive"
2646 if test "$enableval" = yes; then
2647 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2649 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2654 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x
; then
2656 eval "DEFAULT_$LINE"
2661 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2666 eval "$ac_cv_use_permissive"
2667 if test "$no_cache" != 1; then
2668 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2671 if test "$wxUSE_PERMISSIVE" = yes; then
2672 echo "$ac_t""yes" 1>&6
2674 echo "$ac_t""no" 1>&6
2678 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2679 echo "configure:2680: checking for --enable-no_deps" >&5
2681 # Check whether --enable-no_deps or --disable-no_deps was given.
2682 if test "${enable_no_deps+set}" = set; then
2683 enableval
="$enable_no_deps"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2688 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2693 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2705 eval "$ac_cv_use_no_deps"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_NO_DEPS" = yes; then
2711 echo "$ac_t""yes" 1>&6
2713 echo "$ac_t""no" 1>&6
2719 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2720 echo "configure:2721: checking for --enable-intl" >&5
2722 # Check whether --enable-intl or --disable-intl was given.
2723 if test "${enable_intl+set}" = set; then
2724 enableval
="$enable_intl"
2726 if test "$enableval" = yes; then
2727 ac_cv_use_intl
='wxUSE_INTL=yes'
2729 ac_cv_use_intl
='wxUSE_INTL=no'
2734 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2746 eval "$ac_cv_use_intl"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_INTL" = yes; then
2752 echo "$ac_t""yes" 1>&6
2754 echo "$ac_t""no" 1>&6
2758 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2759 echo "configure:2760: checking for --enable-config" >&5
2761 # Check whether --enable-config or --disable-config was given.
2762 if test "${enable_config+set}" = set; then
2763 enableval
="$enable_config"
2765 if test "$enableval" = yes; then
2766 ac_cv_use_config
='wxUSE_CONFIG=yes'
2768 ac_cv_use_config
='wxUSE_CONFIG=no'
2773 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2785 eval "$ac_cv_use_config"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_CONFIG" = yes; then
2791 echo "$ac_t""yes" 1>&6
2793 echo "$ac_t""no" 1>&6
2798 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2799 echo "configure:2800: checking for --enable-sockets" >&5
2801 # Check whether --enable-sockets or --disable-sockets was given.
2802 if test "${enable_sockets+set}" = set; then
2803 enableval
="$enable_sockets"
2805 if test "$enableval" = yes; then
2806 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2808 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2813 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2825 eval "$ac_cv_use_sockets"
2826 if test "$no_cache" != 1; then
2827 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2830 if test "$wxUSE_SOCKETS" = yes; then
2831 echo "$ac_t""yes" 1>&6
2833 echo "$ac_t""no" 1>&6
2838 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2839 echo "configure:2840: checking for --enable-ipc" >&5
2841 # Check whether --enable-ipc or --disable-ipc was given.
2842 if test "${enable_ipc+set}" = set; then
2843 enableval
="$enable_ipc"
2845 if test "$enableval" = yes; then
2846 ac_cv_use_ipc
='wxUSE_IPC=yes'
2848 ac_cv_use_ipc
='wxUSE_IPC=no'
2853 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x
; then
2855 eval "DEFAULT_$LINE"
2860 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2865 eval "$ac_cv_use_ipc"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2870 if test "$wxUSE_IPC" = yes; then
2871 echo "$ac_t""yes" 1>&6
2873 echo "$ac_t""no" 1>&6
2878 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2879 echo "configure:2880: checking for --enable-cmdline" >&5
2881 # Check whether --enable-cmdline or --disable-cmdline was given.
2882 if test "${enable_cmdline+set}" = set; then
2883 enableval
="$enable_cmdline"
2885 if test "$enableval" = yes; then
2886 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2888 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2893 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x
; then
2895 eval "DEFAULT_$LINE"
2900 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2905 eval "$ac_cv_use_cmdline"
2906 if test "$no_cache" != 1; then
2907 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2910 if test "$wxUSE_CMDLINE_PARSER" = yes; then
2911 echo "$ac_t""yes" 1>&6
2913 echo "$ac_t""no" 1>&6
2917 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
2918 echo "configure:2919: checking for --enable-datetime" >&5
2920 # Check whether --enable-datetime or --disable-datetime was given.
2921 if test "${enable_datetime+set}" = set; then
2922 enableval
="$enable_datetime"
2924 if test "$enableval" = yes; then
2925 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
2927 ac_cv_use_datetime
='wxUSE_DATETIME=no'
2932 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
2933 if test "x$LINE" != x
; then
2934 eval "DEFAULT_$LINE"
2939 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
2944 eval "$ac_cv_use_datetime"
2945 if test "$no_cache" != 1; then
2946 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
2949 if test "$wxUSE_DATETIME" = yes; then
2950 echo "$ac_t""yes" 1>&6
2952 echo "$ac_t""no" 1>&6
2956 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
2957 echo "configure:2958: checking for --enable-timedate" >&5
2959 # Check whether --enable-timedate or --disable-timedate was given.
2960 if test "${enable_timedate+set}" = set; then
2961 enableval
="$enable_timedate"
2963 if test "$enableval" = yes; then
2964 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2966 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2971 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2972 if test "x$LINE" != x
; then
2973 eval "DEFAULT_$LINE"
2978 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2983 eval "$ac_cv_use_timedate"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_TIMEDATE" = yes; then
2989 echo "$ac_t""yes" 1>&6
2991 echo "$ac_t""no" 1>&6
2995 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
2996 echo "configure:2997: checking for --enable-stopwatch" >&5
2998 # Check whether --enable-stopwatch or --disable-stopwatch was given.
2999 if test "${enable_stopwatch+set}" = set; then
3000 enableval
="$enable_stopwatch"
3002 if test "$enableval" = yes; then
3003 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3005 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3010 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3022 eval "$ac_cv_use_stopwatch"
3023 if test "$no_cache" != 1; then
3024 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3027 if test "$wxUSE_STOPWATCH" = yes; then
3028 echo "$ac_t""yes" 1>&6
3030 echo "$ac_t""no" 1>&6
3034 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3035 echo "configure:3036: checking for --enable-dialupman" >&5
3037 # Check whether --enable-dialupman or --disable-dialupman was given.
3038 if test "${enable_dialupman+set}" = set; then
3039 enableval
="$enable_dialupman"
3041 if test "$enableval" = yes; then
3042 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3044 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3049 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x
; then
3051 eval "DEFAULT_$LINE"
3056 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3061 eval "$ac_cv_use_dialupman"
3062 if test "$no_cache" != 1; then
3063 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3066 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3067 echo "$ac_t""yes" 1>&6
3069 echo "$ac_t""no" 1>&6
3073 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3074 echo "configure:3075: checking for --enable-apple_ieee" >&5
3076 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3077 if test "${enable_apple_ieee+set}" = set; then
3078 enableval
="$enable_apple_ieee"
3080 if test "$enableval" = yes; then
3081 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3083 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3088 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x
; then
3090 eval "DEFAULT_$LINE"
3095 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3100 eval "$ac_cv_use_apple_ieee"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_APPLE_IEEE" = yes; then
3106 echo "$ac_t""yes" 1>&6
3108 echo "$ac_t""no" 1>&6
3112 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3113 echo "configure:3114: checking for --enable-timer" >&5
3115 # Check whether --enable-timer or --disable-timer was given.
3116 if test "${enable_timer+set}" = set; then
3117 enableval
="$enable_timer"
3119 if test "$enableval" = yes; then
3120 ac_cv_use_timer
='wxUSE_TIMER=yes'
3122 ac_cv_use_timer
='wxUSE_TIMER=no'
3127 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3139 eval "$ac_cv_use_timer"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_TIMER" = yes; then
3145 echo "$ac_t""yes" 1>&6
3147 echo "$ac_t""no" 1>&6
3151 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3152 echo "configure:3153: checking for --enable-wave" >&5
3154 # Check whether --enable-wave or --disable-wave was given.
3155 if test "${enable_wave+set}" = set; then
3156 enableval
="$enable_wave"
3158 if test "$enableval" = yes; then
3159 ac_cv_use_wave
='wxUSE_WAVE=yes'
3161 ac_cv_use_wave
='wxUSE_WAVE=no'
3166 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x
; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3178 eval "$ac_cv_use_wave"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3183 if test "$wxUSE_WAVE" = yes; then
3184 echo "$ac_t""yes" 1>&6
3186 echo "$ac_t""no" 1>&6
3190 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3191 echo "configure:3192: checking for --enable-fraction" >&5
3193 # Check whether --enable-fraction or --disable-fraction was given.
3194 if test "${enable_fraction+set}" = set; then
3195 enableval
="$enable_fraction"
3197 if test "$enableval" = yes; then
3198 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3200 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3205 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x
; then
3207 eval "DEFAULT_$LINE"
3212 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3217 eval "$ac_cv_use_fraction"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3222 if test "$wxUSE_FRACTION" = yes; then
3223 echo "$ac_t""yes" 1>&6
3225 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3230 echo "configure:3231: checking for --enable-dynlib" >&5
3232 # Check whether --enable-dynlib or --disable-dynlib was given.
3233 if test "${enable_dynlib+set}" = set; then
3234 enableval
="$enable_dynlib"
3236 if test "$enableval" = yes; then
3237 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3239 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3244 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3256 eval "$ac_cv_use_dynlib"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3262 echo "$ac_t""yes" 1>&6
3264 echo "$ac_t""no" 1>&6
3268 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3269 echo "configure:3270: checking for --enable-longlong" >&5
3271 # Check whether --enable-longlong or --disable-longlong was given.
3272 if test "${enable_longlong+set}" = set; then
3273 enableval
="$enable_longlong"
3275 if test "$enableval" = yes; then
3276 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3278 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3283 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3295 eval "$ac_cv_use_longlong"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_LONGLONG" = yes; then
3301 echo "$ac_t""yes" 1>&6
3303 echo "$ac_t""no" 1>&6
3307 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3308 echo "configure:3309: checking for --enable-geometry" >&5
3310 # Check whether --enable-geometry or --disable-geometry was given.
3311 if test "${enable_geometry+set}" = set; then
3312 enableval
="$enable_geometry"
3314 if test "$enableval" = yes; then
3315 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3317 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3322 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3334 eval "$ac_cv_use_geometry"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_GEOMETRY" = yes; then
3340 echo "$ac_t""yes" 1>&6
3342 echo "$ac_t""no" 1>&6
3346 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3347 echo "configure:3348: checking for --enable-log" >&5
3349 # Check whether --enable-log or --disable-log was given.
3350 if test "${enable_log+set}" = set; then
3351 enableval
="$enable_log"
3353 if test "$enableval" = yes; then
3354 ac_cv_use_log
='wxUSE_LOG=yes'
3356 ac_cv_use_log
='wxUSE_LOG=no'
3361 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3373 eval "$ac_cv_use_log"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_LOG" = yes; then
3379 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3385 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3386 echo "configure:3387: checking for --enable-streams" >&5
3388 # Check whether --enable-streams or --disable-streams was given.
3389 if test "${enable_streams+set}" = set; then
3390 enableval
="$enable_streams"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3395 ac_cv_use_streams
='wxUSE_STREAMS=no'
3400 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3412 eval "$ac_cv_use_streams"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3417 if test "$wxUSE_STREAMS" = yes; then
3418 echo "$ac_t""yes" 1>&6
3420 echo "$ac_t""no" 1>&6
3424 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3425 echo "configure:3426: checking for --enable-file" >&5
3427 # Check whether --enable-file or --disable-file was given.
3428 if test "${enable_file+set}" = set; then
3429 enableval
="$enable_file"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_file
='wxUSE_FILE=yes'
3434 ac_cv_use_file
='wxUSE_FILE=no'
3439 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x
; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3451 eval "$ac_cv_use_file"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_FILE" = yes; then
3457 echo "$ac_t""yes" 1>&6
3459 echo "$ac_t""no" 1>&6
3463 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3464 echo "configure:3465: checking for --enable-ffile" >&5
3466 # Check whether --enable-ffile or --disable-ffile was given.
3467 if test "${enable_ffile+set}" = set; then
3468 enableval
="$enable_ffile"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3473 ac_cv_use_ffile
='wxUSE_FFILE=no'
3478 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3490 eval "$ac_cv_use_ffile"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_FFILE" = yes; then
3496 echo "$ac_t""yes" 1>&6
3498 echo "$ac_t""no" 1>&6
3502 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3503 echo "configure:3504: checking for --enable-textfile" >&5
3505 # Check whether --enable-textfile or --disable-textfile was given.
3506 if test "${enable_textfile+set}" = set; then
3507 enableval
="$enable_textfile"
3509 if test "$enableval" = yes; then
3510 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3512 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3517 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x
; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3529 eval "$ac_cv_use_textfile"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_TEXTFILE" = yes; then
3535 echo "$ac_t""yes" 1>&6
3537 echo "$ac_t""no" 1>&6
3541 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3542 echo "configure:3543: checking for --enable-fontmap" >&5
3544 # Check whether --enable-fontmap or --disable-fontmap was given.
3545 if test "${enable_fontmap+set}" = set; then
3546 enableval
="$enable_fontmap"
3548 if test "$enableval" = yes; then
3549 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3551 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3556 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x
; then
3558 eval "DEFAULT_$LINE"
3563 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3568 eval "$ac_cv_use_fontmap"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_FONTMAP" = yes; then
3574 echo "$ac_t""yes" 1>&6
3576 echo "$ac_t""no" 1>&6
3580 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3581 echo "configure:3582: checking for --enable-unicode" >&5
3583 # Check whether --enable-unicode or --disable-unicode was given.
3584 if test "${enable_unicode+set}" = set; then
3585 enableval
="$enable_unicode"
3587 if test "$enableval" = yes; then
3588 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3590 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3595 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x
; then
3597 eval "DEFAULT_$LINE"
3602 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3607 eval "$ac_cv_use_unicode"
3608 if test "$no_cache" != 1; then
3609 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3612 if test "$wxUSE_UNICODE" = yes; then
3613 echo "$ac_t""yes" 1>&6
3615 echo "$ac_t""no" 1>&6
3619 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3620 echo "configure:3621: checking for --enable-wcsrtombs" >&5
3622 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3623 if test "${enable_wcsrtombs+set}" = set; then
3624 enableval
="$enable_wcsrtombs"
3626 if test "$enableval" = yes; then
3627 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3629 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3634 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3646 eval "$ac_cv_use_wcsrtombs"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_WCSRTOMBS" = yes; then
3652 echo "$ac_t""yes" 1>&6
3654 echo "$ac_t""no" 1>&6
3658 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3659 echo "configure:3660: checking for --enable-wxprintfv" >&5
3661 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3662 if test "${enable_wxprintfv+set}" = set; then
3663 enableval
="$enable_wxprintfv"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3668 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3673 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x
; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3685 eval "$ac_cv_use_wxprintfv"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3691 echo "$ac_t""yes" 1>&6
3693 echo "$ac_t""no" 1>&6
3697 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3698 echo "configure:3699: checking for --enable-std_iostreams" >&5
3700 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3701 if test "${enable_std_iostreams+set}" = set; then
3702 enableval
="$enable_std_iostreams"
3704 if test "$enableval" = yes; then
3705 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3707 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3712 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3713 if test "x$LINE" != x
; then
3714 eval "DEFAULT_$LINE"
3719 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3724 eval "$ac_cv_use_std_iostreams"
3725 if test "$no_cache" != 1; then
3726 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3729 if test "$wxUSE_STD_IOSTREAM" = yes; then
3730 echo "$ac_t""yes" 1>&6
3732 echo "$ac_t""no" 1>&6
3736 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3737 echo "configure:3738: checking for --enable-filesystem" >&5
3739 # Check whether --enable-filesystem or --disable-filesystem was given.
3740 if test "${enable_filesystem+set}" = set; then
3741 enableval
="$enable_filesystem"
3743 if test "$enableval" = yes; then
3744 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3746 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3751 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3752 if test "x$LINE" != x
; then
3753 eval "DEFAULT_$LINE"
3758 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3763 eval "$ac_cv_use_filesystem"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_FILESYSTEM" = yes; then
3769 echo "$ac_t""yes" 1>&6
3771 echo "$ac_t""no" 1>&6
3775 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3776 echo "configure:3777: checking for --enable-fs_inet" >&5
3778 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3779 if test "${enable_fs_inet+set}" = set; then
3780 enableval
="$enable_fs_inet"
3782 if test "$enableval" = yes; then
3783 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3785 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3790 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x
; then
3792 eval "DEFAULT_$LINE"
3797 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3802 eval "$ac_cv_use_fs_inet"
3803 if test "$no_cache" != 1; then
3804 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3807 if test "$wxUSE_FS_INET" = yes; then
3808 echo "$ac_t""yes" 1>&6
3810 echo "$ac_t""no" 1>&6
3814 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3815 echo "configure:3816: checking for --enable-fs_zip" >&5
3817 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3818 if test "${enable_fs_zip+set}" = set; then
3819 enableval
="$enable_fs_zip"
3821 if test "$enableval" = yes; then
3822 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3824 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3829 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x
; then
3831 eval "DEFAULT_$LINE"
3836 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3841 eval "$ac_cv_use_fs_zip"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3846 if test "$wxUSE_FS_ZIP" = yes; then
3847 echo "$ac_t""yes" 1>&6
3849 echo "$ac_t""no" 1>&6
3853 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3854 echo "configure:3855: checking for --enable-zipstream" >&5
3856 # Check whether --enable-zipstream or --disable-zipstream was given.
3857 if test "${enable_zipstream+set}" = set; then
3858 enableval
="$enable_zipstream"
3860 if test "$enableval" = yes; then
3861 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3863 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3868 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3869 if test "x$LINE" != x
; then
3870 eval "DEFAULT_$LINE"
3875 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3880 eval "$ac_cv_use_zipstream"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_ZIPSTREAM" = yes; then
3886 echo "$ac_t""yes" 1>&6
3888 echo "$ac_t""no" 1>&6
3893 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3894 echo "configure:3895: checking for --enable-catch_segvs" >&5
3896 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3897 if test "${enable_catch_segvs+set}" = set; then
3898 enableval
="$enable_catch_segvs"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3903 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3908 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x
; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3920 eval "$ac_cv_use_catch_segvs"
3921 if test "$no_cache" != 1; then
3922 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3925 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3926 echo "$ac_t""yes" 1>&6
3928 echo "$ac_t""no" 1>&6
3932 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
3933 echo "configure:3934: checking for --enable-snglinst" >&5
3935 # Check whether --enable-snglinst or --disable-snglinst was given.
3936 if test "${enable_snglinst+set}" = set; then
3937 enableval
="$enable_snglinst"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
3942 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
3947 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
3959 eval "$ac_cv_use_snglinst"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
3965 echo "$ac_t""yes" 1>&6
3967 echo "$ac_t""no" 1>&6
3972 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
3973 echo "configure:3974: checking for --enable-mimetype" >&5
3975 # Check whether --enable-mimetype or --disable-mimetype was given.
3976 if test "${enable_mimetype+set}" = set; then
3977 enableval
="$enable_mimetype"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
3982 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
3987 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x
; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
3999 eval "$ac_cv_use_mimetype"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_MIMETYPE" = yes; then
4005 echo "$ac_t""yes" 1>&6
4007 echo "$ac_t""no" 1>&6
4013 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4014 echo "configure:4015: checking for --enable-threads" >&5
4016 # Check whether --enable-threads or --disable-threads was given.
4017 if test "${enable_threads+set}" = set; then
4018 enableval
="$enable_threads"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_threads
='wxUSE_THREADS=yes'
4023 ac_cv_use_threads
='wxUSE_THREADS=no'
4028 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x
; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4040 eval "$ac_cv_use_threads"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_THREADS" = yes; then
4046 echo "$ac_t""yes" 1>&6
4048 echo "$ac_t""no" 1>&6
4052 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4053 echo "configure:4054: checking for --enable-serial" >&5
4055 # Check whether --enable-serial or --disable-serial was given.
4056 if test "${enable_serial+set}" = set; then
4057 enableval
="$enable_serial"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4062 ac_cv_use_serial
='wxUSE_SERIAL=no'
4067 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x
; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4079 eval "$ac_cv_use_serial"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_SERIAL" = yes; then
4085 echo "$ac_t""yes" 1>&6
4087 echo "$ac_t""no" 1>&6
4091 if test "$wxUSE_GUI" = "yes"; then
4095 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4096 echo "configure:4097: checking for --enable-docview" >&5
4098 # Check whether --enable-docview or --disable-docview was given.
4099 if test "${enable_docview+set}" = set; then
4100 enableval
="$enable_docview"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4105 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4110 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4122 eval "$ac_cv_use_docview"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4128 echo "$ac_t""yes" 1>&6
4130 echo "$ac_t""no" 1>&6
4134 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4135 echo "configure:4136: checking for --enable-help" >&5
4137 # Check whether --enable-help or --disable-help was given.
4138 if test "${enable_help+set}" = set; then
4139 enableval
="$enable_help"
4141 if test "$enableval" = yes; then
4142 ac_cv_use_help
='wxUSE_HELP=yes'
4144 ac_cv_use_help
='wxUSE_HELP=no'
4149 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x
; then
4151 eval "DEFAULT_$LINE"
4156 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4161 eval "$ac_cv_use_help"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_HELP" = yes; then
4167 echo "$ac_t""yes" 1>&6
4169 echo "$ac_t""no" 1>&6
4173 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4174 echo "configure:4175: checking for --enable-constraints" >&5
4176 # Check whether --enable-constraints or --disable-constraints was given.
4177 if test "${enable_constraints+set}" = set; then
4178 enableval
="$enable_constraints"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4183 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4188 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4200 eval "$ac_cv_use_constraints"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_CONSTRAINTS" = yes; then
4206 echo "$ac_t""yes" 1>&6
4208 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4213 echo "configure:4214: checking for --enable-printarch" >&5
4215 # Check whether --enable-printarch or --disable-printarch was given.
4216 if test "${enable_printarch+set}" = set; then
4217 enableval
="$enable_printarch"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4222 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4227 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4239 eval "$ac_cv_use_printarch"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4252 echo "configure:4253: checking for --enable-mdi" >&5
4254 # Check whether --enable-mdi or --disable-mdi was given.
4255 if test "${enable_mdi+set}" = set; then
4256 enableval
="$enable_mdi"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4261 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4266 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4278 eval "$ac_cv_use_mdi"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4290 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4291 echo "configure:4292: checking for --enable-loggui" >&5
4293 # Check whether --enable-loggui or --disable-loggui was given.
4294 if test "${enable_loggui+set}" = set; then
4295 enableval
="$enable_loggui"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4300 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4305 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4317 eval "$ac_cv_use_loggui"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_LOGGUI" = yes; then
4323 echo "$ac_t""yes" 1>&6
4325 echo "$ac_t""no" 1>&6
4329 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4330 echo "configure:4331: checking for --enable-logwin" >&5
4332 # Check whether --enable-logwin or --disable-logwin was given.
4333 if test "${enable_logwin+set}" = set; then
4334 enableval
="$enable_logwin"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4339 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4344 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4356 eval "$ac_cv_use_logwin"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_LOGWINDOW" = yes; then
4362 echo "$ac_t""yes" 1>&6
4364 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4370 echo "configure:4371: checking for --enable-postscript" >&5
4372 # Check whether --enable-postscript or --disable-postscript was given.
4373 if test "${enable_postscript+set}" = set; then
4374 enableval
="$enable_postscript"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4379 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4384 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4396 eval "$ac_cv_use_postscript"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_POSTSCRIPT" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4411 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4412 echo "configure:4413: checking for --enable-prologio" >&5
4414 # Check whether --enable-prologio or --disable-prologio was given.
4415 if test "${enable_prologio+set}" = set; then
4416 enableval
="$enable_prologio"
4418 if test "$enableval" = yes; then
4419 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4421 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4426 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x
; then
4428 eval "DEFAULT_$LINE"
4433 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4438 eval "$ac_cv_use_prologio"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_PROLOGIO" = yes; then
4444 echo "$ac_t""yes" 1>&6
4446 echo "$ac_t""no" 1>&6
4450 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4451 echo "configure:4452: checking for --enable-resources" >&5
4453 # Check whether --enable-resources or --disable-resources was given.
4454 if test "${enable_resources+set}" = set; then
4455 enableval
="$enable_resources"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4460 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4465 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4477 eval "$ac_cv_use_resources"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_RESOURCES" = yes; then
4483 echo "$ac_t""yes" 1>&6
4485 echo "$ac_t""no" 1>&6
4490 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4491 echo "configure:4492: checking for --enable-xresources" >&5
4493 # Check whether --enable-xresources or --disable-xresources was given.
4494 if test "${enable_xresources+set}" = set; then
4495 enableval
="$enable_xresources"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4500 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4505 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4517 eval "$ac_cv_use_xresources"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4522 if test "$wxUSE_X_RESOURCES" = yes; then
4523 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4531 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4532 echo "configure:4533: checking for --enable-clipboard" >&5
4534 # Check whether --enable-clipboard or --disable-clipboard was given.
4535 if test "${enable_clipboard+set}" = set; then
4536 enableval
="$enable_clipboard"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4541 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4546 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4558 eval "$ac_cv_use_clipboard"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_CLIPBOARD" = yes; then
4564 echo "$ac_t""yes" 1>&6
4566 echo "$ac_t""no" 1>&6
4570 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4571 echo "configure:4572: checking for --enable-dnd" >&5
4573 # Check whether --enable-dnd or --disable-dnd was given.
4574 if test "${enable_dnd+set}" = set; then
4575 enableval
="$enable_dnd"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4580 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4585 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4597 eval "$ac_cv_use_dnd"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4603 echo "$ac_t""yes" 1>&6
4605 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --enable-metafile" >&5
4612 # Check whether --enable-metafile or --disable-metafile was given.
4613 if test "${enable_metafile+set}" = set; then
4614 enableval
="$enable_metafile"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4619 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4624 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4636 eval "$ac_cv_use_metafile"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_METAFILE" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4649 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4650 echo "configure:4651: checking for --enable-wxtree" >&5
4652 # Check whether --enable-wxtree or --disable-wxtree was given.
4653 if test "${enable_wxtree+set}" = set; then
4654 enableval
="$enable_wxtree"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4659 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4664 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4676 eval "$ac_cv_use_wxtree"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_WXTREE" = yes; then
4682 echo "$ac_t""yes" 1>&6
4684 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4691 echo "configure:4692: checking for --enable-controls" >&5
4693 # Check whether --enable-controls or --disable-controls was given.
4694 if test "${enable_controls+set}" = set; then
4695 enableval
="$enable_controls"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4700 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4705 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4717 eval "$ac_cv_use_controls"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_CONTROLS" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4729 if test "$wxUSE_CONTROLS" = "yes"; then
4730 DEFAULT_wxUSE_ACCEL
=yes
4731 DEFAULT_wxUSE_BMPBUTTON
=yes
4732 DEFAULT_wxUSE_BUTTON
=yes
4733 DEFAULT_wxUSE_CALCTRL
=no
4734 DEFAULT_wxUSE_CARET
=yes
4735 DEFAULT_wxUSE_COMBOBOX
=yes
4736 DEFAULT_wxUSE_CHECKBOX
=yes
4737 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4738 DEFAULT_wxUSE_CHOICE
=yes
4739 DEFAULT_wxUSE_GAUGE
=yes
4740 DEFAULT_wxUSE_GRID
=yes
4741 DEFAULT_wxUSE_NEW_GRID
=yes
4742 DEFAULT_wxUSE_IMAGLIST
=yes
4743 DEFAULT_wxUSE_LISTBOX
=yes
4744 DEFAULT_wxUSE_LISTCTRL
=yes
4745 DEFAULT_wxUSE_NOTEBOOK
=yes
4746 DEFAULT_wxUSE_RADIOBOX
=yes
4747 DEFAULT_wxUSE_RADIOBTN
=yes
4748 DEFAULT_wxUSE_SASH
=yes
4749 DEFAULT_wxUSE_SCROLLBAR
=yes
4750 DEFAULT_wxUSE_SLIDER
=yes
4751 DEFAULT_wxUSE_SPINBTN
=yes
4752 DEFAULT_wxUSE_SPINCTRL
=yes
4753 DEFAULT_wxUSE_SPLITTER
=yes
4754 DEFAULT_wxUSE_STATBMP
=yes
4755 DEFAULT_wxUSE_STATBOX
=yes
4756 DEFAULT_wxUSE_STATLINE
=yes
4757 DEFAULT_wxUSE_STATUSBAR
=yes
4758 DEFAULT_wxUSE_TAB_DIALOG
=yes
4759 DEFAULT_wxUSE_TOGGLEBTN
=yes
4760 DEFAULT_wxUSE_TOOLBAR
=yes
4761 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4762 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4763 DEFAULT_wxUSE_TOOLTIPS
=yes
4764 DEFAULT_wxUSE_TREECTRL
=yes
4765 elif test "$wxUSE_CONTROLS" = "no"; then
4766 DEFAULT_wxUSE_ACCEL
=no
4767 DEFAULT_wxUSE_BMPBUTTON
=no
4768 DEFAULT_wxUSE_BUTTON
=no
4769 DEFAULT_wxUSE_CALCTRL
=no
4770 DEFAULT_wxUSE_CARET
=no
4771 DEFAULT_wxUSE_COMBOBOX
=no
4772 DEFAULT_wxUSE_CHECKBOX
=no
4773 DEFAULT_wxUSE_CHECKLISTBOX
=no
4774 DEFAULT_wxUSE_CHOICE
=no
4775 DEFAULT_wxUSE_GAUGE
=no
4776 DEFAULT_wxUSE_GRID
=no
4777 DEFAULT_wxUSE_NEW_GRID
=no
4778 DEFAULT_wxUSE_IMAGLIST
=no
4779 DEFAULT_wxUSE_LISTBOX
=no
4780 DEFAULT_wxUSE_LISTCTRL
=no
4781 DEFAULT_wxUSE_NOTEBOOK
=no
4782 DEFAULT_wxUSE_RADIOBOX
=no
4783 DEFAULT_wxUSE_RADIOBTN
=no
4784 DEFAULT_wxUSE_SASH
=no
4785 DEFAULT_wxUSE_SCROLLBAR
=no
4786 DEFAULT_wxUSE_SLIDER
=no
4787 DEFAULT_wxUSE_SPINBTN
=no
4788 DEFAULT_wxUSE_SPINCTRL
=no
4789 DEFAULT_wxUSE_SPLITTER
=no
4790 DEFAULT_wxUSE_STATBMP
=no
4791 DEFAULT_wxUSE_STATBOX
=no
4792 DEFAULT_wxUSE_STATLINE
=no
4793 DEFAULT_wxUSE_STATUSBAR
=no
4794 DEFAULT_wxUSE_TAB_DIALOG
=no
4795 DEFAULT_wxUSE_TOGGLEBTN
=no
4796 DEFAULT_wxUSE_TOOLBAR
=no
4797 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4798 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4799 DEFAULT_wxUSE_TOOLTIPS
=no
4800 DEFAULT_wxUSE_TREECTRL
=no
4804 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --enable-accel" >&5
4807 # Check whether --enable-accel or --disable-accel was given.
4808 if test "${enable_accel+set}" = set; then
4809 enableval
="$enable_accel"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4814 ac_cv_use_accel
='wxUSE_ACCEL=no'
4819 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4831 eval "$ac_cv_use_accel"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_ACCEL" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4843 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4844 echo "configure:4845: checking for --enable-button" >&5
4846 # Check whether --enable-button or --disable-button was given.
4847 if test "${enable_button+set}" = set; then
4848 enableval
="$enable_button"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_button
='wxUSE_BUTTON=yes'
4853 ac_cv_use_button
='wxUSE_BUTTON=no'
4858 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4870 eval "$ac_cv_use_button"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4875 if test "$wxUSE_BUTTON" = yes; then
4876 echo "$ac_t""yes" 1>&6
4878 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-bmpbutton" >&5
4885 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4886 if test "${enable_bmpbutton+set}" = set; then
4887 enableval
="$enable_bmpbutton"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4892 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4897 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4909 eval "$ac_cv_use_bmpbutton"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_BMPBUTTON" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4921 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
4922 echo "configure:4923: checking for --enable-calendar" >&5
4924 # Check whether --enable-calendar or --disable-calendar was given.
4925 if test "${enable_calendar+set}" = set; then
4926 enableval
="$enable_calendar"
4928 if test "$enableval" = yes; then
4929 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
4931 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
4936 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x
; then
4938 eval "DEFAULT_$LINE"
4943 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
4948 eval "$ac_cv_use_calendar"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_CALCTRL" = yes; then
4954 echo "$ac_t""yes" 1>&6
4956 echo "$ac_t""no" 1>&6
4960 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
4961 echo "configure:4962: checking for --enable-caret" >&5
4963 # Check whether --enable-caret or --disable-caret was given.
4964 if test "${enable_caret+set}" = set; then
4965 enableval
="$enable_caret"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_caret
='wxUSE_CARET=yes'
4970 ac_cv_use_caret
='wxUSE_CARET=no'
4975 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4987 eval "$ac_cv_use_caret"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_CARET" = yes; then
4993 echo "$ac_t""yes" 1>&6
4995 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5000 echo "configure:5001: checking for --enable-checkbox" >&5
5002 # Check whether --enable-checkbox or --disable-checkbox was given.
5003 if test "${enable_checkbox+set}" = set; then
5004 enableval
="$enable_checkbox"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5009 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5014 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x
; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5026 eval "$ac_cv_use_checkbox"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_CHECKBOX" = yes; then
5032 echo "$ac_t""yes" 1>&6
5034 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --enable-checklst" >&5
5041 # Check whether --enable-checklst or --disable-checklst was given.
5042 if test "${enable_checklst+set}" = set; then
5043 enableval
="$enable_checklst"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5048 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5053 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5065 eval "$ac_cv_use_checklst"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_CHECKLST" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5078 echo "configure:5079: checking for --enable-choice" >&5
5080 # Check whether --enable-choice or --disable-choice was given.
5081 if test "${enable_choice+set}" = set; then
5082 enableval
="$enable_choice"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5087 ac_cv_use_choice
='wxUSE_CHOICE=no'
5092 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5104 eval "$ac_cv_use_choice"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_CHOICE" = yes; then
5110 echo "$ac_t""yes" 1>&6
5112 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5117 echo "configure:5118: checking for --enable-combobox" >&5
5119 # Check whether --enable-combobox or --disable-combobox was given.
5120 if test "${enable_combobox+set}" = set; then
5121 enableval
="$enable_combobox"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5126 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5131 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5143 eval "$ac_cv_use_combobox"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_COMBOBOX" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5156 echo "configure:5157: checking for --enable-gauge" >&5
5158 # Check whether --enable-gauge or --disable-gauge was given.
5159 if test "${enable_gauge+set}" = set; then
5160 enableval
="$enable_gauge"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5165 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5170 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5182 eval "$ac_cv_use_gauge"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_GAUGE" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5194 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5195 echo "configure:5196: checking for --enable-grid" >&5
5197 # Check whether --enable-grid or --disable-grid was given.
5198 if test "${enable_grid+set}" = set; then
5199 enableval
="$enable_grid"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_grid
='wxUSE_GRID=yes'
5204 ac_cv_use_grid
='wxUSE_GRID=no'
5209 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5221 eval "$ac_cv_use_grid"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_GRID" = yes; then
5227 echo "$ac_t""yes" 1>&6
5229 echo "$ac_t""no" 1>&6
5233 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5234 echo "configure:5235: checking for --enable-newgrid" >&5
5236 # Check whether --enable-newgrid or --disable-newgrid was given.
5237 if test "${enable_newgrid+set}" = set; then
5238 enableval
="$enable_newgrid"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5243 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5248 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5260 eval "$ac_cv_use_newgrid"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_NEW_GRID" = yes; then
5266 echo "$ac_t""yes" 1>&6
5268 echo "$ac_t""no" 1>&6
5272 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5273 echo "configure:5274: checking for --enable-imaglist" >&5
5275 # Check whether --enable-imaglist or --disable-imaglist was given.
5276 if test "${enable_imaglist+set}" = set; then
5277 enableval
="$enable_imaglist"
5279 if test "$enableval" = yes; then
5280 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5282 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5287 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x
; then
5289 eval "DEFAULT_$LINE"
5294 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5299 eval "$ac_cv_use_imaglist"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_IMAGLIST" = yes; then
5305 echo "$ac_t""yes" 1>&6
5307 echo "$ac_t""no" 1>&6
5311 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5312 echo "configure:5313: checking for --enable-listbox" >&5
5314 # Check whether --enable-listbox or --disable-listbox was given.
5315 if test "${enable_listbox+set}" = set; then
5316 enableval
="$enable_listbox"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5321 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5326 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5338 eval "$ac_cv_use_listbox"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_LISTBOX" = yes; then
5344 echo "$ac_t""yes" 1>&6
5346 echo "$ac_t""no" 1>&6
5350 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5351 echo "configure:5352: checking for --enable-listctrl" >&5
5353 # Check whether --enable-listctrl or --disable-listctrl was given.
5354 if test "${enable_listctrl+set}" = set; then
5355 enableval
="$enable_listctrl"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5360 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5365 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5377 eval "$ac_cv_use_listctrl"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_LISTCTRL" = yes; then
5383 echo "$ac_t""yes" 1>&6
5385 echo "$ac_t""no" 1>&6
5389 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5390 echo "configure:5391: checking for --enable-notebook" >&5
5392 # Check whether --enable-notebook or --disable-notebook was given.
5393 if test "${enable_notebook+set}" = set; then
5394 enableval
="$enable_notebook"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5399 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5404 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5416 eval "$ac_cv_use_notebook"
5417 if test "$no_cache" != 1; then
5418 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5421 if test "$wxUSE_NOTEBOOK" = yes; then
5422 echo "$ac_t""yes" 1>&6
5424 echo "$ac_t""no" 1>&6
5428 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5429 echo "configure:5430: checking for --enable-radiobox" >&5
5431 # Check whether --enable-radiobox or --disable-radiobox was given.
5432 if test "${enable_radiobox+set}" = set; then
5433 enableval
="$enable_radiobox"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5438 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5443 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x
; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5455 eval "$ac_cv_use_radiobox"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_RADIOBOX" = yes; then
5461 echo "$ac_t""yes" 1>&6
5463 echo "$ac_t""no" 1>&6
5467 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5468 echo "configure:5469: checking for --enable-radiobtn" >&5
5470 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5471 if test "${enable_radiobtn+set}" = set; then
5472 enableval
="$enable_radiobtn"
5474 if test "$enableval" = yes; then
5475 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5477 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5482 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x
; then
5484 eval "DEFAULT_$LINE"
5489 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5494 eval "$ac_cv_use_radiobtn"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5499 if test "$wxUSE_RADIOBTN" = yes; then
5500 echo "$ac_t""yes" 1>&6
5502 echo "$ac_t""no" 1>&6
5506 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5507 echo "configure:5508: checking for --enable-sash" >&5
5509 # Check whether --enable-sash or --disable-sash was given.
5510 if test "${enable_sash+set}" = set; then
5511 enableval
="$enable_sash"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_sash
='wxUSE_SASH=yes'
5516 ac_cv_use_sash
='wxUSE_SASH=no'
5521 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5533 eval "$ac_cv_use_sash"
5534 if test "$no_cache" != 1; then
5535 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5538 if test "$wxUSE_SASH" = yes; then
5539 echo "$ac_t""yes" 1>&6
5541 echo "$ac_t""no" 1>&6
5545 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5546 echo "configure:5547: checking for --enable-scrollbar" >&5
5548 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5549 if test "${enable_scrollbar+set}" = set; then
5550 enableval
="$enable_scrollbar"
5552 if test "$enableval" = yes; then
5553 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5555 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5560 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x
; then
5562 eval "DEFAULT_$LINE"
5567 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5572 eval "$ac_cv_use_scrollbar"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_SCROLLBAR" = yes; then
5578 echo "$ac_t""yes" 1>&6
5580 echo "$ac_t""no" 1>&6
5584 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5585 echo "configure:5586: checking for --enable-slider" >&5
5587 # Check whether --enable-slider or --disable-slider was given.
5588 if test "${enable_slider+set}" = set; then
5589 enableval
="$enable_slider"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5594 ac_cv_use_slider
='wxUSE_SLIDER=no'
5599 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5611 eval "$ac_cv_use_slider"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_SLIDER" = yes; then
5617 echo "$ac_t""yes" 1>&6
5619 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5624 echo "configure:5625: checking for --enable-spinbtn" >&5
5626 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5627 if test "${enable_spinbtn+set}" = set; then
5628 enableval
="$enable_spinbtn"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5633 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5638 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5650 eval "$ac_cv_use_spinbtn"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_SPINBTN" = yes; then
5656 echo "$ac_t""yes" 1>&6
5658 echo "$ac_t""no" 1>&6
5662 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5663 echo "configure:5664: checking for --enable-spinctrl" >&5
5665 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5666 if test "${enable_spinctrl+set}" = set; then
5667 enableval
="$enable_spinctrl"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5672 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5677 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5689 eval "$ac_cv_use_spinctrl"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_SPINCTRL" = yes; then
5695 echo "$ac_t""yes" 1>&6
5697 echo "$ac_t""no" 1>&6
5701 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5702 echo "configure:5703: checking for --enable-splitter" >&5
5704 # Check whether --enable-splitter or --disable-splitter was given.
5705 if test "${enable_splitter+set}" = set; then
5706 enableval
="$enable_splitter"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5711 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5716 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5728 eval "$ac_cv_use_splitter"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_SPLITTER" = yes; then
5734 echo "$ac_t""yes" 1>&6
5736 echo "$ac_t""no" 1>&6
5740 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5741 echo "configure:5742: checking for --enable-statbmp" >&5
5743 # Check whether --enable-statbmp or --disable-statbmp was given.
5744 if test "${enable_statbmp+set}" = set; then
5745 enableval
="$enable_statbmp"
5747 if test "$enableval" = yes; then
5748 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5750 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5755 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5756 if test "x$LINE" != x
; then
5757 eval "DEFAULT_$LINE"
5762 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5767 eval "$ac_cv_use_statbmp"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5772 if test "$wxUSE_STATBMP" = yes; then
5773 echo "$ac_t""yes" 1>&6
5775 echo "$ac_t""no" 1>&6
5779 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5780 echo "configure:5781: checking for --enable-statbox" >&5
5782 # Check whether --enable-statbox or --disable-statbox was given.
5783 if test "${enable_statbox+set}" = set; then
5784 enableval
="$enable_statbox"
5786 if test "$enableval" = yes; then
5787 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5789 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5794 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x
; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5806 eval "$ac_cv_use_statbox"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_STATBOX" = yes; then
5812 echo "$ac_t""yes" 1>&6
5814 echo "$ac_t""no" 1>&6
5818 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5819 echo "configure:5820: checking for --enable-statline" >&5
5821 # Check whether --enable-statline or --disable-statline was given.
5822 if test "${enable_statline+set}" = set; then
5823 enableval
="$enable_statline"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5828 ac_cv_use_statline
='wxUSE_STATLINE=no'
5833 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5845 eval "$ac_cv_use_statline"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5850 if test "$wxUSE_STATLINE" = yes; then
5851 echo "$ac_t""yes" 1>&6
5853 echo "$ac_t""no" 1>&6
5857 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5858 echo "configure:5859: checking for --enable-stattext" >&5
5860 # Check whether --enable-stattext or --disable-stattext was given.
5861 if test "${enable_stattext+set}" = set; then
5862 enableval
="$enable_stattext"
5864 if test "$enableval" = yes; then
5865 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5867 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5872 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x
; then
5874 eval "DEFAULT_$LINE"
5879 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5884 eval "$ac_cv_use_stattext"
5885 if test "$no_cache" != 1; then
5886 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5889 if test "$wxUSE_STATTEXT" = yes; then
5890 echo "$ac_t""yes" 1>&6
5892 echo "$ac_t""no" 1>&6
5896 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5897 echo "configure:5898: checking for --enable-statusbar" >&5
5899 # Check whether --enable-statusbar or --disable-statusbar was given.
5900 if test "${enable_statusbar+set}" = set; then
5901 enableval
="$enable_statusbar"
5903 if test "$enableval" = yes; then
5904 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5906 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5911 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x
; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5923 eval "$ac_cv_use_statusbar"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_STATUSBAR" = yes; then
5929 echo "$ac_t""yes" 1>&6
5931 echo "$ac_t""no" 1>&6
5935 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
5936 echo "configure:5937: checking for --enable-tabdialog" >&5
5938 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5939 if test "${enable_tabdialog+set}" = set; then
5940 enableval
="$enable_tabdialog"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5945 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5950 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5962 eval "$ac_cv_use_tabdialog"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5967 if test "$wxUSE_TABDIALOG" = yes; then
5968 echo "$ac_t""yes" 1>&6
5970 echo "$ac_t""no" 1>&6
5974 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
5975 echo "configure:5976: checking for --enable-textctrl" >&5
5977 # Check whether --enable-textctrl or --disable-textctrl was given.
5978 if test "${enable_textctrl+set}" = set; then
5979 enableval
="$enable_textctrl"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
5984 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
5989 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6001 eval "$ac_cv_use_textctrl"
6002 if test "$no_cache" != 1; then
6003 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6006 if test "$wxUSE_TEXTCTRL" = yes; then
6007 echo "$ac_t""yes" 1>&6
6009 echo "$ac_t""no" 1>&6
6013 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6014 echo "configure:6015: checking for --enable-togglebtn" >&5
6016 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6017 if test "${enable_togglebtn+set}" = set; then
6018 enableval
="$enable_togglebtn"
6020 if test "$enableval" = yes; then
6021 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6023 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6028 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6035 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6040 eval "$ac_cv_use_togglebtn"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_TOGGLEBTN" = yes; then
6046 echo "$ac_t""yes" 1>&6
6048 echo "$ac_t""no" 1>&6
6052 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6053 echo "configure:6054: checking for --enable-toolbar" >&5
6055 # Check whether --enable-toolbar or --disable-toolbar was given.
6056 if test "${enable_toolbar+set}" = set; then
6057 enableval
="$enable_toolbar"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6062 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6067 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6079 eval "$ac_cv_use_toolbar"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_TOOLBAR" = yes; then
6085 echo "$ac_t""yes" 1>&6
6087 echo "$ac_t""no" 1>&6
6091 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6092 echo "configure:6093: checking for --enable-tbarnative" >&5
6094 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6095 if test "${enable_tbarnative+set}" = set; then
6096 enableval
="$enable_tbarnative"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6101 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6106 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6118 eval "$ac_cv_use_tbarnative"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6123 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6124 echo "$ac_t""yes" 1>&6
6126 echo "$ac_t""no" 1>&6
6130 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6131 echo "configure:6132: checking for --enable-tbarsmpl" >&5
6133 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6134 if test "${enable_tbarsmpl+set}" = set; then
6135 enableval
="$enable_tbarsmpl"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6140 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6145 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x
; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6157 eval "$ac_cv_use_tbarsmpl"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6162 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6163 echo "$ac_t""yes" 1>&6
6165 echo "$ac_t""no" 1>&6
6169 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6170 echo "configure:6171: checking for --enable-treectrl" >&5
6172 # Check whether --enable-treectrl or --disable-treectrl was given.
6173 if test "${enable_treectrl+set}" = set; then
6174 enableval
="$enable_treectrl"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6179 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6184 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6196 eval "$ac_cv_use_treectrl"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_TREECTRL" = yes; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6210 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6211 echo "configure:6212: checking for --enable-commondlg" >&5
6213 # Check whether --enable-commondlg or --disable-commondlg was given.
6214 if test "${enable_commondlg+set}" = set; then
6215 enableval
="$enable_commondlg"
6217 if test "$enableval" = yes; then
6218 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6220 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6225 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x
; then
6227 eval "DEFAULT_$LINE"
6232 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6237 eval "$ac_cv_use_commondlg"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6242 if test "$wxUSE_COMMONDLGS" = yes; then
6243 echo "$ac_t""yes" 1>&6
6245 echo "$ac_t""no" 1>&6
6249 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6250 echo "configure:6251: checking for --enable-choicedlg" >&5
6252 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6253 if test "${enable_choicedlg+set}" = set; then
6254 enableval
="$enable_choicedlg"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6259 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6264 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6276 eval "$ac_cv_use_choicedlg"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_CHOICEDLG" = yes; then
6282 echo "$ac_t""yes" 1>&6
6284 echo "$ac_t""no" 1>&6
6288 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6289 echo "configure:6290: checking for --enable-coldlg" >&5
6291 # Check whether --enable-coldlg or --disable-coldlg was given.
6292 if test "${enable_coldlg+set}" = set; then
6293 enableval
="$enable_coldlg"
6295 if test "$enableval" = yes; then
6296 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6298 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6303 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x
; then
6305 eval "DEFAULT_$LINE"
6310 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6315 eval "$ac_cv_use_coldlg"
6316 if test "$no_cache" != 1; then
6317 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6320 if test "$wxUSE_COLOURDLG" = yes; then
6321 echo "$ac_t""yes" 1>&6
6323 echo "$ac_t""no" 1>&6
6327 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6328 echo "configure:6329: checking for --enable-filedlg" >&5
6330 # Check whether --enable-filedlg or --disable-filedlg was given.
6331 if test "${enable_filedlg+set}" = set; then
6332 enableval
="$enable_filedlg"
6334 if test "$enableval" = yes; then
6335 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6337 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6342 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x
; then
6344 eval "DEFAULT_$LINE"
6349 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6354 eval "$ac_cv_use_filedlg"
6355 if test "$no_cache" != 1; then
6356 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6359 if test "$wxUSE_FILEDLG" = yes; then
6360 echo "$ac_t""yes" 1>&6
6362 echo "$ac_t""no" 1>&6
6366 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6367 echo "configure:6368: checking for --enable-fontdlg" >&5
6369 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6370 if test "${enable_fontdlg+set}" = set; then
6371 enableval
="$enable_fontdlg"
6373 if test "$enableval" = yes; then
6374 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6376 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6381 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6382 if test "x$LINE" != x
; then
6383 eval "DEFAULT_$LINE"
6388 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6393 eval "$ac_cv_use_fontdlg"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6398 if test "$wxUSE_FONTDLG" = yes; then
6399 echo "$ac_t""yes" 1>&6
6401 echo "$ac_t""no" 1>&6
6405 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6406 echo "configure:6407: checking for --enable-dirdlg" >&5
6408 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6409 if test "${enable_dirdlg+set}" = set; then
6410 enableval
="$enable_dirdlg"
6412 if test "$enableval" = yes; then
6413 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6415 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6420 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x
; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6432 eval "$ac_cv_use_dirdlg"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6437 if test "$wxUSE_DIRDLG" = yes; then
6438 echo "$ac_t""yes" 1>&6
6440 echo "$ac_t""no" 1>&6
6444 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6445 echo "configure:6446: checking for --enable-msgdlg" >&5
6447 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6448 if test "${enable_msgdlg+set}" = set; then
6449 enableval
="$enable_msgdlg"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6454 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6459 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x
; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6471 eval "$ac_cv_use_msgdlg"
6472 if test "$no_cache" != 1; then
6473 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6476 if test "$wxUSE_MSGDLG" = yes; then
6477 echo "$ac_t""yes" 1>&6
6479 echo "$ac_t""no" 1>&6
6483 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6484 echo "configure:6485: checking for --enable-numberdlg" >&5
6486 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6487 if test "${enable_numberdlg+set}" = set; then
6488 enableval
="$enable_numberdlg"
6490 if test "$enableval" = yes; then
6491 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6493 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6498 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6499 if test "x$LINE" != x
; then
6500 eval "DEFAULT_$LINE"
6505 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6510 eval "$ac_cv_use_numberdlg"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6515 if test "$wxUSE_NUMBERDLG" = yes; then
6516 echo "$ac_t""yes" 1>&6
6518 echo "$ac_t""no" 1>&6
6522 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6523 echo "configure:6524: checking for --enable-textdlg" >&5
6525 # Check whether --enable-textdlg or --disable-textdlg was given.
6526 if test "${enable_textdlg+set}" = set; then
6527 enableval
="$enable_textdlg"
6529 if test "$enableval" = yes; then
6530 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6532 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6537 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x
; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6549 eval "$ac_cv_use_textdlg"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_TEXTDLG" = yes; then
6555 echo "$ac_t""yes" 1>&6
6557 echo "$ac_t""no" 1>&6
6561 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6562 echo "configure:6563: checking for --enable-tipdlg" >&5
6564 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6565 if test "${enable_tipdlg+set}" = set; then
6566 enableval
="$enable_tipdlg"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6571 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6576 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x
; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6588 eval "$ac_cv_use_tipdlg"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6593 if test "$wxUSE_STARTUP_TIPS" = yes; then
6594 echo "$ac_t""yes" 1>&6
6596 echo "$ac_t""no" 1>&6
6600 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6601 echo "configure:6602: checking for --enable-progressdlg" >&5
6603 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6604 if test "${enable_progressdlg+set}" = set; then
6605 enableval
="$enable_progressdlg"
6607 if test "$enableval" = yes; then
6608 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6610 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6615 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6616 if test "x$LINE" != x
; then
6617 eval "DEFAULT_$LINE"
6622 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6627 eval "$ac_cv_use_progressdlg"
6628 if test "$no_cache" != 1; then
6629 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6632 if test "$wxUSE_PROGRESSDLG" = yes; then
6633 echo "$ac_t""yes" 1>&6
6635 echo "$ac_t""no" 1>&6
6639 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6640 echo "configure:6641: checking for --enable-menus" >&5
6642 # Check whether --enable-menus or --disable-menus was given.
6643 if test "${enable_menus+set}" = set; then
6644 enableval
="$enable_menus"
6646 if test "$enableval" = yes; then
6647 ac_cv_use_menus
='wxUSE_MENUS=yes'
6649 ac_cv_use_menus
='wxUSE_MENUS=no'
6654 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6655 if test "x$LINE" != x
; then
6656 eval "DEFAULT_$LINE"
6661 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6666 eval "$ac_cv_use_menus"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6671 if test "$wxUSE_MENUS" = yes; then
6672 echo "$ac_t""yes" 1>&6
6674 echo "$ac_t""no" 1>&6
6678 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6679 echo "configure:6680: checking for --enable-miniframe" >&5
6681 # Check whether --enable-miniframe or --disable-miniframe was given.
6682 if test "${enable_miniframe+set}" = set; then
6683 enableval
="$enable_miniframe"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6688 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6693 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6705 eval "$ac_cv_use_miniframe"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_MINIFRAME" = yes; then
6711 echo "$ac_t""yes" 1>&6
6713 echo "$ac_t""no" 1>&6
6717 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6718 echo "configure:6719: checking for --enable-html" >&5
6720 # Check whether --enable-html or --disable-html was given.
6721 if test "${enable_html+set}" = set; then
6722 enableval
="$enable_html"
6724 if test "$enableval" = yes; then
6725 ac_cv_use_html
='wxUSE_HTML=yes'
6727 ac_cv_use_html
='wxUSE_HTML=no'
6732 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x
; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6744 eval "$ac_cv_use_html"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_HTML" = yes; then
6750 echo "$ac_t""yes" 1>&6
6752 echo "$ac_t""no" 1>&6
6756 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6757 echo "configure:6758: checking for --enable-tooltips" >&5
6759 # Check whether --enable-tooltips or --disable-tooltips was given.
6760 if test "${enable_tooltips+set}" = set; then
6761 enableval
="$enable_tooltips"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6766 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6771 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6783 eval "$ac_cv_use_tooltips"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_TOOLTIPS" = yes; then
6789 echo "$ac_t""yes" 1>&6
6791 echo "$ac_t""no" 1>&6
6795 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6796 echo "configure:6797: checking for --enable-splines" >&5
6798 # Check whether --enable-splines or --disable-splines was given.
6799 if test "${enable_splines+set}" = set; then
6800 enableval
="$enable_splines"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6805 ac_cv_use_splines
='wxUSE_SPLINES=no'
6810 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6822 eval "$ac_cv_use_splines"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_SPLINES" = yes; then
6828 echo "$ac_t""yes" 1>&6
6830 echo "$ac_t""no" 1>&6
6834 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6835 echo "configure:6836: checking for --enable-validators" >&5
6837 # Check whether --enable-validators or --disable-validators was given.
6838 if test "${enable_validators+set}" = set; then
6839 enableval
="$enable_validators"
6841 if test "$enableval" = yes; then
6842 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6844 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6849 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6850 if test "x$LINE" != x
; then
6851 eval "DEFAULT_$LINE"
6856 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6861 eval "$ac_cv_use_validators"
6862 if test "$no_cache" != 1; then
6863 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6866 if test "$wxUSE_VALIDATORS" = yes; then
6867 echo "$ac_t""yes" 1>&6
6869 echo "$ac_t""no" 1>&6
6873 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6874 echo "configure:6875: checking for --enable-busyinfo" >&5
6876 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6877 if test "${enable_busyinfo+set}" = set; then
6878 enableval
="$enable_busyinfo"
6880 if test "$enableval" = yes; then
6881 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
6883 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
6888 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6889 if test "x$LINE" != x
; then
6890 eval "DEFAULT_$LINE"
6895 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6900 eval "$ac_cv_use_busyinfo"
6901 if test "$no_cache" != 1; then
6902 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6905 if test "$wxUSE_BUSYINFO" = yes; then
6906 echo "$ac_t""yes" 1>&6
6908 echo "$ac_t""no" 1>&6
6912 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
6913 echo "configure:6914: checking for --enable-joystick" >&5
6915 # Check whether --enable-joystick or --disable-joystick was given.
6916 if test "${enable_joystick+set}" = set; then
6917 enableval
="$enable_joystick"
6919 if test "$enableval" = yes; then
6920 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
6922 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
6927 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x
; then
6929 eval "DEFAULT_$LINE"
6934 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
6939 eval "$ac_cv_use_joystick"
6940 if test "$no_cache" != 1; then
6941 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
6944 if test "$wxUSE_JOYSTICK" = yes; then
6945 echo "$ac_t""yes" 1>&6
6947 echo "$ac_t""no" 1>&6
6951 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
6952 echo "configure:6953: checking for --enable-metafile" >&5
6954 # Check whether --enable-metafile or --disable-metafile was given.
6955 if test "${enable_metafile+set}" = set; then
6956 enableval
="$enable_metafile"
6958 if test "$enableval" = yes; then
6959 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6961 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6966 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x
; then
6968 eval "DEFAULT_$LINE"
6973 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6978 eval "$ac_cv_use_metafile"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6983 if test "$wxUSE_METAFILE" = yes; then
6984 echo "$ac_t""yes" 1>&6
6986 echo "$ac_t""no" 1>&6
6992 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
6993 echo "configure:6994: checking for --enable-image" >&5
6995 # Check whether --enable-image or --disable-image was given.
6996 if test "${enable_image+set}" = set; then
6997 enableval
="$enable_image"
6999 if test "$enableval" = yes; then
7000 ac_cv_use_image
='wxUSE_IMAGE=yes'
7002 ac_cv_use_image
='wxUSE_IMAGE=no'
7007 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x
; then
7009 eval "DEFAULT_$LINE"
7014 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7019 eval "$ac_cv_use_image"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7024 if test "$wxUSE_IMAGE" = yes; then
7025 echo "$ac_t""yes" 1>&6
7027 echo "$ac_t""no" 1>&6
7031 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7032 echo "configure:7033: checking for --enable-gif" >&5
7034 # Check whether --enable-gif or --disable-gif was given.
7035 if test "${enable_gif+set}" = set; then
7036 enableval
="$enable_gif"
7038 if test "$enableval" = yes; then
7039 ac_cv_use_gif
='wxUSE_GIF=yes'
7041 ac_cv_use_gif
='wxUSE_GIF=no'
7046 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7047 if test "x$LINE" != x
; then
7048 eval "DEFAULT_$LINE"
7053 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7058 eval "$ac_cv_use_gif"
7059 if test "$no_cache" != 1; then
7060 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7063 if test "$wxUSE_GIF" = yes; then
7064 echo "$ac_t""yes" 1>&6
7066 echo "$ac_t""no" 1>&6
7070 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7071 echo "configure:7072: checking for --enable-pcx" >&5
7073 # Check whether --enable-pcx or --disable-pcx was given.
7074 if test "${enable_pcx+set}" = set; then
7075 enableval
="$enable_pcx"
7077 if test "$enableval" = yes; then
7078 ac_cv_use_pcx
='wxUSE_PCX=yes'
7080 ac_cv_use_pcx
='wxUSE_PCX=no'
7085 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x
; then
7087 eval "DEFAULT_$LINE"
7092 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7097 eval "$ac_cv_use_pcx"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7102 if test "$wxUSE_PCX" = yes; then
7103 echo "$ac_t""yes" 1>&6
7105 echo "$ac_t""no" 1>&6
7109 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7110 echo "configure:7111: checking for --enable-pnm" >&5
7112 # Check whether --enable-pnm or --disable-pnm was given.
7113 if test "${enable_pnm+set}" = set; then
7114 enableval
="$enable_pnm"
7116 if test "$enableval" = yes; then
7117 ac_cv_use_pnm
='wxUSE_PNM=yes'
7119 ac_cv_use_pnm
='wxUSE_PNM=no'
7124 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7125 if test "x$LINE" != x
; then
7126 eval "DEFAULT_$LINE"
7131 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7136 eval "$ac_cv_use_pnm"
7137 if test "$no_cache" != 1; then
7138 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7141 if test "$wxUSE_PNM" = yes; then
7142 echo "$ac_t""yes" 1>&6
7144 echo "$ac_t""no" 1>&6
7148 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7149 echo "configure:7150: checking for --enable-pnm" >&5
7151 # Check whether --enable-pnm or --disable-pnm was given.
7152 if test "${enable_pnm+set}" = set; then
7153 enableval
="$enable_pnm"
7155 if test "$enableval" = yes; then
7156 ac_cv_use_pnm
='wxUSE_XPM=yes'
7158 ac_cv_use_pnm
='wxUSE_XPM=no'
7163 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7164 if test "x$LINE" != x
; then
7165 eval "DEFAULT_$LINE"
7170 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7175 eval "$ac_cv_use_pnm"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_XPM" = yes; then
7181 echo "$ac_t""yes" 1>&6
7183 echo "$ac_t""no" 1>&6
7190 echo "saving argument cache $wx_arg_cache_file"
7191 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7195 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7196 echo "configure:7197: checking for toolkit" >&5
7198 if test "$wxUSE_GUI" = "yes"; then
7200 if test "$USE_BEOS" = 1; then
7201 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7204 if test "$TOOLKIT_GIVEN" = 1; then
7205 for toolkit
in `echo $ALL_TOOLKITS`; do
7207 eval "value=\$${var}"
7208 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7211 for toolkit
in `echo $ALL_TOOLKITS`; do
7212 if test "$has_toolkit_in_cache" != 1; then
7213 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7215 var
=DEFAULT_wxUSE_
$toolkit
7217 eval "wxUSE_$toolkit=\$${var}"
7221 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7225 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7226 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7235 case "$NUM_TOOLKITS" in
7239 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7242 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7245 for toolkit
in `echo $ALL_TOOLKITS`; do
7247 eval "value=\$${var}"
7248 if test "x$value" != x
; then
7249 cache_var
=CACHE_
$toolkit
7250 eval "cache=\$${cache_var}"
7251 if test "$cache" = 1; then
7252 echo "$var=$value" >> ${wx_arg_cache_file}
7254 if test "$value" = 1; then
7255 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7256 echo "$ac_t""$toolkit_echo" 1>&6
7263 echo "$ac_t""base only" 1>&6
7267 cat > confcache
<<\EOF
7268 # This file is a shell script that caches the results of configure
7269 # tests run on this system so they can be shared between configure
7270 # scripts and configure runs. It is not useful on other systems.
7271 # If it contains results you don't want to keep, you may remove or edit it.
7273 # By default, configure uses ./config.cache as the cache file,
7274 # creating it if it does not exist already. You can give configure
7275 # the --cache-file=FILE option to use a different cache file; that is
7276 # what configure does when it calls configure scripts in
7277 # subdirectories, so they share the cache.
7278 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7279 # config.status only pays attention to the cache file if you give it the
7280 # --recheck option to rerun configure.
7283 # The following way of writing the cache mishandles newlines in values,
7284 # but we know of no workaround that is simple, portable, and efficient.
7285 # So, don't put newlines in cache variables' values.
7286 # Ultrix sh set writes to stderr and can't be redirected directly,
7287 # and sets the high bit in the cache file unless we assign to the vars.
7289 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7291 # `set' does not quote correctly, so add quotes (double-quote substitution
7292 # turns \\\\ into \\, and sed turns \\ into \).
7294 -e "s/'/'\\\\''/g" \
7295 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7298 # `set' quotes correctly as required by POSIX, so do not add quotes.
7299 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7302 if cmp -s $cache_file confcache
; then
7305 if test -w $cache_file; then
7306 echo "updating cache $cache_file"
7307 cat confcache
> $cache_file
7309 echo "not updating unwritable cache $cache_file"
7315 if test "$build" != "$host" ; then
7319 RANLIB
=$host_alias-ranlib
7320 DLLTOOL
=$host_alias-dlltool
7321 RESCOMP
=$host_alias-windres
7324 STRIP
=$host_alias-strip
7327 # Extract the first word of "gcc", so it can be a program name with args.
7328 set dummy gcc
; ac_word
=$2
7329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7330 echo "configure:7331: checking for $ac_word" >&5
7331 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7332 echo $ac_n "(cached) $ac_c" 1>&6
7334 if test -n "$CC"; then
7335 ac_cv_prog_CC
="$CC" # Let the user override the test.
7337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7339 for ac_dir
in $ac_dummy; do
7340 test -z "$ac_dir" && ac_dir
=.
7341 if test -f $ac_dir/$ac_word; then
7350 if test -n "$CC"; then
7351 echo "$ac_t""$CC" 1>&6
7353 echo "$ac_t""no" 1>&6
7356 if test -z "$CC"; then
7357 # Extract the first word of "cc", so it can be a program name with args.
7358 set dummy cc
; ac_word
=$2
7359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7360 echo "configure:7361: checking for $ac_word" >&5
7361 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7362 echo $ac_n "(cached) $ac_c" 1>&6
7364 if test -n "$CC"; then
7365 ac_cv_prog_CC
="$CC" # Let the user override the test.
7367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7370 for ac_dir
in $ac_dummy; do
7371 test -z "$ac_dir" && ac_dir
=.
7372 if test -f $ac_dir/$ac_word; then
7373 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7374 ac_prog_rejected
=yes
7382 if test $ac_prog_rejected = yes; then
7383 # We found a bogon in the path, so make sure we never use it.
7384 set dummy
$ac_cv_prog_CC
7386 if test $# -gt 0; then
7387 # We chose a different compiler from the bogus one.
7388 # However, it has the same basename, so the bogon will be chosen
7389 # first if we set CC to just the basename; use the full file name.
7391 set dummy
"$ac_dir/$ac_word" "$@"
7399 if test -n "$CC"; then
7400 echo "$ac_t""$CC" 1>&6
7402 echo "$ac_t""no" 1>&6
7405 if test -z "$CC"; then
7406 case "`uname -s`" in
7408 # Extract the first word of "cl", so it can be a program name with args.
7409 set dummy cl
; ac_word
=$2
7410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7411 echo "configure:7412: checking for $ac_word" >&5
7412 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7413 echo $ac_n "(cached) $ac_c" 1>&6
7415 if test -n "$CC"; then
7416 ac_cv_prog_CC
="$CC" # Let the user override the test.
7418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7420 for ac_dir
in $ac_dummy; do
7421 test -z "$ac_dir" && ac_dir
=.
7422 if test -f $ac_dir/$ac_word; then
7431 if test -n "$CC"; then
7432 echo "$ac_t""$CC" 1>&6
7434 echo "$ac_t""no" 1>&6
7439 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7442 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7443 echo "configure:7444: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7447 ac_cpp
='$CPP $CPPFLAGS'
7448 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7449 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7450 cross_compiling
=$ac_cv_prog_cc_cross
7452 cat > conftest.
$ac_ext << EOF
7454 #line 7455 "configure"
7455 #include "confdefs.h"
7459 if { (eval echo configure
:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7460 ac_cv_prog_cc_works
=yes
7461 # If we can't run a trivial program, we are probably using a cross compiler.
7462 if (.
/conftest
; exit) 2>/dev
/null
; then
7463 ac_cv_prog_cc_cross
=no
7465 ac_cv_prog_cc_cross
=yes
7468 echo "configure: failed program was:" >&5
7469 cat conftest.
$ac_ext >&5
7470 ac_cv_prog_cc_works
=no
7474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7475 ac_cpp
='$CPP $CPPFLAGS'
7476 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7477 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7478 cross_compiling
=$ac_cv_prog_cc_cross
7480 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7481 if test $ac_cv_prog_cc_works = no
; then
7482 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7484 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7485 echo "configure:7486: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7486 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7487 cross_compiling
=$ac_cv_prog_cc_cross
7489 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7490 echo "configure:7491: checking whether we are using GNU C" >&5
7491 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7492 echo $ac_n "(cached) $ac_c" 1>&6
7494 cat > conftest.c
<<EOF
7499 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7506 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7508 if test $ac_cv_prog_gcc = yes; then
7514 ac_test_CFLAGS
="${CFLAGS+set}"
7515 ac_save_CFLAGS
="$CFLAGS"
7517 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7518 echo "configure:7519: checking whether ${CC-cc} accepts -g" >&5
7519 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7520 echo $ac_n "(cached) $ac_c" 1>&6
7522 echo 'void f(){}' > conftest.c
7523 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7532 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7533 if test "$ac_test_CFLAGS" = set; then
7534 CFLAGS
="$ac_save_CFLAGS"
7535 elif test $ac_cv_prog_cc_g = yes; then
7536 if test "$GCC" = yes; then
7542 if test "$GCC" = yes; then
7550 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7552 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7553 echo "configure:7554: checking how to run the C preprocessor" >&5
7554 # On Suns, sometimes $CPP names a directory.
7555 if test -n "$CPP" && test -d "$CPP"; then
7558 if test -z "$CPP"; then
7559 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7560 echo $ac_n "(cached) $ac_c" 1>&6
7562 # This must be in double quotes, not single quotes, because CPP may get
7563 # substituted into the Makefile and "${CC-cc}" will confuse make.
7565 # On the NeXT, cc -E runs the code through the compiler's parser,
7566 # not just through cpp.
7567 cat > conftest.
$ac_ext <<EOF
7568 #line 7569 "configure"
7569 #include "confdefs.h"
7573 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7574 { (eval echo configure
:7575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7575 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7576 if test -z "$ac_err"; then
7580 echo "configure: failed program was:" >&5
7581 cat conftest.
$ac_ext >&5
7583 CPP
="${CC-cc} -E -traditional-cpp"
7584 cat > conftest.
$ac_ext <<EOF
7585 #line 7586 "configure"
7586 #include "confdefs.h"
7590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7591 { (eval echo configure
:7592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7593 if test -z "$ac_err"; then
7597 echo "configure: failed program was:" >&5
7598 cat conftest.
$ac_ext >&5
7600 CPP
="${CC-cc} -nologo -E"
7601 cat > conftest.
$ac_ext <<EOF
7602 #line 7603 "configure"
7603 #include "confdefs.h"
7607 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7608 { (eval echo configure
:7609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7609 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7610 if test -z "$ac_err"; then
7614 echo "configure: failed program was:" >&5
7615 cat conftest.
$ac_ext >&5
7624 ac_cv_prog_CPP
="$CPP"
7626 CPP
="$ac_cv_prog_CPP"
7628 ac_cv_prog_CPP
="$CPP"
7630 echo "$ac_t""$CPP" 1>&6
7633 if test $ac_cv_prog_gcc = yes; then
7634 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7635 echo "configure:7636: checking whether ${CC-cc} needs -traditional" >&5
7636 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7637 echo $ac_n "(cached) $ac_c" 1>&6
7639 ac_pattern
="Autoconf.*'x'"
7640 cat > conftest.
$ac_ext <<EOF
7641 #line 7642 "configure"
7642 #include "confdefs.h"
7646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7647 egrep "$ac_pattern" >/dev
/null
2>&1; then
7649 ac_cv_prog_gcc_traditional
=yes
7652 ac_cv_prog_gcc_traditional
=no
7657 if test $ac_cv_prog_gcc_traditional = no
; then
7658 cat > conftest.
$ac_ext <<EOF
7659 #line 7660 "configure"
7660 #include "confdefs.h"
7664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7665 egrep "$ac_pattern" >/dev
/null
2>&1; then
7667 ac_cv_prog_gcc_traditional
=yes
7674 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7675 if test $ac_cv_prog_gcc_traditional = yes; then
7676 CC
="$CC -traditional"
7683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7684 ac_cpp
='$CXXCPP $CPPFLAGS'
7685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7687 cross_compiling
=$ac_cv_prog_cxx_cross
7690 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7692 # Extract the first word of "$ac_prog", so it can be a program name with args.
7693 set dummy
$ac_prog; ac_word
=$2
7694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7695 echo "configure:7696: checking for $ac_word" >&5
7696 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7697 echo $ac_n "(cached) $ac_c" 1>&6
7699 if test -n "$CXX"; then
7700 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7702 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7704 for ac_dir
in $ac_dummy; do
7705 test -z "$ac_dir" && ac_dir
=.
7706 if test -f $ac_dir/$ac_word; then
7707 ac_cv_prog_CXX
="$ac_prog"
7714 CXX
="$ac_cv_prog_CXX"
7715 if test -n "$CXX"; then
7716 echo "$ac_t""$CXX" 1>&6
7718 echo "$ac_t""no" 1>&6
7721 test -n "$CXX" && break
7723 test -n "$CXX" || CXX
="gcc"
7726 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7727 echo "configure:7728: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7731 ac_cpp
='$CXXCPP $CPPFLAGS'
7732 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7733 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7734 cross_compiling
=$ac_cv_prog_cxx_cross
7736 cat > conftest.
$ac_ext << EOF
7738 #line 7739 "configure"
7739 #include "confdefs.h"
7741 int main(){return(0);}
7743 if { (eval echo configure
:7744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7744 ac_cv_prog_cxx_works
=yes
7745 # If we can't run a trivial program, we are probably using a cross compiler.
7746 if (.
/conftest
; exit) 2>/dev
/null
; then
7747 ac_cv_prog_cxx_cross
=no
7749 ac_cv_prog_cxx_cross
=yes
7752 echo "configure: failed program was:" >&5
7753 cat conftest.
$ac_ext >&5
7754 ac_cv_prog_cxx_works
=no
7758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7759 ac_cpp
='$CXXCPP $CPPFLAGS'
7760 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7761 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7762 cross_compiling
=$ac_cv_prog_cxx_cross
7764 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7765 if test $ac_cv_prog_cxx_works = no
; then
7766 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7768 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7769 echo "configure:7770: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7770 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7771 cross_compiling
=$ac_cv_prog_cxx_cross
7773 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7774 echo "configure:7775: checking whether we are using GNU C++" >&5
7775 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7776 echo $ac_n "(cached) $ac_c" 1>&6
7778 cat > conftest.C
<<EOF
7783 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7790 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7792 if test $ac_cv_prog_gxx = yes; then
7798 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7799 ac_save_CXXFLAGS
="$CXXFLAGS"
7801 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7802 echo "configure:7803: checking whether ${CXX-g++} accepts -g" >&5
7803 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7804 echo $ac_n "(cached) $ac_c" 1>&6
7806 echo 'void f(){}' > conftest.cc
7807 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7808 ac_cv_prog_cxx_g
=yes
7816 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7817 if test "$ac_test_CXXFLAGS" = set; then
7818 CXXFLAGS
="$ac_save_CXXFLAGS"
7819 elif test $ac_cv_prog_cxx_g = yes; then
7820 if test "$GXX" = yes; then
7826 if test "$GXX" = yes; then
7834 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7835 echo "configure:7836: checking how to run the C++ preprocessor" >&5
7836 if test -z "$CXXCPP"; then
7837 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7838 echo $ac_n "(cached) $ac_c" 1>&6
7841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7842 ac_cpp
='$CXXCPP $CPPFLAGS'
7843 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7844 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7845 cross_compiling
=$ac_cv_prog_cxx_cross
7846 CXXCPP
="${CXX-g++} -E"
7847 cat > conftest.
$ac_ext <<EOF
7848 #line 7849 "configure"
7849 #include "confdefs.h"
7852 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7853 { (eval echo configure
:7854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7854 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7855 if test -z "$ac_err"; then
7859 echo "configure: failed program was:" >&5
7860 cat conftest.
$ac_ext >&5
7865 ac_cv_prog_CXXCPP
="$CXXCPP"
7867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7868 ac_cpp
='$CXXCPP $CPPFLAGS'
7869 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7870 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7871 cross_compiling
=$ac_cv_prog_cxx_cross
7874 CXXCPP
="$ac_cv_prog_CXXCPP"
7875 echo "$ac_t""$CXXCPP" 1>&6
7878 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
7881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7882 ac_cpp
='$CPP $CPPFLAGS'
7883 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7884 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7885 cross_compiling
=$ac_cv_prog_cc_cross
7888 # Extract the first word of "ranlib", so it can be a program name with args.
7889 set dummy ranlib
; ac_word
=$2
7890 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7891 echo "configure:7892: checking for $ac_word" >&5
7892 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
7893 echo $ac_n "(cached) $ac_c" 1>&6
7895 if test -n "$RANLIB"; then
7896 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7900 for ac_dir
in $ac_dummy; do
7901 test -z "$ac_dir" && ac_dir
=.
7902 if test -f $ac_dir/$ac_word; then
7903 ac_cv_prog_RANLIB
="ranlib"
7908 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
7911 RANLIB
="$ac_cv_prog_RANLIB"
7912 if test -n "$RANLIB"; then
7913 echo "$ac_t""$RANLIB" 1>&6
7915 echo "$ac_t""no" 1>&6
7919 # Extract the first word of "ar", so it can be a program name with args.
7920 set dummy
ar; ac_word
=$2
7921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7922 echo "configure:7923: checking for $ac_word" >&5
7923 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
7924 echo $ac_n "(cached) $ac_c" 1>&6
7926 if test -n "$AR"; then
7927 ac_cv_prog_AR
="$AR" # Let the user override the test.
7929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7931 for ac_dir
in $ac_dummy; do
7932 test -z "$ac_dir" && ac_dir
=.
7933 if test -f $ac_dir/$ac_word; then
7939 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
7943 if test -n "$AR"; then
7944 echo "$ac_t""$AR" 1>&6
7946 echo "$ac_t""no" 1>&6
7950 # Find a good install program. We prefer a C program (faster),
7951 # so one script is as good as another. But avoid the broken or
7952 # incompatible versions:
7953 # SysV /etc/install, /usr/sbin/install
7954 # SunOS /usr/etc/install
7955 # IRIX /sbin/install
7957 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7958 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7959 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7960 # ./install, which can be erroneously created by make from ./install.sh.
7961 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
7962 echo "configure:7963: checking for a BSD compatible install" >&5
7963 if test -z "$INSTALL"; then
7964 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
7965 echo $ac_n "(cached) $ac_c" 1>&6
7967 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
7968 for ac_dir
in $PATH; do
7969 # Account for people who put trailing slashes in PATH elements.
7971 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
7973 # OSF1 and SCO ODT 3.0 have their own names for install.
7974 # Don't use installbsd from OSF since it installs stuff as root
7976 for ac_prog
in ginstall scoinst
install; do
7977 if test -f $ac_dir/$ac_prog; then
7978 if test $ac_prog = install &&
7979 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
7980 # AIX install. It has an incompatible calling convention.
7983 ac_cv_path_install
="$ac_dir/$ac_prog -c"
7994 if test "${ac_cv_path_install+set}" = set; then
7995 INSTALL
="$ac_cv_path_install"
7997 # As a last resort, use the slow shell script. We don't cache a
7998 # path for INSTALL within a source directory, because that will
7999 # break other packages using the cache if that directory is
8000 # removed, or if the path is relative.
8001 INSTALL
="$ac_install_sh"
8004 echo "$ac_t""$INSTALL" 1>&6
8006 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8007 # It thinks the first close brace ends the variable substitution.
8008 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8010 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8012 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8015 # Extract the first word of "strip", so it can be a program name with args.
8016 set dummy strip
; ac_word
=$2
8017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8018 echo "configure:8019: checking for $ac_word" >&5
8019 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8020 echo $ac_n "(cached) $ac_c" 1>&6
8022 if test -n "$STRIP"; then
8023 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8025 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8027 for ac_dir
in $ac_dummy; do
8028 test -z "$ac_dir" && ac_dir
=.
8029 if test -f $ac_dir/$ac_word; then
8030 ac_cv_prog_STRIP
="strip"
8035 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8038 STRIP
="$ac_cv_prog_STRIP"
8039 if test -n "$STRIP"; then
8040 echo "$ac_t""$STRIP" 1>&6
8042 echo "$ac_t""no" 1>&6
8046 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8047 echo "configure:8048: checking make for VPATH support" >&5
8048 cat - << EOF > confMake
8054 if test ! -d sub
; then
8057 echo dummy
> sub
/file
8058 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8060 rm -f sub
/file check final_file confMake
8062 if test "$RESULT" = 0; then
8063 echo "$ac_t""yes" 1>&6
8065 echo "$ac_t""no" 1>&6
8066 { echo "configure: error:
8067 You need a make-utility that is able to use the variable
8069 If your version of make does not support VPATH correctly,
8070 please install GNU-make (possibly as gmake), and start
8071 configure with the following command:
8072 export MAKE=gmake; ./configure for sh-type shells
8073 setenv MAKE gmake; ./configure for csh-type shells
8074 Also please do remember to use gmake in this case every time
8075 you are trying to compile.
8079 for ac_prog
in 'bison -y' byacc
8081 # Extract the first word of "$ac_prog", so it can be a program name with args.
8082 set dummy
$ac_prog; ac_word
=$2
8083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8084 echo "configure:8085: checking for $ac_word" >&5
8085 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8086 echo $ac_n "(cached) $ac_c" 1>&6
8088 if test -n "$YACC"; then
8089 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8091 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8093 for ac_dir
in $ac_dummy; do
8094 test -z "$ac_dir" && ac_dir
=.
8095 if test -f $ac_dir/$ac_word; then
8096 ac_cv_prog_YACC
="$ac_prog"
8103 YACC
="$ac_cv_prog_YACC"
8104 if test -n "$YACC"; then
8105 echo "$ac_t""$YACC" 1>&6
8107 echo "$ac_t""no" 1>&6
8110 test -n "$YACC" && break
8112 test -n "$YACC" || YACC
="yacc"
8115 # Extract the first word of "flex", so it can be a program name with args.
8116 set dummy flex
; ac_word
=$2
8117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8118 echo "configure:8119: checking for $ac_word" >&5
8119 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8120 echo $ac_n "(cached) $ac_c" 1>&6
8122 if test -n "$LEX"; then
8123 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8127 for ac_dir
in $ac_dummy; do
8128 test -z "$ac_dir" && ac_dir
=.
8129 if test -f $ac_dir/$ac_word; then
8130 ac_cv_prog_LEX
="flex"
8135 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8138 LEX
="$ac_cv_prog_LEX"
8139 if test -n "$LEX"; then
8140 echo "$ac_t""$LEX" 1>&6
8142 echo "$ac_t""no" 1>&6
8145 if test -z "$LEXLIB"
8151 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8152 echo "configure:8153: checking for yywrap in -l$ac_lib" >&5
8153 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8155 echo $ac_n "(cached) $ac_c" 1>&6
8157 ac_save_LIBS
="$LIBS"
8158 LIBS
="-l$ac_lib $LIBS"
8159 cat > conftest.
$ac_ext <<EOF
8160 #line 8161 "configure"
8161 #include "confdefs.h"
8162 /* Override any gcc2 internal prototype to avoid an error. */
8163 /* We use char because int might match the return type of a gcc2
8164 builtin and then its argument prototype would still apply. */
8171 if { (eval echo configure
:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8173 eval "ac_cv_lib_$ac_lib_var=yes"
8175 echo "configure: failed program was:" >&5
8176 cat conftest.
$ac_ext >&5
8178 eval "ac_cv_lib_$ac_lib_var=no"
8181 LIBS
="$ac_save_LIBS"
8184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8185 echo "$ac_t""yes" 1>&6
8188 echo "$ac_t""no" 1>&6
8194 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8195 echo "configure:8196: checking whether ln -s works" >&5
8196 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8197 echo $ac_n "(cached) $ac_c" 1>&6
8200 if ln -s X conftestdata
2>/dev
/null
8203 ac_cv_prog_LN_S
="ln -s"
8208 LN_S
="$ac_cv_prog_LN_S"
8209 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8210 echo "$ac_t""yes" 1>&6
8212 echo "$ac_t""no" 1>&6
8218 /usr/local/include \
8220 /usr/Motif-1.2/include \
8221 /usr/Motif-2.1/include \
8223 /usr/include/Motif1.2 \
8224 /opt/xpm/include/X11 \
8225 /opt/GBxpm/include/ \
8226 /opt/GBxpm/X11/include/ \
8228 /usr/Motif1.2/include \
8230 /usr/openwin/include \
8234 /usr/X11R6/include \
8235 /usr/X11R6.4/include \
8236 /usr/X11R5/include \
8237 /usr/X11R4/include \
8239 /usr/include/X11R6 \
8240 /usr/include/X11R5 \
8241 /usr/include/X11R4 \
8243 /usr/local/X11R6/include \
8244 /usr/local/X11R5/include \
8245 /usr/local/X11R4/include \
8247 /usr/local/include/X11R6 \
8248 /usr/local/include/X11R5 \
8249 /usr/local/include/X11R4 \
8253 /usr/local/X11/include \
8254 /usr/local/include/X11 \
8258 /usr/XFree86/include/X11 \
8260 X:/XFree86/include \
8261 X:/XFree86/include/X11 \
8264 /usr/local/include/gtk \
8266 /usr/local/include/glib \
8269 /usr/local/include/qt \
8271 /usr/include/windows \
8273 /usr/local/include/wine \
8275 /usr/unsupported/include \
8276 /usr/athena/include \
8277 /usr/local/x11r5/include \
8278 /usr/lpp/Xamples/include \
8280 /usr/openwin/share/include \
8284 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8287 cat > confcache
<<\EOF
8288 # This file is a shell script that caches the results of configure
8289 # tests run on this system so they can be shared between configure
8290 # scripts and configure runs. It is not useful on other systems.
8291 # If it contains results you don't want to keep, you may remove or edit it.
8293 # By default, configure uses ./config.cache as the cache file,
8294 # creating it if it does not exist already. You can give configure
8295 # the --cache-file=FILE option to use a different cache file; that is
8296 # what configure does when it calls configure scripts in
8297 # subdirectories, so they share the cache.
8298 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8299 # config.status only pays attention to the cache file if you give it the
8300 # --recheck option to rerun configure.
8303 # The following way of writing the cache mishandles newlines in values,
8304 # but we know of no workaround that is simple, portable, and efficient.
8305 # So, don't put newlines in cache variables' values.
8306 # Ultrix sh set writes to stderr and can't be redirected directly,
8307 # and sets the high bit in the cache file unless we assign to the vars.
8309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8311 # `set' does not quote correctly, so add quotes (double-quote substitution
8312 # turns \\\\ into \\, and sed turns \\ into \).
8314 -e "s/'/'\\\\''/g" \
8315 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8318 # `set' quotes correctly as required by POSIX, so do not add quotes.
8319 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8322 if cmp -s $cache_file confcache
; then
8325 if test -w $cache_file; then
8326 echo "updating cache $cache_file"
8327 cat confcache
> $cache_file
8329 echo "not updating unwritable cache $cache_file"
8338 if test "$wxUSE_GUI" = "yes"; then
8353 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8354 if test "$cross_compiling" = "yes" ; then
8355 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8357 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8358 echo "configure:8359: checking for Windows headers" >&5
8361 for ac_dir
in $SEARCH_INCLUDE;
8363 if test -f "$ac_dir/windows.h"; then
8364 ac_find_includes
=$ac_dir
8369 if test "$ac_find_includes" != "" ; then
8370 echo "$ac_t""found $ac_find_includes" 1>&6
8371 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8373 echo "$ac_t""no" 1>&6
8374 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8378 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8379 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8381 if test "$wxUSE_ODBC" = "yes" ; then
8382 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8385 if test "$wxUSE_MINGW" = 1; then
8386 LDFLAGS
="$LDFLAGS -mwindows"
8392 RCINCSWITCH
="--include-dir"
8393 RCDEFSWITCH
="--define"
8394 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8397 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8399 RESPROGRAM
="\$(RES_PROGRAM)"
8402 if test "$wxUSE_GTK" = 1; then
8403 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8404 echo "configure:8405: checking for GTK+ version" >&5
8406 gtk_version_cached
=1
8407 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8408 echo $ac_n "(cached) $ac_c" 1>&6
8411 gtk_version_cached
=0
8412 echo "$ac_t""""" 1>&6
8415 if test "x$wxUSE_GTK2" = "xyes"; then
8416 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8417 if test "${with_gtk_prefix+set}" = set; then
8418 withval
="$with_gtk_prefix"
8419 gtk_config_prefix
="$withval"
8421 gtk_config_prefix
=""
8424 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8425 if test "${with_gtk_exec_prefix+set}" = set; then
8426 withval
="$with_gtk_exec_prefix"
8427 gtk_config_exec_prefix
="$withval"
8429 gtk_config_exec_prefix
=""
8432 # Check whether --enable-gtktest or --disable-gtktest was given.
8433 if test "${enable_gtktest+set}" = set; then
8434 enableval
="$enable_gtktest"
8445 gtk_config_args
="$gtk_config_args gthread"
8450 if test x
$gtk_config_exec_prefix != x
; then
8451 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8452 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8453 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8456 if test x
$gtk_config_prefix != x
; then
8457 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8458 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8459 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8463 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8464 set dummy gtk
-config-2.0
; ac_word
=$2
8465 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8466 echo "configure:8467: checking for $ac_word" >&5
8467 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8468 echo $ac_n "(cached) $ac_c" 1>&6
8470 case "$GTK_CONFIG_2_0" in
8472 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8475 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8478 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8480 for ac_dir
in $ac_dummy; do
8481 test -z "$ac_dir" && ac_dir
=.
8482 if test -f $ac_dir/$ac_word; then
8483 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8488 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8492 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8493 if test -n "$GTK_CONFIG_2_0"; then
8494 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8496 echo "$ac_t""no" 1>&6
8499 min_gtk_version
=1.3.1
8500 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8501 echo "configure:8502: checking for GTK - version >= $min_gtk_version" >&5
8503 if test "$GTK_CONFIG_2_0" = "no" ; then
8506 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8507 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8508 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8510 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8512 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8514 if test "x$enable_gtktest" = "xyes" ; then
8515 ac_save_CFLAGS
="$CFLAGS"
8516 ac_save_LIBS
="$LIBS"
8517 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8518 LIBS
="$GTK_LIBS $LIBS"
8520 if test "$cross_compiling" = yes; then
8521 echo $ac_n "cross compiling; assumed OK... $ac_c"
8523 cat > conftest.
$ac_ext <<EOF
8524 #line 8525 "configure"
8525 #include "confdefs.h"
8527 #include <gtk/gtk.h>
8534 int major, minor, micro;
8537 system ("touch conf.gtktest");
8539 /* HP/UX 9 (%@#!) writes to sscanf strings */
8540 tmp_version = g_strdup("$min_gtk_version");
8541 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8542 printf("%s, bad version string\n", "$min_gtk_version");
8546 if ((gtk_major_version != $gtk_config_major_version) ||
8547 (gtk_minor_version != $gtk_config_minor_version) ||
8548 (gtk_micro_version != $gtk_config_micro_version))
8550 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8551 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8552 gtk_major_version, gtk_minor_version, gtk_micro_version);
8553 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8554 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8555 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8556 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8557 printf("*** required on your system.\n");
8558 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8559 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8560 printf("*** before re-running configure\n");
8562 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8563 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8564 (gtk_minor_version != GTK_MINOR_VERSION) ||
8565 (gtk_micro_version != GTK_MICRO_VERSION))
8567 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8568 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8569 printf("*** library (version %d.%d.%d)\n",
8570 gtk_major_version, gtk_minor_version, gtk_micro_version);
8572 #endif /* defined (GTK_MAJOR_VERSION) ... */
8575 if ((gtk_major_version > major) ||
8576 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8577 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8583 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8584 gtk_major_version, gtk_minor_version, gtk_micro_version);
8585 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8586 major, minor, micro);
8587 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8589 printf("*** If you have already installed a sufficiently new version, this error\n");
8590 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8591 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8592 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8593 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8594 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8595 printf("*** so that the correct libraries are found at run-time))\n");
8602 if { (eval echo configure
:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8606 echo "configure: failed program was:" >&5
8607 cat conftest.
$ac_ext >&5
8614 CFLAGS
="$ac_save_CFLAGS"
8615 LIBS
="$ac_save_LIBS"
8618 if test "x$no_gtk" = x
; then
8619 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8622 echo "$ac_t""no" 1>&6
8623 if test "$GTK_CONFIG_2_0" = "no" ; then
8624 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8625 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8626 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8627 echo "*** full path to gtk-config-2.0."
8629 if test -f conf.gtktest
; then
8632 echo "*** Could not run GTK test program, checking why..."
8633 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8634 LIBS
="$LIBS $GTK_LIBS"
8635 cat > conftest.
$ac_ext <<EOF
8636 #line 8637 "configure"
8637 #include "confdefs.h"
8639 #include <gtk/gtk.h>
8643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8646 if { (eval echo configure
:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8648 echo "*** The test program compiled, but did not run. This usually means"
8649 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8650 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8651 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8652 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8653 echo "*** is required on your system"
8655 echo "*** If you have an old version installed, it is best to remove it, although"
8656 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8658 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8659 echo "*** came with the system with the command"
8661 echo "*** rpm --erase --nodeps gtk gtk-devel"
8663 echo "configure: failed program was:" >&5
8664 cat conftest.
$ac_ext >&5
8666 echo "*** The test program failed to compile or link. See the file config.log for the"
8667 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8668 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8669 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8672 CFLAGS
="$ac_save_CFLAGS"
8673 LIBS
="$ac_save_LIBS"
8686 if test -z "$wx_cv_lib_gtk"; then
8688 if test x
$gtk_config_exec_prefix != x
; then
8689 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8690 if test x
${GTK_CONFIG+set} != xset
; then
8691 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8694 if test x
$gtk_config_prefix != x
; then
8695 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8696 if test x
${GTK_CONFIG+set} != xset
; then
8697 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8701 # Extract the first word of "gtk-config", so it can be a program name with args.
8702 set dummy gtk
-config; ac_word
=$2
8703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8704 echo "configure:8705: checking for $ac_word" >&5
8705 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8706 echo $ac_n "(cached) $ac_c" 1>&6
8708 case "$GTK_CONFIG" in
8710 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8713 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8716 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8718 for ac_dir
in $ac_dummy; do
8719 test -z "$ac_dir" && ac_dir
=.
8720 if test -f $ac_dir/$ac_word; then
8721 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8726 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8730 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8731 if test -n "$GTK_CONFIG"; then
8732 echo "$ac_t""$GTK_CONFIG" 1>&6
8734 echo "$ac_t""no" 1>&6
8737 min_gtk_version
=1.2.7
8738 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8739 echo "configure:8740: checking for GTK - version >= $min_gtk_version" >&5
8741 if test "$GTK_CONFIG" != "no" ; then
8742 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8743 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8744 ac_save_CFLAGS
="$CFLAGS"
8745 ac_save_LIBS
="$LIBS"
8746 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8747 LIBS
="$LIBS $GTK_LIBS"
8748 if test "$cross_compiling" = yes; then
8749 echo $ac_n "cross compiling; assumed OK... $ac_c"
8751 cat > conftest.
$ac_ext <<EOF
8752 #line 8753 "configure"
8753 #include "confdefs.h"
8755 #include <gtk/gtk.h>
8756 #include <gtk/gtkfeatures.h>
8763 int major, minor, micro;
8765 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8766 printf("%s, bad version string\n", "$min_gtk_version");
8770 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8771 (GTK_MINOR_VERSION != gtk_minor_version) ||
8772 (GTK_MICRO_VERSION != gtk_micro_version)) {
8773 printf("Headers vs. library version mismatch!\n");
8777 if (gtk_minor_version == 1) return FALSE;
8779 return !((gtk_major_version > major) ||
8780 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8781 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8785 if { (eval echo configure
:8786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8789 echo "configure: failed program was:" >&5
8790 cat conftest.
$ac_ext >&5
8797 CFLAGS
="$ac_save_CFLAGS"
8798 LIBS
="$ac_save_LIBS"
8802 if test "x$no_gtk" = x
; then
8803 echo "$ac_t""yes" 1>&6
8806 echo "$ac_t""no" 1>&6
8816 if test -z "$wx_cv_lib_gtk"; then
8818 if test x
$gtk_config_exec_prefix != x
; then
8819 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8820 if test x
${GTK_CONFIG+set} != xset
; then
8821 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8824 if test x
$gtk_config_prefix != x
; then
8825 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8826 if test x
${GTK_CONFIG+set} != xset
; then
8827 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8831 # Extract the first word of "gtk-config", so it can be a program name with args.
8832 set dummy gtk
-config; ac_word
=$2
8833 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8834 echo "configure:8835: checking for $ac_word" >&5
8835 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8836 echo $ac_n "(cached) $ac_c" 1>&6
8838 case "$GTK_CONFIG" in
8840 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8843 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8846 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8848 for ac_dir
in $ac_dummy; do
8849 test -z "$ac_dir" && ac_dir
=.
8850 if test -f $ac_dir/$ac_word; then
8851 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8856 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8860 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8861 if test -n "$GTK_CONFIG"; then
8862 echo "$ac_t""$GTK_CONFIG" 1>&6
8864 echo "$ac_t""no" 1>&6
8867 min_gtk_version
=1.2.3
8868 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8869 echo "configure:8870: checking for GTK - version >= $min_gtk_version" >&5
8871 if test "$GTK_CONFIG" != "no" ; then
8872 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8873 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8874 ac_save_CFLAGS
="$CFLAGS"
8875 ac_save_LIBS
="$LIBS"
8876 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8877 LIBS
="$LIBS $GTK_LIBS"
8878 if test "$cross_compiling" = yes; then
8879 echo $ac_n "cross compiling; assumed OK... $ac_c"
8881 cat > conftest.
$ac_ext <<EOF
8882 #line 8883 "configure"
8883 #include "confdefs.h"
8885 #include <gtk/gtk.h>
8886 #include <gtk/gtkfeatures.h>
8893 int major, minor, micro;
8895 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8896 printf("%s, bad version string\n", "$min_gtk_version");
8900 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8901 (GTK_MINOR_VERSION != gtk_minor_version) ||
8902 (GTK_MICRO_VERSION != gtk_micro_version)) {
8903 printf("Headers vs. library version mismatch!\n");
8907 if (gtk_minor_version == 1) return FALSE;
8909 return !((gtk_major_version > major) ||
8910 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8911 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8915 if { (eval echo configure
:8916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8919 echo "configure: failed program was:" >&5
8920 cat conftest.
$ac_ext >&5
8927 CFLAGS
="$ac_save_CFLAGS"
8928 LIBS
="$ac_save_LIBS"
8932 if test "x$no_gtk" = x
; then
8933 echo "$ac_t""yes" 1>&6
8936 echo "$ac_t""no" 1>&6
8946 if test -z "$wx_cv_lib_gtk"; then
8954 if test "$gtk_version_cached" = 1; then
8955 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
8958 case "$wx_cv_lib_gtk" in
8965 *) { echo "configure: error:
8966 Please check that gtk-config is in path, the directory
8967 where GTK+ libraries are installed (returned by
8968 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
8969 equivalent variable and GTK+ is version 1.2.3 or above.
8974 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
8975 GUI_TK_LIBRARY
="$GTK_LIBS"
8977 AFMINSTALL
=afminstall
8981 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
8982 echo "configure:8983: checking for gdk_im_open in -lgdk" >&5
8983 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
8984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8985 echo $ac_n "(cached) $ac_c" 1>&6
8987 ac_save_LIBS
="$LIBS"
8989 cat > conftest.
$ac_ext <<EOF
8990 #line 8991 "configure"
8991 #include "confdefs.h"
8992 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
9001 if { (eval echo configure
:9002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9003 eval "ac_cv_lib_$ac_lib_var=yes"
9005 echo "configure: failed program was:" >&5
9006 cat conftest.
$ac_ext >&5
9008 eval "ac_cv_lib_$ac_lib_var=no"
9011 LIBS
="$ac_save_LIBS"
9014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9015 echo "$ac_t""yes" 1>&6
9016 cat >> confdefs.h
<<\EOF
9021 echo "$ac_t""no" 1>&6
9026 if test "$wxUSE_MGL" = 1; then
9028 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9029 echo "configure:9030: checking for SciTech MGL library" >&5
9030 if test "x$MGL_ROOT" = x
; then
9031 echo "$ac_t""not found" 1>&6
9032 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9034 echo "$ac_t""$MGL_ROOT" 1>&6
9037 MGL_OS
=linux
/gcc
/glibc
9040 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9041 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9045 if test "x$MGL_LIB_TYPE" = x
; then
9046 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9047 MGL_LIB_TYPE
=release
9049 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9053 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9054 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9056 AFMINSTALL
=afminstall
9061 if test "$wxUSE_WINE" = 1; then
9062 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9063 echo "configure:9064: checking for WINE includes" >&5
9066 for ac_dir
in $SEARCH_INCLUDE;
9068 if test -f "$ac_dir/windows.h"; then
9069 ac_find_includes
=$ac_dir
9074 if test "$ac_find_includes" != "" ; then
9075 echo "$ac_t""found $ac_find_includes" 1>&6
9076 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9078 echo "$ac_t""no" 1>&6
9079 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9083 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9084 echo "configure:9085: checking for Xpm library" >&5
9087 for ac_dir
in $SEARCH_LIB;
9089 for ac_extension
in a so sl
; do
9090 if test -f "$ac_dir/libXpm.$ac_extension"; then
9091 ac_find_libraries
=$ac_dir
9097 if test "$ac_find_libraries" != "" ; then
9098 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9100 cat >> confdefs.h
<<\EOF
9101 #define wxHAVE_LIB_XPM 1
9104 echo "$ac_t""found at $ac_find_libraries" 1>&6
9106 echo "$ac_t""no" 1>&6
9107 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9111 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9112 echo "configure:9113: checking for Mesa library" >&5
9115 for ac_dir
in $SEARCH_LIB;
9117 for ac_extension
in a so sl
; do
9118 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9119 ac_find_libraries
=$ac_dir
9125 if test "$ac_find_libraries" != "" ; then
9126 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9127 MESA_LINK
="-lMesaGL"
9128 echo "$ac_t""found at $ac_find_libraries" 1>&6
9130 { echo "configure: error: no" 1>&2; exit 1; }
9133 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9134 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9141 # If we find X, set shell vars x_includes and x_libraries to the
9142 # paths, otherwise set no_x=yes.
9143 # Uses ac_ vars as temps to allow command line to override cache and checks.
9144 # --without-x overrides everything else, but does not touch the cache.
9145 echo $ac_n "checking for X""... $ac_c" 1>&6
9146 echo "configure:9147: checking for X" >&5
9148 # Check whether --with-x or --without-x was given.
9149 if test "${with_x+set}" = set; then
9154 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9155 if test "x$with_x" = xno
; then
9156 # The user explicitly disabled X.
9159 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9160 # Both variables are already set.
9163 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9164 echo $ac_n "(cached) $ac_c" 1>&6
9166 # One or both of the vars are not set, and there is no cached value.
9167 ac_x_includes
=NO ac_x_libraries
=NO
9169 if mkdir conftestdir
; then
9171 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9172 cat > Imakefile
<<'EOF'
9174 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9176 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9177 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9178 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9179 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9180 for ac_extension
in a so sl
; do
9181 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9182 test -f $ac_im_libdir/libX11.
$ac_extension; then
9183 ac_im_usrlibdir
=$ac_im_libdir; break
9186 # Screen out bogus values from the imake configuration. They are
9187 # bogus both because they are the default anyway, and because
9188 # using them would break gcc on systems where it needs fixed includes.
9189 case "$ac_im_incroot" in
9191 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9193 case "$ac_im_usrlibdir" in
9195 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9202 if test "$ac_x_includes" = NO
; then
9203 # Guess where to find include files, by looking for this one X11 .h file.
9204 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9206 # First, try using that file with no special directory specified.
9207 cat > conftest.
$ac_ext <<EOF
9208 #line 9209 "configure"
9209 #include "confdefs.h"
9210 #include <$x_direct_test_include>
9212 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9213 { (eval echo configure
:9214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9214 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9215 if test -z "$ac_err"; then
9217 # We can compile using X headers with no special include directory.
9221 echo "configure: failed program was:" >&5
9222 cat conftest.
$ac_ext >&5
9224 # Look for the header file in a standard set of common directories.
9225 # Check X11 before X11Rn because it is often a symlink to the current release.
9228 /usr
/X
11R
6/include \
9229 /usr
/X
11R
5/include \
9230 /usr
/X
11R
4/include \
9233 /usr
/include
/X11R6 \
9234 /usr
/include
/X11R5 \
9235 /usr
/include
/X11R4 \
9237 /usr
/local
/X
11/include \
9238 /usr
/local
/X
11R
6/include \
9239 /usr
/local
/X
11R
5/include \
9240 /usr
/local
/X
11R
4/include \
9242 /usr
/local
/include
/X11 \
9243 /usr
/local
/include
/X11R6 \
9244 /usr
/local
/include
/X11R5 \
9245 /usr
/local
/include
/X11R4 \
9249 /usr
/XFree
86/include
/X11 \
9252 /usr
/local
/include \
9253 /usr
/unsupported
/include \
9254 /usr
/athena
/include \
9255 /usr
/local
/x
11r
5/include \
9256 /usr
/lpp
/Xamples
/include \
9258 /usr
/openwin
/include \
9259 /usr
/openwin
/share
/include \
9262 if test -r "$ac_dir/$x_direct_test_include"; then
9263 ac_x_includes
=$ac_dir
9269 fi # $ac_x_includes = NO
9271 if test "$ac_x_libraries" = NO
; then
9272 # Check for the libraries.
9274 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9275 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9277 # See if we find them without any special options.
9278 # Don't add to $LIBS permanently.
9279 ac_save_LIBS
="$LIBS"
9280 LIBS
="-l$x_direct_test_library $LIBS"
9281 cat > conftest.
$ac_ext <<EOF
9282 #line 9283 "configure"
9283 #include "confdefs.h"
9286 ${x_direct_test_function}()
9289 if { (eval echo configure
:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9291 LIBS
="$ac_save_LIBS"
9292 # We can link X programs with no special library path.
9295 echo "configure: failed program was:" >&5
9296 cat conftest.
$ac_ext >&5
9298 LIBS
="$ac_save_LIBS"
9299 # First see if replacing the include by lib works.
9300 # Check X11 before X11Rn because it is often a symlink to the current release.
9301 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9312 /usr
/local
/X
11/lib \
9313 /usr
/local
/X
11R
6/lib \
9314 /usr
/local
/X
11R
5/lib \
9315 /usr
/local
/X
11R
4/lib \
9317 /usr
/local
/lib
/X11 \
9318 /usr
/local
/lib
/X11R6 \
9319 /usr
/local
/lib
/X11R5 \
9320 /usr
/local
/lib
/X11R4 \
9324 /usr
/XFree
86/lib
/X11 \
9328 /usr
/unsupported
/lib \
9330 /usr
/local
/x
11r
5/lib \
9331 /usr
/lpp
/Xamples
/lib \
9335 /usr
/openwin
/share
/lib \
9338 for ac_extension
in a so sl
; do
9339 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9340 ac_x_libraries
=$ac_dir
9347 fi # $ac_x_libraries = NO
9349 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9350 # Didn't find X anywhere. Cache the known absence of X.
9351 ac_cv_have_x
="have_x=no"
9353 # Record where we found X for the cache.
9354 ac_cv_have_x
="have_x=yes \
9355 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9359 eval "$ac_cv_have_x"
9362 if test "$have_x" != yes; then
9363 echo "$ac_t""$have_x" 1>&6
9366 # If each of the values was on the command line, it overrides each guess.
9367 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9368 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9369 # Update the cache value to reflect the command line values.
9370 ac_cv_have_x
="have_x=yes \
9371 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9372 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9375 if test "$no_x" = yes; then
9376 # Not all programs may use this symbol, but it does not hurt to define it.
9377 cat >> confdefs.h
<<\EOF
9378 #define X_DISPLAY_MISSING 1
9381 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9383 if test -n "$x_includes"; then
9384 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9387 # It would also be nice to do this for all -L options, not just this one.
9388 if test -n "$x_libraries"; then
9389 X_LIBS
="$X_LIBS -L$x_libraries"
9390 # For Solaris; some versions of Sun CC require a space after -R and
9391 # others require no space. Words are not sufficient . . . .
9392 case "`(uname -sr) 2>/dev/null`" in
9394 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9395 echo "configure:9396: checking whether -R must be followed by a space" >&5
9396 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9397 cat > conftest.
$ac_ext <<EOF
9398 #line 9399 "configure"
9399 #include "confdefs.h"
9405 if { (eval echo configure
:9406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9409 echo "configure: failed program was:" >&5
9410 cat conftest.
$ac_ext >&5
9415 if test $ac_R_nospace = yes; then
9416 echo "$ac_t""no" 1>&6
9417 X_LIBS
="$X_LIBS -R$x_libraries"
9419 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9420 cat > conftest.
$ac_ext <<EOF
9421 #line 9422 "configure"
9422 #include "confdefs.h"
9428 if { (eval echo configure
:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9432 echo "configure: failed program was:" >&5
9433 cat conftest.
$ac_ext >&5
9438 if test $ac_R_space = yes; then
9439 echo "$ac_t""yes" 1>&6
9440 X_LIBS
="$X_LIBS -R $x_libraries"
9442 echo "$ac_t""neither works" 1>&6
9445 LIBS
="$ac_xsave_LIBS"
9449 # Check for system-dependent libraries X programs must link with.
9450 # Do this before checking for the system-independent R6 libraries
9451 # (-lICE), since we may need -lsocket or whatever for X linking.
9453 if test "$ISC" = yes; then
9454 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9456 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9457 # libraries were built with DECnet support. And karl@cs.umb.edu says
9458 # the Alpha needs dnet_stub (dnet does not exist).
9459 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9460 echo "configure:9461: checking for dnet_ntoa in -ldnet" >&5
9461 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9462 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9463 echo $ac_n "(cached) $ac_c" 1>&6
9465 ac_save_LIBS
="$LIBS"
9467 cat > conftest.
$ac_ext <<EOF
9468 #line 9469 "configure"
9469 #include "confdefs.h"
9470 /* Override any gcc2 internal prototype to avoid an error. */
9471 /* We use char because int might match the return type of a gcc2
9472 builtin and then its argument prototype would still apply. */
9479 if { (eval echo configure
:9480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9481 eval "ac_cv_lib_$ac_lib_var=yes"
9483 echo "configure: failed program was:" >&5
9484 cat conftest.
$ac_ext >&5
9486 eval "ac_cv_lib_$ac_lib_var=no"
9489 LIBS
="$ac_save_LIBS"
9492 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9493 echo "$ac_t""yes" 1>&6
9494 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9496 echo "$ac_t""no" 1>&6
9499 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9500 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9501 echo "configure:9502: checking for dnet_ntoa in -ldnet_stub" >&5
9502 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9504 echo $ac_n "(cached) $ac_c" 1>&6
9506 ac_save_LIBS
="$LIBS"
9507 LIBS
="-ldnet_stub $LIBS"
9508 cat > conftest.
$ac_ext <<EOF
9509 #line 9510 "configure"
9510 #include "confdefs.h"
9511 /* Override any gcc2 internal prototype to avoid an error. */
9512 /* We use char because int might match the return type of a gcc2
9513 builtin and then its argument prototype would still apply. */
9520 if { (eval echo configure
:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9522 eval "ac_cv_lib_$ac_lib_var=yes"
9524 echo "configure: failed program was:" >&5
9525 cat conftest.
$ac_ext >&5
9527 eval "ac_cv_lib_$ac_lib_var=no"
9530 LIBS
="$ac_save_LIBS"
9533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9534 echo "$ac_t""yes" 1>&6
9535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9537 echo "$ac_t""no" 1>&6
9542 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9543 # to get the SysV transport functions.
9544 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9546 # The nsl library prevents programs from opening the X display
9547 # on Irix 5.2, according to dickey@clark.net.
9548 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9549 echo "configure:9550: checking for gethostbyname" >&5
9550 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9551 echo $ac_n "(cached) $ac_c" 1>&6
9553 cat > conftest.
$ac_ext <<EOF
9554 #line 9555 "configure"
9555 #include "confdefs.h"
9556 /* System header to define __stub macros and hopefully few prototypes,
9557 which can conflict with char gethostbyname(); below. */
9559 /* Override any gcc2 internal prototype to avoid an error. */
9560 /* We use char because int might match the return type of a gcc2
9561 builtin and then its argument prototype would still apply. */
9562 char gethostbyname();
9566 /* The GNU C library defines this for functions which it implements
9567 to always fail with ENOSYS. Some functions are actually named
9568 something starting with __ and the normal name is an alias. */
9569 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9577 if { (eval echo configure
:9578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9579 eval "ac_cv_func_gethostbyname=yes"
9581 echo "configure: failed program was:" >&5
9582 cat conftest.
$ac_ext >&5
9584 eval "ac_cv_func_gethostbyname=no"
9589 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9590 echo "$ac_t""yes" 1>&6
9593 echo "$ac_t""no" 1>&6
9596 if test $ac_cv_func_gethostbyname = no
; then
9597 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9598 echo "configure:9599: checking for gethostbyname in -lnsl" >&5
9599 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9601 echo $ac_n "(cached) $ac_c" 1>&6
9603 ac_save_LIBS
="$LIBS"
9605 cat > conftest.
$ac_ext <<EOF
9606 #line 9607 "configure"
9607 #include "confdefs.h"
9608 /* Override any gcc2 internal prototype to avoid an error. */
9609 /* We use char because int might match the return type of a gcc2
9610 builtin and then its argument prototype would still apply. */
9611 char gethostbyname();
9617 if { (eval echo configure
:9618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9619 eval "ac_cv_lib_$ac_lib_var=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9624 eval "ac_cv_lib_$ac_lib_var=no"
9627 LIBS
="$ac_save_LIBS"
9630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9631 echo "$ac_t""yes" 1>&6
9632 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9634 echo "$ac_t""no" 1>&6
9639 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9640 # socket/setsockopt and other routines are undefined under SCO ODT
9641 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9642 # on later versions), says simon@lia.di.epfl.ch: it contains
9643 # gethostby* variants that don't use the nameserver (or something).
9644 # -lsocket must be given before -lnsl if both are needed.
9645 # We assume that if connect needs -lnsl, so does gethostbyname.
9646 echo $ac_n "checking for connect""... $ac_c" 1>&6
9647 echo "configure:9648: checking for connect" >&5
9648 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9649 echo $ac_n "(cached) $ac_c" 1>&6
9651 cat > conftest.
$ac_ext <<EOF
9652 #line 9653 "configure"
9653 #include "confdefs.h"
9654 /* System header to define __stub macros and hopefully few prototypes,
9655 which can conflict with char connect(); below. */
9657 /* Override any gcc2 internal prototype to avoid an error. */
9658 /* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
9664 /* The GNU C library defines this for functions which it implements
9665 to always fail with ENOSYS. Some functions are actually named
9666 something starting with __ and the normal name is an alias. */
9667 #if defined (__stub_connect) || defined (__stub___connect)
9675 if { (eval echo configure
:9676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9677 eval "ac_cv_func_connect=yes"
9679 echo "configure: failed program was:" >&5
9680 cat conftest.
$ac_ext >&5
9682 eval "ac_cv_func_connect=no"
9687 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9688 echo "$ac_t""yes" 1>&6
9691 echo "$ac_t""no" 1>&6
9694 if test $ac_cv_func_connect = no
; then
9695 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9696 echo "configure:9697: checking for connect in -lsocket" >&5
9697 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9699 echo $ac_n "(cached) $ac_c" 1>&6
9701 ac_save_LIBS
="$LIBS"
9702 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9703 cat > conftest.
$ac_ext <<EOF
9704 #line 9705 "configure"
9705 #include "confdefs.h"
9706 /* Override any gcc2 internal prototype to avoid an error. */
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9715 if { (eval echo configure
:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9717 eval "ac_cv_lib_$ac_lib_var=yes"
9719 echo "configure: failed program was:" >&5
9720 cat conftest.
$ac_ext >&5
9722 eval "ac_cv_lib_$ac_lib_var=no"
9725 LIBS
="$ac_save_LIBS"
9728 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9729 echo "$ac_t""yes" 1>&6
9730 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9732 echo "$ac_t""no" 1>&6
9737 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9738 echo $ac_n "checking for remove""... $ac_c" 1>&6
9739 echo "configure:9740: checking for remove" >&5
9740 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9741 echo $ac_n "(cached) $ac_c" 1>&6
9743 cat > conftest.
$ac_ext <<EOF
9744 #line 9745 "configure"
9745 #include "confdefs.h"
9746 /* System header to define __stub macros and hopefully few prototypes,
9747 which can conflict with char remove(); below. */
9749 /* Override any gcc2 internal prototype to avoid an error. */
9750 /* We use char because int might match the return type of a gcc2
9751 builtin and then its argument prototype would still apply. */
9756 /* The GNU C library defines this for functions which it implements
9757 to always fail with ENOSYS. Some functions are actually named
9758 something starting with __ and the normal name is an alias. */
9759 #if defined (__stub_remove) || defined (__stub___remove)
9767 if { (eval echo configure
:9768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9769 eval "ac_cv_func_remove=yes"
9771 echo "configure: failed program was:" >&5
9772 cat conftest.
$ac_ext >&5
9774 eval "ac_cv_func_remove=no"
9779 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9780 echo "$ac_t""yes" 1>&6
9783 echo "$ac_t""no" 1>&6
9786 if test $ac_cv_func_remove = no
; then
9787 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9788 echo "configure:9789: checking for remove in -lposix" >&5
9789 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9791 echo $ac_n "(cached) $ac_c" 1>&6
9793 ac_save_LIBS
="$LIBS"
9794 LIBS
="-lposix $LIBS"
9795 cat > conftest.
$ac_ext <<EOF
9796 #line 9797 "configure"
9797 #include "confdefs.h"
9798 /* Override any gcc2 internal prototype to avoid an error. */
9799 /* We use char because int might match the return type of a gcc2
9800 builtin and then its argument prototype would still apply. */
9807 if { (eval echo configure
:9808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9809 eval "ac_cv_lib_$ac_lib_var=yes"
9811 echo "configure: failed program was:" >&5
9812 cat conftest.
$ac_ext >&5
9814 eval "ac_cv_lib_$ac_lib_var=no"
9817 LIBS
="$ac_save_LIBS"
9820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9821 echo "$ac_t""yes" 1>&6
9822 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9824 echo "$ac_t""no" 1>&6
9829 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9830 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9831 echo "configure:9832: checking for shmat" >&5
9832 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9833 echo $ac_n "(cached) $ac_c" 1>&6
9835 cat > conftest.
$ac_ext <<EOF
9836 #line 9837 "configure"
9837 #include "confdefs.h"
9838 /* System header to define __stub macros and hopefully few prototypes,
9839 which can conflict with char shmat(); below. */
9841 /* Override any gcc2 internal prototype to avoid an error. */
9842 /* We use char because int might match the return type of a gcc2
9843 builtin and then its argument prototype would still apply. */
9848 /* The GNU C library defines this for functions which it implements
9849 to always fail with ENOSYS. Some functions are actually named
9850 something starting with __ and the normal name is an alias. */
9851 #if defined (__stub_shmat) || defined (__stub___shmat)
9859 if { (eval echo configure
:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9861 eval "ac_cv_func_shmat=yes"
9863 echo "configure: failed program was:" >&5
9864 cat conftest.
$ac_ext >&5
9866 eval "ac_cv_func_shmat=no"
9871 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
9872 echo "$ac_t""yes" 1>&6
9875 echo "$ac_t""no" 1>&6
9878 if test $ac_cv_func_shmat = no
; then
9879 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
9880 echo "configure:9881: checking for shmat in -lipc" >&5
9881 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
9882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9883 echo $ac_n "(cached) $ac_c" 1>&6
9885 ac_save_LIBS
="$LIBS"
9887 cat > conftest.
$ac_ext <<EOF
9888 #line 9889 "configure"
9889 #include "confdefs.h"
9890 /* Override any gcc2 internal prototype to avoid an error. */
9891 /* We use char because int might match the return type of a gcc2
9892 builtin and then its argument prototype would still apply. */
9899 if { (eval echo configure
:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9901 eval "ac_cv_lib_$ac_lib_var=yes"
9903 echo "configure: failed program was:" >&5
9904 cat conftest.
$ac_ext >&5
9906 eval "ac_cv_lib_$ac_lib_var=no"
9909 LIBS
="$ac_save_LIBS"
9912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9913 echo "$ac_t""yes" 1>&6
9914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9916 echo "$ac_t""no" 1>&6
9922 # Check for libraries that X11R6 Xt/Xaw programs need.
9923 ac_save_LDFLAGS
="$LDFLAGS"
9924 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9925 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9926 # check for ICE first), but we must link in the order -lSM -lICE or
9927 # we get undefined symbols. So assume we have SM if we have ICE.
9928 # These have to be linked with before -lX11, unlike the other
9929 # libraries we check for below, so use a different variable.
9930 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
9931 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
9932 echo "configure:9933: checking for IceConnectionNumber in -lICE" >&5
9933 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
9934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9935 echo $ac_n "(cached) $ac_c" 1>&6
9937 ac_save_LIBS
="$LIBS"
9938 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9939 cat > conftest.
$ac_ext <<EOF
9940 #line 9941 "configure"
9941 #include "confdefs.h"
9942 /* Override any gcc2 internal prototype to avoid an error. */
9943 /* We use char because int might match the return type of a gcc2
9944 builtin and then its argument prototype would still apply. */
9945 char IceConnectionNumber();
9948 IceConnectionNumber()
9951 if { (eval echo configure
:9952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9953 eval "ac_cv_lib_$ac_lib_var=yes"
9955 echo "configure: failed program was:" >&5
9956 cat conftest.
$ac_ext >&5
9958 eval "ac_cv_lib_$ac_lib_var=no"
9961 LIBS
="$ac_save_LIBS"
9964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9965 echo "$ac_t""yes" 1>&6
9966 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9968 echo "$ac_t""no" 1>&6
9971 LDFLAGS
="$ac_save_LDFLAGS"
9975 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9976 LDFLAGS
="$LDFLAGS $X_LIBS"
9978 if test "$wxUSE_MOTIF" = 1; then
9979 if test "$no_x" = "yes"; then
9980 { echo "configure: error: X11 not found" 1>&2; exit 1; }
9983 GUI_TK_LIBRARY
="$X_LIBS"
9984 TOOLKIT_INCLUDE
="$X_CFLAGS"
9986 AFMINSTALL
=afminstall
9989 COMPILED_X_PROGRAM
=0
9991 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
9992 echo "configure:9993: checking for Motif/Lesstif headers" >&5
9995 for ac_dir
in $SEARCH_INCLUDE;
9997 if test -f "$ac_dir/Xm/Xm.h"; then
9998 ac_find_includes
=$ac_dir
10003 if test "$ac_find_includes" != "" ; then
10004 echo "$ac_t""found $ac_find_includes" 1>&6
10006 cat > conftest.
$ac_ext <<EOF
10007 #line 10008 "configure"
10008 #include "confdefs.h"
10016 version = xmUseVersion;
10020 if { (eval echo configure
:10021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10023 echo "$ac_t""found in default search path" 1>&6
10024 COMPILED_X_PROGRAM
=1
10027 echo "configure: failed program was:" >&5
10028 cat conftest.
$ac_ext >&5
10031 echo "$ac_t""no" 1>&6
10032 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10039 if test "$COMPILED_X_PROGRAM" = 0; then
10040 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10041 echo "configure:10042: checking for Motif/Lesstif library" >&5
10044 for ac_dir
in $SEARCH_LIB;
10046 for ac_extension
in a so sl
; do
10047 if test -f "$ac_dir/libXm.$ac_extension"; then
10048 ac_find_libraries
=$ac_dir
10054 if test "$ac_find_libraries" != "" ; then
10056 ac_path_to_include
=$ac_find_includes
10057 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10059 if test $result = 0; then
10060 ac_path_to_include
=""
10062 ac_path_to_include
="-I$ac_find_includes"
10066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10068 if test $result = 0; then
10071 ac_path_to_link
="-L$ac_find_libraries"
10075 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10076 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10077 echo "$ac_t""found at $ac_find_libraries" 1>&6
10079 cat > conftest.
$ac_ext <<EOF
10080 #line 10081 "configure"
10081 #include "confdefs.h"
10089 version = xmUseVersion;
10093 if { (eval echo configure
:10094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10096 echo "$ac_t""found in default search path" 1>&6
10097 COMPILED_X_PROGRAM
=1
10100 echo "configure: failed program was:" >&5
10101 cat conftest.
$ac_ext >&5
10104 echo "$ac_t""no" 1>&6
10105 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10115 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10116 echo "configure:10117: checking for Xpm library" >&5
10119 for ac_dir
in $SEARCH_LIB;
10121 for ac_extension
in a so sl
; do
10122 if test -f "$ac_dir/libXpm.$ac_extension"; then
10123 ac_find_libraries
=$ac_dir
10129 if test "$ac_find_libraries" != "" ; then
10131 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10133 if test $result = 0; then
10136 ac_path_to_link
="-L$ac_find_libraries"
10139 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10141 cat >> confdefs.h
<<\EOF
10142 #define wxHAVE_LIB_XPM 1
10145 echo "$ac_t""found at $ac_find_libraries" 1>&6
10147 cat > conftest.
$ac_ext <<EOF
10148 #line 10149 "configure"
10149 #include "confdefs.h"
10151 #include <X11/xpm.h>
10157 version = XpmLibraryVersion();
10161 if { (eval echo configure
:10162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10165 cat >> confdefs.h
<<\EOF
10166 #define wxHAVE_LIB_XPM 1
10169 echo "$ac_t""found in default search path" 1>&6
10170 COMPILED_X_PROGRAM
=0
10173 echo "configure: failed program was:" >&5
10174 cat conftest.
$ac_ext >&5
10177 echo "$ac_t""no" 1>&6
10178 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10185 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10186 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10191 if test "$wxUSE_MAC" = 1; then
10196 if test "$wxUSE_PM" = 1; then
10201 if test "$TOOLKIT" != "PM" ; then
10202 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10207 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10209 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10211 if test "$TOOLKIT_NAME" = "motif"; then
10212 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10215 if test "$wxUSE_UNIVERSAL" = "yes"; then
10216 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10217 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10218 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10221 SETUPH_DIR
="${TOOLKIT_DIR}"
10224 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10225 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10228 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10229 if test "$wxUSE_UNIVERSAL" = "yes"; then
10230 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10233 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10235 if test "$wxUSE_UNIVERSAL" = "yes"; then
10236 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10238 ALL_OBJECTS
="\$(GUIOBJS)"
10241 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10243 if test "$TOOLKIT" != "MSW"; then
10244 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10247 if test "$wxUSE_HTML" = "yes"; then
10248 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10251 if test "$TOOLKIT" != "MSW"; then
10252 if test "$wxUSE_ODBC" = "yes" ; then
10253 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10257 if test "$wxUSE_LIBJPEG" = "yes" ; then
10258 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10260 if test "$wxUSE_LIBTIFF" = "yes" ; then
10261 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10263 if test "$wxUSE_LIBPNG" = "yes" ; then
10264 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10266 if test "$wxUSE_ZLIB" = "yes" ; then
10267 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10269 if test "$wxUSE_FREETYPE" = "yes" ; then
10270 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10273 if test "$wxUSE_UNIVERSAL" = "yes"; then
10274 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10276 ALL_DEPFILES
="\$(GUIDEPS)"
10279 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10281 if test "$TOOLKIT" != "MSW"; then
10282 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10285 if test "$wxUSE_HTML" = "yes"; then
10286 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10289 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10290 if test "$wxUSE_UNIVERSAL" = "yes"; then
10291 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10293 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10294 RPM_SPEC
="wx\$(TOOLKIT).spec"
10296 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10297 DISTDIR
="wx\$(TOOLKIT)"
10303 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10304 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10306 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10309 TOOLKIT_DEF
="-D__WXBASE__"
10311 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10312 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10314 if test "$wxUSE_ZLIB" = "yes" ; then
10315 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10318 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10320 PORT_FILES
="src/files.lst"
10321 RPM_FILES
="src/rpmfiles.lst"
10322 RPM_SPEC
="wxBase.spec"
10324 GUIDIST
="BASE_DIST"
10328 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10329 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10331 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10332 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10334 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10335 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10337 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10338 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10339 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10340 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10341 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10342 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10348 BURNT_LIBRARY_NAME
=
10349 WX_TARGET_LIBRARY_SONAME
=
10352 if test "$wxUSE_SHARED" = "yes"; then
10355 if test "$GCC" = yes ; then
10356 SHARED_LD
="${CC} -shared -fPIC -o"
10359 LDFLAGS
="-L/usr/lib"
10361 SHARED_LD
="${CXX} -b -o"
10364 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10365 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10366 if test "$wxUSE_OPENGL" = "yes"; then
10367 WX_ALL_INSTALLED
="preinstall_gl"
10368 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10370 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10375 SHARED_LD
="${CC} -shared -o"
10377 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10378 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10379 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10380 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10382 if test "$wxUSE_OPENGL" = "yes"; then
10383 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10384 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10386 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10387 WX_ALL
="CREATE_LINKS"
10390 *-*-irix5* | *-*-irix6* )
10391 if test "$GCC" = yes ; then
10392 SHARED_LD
="${CC} -shared -o"
10395 SHARED_LD
="${CXX} -shared -o"
10397 if test "$wxUSE_OPENGL" = "yes"; then
10398 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10399 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10401 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10402 WX_ALL
="CREATE_LINKS"
10406 if test "$GCC" = yes ; then
10407 SHARED_LD
="${CC} -shared -o"
10410 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10412 SHARED_LD
="${CXX} -G -o"
10415 if test "$wxUSE_OPENGL" = "yes"; then
10416 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10417 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10419 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10420 WX_ALL
="CREATE_LINKS"
10424 SHARED_LD
="${CC} -shared -o"
10426 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10427 WX_ALL
="CREATE_LINKS"
10429 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10430 SHARED_LD
="${CC} -shared -o"
10432 if test "$wxUSE_OPENGL" = "yes"; then
10433 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10434 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10436 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10437 WX_ALL
="CREATE_LINKS"
10441 SHARED_LD
="${CXX} -dynamiclib -o"
10442 PIC_FLAG
="-dynamic -fPIC"
10443 if test "$wxUSE_OPENGL" = "yes"; then
10444 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10445 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10447 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10448 WX_ALL
="CREATE_LINKS"
10450 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10451 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10452 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10453 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10454 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10455 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10456 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10457 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10458 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10461 SHARED_LD
="${CXX} -shared -o"
10463 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10464 WX_ALL
="CREATE_LINKS"
10467 SHARED_LD
="${CXX} -shared -o"
10469 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10470 WX_ALL
="CREATE_LINKS"
10473 SHARED_LD
="${CC} -shared -o"
10475 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10476 WX_ALL
="CREATE_LINKS"
10479 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10480 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10483 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10484 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10485 if test "$wxUSE_OPENGL" = "yes"; then
10486 WX_ALL_INSTALLED
="preinstall_gl"
10487 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10489 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10493 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10494 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10495 if test "$wxUSE_OPENGL" = "yes"; then
10496 WX_ALL_INSTALLED
="preinstall_gl"
10497 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10499 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10503 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10504 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10507 SHARED_LD
="${LD} -shared -o"
10509 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10510 WX_ALL
="CREATE_LINKS"
10513 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10516 if test "x$WX_TARGET_LIBRARY" = "x"; then
10517 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10518 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10520 WX_TARGET_LIBRARY_TYPE
="so"
10522 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10523 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10525 if test "$wxUSE_OPENGL" = "yes"; then
10526 WX_ALL_INSTALLED
="preinstall_gl"
10527 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10529 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10532 if test "$wxUSE_GUI" = "no"; then
10533 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10536 WX_TARGET_LIBRARY_TYPE
="a"
10540 for ac_hdr
in strings.h
10542 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10543 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10544 echo "configure:10545: checking for $ac_hdr" >&5
10545 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10546 echo $ac_n "(cached) $ac_c" 1>&6
10548 cat > conftest.
$ac_ext <<EOF
10549 #line 10550 "configure"
10550 #include "confdefs.h"
10553 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10554 { (eval echo configure
:10555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10555 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10556 if test -z "$ac_err"; then
10558 eval "ac_cv_header_$ac_safe=yes"
10561 echo "configure: failed program was:" >&5
10562 cat conftest.
$ac_ext >&5
10564 eval "ac_cv_header_$ac_safe=no"
10568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10569 echo "$ac_t""yes" 1>&6
10570 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10571 cat >> confdefs.h
<<EOF
10572 #define $ac_tr_hdr 1
10576 echo "$ac_t""no" 1>&6
10580 for ac_hdr
in stdlib.h
10582 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10584 echo "configure:10585: checking for $ac_hdr" >&5
10585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10586 echo $ac_n "(cached) $ac_c" 1>&6
10588 cat > conftest.
$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10594 { (eval echo configure
:10595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10596 if test -z "$ac_err"; then
10598 eval "ac_cv_header_$ac_safe=yes"
10601 echo "configure: failed program was:" >&5
10602 cat conftest.
$ac_ext >&5
10604 eval "ac_cv_header_$ac_safe=no"
10608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10609 echo "$ac_t""yes" 1>&6
10610 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10611 cat >> confdefs.h
<<EOF
10612 #define $ac_tr_hdr 1
10616 echo "$ac_t""no" 1>&6
10620 for ac_hdr
in unistd.h
10622 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10623 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10624 echo "configure:10625: checking for $ac_hdr" >&5
10625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10626 echo $ac_n "(cached) $ac_c" 1>&6
10628 cat > conftest.
$ac_ext <<EOF
10629 #line 10630 "configure"
10630 #include "confdefs.h"
10633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10634 { (eval echo configure
:10635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10635 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10636 if test -z "$ac_err"; then
10638 eval "ac_cv_header_$ac_safe=yes"
10641 echo "configure: failed program was:" >&5
10642 cat conftest.
$ac_ext >&5
10644 eval "ac_cv_header_$ac_safe=no"
10648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10649 echo "$ac_t""yes" 1>&6
10650 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10651 cat >> confdefs.h
<<EOF
10652 #define $ac_tr_hdr 1
10656 echo "$ac_t""no" 1>&6
10660 for ac_hdr
in wchar.h
10662 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10664 echo "configure:10665: checking for $ac_hdr" >&5
10665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10666 echo $ac_n "(cached) $ac_c" 1>&6
10668 cat > conftest.
$ac_ext <<EOF
10669 #line 10670 "configure"
10670 #include "confdefs.h"
10673 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10674 { (eval echo configure
:10675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10675 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10676 if test -z "$ac_err"; then
10678 eval "ac_cv_header_$ac_safe=yes"
10681 echo "configure: failed program was:" >&5
10682 cat conftest.
$ac_ext >&5
10684 eval "ac_cv_header_$ac_safe=no"
10688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10689 echo "$ac_t""yes" 1>&6
10690 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10691 cat >> confdefs.h
<<EOF
10692 #define $ac_tr_hdr 1
10696 echo "$ac_t""no" 1>&6
10700 for ac_hdr
in wcstr.h
10702 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10703 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10704 echo "configure:10705: checking for $ac_hdr" >&5
10705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10706 echo $ac_n "(cached) $ac_c" 1>&6
10708 cat > conftest.
$ac_ext <<EOF
10709 #line 10710 "configure"
10710 #include "confdefs.h"
10713 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10714 { (eval echo configure
:10715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10715 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10716 if test -z "$ac_err"; then
10718 eval "ac_cv_header_$ac_safe=yes"
10721 echo "configure: failed program was:" >&5
10722 cat conftest.
$ac_ext >&5
10724 eval "ac_cv_header_$ac_safe=no"
10728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10729 echo "$ac_t""yes" 1>&6
10730 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10731 cat >> confdefs.h
<<EOF
10732 #define $ac_tr_hdr 1
10736 echo "$ac_t""no" 1>&6
10740 for ac_hdr
in fnmatch.h
10742 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10744 echo "configure:10745: checking for $ac_hdr" >&5
10745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10746 echo $ac_n "(cached) $ac_c" 1>&6
10748 cat > conftest.
$ac_ext <<EOF
10749 #line 10750 "configure"
10750 #include "confdefs.h"
10753 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10754 { (eval echo configure
:10755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10755 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10756 if test -z "$ac_err"; then
10758 eval "ac_cv_header_$ac_safe=yes"
10761 echo "configure: failed program was:" >&5
10762 cat conftest.
$ac_ext >&5
10764 eval "ac_cv_header_$ac_safe=no"
10768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10769 echo "$ac_t""yes" 1>&6
10770 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10771 cat >> confdefs.h
<<EOF
10772 #define $ac_tr_hdr 1
10776 echo "$ac_t""no" 1>&6
10780 for ac_hdr
in iconv.h
10782 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10784 echo "configure:10785: checking for $ac_hdr" >&5
10785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10786 echo $ac_n "(cached) $ac_c" 1>&6
10788 cat > conftest.
$ac_ext <<EOF
10789 #line 10790 "configure"
10790 #include "confdefs.h"
10793 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10794 { (eval echo configure
:10795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10795 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10796 if test -z "$ac_err"; then
10798 eval "ac_cv_header_$ac_safe=yes"
10801 echo "configure: failed program was:" >&5
10802 cat conftest.
$ac_ext >&5
10804 eval "ac_cv_header_$ac_safe=no"
10808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10809 echo "$ac_t""yes" 1>&6
10810 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10811 cat >> confdefs.h
<<EOF
10812 #define $ac_tr_hdr 1
10816 echo "$ac_t""no" 1>&6
10820 for ac_hdr
in langinfo.h
10822 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10823 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10824 echo "configure:10825: checking for $ac_hdr" >&5
10825 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10828 cat > conftest.
$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10833 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10834 { (eval echo configure
:10835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10835 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10836 if test -z "$ac_err"; then
10838 eval "ac_cv_header_$ac_safe=yes"
10841 echo "configure: failed program was:" >&5
10842 cat conftest.
$ac_ext >&5
10844 eval "ac_cv_header_$ac_safe=no"
10848 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10849 echo "$ac_t""yes" 1>&6
10850 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10851 cat >> confdefs.h
<<EOF
10852 #define $ac_tr_hdr 1
10856 echo "$ac_t""no" 1>&6
10861 if test "$wxUSE_GUI" = "yes"; then
10862 if test "$wxUSE_UNIX" = "yes"; then
10863 for ac_hdr
in X
11/XKBlib.h
10865 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10867 echo "configure:10868: checking for $ac_hdr" >&5
10868 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10869 echo $ac_n "(cached) $ac_c" 1>&6
10871 cat > conftest.
$ac_ext <<EOF
10872 #line 10873 "configure"
10873 #include "confdefs.h"
10876 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10877 { (eval echo configure
:10878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10878 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10879 if test -z "$ac_err"; then
10881 eval "ac_cv_header_$ac_safe=yes"
10884 echo "configure: failed program was:" >&5
10885 cat conftest.
$ac_ext >&5
10887 eval "ac_cv_header_$ac_safe=no"
10891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10892 echo "$ac_t""yes" 1>&6
10893 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10894 cat >> confdefs.h
<<EOF
10895 #define $ac_tr_hdr 1
10899 echo "$ac_t""no" 1>&6
10907 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10908 echo "configure:10909: checking for ANSI C header files" >&5
10909 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
10910 echo $ac_n "(cached) $ac_c" 1>&6
10912 cat > conftest.
$ac_ext <<EOF
10913 #line 10914 "configure"
10914 #include "confdefs.h"
10915 #include <stdlib.h>
10916 #include <stdarg.h>
10917 #include <string.h>
10920 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10921 { (eval echo configure
:10922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10922 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10923 if test -z "$ac_err"; then
10925 ac_cv_header_stdc
=yes
10928 echo "configure: failed program was:" >&5
10929 cat conftest.
$ac_ext >&5
10931 ac_cv_header_stdc
=no
10935 if test $ac_cv_header_stdc = yes; then
10936 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10937 cat > conftest.
$ac_ext <<EOF
10938 #line 10939 "configure"
10939 #include "confdefs.h"
10940 #include <string.h>
10942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10943 egrep "memchr" >/dev
/null
2>&1; then
10947 ac_cv_header_stdc
=no
10953 if test $ac_cv_header_stdc = yes; then
10954 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10955 cat > conftest.
$ac_ext <<EOF
10956 #line 10957 "configure"
10957 #include "confdefs.h"
10958 #include <stdlib.h>
10960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10961 egrep "free" >/dev
/null
2>&1; then
10965 ac_cv_header_stdc
=no
10971 if test $ac_cv_header_stdc = yes; then
10972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10973 if test "$cross_compiling" = yes; then
10976 cat > conftest.
$ac_ext <<EOF
10977 #line 10978 "configure"
10978 #include "confdefs.h"
10980 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10981 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10983 int main () { int i; for (i = 0; i < 256; i++)
10984 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
10988 if { (eval echo configure
:10989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10992 echo "configure: failed program was:" >&5
10993 cat conftest.
$ac_ext >&5
10995 ac_cv_header_stdc
=no
11003 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11004 if test $ac_cv_header_stdc = yes; then
11005 cat >> confdefs.h
<<\EOF
11006 #define STDC_HEADERS 1
11011 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11012 echo "configure:11013: checking for mode_t" >&5
11013 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11014 echo $ac_n "(cached) $ac_c" 1>&6
11016 cat > conftest.
$ac_ext <<EOF
11017 #line 11018 "configure"
11018 #include "confdefs.h"
11019 #include <sys/types.h>
11021 #include <stdlib.h>
11022 #include <stddef.h>
11025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11026 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11028 ac_cv_type_mode_t
=yes
11031 ac_cv_type_mode_t
=no
11036 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11037 if test $ac_cv_type_mode_t = no
; then
11038 cat >> confdefs.h
<<\EOF
11044 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11045 echo "configure:11046: checking for off_t" >&5
11046 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11047 echo $ac_n "(cached) $ac_c" 1>&6
11049 cat > conftest.
$ac_ext <<EOF
11050 #line 11051 "configure"
11051 #include "confdefs.h"
11052 #include <sys/types.h>
11054 #include <stdlib.h>
11055 #include <stddef.h>
11058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11059 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11061 ac_cv_type_off_t
=yes
11064 ac_cv_type_off_t
=no
11069 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11070 if test $ac_cv_type_off_t = no
; then
11071 cat >> confdefs.h
<<\EOF
11077 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11078 echo "configure:11079: checking for pid_t" >&5
11079 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11080 echo $ac_n "(cached) $ac_c" 1>&6
11082 cat > conftest.
$ac_ext <<EOF
11083 #line 11084 "configure"
11084 #include "confdefs.h"
11085 #include <sys/types.h>
11087 #include <stdlib.h>
11088 #include <stddef.h>
11091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11092 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11094 ac_cv_type_pid_t
=yes
11097 ac_cv_type_pid_t
=no
11102 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11103 if test $ac_cv_type_pid_t = no
; then
11104 cat >> confdefs.h
<<\EOF
11110 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11111 echo "configure:11112: checking for size_t" >&5
11112 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11113 echo $ac_n "(cached) $ac_c" 1>&6
11115 cat > conftest.
$ac_ext <<EOF
11116 #line 11117 "configure"
11117 #include "confdefs.h"
11118 #include <sys/types.h>
11120 #include <stdlib.h>
11121 #include <stddef.h>
11124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11125 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11127 ac_cv_type_size_t
=yes
11130 ac_cv_type_size_t
=no
11135 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11136 if test $ac_cv_type_size_t = no
; then
11137 cat >> confdefs.h
<<\EOF
11138 #define size_t unsigned
11143 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11144 echo "configure:11145: checking for uid_t in sys/types.h" >&5
11145 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11146 echo $ac_n "(cached) $ac_c" 1>&6
11148 cat > conftest.
$ac_ext <<EOF
11149 #line 11150 "configure"
11150 #include "confdefs.h"
11151 #include <sys/types.h>
11153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11154 egrep "uid_t" >/dev
/null
2>&1; then
11156 ac_cv_type_uid_t
=yes
11159 ac_cv_type_uid_t
=no
11165 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11166 if test $ac_cv_type_uid_t = no
; then
11167 cat >> confdefs.h
<<\EOF
11171 cat >> confdefs.h
<<\EOF
11178 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11179 echo "configure:11180: checking for wchar_t" >&5
11180 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11181 echo $ac_n "(cached) $ac_c" 1>&6
11184 cat > conftest.
$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11192 ws = L"Hello, world!";
11196 if { (eval echo configure
:11197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11198 wx_cv_type_wchar_t
=yes
11200 echo "configure: failed program was:" >&5
11201 cat conftest.
$ac_ext >&5
11203 cat > conftest.
$ac_ext <<EOF
11204 #line 11205 "configure"
11205 #include "confdefs.h"
11206 #include <stdlib.h>
11211 ws = L"Hello, world!";
11215 if { (eval echo configure
:11216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11217 wx_cv_type_wchar_t
=yes
11219 echo "configure: failed program was:" >&5
11220 cat conftest.
$ac_ext >&5
11222 wx_cv_type_wchar_t
=no
11231 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11233 if test "$wx_cv_type_wchar_t" = "yes"; then
11234 cat >> confdefs.h
<<\EOF
11235 #define wxUSE_WCHAR_T 1
11242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11243 ac_cpp
='$CXXCPP $CPPFLAGS'
11244 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11245 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11246 cross_compiling
=$ac_cv_prog_cxx_cross
11248 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11249 echo "configure:11250: checking if size_t is unsigned int" >&5
11250 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11251 echo $ac_n "(cached) $ac_c" 1>&6
11253 cat > conftest.
$ac_ext <<EOF
11254 #line 11255 "configure"
11255 #include "confdefs.h"
11256 #include <stddef.h>
11261 struct Foo { void foo(size_t); void foo(unsigned int); };
11267 if { (eval echo configure
:11268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11269 wx_cv_size_t_is_uint
=no
11271 echo "configure: failed program was:" >&5
11272 cat conftest.
$ac_ext >&5
11274 wx_cv_size_t_is_uint
=yes
11281 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11283 if test "$wx_cv_size_t_is_uint" = "yes"; then
11284 cat >> confdefs.h
<<\EOF
11285 #define wxSIZE_T_IS_UINT 1
11289 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11290 echo "configure:11291: checking if size_t is unsigned long" >&5
11291 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11294 cat > conftest.
$ac_ext <<EOF
11295 #line 11296 "configure"
11296 #include "confdefs.h"
11297 #include <stddef.h>
11302 struct Foo { void foo(size_t); void foo(unsigned long); };
11308 if { (eval echo configure
:11309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11310 wx_cv_size_t_is_ulong
=no
11312 echo "configure: failed program was:" >&5
11313 cat conftest.
$ac_ext >&5
11315 wx_cv_size_t_is_ulong
=yes
11322 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11324 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11325 cat >> confdefs.h
<<\EOF
11326 #define wxSIZE_T_IS_ULONG 1
11333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11334 ac_cpp
='$CPP $CPPFLAGS'
11335 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11336 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11337 cross_compiling
=$ac_cv_prog_cc_cross
11341 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11342 echo "configure:11343: checking for pw_gecos in struct passwd" >&5
11343 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11344 echo $ac_n "(cached) $ac_c" 1>&6
11347 cat > conftest.
$ac_ext <<EOF
11348 #line 11349 "configure"
11349 #include "confdefs.h"
11359 if { (eval echo configure
:11360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11362 wx_cv_struct_pw_gecos
=yes
11365 echo "configure: failed program was:" >&5
11366 cat conftest.
$ac_ext >&5
11369 wx_cv_struct_pw_gecos
=no
11378 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11380 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11381 cat >> confdefs.h
<<\EOF
11382 #define HAVE_PW_GECOS 1
11388 echo $ac_n "checking for working const""... $ac_c" 1>&6
11389 echo "configure:11390: checking for working const" >&5
11390 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11391 echo $ac_n "(cached) $ac_c" 1>&6
11393 cat > conftest.
$ac_ext <<EOF
11394 #line 11395 "configure"
11395 #include "confdefs.h"
11399 /* Ultrix mips cc rejects this. */
11400 typedef int charset[2]; const charset x;
11401 /* SunOS 4.1.1 cc rejects this. */
11402 char const *const *ccp;
11404 /* NEC SVR4.0.2 mips cc rejects this. */
11405 struct point {int x, y;};
11406 static struct point const zero = {0,0};
11407 /* AIX XL C 1.02.0.0 rejects this.
11408 It does not let you subtract one const X* pointer from another in an arm
11409 of an if-expression whose if-part is not a constant expression */
11410 const char *g = "string";
11411 ccp = &g + (g ? g-g : 0);
11412 /* HPUX 7.0 cc rejects these. */
11415 ccp = (char const *const *) p;
11416 { /* SCO 3.2v4 cc rejects this. */
11418 char const *s = 0 ? (char *) 0 : (char const *) 0;
11422 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11423 int x[] = {25, 17};
11424 const int *foo = &x[0];
11427 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11428 typedef const int *iptr;
11432 { /* AIX XL C 1.02.0.0 rejects this saying
11433 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11434 struct s { int j; const int *ap[3]; };
11435 struct s *b; b->j = 5;
11437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11438 const int foo = 10;
11443 if { (eval echo configure
:11444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11447 echo "configure: failed program was:" >&5
11448 cat conftest.
$ac_ext >&5
11455 echo "$ac_t""$ac_cv_c_const" 1>&6
11456 if test $ac_cv_c_const = no
; then
11457 cat >> confdefs.h
<<\EOF
11463 echo $ac_n "checking for inline""... $ac_c" 1>&6
11464 echo "configure:11465: checking for inline" >&5
11465 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11466 echo $ac_n "(cached) $ac_c" 1>&6
11469 for ac_kw
in inline __inline__ __inline
; do
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11478 if { (eval echo configure
:11479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11480 ac_cv_c_inline
=$ac_kw; break
11482 echo "configure: failed program was:" >&5
11483 cat conftest.
$ac_ext >&5
11490 echo "$ac_t""$ac_cv_c_inline" 1>&6
11491 case "$ac_cv_c_inline" in
11493 no
) cat >> confdefs.h
<<\EOF
11497 *) cat >> confdefs.h
<<EOF
11498 #define inline $ac_cv_c_inline
11504 echo $ac_n "checking size of char""... $ac_c" 1>&6
11505 echo "configure:11506: checking size of char" >&5
11506 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11509 if test "$cross_compiling" = yes; then
11510 ac_cv_sizeof_char
=1
11512 cat > conftest.
$ac_ext <<EOF
11513 #line 11514 "configure"
11514 #include "confdefs.h"
11518 FILE *f=fopen("conftestval", "w");
11520 fprintf(f, "%d\n", sizeof(char));
11524 if { (eval echo configure
:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11526 ac_cv_sizeof_char
=`cat conftestval`
11528 echo "configure: failed program was:" >&5
11529 cat conftest.
$ac_ext >&5
11531 ac_cv_sizeof_char
=0
11537 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11538 cat >> confdefs.h
<<EOF
11539 #define SIZEOF_CHAR $ac_cv_sizeof_char
11543 echo $ac_n "checking size of short""... $ac_c" 1>&6
11544 echo "configure:11545: checking size of short" >&5
11545 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11546 echo $ac_n "(cached) $ac_c" 1>&6
11548 if test "$cross_compiling" = yes; then
11549 ac_cv_sizeof_short
=2
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11557 FILE *f=fopen("conftestval", "w");
11559 fprintf(f, "%d\n", sizeof(short));
11563 if { (eval echo configure
:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11565 ac_cv_sizeof_short
=`cat conftestval`
11567 echo "configure: failed program was:" >&5
11568 cat conftest.
$ac_ext >&5
11570 ac_cv_sizeof_short
=0
11576 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11577 cat >> confdefs.h
<<EOF
11578 #define SIZEOF_SHORT $ac_cv_sizeof_short
11582 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11583 echo "configure:11584: checking size of int *" >&5
11584 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11585 echo $ac_n "(cached) $ac_c" 1>&6
11587 if test "$cross_compiling" = yes; then
11588 ac_cv_sizeof_int_p
=4
11590 cat > conftest.
$ac_ext <<EOF
11591 #line 11592 "configure"
11592 #include "confdefs.h"
11596 FILE *f=fopen("conftestval", "w");
11598 fprintf(f, "%d\n", sizeof(int *));
11602 if { (eval echo configure
:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11604 ac_cv_sizeof_int_p
=`cat conftestval`
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11609 ac_cv_sizeof_int_p
=0
11615 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11616 cat >> confdefs.h
<<EOF
11617 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11621 echo $ac_n "checking size of int""... $ac_c" 1>&6
11622 echo "configure:11623: checking size of int" >&5
11623 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11624 echo $ac_n "(cached) $ac_c" 1>&6
11626 if test "$cross_compiling" = yes; then
11629 cat > conftest.
$ac_ext <<EOF
11630 #line 11631 "configure"
11631 #include "confdefs.h"
11635 FILE *f=fopen("conftestval", "w");
11637 fprintf(f, "%d\n", sizeof(int));
11641 if { (eval echo configure
:11642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11643 ac_cv_sizeof_int
=`cat conftestval`
11645 echo "configure: failed program was:" >&5
11646 cat conftest.
$ac_ext >&5
11654 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11655 cat >> confdefs.h
<<EOF
11656 #define SIZEOF_INT $ac_cv_sizeof_int
11660 echo $ac_n "checking size of long""... $ac_c" 1>&6
11661 echo "configure:11662: checking size of long" >&5
11662 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11663 echo $ac_n "(cached) $ac_c" 1>&6
11665 if test "$cross_compiling" = yes; then
11666 ac_cv_sizeof_long
=4
11668 cat > conftest.
$ac_ext <<EOF
11669 #line 11670 "configure"
11670 #include "confdefs.h"
11674 FILE *f=fopen("conftestval", "w");
11676 fprintf(f, "%d\n", sizeof(long));
11680 if { (eval echo configure
:11681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11682 ac_cv_sizeof_long
=`cat conftestval`
11684 echo "configure: failed program was:" >&5
11685 cat conftest.
$ac_ext >&5
11687 ac_cv_sizeof_long
=0
11693 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11694 cat >> confdefs.h
<<EOF
11695 #define SIZEOF_LONG $ac_cv_sizeof_long
11699 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11700 echo "configure:11701: checking size of long long" >&5
11701 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11702 echo $ac_n "(cached) $ac_c" 1>&6
11704 if test "$cross_compiling" = yes; then
11705 ac_cv_sizeof_long_long
=0
11707 cat > conftest.
$ac_ext <<EOF
11708 #line 11709 "configure"
11709 #include "confdefs.h"
11713 FILE *f=fopen("conftestval", "w");
11715 fprintf(f, "%d\n", sizeof(long long));
11719 if { (eval echo configure
:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11721 ac_cv_sizeof_long_long
=`cat conftestval`
11723 echo "configure: failed program was:" >&5
11724 cat conftest.
$ac_ext >&5
11726 ac_cv_sizeof_long_long
=0
11732 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11733 cat >> confdefs.h
<<EOF
11734 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11739 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11740 echo "configure:11741: checking size of wchar_t" >&5
11741 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11742 echo $ac_n "(cached) $ac_c" 1>&6
11745 if test "$cross_compiling" = yes; then
11746 wx_cv_sizeof_wchar_t
=4
11749 cat > conftest.
$ac_ext <<EOF
11750 #line 11751 "configure"
11751 #include "confdefs.h"
11753 #ifdef HAVE_WCHAR_H
11754 # include <wchar.h>
11756 #ifdef HAVE_STDLIB_H
11757 # include <stdlib.h>
11762 FILE *f=fopen("conftestval", "w");
11764 fprintf(f, "%i", sizeof(wchar_t));
11769 if { (eval echo configure
:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11771 wx_cv_sizeof_wchar_t
=`cat conftestval`
11773 echo "configure: failed program was:" >&5
11774 cat conftest.
$ac_ext >&5
11776 wx_cv_sizeof_wchar_t
=0
11784 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11786 cat >> confdefs.h
<<EOF
11787 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11791 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11792 echo "configure:11793: checking whether byte ordering is bigendian" >&5
11793 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11796 ac_cv_c_bigendian
=unknown
11797 # See if sys/param.h defines the BYTE_ORDER macro.
11798 cat > conftest.
$ac_ext <<EOF
11799 #line 11800 "configure"
11800 #include "confdefs.h"
11801 #include <sys/types.h>
11802 #include <sys/param.h>
11805 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11806 bogus endian macros
11810 if { (eval echo configure
:11811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11812 # It does; now see whether it defined to BIG_ENDIAN or not.
11813 cat > conftest.
$ac_ext <<EOF
11814 #line 11815 "configure"
11815 #include "confdefs.h"
11816 #include <sys/types.h>
11817 #include <sys/param.h>
11820 #if BYTE_ORDER != BIG_ENDIAN
11825 if { (eval echo configure
:11826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11827 ac_cv_c_bigendian
=yes
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 ac_cv_c_bigendian
=no
11836 echo "configure: failed program was:" >&5
11837 cat conftest.
$ac_ext >&5
11840 if test $ac_cv_c_bigendian = unknown
; then
11841 if test "$cross_compiling" = yes; then
11842 ac_cv_c_bigendian
=unknown
11844 cat > conftest.
$ac_ext <<EOF
11845 #line 11846 "configure"
11846 #include "confdefs.h"
11848 /* Are we little or big endian? From Harbison&Steele. */
11852 char c[sizeof (long)];
11855 exit (u.c[sizeof (long) - 1] == 1);
11858 if { (eval echo configure
:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11860 ac_cv_c_bigendian
=no
11862 echo "configure: failed program was:" >&5
11863 cat conftest.
$ac_ext >&5
11865 ac_cv_c_bigendian
=yes
11873 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11874 if test $ac_cv_c_bigendian = unknown
; then
11875 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
11877 if test $ac_cv_c_bigendian = yes; then
11878 cat >> confdefs.h
<<\EOF
11879 #define WORDS_BIGENDIAN 1
11886 if test "$cross_compiling" = "yes"; then
11887 cat >> confdefs.h
<<\EOF
11888 #define wxUSE_IOSTREAMH 1
11894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11895 ac_cpp
='$CXXCPP $CPPFLAGS'
11896 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11897 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11898 cross_compiling
=$ac_cv_prog_cxx_cross
11901 for ac_hdr
in iostream
11903 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11904 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11905 echo "configure:11906: checking for $ac_hdr" >&5
11906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11907 echo $ac_n "(cached) $ac_c" 1>&6
11909 cat > conftest.
$ac_ext <<EOF
11910 #line 11911 "configure"
11911 #include "confdefs.h"
11914 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11915 { (eval echo configure
:11916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11916 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11917 if test -z "$ac_err"; then
11919 eval "ac_cv_header_$ac_safe=yes"
11922 echo "configure: failed program was:" >&5
11923 cat conftest.
$ac_ext >&5
11925 eval "ac_cv_header_$ac_safe=no"
11929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11930 echo "$ac_t""yes" 1>&6
11931 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11932 cat >> confdefs.h
<<EOF
11933 #define $ac_tr_hdr 1
11937 echo "$ac_t""no" 1>&6
11942 if test "$ac_cv_header_iostream" = "yes" ; then
11945 cat >> confdefs.h
<<\EOF
11946 #define wxUSE_IOSTREAMH 1
11952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11953 ac_cpp
='$CPP $CPPFLAGS'
11954 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11955 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11956 cross_compiling
=$ac_cv_prog_cc_cross
11962 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11963 echo "configure:11964: checking if C++ compiler supports bool" >&5
11964 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11971 ac_cpp
='$CXXCPP $CPPFLAGS'
11972 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11973 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11974 cross_compiling
=$ac_cv_prog_cxx_cross
11977 cat > conftest.
$ac_ext <<EOF
11978 #line 11979 "configure"
11979 #include "confdefs.h"
11990 if { (eval echo configure
:11991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11996 echo "configure: failed program was:" >&5
11997 cat conftest.
$ac_ext >&5
12007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12008 ac_cpp
='$CPP $CPPFLAGS'
12009 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12010 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12011 cross_compiling
=$ac_cv_prog_cc_cross
12016 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12018 if test "$wx_cv_cpp_bool" = "yes"; then
12019 cat >> confdefs.h
<<\EOF
12020 #define HAVE_BOOL 1
12027 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12028 echo "configure:12029: checking for wcslen in -lc" >&5
12029 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12030 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12033 ac_save_LIBS
="$LIBS"
12035 cat > conftest.
$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12038 /* Override any gcc2 internal prototype to avoid an error. */
12039 /* We use char because int might match the return type of a gcc2
12040 builtin and then its argument prototype would still apply. */
12047 if { (eval echo configure
:12048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12049 eval "ac_cv_lib_$ac_lib_var=yes"
12051 echo "configure: failed program was:" >&5
12052 cat conftest.
$ac_ext >&5
12054 eval "ac_cv_lib_$ac_lib_var=no"
12057 LIBS
="$ac_save_LIBS"
12060 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12061 echo "$ac_t""yes" 1>&6
12063 cat >> confdefs.h
<<\EOF
12064 #define HAVE_WCSLEN 1
12070 echo "$ac_t""no" 1>&6
12072 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12073 echo "configure:12074: checking for wcslen in -lw" >&5
12074 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12075 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12076 echo $ac_n "(cached) $ac_c" 1>&6
12078 ac_save_LIBS
="$LIBS"
12080 cat > conftest.
$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12083 /* Override any gcc2 internal prototype to avoid an error. */
12084 /* We use char because int might match the return type of a gcc2
12085 builtin and then its argument prototype would still apply. */
12092 if { (eval echo configure
:12093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12094 eval "ac_cv_lib_$ac_lib_var=yes"
12096 echo "configure: failed program was:" >&5
12097 cat conftest.
$ac_ext >&5
12099 eval "ac_cv_lib_$ac_lib_var=no"
12102 LIBS
="$ac_save_LIBS"
12105 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12106 echo "$ac_t""yes" 1>&6
12108 cat >> confdefs.h
<<\EOF
12109 #define HAVE_WCSLEN 1
12115 echo "$ac_t""no" 1>&6
12122 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12123 echo "configure:12124: checking for vprintf" >&5
12124 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12125 echo $ac_n "(cached) $ac_c" 1>&6
12127 cat > conftest.
$ac_ext <<EOF
12128 #line 12129 "configure"
12129 #include "confdefs.h"
12130 /* System header to define __stub macros and hopefully few prototypes,
12131 which can conflict with char vprintf(); below. */
12132 #include <assert.h>
12133 /* Override any gcc2 internal prototype to avoid an error. */
12134 /* We use char because int might match the return type of a gcc2
12135 builtin and then its argument prototype would still apply. */
12140 /* The GNU C library defines this for functions which it implements
12141 to always fail with ENOSYS. Some functions are actually named
12142 something starting with __ and the normal name is an alias. */
12143 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12151 if { (eval echo configure
:12152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12153 eval "ac_cv_func_vprintf=yes"
12155 echo "configure: failed program was:" >&5
12156 cat conftest.
$ac_ext >&5
12158 eval "ac_cv_func_vprintf=no"
12163 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12164 echo "$ac_t""yes" 1>&6
12165 cat >> confdefs.h
<<\EOF
12166 #define HAVE_VPRINTF 1
12170 echo "$ac_t""no" 1>&6
12173 if test "$ac_cv_func_vprintf" != yes; then
12174 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12175 echo "configure:12176: checking for _doprnt" >&5
12176 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12177 echo $ac_n "(cached) $ac_c" 1>&6
12179 cat > conftest.
$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12182 /* System header to define __stub macros and hopefully few prototypes,
12183 which can conflict with char _doprnt(); below. */
12184 #include <assert.h>
12185 /* Override any gcc2 internal prototype to avoid an error. */
12186 /* We use char because int might match the return type of a gcc2
12187 builtin and then its argument prototype would still apply. */
12192 /* The GNU C library defines this for functions which it implements
12193 to always fail with ENOSYS. Some functions are actually named
12194 something starting with __ and the normal name is an alias. */
12195 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12203 if { (eval echo configure
:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12205 eval "ac_cv_func__doprnt=yes"
12207 echo "configure: failed program was:" >&5
12208 cat conftest.
$ac_ext >&5
12210 eval "ac_cv_func__doprnt=no"
12215 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12216 echo "$ac_t""yes" 1>&6
12217 cat >> confdefs.h
<<\EOF
12218 #define HAVE_DOPRNT 1
12222 echo "$ac_t""no" 1>&6
12233 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12234 echo "configure:12235: checking for vsnprintf" >&5
12235 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12236 echo $ac_n "(cached) $ac_c" 1>&6
12239 cat > conftest.
$ac_ext <<EOF
12240 #line 12241 "configure"
12241 #include "confdefs.h"
12244 #include <stdarg.h>
12248 int wx_test_vsnprintf(const char *, ...);
12250 wx_test_vsnprintf("%s");
12254 int wx_test_vsnprintf(const char *fmt, ...)
12259 va_start(argp, fmt);
12260 vsnprintf(s, 42, fmt, argp);
12265 if { (eval echo configure
:12266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12268 wx_cv_func_vsnprintf
=yes
12271 echo "configure: failed program was:" >&5
12272 cat conftest.
$ac_ext >&5
12275 cat > conftest.
$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12280 #include <stdarg.h>
12284 int wx_test_vsnprintf(const char *, ...);
12286 wx_test_vsnprintf("%s");
12290 int wx_test_vsnprintf(const char *fmt, ...)
12295 va_start(argp, fmt);
12296 _vsnprintf(s, 42, fmt, argp);
12301 if { (eval echo configure
:12302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12304 wx_cv_func_vsnprintf
=yes
12307 echo "configure: failed program was:" >&5
12308 cat conftest.
$ac_ext >&5
12311 wx_cv_func_vsnprintf
=no
12321 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12323 if test "$wx_cv_func_vsnprintf" = yes; then
12324 cat >> confdefs.h
<<\EOF
12325 #define HAVE_VSNPRINTF 1
12329 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12332 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12333 echo "configure:12334: checking for vsscanf" >&5
12334 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12335 echo $ac_n "(cached) $ac_c" 1>&6
12338 cat > conftest.
$ac_ext <<EOF
12339 #line 12340 "configure"
12340 #include "confdefs.h"
12343 #include <stdarg.h>
12347 int wx_test_vsscanf(const char *, ...);
12349 wx_test_vsscanf("%d");
12353 int wx_test_vsscanf(const char *fmt, ...)
12356 va_start(argp, fmt);
12357 vsscanf("42", fmt, argp);
12362 if { (eval echo configure
:12363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12365 wx_cv_func_vsscanf
=yes
12368 echo "configure: failed program was:" >&5
12369 cat conftest.
$ac_ext >&5
12372 wx_cv_func_vsscanf
=no
12379 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12381 if test "$wx_cv_func_vsscanf" = yes; then
12382 cat >> confdefs.h
<<\EOF
12383 #define HAVE_VSSCANF 1
12388 if test "$TOOLKIT" != "MSW"; then
12393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12394 ac_cpp
='$CXXCPP $CPPFLAGS'
12395 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12396 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12397 cross_compiling
=$ac_cv_prog_cxx_cross
12399 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12400 echo "configure:12401: checking if iconv() takes char**" >&5
12401 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12405 cat > conftest.
$ac_ext <<EOF
12406 #line 12407 "configure"
12407 #include "confdefs.h"
12411 char **inbuf, **outbuf;
12413 size_t insz, outsz;
12414 iconv(cd, inbuf, &insz, outbuf, &outsz);
12418 if { (eval echo configure
:12419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12420 wx_cv_iconv_takes_char
=yes
12422 echo "configure: failed program was:" >&5
12423 cat conftest.
$ac_ext >&5
12425 wx_cv_iconv_takes_char
=no
12431 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12434 ac_cpp
='$CPP $CPPFLAGS'
12435 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12436 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12437 cross_compiling
=$ac_cv_prog_cc_cross
12439 if test "$wx_cv_iconv_takes_char" = yes ; then
12440 cat >> confdefs.h
<<\EOF
12441 #define WX_ICONV_TAKES_CHAR 1
12447 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12448 for ac_func
in sigaction
12450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12451 echo "configure:12452: checking for $ac_func" >&5
12452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12455 cat > conftest.
$ac_ext <<EOF
12456 #line 12457 "configure"
12457 #include "confdefs.h"
12458 /* System header to define __stub macros and hopefully few prototypes,
12459 which can conflict with char $ac_func(); below. */
12460 #include <assert.h>
12461 /* Override any gcc2 internal prototype to avoid an error. */
12462 /* We use char because int might match the return type of a gcc2
12463 builtin and then its argument prototype would still apply. */
12468 /* The GNU C library defines this for functions which it implements
12469 to always fail with ENOSYS. Some functions are actually named
12470 something starting with __ and the normal name is an alias. */
12471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12479 if { (eval echo configure
:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12481 eval "ac_cv_func_$ac_func=yes"
12483 echo "configure: failed program was:" >&5
12484 cat conftest.
$ac_ext >&5
12486 eval "ac_cv_func_$ac_func=no"
12491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12492 echo "$ac_t""yes" 1>&6
12493 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12494 cat >> confdefs.h
<<EOF
12495 #define $ac_tr_func 1
12499 echo "$ac_t""no" 1>&6
12504 if test "$ac_cv_func_sigaction" = "no"; then
12505 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12506 wxUSE_ON_FATAL_EXCEPTION
=no
12509 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12513 ac_cpp
='$CXXCPP $CPPFLAGS'
12514 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12515 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12516 cross_compiling
=$ac_cv_prog_cxx_cross
12519 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12520 echo "configure:12521: checking for sa_handler type" >&5
12521 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12522 echo $ac_n "(cached) $ac_c" 1>&6
12525 cat > conftest.
$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12528 #include <signal.h>
12531 extern void testSigHandler(int);
12533 struct sigaction sa;
12534 sa.sa_handler = testSigHandler;
12538 if { (eval echo configure
:12539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12541 wx_cv_type_sa_handler
=int
12544 echo "configure: failed program was:" >&5
12545 cat conftest.
$ac_ext >&5
12548 wx_cv_type_sa_handler
=void
12555 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12559 ac_cpp
='$CPP $CPPFLAGS'
12560 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12561 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12562 cross_compiling
=$ac_cv_prog_cc_cross
12565 cat >> confdefs.h
<<EOF
12566 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12572 for ac_func
in vfork
12574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12575 echo "configure:12576: checking for $ac_func" >&5
12576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12577 echo $ac_n "(cached) $ac_c" 1>&6
12579 cat > conftest.
$ac_ext <<EOF
12580 #line 12581 "configure"
12581 #include "confdefs.h"
12582 /* System header to define __stub macros and hopefully few prototypes,
12583 which can conflict with char $ac_func(); below. */
12584 #include <assert.h>
12585 /* Override any gcc2 internal prototype to avoid an error. */
12586 /* We use char because int might match the return type of a gcc2
12587 builtin and then its argument prototype would still apply. */
12592 /* The GNU C library defines this for functions which it implements
12593 to always fail with ENOSYS. Some functions are actually named
12594 something starting with __ and the normal name is an alias. */
12595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12603 if { (eval echo configure
:12604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12605 eval "ac_cv_func_$ac_func=yes"
12607 echo "configure: failed program was:" >&5
12608 cat conftest.
$ac_ext >&5
12610 eval "ac_cv_func_$ac_func=no"
12615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12616 echo "$ac_t""yes" 1>&6
12617 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12618 cat >> confdefs.h
<<EOF
12619 #define $ac_tr_func 1
12623 echo "$ac_t""no" 1>&6
12628 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12629 for ac_func
in fcntl flock
12631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12632 echo "configure:12633: checking for $ac_func" >&5
12633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12636 cat > conftest.
$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 /* System header to define __stub macros and hopefully few prototypes,
12640 which can conflict with char $ac_func(); below. */
12641 #include <assert.h>
12642 /* Override any gcc2 internal prototype to avoid an error. */
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12649 /* The GNU C library defines this for functions which it implements
12650 to always fail with ENOSYS. Some functions are actually named
12651 something starting with __ and the normal name is an alias. */
12652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12660 if { (eval echo configure
:12661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12662 eval "ac_cv_func_$ac_func=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.
$ac_ext >&5
12667 eval "ac_cv_func_$ac_func=no"
12672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12673 echo "$ac_t""yes" 1>&6
12674 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12675 cat >> confdefs.h
<<EOF
12676 #define $ac_tr_func 1
12680 echo "$ac_t""no" 1>&6
12685 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12686 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12687 wxUSE_SNGLINST_CHECKER
=no
12691 for ac_func
in timegm
12693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12694 echo "configure:12695: checking for $ac_func" >&5
12695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12696 echo $ac_n "(cached) $ac_c" 1>&6
12698 cat > conftest.
$ac_ext <<EOF
12699 #line 12700 "configure"
12700 #include "confdefs.h"
12701 /* System header to define __stub macros and hopefully few prototypes,
12702 which can conflict with char $ac_func(); below. */
12703 #include <assert.h>
12704 /* Override any gcc2 internal prototype to avoid an error. */
12705 /* We use char because int might match the return type of a gcc2
12706 builtin and then its argument prototype would still apply. */
12711 /* The GNU C library defines this for functions which it implements
12712 to always fail with ENOSYS. Some functions are actually named
12713 something starting with __ and the normal name is an alias. */
12714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12722 if { (eval echo configure
:12723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12724 eval "ac_cv_func_$ac_func=yes"
12726 echo "configure: failed program was:" >&5
12727 cat conftest.
$ac_ext >&5
12729 eval "ac_cv_func_$ac_func=no"
12734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12735 echo "$ac_t""yes" 1>&6
12736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12737 cat >> confdefs.h
<<EOF
12738 #define $ac_tr_func 1
12742 echo "$ac_t""no" 1>&6
12747 for ac_func
in putenv setenv
12749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12750 echo "configure:12751: checking for $ac_func" >&5
12751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12752 echo $ac_n "(cached) $ac_c" 1>&6
12754 cat > conftest.
$ac_ext <<EOF
12755 #line 12756 "configure"
12756 #include "confdefs.h"
12757 /* System header to define __stub macros and hopefully few prototypes,
12758 which can conflict with char $ac_func(); below. */
12759 #include <assert.h>
12760 /* Override any gcc2 internal prototype to avoid an error. */
12761 /* We use char because int might match the return type of a gcc2
12762 builtin and then its argument prototype would still apply. */
12767 /* The GNU C library defines this for functions which it implements
12768 to always fail with ENOSYS. Some functions are actually named
12769 something starting with __ and the normal name is an alias. */
12770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12778 if { (eval echo configure
:12779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12780 eval "ac_cv_func_$ac_func=yes"
12782 echo "configure: failed program was:" >&5
12783 cat conftest.
$ac_ext >&5
12785 eval "ac_cv_func_$ac_func=no"
12790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12791 echo "$ac_t""yes" 1>&6
12792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12793 cat >> confdefs.h
<<EOF
12794 #define $ac_tr_func 1
12798 echo "$ac_t""no" 1>&6
12803 HAVE_SOME_SLEEP_FUNC
=0
12804 if test "$USE_BEOS" = 1; then
12805 cat >> confdefs.h
<<\EOF
12806 #define HAVE_SLEEP 1
12809 HAVE_SOME_SLEEP_FUNC
=1
12812 if test "$USE_MAC" = 1; then
12813 cat >> confdefs.h
<<\EOF
12814 #define HAVE_USLEEP 1
12817 HAVE_SOME_SLEEP_FUNC
=1
12820 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12822 for ac_func
in nanosleep
12824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12825 echo "configure:12826: checking for $ac_func" >&5
12826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 /* System header to define __stub macros and hopefully few prototypes,
12833 which can conflict with char $ac_func(); below. */
12834 #include <assert.h>
12835 /* Override any gcc2 internal prototype to avoid an error. */
12836 /* We use char because int might match the return type of a gcc2
12837 builtin and then its argument prototype would still apply. */
12842 /* The GNU C library defines this for functions which it implements
12843 to always fail with ENOSYS. Some functions are actually named
12844 something starting with __ and the normal name is an alias. */
12845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12853 if { (eval echo configure
:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12855 eval "ac_cv_func_$ac_func=yes"
12857 echo "configure: failed program was:" >&5
12858 cat conftest.
$ac_ext >&5
12860 eval "ac_cv_func_$ac_func=no"
12865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12866 echo "$ac_t""yes" 1>&6
12867 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12868 cat >> confdefs.h
<<EOF
12869 #define $ac_tr_func 1
12871 cat >> confdefs.h
<<\EOF
12872 #define HAVE_NANOSLEEP 1
12876 echo "$ac_t""no" 1>&6
12877 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
12878 echo "configure:12879: checking for nanosleep in -lposix4" >&5
12879 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
12880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12881 echo $ac_n "(cached) $ac_c" 1>&6
12883 ac_save_LIBS
="$LIBS"
12884 LIBS
="-lposix4 $LIBS"
12885 cat > conftest.
$ac_ext <<EOF
12886 #line 12887 "configure"
12887 #include "confdefs.h"
12888 /* Override any gcc2 internal prototype to avoid an error. */
12889 /* We use char because int might match the return type of a gcc2
12890 builtin and then its argument prototype would still apply. */
12897 if { (eval echo configure
:12898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12899 eval "ac_cv_lib_$ac_lib_var=yes"
12901 echo "configure: failed program was:" >&5
12902 cat conftest.
$ac_ext >&5
12904 eval "ac_cv_lib_$ac_lib_var=no"
12907 LIBS
="$ac_save_LIBS"
12910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12911 echo "$ac_t""yes" 1>&6
12913 cat >> confdefs.h
<<\EOF
12914 #define HAVE_NANOSLEEP 1
12917 POSIX4_LINK
="-lposix4"
12920 echo "$ac_t""no" 1>&6
12922 for ac_func
in usleep
12924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12925 echo "configure:12926: checking for $ac_func" >&5
12926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12927 echo $ac_n "(cached) $ac_c" 1>&6
12929 cat > conftest.
$ac_ext <<EOF
12930 #line 12931 "configure"
12931 #include "confdefs.h"
12932 /* System header to define __stub macros and hopefully few prototypes,
12933 which can conflict with char $ac_func(); below. */
12934 #include <assert.h>
12935 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* We use char because int might match the return type of a gcc2
12937 builtin and then its argument prototype would still apply. */
12942 /* The GNU C library defines this for functions which it implements
12943 to always fail with ENOSYS. Some functions are actually named
12944 something starting with __ and the normal name is an alias. */
12945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12953 if { (eval echo configure
:12954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12955 eval "ac_cv_func_$ac_func=yes"
12957 echo "configure: failed program was:" >&5
12958 cat conftest.
$ac_ext >&5
12960 eval "ac_cv_func_$ac_func=no"
12965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12966 echo "$ac_t""yes" 1>&6
12967 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12968 cat >> confdefs.h
<<EOF
12969 #define $ac_tr_func 1
12971 cat >> confdefs.h
<<\EOF
12972 #define HAVE_USLEEP 1
12976 echo "$ac_t""no" 1>&6
12977 echo "configure: warning: wxSleep() function will not work" 1>&2
12993 for ac_func
in uname gethostname
12995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12996 echo "configure:12997: checking for $ac_func" >&5
12997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12998 echo $ac_n "(cached) $ac_c" 1>&6
13000 cat > conftest.
$ac_ext <<EOF
13001 #line 13002 "configure"
13002 #include "confdefs.h"
13003 /* System header to define __stub macros and hopefully few prototypes,
13004 which can conflict with char $ac_func(); below. */
13005 #include <assert.h>
13006 /* Override any gcc2 internal prototype to avoid an error. */
13007 /* We use char because int might match the return type of a gcc2
13008 builtin and then its argument prototype would still apply. */
13013 /* The GNU C library defines this for functions which it implements
13014 to always fail with ENOSYS. Some functions are actually named
13015 something starting with __ and the normal name is an alias. */
13016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13024 if { (eval echo configure
:13025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13026 eval "ac_cv_func_$ac_func=yes"
13028 echo "configure: failed program was:" >&5
13029 cat conftest.
$ac_ext >&5
13031 eval "ac_cv_func_$ac_func=no"
13036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13037 echo "$ac_t""yes" 1>&6
13038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13039 cat >> confdefs.h
<<EOF
13040 #define $ac_tr_func 1
13044 echo "$ac_t""no" 1>&6
13051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13052 ac_cpp
='$CXXCPP $CPPFLAGS'
13053 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13054 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13055 cross_compiling
=$ac_cv_prog_cxx_cross
13058 for ac_func
in strtok_r
13060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13061 echo "configure:13062: checking for $ac_func" >&5
13062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13063 echo $ac_n "(cached) $ac_c" 1>&6
13065 cat > conftest.
$ac_ext <<EOF
13066 #line 13067 "configure"
13067 #include "confdefs.h"
13068 /* System header to define __stub macros and hopefully few prototypes,
13069 which can conflict with char $ac_func(); below. */
13070 #include <assert.h>
13071 /* Override any gcc2 internal prototype to avoid an error. */
13075 /* We use char because int might match the return type of a gcc2
13076 builtin and then its argument prototype would still apply. */
13081 /* The GNU C library defines this for functions which it implements
13082 to always fail with ENOSYS. Some functions are actually named
13083 something starting with __ and the normal name is an alias. */
13084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13092 if { (eval echo configure
:13093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13094 eval "ac_cv_func_$ac_func=yes"
13096 echo "configure: failed program was:" >&5
13097 cat conftest.
$ac_ext >&5
13099 eval "ac_cv_func_$ac_func=no"
13104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13105 echo "$ac_t""yes" 1>&6
13106 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13107 cat >> confdefs.h
<<EOF
13108 #define $ac_tr_func 1
13112 echo "$ac_t""no" 1>&6
13118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13119 ac_cpp
='$CPP $CPPFLAGS'
13120 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13121 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13122 cross_compiling
=$ac_cv_prog_cc_cross
13126 for ac_func
in inet_addr
13128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13129 echo "configure:13130: checking for $ac_func" >&5
13130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13131 echo $ac_n "(cached) $ac_c" 1>&6
13133 cat > conftest.
$ac_ext <<EOF
13134 #line 13135 "configure"
13135 #include "confdefs.h"
13136 /* System header to define __stub macros and hopefully few prototypes,
13137 which can conflict with char $ac_func(); below. */
13138 #include <assert.h>
13139 /* Override any gcc2 internal prototype to avoid an error. */
13140 /* We use char because int might match the return type of a gcc2
13141 builtin and then its argument prototype would still apply. */
13146 /* The GNU C library defines this for functions which it implements
13147 to always fail with ENOSYS. Some functions are actually named
13148 something starting with __ and the normal name is an alias. */
13149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13157 if { (eval echo configure
:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13159 eval "ac_cv_func_$ac_func=yes"
13161 echo "configure: failed program was:" >&5
13162 cat conftest.
$ac_ext >&5
13164 eval "ac_cv_func_$ac_func=no"
13169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13170 echo "$ac_t""yes" 1>&6
13171 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13172 cat >> confdefs.h
<<EOF
13173 #define $ac_tr_func 1
13175 cat >> confdefs.h
<<\EOF
13176 #define HAVE_INET_ADDR 1
13180 echo "$ac_t""no" 1>&6
13181 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13182 echo "configure:13183: checking for inet_addr in -lnsl" >&5
13183 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13185 echo $ac_n "(cached) $ac_c" 1>&6
13187 ac_save_LIBS
="$LIBS"
13189 cat > conftest.
$ac_ext <<EOF
13190 #line 13191 "configure"
13191 #include "confdefs.h"
13192 /* Override any gcc2 internal prototype to avoid an error. */
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13201 if { (eval echo configure
:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13203 eval "ac_cv_lib_$ac_lib_var=yes"
13205 echo "configure: failed program was:" >&5
13206 cat conftest.
$ac_ext >&5
13208 eval "ac_cv_lib_$ac_lib_var=no"
13211 LIBS
="$ac_save_LIBS"
13214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13215 echo "$ac_t""yes" 1>&6
13218 echo "$ac_t""no" 1>&6
13219 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13220 echo "configure:13221: checking for inet_addr in -lresolv" >&5
13221 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13223 echo $ac_n "(cached) $ac_c" 1>&6
13225 ac_save_LIBS
="$LIBS"
13226 LIBS
="-lresolv $LIBS"
13227 cat > conftest.
$ac_ext <<EOF
13228 #line 13229 "configure"
13229 #include "confdefs.h"
13230 /* Override any gcc2 internal prototype to avoid an error. */
13231 /* We use char because int might match the return type of a gcc2
13232 builtin and then its argument prototype would still apply. */
13239 if { (eval echo configure
:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13241 eval "ac_cv_lib_$ac_lib_var=yes"
13243 echo "configure: failed program was:" >&5
13244 cat conftest.
$ac_ext >&5
13246 eval "ac_cv_lib_$ac_lib_var=no"
13249 LIBS
="$ac_save_LIBS"
13252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13253 echo "$ac_t""yes" 1>&6
13257 echo "$ac_t""no" 1>&6
13269 for ac_func
in inet_aton
13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_func" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.
$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char $ac_func(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 if { (eval echo configure
:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13302 eval "ac_cv_func_$ac_func=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13307 eval "ac_cv_func_$ac_func=no"
13312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13314 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13315 cat >> confdefs.h
<<EOF
13316 #define $ac_tr_func 1
13318 cat >> confdefs.h
<<\EOF
13319 #define HAVE_INET_ATON 1
13323 echo "$ac_t""no" 1>&6
13324 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13325 echo "configure:13326: checking for inet_aton in -l$INET_LINK" >&5
13326 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13328 echo $ac_n "(cached) $ac_c" 1>&6
13330 ac_save_LIBS
="$LIBS"
13331 LIBS
="-l$INET_LINK $LIBS"
13332 cat > conftest.
$ac_ext <<EOF
13333 #line 13334 "configure"
13334 #include "confdefs.h"
13335 /* Override any gcc2 internal prototype to avoid an error. */
13336 /* We use char because int might match the return type of a gcc2
13337 builtin and then its argument prototype would still apply. */
13344 if { (eval echo configure
:13345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13346 eval "ac_cv_lib_$ac_lib_var=yes"
13348 echo "configure: failed program was:" >&5
13349 cat conftest.
$ac_ext >&5
13351 eval "ac_cv_lib_$ac_lib_var=no"
13354 LIBS
="$ac_save_LIBS"
13357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13358 echo "$ac_t""yes" 1>&6
13359 cat >> confdefs.h
<<\EOF
13360 #define HAVE_INET_ATON 1
13364 echo "$ac_t""no" 1>&6
13372 if test "x$INET_LINK" != "x"; then
13373 cat >> confdefs.h
<<\EOF
13374 #define HAVE_INET_ADDR 1
13377 INET_LINK
="-l$INET_LINK"
13383 cat > confcache
<<\EOF
13384 # This file is a shell script that caches the results of configure
13385 # tests run on this system so they can be shared between configure
13386 # scripts and configure runs. It is not useful on other systems.
13387 # If it contains results you don't want to keep, you may remove or edit it.
13389 # By default, configure uses ./config.cache as the cache file,
13390 # creating it if it does not exist already. You can give configure
13391 # the --cache-file=FILE option to use a different cache file; that is
13392 # what configure does when it calls configure scripts in
13393 # subdirectories, so they share the cache.
13394 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13395 # config.status only pays attention to the cache file if you give it the
13396 # --recheck option to rerun configure.
13399 # The following way of writing the cache mishandles newlines in values,
13400 # but we know of no workaround that is simple, portable, and efficient.
13401 # So, don't put newlines in cache variables' values.
13402 # Ultrix sh set writes to stderr and can't be redirected directly,
13403 # and sets the high bit in the cache file unless we assign to the vars.
13405 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13407 # `set' does not quote correctly, so add quotes (double-quote substitution
13408 # turns \\\\ into \\, and sed turns \\ into \).
13410 -e "s/'/'\\\\''/g" \
13411 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13414 # `set' quotes correctly as required by POSIX, so do not add quotes.
13415 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13418 if cmp -s $cache_file confcache
; then
13421 if test -w $cache_file; then
13422 echo "updating cache $cache_file"
13423 cat confcache
> $cache_file
13425 echo "not updating unwritable cache $cache_file"
13432 if test "$TOOLKIT" != "MSW"; then
13438 if test "$wxUSE_THREADS" = "yes" ; then
13439 if test "$wxUSE_WINE" = 1 ; then
13440 echo "configure: warning: Threads are not supported under WINE" 1>&2
13442 elif test "$USE_BEOS" = 1; then
13443 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13448 if test "$wxUSE_THREADS" = "yes" ; then
13450 if test "$USE_AIX" = 1; then
13451 THREADS_LIB
=pthreads
13453 THREADS_LIB
=pthread
13456 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13457 echo "configure:13458: checking for pthread_create in -l$THREADS_LIB" >&5
13458 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13459 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13460 echo $ac_n "(cached) $ac_c" 1>&6
13462 ac_save_LIBS
="$LIBS"
13463 LIBS
="-l$THREADS_LIB $LIBS"
13464 cat > conftest.
$ac_ext <<EOF
13465 #line 13466 "configure"
13466 #include "confdefs.h"
13467 /* Override any gcc2 internal prototype to avoid an error. */
13468 /* We use char because int might match the return type of a gcc2
13469 builtin and then its argument prototype would still apply. */
13470 char pthread_create();
13476 if { (eval echo configure
:13477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13478 eval "ac_cv_lib_$ac_lib_var=yes"
13480 echo "configure: failed program was:" >&5
13481 cat conftest.
$ac_ext >&5
13483 eval "ac_cv_lib_$ac_lib_var=no"
13486 LIBS
="$ac_save_LIBS"
13489 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13490 echo "$ac_t""yes" 1>&6
13492 THREADS_OBJ
="threadpsx.lo"
13493 THREADS_LINK
=$THREADS_LIB
13496 echo "$ac_t""no" 1>&6
13498 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13499 echo "configure:13500: checking for pthread_create in -lc_r" >&5
13500 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13502 echo $ac_n "(cached) $ac_c" 1>&6
13504 ac_save_LIBS
="$LIBS"
13506 cat > conftest.
$ac_ext <<EOF
13507 #line 13508 "configure"
13508 #include "confdefs.h"
13509 /* Override any gcc2 internal prototype to avoid an error. */
13510 /* We use char because int might match the return type of a gcc2
13511 builtin and then its argument prototype would still apply. */
13512 char pthread_create();
13518 if { (eval echo configure
:13519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13520 eval "ac_cv_lib_$ac_lib_var=yes"
13522 echo "configure: failed program was:" >&5
13523 cat conftest.
$ac_ext >&5
13525 eval "ac_cv_lib_$ac_lib_var=no"
13528 LIBS
="$ac_save_LIBS"
13531 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13532 echo "$ac_t""yes" 1>&6
13534 THREADS_OBJ
="threadpsx.lo"
13538 echo "$ac_t""no" 1>&6
13540 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13541 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13542 echo "configure:13543: checking for sys/prctl.h" >&5
13543 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13544 echo $ac_n "(cached) $ac_c" 1>&6
13546 cat > conftest.
$ac_ext <<EOF
13547 #line 13548 "configure"
13548 #include "confdefs.h"
13549 #include <sys/prctl.h>
13551 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13552 { (eval echo configure
:13553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13553 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13554 if test -z "$ac_err"; then
13556 eval "ac_cv_header_$ac_safe=yes"
13559 echo "configure: failed program was:" >&5
13560 cat conftest.
$ac_ext >&5
13562 eval "ac_cv_header_$ac_safe=no"
13566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13567 echo "$ac_t""yes" 1>&6
13569 THREADS_OBJ
="threadsgi.lo"
13572 echo "$ac_t""no" 1>&6
13582 if test -z "$THREADS_OBJ" ; then
13584 echo "configure: warning: No thread support on this system" 1>&2
13588 if test "$wxUSE_THREADS" = "yes" ; then
13589 for ac_func
in thr_setconcurrency
13591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13592 echo "configure:13593: checking for $ac_func" >&5
13593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13594 echo $ac_n "(cached) $ac_c" 1>&6
13596 cat > conftest.
$ac_ext <<EOF
13597 #line 13598 "configure"
13598 #include "confdefs.h"
13599 /* System header to define __stub macros and hopefully few prototypes,
13600 which can conflict with char $ac_func(); below. */
13601 #include <assert.h>
13602 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13609 /* The GNU C library defines this for functions which it implements
13610 to always fail with ENOSYS. Some functions are actually named
13611 something starting with __ and the normal name is an alias. */
13612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13620 if { (eval echo configure
:13621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13622 eval "ac_cv_func_$ac_func=yes"
13624 echo "configure: failed program was:" >&5
13625 cat conftest.
$ac_ext >&5
13627 eval "ac_cv_func_$ac_func=no"
13632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13633 echo "$ac_t""yes" 1>&6
13634 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13635 cat >> confdefs.h
<<EOF
13636 #define $ac_tr_func 1
13640 echo "$ac_t""no" 1>&6
13646 for ac_hdr
in sched.h
13648 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13649 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13650 echo "configure:13651: checking for $ac_hdr" >&5
13651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13652 echo $ac_n "(cached) $ac_c" 1>&6
13654 cat > conftest.
$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13659 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13660 { (eval echo configure
:13661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13661 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13662 if test -z "$ac_err"; then
13664 eval "ac_cv_header_$ac_safe=yes"
13667 echo "configure: failed program was:" >&5
13668 cat conftest.
$ac_ext >&5
13670 eval "ac_cv_header_$ac_safe=no"
13674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13675 echo "$ac_t""yes" 1>&6
13676 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13677 cat >> confdefs.h
<<EOF
13678 #define $ac_tr_hdr 1
13682 echo "$ac_t""no" 1>&6
13687 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13688 echo "configure:13689: checking for sched_yield in -l$THREADS_LINK" >&5
13689 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13691 echo $ac_n "(cached) $ac_c" 1>&6
13693 ac_save_LIBS
="$LIBS"
13694 LIBS
="-l$THREADS_LINK $LIBS"
13695 cat > conftest.
$ac_ext <<EOF
13696 #line 13697 "configure"
13697 #include "confdefs.h"
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13701 char sched_yield();
13707 if { (eval echo configure
:13708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13709 eval "ac_cv_lib_$ac_lib_var=yes"
13711 echo "configure: failed program was:" >&5
13712 cat conftest.
$ac_ext >&5
13714 eval "ac_cv_lib_$ac_lib_var=no"
13717 LIBS
="$ac_save_LIBS"
13720 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13721 echo "$ac_t""yes" 1>&6
13722 cat >> confdefs.h
<<\EOF
13723 #define HAVE_SCHED_YIELD 1
13727 echo "$ac_t""no" 1>&6
13728 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13729 echo "configure:13730: checking for sched_yield in -lposix4" >&5
13730 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13732 echo $ac_n "(cached) $ac_c" 1>&6
13734 ac_save_LIBS
="$LIBS"
13735 LIBS
="-lposix4 $LIBS"
13736 cat > conftest.
$ac_ext <<EOF
13737 #line 13738 "configure"
13738 #include "confdefs.h"
13739 /* Override any gcc2 internal prototype to avoid an error. */
13740 /* We use char because int might match the return type of a gcc2
13741 builtin and then its argument prototype would still apply. */
13742 char sched_yield();
13748 if { (eval echo configure
:13749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13750 eval "ac_cv_lib_$ac_lib_var=yes"
13752 echo "configure: failed program was:" >&5
13753 cat conftest.
$ac_ext >&5
13755 eval "ac_cv_lib_$ac_lib_var=no"
13758 LIBS
="$ac_save_LIBS"
13761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13762 echo "$ac_t""yes" 1>&6
13763 cat >> confdefs.h
<<\EOF
13764 #define HAVE_SCHED_YIELD 1
13766 POSIX4_LINK
="-lposix4"
13768 echo "$ac_t""no" 1>&6
13769 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13778 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13779 echo "configure:13780: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13780 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13782 echo $ac_n "(cached) $ac_c" 1>&6
13784 ac_save_LIBS
="$LIBS"
13785 LIBS
="-l$THREADS_LINK $LIBS"
13786 cat > conftest.
$ac_ext <<EOF
13787 #line 13788 "configure"
13788 #include "confdefs.h"
13789 /* Override any gcc2 internal prototype to avoid an error. */
13790 /* We use char because int might match the return type of a gcc2
13791 builtin and then its argument prototype would still apply. */
13792 char pthread_attr_getschedpolicy();
13795 pthread_attr_getschedpolicy()
13798 if { (eval echo configure
:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13800 eval "ac_cv_lib_$ac_lib_var=yes"
13802 echo "configure: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13805 eval "ac_cv_lib_$ac_lib_var=no"
13808 LIBS
="$ac_save_LIBS"
13811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13812 echo "$ac_t""yes" 1>&6
13813 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13814 echo "configure:13815: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13815 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13817 echo $ac_n "(cached) $ac_c" 1>&6
13819 ac_save_LIBS
="$LIBS"
13820 LIBS
="-l$THREADS_LINK $LIBS"
13821 cat > conftest.
$ac_ext <<EOF
13822 #line 13823 "configure"
13823 #include "confdefs.h"
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 /* We use char because int might match the return type of a gcc2
13826 builtin and then its argument prototype would still apply. */
13827 char pthread_attr_setschedparam();
13830 pthread_attr_setschedparam()
13833 if { (eval echo configure
:13834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13835 eval "ac_cv_lib_$ac_lib_var=yes"
13837 echo "configure: failed program was:" >&5
13838 cat conftest.
$ac_ext >&5
13840 eval "ac_cv_lib_$ac_lib_var=no"
13843 LIBS
="$ac_save_LIBS"
13846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13847 echo "$ac_t""yes" 1>&6
13848 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13849 echo "configure:13850: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13850 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13851 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13852 echo $ac_n "(cached) $ac_c" 1>&6
13854 ac_save_LIBS
="$LIBS"
13855 LIBS
="-l$THREADS_LINK $LIBS"
13856 cat > conftest.
$ac_ext <<EOF
13857 #line 13858 "configure"
13858 #include "confdefs.h"
13859 /* Override any gcc2 internal prototype to avoid an error. */
13860 /* We use char because int might match the return type of a gcc2
13861 builtin and then its argument prototype would still apply. */
13862 char sched_get_priority_max();
13865 sched_get_priority_max()
13868 if { (eval echo configure
:13869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13870 eval "ac_cv_lib_$ac_lib_var=yes"
13872 echo "configure: failed program was:" >&5
13873 cat conftest.
$ac_ext >&5
13875 eval "ac_cv_lib_$ac_lib_var=no"
13878 LIBS
="$ac_save_LIBS"
13881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13882 echo "$ac_t""yes" 1>&6
13885 echo "$ac_t""no" 1>&6
13886 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
13887 echo "configure:13888: checking for sched_get_priority_max in -lposix4" >&5
13888 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13890 echo $ac_n "(cached) $ac_c" 1>&6
13892 ac_save_LIBS
="$LIBS"
13893 LIBS
="-lposix4 $LIBS"
13894 cat > conftest.
$ac_ext <<EOF
13895 #line 13896 "configure"
13896 #include "confdefs.h"
13897 /* Override any gcc2 internal prototype to avoid an error. */
13898 /* We use char because int might match the return type of a gcc2
13899 builtin and then its argument prototype would still apply. */
13900 char sched_get_priority_max();
13903 sched_get_priority_max()
13906 if { (eval echo configure
:13907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13908 eval "ac_cv_lib_$ac_lib_var=yes"
13910 echo "configure: failed program was:" >&5
13911 cat conftest.
$ac_ext >&5
13913 eval "ac_cv_lib_$ac_lib_var=no"
13916 LIBS
="$ac_save_LIBS"
13919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13920 echo "$ac_t""yes" 1>&6
13923 POSIX4_LINK
="-lposix4"
13926 echo "$ac_t""no" 1>&6
13934 echo "$ac_t""no" 1>&6
13939 echo "$ac_t""no" 1>&6
13943 if test "$HAVE_PRIOR_FUNCS" = 1; then
13944 cat >> confdefs.h
<<\EOF
13945 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
13949 echo "configure: warning: Setting thread priority will not work" 1>&2
13952 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
13953 echo "configure:13954: checking for pthread_cancel in -l$THREADS_LINK" >&5
13954 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
13955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13956 echo $ac_n "(cached) $ac_c" 1>&6
13958 ac_save_LIBS
="$LIBS"
13959 LIBS
="-l$THREADS_LINK $LIBS"
13960 cat > conftest.
$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13963 /* Override any gcc2 internal prototype to avoid an error. */
13964 /* We use char because int might match the return type of a gcc2
13965 builtin and then its argument prototype would still apply. */
13966 char pthread_cancel();
13972 if { (eval echo configure
:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13974 eval "ac_cv_lib_$ac_lib_var=yes"
13976 echo "configure: failed program was:" >&5
13977 cat conftest.
$ac_ext >&5
13979 eval "ac_cv_lib_$ac_lib_var=no"
13982 LIBS
="$ac_save_LIBS"
13985 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13986 echo "$ac_t""yes" 1>&6
13987 cat >> confdefs.h
<<\EOF
13988 #define HAVE_PTHREAD_CANCEL 1
13992 echo "$ac_t""no" 1>&6
13993 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
13997 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
13998 echo "configure:13999: checking for pthread_cleanup_push/pop" >&5
13999 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14000 echo $ac_n "(cached) $ac_c" 1>&6
14003 cat > conftest.
$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14006 #include <pthread.h>
14009 pthread_cleanup_push(NULL, NULL);
14010 pthread_cleanup_pop(0);
14014 if { (eval echo configure
:14015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14017 wx_cv_func_pthread_cleanup_push
=yes
14020 echo "configure: failed program was:" >&5
14021 cat conftest.
$ac_ext >&5
14024 wx_cv_func_pthread_cleanup_push
=no
14031 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14033 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14034 cat >> confdefs.h
<<\EOF
14035 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14041 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14042 echo "configure:14043: checking for pthread_mutexattr_t" >&5
14043 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14044 echo $ac_n "(cached) $ac_c" 1>&6
14047 cat > conftest.
$ac_ext <<EOF
14048 #line 14049 "configure"
14049 #include "confdefs.h"
14050 #include <pthread.h>
14053 pthread_mutexattr_t attr;
14054 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14058 if { (eval echo configure
:14059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14061 wx_cv_type_pthread_mutexattr_t
=yes
14064 echo "configure: failed program was:" >&5
14065 cat conftest.
$ac_ext >&5
14068 wx_cv_type_pthread_mutexattr_t
=no
14076 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14078 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14079 cat >> confdefs.h
<<\EOF
14080 #define HAVE_PTHREAD_MUTEXATTR_T 1
14084 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14085 echo "configure:14086: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14086 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14090 cat > conftest.
$ac_ext <<EOF
14091 #line 14092 "configure"
14092 #include "confdefs.h"
14093 #include <pthread.h>
14096 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14100 if { (eval echo configure
:14101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14103 wx_cv_type_pthread_rec_mutex_init
=yes
14106 echo "configure: failed program was:" >&5
14107 cat conftest.
$ac_ext >&5
14110 wx_cv_type_pthread_rec_mutex_init
=no
14118 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14119 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14120 cat >> confdefs.h
<<\EOF
14121 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14125 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14129 THREADS_LINK
="-l$THREADS_LINK"
14131 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14132 CFLAGS
="${CFLAGS} -mt"
14133 CXXFLAGS
="${CXXFLAGS} -mt"
14134 LDFLAGS
="${LDFLAGS} -mt"
14140 if test "$wxUSE_THREADS" = "yes"; then
14141 cat >> confdefs.h
<<\EOF
14142 #define wxUSE_THREADS 1
14146 if test "$wxUSE_MAC" = "0"; then
14147 CFLAGS
="${CFLAGS} -D_REENTRANT"
14148 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14153 if test "$ac_cv_func_strtok_r" = "yes"; then
14154 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14155 echo "configure:14156: checking if -D_REENTRANT is needed" >&5
14156 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14157 CFLAGS
="${CFLAGS} -D_REENTRANT"
14158 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14159 echo "$ac_t""yes" 1>&6
14161 echo "$ac_t""no" 1>&6
14166 if test "$WXGTK20" = 1 ; then
14167 cat >> confdefs.h
<<EOF
14168 #define __WXGTK20__ $WXGTK20
14174 if test "$WXGTK12" = 1 ; then
14175 cat >> confdefs.h
<<EOF
14176 #define __WXGTK12__ $WXGTK12
14181 if test "$WXGTK127" = 1 ; then
14182 cat >> confdefs.h
<<EOF
14183 #define __WXGTK127__ $WXGTK127
14188 if test "$WXWINE" = 1 ; then
14189 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14192 if test "$wxUSE_MAC" = 1 ; then
14193 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14194 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14195 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14196 # Extract the first word of "Rez", so it can be a program name with args.
14197 set dummy Rez
; ac_word
=$2
14198 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14199 echo "configure:14200: checking for $ac_word" >&5
14200 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14201 echo $ac_n "(cached) $ac_c" 1>&6
14203 if test -n "$REZ"; then
14204 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14206 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14208 for ac_dir
in $ac_dummy; do
14209 test -z "$ac_dir" && ac_dir
=.
14210 if test -f $ac_dir/$ac_word; then
14211 ac_cv_prog_REZ
="Rez"
14216 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14219 REZ
="$ac_cv_prog_REZ"
14220 if test -n "$REZ"; then
14221 echo "$ac_t""$REZ" 1>&6
14223 echo "$ac_t""no" 1>&6
14226 # Extract the first word of "Derez", so it can be a program name with args.
14227 set dummy Derez
; ac_word
=$2
14228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14229 echo "configure:14230: checking for $ac_word" >&5
14230 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14231 echo $ac_n "(cached) $ac_c" 1>&6
14233 if test -n "$DEREZ"; then
14234 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14236 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14238 for ac_dir
in $ac_dummy; do
14239 test -z "$ac_dir" && ac_dir
=.
14240 if test -f $ac_dir/$ac_word; then
14241 ac_cv_prog_DEREZ
="Derez"
14246 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14249 DEREZ
="$ac_cv_prog_DEREZ"
14250 if test -n "$DEREZ"; then
14251 echo "$ac_t""$DEREZ" 1>&6
14253 echo "$ac_t""no" 1>&6
14257 REZFLAGS
="-d __UNIX__ -useDF"
14258 DEREZFLAGS
="Carbon.r -useDF"
14259 RESFLAGS
="Carbon.r -t APPL"
14260 LIBWXMACRES
="\$(LIBWX_MACRES)"
14261 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14264 if test "$wxUSE_CYGWIN" = 1 ; then
14265 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14270 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14275 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14276 wxUSE_DEBUG_INFO
=yes
14280 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14281 cat >> confdefs.h
<<\EOF
14285 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14287 if test "$wxUSE_GTK" = 1 ; then
14288 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14292 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14293 cat >> confdefs.h
<<\EOF
14294 #define wxUSE_MEMORY_TRACING 1
14297 cat >> confdefs.h
<<\EOF
14298 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14301 cat >> confdefs.h
<<\EOF
14302 #define wxUSE_DEBUG_NEW_ALWAYS 1
14305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14308 if test "$wxUSE_DMALLOC" = "yes" ; then
14309 DMALLOC_LINK
="-ldmalloc"
14313 if test "$wxUSE_PROFILE" = "yes" ; then
14319 CODE_GEN_FLAGS_CXX
=
14320 if test "$GCC" = yes ; then
14321 if test "$wxUSE_NO_RTTI" = "yes" ; then
14322 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14324 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14325 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14327 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14328 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14330 if test "$wxUSE_NO_DEPS" = "no" ; then
14331 DEP_INFO_FLAGS
="-MMD"
14336 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14337 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14338 if test "$wxUSE_OPTIMISE" = "no" ; then
14341 if test "$GCC" = yes ; then
14344 i586
-*-*|i686
-*-* )
14345 OPTIMISE
="${OPTIMISE} "
14355 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14356 cat >> confdefs.h
<<\EOF
14357 #define wxUSE_ZLIB 1
14360 if test "$wxUSE_ZLIB" = "yes" ; then
14361 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14364 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14365 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14366 echo "configure:14367: checking for zlib.h" >&5
14367 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14368 echo $ac_n "(cached) $ac_c" 1>&6
14370 cat > conftest.
$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14375 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14376 { (eval echo configure
:14377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14377 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14378 if test -z "$ac_err"; then
14380 eval "ac_cv_header_$ac_safe=yes"
14383 echo "configure: failed program was:" >&5
14384 cat conftest.
$ac_ext >&5
14386 eval "ac_cv_header_$ac_safe=no"
14390 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14391 echo "$ac_t""yes" 1>&6
14392 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14393 echo "configure:14394: checking for deflate in -lz" >&5
14394 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14396 echo $ac_n "(cached) $ac_c" 1>&6
14398 ac_save_LIBS
="$LIBS"
14400 cat > conftest.
$ac_ext <<EOF
14401 #line 14402 "configure"
14402 #include "confdefs.h"
14403 /* Override any gcc2 internal prototype to avoid an error. */
14404 /* We use char because int might match the return type of a gcc2
14405 builtin and then its argument prototype would still apply. */
14412 if { (eval echo configure
:14413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14414 eval "ac_cv_lib_$ac_lib_var=yes"
14416 echo "configure: failed program was:" >&5
14417 cat conftest.
$ac_ext >&5
14419 eval "ac_cv_lib_$ac_lib_var=no"
14422 LIBS
="$ac_save_LIBS"
14425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14426 echo "$ac_t""yes" 1>&6
14429 echo "$ac_t""no" 1>&6
14433 echo "$ac_t""no" 1>&6
14436 if test "x$ZLIB_LINK" = "x" ; then
14437 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14443 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14444 cat >> confdefs.h
<<\EOF
14445 #define wxUSE_LIBPNG 1
14448 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14449 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14453 if test "$wxUSE_LIBPNG" = "yes" ; then
14454 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14457 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14458 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14459 echo "configure:14460: checking for png.h" >&5
14460 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14461 echo $ac_n "(cached) $ac_c" 1>&6
14463 cat > conftest.
$ac_ext <<EOF
14464 #line 14465 "configure"
14465 #include "confdefs.h"
14468 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14469 { (eval echo configure
:14470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14470 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14471 if test -z "$ac_err"; then
14473 eval "ac_cv_header_$ac_safe=yes"
14476 echo "configure: failed program was:" >&5
14477 cat conftest.
$ac_ext >&5
14479 eval "ac_cv_header_$ac_safe=no"
14483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14484 echo "$ac_t""yes" 1>&6
14485 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14486 echo "configure:14487: checking for png_check_sig in -lpng" >&5
14487 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14489 echo $ac_n "(cached) $ac_c" 1>&6
14491 ac_save_LIBS
="$LIBS"
14492 LIBS
="-lpng -lz -lm $LIBS"
14493 cat > conftest.
$ac_ext <<EOF
14494 #line 14495 "configure"
14495 #include "confdefs.h"
14496 /* Override any gcc2 internal prototype to avoid an error. */
14497 /* We use char because int might match the return type of a gcc2
14498 builtin and then its argument prototype would still apply. */
14499 char png_check_sig();
14505 if { (eval echo configure
:14506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14507 eval "ac_cv_lib_$ac_lib_var=yes"
14509 echo "configure: failed program was:" >&5
14510 cat conftest.
$ac_ext >&5
14512 eval "ac_cv_lib_$ac_lib_var=no"
14515 LIBS
="$ac_save_LIBS"
14518 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14519 echo "$ac_t""yes" 1>&6
14522 echo "$ac_t""no" 1>&6
14527 echo "$ac_t""no" 1>&6
14530 if test "x$PNG_LINK" = "x" ; then
14531 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14539 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14540 cat >> confdefs.h
<<\EOF
14541 #define wxUSE_LIBJPEG 1
14544 if test "$wxUSE_LIBJPEG" = "yes" ; then
14545 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14548 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
14549 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14550 echo "configure:14551: checking for jpeglib.h" >&5
14551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14552 echo $ac_n "(cached) $ac_c" 1>&6
14554 cat > conftest.
$ac_ext <<EOF
14555 #line 14556 "configure"
14556 #include "confdefs.h"
14557 #include <jpeglib.h>
14559 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14560 { (eval echo configure
:14561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14561 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14562 if test -z "$ac_err"; then
14564 eval "ac_cv_header_$ac_safe=yes"
14567 echo "configure: failed program was:" >&5
14568 cat conftest.
$ac_ext >&5
14570 eval "ac_cv_header_$ac_safe=no"
14574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14575 echo "$ac_t""yes" 1>&6
14576 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14577 echo "configure:14578: checking for jpeg_read_header in -ljpeg" >&5
14578 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14580 echo $ac_n "(cached) $ac_c" 1>&6
14582 ac_save_LIBS
="$LIBS"
14583 LIBS
="-ljpeg $LIBS"
14584 cat > conftest.
$ac_ext <<EOF
14585 #line 14586 "configure"
14586 #include "confdefs.h"
14587 /* Override any gcc2 internal prototype to avoid an error. */
14588 /* We use char because int might match the return type of a gcc2
14589 builtin and then its argument prototype would still apply. */
14590 char jpeg_read_header();
14596 if { (eval echo configure
:14597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14598 eval "ac_cv_lib_$ac_lib_var=yes"
14600 echo "configure: failed program was:" >&5
14601 cat conftest.
$ac_ext >&5
14603 eval "ac_cv_lib_$ac_lib_var=no"
14606 LIBS
="$ac_save_LIBS"
14609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14610 echo "$ac_t""yes" 1>&6
14613 echo "$ac_t""no" 1>&6
14617 echo "$ac_t""no" 1>&6
14620 if test "x$JPEG_LINK" = "x" ; then
14621 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14627 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14628 cat >> confdefs.h
<<\EOF
14629 #define wxUSE_LIBTIFF 1
14632 if test "$wxUSE_LIBTIFF" = "yes" ; then
14633 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14636 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14637 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14638 echo "configure:14639: checking for tiffio.h" >&5
14639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14642 cat > conftest.
$ac_ext <<EOF
14643 #line 14644 "configure"
14644 #include "confdefs.h"
14645 #include <tiffio.h>
14647 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14648 { (eval echo configure
:14649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14649 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14650 if test -z "$ac_err"; then
14652 eval "ac_cv_header_$ac_safe=yes"
14655 echo "configure: failed program was:" >&5
14656 cat conftest.
$ac_ext >&5
14658 eval "ac_cv_header_$ac_safe=no"
14662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14663 echo "$ac_t""yes" 1>&6
14664 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14665 echo "configure:14666: checking for TIFFError in -ltiff" >&5
14666 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14668 echo $ac_n "(cached) $ac_c" 1>&6
14670 ac_save_LIBS
="$LIBS"
14671 LIBS
="-ltiff -lm $LIBS"
14672 cat > conftest.
$ac_ext <<EOF
14673 #line 14674 "configure"
14674 #include "confdefs.h"
14675 /* Override any gcc2 internal prototype to avoid an error. */
14676 /* We use char because int might match the return type of a gcc2
14677 builtin and then its argument prototype would still apply. */
14684 if { (eval echo configure
:14685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14686 eval "ac_cv_lib_$ac_lib_var=yes"
14688 echo "configure: failed program was:" >&5
14689 cat conftest.
$ac_ext >&5
14691 eval "ac_cv_lib_$ac_lib_var=no"
14694 LIBS
="$ac_save_LIBS"
14697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14698 echo "$ac_t""yes" 1>&6
14701 echo "$ac_t""no" 1>&6
14705 echo "$ac_t""no" 1>&6
14708 if test "x$TIFF_LINK" = "x" ; then
14709 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14715 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14716 cat >> confdefs.h
<<\EOF
14717 #define wxUSE_FREETYPE 1
14720 if test "$wxUSE_FREETYPE" = "yes" ; then
14721 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14724 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14725 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14726 echo "configure:14727: checking for freetype.h" >&5
14727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14730 cat > conftest.
$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 #include <freetype.h>
14735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14736 { (eval echo configure
:14737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14738 if test -z "$ac_err"; then
14740 eval "ac_cv_header_$ac_safe=yes"
14743 echo "configure: failed program was:" >&5
14744 cat conftest.
$ac_ext >&5
14746 eval "ac_cv_header_$ac_safe=no"
14750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14751 echo "$ac_t""yes" 1>&6
14752 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14753 echo "configure:14754: checking for FT_Render_Glyph in -lfreetype" >&5
14754 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14755 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14756 echo $ac_n "(cached) $ac_c" 1>&6
14758 ac_save_LIBS
="$LIBS"
14759 LIBS
="-lfreetype -lm $LIBS"
14760 cat > conftest.
$ac_ext <<EOF
14761 #line 14762 "configure"
14762 #include "confdefs.h"
14763 /* Override any gcc2 internal prototype to avoid an error. */
14764 /* We use char because int might match the return type of a gcc2
14765 builtin and then its argument prototype would still apply. */
14766 char FT_Render_Glyph();
14772 if { (eval echo configure
:14773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14774 eval "ac_cv_lib_$ac_lib_var=yes"
14776 echo "configure: failed program was:" >&5
14777 cat conftest.
$ac_ext >&5
14779 eval "ac_cv_lib_$ac_lib_var=no"
14782 LIBS
="$ac_save_LIBS"
14785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14786 echo "$ac_t""yes" 1>&6
14787 FREETYPE_LINK
="-lfreetype"
14789 echo "$ac_t""no" 1>&6
14794 echo "$ac_t""no" 1>&6
14797 if test "x$FREETYPE_LINK" = "x" ; then
14798 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14803 if test "$wxUSE_OPENGL" = "yes"; then
14804 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14805 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14806 echo "configure:14807: checking for GL/gl.h" >&5
14807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14808 echo $ac_n "(cached) $ac_c" 1>&6
14810 cat > conftest.
$ac_ext <<EOF
14811 #line 14812 "configure"
14812 #include "confdefs.h"
14815 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14816 { (eval echo configure
:14817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14817 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14818 if test -z "$ac_err"; then
14820 eval "ac_cv_header_$ac_safe=yes"
14823 echo "configure: failed program was:" >&5
14824 cat conftest.
$ac_ext >&5
14826 eval "ac_cv_header_$ac_safe=no"
14830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14831 echo "$ac_t""yes" 1>&6
14833 cat >> confdefs.h
<<\EOF
14834 #define wxUSE_OPENGL 1
14837 cat >> confdefs.h
<<\EOF
14838 #define wxUSE_GLCANVAS 1
14841 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14842 echo "configure:14843: checking for glFlush in -lGL" >&5
14843 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14845 echo $ac_n "(cached) $ac_c" 1>&6
14847 ac_save_LIBS
="$LIBS"
14849 cat > conftest.
$ac_ext <<EOF
14850 #line 14851 "configure"
14851 #include "confdefs.h"
14852 /* Override any gcc2 internal prototype to avoid an error. */
14853 /* We use char because int might match the return type of a gcc2
14854 builtin and then its argument prototype would still apply. */
14861 if { (eval echo configure
:14862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14863 eval "ac_cv_lib_$ac_lib_var=yes"
14865 echo "configure: failed program was:" >&5
14866 cat conftest.
$ac_ext >&5
14868 eval "ac_cv_lib_$ac_lib_var=no"
14871 LIBS
="$ac_save_LIBS"
14874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14875 echo "$ac_t""yes" 1>&6
14877 OPENGL_LINK
="-lGL -lGLU"
14880 echo "$ac_t""no" 1>&6
14882 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
14883 echo "configure:14884: checking for glFlush in -lMesaGL" >&5
14884 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
14885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14886 echo $ac_n "(cached) $ac_c" 1>&6
14888 ac_save_LIBS
="$LIBS"
14889 LIBS
="-lMesaGL $LIBS"
14890 cat > conftest.
$ac_ext <<EOF
14891 #line 14892 "configure"
14892 #include "confdefs.h"
14893 /* Override any gcc2 internal prototype to avoid an error. */
14894 /* We use char because int might match the return type of a gcc2
14895 builtin and then its argument prototype would still apply. */
14902 if { (eval echo configure
:14903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14904 eval "ac_cv_lib_$ac_lib_var=yes"
14906 echo "configure: failed program was:" >&5
14907 cat conftest.
$ac_ext >&5
14909 eval "ac_cv_lib_$ac_lib_var=no"
14912 LIBS
="$ac_save_LIBS"
14915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14916 echo "$ac_t""yes" 1>&6
14918 OPENGL_LINK
="-lMesaGL -lMesaGLU"
14921 echo "$ac_t""no" 1>&6
14929 echo "$ac_t""no" 1>&6
14936 if test "$wxUSE_GUI" = "yes"; then
14937 cat >> confdefs.h
<<\EOF
14938 #define wxUSE_GUI 1
14943 cat >> confdefs.h
<<\EOF
14944 #define wxUSE_NOGUI 1
14950 if test "$wxUSE_UNIX" = "yes"; then
14951 cat >> confdefs.h
<<\EOF
14952 #define wxUSE_UNIX 1
14958 if test "$wxUSE_APPLE_IEEE" = "yes"; then
14959 cat >> confdefs.h
<<\EOF
14960 #define wxUSE_APPLE_IEEE 1
14965 if test "$wxUSE_TIMER" = "yes"; then
14966 cat >> confdefs.h
<<\EOF
14967 #define wxUSE_TIMER 1
14972 if test "$wxUSE_WAVE" = "yes"; then
14973 cat >> confdefs.h
<<\EOF
14974 #define wxUSE_WAVE 1
14979 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
14980 cat >> confdefs.h
<<\EOF
14981 #define wxUSE_CMDLINE_PARSER 1
14986 if test "$wxUSE_STOPWATCH" = "yes"; then
14987 cat >> confdefs.h
<<\EOF
14988 #define wxUSE_STOPWATCH 1
14993 if test "$wxUSE_DATETIME" = "yes"; then
14994 cat >> confdefs.h
<<\EOF
14995 #define wxUSE_DATETIME 1
15000 if test "$wxUSE_TIMEDATE" = "yes"; then
15001 cat >> confdefs.h
<<\EOF
15002 #define wxUSE_TIMEDATE 1
15007 if test "$wxUSE_FILE" = "yes"; then
15008 cat >> confdefs.h
<<\EOF
15009 #define wxUSE_FILE 1
15014 if test "$wxUSE_FFILE" = "yes"; then
15015 cat >> confdefs.h
<<\EOF
15016 #define wxUSE_FFILE 1
15021 if test "$wxUSE_FILESYSTEM" = "yes"; then
15022 cat >> confdefs.h
<<\EOF
15023 #define wxUSE_FILESYSTEM 1
15028 if test "$wxUSE_FS_INET" = "yes"; then
15029 cat >> confdefs.h
<<\EOF
15030 #define wxUSE_FS_INET 1
15035 if test "$wxUSE_FS_ZIP" = "yes"; then
15036 cat >> confdefs.h
<<\EOF
15037 #define wxUSE_FS_ZIP 1
15042 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15043 cat >> confdefs.h
<<\EOF
15044 #define wxUSE_ZIPSTREAM 1
15049 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15050 cat >> confdefs.h
<<\EOF
15051 #define wxUSE_ON_FATAL_EXCEPTION 1
15056 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15057 cat >> confdefs.h
<<\EOF
15058 #define wxUSE_SNGLINST_CHECKER 1
15063 if test "$wxUSE_BUSYINFO" = "yes"; then
15064 cat >> confdefs.h
<<\EOF
15065 #define wxUSE_BUSYINFO 1
15070 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15071 cat >> confdefs.h
<<\EOF
15072 #define wxUSE_STD_IOSTREAM 1
15077 if test "$wxUSE_TEXTFILE" = "yes"; then
15078 if test "$wxUSE_FILE" != "yes"; then
15079 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15081 cat >> confdefs.h
<<\EOF
15082 #define wxUSE_TEXTFILE 1
15088 if test "$wxUSE_CONFIG" = "yes" ; then
15089 if test "$wxUSE_TEXTFILE" != "yes"; then
15090 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15092 cat >> confdefs.h
<<\EOF
15093 #define wxUSE_CONFIG 1
15096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15100 if test "$wxUSE_INTL" = "yes" ; then
15101 if test "$wxUSE_FILE" != "yes"; then
15102 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15104 cat >> confdefs.h
<<\EOF
15105 #define wxUSE_INTL 1
15108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15109 GUIDIST
="$GUIDIST INTL_DIST"
15113 if test "$wxUSE_LOG" = "yes"; then
15114 cat >> confdefs.h
<<\EOF
15115 #define wxUSE_LOG 1
15120 if test "$wxUSE_LONGLONG" = "yes"; then
15121 cat >> confdefs.h
<<\EOF
15122 #define wxUSE_LONGLONG 1
15127 if test "$wxUSE_GEOMETRY" = "yes"; then
15128 cat >> confdefs.h
<<\EOF
15129 #define wxUSE_GEOMETRY 1
15134 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15135 cat >> confdefs.h
<<\EOF
15136 #define wxUSE_DIALUP_MANAGER 1
15139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15142 if test "$wxUSE_STREAMS" = "yes" ; then
15143 cat >> confdefs.h
<<\EOF
15144 #define wxUSE_STREAMS 1
15150 if test "$wxUSE_DATETIME" = "yes"; then
15151 for ac_func
in strptime
15153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15154 echo "configure:15155: checking for $ac_func" >&5
15155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15156 echo $ac_n "(cached) $ac_c" 1>&6
15158 cat > conftest.
$ac_ext <<EOF
15159 #line 15160 "configure"
15160 #include "confdefs.h"
15161 /* System header to define __stub macros and hopefully few prototypes,
15162 which can conflict with char $ac_func(); below. */
15163 #include <assert.h>
15164 /* Override any gcc2 internal prototype to avoid an error. */
15165 /* We use char because int might match the return type of a gcc2
15166 builtin and then its argument prototype would still apply. */
15171 /* The GNU C library defines this for functions which it implements
15172 to always fail with ENOSYS. Some functions are actually named
15173 something starting with __ and the normal name is an alias. */
15174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15182 if { (eval echo configure
:15183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15184 eval "ac_cv_func_$ac_func=yes"
15186 echo "configure: failed program was:" >&5
15187 cat conftest.
$ac_ext >&5
15189 eval "ac_cv_func_$ac_func=no"
15194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15195 echo "$ac_t""yes" 1>&6
15196 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15197 cat >> confdefs.h
<<EOF
15198 #define $ac_tr_func 1
15202 echo "$ac_t""no" 1>&6
15207 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15208 echo "configure:15209: checking for timezone variable in <time.h>" >&5
15209 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15213 cat > conftest.
$ac_ext <<EOF
15214 #line 15215 "configure"
15215 #include "confdefs.h"
15226 if { (eval echo configure
:15227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15229 wx_cv_var_timezone
=__timezone
15232 echo "configure: failed program was:" >&5
15233 cat conftest.
$ac_ext >&5
15236 cat > conftest.
$ac_ext <<EOF
15237 #line 15238 "configure"
15238 #include "confdefs.h"
15249 if { (eval echo configure
:15250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15252 wx_cv_var_timezone
=_timezone
15255 echo "configure: failed program was:" >&5
15256 cat conftest.
$ac_ext >&5
15259 cat > conftest.
$ac_ext <<EOF
15260 #line 15261 "configure"
15261 #include "confdefs.h"
15272 if { (eval echo configure
:15273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15275 wx_cv_var_timezone
=timezone
15278 echo "configure: failed program was:" >&5
15279 cat conftest.
$ac_ext >&5
15281 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15297 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15299 cat >> confdefs.h
<<EOF
15300 #define WX_TIMEZONE $wx_cv_var_timezone
15304 for ac_func
in localtime
15306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15307 echo "configure:15308: checking for $ac_func" >&5
15308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15309 echo $ac_n "(cached) $ac_c" 1>&6
15311 cat > conftest.
$ac_ext <<EOF
15312 #line 15313 "configure"
15313 #include "confdefs.h"
15314 /* System header to define __stub macros and hopefully few prototypes,
15315 which can conflict with char $ac_func(); below. */
15316 #include <assert.h>
15317 /* Override any gcc2 internal prototype to avoid an error. */
15318 /* We use char because int might match the return type of a gcc2
15319 builtin and then its argument prototype would still apply. */
15324 /* The GNU C library defines this for functions which it implements
15325 to always fail with ENOSYS. Some functions are actually named
15326 something starting with __ and the normal name is an alias. */
15327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15335 if { (eval echo configure
:15336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15337 eval "ac_cv_func_$ac_func=yes"
15339 echo "configure: failed program was:" >&5
15340 cat conftest.
$ac_ext >&5
15342 eval "ac_cv_func_$ac_func=no"
15347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15348 echo "$ac_t""yes" 1>&6
15349 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15350 cat >> confdefs.h
<<EOF
15351 #define $ac_tr_func 1
15355 echo "$ac_t""no" 1>&6
15360 if test "$ac_cv_func_localtime" = "yes"; then
15361 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15362 echo "configure:15363: checking for tm_gmtoff in struct tm" >&5
15363 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15364 echo $ac_n "(cached) $ac_c" 1>&6
15367 cat > conftest.
$ac_ext <<EOF
15368 #line 15369 "configure"
15369 #include "confdefs.h"
15380 if { (eval echo configure
:15381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15383 wx_cv_struct_tm_has_gmtoff
=yes
15386 echo "configure: failed program was:" >&5
15387 cat conftest.
$ac_ext >&5
15389 wx_cv_struct_tm_has_gmtoff
=no
15396 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15399 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15400 cat >> confdefs.h
<<\EOF
15401 #define WX_GMTOFF_IN_TM 1
15406 for ac_func
in gettimeofday ftime
15408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15409 echo "configure:15410: checking for $ac_func" >&5
15410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15411 echo $ac_n "(cached) $ac_c" 1>&6
15413 cat > conftest.
$ac_ext <<EOF
15414 #line 15415 "configure"
15415 #include "confdefs.h"
15416 /* System header to define __stub macros and hopefully few prototypes,
15417 which can conflict with char $ac_func(); below. */
15418 #include <assert.h>
15419 /* Override any gcc2 internal prototype to avoid an error. */
15420 /* We use char because int might match the return type of a gcc2
15421 builtin and then its argument prototype would still apply. */
15426 /* The GNU C library defines this for functions which it implements
15427 to always fail with ENOSYS. Some functions are actually named
15428 something starting with __ and the normal name is an alias. */
15429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15437 if { (eval echo configure
:15438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15439 eval "ac_cv_func_$ac_func=yes"
15441 echo "configure: failed program was:" >&5
15442 cat conftest.
$ac_ext >&5
15444 eval "ac_cv_func_$ac_func=no"
15449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15451 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15452 cat >> confdefs.h
<<EOF
15453 #define $ac_tr_func 1
15457 echo "$ac_t""no" 1>&6
15462 if test "$ac_cv_func_gettimeofday" = "yes"; then
15463 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15464 echo "configure:15465: checking whether gettimeofday takes two arguments" >&5
15465 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15466 echo $ac_n "(cached) $ac_c" 1>&6
15471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15472 ac_cpp
='$CXXCPP $CPPFLAGS'
15473 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15474 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15475 cross_compiling
=$ac_cv_prog_cxx_cross
15478 cat > conftest.
$ac_ext <<EOF
15479 #line 15480 "configure"
15480 #include "confdefs.h"
15482 #include <sys/time.h>
15483 #include <unistd.h>
15488 struct timezone tz;
15489 gettimeofday(&tv, &tz);
15493 if { (eval echo configure
:15494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15495 wx_cv_func_gettimeofday_has_2_args
=yes
15497 echo "configure: failed program was:" >&5
15498 cat conftest.
$ac_ext >&5
15500 cat > conftest.
$ac_ext <<EOF
15501 #line 15502 "configure"
15502 #include "confdefs.h"
15504 #include <sys/time.h>
15505 #include <unistd.h>
15514 if { (eval echo configure
:15515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15516 wx_cv_func_gettimeofday_has_2_args
=no
15518 echo "configure: failed program was:" >&5
15519 cat conftest.
$ac_ext >&5
15521 wx_cv_func_gettimeofday_has_2_args
=unknown
15529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15530 ac_cpp
='$CPP $CPPFLAGS'
15531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15533 cross_compiling
=$ac_cv_prog_cc_cross
15538 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15540 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15541 cat >> confdefs.h
<<\EOF
15542 #define WX_GETTIMEOFDAY_NO_TZ 1
15548 cat >> confdefs.h
<<\EOF
15549 #define wxUSE_TIMEDATE 1
15552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15556 if test "$TOOLKIT" != "MSW"; then
15558 if test "$wxUSE_SOCKETS" = "yes"; then
15559 echo $ac_n "checking for socket""... $ac_c" 1>&6
15560 echo "configure:15561: checking for socket" >&5
15561 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15562 echo $ac_n "(cached) $ac_c" 1>&6
15564 cat > conftest.
$ac_ext <<EOF
15565 #line 15566 "configure"
15566 #include "confdefs.h"
15567 /* System header to define __stub macros and hopefully few prototypes,
15568 which can conflict with char socket(); below. */
15569 #include <assert.h>
15570 /* Override any gcc2 internal prototype to avoid an error. */
15571 /* We use char because int might match the return type of a gcc2
15572 builtin and then its argument prototype would still apply. */
15577 /* The GNU C library defines this for functions which it implements
15578 to always fail with ENOSYS. Some functions are actually named
15579 something starting with __ and the normal name is an alias. */
15580 #if defined (__stub_socket) || defined (__stub___socket)
15588 if { (eval echo configure
:15589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15590 eval "ac_cv_func_socket=yes"
15592 echo "configure: failed program was:" >&5
15593 cat conftest.
$ac_ext >&5
15595 eval "ac_cv_func_socket=no"
15600 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15601 echo "$ac_t""yes" 1>&6
15604 echo "$ac_t""no" 1>&6
15605 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15606 echo "configure:15607: checking for socket in -lsocket" >&5
15607 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15608 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15609 echo $ac_n "(cached) $ac_c" 1>&6
15611 ac_save_LIBS
="$LIBS"
15612 LIBS
="-lsocket $LIBS"
15613 cat > conftest.
$ac_ext <<EOF
15614 #line 15615 "configure"
15615 #include "confdefs.h"
15616 /* Override any gcc2 internal prototype to avoid an error. */
15617 /* We use char because int might match the return type of a gcc2
15618 builtin and then its argument prototype would still apply. */
15625 if { (eval echo configure
:15626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15627 eval "ac_cv_lib_$ac_lib_var=yes"
15629 echo "configure: failed program was:" >&5
15630 cat conftest.
$ac_ext >&5
15632 eval "ac_cv_lib_$ac_lib_var=no"
15635 LIBS
="$ac_save_LIBS"
15638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15639 echo "$ac_t""yes" 1>&6
15640 INET_LINK
="$INET_LINK -lsocket"
15642 echo "$ac_t""no" 1>&6
15644 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15656 if test "$wxUSE_SOCKETS" = "yes" ; then
15657 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15658 echo "configure:15659: checking what is the type of the third argument of getsockname" >&5
15659 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15660 echo $ac_n "(cached) $ac_c" 1>&6
15665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15666 ac_cpp
='$CXXCPP $CPPFLAGS'
15667 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15668 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15669 cross_compiling
=$ac_cv_prog_cxx_cross
15672 cat > conftest.
$ac_ext <<EOF
15673 #line 15674 "configure"
15674 #include "confdefs.h"
15676 #include <sys/types.h>
15677 #include <sys/socket.h>
15682 getsockname(0, 0, &len);
15686 if { (eval echo configure
:15687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15688 wx_cv_type_getsockname3
=socklen_t
15690 echo "configure: failed program was:" >&5
15691 cat conftest.
$ac_ext >&5
15693 cat > conftest.
$ac_ext <<EOF
15694 #line 15695 "configure"
15695 #include "confdefs.h"
15697 #include <sys/types.h>
15698 #include <sys/socket.h>
15703 getsockname(0, 0, &len);
15707 if { (eval echo configure
:15708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15709 wx_cv_type_getsockname3
=size_t
15711 echo "configure: failed program was:" >&5
15712 cat conftest.
$ac_ext >&5
15714 cat > conftest.
$ac_ext <<EOF
15715 #line 15716 "configure"
15716 #include "confdefs.h"
15718 #include <sys/types.h>
15719 #include <sys/socket.h>
15724 getsockname(0, 0, &len);
15728 if { (eval echo configure
:15729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15730 wx_cv_type_getsockname3
=int
15732 echo "configure: failed program was:" >&5
15733 cat conftest.
$ac_ext >&5
15735 wx_cv_type_getsockname3
=unknown
15747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15748 ac_cpp
='$CPP $CPPFLAGS'
15749 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15750 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15751 cross_compiling
=$ac_cv_prog_cc_cross
15756 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15758 if test "$wx_cv_type_getsockname3" = "unknown"; then
15760 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15762 cat >> confdefs.h
<<EOF
15763 #define SOCKLEN_T $wx_cv_type_getsockname3
15771 if test "$wxUSE_SOCKETS" = "yes" ; then
15772 cat >> confdefs.h
<<\EOF
15773 #define wxUSE_SOCKETS 1
15776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15777 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15781 if test "$wxUSE_GUI" = "yes"; then
15783 if test "$TOOLKIT" != "MSW"; then
15785 if test "$wxUSE_JOYSTICK" = "yes"; then
15786 for ac_hdr
in linux
/joystick.h
15788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15790 echo "configure:15791: checking for $ac_hdr" >&5
15791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15792 echo $ac_n "(cached) $ac_c" 1>&6
15794 cat > conftest.
$ac_ext <<EOF
15795 #line 15796 "configure"
15796 #include "confdefs.h"
15799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15800 { (eval echo configure
:15801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15802 if test -z "$ac_err"; then
15804 eval "ac_cv_header_$ac_safe=yes"
15807 echo "configure: failed program was:" >&5
15808 cat conftest.
$ac_ext >&5
15810 eval "ac_cv_header_$ac_safe=no"
15814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15815 echo "$ac_t""yes" 1>&6
15816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15817 cat >> confdefs.h
<<EOF
15818 #define $ac_tr_hdr 1
15822 echo "$ac_t""no" 1>&6
15826 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15828 echo "configure: warning: Joystick not supported by this system" 1>&2
15834 if test "$wxUSE_JOYSTICK" = "yes"; then
15835 cat >> confdefs.h
<<\EOF
15836 #define wxUSE_JOYSTICK 1
15839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
15845 if test "$TOOLKIT" != "MSW"; then
15849 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
15850 if test "$USE_MAC" = 1; then
15853 for ac_func
in dlopen
15855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15856 echo "configure:15857: checking for $ac_func" >&5
15857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15858 echo $ac_n "(cached) $ac_c" 1>&6
15860 cat > conftest.
$ac_ext <<EOF
15861 #line 15862 "configure"
15862 #include "confdefs.h"
15863 /* System header to define __stub macros and hopefully few prototypes,
15864 which can conflict with char $ac_func(); below. */
15865 #include <assert.h>
15866 /* Override any gcc2 internal prototype to avoid an error. */
15867 /* We use char because int might match the return type of a gcc2
15868 builtin and then its argument prototype would still apply. */
15873 /* The GNU C library defines this for functions which it implements
15874 to always fail with ENOSYS. Some functions are actually named
15875 something starting with __ and the normal name is an alias. */
15876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15884 if { (eval echo configure
:15885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15886 eval "ac_cv_func_$ac_func=yes"
15888 echo "configure: failed program was:" >&5
15889 cat conftest.
$ac_ext >&5
15891 eval "ac_cv_func_$ac_func=no"
15896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15897 echo "$ac_t""yes" 1>&6
15898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15899 cat >> confdefs.h
<<EOF
15900 #define $ac_tr_func 1
15903 cat >> confdefs.h
<<\EOF
15904 #define HAVE_DLOPEN 1
15910 echo "$ac_t""no" 1>&6
15911 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
15912 echo "configure:15913: checking for dlopen in -ldl" >&5
15913 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
15914 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15915 echo $ac_n "(cached) $ac_c" 1>&6
15917 ac_save_LIBS
="$LIBS"
15919 cat > conftest.
$ac_ext <<EOF
15920 #line 15921 "configure"
15921 #include "confdefs.h"
15922 /* Override any gcc2 internal prototype to avoid an error. */
15923 /* We use char because int might match the return type of a gcc2
15924 builtin and then its argument prototype would still apply. */
15931 if { (eval echo configure
:15932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15933 eval "ac_cv_lib_$ac_lib_var=yes"
15935 echo "configure: failed program was:" >&5
15936 cat conftest.
$ac_ext >&5
15938 eval "ac_cv_lib_$ac_lib_var=no"
15941 LIBS
="$ac_save_LIBS"
15944 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15945 echo "$ac_t""yes" 1>&6
15947 cat >> confdefs.h
<<\EOF
15948 #define HAVE_DLOPEN 1
15955 echo "$ac_t""no" 1>&6
15957 for ac_func
in shl_load
15959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15960 echo "configure:15961: checking for $ac_func" >&5
15961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15962 echo $ac_n "(cached) $ac_c" 1>&6
15964 cat > conftest.
$ac_ext <<EOF
15965 #line 15966 "configure"
15966 #include "confdefs.h"
15967 /* System header to define __stub macros and hopefully few prototypes,
15968 which can conflict with char $ac_func(); below. */
15969 #include <assert.h>
15970 /* Override any gcc2 internal prototype to avoid an error. */
15971 /* We use char because int might match the return type of a gcc2
15972 builtin and then its argument prototype would still apply. */
15977 /* The GNU C library defines this for functions which it implements
15978 to always fail with ENOSYS. Some functions are actually named
15979 something starting with __ and the normal name is an alias. */
15980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15988 if { (eval echo configure
:15989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15990 eval "ac_cv_func_$ac_func=yes"
15992 echo "configure: failed program was:" >&5
15993 cat conftest.
$ac_ext >&5
15995 eval "ac_cv_func_$ac_func=no"
16000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16001 echo "$ac_t""yes" 1>&6
16002 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16003 cat >> confdefs.h
<<EOF
16004 #define $ac_tr_func 1
16007 cat >> confdefs.h
<<\EOF
16008 #define HAVE_SHL_LOAD 1
16014 echo "$ac_t""no" 1>&6
16015 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16016 echo "configure:16017: checking for dld in -lshl_load" >&5
16017 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16019 echo $ac_n "(cached) $ac_c" 1>&6
16021 ac_save_LIBS
="$LIBS"
16022 LIBS
="-lshl_load $LIBS"
16023 cat > conftest.
$ac_ext <<EOF
16024 #line 16025 "configure"
16025 #include "confdefs.h"
16026 /* Override any gcc2 internal prototype to avoid an error. */
16027 /* We use char because int might match the return type of a gcc2
16028 builtin and then its argument prototype would still apply. */
16035 if { (eval echo configure
:16036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16037 eval "ac_cv_lib_$ac_lib_var=yes"
16039 echo "configure: failed program was:" >&5
16040 cat conftest.
$ac_ext >&5
16042 eval "ac_cv_lib_$ac_lib_var=no"
16045 LIBS
="$ac_save_LIBS"
16048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16049 echo "$ac_t""yes" 1>&6
16055 echo "$ac_t""no" 1>&6
16070 if test "$HAVE_DL_FUNCS" = 1; then
16071 for ac_func
in dlerror
16073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16074 echo "configure:16075: checking for $ac_func" >&5
16075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16076 echo $ac_n "(cached) $ac_c" 1>&6
16078 cat > conftest.
$ac_ext <<EOF
16079 #line 16080 "configure"
16080 #include "confdefs.h"
16081 /* System header to define __stub macros and hopefully few prototypes,
16082 which can conflict with char $ac_func(); below. */
16083 #include <assert.h>
16084 /* Override any gcc2 internal prototype to avoid an error. */
16085 /* We use char because int might match the return type of a gcc2
16086 builtin and then its argument prototype would still apply. */
16091 /* The GNU C library defines this for functions which it implements
16092 to always fail with ENOSYS. Some functions are actually named
16093 something starting with __ and the normal name is an alias. */
16094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16102 if { (eval echo configure
:16103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16104 eval "ac_cv_func_$ac_func=yes"
16106 echo "configure: failed program was:" >&5
16107 cat conftest.
$ac_ext >&5
16109 eval "ac_cv_func_$ac_func=no"
16114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16115 echo "$ac_t""yes" 1>&6
16116 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16117 cat >> confdefs.h
<<EOF
16118 #define $ac_tr_func 1
16120 cat >> confdefs.h
<<\EOF
16121 #define HAVE_DLERROR 1
16125 echo "$ac_t""no" 1>&6
16126 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16127 echo "configure:16128: checking for dlerror in -ldl" >&5
16128 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16129 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16130 echo $ac_n "(cached) $ac_c" 1>&6
16132 ac_save_LIBS
="$LIBS"
16134 cat > conftest.
$ac_ext <<EOF
16135 #line 16136 "configure"
16136 #include "confdefs.h"
16137 /* Override any gcc2 internal prototype to avoid an error. */
16138 /* We use char because int might match the return type of a gcc2
16139 builtin and then its argument prototype would still apply. */
16146 if { (eval echo configure
:16147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16148 eval "ac_cv_lib_$ac_lib_var=yes"
16150 echo "configure: failed program was:" >&5
16151 cat conftest.
$ac_ext >&5
16153 eval "ac_cv_lib_$ac_lib_var=no"
16156 LIBS
="$ac_save_LIBS"
16159 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16160 echo "$ac_t""yes" 1>&6
16161 cat >> confdefs.h
<<\EOF
16162 #define HAVE_DLERROR 1
16166 echo "$ac_t""no" 1>&6
16175 if test "$HAVE_DL_FUNCS" = 0; then
16176 if test "$HAVE_SHL_FUNCS" = 0; then
16177 if test "$USE_UNIX" = 1; then
16178 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16179 wxUSE_DYNLIB_CLASS
=no
16181 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16189 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16190 cat >> confdefs.h
<<\EOF
16191 #define wxUSE_DYNLIB_CLASS 1
16200 if test "$wxUSE_FONTMAP" = "yes" ; then
16201 cat >> confdefs.h
<<\EOF
16202 #define wxUSE_FONTMAP 1
16207 if test "$wxUSE_UNICODE" = "yes" ; then
16208 cat >> confdefs.h
<<\EOF
16209 #define wxUSE_UNICODE 1
16214 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16215 cat >> confdefs.h
<<\EOF
16216 #define wxUSE_WCSRTOMBS 1
16221 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16222 cat >> confdefs.h
<<\EOF
16223 #define wxUSE_EXPERIMENTAL_PRINTF 1
16229 if test "$wxUSE_SERIAL" = "yes" ; then
16230 cat >> confdefs.h
<<\EOF
16231 #define wxUSE_SERIAL 1
16238 if test "$wxUSE_ODBC" = "yes" ; then
16239 cat >> confdefs.h
<<\EOF
16240 #define wxUSE_ODBC 1
16243 WXODBCFLAG
="-D_IODBC_"
16244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16248 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16249 cat >> confdefs.h
<<\EOF
16250 #define wxUSE_POSTSCRIPT 1
16255 cat >> confdefs.h
<<\EOF
16256 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16260 cat >> confdefs.h
<<\EOF
16261 #define wxUSE_NORMALIZED_PS_FONTS 1
16266 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16267 cat >> confdefs.h
<<\EOF
16268 #define wxUSE_CONSTRAINTS 1
16271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16274 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16275 cat >> confdefs.h
<<\EOF
16276 #define wxUSE_MDI_ARCHITECTURE 1
16279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16282 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16283 cat >> confdefs.h
<<\EOF
16284 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16288 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16293 if test "$wxUSE_HELP" = "yes"; then
16294 cat >> confdefs.h
<<\EOF
16295 #define wxUSE_HELP 1
16298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16301 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16302 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16303 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16305 cat >> confdefs.h
<<\EOF
16306 #define wxUSE_PRINTING_ARCHITECTURE 1
16310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16313 if test "$wxUSE_PROLOGIO" = "yes" ; then
16314 cat >> confdefs.h
<<\EOF
16315 #define wxUSE_PROLOGIO 1
16320 if test "$wxUSE_RESOURCES" = "yes" ; then
16321 if test "$wxUSE_PROLOGIO" = "yes" ; then
16322 cat >> confdefs.h
<<\EOF
16323 #define wxUSE_RESOURCES 1
16326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16328 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16332 if test "$wxUSE_X_RESOURCES" = "yes"; then
16333 cat >> confdefs.h
<<\EOF
16334 #define wxUSE_X_RESOURCES 1
16340 if test "$wxUSE_IPC" = "yes"; then
16341 if test "$wxUSE_SOCKETS" != "yes"; then
16342 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16345 cat >> confdefs.h
<<\EOF
16346 #define wxUSE_IPC 1
16351 if test "$wxUSE_CLIPBOARD" = "yes"; then
16352 cat >> confdefs.h
<<\EOF
16353 #define wxUSE_CLIPBOARD 1
16356 cat >> confdefs.h
<<\EOF
16357 #define wxUSE_DATAOBJ 1
16362 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16363 if test "$wxUSE_GTK" = 1; then
16364 if test "$WXGTK12" != 1; then
16365 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16366 wxUSE_DRAG_AND_DROP
=no
16370 if test "$wxUSE_MOTIF" = 1; then
16371 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16372 wxUSE_DRAG_AND_DROP
=no
16375 if test "$wxUSE_MAC" = 1; then
16376 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16377 wxUSE_DRAG_AND_DROP
=no
16380 if test "$USE_WIN32" = 1; then
16382 for ac_hdr
in ole2.h
16384 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16385 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16386 echo "configure:16387: checking for $ac_hdr" >&5
16387 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16390 cat > conftest.
$ac_ext <<EOF
16391 #line 16392 "configure"
16392 #include "confdefs.h"
16395 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16396 { (eval echo configure
:16397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16397 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16398 if test -z "$ac_err"; then
16400 eval "ac_cv_header_$ac_safe=yes"
16403 echo "configure: failed program was:" >&5
16404 cat conftest.
$ac_ext >&5
16406 eval "ac_cv_header_$ac_safe=no"
16410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16411 echo "$ac_t""yes" 1>&6
16412 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16413 cat >> confdefs.h
<<EOF
16414 #define $ac_tr_hdr 1
16418 echo "$ac_t""no" 1>&6
16423 if test "$ac_cv_header_ole2_h" = "yes" ; then
16424 if test "$GCC" = yes ; then
16425 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16426 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16427 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16428 LIBS
="$LIBS -lole32 -luuid"
16430 if test "$wxUSE_METAFILE" = "yes"; then
16431 cat >> confdefs.h
<<\EOF
16432 #define wxUSE_METAFILE 1
16435 cat >> confdefs.h
<<\EOF
16436 #define wxUSE_ENH_METAFILE 1
16442 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16443 wxUSE_DRAG_AND_DROP
=no
16447 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16448 cat >> confdefs.h
<<\EOF
16449 #define wxUSE_DRAG_AND_DROP 1
16452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16457 if test "$wxUSE_SPLINES" = "yes" ; then
16458 cat >> confdefs.h
<<\EOF
16459 #define wxUSE_SPLINES 1
16466 if test "$wxUSE_CONTROLS" = "yes"; then
16470 if test "$wxUSE_ACCEL" = "yes"; then
16471 cat >> confdefs.h
<<\EOF
16472 #define wxUSE_ACCEL 1
16478 if test "$wxUSE_BUTTON" = "yes"; then
16479 cat >> confdefs.h
<<\EOF
16480 #define wxUSE_BUTTON 1
16486 if test "$wxUSE_BMPBUTTON" = "yes"; then
16487 cat >> confdefs.h
<<\EOF
16488 #define wxUSE_BMPBUTTON 1
16494 if test "$wxUSE_CALCTRL" = "yes"; then
16495 cat >> confdefs.h
<<\EOF
16496 #define wxUSE_CALENDARCTRL 1
16500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16503 if test "$wxUSE_CARET" = "yes"; then
16504 cat >> confdefs.h
<<\EOF
16505 #define wxUSE_CARET 1
16509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16512 if test "$wxUSE_COMBOBOX" = "yes"; then
16513 cat >> confdefs.h
<<\EOF
16514 #define wxUSE_COMBOBOX 1
16520 if test "$wxUSE_CHOICE" = "yes"; then
16521 cat >> confdefs.h
<<\EOF
16522 #define wxUSE_CHOICE 1
16528 if test "$wxUSE_CHECKBOX" = "yes"; then
16529 cat >> confdefs.h
<<\EOF
16530 #define wxUSE_CHECKBOX 1
16536 if test "$wxUSE_CHECKLST" = "yes"; then
16537 cat >> confdefs.h
<<\EOF
16538 #define wxUSE_CHECKLISTBOX 1
16542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16545 if test "$wxUSE_GAUGE" = "yes"; then
16546 cat >> confdefs.h
<<\EOF
16547 #define wxUSE_GAUGE 1
16553 if test "$wxUSE_NEW_GRID" = "yes"; then
16555 cat >> confdefs.h
<<\EOF
16556 #define wxUSE_NEW_GRID 1
16560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16563 if test "$wxUSE_GRID" = "yes"; then
16564 cat >> confdefs.h
<<\EOF
16565 #define wxUSE_GRID 1
16569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16572 if test "$wxUSE_IMAGLIST" = "yes"; then
16573 cat >> confdefs.h
<<\EOF
16574 #define wxUSE_IMAGLIST 1
16579 if test "$wxUSE_LISTBOX" = "yes"; then
16580 cat >> confdefs.h
<<\EOF
16581 #define wxUSE_LISTBOX 1
16587 if test "$wxUSE_LISTCTRL" = "yes"; then
16588 if test "$wxUSE_IMAGLIST" = "yes"; then
16589 cat >> confdefs.h
<<\EOF
16590 #define wxUSE_LISTCTRL 1
16594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16596 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16600 if test "$wxUSE_NOTEBOOK" = "yes"; then
16601 cat >> confdefs.h
<<\EOF
16602 #define wxUSE_NOTEBOOK 1
16606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16609 if test "$wxUSE_RADIOBOX" = "yes"; then
16610 cat >> confdefs.h
<<\EOF
16611 #define wxUSE_RADIOBOX 1
16617 if test "$wxUSE_RADIOBTN" = "yes"; then
16618 cat >> confdefs.h
<<\EOF
16619 #define wxUSE_RADIOBTN 1
16625 if test "$wxUSE_SASH" = "yes"; then
16626 cat >> confdefs.h
<<\EOF
16627 #define wxUSE_SASH 1
16630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16633 if test "$wxUSE_SCROLLBAR" = "yes"; then
16634 cat >> confdefs.h
<<\EOF
16635 #define wxUSE_SCROLLBAR 1
16639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16642 if test "$wxUSE_SLIDER" = "yes"; then
16643 cat >> confdefs.h
<<\EOF
16644 #define wxUSE_SLIDER 1
16650 if test "$wxUSE_SPINBTN" = "yes"; then
16651 cat >> confdefs.h
<<\EOF
16652 #define wxUSE_SPINBTN 1
16658 if test "$wxUSE_SPINCTRL" = "yes"; then
16659 cat >> confdefs.h
<<\EOF
16660 #define wxUSE_SPINCTRL 1
16666 if test "$wxUSE_SPLITTER" = "yes"; then
16667 cat >> confdefs.h
<<\EOF
16668 #define wxUSE_SPLITTER 1
16671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16674 if test "$wxUSE_STATBMP" = "yes"; then
16675 cat >> confdefs.h
<<\EOF
16676 #define wxUSE_STATBMP 1
16682 if test "$wxUSE_STATBOX" = "yes"; then
16683 cat >> confdefs.h
<<\EOF
16684 #define wxUSE_STATBOX 1
16690 if test "$wxUSE_STATTEXT" = "yes"; then
16691 cat >> confdefs.h
<<\EOF
16692 #define wxUSE_STATTEXT 1
16698 if test "$wxUSE_STATLINE" = "yes"; then
16699 if test "$wxUSE_WINE" = 1 ; then
16700 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16702 cat >> confdefs.h
<<\EOF
16703 #define wxUSE_STATLINE 1
16710 if test "$wxUSE_STATUSBAR" = "yes"; then
16711 cat >> confdefs.h
<<\EOF
16712 #define wxUSE_STATUSBAR 1
16717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16720 if test "$wxUSE_TABDIALOG" = "yes"; then
16721 cat >> confdefs.h
<<\EOF
16722 #define wxUSE_TAB_DIALOG 1
16725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16728 if test "$wxUSE_TEXTCTRL" = "yes"; then
16729 cat >> confdefs.h
<<\EOF
16730 #define wxUSE_TEXTCTRL 1
16734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16737 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16738 if test "$wxUSE_MAC" = 1; then
16739 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16743 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16744 cat >> confdefs.h
<<\EOF
16745 #define wxUSE_TOGGLEBTN 1
16752 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16753 cat >> confdefs.h
<<\EOF
16754 #define wxUSE_TOOLBAR_SIMPLE 1
16757 wxUSE_TOOLBAR
="yes"
16761 if test "$wxUSE_TOOLBAR" = "yes"; then
16762 cat >> confdefs.h
<<\EOF
16763 #define wxUSE_TOOLBAR 1
16768 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16769 wxUSE_TOOLBAR_NATIVE
="yes"
16772 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16773 cat >> confdefs.h
<<\EOF
16774 #define wxUSE_TOOLBAR_NATIVE 1
16780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16783 if test "$wxUSE_TOOLTIPS" = "yes"; then
16784 if test "$wxUSE_MOTIF" = 1; then
16785 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16787 if test "$wxUSE_WINE" = 1; then
16788 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16790 cat >> confdefs.h
<<\EOF
16791 #define wxUSE_TOOLTIPS 1
16798 if test "$wxUSE_TREECTRL" = "yes"; then
16799 if test "$wxUSE_IMAGLIST" = "yes"; then
16800 cat >> confdefs.h
<<\EOF
16801 #define wxUSE_TREECTRL 1
16805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
16807 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16811 if test "$USES_CONTROLS" = 1; then
16812 cat >> confdefs.h
<<\EOF
16813 #define wxUSE_CONTROLS 1
16820 if test "$wxUSE_MENUS" = "yes"; then
16821 cat >> confdefs.h
<<\EOF
16822 #define wxUSE_MENUS 1
16825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
16828 if test "$wxUSE_METAFILE" = "yes"; then
16829 cat >> confdefs.h
<<\EOF
16830 #define wxUSE_METAFILE 1
16835 if test "$wxUSE_MIMETYPE" = "yes"; then
16836 cat >> confdefs.h
<<\EOF
16837 #define wxUSE_MIMETYPE 1
16842 if test "$wxUSE_MINIFRAME" = "yes"; then
16843 cat >> confdefs.h
<<\EOF
16844 #define wxUSE_MINIFRAME 1
16847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
16850 if test "$wxUSE_HTML" = "yes"; then
16851 cat >> confdefs.h
<<\EOF
16852 #define wxUSE_HTML 1
16855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
16856 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
16859 if test "$wxUSE_VALIDATORS" = "yes"; then
16860 cat >> confdefs.h
<<\EOF
16861 #define wxUSE_VALIDATORS 1
16864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
16867 if test "$wxUSE_IMAGE" = "yes" ; then
16868 cat >> confdefs.h
<<\EOF
16869 #define wxUSE_IMAGE 1
16874 if test "$wxUSE_GIF" = "yes" ; then
16875 cat >> confdefs.h
<<\EOF
16876 #define wxUSE_GIF 1
16881 if test "$wxUSE_PCX" = "yes" ; then
16882 cat >> confdefs.h
<<\EOF
16883 #define wxUSE_PCX 1
16888 if test "$wxUSE_PNM" = "yes" ; then
16889 cat >> confdefs.h
<<\EOF
16890 #define wxUSE_PNM 1
16895 if test "$wxUSE_XPM" = "yes" ; then
16896 cat >> confdefs.h
<<\EOF
16897 #define wxUSE_XPM 1
16903 if test "$wxUSE_CHOICEDLG" = "yes"; then
16904 cat >> confdefs.h
<<\EOF
16905 #define wxUSE_CHOICEDLG 1
16910 if test "$wxUSE_COLOURDLG" = "yes"; then
16911 cat >> confdefs.h
<<\EOF
16912 #define wxUSE_COLOURDLG 1
16917 if test "$wxUSE_FILEDLG" = "yes"; then
16918 cat >> confdefs.h
<<\EOF
16919 #define wxUSE_FILEDLG 1
16924 if test "$wxUSE_FONTDLG" = "yes"; then
16925 cat >> confdefs.h
<<\EOF
16926 #define wxUSE_FONTDLG 1
16931 if test "$wxUSE_DIRDLG" = "yes"; then
16932 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16933 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
16935 if test "$wxUSE_TREECTRL" != "yes"; then
16936 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
16938 cat >> confdefs.h
<<\EOF
16939 #define wxUSE_DIRDLG 1
16946 if test "$wxUSE_MSGDLG" = "yes"; then
16947 cat >> confdefs.h
<<\EOF
16948 #define wxUSE_MSGDLG 1
16953 if test "$wxUSE_NUMBERDLG" = "yes"; then
16954 cat >> confdefs.h
<<\EOF
16955 #define wxUSE_NUMBERDLG 1
16960 if test "$wxUSE_PROGRESSDLG" = "yes"; then
16961 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16962 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
16964 cat >> confdefs.h
<<\EOF
16965 #define wxUSE_PROGRESSDLG 1
16971 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
16972 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16973 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
16975 cat >> confdefs.h
<<\EOF
16976 #define wxUSE_STARTUP_TIPS 1
16982 if test "$wxUSE_TEXTDLG" = "yes"; then
16983 cat >> confdefs.h
<<\EOF
16984 #define wxUSE_TEXTDLG 1
16990 if test "$cross_compiling" = "yes"; then
16993 OSINFO
=`uname -s -r -m`
16994 OSINFO
="\"$OSINFO\""
16997 cat >> confdefs.h
<<EOF
16998 #define WXWIN_OS_DESCRIPTION $OSINFO
17003 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17004 OPENGL_LIBS
="$OPENGL_LINK"
17006 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17007 if test "$USE_MAC" = 1 ; then
17008 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17010 if test "$wxUSE_GUI" = "yes"; then
17011 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17014 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17016 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17018 if test "$wxUSE_GTK" = 1; then
17019 WXCONFIG_INCLUDE
=""
17021 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17024 if test "$GXX" = yes ; then
17025 CXXWARNINGS
="-Wall"
17027 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17029 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17030 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17032 LDFLAGS
="$LDFLAGS $PROFILE"
17034 if test "$wxUSE_GUI" = "yes"; then
17036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
17037 drawing dynamic event font fractal image \
17038 minimal richedit widgets"
17040 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17044 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17049 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17144 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17145 echo "configure:17146: checking whether ${MAKE-make} sets \${MAKE}" >&5
17146 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17147 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17148 echo $ac_n "(cached) $ac_c" 1>&6
17150 cat > conftestmake
<<\EOF
17152 @
echo 'ac_maketemp="${MAKE}"'
17154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17155 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17156 if test -n "$ac_maketemp"; then
17157 eval ac_cv_prog_make_
${ac_make}_set
=yes
17159 eval ac_cv_prog_make_
${ac_make}_set
=no
17163 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17164 echo "$ac_t""yes" 1>&6
17167 echo "$ac_t""no" 1>&6
17168 SET_MAKE
="MAKE=${MAKE-make}"
17172 if test -d include
; then
17173 if test -d include
/wx
; then
17174 if test -d include
/wx
/${SETUPH_DIR}; then
17175 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17176 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17184 if test "$wxUSE_GUI" = "yes"; then
17185 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17186 wx_cv_path_ifs
=$PATH_IFS
17187 wx_cv_program_ext
=$PROGRAM_EXT
17188 wx_cv_target_library
=$WX_TARGET_LIBRARY
17189 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17190 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17191 wx_cv_target_library wx_cv_target_libtype
17192 subdirs
="demos samples utils contrib"
17197 cat > confcache
<<\EOF
17198 # This file is a shell script that caches the results of configure
17199 # tests run on this system so they can be shared between configure
17200 # scripts and configure runs. It is not useful on other systems.
17201 # If it contains results you don't want to keep, you may remove or edit it.
17203 # By default, configure uses ./config.cache as the cache file,
17204 # creating it if it does not exist already. You can give configure
17205 # the --cache-file=FILE option to use a different cache file; that is
17206 # what configure does when it calls configure scripts in
17207 # subdirectories, so they share the cache.
17208 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17209 # config.status only pays attention to the cache file if you give it the
17210 # --recheck option to rerun configure.
17213 # The following way of writing the cache mishandles newlines in values,
17214 # but we know of no workaround that is simple, portable, and efficient.
17215 # So, don't put newlines in cache variables' values.
17216 # Ultrix sh set writes to stderr and can't be redirected directly,
17217 # and sets the high bit in the cache file unless we assign to the vars.
17219 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17221 # `set' does not quote correctly, so add quotes (double-quote substitution
17222 # turns \\\\ into \\, and sed turns \\ into \).
17224 -e "s/'/'\\\\''/g" \
17225 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17228 # `set' quotes correctly as required by POSIX, so do not add quotes.
17229 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17232 if cmp -s $cache_file confcache
; then
17235 if test -w $cache_file; then
17236 echo "updating cache $cache_file"
17237 cat confcache
> $cache_file
17239 echo "not updating unwritable cache $cache_file"
17244 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17246 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17247 # Let make expand exec_prefix.
17248 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17250 # Any assignment to VPATH causes Sun make to only execute
17251 # the first set of double-colon rules, so remove it if not needed.
17252 # If there is a colon in the path, we need to keep it.
17253 if test "x$srcdir" = x.
; then
17254 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17257 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17259 DEFS
=-DHAVE_CONFIG_H
17261 # Without the "./", some shells look in PATH for config.status.
17262 : ${CONFIG_STATUS=./config.status}
17264 echo creating
$CONFIG_STATUS
17265 rm -f $CONFIG_STATUS
17266 cat > $CONFIG_STATUS <<EOF
17268 # Generated automatically by configure.
17269 # Run this file to recreate the current configuration.
17270 # This directory was configured as follows,
17271 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17273 # $0 $ac_configure_args
17275 # Compiler output produced by configure, useful for debugging
17276 # configure, is in ./config.log if it exists.
17278 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17281 case "\$ac_option" in
17282 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17283 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17284 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17285 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17286 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17288 -help | --help | --hel | --he | --h)
17289 echo "\$ac_cs_usage"; exit 0 ;;
17290 *) echo "\$ac_cs_usage"; exit 1 ;;
17294 ac_given_srcdir=$srcdir
17295 ac_given_INSTALL="$INSTALL"
17297 trap 'rm -fr `echo "
17303 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17305 cat >> $CONFIG_STATUS <<EOF
17307 # Protect against being on the right side of a sed subst in config.status.
17308 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17309 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17313 s%@CFLAGS@%$CFLAGS%g
17314 s%@CPPFLAGS@%$CPPFLAGS%g
17315 s%@CXXFLAGS@%$CXXFLAGS%g
17316 s%@FFLAGS@%$FFLAGS%g
17318 s%@LDFLAGS@%$LDFLAGS%g
17320 s%@exec_prefix@%$exec_prefix%g
17321 s%@prefix@%$prefix%g
17322 s%@program_transform_name@%$program_transform_name%g
17323 s%@bindir@%$bindir%g
17324 s%@sbindir@%$sbindir%g
17325 s%@libexecdir@%$libexecdir%g
17326 s%@datadir@%$datadir%g
17327 s%@sysconfdir@%$sysconfdir%g
17328 s%@sharedstatedir@%$sharedstatedir%g
17329 s%@localstatedir@%$localstatedir%g
17330 s%@libdir@%$libdir%g
17331 s%@includedir@%$includedir%g
17332 s%@oldincludedir@%$oldincludedir%g
17333 s%@infodir@%$infodir%g
17334 s%@mandir@%$mandir%g
17336 s%@host_alias@%$host_alias%g
17337 s%@host_cpu@%$host_cpu%g
17338 s%@host_vendor@%$host_vendor%g
17339 s%@host_os@%$host_os%g
17340 s%@target@%$target%g
17341 s%@target_alias@%$target_alias%g
17342 s%@target_cpu@%$target_cpu%g
17343 s%@target_vendor@%$target_vendor%g
17344 s%@target_os@%$target_os%g
17346 s%@build_alias@%$build_alias%g
17347 s%@build_cpu@%$build_cpu%g
17348 s%@build_vendor@%$build_vendor%g
17349 s%@build_os@%$build_os%g
17353 s%@CXXCPP@%$CXXCPP%g
17354 s%@RANLIB@%$RANLIB%g
17356 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17357 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17358 s%@INSTALL_DATA@%$INSTALL_DATA%g
17362 s%@LEXLIB@%$LEXLIB%g
17364 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17365 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17366 s%@GTK_LIBS@%$GTK_LIBS%g
17367 s%@GTK_CONFIG@%$GTK_CONFIG%g
17368 s%@X_CFLAGS@%$X_CFLAGS%g
17369 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17370 s%@X_LIBS@%$X_LIBS%g
17371 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17374 s%@LEX_STEM@%$LEX_STEM%g
17375 s%@PATH_IFS@%$PATH_IFS%g
17376 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17377 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17378 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17379 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17380 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17381 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17382 s%@WX_LIBRARY@%$WX_LIBRARY%g
17383 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17384 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17385 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17386 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17387 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17388 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17389 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17390 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17391 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17392 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17393 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17394 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17395 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17396 s%@WX_ALL@%$WX_ALL%g
17397 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17398 s%@SHARED_LD@%$SHARED_LD%g
17399 s%@PIC_FLAG@%$PIC_FLAG%g
17400 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17401 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17402 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17403 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17404 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17405 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17406 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17407 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17408 s%@USE_GUI@%$USE_GUI%g
17409 s%@AFMINSTALL@%$AFMINSTALL%g
17410 s%@SETUPH_DIR@%$SETUPH_DIR%g
17411 s%@TOOLKIT@%$TOOLKIT%g
17412 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17413 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17414 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17415 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17416 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17417 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17418 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17419 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17420 s%@GUIDIST@%$GUIDIST%g
17421 s%@PORT_FILES@%$PORT_FILES%g
17422 s%@DISTDIR@%$DISTDIR%g
17423 s%@RPM_SPEC@%$RPM_SPEC%g
17424 s%@RPM_FILES@%$RPM_FILES%g
17425 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17426 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17427 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17428 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17429 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17430 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17431 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17432 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17433 s%@EXTRADEFS@%$EXTRADEFS%g
17434 s%@LD_LIBS@%$LD_LIBS%g
17435 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17436 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17437 s%@RESPROGRAM@%$RESPROGRAM%g
17438 s%@RESCOMP@%$RESCOMP%g
17439 s%@RESFLAGS@%$RESFLAGS%g
17440 s%@REZFLAGS@%$REZFLAGS%g
17441 s%@DEREZFLAGS@%$DEREZFLAGS%g
17442 s%@LIBWXMACRES@%$LIBWXMACRES%g
17443 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17444 s%@DLLTOOL@%$DLLTOOL%g
17448 s%@MAKEINFO@%$MAKEINFO%g
17449 s%@SET_MAKE@%$SET_MAKE%g
17450 s%@subdirs@%$subdirs%g
17455 cat >> $CONFIG_STATUS <<\EOF
17457 # Split the substitutions into bite-sized pieces for seds with
17458 # small command number limits, like on Digital OSF/1 and HP-UX.
17459 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17460 ac_file
=1 # Number of current file.
17461 ac_beg
=1 # First line for current file.
17462 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17465 while $ac_more_lines; do
17466 if test $ac_beg -gt 1; then
17467 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17469 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17471 if test ! -s conftest.s
$ac_file; then
17472 ac_more_lines
=false
17473 rm -f conftest.s
$ac_file
17475 if test -z "$ac_sed_cmds"; then
17476 ac_sed_cmds
="sed -f conftest.s$ac_file"
17478 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17480 ac_file
=`expr $ac_file + 1`
17482 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17485 if test -z "$ac_sed_cmds"; then
17490 cat >> $CONFIG_STATUS <<EOF
17492 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17499 cat >> $CONFIG_STATUS <<\EOF
17500 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17501 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17503 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17504 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17505 *) ac_file_in
="${ac_file}.in" ;;
17508 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17510 # Remove last slash and all that follows it. Not all systems have dirname.
17511 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17512 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17513 # The file is in a subdirectory.
17514 test ! -d "$ac_dir" && mkdir "$ac_dir"
17515 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17516 # A "../" for each directory in $ac_dir_suffix.
17517 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17519 ac_dir_suffix
= ac_dots
=
17522 case "$ac_given_srcdir" in
17524 if test -z "$ac_dots"; then top_srcdir
=.
17525 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17526 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17527 *) # Relative path.
17528 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17529 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17532 case "$ac_given_INSTALL" in
17533 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17534 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17537 echo creating
"$ac_file"
17539 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17541 *Makefile
*) ac_comsub
="1i\\
17542 # $configure_input" ;;
17546 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17548 s%@configure_input@%$configure_input%g
17549 s%@srcdir@%$srcdir%g
17550 s%@top_srcdir@%$top_srcdir%g
17551 s%@INSTALL@%$INSTALL%g
17552 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17556 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17557 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17559 # ac_d sets the value in "#define NAME VALUE" lines.
17560 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17561 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17564 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17565 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17566 ac_uB
='\([ ]\)%\1#\2define\3'
17569 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17570 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17571 ac_eB
='$%\1#\2define\3'
17575 if test "${CONFIG_HEADERS+set}" != set; then
17577 cat >> $CONFIG_STATUS <<EOF
17578 CONFIG_HEADERS="setup.h:setup.h.in"
17580 cat >> $CONFIG_STATUS <<\EOF
17582 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17583 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17585 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17586 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17587 *) ac_file_in
="${ac_file}.in" ;;
17590 echo creating
$ac_file
17592 rm -f conftest.frag conftest.
in conftest.out
17593 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17594 cat $ac_file_inputs > conftest.
in
17598 # Transform confdefs.h into a sed script conftest.vals that substitutes
17599 # the proper values into config.h.in to produce config.h. And first:
17600 # Protect against being on the right side of a sed subst in config.status.
17601 # Protect against being in an unquoted here document in config.status.
17602 rm -f conftest.vals
17603 cat > conftest.hdr
<<\EOF
17606 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17610 sed -n -f conftest.hdr confdefs.h > conftest.vals
17613 # This sed command replaces #undef with comments. This is necessary, for
17614 # example, in the case of _POSIX_SOURCE, which is predefined and required
17615 # on some systems where configure will not decide to define it.
17616 cat >> conftest.vals <<\EOF
17617 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17620 # Break up conftest.vals because some shells have a limit on
17621 # the size of here documents, and old seds have small limits too.
17623 rm -f conftest.tail
17626 ac_lines=`grep -c . conftest.vals
`
17627 # grep -c gives empty output for an empty file on some AIX systems.
17628 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17629 # Write a limited-size here document to conftest.frag.
17630 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17631 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17633 sed -f conftest.frag conftest.in > conftest.out
17635 mv conftest.out conftest.in
17636 ' >> $CONFIG_STATUS
17637 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17638 rm -f conftest.vals
17639 mv conftest.tail conftest.vals
17641 rm -f conftest.vals
17643 cat >> $CONFIG_STATUS <<\EOF
17644 rm -f conftest.frag conftest.h
17645 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17646 cat conftest.in >> conftest.h
17648 if cmp -s $ac_file conftest.h 2>/dev/null; then
17649 echo "$ac_file is unchanged"
17652 # Remove last slash and all that follows it. Not all systems have dirname.
17653 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17654 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17655 # The file is in a subdirectory.
17656 test ! -d "$ac_dir" && mkdir "$ac_dir"
17659 mv conftest.h $ac_file
17664 cat >> $CONFIG_STATUS <<EOF
17666 SETUPH_DIR="${SETUPH_DIR}"
17667 TOOLKIT_NAME="${TOOLKIT_NAME}"
17672 cat >> $CONFIG_STATUS <<\EOF
17674 if test ! -f wx${TOOLKIT_NAME}-config; then
17676 mv wx-config wx${TOOLKIT_NAME}-config
17677 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17681 if test ! -d lib; then
17684 if test ! -d lib/wx; then
17687 if test ! -d lib/wx/include; then
17688 mkdir lib/wx/include
17690 if test ! -d lib/wx/include/wx; then
17691 mkdir lib/wx/include/wx
17693 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17694 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17696 if test -f setup.h; then
17697 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17701 if test ! -d include; then
17704 if test ! -d include/wx; then
17707 if test ! -d include/wx/${SETUPH_DIR}; then
17708 mkdir include/wx/${SETUPH_DIR}
17710 if test -f setup.h; then
17711 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17717 chmod +x $CONFIG_STATUS
17718 rm -fr confdefs* $ac_clean_files
17719 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17721 if test "$no_recursion" != yes; then
17723 # Remove --cache-file and --srcdir arguments so they do not pile up.
17724 ac_sub_configure_args=
17726 for ac_arg in $ac_configure_args; do
17727 if test -n "$ac_prev"; then
17732 -cache-file | --cache-file | --cache-fil | --cache-fi \
17733 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17734 ac_prev=cache_file ;;
17735 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17736 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17738 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17740 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17742 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17746 for ac_config_dir in demos samples utils contrib; do
17748 # Do not complain, so a configure script can configure whichever
17749 # parts of a large source tree are present.
17750 if test ! -d $srcdir/$ac_config_dir; then
17754 echo configuring in $ac_config_dir
17759 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17761 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17769 # A "../" for each directory in /$ac_config_dir.
17770 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17773 .) # No --srcdir option. We are building in place.
17774 ac_sub_srcdir=$srcdir ;;
17775 /*) # Absolute path.
17776 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17777 *) # Relative path.
17778 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17781 # Check for guested configure; otherwise get Cygnus style configure.
17782 if test -f $ac_sub_srcdir/configure; then
17783 ac_sub_configure=$ac_sub_srcdir/configure
17784 elif test -f $ac_sub_srcdir/configure.in; then
17785 ac_sub_configure=$ac_configure
17787 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17791 # The recursion is here.
17792 if test -n "$ac_sub_configure"; then
17794 # Make the cache file name correct relative to the subdirectory.
17795 case "$cache_file" in
17796 /*) ac_sub_cache_file=$cache_file ;;
17797 *) # Relative path.
17798 ac_sub_cache_file="$ac_dots$cache_file" ;;
17800 case "$ac_given_INSTALL" in
17801 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17802 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17805 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17806 # The eval makes quoting arguments work.
17807 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17810 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }