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-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-burnt_name create set name in shared library "
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick compile in joystick support (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-image use wxImage class"
363 --enable-gif use gif images (GIF file format)"
365 --enable-pcx use pcx images (PCX file format)"
367 --enable-pnm use pnm images (PNM file format)"
369 --enable-xpm use xpm images (XPM file format)"
371 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
373 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
375 --disable-gtktest Do not try to compile and run a test GTK program"
377 --with-x use the X Window System"
379 # Initialize some variables set by options.
380 # The variables have the same names as the options, with
381 # dashes changed to underlines.
383 cache_file
=.
/config.cache
392 program_transform_name
=s
,x
,x
,
400 bindir
='${exec_prefix}/bin'
401 sbindir
='${exec_prefix}/sbin'
402 libexecdir
='${exec_prefix}/libexec'
403 datadir
='${prefix}/share'
404 sysconfdir
='${prefix}/etc'
405 sharedstatedir
='${prefix}/com'
406 localstatedir
='${prefix}/var'
407 libdir
='${exec_prefix}/lib'
408 includedir
='${prefix}/include'
409 oldincludedir
='/usr/include'
410 infodir
='${prefix}/info'
411 mandir
='${prefix}/man'
413 # Initialize some other variables.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
424 # If the previous option needs an argument, assign it.
425 if test -n "$ac_prev"; then
426 eval "$ac_prev=\$ac_option"
432 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
436 # Accept the important Cygnus configure options, so we can diagnose typos.
440 -bindir | --bindir | --bindi | --bind | --bin | --bi)
442 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
443 bindir
="$ac_optarg" ;;
445 -build | --build | --buil | --bui | --bu)
447 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
448 build
="$ac_optarg" ;;
450 -cache-file | --cache-file | --cache-fil | --cache-fi \
451 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
452 ac_prev
=cache_file
;;
453 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
454 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
455 cache_file
="$ac_optarg" ;;
457 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
459 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
461 datadir
="$ac_optarg" ;;
463 -disable-* | --disable-*)
464 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
465 # Reject names that are not valid shell variable names.
466 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
467 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
469 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
470 eval "enable_${ac_feature}=no" ;;
472 -enable-* | --enable-*)
473 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
474 # Reject names that are not valid shell variable names.
475 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
476 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
478 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
483 eval "enable_${ac_feature}='$ac_optarg'" ;;
485 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
486 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
487 | --exec | --exe | --ex)
488 ac_prev
=exec_prefix
;;
489 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
490 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
491 | --exec=* | --exe=* | --ex=*)
492 exec_prefix
="$ac_optarg" ;;
494 -gas | --gas | --ga | --g)
495 # Obsolete; use --with-gas.
498 -help | --help | --hel | --he)
499 # Omit some internal or obsolete options to make the list less imposing.
500 # This message is too long to be a string in the A/UX 3.1 sh.
502 Usage: configure [options] [host]
503 Options: [defaults in brackets after descriptions]
505 --cache-file=FILE cache test results in FILE
506 --help print this message
507 --no-create do not create output files
508 --quiet, --silent do not print \`checking...' messages
509 --version print the version of autoconf that created configure
510 Directory and file names:
511 --prefix=PREFIX install architecture-independent files in PREFIX
513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
515 --bindir=DIR user executables in DIR [EPREFIX/bin]
516 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
517 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
518 --datadir=DIR read-only architecture-independent data in DIR
520 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
521 --sharedstatedir=DIR modifiable architecture-independent data in DIR
523 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
524 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
525 --includedir=DIR C header files in DIR [PREFIX/include]
526 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
527 --infodir=DIR info documentation in DIR [PREFIX/info]
528 --mandir=DIR man documentation in DIR [PREFIX/man]
529 --srcdir=DIR find the sources in DIR [configure dir or ..]
530 --program-prefix=PREFIX prepend PREFIX to installed program names
531 --program-suffix=SUFFIX append SUFFIX to installed program names
532 --program-transform-name=PROGRAM
533 run sed PROGRAM on installed program names
537 --build=BUILD configure for building on BUILD [BUILD=HOST]
538 --host=HOST configure for HOST [guessed]
539 --target=TARGET configure for TARGET [TARGET=HOST]
540 Features and packages:
541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
545 --x-includes=DIR X include files are in DIR
546 --x-libraries=DIR X library files are in DIR
548 if test -n "$ac_help"; then
549 echo "--enable and --with options recognized:$ac_help"
553 -host | --host | --hos | --ho)
555 -host=* | --host=* | --hos=* | --ho=*)
558 -includedir | --includedir | --includedi | --included | --include \
559 | --includ | --inclu | --incl | --inc)
560 ac_prev
=includedir
;;
561 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
562 | --includ=* | --inclu=* | --incl=* | --inc=*)
563 includedir
="$ac_optarg" ;;
565 -infodir | --infodir | --infodi | --infod | --info | --inf)
567 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
568 infodir
="$ac_optarg" ;;
570 -libdir | --libdir | --libdi | --libd)
572 -libdir=* | --libdir=* | --libdi=* | --libd=*)
573 libdir
="$ac_optarg" ;;
575 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
576 | --libexe | --libex | --libe)
577 ac_prev
=libexecdir
;;
578 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
579 | --libexe=* | --libex=* | --libe=*)
580 libexecdir
="$ac_optarg" ;;
582 -localstatedir | --localstatedir | --localstatedi | --localstated \
583 | --localstate | --localstat | --localsta | --localst \
584 | --locals | --local | --loca | --loc | --lo)
585 ac_prev
=localstatedir
;;
586 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
587 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
588 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
589 localstatedir
="$ac_optarg" ;;
591 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
593 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
594 mandir
="$ac_optarg" ;;
597 # Obsolete; use --without-fp.
600 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
604 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
605 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
608 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
609 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
610 | --oldin | --oldi | --old | --ol | --o)
611 ac_prev
=oldincludedir
;;
612 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
613 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
614 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
615 oldincludedir
="$ac_optarg" ;;
617 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
619 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
620 prefix
="$ac_optarg" ;;
622 -program-prefix | --program-prefix | --program-prefi | --program-pref \
623 | --program-pre | --program-pr | --program-p)
624 ac_prev
=program_prefix
;;
625 -program-prefix=* | --program-prefix=* | --program-prefi=* \
626 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
627 program_prefix
="$ac_optarg" ;;
629 -program-suffix | --program-suffix | --program-suffi | --program-suff \
630 | --program-suf | --program-su | --program-s)
631 ac_prev
=program_suffix
;;
632 -program-suffix=* | --program-suffix=* | --program-suffi=* \
633 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
634 program_suffix
="$ac_optarg" ;;
636 -program-transform-name | --program-transform-name \
637 | --program-transform-nam | --program-transform-na \
638 | --program-transform-n | --program-transform- \
639 | --program-transform | --program-transfor \
640 | --program-transfo | --program-transf \
641 | --program-trans | --program-tran \
642 | --progr-tra | --program-tr | --program-t)
643 ac_prev
=program_transform_name
;;
644 -program-transform-name=* | --program-transform-name=* \
645 | --program-transform-nam=* | --program-transform-na=* \
646 | --program-transform-n=* | --program-transform-=* \
647 | --program-transform=* | --program-transfor=* \
648 | --program-transfo=* | --program-transf=* \
649 | --program-trans=* | --program-tran=* \
650 | --progr-tra=* | --program-tr=* | --program-t=*)
651 program_transform_name
="$ac_optarg" ;;
653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
654 | -silent | --silent | --silen | --sile | --sil)
657 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
659 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
661 sbindir
="$ac_optarg" ;;
663 -sharedstatedir | --sharedstatedir | --sharedstatedi \
664 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
665 | --sharedst | --shareds | --shared | --share | --shar \
667 ac_prev
=sharedstatedir
;;
668 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
669 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
670 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
672 sharedstatedir
="$ac_optarg" ;;
674 -site | --site | --sit)
676 -site=* | --site=* | --sit=*)
679 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
681 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
682 srcdir
="$ac_optarg" ;;
684 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
685 | --syscon | --sysco | --sysc | --sys | --sy)
686 ac_prev
=sysconfdir
;;
687 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
688 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
689 sysconfdir
="$ac_optarg" ;;
691 -target | --target | --targe | --targ | --tar | --ta | --t)
693 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
694 target
="$ac_optarg" ;;
696 -v | -verbose | --verbose | --verbos | --verbo | --verb)
699 -version | --version | --versio | --versi | --vers)
700 echo "configure generated by autoconf version 2.13"
704 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
705 # Reject names that are not valid shell variable names.
706 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
707 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
709 ac_package
=`echo $ac_package| sed 's/-/_/g'`
714 eval "with_${ac_package}='$ac_optarg'" ;;
716 -without-* | --without-*)
717 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
718 # Reject names that are not valid shell variable names.
719 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
720 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
722 ac_package
=`echo $ac_package| sed 's/-/_/g'`
723 eval "with_${ac_package}=no" ;;
726 # Obsolete; use --with-x.
729 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
730 | --x-incl | --x-inc | --x-in | --x-i)
731 ac_prev
=x_includes
;;
732 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
733 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
734 x_includes
="$ac_optarg" ;;
736 -x-libraries | --x-libraries | --x-librarie | --x-librari \
737 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
738 ac_prev
=x_libraries
;;
739 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
740 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
741 x_libraries
="$ac_optarg" ;;
743 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
747 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
748 echo "configure: warning: $ac_option: invalid host type" 1>&2
750 if test "x$nonopt" != xNONE
; then
751 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
759 if test -n "$ac_prev"; then
760 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
763 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
765 # File descriptor usage:
768 # 2 errors and warnings
769 # 3 some systems may open it to /dev/tty
770 # 4 used on the Kubota Titan
771 # 6 checking for... messages and results
772 # 5 compiler messages saved in config.log
773 if test "$silent" = yes; then
781 This file contains any messages produced by compilers while
782 running configure, to aid debugging if configure makes a mistake.
785 # Strip out --no-create and --no-recursion so they do not pile up.
786 # Also quote any args containing shell metacharacters.
791 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
792 | --no-cr | --no-c) ;;
793 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
794 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
795 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
796 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
797 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
802 # Only set these to C if already set. These must not be set unconditionally
803 # because not all systems understand e.g. LANG=C (notably SCO).
804 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
805 # Non-C LC_CTYPE values break the ctype check.
806 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
807 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
808 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
809 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
811 # confdefs.h avoids OS command line length limits that DEFS can exceed.
812 rm -rf conftest
* confdefs.h
813 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
816 # A filename unique to this package, relative to the directory that
817 # configure is in, which we can look for to find out if srcdir is correct.
818 ac_unique_file
=wx
-config.
in
820 # Find the source files, if location was not specified.
821 if test -z "$srcdir"; then
822 ac_srcdir_defaulted
=yes
823 # Try the directory containing this script, then its parent.
825 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
826 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
828 if test ! -r $srcdir/$ac_unique_file; then
832 ac_srcdir_defaulted
=no
834 if test ! -r $srcdir/$ac_unique_file; then
835 if test "$ac_srcdir_defaulted" = yes; then
836 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
838 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
841 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
843 # Prefer explicitly selected file to automatically selected ones.
844 if test -z "$CONFIG_SITE"; then
845 if test "x$prefix" != xNONE
; then
846 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
848 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
851 for ac_site_file
in $CONFIG_SITE; do
852 if test -r "$ac_site_file"; then
853 echo "loading site script $ac_site_file"
858 if test -r "$cache_file"; then
859 echo "loading cache $cache_file"
862 echo "creating cache $cache_file"
867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
868 ac_cpp
='$CPP $CPPFLAGS'
869 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
870 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
871 cross_compiling
=$ac_cv_prog_cc_cross
875 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
876 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
877 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
884 ac_n
= ac_c
='\c' ac_t
=
890 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
891 if test -f $ac_dir/install-sh; then
893 ac_install_sh
="$ac_aux_dir/install-sh -c"
895 elif test -f $ac_dir/install.sh
; then
897 ac_install_sh
="$ac_aux_dir/install.sh -c"
901 if test -z "$ac_aux_dir"; then
902 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
904 ac_config_guess
=$ac_aux_dir/config.guess
905 ac_config_sub
=$ac_aux_dir/config.sub
906 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
909 # Do some error checking and defaulting for the host and target type.
911 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
914 # 1. You are not allowed to specify --host, --target, and nonopt at the
916 # 2. Host defaults to nonopt.
917 # 3. If nonopt is not specified, then host defaults to the current host,
918 # as determined by config.guess.
919 # 4. Target and build default to nonopt.
920 # 5. If nonopt is not specified, then target and build default to host.
922 # The aliases save the names the user supplied, while $host etc.
923 # will get canonicalized.
924 case $host---$target---$nonopt in
925 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
926 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
930 # Make sure we can run config.sub.
931 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
932 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
935 echo $ac_n "checking host system type""... $ac_c" 1>&6
936 echo "configure:937: checking host system type" >&5
939 case "$host_alias" in
943 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
944 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
946 *) host_alias
=$nonopt ;;
950 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
951 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
952 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
953 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
954 echo "$ac_t""$host" 1>&6
956 echo $ac_n "checking target system type""... $ac_c" 1>&6
957 echo "configure:958: checking target system type" >&5
960 case "$target_alias" in
963 NONE
) target_alias
=$host_alias ;;
964 *) target_alias
=$nonopt ;;
968 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
969 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972 echo "$ac_t""$target" 1>&6
974 echo $ac_n "checking build system type""... $ac_c" 1>&6
975 echo "configure:976: checking build system type" >&5
978 case "$build_alias" in
981 NONE
) build_alias
=$host_alias ;;
982 *) build_alias
=$nonopt ;;
986 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
987 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
988 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
989 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
990 echo "$ac_t""$build" 1>&6
992 test "$host_alias" != "$target_alias" &&
993 test "$program_prefix$program_suffix$program_transform_name" = \
995 program_prefix
=${target_alias}-
999 WX_MAJOR_VERSION_NUMBER
=2
1000 WX_MINOR_VERSION_NUMBER
=3
1003 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1004 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1039 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1041 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1046 DEFAULT_wxUSE_MOTIF
=0
1049 DEFAULT_wxUSE_WINE
=0
1051 DEFAULT_DEFAULT_wxUSE_GTK
=0
1052 DEFAULT_DEFAULT_wxUSE_MAC
=0
1053 DEFAULT_DEFAULT_wxUSE_MGL
=0
1054 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1055 DEFAULT_DEFAULT_wxUSE_MSW
=0
1056 DEFAULT_DEFAULT_wxUSE_PM
=0
1057 DEFAULT_DEFAULT_wxUSE_WINE
=0
1064 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1065 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1066 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1078 if test "x$TMP" = "xalpha"; then
1080 cat >> confdefs.h
<<\EOF
1085 DEFAULT_DEFAULT_wxUSE_GTK
=1
1087 *-*-irix5* | *-*-irix6* )
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1109 #define __SOLARIS__ 1
1112 cat >> confdefs.h
<<\EOF
1116 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1117 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1123 cat >> confdefs.h
<<\EOF
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1140 cat >> confdefs.h
<<\EOF
1141 #define __FREEBSD__ 1
1144 cat >> confdefs.h
<<\EOF
1148 DEFAULT_DEFAULT_wxUSE_GTK
=1
1153 cat >> confdefs.h
<<\EOF
1154 #define __FREEBSD__ 1
1157 cat >> confdefs.h
<<\EOF
1158 #define __OPENBSD__ 1
1161 DEFAULT_DEFAULT_wxUSE_GTK
=1
1166 cat >> confdefs.h
<<\EOF
1167 #define __FREEBSD__ 1
1170 cat >> confdefs.h
<<\EOF
1171 #define __NETBSD__ 1
1174 DEFAULT_DEFAULT_wxUSE_GTK
=1
1179 cat >> confdefs.h
<<\EOF
1183 cat >> confdefs.h
<<\EOF
1187 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1188 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1206 cat >> confdefs.h
<<\EOF
1210 cat >> confdefs.h
<<\EOF
1214 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 cat >> confdefs.h
<<\EOF
1232 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1235 *-*-cygwin* | *-*-mingw32* )
1238 cat >> confdefs.h
<<\EOF
1242 cat >> confdefs.h
<<\EOF
1246 cat >> confdefs.h
<<\EOF
1247 #define __WINDOWS__ 1
1250 cat >> confdefs.h
<<\EOF
1251 #define __GNUWIN32__ 1
1254 cat >> confdefs.h
<<\EOF
1258 cat >> confdefs.h
<<\EOF
1259 #define WINVER 0x0400
1263 DEFAULT_DEFAULT_wxUSE_MSW
=1
1267 cat >> confdefs.h
<<\EOF
1272 DEFAULT_DEFAULT_wxUSE_PM
=1
1278 cat >> confdefs.h
<<\EOF
1282 cat >> confdefs.h
<<\EOF
1283 #define __DARWIN__ 1
1286 cat >> confdefs.h
<<\EOF
1290 DEFAULT_DEFAULT_wxUSE_MAC
=1
1295 cat >> confdefs.h
<<\EOF
1302 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1305 if test "$USE_UNIX" = 1 ; then
1307 cat >> confdefs.h
<<\EOF
1312 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1313 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1316 if test "$USE_BEOS" = 1; then
1317 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1318 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1321 if test "$USE_LINUX" = 1; then
1322 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1323 echo "configure:1324: checking for gettext in -lc" >&5
1324 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1326 echo $ac_n "(cached) $ac_c" 1>&6
1328 ac_save_LIBS
="$LIBS"
1330 cat > conftest.
$ac_ext <<EOF
1331 #line 1332 "configure"
1332 #include "confdefs.h"
1333 /* Override any gcc2 internal prototype to avoid an error. */
1334 /* We use char because int might match the return type of a gcc2
1335 builtin and then its argument prototype would still apply. */
1342 if { (eval echo configure
:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1344 eval "ac_cv_lib_$ac_lib_var=yes"
1346 echo "configure: failed program was:" >&5
1347 cat conftest.
$ac_ext >&5
1349 eval "ac_cv_lib_$ac_lib_var=no"
1352 LIBS
="$ac_save_LIBS"
1355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1356 echo "$ac_t""yes" 1>&6
1357 cat >> confdefs.h
<<\EOF
1358 #define wxHAVE_GLIBC2 1
1362 echo "$ac_t""no" 1>&6
1370 wx_arg_cache_file
="configarg.cache"
1371 echo "loading argument cache $wx_arg_cache_file"
1372 rm -f ${wx_arg_cache_file}.tmp
1373 touch ${wx_arg_cache_file}.tmp
1374 touch ${wx_arg_cache_file}
1378 if test $DEBUG_CONFIGURE = 1; then
1379 DEFAULT_wxUSE_UNIVERSAL
=no
1381 DEFAULT_wxUSE_THREADS
=yes
1383 DEFAULT_wxUSE_SHARED
=yes
1384 DEFAULT_wxUSE_BURNT_NAME
=no
1385 DEFAULT_wxUSE_OPTIMISE
=no
1386 DEFAULT_wxUSE_PROFILE
=no
1387 DEFAULT_wxUSE_NO_DEPS
=no
1388 DEFAULT_wxUSE_NO_RTTI
=no
1389 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1390 DEFAULT_wxUSE_PERMISSIVE
=no
1391 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1392 DEFAULT_wxUSE_DEBUG_INFO
=yes
1393 DEFAULT_wxUSE_DEBUG_GDB
=yes
1394 DEFAULT_wxUSE_MEM_TRACING
=no
1395 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1396 DEFAULT_wxUSE_DMALLOC
=no
1397 DEFAULT_wxUSE_APPLE_IEEE
=no
1399 DEFAULT_wxUSE_LOG
=yes
1400 DEFAULT_wxUSE_LOGWINDOW
=no
1401 DEFAULT_wxUSE_LOGGUI
=no
1403 DEFAULT_wxUSE_GUI
=yes
1404 DEFAULT_wxUSE_CONTROLS
=no
1406 DEFAULT_wxUSE_REGEX
=no
1407 DEFAULT_wxUSE_ZLIB
=no
1408 DEFAULT_wxUSE_LIBPNG
=no
1409 DEFAULT_wxUSE_LIBJPEG
=no
1410 DEFAULT_wxUSE_LIBTIFF
=no
1411 DEFAULT_wxUSE_ODBC
=no
1412 DEFAULT_wxUSE_FREETYPE
=no
1413 DEFAULT_wxUSE_OPENGL
=no
1415 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1416 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1417 DEFAULT_wxUSE_STD_IOSTREAM
=no
1418 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1419 DEFAULT_wxUSE_DATETIME
=no
1420 DEFAULT_wxUSE_TIMEDATE
=no
1421 DEFAULT_wxUSE_TIMER
=no
1422 DEFAULT_wxUSE_STOPWATCH
=no
1423 DEFAULT_wxUSE_FILE
=no
1424 DEFAULT_wxUSE_FFILE
=no
1425 DEFAULT_wxUSE_TEXTFILE
=no
1426 DEFAULT_wxUSE_WAVE
=no
1427 DEFAULT_wxUSE_INTL
=no
1428 DEFAULT_wxUSE_CONFIG
=no
1429 DEFAULT_wxUSE_FONTMAP
=no
1430 DEFAULT_wxUSE_STREAMS
=no
1431 DEFAULT_wxUSE_SOCKETS
=no
1432 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1433 DEFAULT_wxUSE_SERIAL
=no
1434 DEFAULT_wxUSE_JOYSTICK
=no
1435 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1436 DEFAULT_wxUSE_LONGLONG
=no
1437 DEFAULT_wxUSE_GEOMETRY
=no
1439 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1440 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1441 DEFAULT_wxUSE_POSTSCRIPT
=no
1443 DEFAULT_wxUSE_X_RESOURCES
=no
1444 DEFAULT_wxUSE_CLIPBOARD
=no
1445 DEFAULT_wxUSE_TOOLTIPS
=no
1446 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1447 DEFAULT_wxUSE_DRAGIMAGE
=no
1448 DEFAULT_wxUSE_SPLINES
=no
1450 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1451 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1454 DEFAULT_wxUSE_PROLOGIO
=no
1455 DEFAULT_wxUSE_RESOURCES
=no
1456 DEFAULT_wxUSE_CONSTRAINTS
=no
1457 DEFAULT_wxUSE_IPC
=no
1458 DEFAULT_wxUSE_HELP
=no
1459 DEFAULT_wxUSE_MS_HTML_HELP
=no
1460 DEFAULT_wxUSE_WXHTML_HELP
=no
1461 DEFAULT_wxUSE_TREELAYOUT
=no
1462 DEFAULT_wxUSE_METAFILE
=no
1463 DEFAULT_wxUSE_MIMETYPE
=no
1464 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1466 DEFAULT_wxUSE_COMMONDLGS
=no
1467 DEFAULT_wxUSE_CHOICEDLG
=no
1468 DEFAULT_wxUSE_COLOURDLG
=no
1469 DEFAULT_wxUSE_DIRDLG
=no
1470 DEFAULT_wxUSE_FILEDLG
=no
1471 DEFAULT_wxUSE_FINDREPLDLG
=no
1472 DEFAULT_wxUSE_FONTDLG
=no
1473 DEFAULT_wxUSE_MSGDLG
=no
1474 DEFAULT_wxUSE_NUMBERDLG
=no
1475 DEFAULT_wxUSE_TEXTDLG
=no
1476 DEFAULT_wxUSE_STARTUP_TIPS
=no
1477 DEFAULT_wxUSE_PROGRESSDLG
=no
1478 DEFAULT_wxUSE_WIZARDDLG
=no
1480 DEFAULT_wxUSE_MENUS
=no
1481 DEFAULT_wxUSE_MINIFRAME
=no
1482 DEFAULT_wxUSE_HTML
=no
1483 DEFAULT_wxUSE_FILESYSTEM
=no
1484 DEFAULT_wxUSE_FS_INET
=no
1485 DEFAULT_wxUSE_FS_ZIP
=no
1486 DEFAULT_wxUSE_BUSYINFO
=no
1487 DEFAULT_wxUSE_ZIPSTREAM
=no
1488 DEFAULT_wxUSE_VALIDATORS
=no
1490 DEFAULT_wxUSE_ACCEL
=no
1491 DEFAULT_wxUSE_BUTTON
=no
1492 DEFAULT_wxUSE_BMPBUTTON
=no
1493 DEFAULT_wxUSE_CALCTRL
=no
1494 DEFAULT_wxUSE_CARET
=no
1495 DEFAULT_wxUSE_CHECKBOX
=no
1496 DEFAULT_wxUSE_CHECKLST
=no
1497 DEFAULT_wxUSE_CHOICE
=no
1498 DEFAULT_wxUSE_COMBOBOX
=no
1499 DEFAULT_wxUSE_GAUGE
=no
1500 DEFAULT_wxUSE_GRID
=no
1501 DEFAULT_wxUSE_NEW_GRID
=no
1502 DEFAULT_wxUSE_IMAGLIST
=no
1503 DEFAULT_wxUSE_LISTBOX
=no
1504 DEFAULT_wxUSE_LISTCTRL
=no
1505 DEFAULT_wxUSE_NOTEBOOK
=no
1506 DEFAULT_wxUSE_PROPSHEET
=no
1507 DEFAULT_wxUSE_RADIOBOX
=no
1508 DEFAULT_wxUSE_RADIOBTN
=no
1509 DEFAULT_wxUSE_SASH
=no
1510 DEFAULT_wxUSE_SCROLLBAR
=no
1511 DEFAULT_wxUSE_SLIDER
=no
1512 DEFAULT_wxUSE_SPINBTN
=no
1513 DEFAULT_wxUSE_SPINCTRL
=no
1514 DEFAULT_wxUSE_SPLITTER
=no
1515 DEFAULT_wxUSE_STATBMP
=no
1516 DEFAULT_wxUSE_STATBOX
=no
1517 DEFAULT_wxUSE_STATLINE
=no
1518 DEFAULT_wxUSE_STATTEXT
=no
1519 DEFAULT_wxUSE_STATUSBAR
=yes
1520 DEFAULT_wxUSE_TABDIALOG
=no
1521 DEFAULT_wxUSE_TEXTCTRL
=no
1522 DEFAULT_wxUSE_TOGGLEBTN
=no
1523 DEFAULT_wxUSE_TOOLBAR
=no
1524 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1525 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1526 DEFAULT_wxUSE_TREECTRL
=no
1527 DEFAULT_wxUSE_POPUPWIN
=no
1529 DEFAULT_wxUSE_UNICODE
=no
1530 DEFAULT_wxUSE_WCSRTOMBS
=no
1532 DEFAULT_wxUSE_IMAGE
=no
1533 DEFAULT_wxUSE_GIF
=no
1534 DEFAULT_wxUSE_PCX
=no
1535 DEFAULT_wxUSE_PNM
=no
1536 DEFAULT_wxUSE_XPM
=no
1538 DEFAULT_wxUSE_UNIVERSAL
=no
1540 DEFAULT_wxUSE_THREADS
=yes
1542 DEFAULT_wxUSE_SHARED
=yes
1543 DEFAULT_wxUSE_BURNT_NAME
=no
1544 DEFAULT_wxUSE_OPTIMISE
=yes
1545 DEFAULT_wxUSE_PROFILE
=no
1546 DEFAULT_wxUSE_NO_DEPS
=no
1547 DEFAULT_wxUSE_NO_RTTI
=no
1548 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1549 DEFAULT_wxUSE_PERMISSIVE
=no
1550 DEFAULT_wxUSE_DEBUG_FLAG
=no
1551 DEFAULT_wxUSE_DEBUG_INFO
=no
1552 DEFAULT_wxUSE_DEBUG_GDB
=no
1553 DEFAULT_wxUSE_MEM_TRACING
=no
1554 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1555 DEFAULT_wxUSE_DMALLOC
=no
1556 DEFAULT_wxUSE_APPLE_IEEE
=yes
1558 DEFAULT_wxUSE_LOG
=yes
1559 DEFAULT_wxUSE_LOGWINDOW
=yes
1560 DEFAULT_wxUSE_LOGGUI
=yes
1562 DEFAULT_wxUSE_GUI
=yes
1564 DEFAULT_wxUSE_REGEX
=yes
1565 DEFAULT_wxUSE_ZLIB
=yes
1566 DEFAULT_wxUSE_LIBPNG
=yes
1567 DEFAULT_wxUSE_LIBJPEG
=yes
1568 DEFAULT_wxUSE_LIBTIFF
=yes
1569 DEFAULT_wxUSE_ODBC
=no
1570 DEFAULT_wxUSE_FREETYPE
=no
1571 DEFAULT_wxUSE_OPENGL
=no
1573 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1574 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1575 DEFAULT_wxUSE_STD_IOSTREAM
=no
1576 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1577 DEFAULT_wxUSE_DATETIME
=yes
1578 DEFAULT_wxUSE_TIMEDATE
=no
1579 DEFAULT_wxUSE_TIMER
=yes
1580 DEFAULT_wxUSE_STOPWATCH
=yes
1581 DEFAULT_wxUSE_FILE
=yes
1582 DEFAULT_wxUSE_FFILE
=yes
1583 DEFAULT_wxUSE_TEXTFILE
=yes
1584 DEFAULT_wxUSE_WAVE
=no
1585 DEFAULT_wxUSE_INTL
=yes
1586 DEFAULT_wxUSE_CONFIG
=yes
1587 DEFAULT_wxUSE_FONTMAP
=yes
1588 DEFAULT_wxUSE_STREAMS
=yes
1589 DEFAULT_wxUSE_SOCKETS
=yes
1590 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1591 DEFAULT_wxUSE_SERIAL
=yes
1592 DEFAULT_wxUSE_JOYSTICK
=yes
1593 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1594 DEFAULT_wxUSE_LONGLONG
=yes
1595 DEFAULT_wxUSE_GEOMETRY
=yes
1597 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1598 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1599 DEFAULT_wxUSE_POSTSCRIPT
=yes
1601 DEFAULT_wxUSE_X_RESOURCES
=no
1602 DEFAULT_wxUSE_CLIPBOARD
=yes
1603 DEFAULT_wxUSE_TOOLTIPS
=yes
1604 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1605 DEFAULT_wxUSE_DRAGIMAGE
=yes
1606 DEFAULT_wxUSE_SPLINES
=yes
1608 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1609 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1610 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1612 DEFAULT_wxUSE_PROLOGIO
=yes
1613 DEFAULT_wxUSE_RESOURCES
=yes
1614 DEFAULT_wxUSE_CONSTRAINTS
=yes
1615 DEFAULT_wxUSE_IPC
=yes
1616 DEFAULT_wxUSE_HELP
=yes
1617 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1618 DEFAULT_wxUSE_WXHTML_HELP
=yes
1619 DEFAULT_wxUSE_TREELAYOUT
=yes
1620 DEFAULT_wxUSE_METAFILE
=yes
1621 DEFAULT_wxUSE_MIMETYPE
=yes
1622 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1624 DEFAULT_wxUSE_COMMONDLGS
=yes
1625 DEFAULT_wxUSE_CHOICEDLG
=yes
1626 DEFAULT_wxUSE_COLOURDLG
=yes
1627 DEFAULT_wxUSE_DIRDLG
=yes
1628 DEFAULT_wxUSE_FILEDLG
=yes
1629 DEFAULT_wxUSE_FINDREPLDLG
=yes
1630 DEFAULT_wxUSE_FONTDLG
=yes
1631 DEFAULT_wxUSE_MSGDLG
=yes
1632 DEFAULT_wxUSE_NUMBERDLG
=yes
1633 DEFAULT_wxUSE_TEXTDLG
=yes
1634 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1635 DEFAULT_wxUSE_PROGRESSDLG
=yes
1636 DEFAULT_wxUSE_WIZARDDLG
=yes
1638 DEFAULT_wxUSE_MENUS
=yes
1639 DEFAULT_wxUSE_MINIFRAME
=yes
1640 DEFAULT_wxUSE_HTML
=yes
1641 DEFAULT_wxUSE_FILESYSTEM
=yes
1642 DEFAULT_wxUSE_FS_INET
=yes
1643 DEFAULT_wxUSE_FS_ZIP
=yes
1644 DEFAULT_wxUSE_BUSYINFO
=yes
1645 DEFAULT_wxUSE_ZIPSTREAM
=yes
1646 DEFAULT_wxUSE_VALIDATORS
=yes
1648 DEFAULT_wxUSE_ACCEL
=yes
1649 DEFAULT_wxUSE_BUTTON
=yes
1650 DEFAULT_wxUSE_BMPBUTTON
=yes
1651 DEFAULT_wxUSE_CALCTRL
=yes
1652 DEFAULT_wxUSE_CARET
=yes
1653 DEFAULT_wxUSE_CHECKBOX
=yes
1654 DEFAULT_wxUSE_CHECKLST
=yes
1655 DEFAULT_wxUSE_CHOICE
=yes
1656 DEFAULT_wxUSE_COMBOBOX
=yes
1657 DEFAULT_wxUSE_GAUGE
=yes
1658 DEFAULT_wxUSE_GRID
=yes
1659 DEFAULT_wxUSE_NEW_GRID
=yes
1660 DEFAULT_wxUSE_IMAGLIST
=yes
1661 DEFAULT_wxUSE_LISTBOX
=yes
1662 DEFAULT_wxUSE_LISTCTRL
=yes
1663 DEFAULT_wxUSE_NOTEBOOK
=yes
1664 DEFAULT_wxUSE_PROPSHEET
=yes
1665 DEFAULT_wxUSE_RADIOBOX
=yes
1666 DEFAULT_wxUSE_RADIOBTN
=yes
1667 DEFAULT_wxUSE_SASH
=yes
1668 DEFAULT_wxUSE_SCROLLBAR
=yes
1669 DEFAULT_wxUSE_SLIDER
=yes
1670 DEFAULT_wxUSE_SPINBTN
=yes
1671 DEFAULT_wxUSE_SPINCTRL
=yes
1672 DEFAULT_wxUSE_SPLITTER
=yes
1673 DEFAULT_wxUSE_STATBMP
=yes
1674 DEFAULT_wxUSE_STATBOX
=yes
1675 DEFAULT_wxUSE_STATLINE
=yes
1676 DEFAULT_wxUSE_STATTEXT
=yes
1677 DEFAULT_wxUSE_STATUSBAR
=yes
1678 DEFAULT_wxUSE_TABDIALOG
=no
1679 DEFAULT_wxUSE_TEXTCTRL
=yes
1680 DEFAULT_wxUSE_TOGGLEBTN
=yes
1681 DEFAULT_wxUSE_TOOLBAR
=yes
1682 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1683 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1684 DEFAULT_wxUSE_TREECTRL
=yes
1685 DEFAULT_wxUSE_POPUPWIN
=yes
1687 DEFAULT_wxUSE_UNICODE
=no
1688 DEFAULT_wxUSE_WCSRTOMBS
=no
1690 DEFAULT_wxUSE_IMAGE
=yes
1691 DEFAULT_wxUSE_GIF
=yes
1692 DEFAULT_wxUSE_PCX
=yes
1693 DEFAULT_wxUSE_PNM
=yes
1694 DEFAULT_wxUSE_XPM
=yes
1699 for toolkit
in `echo $ALL_TOOLKITS`; do
1700 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1701 if test "x$LINE" != x
; then
1702 has_toolkit_in_cache
=1
1703 eval "DEFAULT_$LINE"
1704 eval "CACHE_$toolkit=1"
1710 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1711 echo "configure:1712: checking for --enable-gui" >&5
1713 # Check whether --enable-gui or --disable-gui was given.
1714 if test "${enable_gui+set}" = set; then
1715 enableval
="$enable_gui"
1717 if test "$enableval" = yes; then
1718 ac_cv_use_gui
='wxUSE_GUI=yes'
1720 ac_cv_use_gui
='wxUSE_GUI=no'
1725 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1726 if test "x$LINE" != x
; then
1727 eval "DEFAULT_$LINE"
1732 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1737 eval "$ac_cv_use_gui"
1738 if test "$no_cache" != 1; then
1739 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1742 if test "$wxUSE_GUI" = yes; then
1743 echo "$ac_t""yes" 1>&6
1745 echo "$ac_t""no" 1>&6
1749 if test "$wxUSE_GUI" = "yes"; then
1752 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1753 echo "configure:1754: checking for --enable-universal" >&5
1755 # Check whether --enable-universal or --disable-universal was given.
1756 if test "${enable_universal+set}" = set; then
1757 enableval
="$enable_universal"
1759 if test "$enableval" = yes; then
1760 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1762 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1767 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1768 if test "x$LINE" != x
; then
1769 eval "DEFAULT_$LINE"
1774 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1779 eval "$ac_cv_use_universal"
1780 if test "$no_cache" != 1; then
1781 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1784 if test "$wxUSE_UNIVERSAL" = yes; then
1785 echo "$ac_t""yes" 1>&6
1787 echo "$ac_t""no" 1>&6
1790 # Check whether --with-gtk or --without-gtk was given.
1791 if test "${with_gtk+set}" = set; then
1793 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1796 # Check whether --with-motif or --without-motif was given.
1797 if test "${with_motif+set}" = set; then
1798 withval
="$with_motif"
1799 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1802 # Check whether --with-mac or --without-mac was given.
1803 if test "${with_mac+set}" = set; then
1805 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1808 # Check whether --with-wine or --without-wine was given.
1809 if test "${with_wine+set}" = set; then
1810 withval
="$with_wine"
1811 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1814 # Check whether --with-cygwin or --without-cygwin was given.
1815 if test "${with_cygwin+set}" = set; then
1816 withval
="$with_cygwin"
1817 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1820 # Check whether --with-mingw or --without-mingw was given.
1821 if test "${with_mingw+set}" = set; then
1822 withval
="$with_mingw"
1823 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1826 # Check whether --with-pm or --without-pm was given.
1827 if test "${with_pm+set}" = set; then
1829 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --with-mgl or --without-mgl was given.
1833 if test "${with_mgl+set}" = set; then
1835 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1839 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1840 if test "${enable_gtk2+set}" = set; then
1841 enableval
="$enable_gtk2"
1849 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1850 echo "configure:1851: checking for --with-libpng" >&5
1852 # Check whether --with-libpng or --without-libpng was given.
1853 if test "${with_libpng+set}" = set; then
1854 withval
="$with_libpng"
1856 if test "$withval" = yes; then
1857 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1858 elif test "$withval" = no
; then
1859 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1860 elif test "$withval" = sys
; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1863 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1868 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1869 if test "x$LINE" != x
; then
1870 eval "DEFAULT_$LINE"
1875 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1880 eval "$ac_cv_use_libpng"
1881 if test "$no_cache" != 1; then
1882 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1885 if test "$wxUSE_LIBPNG" = yes; then
1886 echo "$ac_t""yes" 1>&6
1887 elif test "$wxUSE_LIBPNG" = no
; then
1888 echo "$ac_t""no" 1>&6
1889 elif test "$wxUSE_LIBPNG" = sys
; then
1890 echo "$ac_t""system version" 1>&6
1892 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1896 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1897 echo "configure:1898: checking for --with-libjpeg" >&5
1899 # Check whether --with-libjpeg or --without-libjpeg was given.
1900 if test "${with_libjpeg+set}" = set; then
1901 withval
="$with_libjpeg"
1903 if test "$withval" = yes; then
1904 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1905 elif test "$withval" = no
; then
1906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1907 elif test "$withval" = sys
; then
1908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1910 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1915 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1916 if test "x$LINE" != x
; then
1917 eval "DEFAULT_$LINE"
1922 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1927 eval "$ac_cv_use_libjpeg"
1928 if test "$no_cache" != 1; then
1929 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1932 if test "$wxUSE_LIBJPEG" = yes; then
1933 echo "$ac_t""yes" 1>&6
1934 elif test "$wxUSE_LIBJPEG" = no
; then
1935 echo "$ac_t""no" 1>&6
1936 elif test "$wxUSE_LIBJPEG" = sys
; then
1937 echo "$ac_t""system version" 1>&6
1939 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1943 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1944 echo "configure:1945: checking for --with-libtiff" >&5
1946 # Check whether --with-libtiff or --without-libtiff was given.
1947 if test "${with_libtiff+set}" = set; then
1948 withval
="$with_libtiff"
1950 if test "$withval" = yes; then
1951 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1952 elif test "$withval" = no
; then
1953 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1954 elif test "$withval" = sys
; then
1955 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1957 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1962 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1963 if test "x$LINE" != x
; then
1964 eval "DEFAULT_$LINE"
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1974 eval "$ac_cv_use_libtiff"
1975 if test "$no_cache" != 1; then
1976 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1979 if test "$wxUSE_LIBTIFF" = yes; then
1980 echo "$ac_t""yes" 1>&6
1981 elif test "$wxUSE_LIBTIFF" = no
; then
1982 echo "$ac_t""no" 1>&6
1983 elif test "$wxUSE_LIBTIFF" = sys
; then
1984 echo "$ac_t""system version" 1>&6
1986 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1990 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1991 echo "configure:1992: checking for --with-freetype" >&5
1993 # Check whether --with-freetype or --without-freetype was given.
1994 if test "${with_freetype+set}" = set; then
1995 withval
="$with_freetype"
1997 if test "$withval" = yes; then
1998 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1999 elif test "$withval" = no
; then
2000 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2001 elif test "$withval" = sys
; then
2002 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2004 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2009 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2010 if test "x$LINE" != x
; then
2011 eval "DEFAULT_$LINE"
2016 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2021 eval "$ac_cv_use_freetype"
2022 if test "$no_cache" != 1; then
2023 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2026 if test "$wxUSE_FREETYPE" = yes; then
2027 echo "$ac_t""yes" 1>&6
2028 elif test "$wxUSE_FREETYPE" = no
; then
2029 echo "$ac_t""no" 1>&6
2030 elif test "$wxUSE_FREETYPE" = sys
; then
2031 echo "$ac_t""system version" 1>&6
2033 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2037 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2038 echo "configure:2039: checking for --with-opengl" >&5
2040 # Check whether --with-opengl or --without-opengl was given.
2041 if test "${with_opengl+set}" = set; then
2042 withval
="$with_opengl"
2044 if test "$withval" = yes; then
2045 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2047 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2052 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2053 if test "x$LINE" != x
; then
2054 eval "DEFAULT_$LINE"
2059 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2064 eval "$ac_cv_use_opengl"
2065 if test "$no_cache" != 1; then
2066 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2069 if test "$wxUSE_OPENGL" = yes; then
2070 echo "$ac_t""yes" 1>&6
2072 echo "$ac_t""no" 1>&6
2079 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2080 echo "configure:2081: checking for --with-dmalloc" >&5
2082 # Check whether --with-dmalloc or --without-dmalloc was given.
2083 if test "${with_dmalloc+set}" = set; then
2084 withval
="$with_dmalloc"
2086 if test "$withval" = yes; then
2087 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2089 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2094 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2095 if test "x$LINE" != x
; then
2096 eval "DEFAULT_$LINE"
2101 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2106 eval "$ac_cv_use_dmalloc"
2107 if test "$no_cache" != 1; then
2108 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2111 if test "$wxUSE_DMALLOC" = yes; then
2112 echo "$ac_t""yes" 1>&6
2114 echo "$ac_t""no" 1>&6
2118 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2119 echo "configure:2120: checking for --with-regex" >&5
2121 # Check whether --with-regex or --without-regex was given.
2122 if test "${with_regex+set}" = set; then
2123 withval
="$with_regex"
2125 if test "$withval" = yes; then
2126 ac_cv_use_regex
='wxUSE_REGEX=yes'
2127 elif test "$withval" = no
; then
2128 ac_cv_use_regex
='wxUSE_REGEX=no'
2129 elif test "$withval" = sys
; then
2130 ac_cv_use_regex
='wxUSE_REGEX=sys'
2132 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2137 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2138 if test "x$LINE" != x
; then
2139 eval "DEFAULT_$LINE"
2144 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2149 eval "$ac_cv_use_regex"
2150 if test "$no_cache" != 1; then
2151 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2154 if test "$wxUSE_REGEX" = yes; then
2155 echo "$ac_t""yes" 1>&6
2156 elif test "$wxUSE_REGEX" = no
; then
2157 echo "$ac_t""no" 1>&6
2158 elif test "$wxUSE_REGEX" = sys
; then
2159 echo "$ac_t""system version" 1>&6
2161 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2165 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2166 echo "configure:2167: checking for --with-zlib" >&5
2168 # Check whether --with-zlib or --without-zlib was given.
2169 if test "${with_zlib+set}" = set; then
2170 withval
="$with_zlib"
2172 if test "$withval" = yes; then
2173 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2174 elif test "$withval" = no
; then
2175 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2176 elif test "$withval" = sys
; then
2177 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2179 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2184 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2185 if test "x$LINE" != x
; then
2186 eval "DEFAULT_$LINE"
2191 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2196 eval "$ac_cv_use_zlib"
2197 if test "$no_cache" != 1; then
2198 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2201 if test "$wxUSE_ZLIB" = yes; then
2202 echo "$ac_t""yes" 1>&6
2203 elif test "$wxUSE_ZLIB" = no
; then
2204 echo "$ac_t""no" 1>&6
2205 elif test "$wxUSE_ZLIB" = sys
; then
2206 echo "$ac_t""system version" 1>&6
2208 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2212 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2213 echo "configure:2214: checking for --with-odbc" >&5
2215 # Check whether --with-odbc or --without-odbc was given.
2216 if test "${with_odbc+set}" = set; then
2217 withval
="$with_odbc"
2219 if test "$withval" = yes; then
2220 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2222 ac_cv_use_odbc
='wxUSE_ODBC=no'
2227 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2228 if test "x$LINE" != x
; then
2229 eval "DEFAULT_$LINE"
2234 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2239 eval "$ac_cv_use_odbc"
2240 if test "$no_cache" != 1; then
2241 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2244 if test "$wxUSE_ODBC" = yes; then
2245 echo "$ac_t""yes" 1>&6
2247 echo "$ac_t""no" 1>&6
2254 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2255 echo "configure:2256: checking for --enable-shared" >&5
2257 # Check whether --enable-shared or --disable-shared was given.
2258 if test "${enable_shared+set}" = set; then
2259 enableval
="$enable_shared"
2261 if test "$enableval" = yes; then
2262 ac_cv_use_shared
='wxUSE_SHARED=yes'
2264 ac_cv_use_shared
='wxUSE_SHARED=no'
2269 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2270 if test "x$LINE" != x
; then
2271 eval "DEFAULT_$LINE"
2276 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2281 eval "$ac_cv_use_shared"
2282 if test "$no_cache" != 1; then
2283 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2286 if test "$wxUSE_SHARED" = yes; then
2287 echo "$ac_t""yes" 1>&6
2289 echo "$ac_t""no" 1>&6
2293 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2294 echo "configure:2295: checking for --enable-burnt_name" >&5
2296 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2297 if test "${enable_burnt_name+set}" = set; then
2298 enableval
="$enable_burnt_name"
2300 if test "$enableval" = yes; then
2301 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2303 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2308 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2320 eval "$ac_cv_use_burnt_name"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_BURNT_NAME" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2333 echo "configure:2334: checking for --enable-optimise" >&5
2335 # Check whether --enable-optimise or --disable-optimise was given.
2336 if test "${enable_optimise+set}" = set; then
2337 enableval
="$enable_optimise"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2342 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2347 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x
; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2359 eval "$ac_cv_use_optimise"
2360 if test "$no_cache" != 1; then
2361 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2364 if test "$wxUSE_OPTIMISE" = yes; then
2365 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2371 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2372 echo "configure:2373: checking for --enable-debug" >&5
2374 # Check whether --enable-debug or --disable-debug was given.
2375 if test "${enable_debug+set}" = set; then
2376 enableval
="$enable_debug"
2378 if test "$enableval" = yes; then
2379 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2381 ac_cv_use_debug
='wxUSE_DEBUG=no'
2386 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2387 if test "x$LINE" != x
; then
2388 eval "DEFAULT_$LINE"
2393 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2398 eval "$ac_cv_use_debug"
2399 if test "$no_cache" != 1; then
2400 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2403 if test "$wxUSE_DEBUG" = yes; then
2404 echo "$ac_t""yes" 1>&6
2406 echo "$ac_t""no" 1>&6
2410 if test "$wxUSE_DEBUG" = "yes"; then
2411 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2412 DEFAULT_wxUSE_DEBUG_INFO
=yes
2413 elif test "$wxUSE_DEBUG" = "no"; then
2414 DEFAULT_wxUSE_DEBUG_FLAG
=no
2415 DEFAULT_wxUSE_DEBUG_INFO
=no
2419 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2420 echo "configure:2421: checking for --enable-debug_flag" >&5
2422 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2423 if test "${enable_debug_flag+set}" = set; then
2424 enableval
="$enable_debug_flag"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2429 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2434 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x
; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2446 eval "$ac_cv_use_debug_flag"
2447 if test "$no_cache" != 1; then
2448 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2451 if test "$wxUSE_DEBUG_FLAG" = yes; then
2452 echo "$ac_t""yes" 1>&6
2454 echo "$ac_t""no" 1>&6
2458 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2459 echo "configure:2460: checking for --enable-debug_info" >&5
2461 # Check whether --enable-debug_info or --disable-debug_info was given.
2462 if test "${enable_debug_info+set}" = set; then
2463 enableval
="$enable_debug_info"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2468 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2473 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2485 eval "$ac_cv_use_debug_info"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_DEBUG_INFO" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2497 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2498 echo "configure:2499: checking for --enable-debug_gdb" >&5
2500 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2501 if test "${enable_debug_gdb+set}" = set; then
2502 enableval
="$enable_debug_gdb"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2507 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2512 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2524 eval "$ac_cv_use_debug_gdb"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_DEBUG_GDB" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2537 echo "configure:2538: checking for --enable-debug_cntxt" >&5
2539 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2540 if test "${enable_debug_cntxt+set}" = set; then
2541 enableval
="$enable_debug_cntxt"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2546 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2551 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2563 eval "$ac_cv_use_debug_cntxt"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2576 echo "configure:2577: checking for --enable-mem_tracing" >&5
2578 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2579 if test "${enable_mem_tracing+set}" = set; then
2580 enableval
="$enable_mem_tracing"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2585 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2590 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2602 eval "$ac_cv_use_mem_tracing"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_MEM_TRACING" = yes; then
2608 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2615 echo "configure:2616: checking for --enable-profile" >&5
2617 # Check whether --enable-profile or --disable-profile was given.
2618 if test "${enable_profile+set}" = set; then
2619 enableval
="$enable_profile"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2624 ac_cv_use_profile
='wxUSE_PROFILE=no'
2629 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2641 eval "$ac_cv_use_profile"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_PROFILE" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2654 echo "configure:2655: checking for --enable-no_rtti" >&5
2656 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2657 if test "${enable_no_rtti+set}" = set; then
2658 enableval
="$enable_no_rtti"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2663 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2668 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2680 eval "$ac_cv_use_no_rtti"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_NO_RTTI" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2693 echo "configure:2694: checking for --enable-no_exceptions" >&5
2695 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2696 if test "${enable_no_exceptions+set}" = set; then
2697 enableval
="$enable_no_exceptions"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2702 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2707 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2719 eval "$ac_cv_use_no_exceptions"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2732 echo "configure:2733: checking for --enable-permissive" >&5
2734 # Check whether --enable-permissive or --disable-permissive was given.
2735 if test "${enable_permissive+set}" = set; then
2736 enableval
="$enable_permissive"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2741 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2746 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2758 eval "$ac_cv_use_permissive"
2759 if test "$no_cache" != 1; then
2760 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2763 if test "$wxUSE_PERMISSIVE" = yes; then
2764 echo "$ac_t""yes" 1>&6
2766 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2771 echo "configure:2772: checking for --enable-no_deps" >&5
2773 # Check whether --enable-no_deps or --disable-no_deps was given.
2774 if test "${enable_no_deps+set}" = set; then
2775 enableval
="$enable_no_deps"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2780 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2785 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2797 eval "$ac_cv_use_no_deps"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_NO_DEPS" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2811 echo "configure:2812: checking for --enable-compat20" >&5
2813 # Check whether --enable-compat20 or --disable-compat20 was given.
2814 if test "${enable_compat20+set}" = set; then
2815 enableval
="$enable_compat20"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2820 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2825 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2837 eval "$ac_cv_use_compat20"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2842 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2849 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2850 echo "configure:2851: checking for --enable-compat22" >&5
2852 # Check whether --enable-compat22 or --disable-compat22 was given.
2853 if test "${enable_compat22+set}" = set; then
2854 enableval
="$enable_compat22"
2856 if test "$enableval" = yes; then
2857 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2859 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2864 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x
; then
2866 eval "DEFAULT_$LINE"
2871 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2876 eval "$ac_cv_use_compat22"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2881 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2882 echo "$ac_t""yes" 1>&6
2884 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2891 echo "configure:2892: checking for --enable-intl" >&5
2893 # Check whether --enable-intl or --disable-intl was given.
2894 if test "${enable_intl+set}" = set; then
2895 enableval
="$enable_intl"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_intl
='wxUSE_INTL=yes'
2900 ac_cv_use_intl
='wxUSE_INTL=no'
2905 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2917 eval "$ac_cv_use_intl"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_INTL" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2929 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2930 echo "configure:2931: checking for --enable-config" >&5
2932 # Check whether --enable-config or --disable-config was given.
2933 if test "${enable_config+set}" = set; then
2934 enableval
="$enable_config"
2936 if test "$enableval" = yes; then
2937 ac_cv_use_config
='wxUSE_CONFIG=yes'
2939 ac_cv_use_config
='wxUSE_CONFIG=no'
2944 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2956 eval "$ac_cv_use_config"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_CONFIG" = yes; then
2962 echo "$ac_t""yes" 1>&6
2964 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2970 echo "configure:2971: checking for --enable-sockets" >&5
2972 # Check whether --enable-sockets or --disable-sockets was given.
2973 if test "${enable_sockets+set}" = set; then
2974 enableval
="$enable_sockets"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2979 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2984 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2996 eval "$ac_cv_use_sockets"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3001 if test "$wxUSE_SOCKETS" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3009 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3010 echo "configure:3011: checking for --enable-ipc" >&5
3012 # Check whether --enable-ipc or --disable-ipc was given.
3013 if test "${enable_ipc+set}" = set; then
3014 enableval
="$enable_ipc"
3016 if test "$enableval" = yes; then
3017 ac_cv_use_ipc
='wxUSE_IPC=yes'
3019 ac_cv_use_ipc
='wxUSE_IPC=no'
3024 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3025 if test "x$LINE" != x
; then
3026 eval "DEFAULT_$LINE"
3031 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3036 eval "$ac_cv_use_ipc"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_IPC" = yes; then
3042 echo "$ac_t""yes" 1>&6
3044 echo "$ac_t""no" 1>&6
3049 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3050 echo "configure:3051: checking for --enable-cmdline" >&5
3052 # Check whether --enable-cmdline or --disable-cmdline was given.
3053 if test "${enable_cmdline+set}" = set; then
3054 enableval
="$enable_cmdline"
3056 if test "$enableval" = yes; then
3057 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3059 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3064 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3076 eval "$ac_cv_use_cmdline"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3082 echo "$ac_t""yes" 1>&6
3084 echo "$ac_t""no" 1>&6
3088 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3089 echo "configure:3090: checking for --enable-datetime" >&5
3091 # Check whether --enable-datetime or --disable-datetime was given.
3092 if test "${enable_datetime+set}" = set; then
3093 enableval
="$enable_datetime"
3095 if test "$enableval" = yes; then
3096 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3098 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3103 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x
; then
3105 eval "DEFAULT_$LINE"
3110 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3115 eval "$ac_cv_use_datetime"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_DATETIME" = yes; then
3121 echo "$ac_t""yes" 1>&6
3123 echo "$ac_t""no" 1>&6
3127 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3128 echo "configure:3129: checking for --enable-timedate" >&5
3130 # Check whether --enable-timedate or --disable-timedate was given.
3131 if test "${enable_timedate+set}" = set; then
3132 enableval
="$enable_timedate"
3134 if test "$enableval" = yes; then
3135 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3137 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3142 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3154 eval "$ac_cv_use_timedate"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_TIMEDATE" = yes; then
3160 echo "$ac_t""yes" 1>&6
3162 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --enable-stopwatch" >&5
3169 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3170 if test "${enable_stopwatch+set}" = set; then
3171 enableval
="$enable_stopwatch"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3176 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3181 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3193 eval "$ac_cv_use_stopwatch"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_STOPWATCH" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3205 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3206 echo "configure:3207: checking for --enable-dialupman" >&5
3208 # Check whether --enable-dialupman or --disable-dialupman was given.
3209 if test "${enable_dialupman+set}" = set; then
3210 enableval
="$enable_dialupman"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3215 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3220 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x
; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3232 eval "$ac_cv_use_dialupman"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3238 echo "$ac_t""yes" 1>&6
3240 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3245 echo "configure:3246: checking for --enable-apple_ieee" >&5
3247 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3248 if test "${enable_apple_ieee+set}" = set; then
3249 enableval
="$enable_apple_ieee"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3254 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3259 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3271 eval "$ac_cv_use_apple_ieee"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_APPLE_IEEE" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3283 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3284 echo "configure:3285: checking for --enable-timer" >&5
3286 # Check whether --enable-timer or --disable-timer was given.
3287 if test "${enable_timer+set}" = set; then
3288 enableval
="$enable_timer"
3290 if test "$enableval" = yes; then
3291 ac_cv_use_timer
='wxUSE_TIMER=yes'
3293 ac_cv_use_timer
='wxUSE_TIMER=no'
3298 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3299 if test "x$LINE" != x
; then
3300 eval "DEFAULT_$LINE"
3305 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3310 eval "$ac_cv_use_timer"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_TIMER" = yes; then
3316 echo "$ac_t""yes" 1>&6
3318 echo "$ac_t""no" 1>&6
3322 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3323 echo "configure:3324: checking for --enable-wave" >&5
3325 # Check whether --enable-wave or --disable-wave was given.
3326 if test "${enable_wave+set}" = set; then
3327 enableval
="$enable_wave"
3329 if test "$enableval" = yes; then
3330 ac_cv_use_wave
='wxUSE_WAVE=yes'
3332 ac_cv_use_wave
='wxUSE_WAVE=no'
3337 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x
; then
3339 eval "DEFAULT_$LINE"
3344 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3349 eval "$ac_cv_use_wave"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_WAVE" = yes; then
3355 echo "$ac_t""yes" 1>&6
3357 echo "$ac_t""no" 1>&6
3361 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3362 echo "configure:3363: checking for --enable-fraction" >&5
3364 # Check whether --enable-fraction or --disable-fraction was given.
3365 if test "${enable_fraction+set}" = set; then
3366 enableval
="$enable_fraction"
3368 if test "$enableval" = yes; then
3369 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3371 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3376 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3377 if test "x$LINE" != x
; then
3378 eval "DEFAULT_$LINE"
3383 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3388 eval "$ac_cv_use_fraction"
3389 if test "$no_cache" != 1; then
3390 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3393 if test "$wxUSE_FRACTION" = yes; then
3394 echo "$ac_t""yes" 1>&6
3396 echo "$ac_t""no" 1>&6
3400 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3401 echo "configure:3402: checking for --enable-dynlib" >&5
3403 # Check whether --enable-dynlib or --disable-dynlib was given.
3404 if test "${enable_dynlib+set}" = set; then
3405 enableval
="$enable_dynlib"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3410 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3415 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3427 eval "$ac_cv_use_dynlib"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3439 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3440 echo "configure:3441: checking for --enable-longlong" >&5
3442 # Check whether --enable-longlong or --disable-longlong was given.
3443 if test "${enable_longlong+set}" = set; then
3444 enableval
="$enable_longlong"
3446 if test "$enableval" = yes; then
3447 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3449 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3454 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x
; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3466 eval "$ac_cv_use_longlong"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_LONGLONG" = yes; then
3472 echo "$ac_t""yes" 1>&6
3474 echo "$ac_t""no" 1>&6
3478 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3479 echo "configure:3480: checking for --enable-geometry" >&5
3481 # Check whether --enable-geometry or --disable-geometry was given.
3482 if test "${enable_geometry+set}" = set; then
3483 enableval
="$enable_geometry"
3485 if test "$enableval" = yes; then
3486 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3488 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3493 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x
; then
3495 eval "DEFAULT_$LINE"
3500 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3505 eval "$ac_cv_use_geometry"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_GEOMETRY" = yes; then
3511 echo "$ac_t""yes" 1>&6
3513 echo "$ac_t""no" 1>&6
3517 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3518 echo "configure:3519: checking for --enable-log" >&5
3520 # Check whether --enable-log or --disable-log was given.
3521 if test "${enable_log+set}" = set; then
3522 enableval
="$enable_log"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_log
='wxUSE_LOG=yes'
3527 ac_cv_use_log
='wxUSE_LOG=no'
3532 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3544 eval "$ac_cv_use_log"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_LOG" = yes; then
3550 echo "$ac_t""yes" 1>&6
3552 echo "$ac_t""no" 1>&6
3556 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3557 echo "configure:3558: checking for --enable-streams" >&5
3559 # Check whether --enable-streams or --disable-streams was given.
3560 if test "${enable_streams+set}" = set; then
3561 enableval
="$enable_streams"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3566 ac_cv_use_streams
='wxUSE_STREAMS=no'
3571 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3583 eval "$ac_cv_use_streams"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_STREAMS" = yes; then
3589 echo "$ac_t""yes" 1>&6
3591 echo "$ac_t""no" 1>&6
3595 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3596 echo "configure:3597: checking for --enable-file" >&5
3598 # Check whether --enable-file or --disable-file was given.
3599 if test "${enable_file+set}" = set; then
3600 enableval
="$enable_file"
3602 if test "$enableval" = yes; then
3603 ac_cv_use_file
='wxUSE_FILE=yes'
3605 ac_cv_use_file
='wxUSE_FILE=no'
3610 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x
; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3622 eval "$ac_cv_use_file"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3627 if test "$wxUSE_FILE" = yes; then
3628 echo "$ac_t""yes" 1>&6
3630 echo "$ac_t""no" 1>&6
3634 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3635 echo "configure:3636: checking for --enable-ffile" >&5
3637 # Check whether --enable-ffile or --disable-ffile was given.
3638 if test "${enable_ffile+set}" = set; then
3639 enableval
="$enable_ffile"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3644 ac_cv_use_ffile
='wxUSE_FFILE=no'
3649 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3661 eval "$ac_cv_use_ffile"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_FFILE" = yes; then
3667 echo "$ac_t""yes" 1>&6
3669 echo "$ac_t""no" 1>&6
3673 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3674 echo "configure:3675: checking for --enable-textfile" >&5
3676 # Check whether --enable-textfile or --disable-textfile was given.
3677 if test "${enable_textfile+set}" = set; then
3678 enableval
="$enable_textfile"
3680 if test "$enableval" = yes; then
3681 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3683 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3688 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x
; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3700 eval "$ac_cv_use_textfile"
3701 if test "$no_cache" != 1; then
3702 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3705 if test "$wxUSE_TEXTFILE" = yes; then
3706 echo "$ac_t""yes" 1>&6
3708 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3713 echo "configure:3714: checking for --enable-fontmap" >&5
3715 # Check whether --enable-fontmap or --disable-fontmap was given.
3716 if test "${enable_fontmap+set}" = set; then
3717 enableval
="$enable_fontmap"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3722 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3727 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3739 eval "$ac_cv_use_fontmap"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_FONTMAP" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3752 echo "configure:3753: checking for --enable-unicode" >&5
3754 # Check whether --enable-unicode or --disable-unicode was given.
3755 if test "${enable_unicode+set}" = set; then
3756 enableval
="$enable_unicode"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3761 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3766 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3778 eval "$ac_cv_use_unicode"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_UNICODE" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3790 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3791 echo "configure:3792: checking for --enable-wcsrtombs" >&5
3793 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3794 if test "${enable_wcsrtombs+set}" = set; then
3795 enableval
="$enable_wcsrtombs"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3800 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3805 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3817 eval "$ac_cv_use_wcsrtombs"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_WCSRTOMBS" = yes; then
3823 echo "$ac_t""yes" 1>&6
3825 echo "$ac_t""no" 1>&6
3829 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3830 echo "configure:3831: checking for --enable-wxprintfv" >&5
3832 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3833 if test "${enable_wxprintfv+set}" = set; then
3834 enableval
="$enable_wxprintfv"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3839 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3844 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3856 eval "$ac_cv_use_wxprintfv"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3862 echo "$ac_t""yes" 1>&6
3864 echo "$ac_t""no" 1>&6
3868 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3869 echo "configure:3870: checking for --enable-std_iostreams" >&5
3871 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3872 if test "${enable_std_iostreams+set}" = set; then
3873 enableval
="$enable_std_iostreams"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3878 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3883 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3895 eval "$ac_cv_use_std_iostreams"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_STD_IOSTREAM" = yes; then
3901 echo "$ac_t""yes" 1>&6
3903 echo "$ac_t""no" 1>&6
3907 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3908 echo "configure:3909: checking for --enable-filesystem" >&5
3910 # Check whether --enable-filesystem or --disable-filesystem was given.
3911 if test "${enable_filesystem+set}" = set; then
3912 enableval
="$enable_filesystem"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3917 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3922 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3934 eval "$ac_cv_use_filesystem"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3939 if test "$wxUSE_FILESYSTEM" = yes; then
3940 echo "$ac_t""yes" 1>&6
3942 echo "$ac_t""no" 1>&6
3946 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3947 echo "configure:3948: checking for --enable-fs_inet" >&5
3949 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3950 if test "${enable_fs_inet+set}" = set; then
3951 enableval
="$enable_fs_inet"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3956 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3961 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3973 eval "$ac_cv_use_fs_inet"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_FS_INET" = yes; then
3979 echo "$ac_t""yes" 1>&6
3981 echo "$ac_t""no" 1>&6
3985 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3986 echo "configure:3987: checking for --enable-fs_zip" >&5
3988 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3989 if test "${enable_fs_zip+set}" = set; then
3990 enableval
="$enable_fs_zip"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3995 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4000 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4012 eval "$ac_cv_use_fs_zip"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_FS_ZIP" = yes; then
4018 echo "$ac_t""yes" 1>&6
4020 echo "$ac_t""no" 1>&6
4024 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4025 echo "configure:4026: checking for --enable-zipstream" >&5
4027 # Check whether --enable-zipstream or --disable-zipstream was given.
4028 if test "${enable_zipstream+set}" = set; then
4029 enableval
="$enable_zipstream"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4034 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4039 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4051 eval "$ac_cv_use_zipstream"
4052 if test "$no_cache" != 1; then
4053 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4056 if test "$wxUSE_ZIPSTREAM" = yes; then
4057 echo "$ac_t""yes" 1>&6
4059 echo "$ac_t""no" 1>&6
4064 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4065 echo "configure:4066: checking for --enable-catch_segvs" >&5
4067 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4068 if test "${enable_catch_segvs+set}" = set; then
4069 enableval
="$enable_catch_segvs"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4074 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4079 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4091 eval "$ac_cv_use_catch_segvs"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4097 echo "$ac_t""yes" 1>&6
4099 echo "$ac_t""no" 1>&6
4103 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4104 echo "configure:4105: checking for --enable-snglinst" >&5
4106 # Check whether --enable-snglinst or --disable-snglinst was given.
4107 if test "${enable_snglinst+set}" = set; then
4108 enableval
="$enable_snglinst"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4113 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4118 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4130 eval "$ac_cv_use_snglinst"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4135 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4136 echo "$ac_t""yes" 1>&6
4138 echo "$ac_t""no" 1>&6
4143 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4144 echo "configure:4145: checking for --enable-mimetype" >&5
4146 # Check whether --enable-mimetype or --disable-mimetype was given.
4147 if test "${enable_mimetype+set}" = set; then
4148 enableval
="$enable_mimetype"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4153 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4158 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4170 eval "$ac_cv_use_mimetype"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_MIMETYPE" = yes; then
4176 echo "$ac_t""yes" 1>&6
4178 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-system_options" >&5
4185 # Check whether --enable-system_options or --disable-system_options was given.
4186 if test "${enable_system_options+set}" = set; then
4187 enableval
="$enable_system_options"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4192 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4197 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4209 eval "$ac_cv_use_system_options"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4223 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4224 echo "configure:4225: checking for --enable-threads" >&5
4226 # Check whether --enable-threads or --disable-threads was given.
4227 if test "${enable_threads+set}" = set; then
4228 enableval
="$enable_threads"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_threads
='wxUSE_THREADS=yes'
4233 ac_cv_use_threads
='wxUSE_THREADS=no'
4238 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x
; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4250 eval "$ac_cv_use_threads"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_THREADS" = yes; then
4256 echo "$ac_t""yes" 1>&6
4258 echo "$ac_t""no" 1>&6
4262 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4263 echo "configure:4264: checking for --enable-serial" >&5
4265 # Check whether --enable-serial or --disable-serial was given.
4266 if test "${enable_serial+set}" = set; then
4267 enableval
="$enable_serial"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4272 ac_cv_use_serial
='wxUSE_SERIAL=no'
4277 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4289 eval "$ac_cv_use_serial"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_SERIAL" = yes; then
4295 echo "$ac_t""yes" 1>&6
4297 echo "$ac_t""no" 1>&6
4301 if test "$wxUSE_GUI" = "yes"; then
4305 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4306 echo "configure:4307: checking for --enable-docview" >&5
4308 # Check whether --enable-docview or --disable-docview was given.
4309 if test "${enable_docview+set}" = set; then
4310 enableval
="$enable_docview"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4315 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4320 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4332 eval "$ac_cv_use_docview"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4337 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4338 echo "$ac_t""yes" 1>&6
4340 echo "$ac_t""no" 1>&6
4344 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4345 echo "configure:4346: checking for --enable-help" >&5
4347 # Check whether --enable-help or --disable-help was given.
4348 if test "${enable_help+set}" = set; then
4349 enableval
="$enable_help"
4351 if test "$enableval" = yes; then
4352 ac_cv_use_help
='wxUSE_HELP=yes'
4354 ac_cv_use_help
='wxUSE_HELP=no'
4359 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x
; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4371 eval "$ac_cv_use_help"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_HELP" = yes; then
4377 echo "$ac_t""yes" 1>&6
4379 echo "$ac_t""no" 1>&6
4383 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4384 echo "configure:4385: checking for --enable-mshtmlhelp" >&5
4386 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4387 if test "${enable_mshtmlhelp+set}" = set; then
4388 enableval
="$enable_mshtmlhelp"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4393 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4398 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4410 eval "$ac_cv_use_mshtmlhelp"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_MS_HTML_HELP" = yes; then
4416 echo "$ac_t""yes" 1>&6
4418 echo "$ac_t""no" 1>&6
4422 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4423 echo "configure:4424: checking for --enable-html" >&5
4425 # Check whether --enable-html or --disable-html was given.
4426 if test "${enable_html+set}" = set; then
4427 enableval
="$enable_html"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_html
='wxUSE_HTML=yes'
4432 ac_cv_use_html
='wxUSE_HTML=no'
4437 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4449 eval "$ac_cv_use_html"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_HTML" = yes; then
4455 echo "$ac_t""yes" 1>&6
4457 echo "$ac_t""no" 1>&6
4461 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4462 echo "configure:4463: checking for --enable-htmlhelp" >&5
4464 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4465 if test "${enable_htmlhelp+set}" = set; then
4466 enableval
="$enable_htmlhelp"
4468 if test "$enableval" = yes; then
4469 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4471 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4476 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4477 if test "x$LINE" != x
; then
4478 eval "DEFAULT_$LINE"
4483 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4488 eval "$ac_cv_use_htmlhelp"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4493 if test "$wxUSE_WXHTML_HELP" = yes; then
4494 echo "$ac_t""yes" 1>&6
4496 echo "$ac_t""no" 1>&6
4500 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-constraints" >&5
4503 # Check whether --enable-constraints or --disable-constraints was given.
4504 if test "${enable_constraints+set}" = set; then
4505 enableval
="$enable_constraints"
4507 if test "$enableval" = yes; then
4508 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4510 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4515 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4522 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4527 eval "$ac_cv_use_constraints"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_CONSTRAINTS" = yes; then
4533 echo "$ac_t""yes" 1>&6
4535 echo "$ac_t""no" 1>&6
4539 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-printarch" >&5
4542 # Check whether --enable-printarch or --disable-printarch was given.
4543 if test "${enable_printarch+set}" = set; then
4544 enableval
="$enable_printarch"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4549 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4554 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4566 eval "$ac_cv_use_printarch"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4571 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4572 echo "$ac_t""yes" 1>&6
4574 echo "$ac_t""no" 1>&6
4578 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4579 echo "configure:4580: checking for --enable-mdi" >&5
4581 # Check whether --enable-mdi or --disable-mdi was given.
4582 if test "${enable_mdi+set}" = set; then
4583 enableval
="$enable_mdi"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4588 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4593 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4605 eval "$ac_cv_use_mdi"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4611 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no" 1>&6
4617 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4618 echo "configure:4619: checking for --enable-loggui" >&5
4620 # Check whether --enable-loggui or --disable-loggui was given.
4621 if test "${enable_loggui+set}" = set; then
4622 enableval
="$enable_loggui"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4627 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4632 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4644 eval "$ac_cv_use_loggui"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_LOGGUI" = yes; then
4650 echo "$ac_t""yes" 1>&6
4652 echo "$ac_t""no" 1>&6
4656 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4657 echo "configure:4658: checking for --enable-logwin" >&5
4659 # Check whether --enable-logwin or --disable-logwin was given.
4660 if test "${enable_logwin+set}" = set; then
4661 enableval
="$enable_logwin"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4666 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4671 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4683 eval "$ac_cv_use_logwin"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_LOGWINDOW" = yes; then
4689 echo "$ac_t""yes" 1>&6
4691 echo "$ac_t""no" 1>&6
4696 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4697 echo "configure:4698: checking for --enable-postscript" >&5
4699 # Check whether --enable-postscript or --disable-postscript was given.
4700 if test "${enable_postscript+set}" = set; then
4701 enableval
="$enable_postscript"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4706 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4711 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4723 eval "$ac_cv_use_postscript"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_POSTSCRIPT" = yes; then
4729 echo "$ac_t""yes" 1>&6
4731 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-prologio" >&5
4741 # Check whether --enable-prologio or --disable-prologio was given.
4742 if test "${enable_prologio+set}" = set; then
4743 enableval
="$enable_prologio"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4748 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4753 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4765 eval "$ac_cv_use_prologio"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROLOGIO" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4777 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-resources" >&5
4780 # Check whether --enable-resources or --disable-resources was given.
4781 if test "${enable_resources+set}" = set; then
4782 enableval
="$enable_resources"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4787 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4792 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4804 eval "$ac_cv_use_resources"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_RESOURCES" = yes; then
4810 echo "$ac_t""yes" 1>&6
4812 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-xresources" >&5
4820 # Check whether --enable-xresources or --disable-xresources was given.
4821 if test "${enable_xresources+set}" = set; then
4822 enableval
="$enable_xresources"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4827 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4832 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4844 eval "$ac_cv_use_xresources"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_X_RESOURCES" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4858 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4859 echo "configure:4860: checking for --enable-clipboard" >&5
4861 # Check whether --enable-clipboard or --disable-clipboard was given.
4862 if test "${enable_clipboard+set}" = set; then
4863 enableval
="$enable_clipboard"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4868 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4873 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4885 eval "$ac_cv_use_clipboard"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_CLIPBOARD" = yes; then
4891 echo "$ac_t""yes" 1>&6
4893 echo "$ac_t""no" 1>&6
4897 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4898 echo "configure:4899: checking for --enable-dnd" >&5
4900 # Check whether --enable-dnd or --disable-dnd was given.
4901 if test "${enable_dnd+set}" = set; then
4902 enableval
="$enable_dnd"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4907 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4912 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4924 eval "$ac_cv_use_dnd"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4930 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4936 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4937 echo "configure:4938: checking for --enable-metafile" >&5
4939 # Check whether --enable-metafile or --disable-metafile was given.
4940 if test "${enable_metafile+set}" = set; then
4941 enableval
="$enable_metafile"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4946 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4951 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4963 eval "$ac_cv_use_metafile"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_METAFILE" = yes; then
4969 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4976 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-treelayout" >&5
4979 # Check whether --enable-treelayout or --disable-treelayout was given.
4980 if test "${enable_treelayout+set}" = set; then
4981 enableval
="$enable_treelayout"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4986 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4991 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5003 eval "$ac_cv_use_treelayout"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_TREELAYOUT" = yes; then
5009 echo "$ac_t""yes" 1>&6
5011 echo "$ac_t""no" 1>&6
5017 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5018 echo "configure:5019: checking for --enable-controls" >&5
5020 # Check whether --enable-controls or --disable-controls was given.
5021 if test "${enable_controls+set}" = set; then
5022 enableval
="$enable_controls"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5027 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5032 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5044 eval "$ac_cv_use_controls"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_CONTROLS" = yes; then
5050 echo "$ac_t""yes" 1>&6
5052 echo "$ac_t""no" 1>&6
5056 if test "$wxUSE_CONTROLS" = "yes"; then
5057 DEFAULT_wxUSE_ACCEL
=yes
5058 DEFAULT_wxUSE_BMPBUTTON
=yes
5059 DEFAULT_wxUSE_BUTTON
=yes
5060 DEFAULT_wxUSE_CALCTRL
=no
5061 DEFAULT_wxUSE_CARET
=yes
5062 DEFAULT_wxUSE_COMBOBOX
=yes
5063 DEFAULT_wxUSE_CHECKBOX
=yes
5064 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5065 DEFAULT_wxUSE_CHOICE
=yes
5066 DEFAULT_wxUSE_GAUGE
=yes
5067 DEFAULT_wxUSE_GRID
=yes
5068 DEFAULT_wxUSE_NEW_GRID
=yes
5069 DEFAULT_wxUSE_IMAGLIST
=yes
5070 DEFAULT_wxUSE_LISTBOX
=yes
5071 DEFAULT_wxUSE_LISTCTRL
=yes
5072 DEFAULT_wxUSE_NOTEBOOK
=yes
5073 DEFAULT_wxUSE_PROPSHEET
=yes
5074 DEFAULT_wxUSE_RADIOBOX
=yes
5075 DEFAULT_wxUSE_RADIOBTN
=yes
5076 DEFAULT_wxUSE_SASH
=yes
5077 DEFAULT_wxUSE_SCROLLBAR
=yes
5078 DEFAULT_wxUSE_SLIDER
=yes
5079 DEFAULT_wxUSE_SPINBTN
=yes
5080 DEFAULT_wxUSE_SPINCTRL
=yes
5081 DEFAULT_wxUSE_SPLITTER
=yes
5082 DEFAULT_wxUSE_STATBMP
=yes
5083 DEFAULT_wxUSE_STATBOX
=yes
5084 DEFAULT_wxUSE_STATLINE
=yes
5085 DEFAULT_wxUSE_STATUSBAR
=yes
5086 DEFAULT_wxUSE_TAB_DIALOG
=yes
5087 DEFAULT_wxUSE_TOGGLEBTN
=yes
5088 DEFAULT_wxUSE_TOOLBAR
=yes
5089 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5090 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5091 DEFAULT_wxUSE_TOOLTIPS
=yes
5092 DEFAULT_wxUSE_TREECTRL
=yes
5093 DEFAULT_wxUSE_POPUPWIN
=yes
5094 elif test "$wxUSE_CONTROLS" = "no"; then
5095 DEFAULT_wxUSE_ACCEL
=no
5096 DEFAULT_wxUSE_BMPBUTTON
=no
5097 DEFAULT_wxUSE_BUTTON
=no
5098 DEFAULT_wxUSE_CALCTRL
=no
5099 DEFAULT_wxUSE_CARET
=no
5100 DEFAULT_wxUSE_COMBOBOX
=no
5101 DEFAULT_wxUSE_CHECKBOX
=no
5102 DEFAULT_wxUSE_CHECKLISTBOX
=no
5103 DEFAULT_wxUSE_CHOICE
=no
5104 DEFAULT_wxUSE_GAUGE
=no
5105 DEFAULT_wxUSE_GRID
=no
5106 DEFAULT_wxUSE_NEW_GRID
=no
5107 DEFAULT_wxUSE_IMAGLIST
=no
5108 DEFAULT_wxUSE_LISTBOX
=no
5109 DEFAULT_wxUSE_LISTCTRL
=no
5110 DEFAULT_wxUSE_NOTEBOOK
=no
5111 DEFAULT_wxUSE_PROPSHEET
=no
5112 DEFAULT_wxUSE_RADIOBOX
=no
5113 DEFAULT_wxUSE_RADIOBTN
=no
5114 DEFAULT_wxUSE_SASH
=no
5115 DEFAULT_wxUSE_SCROLLBAR
=no
5116 DEFAULT_wxUSE_SLIDER
=no
5117 DEFAULT_wxUSE_SPINBTN
=no
5118 DEFAULT_wxUSE_SPINCTRL
=no
5119 DEFAULT_wxUSE_SPLITTER
=no
5120 DEFAULT_wxUSE_STATBMP
=no
5121 DEFAULT_wxUSE_STATBOX
=no
5122 DEFAULT_wxUSE_STATLINE
=no
5123 DEFAULT_wxUSE_STATUSBAR
=no
5124 DEFAULT_wxUSE_TAB_DIALOG
=no
5125 DEFAULT_wxUSE_TOGGLEBTN
=no
5126 DEFAULT_wxUSE_TOOLBAR
=no
5127 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5128 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5129 DEFAULT_wxUSE_TOOLTIPS
=no
5130 DEFAULT_wxUSE_TREECTRL
=no
5131 DEFAULT_wxUSE_POPUPWIN
=no
5135 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5136 echo "configure:5137: checking for --enable-accel" >&5
5138 # Check whether --enable-accel or --disable-accel was given.
5139 if test "${enable_accel+set}" = set; then
5140 enableval
="$enable_accel"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5145 ac_cv_use_accel
='wxUSE_ACCEL=no'
5150 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5162 eval "$ac_cv_use_accel"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_ACCEL" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5175 echo "configure:5176: checking for --enable-button" >&5
5177 # Check whether --enable-button or --disable-button was given.
5178 if test "${enable_button+set}" = set; then
5179 enableval
="$enable_button"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_button
='wxUSE_BUTTON=yes'
5184 ac_cv_use_button
='wxUSE_BUTTON=no'
5189 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5201 eval "$ac_cv_use_button"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_BUTTON" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5214 echo "configure:5215: checking for --enable-bmpbutton" >&5
5216 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5217 if test "${enable_bmpbutton+set}" = set; then
5218 enableval
="$enable_bmpbutton"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5223 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5228 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5240 eval "$ac_cv_use_bmpbutton"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_BMPBUTTON" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5253 echo "configure:5254: checking for --enable-calendar" >&5
5255 # Check whether --enable-calendar or --disable-calendar was given.
5256 if test "${enable_calendar+set}" = set; then
5257 enableval
="$enable_calendar"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5262 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5267 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5279 eval "$ac_cv_use_calendar"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_CALCTRL" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5292 echo "configure:5293: checking for --enable-caret" >&5
5294 # Check whether --enable-caret or --disable-caret was given.
5295 if test "${enable_caret+set}" = set; then
5296 enableval
="$enable_caret"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_caret
='wxUSE_CARET=yes'
5301 ac_cv_use_caret
='wxUSE_CARET=no'
5306 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5318 eval "$ac_cv_use_caret"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_CARET" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5330 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5331 echo "configure:5332: checking for --enable-checkbox" >&5
5333 # Check whether --enable-checkbox or --disable-checkbox was given.
5334 if test "${enable_checkbox+set}" = set; then
5335 enableval
="$enable_checkbox"
5337 if test "$enableval" = yes; then
5338 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5340 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5345 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x
; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5357 eval "$ac_cv_use_checkbox"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_CHECKBOX" = yes; then
5363 echo "$ac_t""yes" 1>&6
5365 echo "$ac_t""no" 1>&6
5369 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5370 echo "configure:5371: checking for --enable-checklst" >&5
5372 # Check whether --enable-checklst or --disable-checklst was given.
5373 if test "${enable_checklst+set}" = set; then
5374 enableval
="$enable_checklst"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5379 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5384 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5396 eval "$ac_cv_use_checklst"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_CHECKLST" = yes; then
5402 echo "$ac_t""yes" 1>&6
5404 echo "$ac_t""no" 1>&6
5408 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5409 echo "configure:5410: checking for --enable-choice" >&5
5411 # Check whether --enable-choice or --disable-choice was given.
5412 if test "${enable_choice+set}" = set; then
5413 enableval
="$enable_choice"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5418 ac_cv_use_choice
='wxUSE_CHOICE=no'
5423 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5435 eval "$ac_cv_use_choice"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_CHOICE" = yes; then
5441 echo "$ac_t""yes" 1>&6
5443 echo "$ac_t""no" 1>&6
5447 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5448 echo "configure:5449: checking for --enable-combobox" >&5
5450 # Check whether --enable-combobox or --disable-combobox was given.
5451 if test "${enable_combobox+set}" = set; then
5452 enableval
="$enable_combobox"
5454 if test "$enableval" = yes; then
5455 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5457 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5462 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5463 if test "x$LINE" != x
; then
5464 eval "DEFAULT_$LINE"
5469 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5474 eval "$ac_cv_use_combobox"
5475 if test "$no_cache" != 1; then
5476 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5479 if test "$wxUSE_COMBOBOX" = yes; then
5480 echo "$ac_t""yes" 1>&6
5482 echo "$ac_t""no" 1>&6
5486 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5487 echo "configure:5488: checking for --enable-gauge" >&5
5489 # Check whether --enable-gauge or --disable-gauge was given.
5490 if test "${enable_gauge+set}" = set; then
5491 enableval
="$enable_gauge"
5493 if test "$enableval" = yes; then
5494 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5496 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5501 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x
; then
5503 eval "DEFAULT_$LINE"
5508 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5513 eval "$ac_cv_use_gauge"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_GAUGE" = yes; then
5519 echo "$ac_t""yes" 1>&6
5521 echo "$ac_t""no" 1>&6
5525 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5526 echo "configure:5527: checking for --enable-grid" >&5
5528 # Check whether --enable-grid or --disable-grid was given.
5529 if test "${enable_grid+set}" = set; then
5530 enableval
="$enable_grid"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_grid
='wxUSE_GRID=yes'
5535 ac_cv_use_grid
='wxUSE_GRID=no'
5540 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5552 eval "$ac_cv_use_grid"
5553 if test "$no_cache" != 1; then
5554 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5557 if test "$wxUSE_GRID" = yes; then
5558 echo "$ac_t""yes" 1>&6
5560 echo "$ac_t""no" 1>&6
5564 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5565 echo "configure:5566: checking for --enable-newgrid" >&5
5567 # Check whether --enable-newgrid or --disable-newgrid was given.
5568 if test "${enable_newgrid+set}" = set; then
5569 enableval
="$enable_newgrid"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5574 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5579 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x
; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5591 eval "$ac_cv_use_newgrid"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5596 if test "$wxUSE_NEW_GRID" = yes; then
5597 echo "$ac_t""yes" 1>&6
5599 echo "$ac_t""no" 1>&6
5603 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5604 echo "configure:5605: checking for --enable-imaglist" >&5
5606 # Check whether --enable-imaglist or --disable-imaglist was given.
5607 if test "${enable_imaglist+set}" = set; then
5608 enableval
="$enable_imaglist"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5613 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5618 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5630 eval "$ac_cv_use_imaglist"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_IMAGLIST" = yes; then
5636 echo "$ac_t""yes" 1>&6
5638 echo "$ac_t""no" 1>&6
5642 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5643 echo "configure:5644: checking for --enable-listbox" >&5
5645 # Check whether --enable-listbox or --disable-listbox was given.
5646 if test "${enable_listbox+set}" = set; then
5647 enableval
="$enable_listbox"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5652 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5657 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5669 eval "$ac_cv_use_listbox"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5674 if test "$wxUSE_LISTBOX" = yes; then
5675 echo "$ac_t""yes" 1>&6
5677 echo "$ac_t""no" 1>&6
5681 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5682 echo "configure:5683: checking for --enable-listctrl" >&5
5684 # Check whether --enable-listctrl or --disable-listctrl was given.
5685 if test "${enable_listctrl+set}" = set; then
5686 enableval
="$enable_listctrl"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5691 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5696 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5708 eval "$ac_cv_use_listctrl"
5709 if test "$no_cache" != 1; then
5710 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5713 if test "$wxUSE_LISTCTRL" = yes; then
5714 echo "$ac_t""yes" 1>&6
5716 echo "$ac_t""no" 1>&6
5720 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5721 echo "configure:5722: checking for --enable-notebook" >&5
5723 # Check whether --enable-notebook or --disable-notebook was given.
5724 if test "${enable_notebook+set}" = set; then
5725 enableval
="$enable_notebook"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5730 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5735 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x
; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5747 eval "$ac_cv_use_notebook"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_NOTEBOOK" = yes; then
5753 echo "$ac_t""yes" 1>&6
5755 echo "$ac_t""no" 1>&6
5759 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5760 echo "configure:5761: checking for --enable-propsheet" >&5
5762 # Check whether --enable-propsheet or --disable-propsheet was given.
5763 if test "${enable_propsheet+set}" = set; then
5764 enableval
="$enable_propsheet"
5766 if test "$enableval" = yes; then
5767 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5769 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5774 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x
; then
5776 eval "DEFAULT_$LINE"
5781 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5786 eval "$ac_cv_use_propsheet"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_PROPSHEET" = yes; then
5792 echo "$ac_t""yes" 1>&6
5794 echo "$ac_t""no" 1>&6
5798 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5799 echo "configure:5800: checking for --enable-radiobox" >&5
5801 # Check whether --enable-radiobox or --disable-radiobox was given.
5802 if test "${enable_radiobox+set}" = set; then
5803 enableval
="$enable_radiobox"
5805 if test "$enableval" = yes; then
5806 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5808 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5813 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x
; then
5815 eval "DEFAULT_$LINE"
5820 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5825 eval "$ac_cv_use_radiobox"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_RADIOBOX" = yes; then
5831 echo "$ac_t""yes" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5838 echo "configure:5839: checking for --enable-radiobtn" >&5
5840 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5841 if test "${enable_radiobtn+set}" = set; then
5842 enableval
="$enable_radiobtn"
5844 if test "$enableval" = yes; then
5845 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5847 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5852 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x
; then
5854 eval "DEFAULT_$LINE"
5859 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5864 eval "$ac_cv_use_radiobtn"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_RADIOBTN" = yes; then
5870 echo "$ac_t""yes" 1>&6
5872 echo "$ac_t""no" 1>&6
5876 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5877 echo "configure:5878: checking for --enable-sash" >&5
5879 # Check whether --enable-sash or --disable-sash was given.
5880 if test "${enable_sash+set}" = set; then
5881 enableval
="$enable_sash"
5883 if test "$enableval" = yes; then
5884 ac_cv_use_sash
='wxUSE_SASH=yes'
5886 ac_cv_use_sash
='wxUSE_SASH=no'
5891 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x
; then
5893 eval "DEFAULT_$LINE"
5898 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5903 eval "$ac_cv_use_sash"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5908 if test "$wxUSE_SASH" = yes; then
5909 echo "$ac_t""yes" 1>&6
5911 echo "$ac_t""no" 1>&6
5915 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5916 echo "configure:5917: checking for --enable-scrollbar" >&5
5918 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5919 if test "${enable_scrollbar+set}" = set; then
5920 enableval
="$enable_scrollbar"
5922 if test "$enableval" = yes; then
5923 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5925 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5930 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5931 if test "x$LINE" != x
; then
5932 eval "DEFAULT_$LINE"
5937 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5942 eval "$ac_cv_use_scrollbar"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5947 if test "$wxUSE_SCROLLBAR" = yes; then
5948 echo "$ac_t""yes" 1>&6
5950 echo "$ac_t""no" 1>&6
5954 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5955 echo "configure:5956: checking for --enable-slider" >&5
5957 # Check whether --enable-slider or --disable-slider was given.
5958 if test "${enable_slider+set}" = set; then
5959 enableval
="$enable_slider"
5961 if test "$enableval" = yes; then
5962 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5964 ac_cv_use_slider
='wxUSE_SLIDER=no'
5969 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x
; then
5971 eval "DEFAULT_$LINE"
5976 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5981 eval "$ac_cv_use_slider"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5986 if test "$wxUSE_SLIDER" = yes; then
5987 echo "$ac_t""yes" 1>&6
5989 echo "$ac_t""no" 1>&6
5993 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5994 echo "configure:5995: checking for --enable-spinbtn" >&5
5996 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5997 if test "${enable_spinbtn+set}" = set; then
5998 enableval
="$enable_spinbtn"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6003 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6008 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x
; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6020 eval "$ac_cv_use_spinbtn"
6021 if test "$no_cache" != 1; then
6022 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6025 if test "$wxUSE_SPINBTN" = yes; then
6026 echo "$ac_t""yes" 1>&6
6028 echo "$ac_t""no" 1>&6
6032 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6033 echo "configure:6034: checking for --enable-spinctrl" >&5
6035 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6036 if test "${enable_spinctrl+set}" = set; then
6037 enableval
="$enable_spinctrl"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6042 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6047 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x
; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6059 eval "$ac_cv_use_spinctrl"
6060 if test "$no_cache" != 1; then
6061 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6064 if test "$wxUSE_SPINCTRL" = yes; then
6065 echo "$ac_t""yes" 1>&6
6067 echo "$ac_t""no" 1>&6
6071 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6072 echo "configure:6073: checking for --enable-splitter" >&5
6074 # Check whether --enable-splitter or --disable-splitter was given.
6075 if test "${enable_splitter+set}" = set; then
6076 enableval
="$enable_splitter"
6078 if test "$enableval" = yes; then
6079 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6081 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6086 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x
; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6098 eval "$ac_cv_use_splitter"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_SPLITTER" = yes; then
6104 echo "$ac_t""yes" 1>&6
6106 echo "$ac_t""no" 1>&6
6110 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6111 echo "configure:6112: checking for --enable-statbmp" >&5
6113 # Check whether --enable-statbmp or --disable-statbmp was given.
6114 if test "${enable_statbmp+set}" = set; then
6115 enableval
="$enable_statbmp"
6117 if test "$enableval" = yes; then
6118 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6120 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6125 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x
; then
6127 eval "DEFAULT_$LINE"
6132 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6137 eval "$ac_cv_use_statbmp"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_STATBMP" = yes; then
6143 echo "$ac_t""yes" 1>&6
6145 echo "$ac_t""no" 1>&6
6149 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6150 echo "configure:6151: checking for --enable-statbox" >&5
6152 # Check whether --enable-statbox or --disable-statbox was given.
6153 if test "${enable_statbox+set}" = set; then
6154 enableval
="$enable_statbox"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6159 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6164 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x
; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6176 eval "$ac_cv_use_statbox"
6177 if test "$no_cache" != 1; then
6178 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6181 if test "$wxUSE_STATBOX" = yes; then
6182 echo "$ac_t""yes" 1>&6
6184 echo "$ac_t""no" 1>&6
6188 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6189 echo "configure:6190: checking for --enable-statline" >&5
6191 # Check whether --enable-statline or --disable-statline was given.
6192 if test "${enable_statline+set}" = set; then
6193 enableval
="$enable_statline"
6195 if test "$enableval" = yes; then
6196 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6198 ac_cv_use_statline
='wxUSE_STATLINE=no'
6203 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6204 if test "x$LINE" != x
; then
6205 eval "DEFAULT_$LINE"
6210 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6215 eval "$ac_cv_use_statline"
6216 if test "$no_cache" != 1; then
6217 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6220 if test "$wxUSE_STATLINE" = yes; then
6221 echo "$ac_t""yes" 1>&6
6223 echo "$ac_t""no" 1>&6
6227 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6228 echo "configure:6229: checking for --enable-stattext" >&5
6230 # Check whether --enable-stattext or --disable-stattext was given.
6231 if test "${enable_stattext+set}" = set; then
6232 enableval
="$enable_stattext"
6234 if test "$enableval" = yes; then
6235 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6237 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6242 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x
; then
6244 eval "DEFAULT_$LINE"
6249 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6254 eval "$ac_cv_use_stattext"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6259 if test "$wxUSE_STATTEXT" = yes; then
6260 echo "$ac_t""yes" 1>&6
6262 echo "$ac_t""no" 1>&6
6266 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6267 echo "configure:6268: checking for --enable-statusbar" >&5
6269 # Check whether --enable-statusbar or --disable-statusbar was given.
6270 if test "${enable_statusbar+set}" = set; then
6271 enableval
="$enable_statusbar"
6273 if test "$enableval" = yes; then
6274 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6276 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6281 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x
; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6293 eval "$ac_cv_use_statusbar"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_STATUSBAR" = yes; then
6299 echo "$ac_t""yes" 1>&6
6301 echo "$ac_t""no" 1>&6
6305 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6306 echo "configure:6307: checking for --enable-tabdialog" >&5
6308 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6309 if test "${enable_tabdialog+set}" = set; then
6310 enableval
="$enable_tabdialog"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6315 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6320 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x
; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6332 eval "$ac_cv_use_tabdialog"
6333 if test "$no_cache" != 1; then
6334 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6337 if test "$wxUSE_TABDIALOG" = yes; then
6338 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6344 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6345 echo "configure:6346: checking for --enable-textctrl" >&5
6347 # Check whether --enable-textctrl or --disable-textctrl was given.
6348 if test "${enable_textctrl+set}" = set; then
6349 enableval
="$enable_textctrl"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6354 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6359 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x
; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6371 eval "$ac_cv_use_textctrl"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_TEXTCTRL" = yes; then
6377 echo "$ac_t""yes" 1>&6
6379 echo "$ac_t""no" 1>&6
6383 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6384 echo "configure:6385: checking for --enable-togglebtn" >&5
6386 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6387 if test "${enable_togglebtn+set}" = set; then
6388 enableval
="$enable_togglebtn"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6393 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6398 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6410 eval "$ac_cv_use_togglebtn"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_TOGGLEBTN" = yes; then
6416 echo "$ac_t""yes" 1>&6
6418 echo "$ac_t""no" 1>&6
6422 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6423 echo "configure:6424: checking for --enable-toolbar" >&5
6425 # Check whether --enable-toolbar or --disable-toolbar was given.
6426 if test "${enable_toolbar+set}" = set; then
6427 enableval
="$enable_toolbar"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6432 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6437 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6449 eval "$ac_cv_use_toolbar"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6454 if test "$wxUSE_TOOLBAR" = yes; then
6455 echo "$ac_t""yes" 1>&6
6457 echo "$ac_t""no" 1>&6
6461 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6462 echo "configure:6463: checking for --enable-tbarnative" >&5
6464 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6465 if test "${enable_tbarnative+set}" = set; then
6466 enableval
="$enable_tbarnative"
6468 if test "$enableval" = yes; then
6469 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6471 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6476 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x
; then
6478 eval "DEFAULT_$LINE"
6483 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6488 eval "$ac_cv_use_tbarnative"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6493 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6494 echo "$ac_t""yes" 1>&6
6496 echo "$ac_t""no" 1>&6
6500 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6501 echo "configure:6502: checking for --enable-tbarsmpl" >&5
6503 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6504 if test "${enable_tbarsmpl+set}" = set; then
6505 enableval
="$enable_tbarsmpl"
6507 if test "$enableval" = yes; then
6508 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6510 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6515 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x
; then
6517 eval "DEFAULT_$LINE"
6522 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6527 eval "$ac_cv_use_tbarsmpl"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6533 echo "$ac_t""yes" 1>&6
6535 echo "$ac_t""no" 1>&6
6539 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6540 echo "configure:6541: checking for --enable-treectrl" >&5
6542 # Check whether --enable-treectrl or --disable-treectrl was given.
6543 if test "${enable_treectrl+set}" = set; then
6544 enableval
="$enable_treectrl"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6549 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6554 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x
; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6566 eval "$ac_cv_use_treectrl"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_TREECTRL" = yes; then
6572 echo "$ac_t""yes" 1>&6
6574 echo "$ac_t""no" 1>&6
6578 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6579 echo "configure:6580: checking for --enable-popupwin" >&5
6581 # Check whether --enable-popupwin or --disable-popupwin was given.
6582 if test "${enable_popupwin+set}" = set; then
6583 enableval
="$enable_popupwin"
6585 if test "$enableval" = yes; then
6586 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6588 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6593 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x
; then
6595 eval "DEFAULT_$LINE"
6600 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6605 eval "$ac_cv_use_popupwin"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_POPUPWIN" = yes; then
6611 echo "$ac_t""yes" 1>&6
6613 echo "$ac_t""no" 1>&6
6619 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6620 echo "configure:6621: checking for --enable-commondlg" >&5
6622 # Check whether --enable-commondlg or --disable-commondlg was given.
6623 if test "${enable_commondlg+set}" = set; then
6624 enableval
="$enable_commondlg"
6626 if test "$enableval" = yes; then
6627 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6629 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6634 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x
; then
6636 eval "DEFAULT_$LINE"
6641 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6646 eval "$ac_cv_use_commondlg"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6651 if test "$wxUSE_COMMONDLGS" = yes; then
6652 echo "$ac_t""yes" 1>&6
6654 echo "$ac_t""no" 1>&6
6658 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6659 echo "configure:6660: checking for --enable-choicedlg" >&5
6661 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6662 if test "${enable_choicedlg+set}" = set; then
6663 enableval
="$enable_choicedlg"
6665 if test "$enableval" = yes; then
6666 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6668 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6673 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x
; then
6675 eval "DEFAULT_$LINE"
6680 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6685 eval "$ac_cv_use_choicedlg"
6686 if test "$no_cache" != 1; then
6687 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6690 if test "$wxUSE_CHOICEDLG" = yes; then
6691 echo "$ac_t""yes" 1>&6
6693 echo "$ac_t""no" 1>&6
6697 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6698 echo "configure:6699: checking for --enable-coldlg" >&5
6700 # Check whether --enable-coldlg or --disable-coldlg was given.
6701 if test "${enable_coldlg+set}" = set; then
6702 enableval
="$enable_coldlg"
6704 if test "$enableval" = yes; then
6705 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6707 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6712 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x
; then
6714 eval "DEFAULT_$LINE"
6719 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6724 eval "$ac_cv_use_coldlg"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_COLOURDLG" = yes; then
6730 echo "$ac_t""yes" 1>&6
6732 echo "$ac_t""no" 1>&6
6736 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6737 echo "configure:6738: checking for --enable-filedlg" >&5
6739 # Check whether --enable-filedlg or --disable-filedlg was given.
6740 if test "${enable_filedlg+set}" = set; then
6741 enableval
="$enable_filedlg"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6746 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6751 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6763 eval "$ac_cv_use_filedlg"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6768 if test "$wxUSE_FILEDLG" = yes; then
6769 echo "$ac_t""yes" 1>&6
6771 echo "$ac_t""no" 1>&6
6775 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6776 echo "configure:6777: checking for --enable-filedlg" >&5
6778 # Check whether --enable-filedlg or --disable-filedlg was given.
6779 if test "${enable_filedlg+set}" = set; then
6780 enableval
="$enable_filedlg"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6785 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6790 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6802 eval "$ac_cv_use_filedlg"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_FINDREPLDLG" = yes; then
6808 echo "$ac_t""yes" 1>&6
6810 echo "$ac_t""no" 1>&6
6814 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6815 echo "configure:6816: checking for --enable-fontdlg" >&5
6817 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6818 if test "${enable_fontdlg+set}" = set; then
6819 enableval
="$enable_fontdlg"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6824 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6829 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6841 eval "$ac_cv_use_fontdlg"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6846 if test "$wxUSE_FONTDLG" = yes; then
6847 echo "$ac_t""yes" 1>&6
6849 echo "$ac_t""no" 1>&6
6853 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6854 echo "configure:6855: checking for --enable-dirdlg" >&5
6856 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6857 if test "${enable_dirdlg+set}" = set; then
6858 enableval
="$enable_dirdlg"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6863 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6868 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x
; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6880 eval "$ac_cv_use_dirdlg"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_DIRDLG" = yes; then
6886 echo "$ac_t""yes" 1>&6
6888 echo "$ac_t""no" 1>&6
6892 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6893 echo "configure:6894: checking for --enable-msgdlg" >&5
6895 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6896 if test "${enable_msgdlg+set}" = set; then
6897 enableval
="$enable_msgdlg"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6902 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6907 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x
; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6919 eval "$ac_cv_use_msgdlg"
6920 if test "$no_cache" != 1; then
6921 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6924 if test "$wxUSE_MSGDLG" = yes; then
6925 echo "$ac_t""yes" 1>&6
6927 echo "$ac_t""no" 1>&6
6931 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6932 echo "configure:6933: checking for --enable-numberdlg" >&5
6934 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6935 if test "${enable_numberdlg+set}" = set; then
6936 enableval
="$enable_numberdlg"
6938 if test "$enableval" = yes; then
6939 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6941 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6946 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x
; then
6948 eval "DEFAULT_$LINE"
6953 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6958 eval "$ac_cv_use_numberdlg"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6963 if test "$wxUSE_NUMBERDLG" = yes; then
6964 echo "$ac_t""yes" 1>&6
6966 echo "$ac_t""no" 1>&6
6970 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6971 echo "configure:6972: checking for --enable-textdlg" >&5
6973 # Check whether --enable-textdlg or --disable-textdlg was given.
6974 if test "${enable_textdlg+set}" = set; then
6975 enableval
="$enable_textdlg"
6977 if test "$enableval" = yes; then
6978 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6980 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6985 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6986 if test "x$LINE" != x
; then
6987 eval "DEFAULT_$LINE"
6992 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6997 eval "$ac_cv_use_textdlg"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_TEXTDLG" = yes; then
7003 echo "$ac_t""yes" 1>&6
7005 echo "$ac_t""no" 1>&6
7009 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7010 echo "configure:7011: checking for --enable-tipdlg" >&5
7012 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7013 if test "${enable_tipdlg+set}" = set; then
7014 enableval
="$enable_tipdlg"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7019 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7024 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7036 eval "$ac_cv_use_tipdlg"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_STARTUP_TIPS" = yes; then
7042 echo "$ac_t""yes" 1>&6
7044 echo "$ac_t""no" 1>&6
7048 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7049 echo "configure:7050: checking for --enable-progressdlg" >&5
7051 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7052 if test "${enable_progressdlg+set}" = set; then
7053 enableval
="$enable_progressdlg"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7058 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7063 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7075 eval "$ac_cv_use_progressdlg"
7076 if test "$no_cache" != 1; then
7077 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7080 if test "$wxUSE_PROGRESSDLG" = yes; then
7081 echo "$ac_t""yes" 1>&6
7083 echo "$ac_t""no" 1>&6
7087 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7088 echo "configure:7089: checking for --enable-wizarddlg" >&5
7090 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7091 if test "${enable_wizarddlg+set}" = set; then
7092 enableval
="$enable_wizarddlg"
7094 if test "$enableval" = yes; then
7095 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7097 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7102 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x
; then
7104 eval "DEFAULT_$LINE"
7109 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7114 eval "$ac_cv_use_wizarddlg"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_WIZARDDLG" = yes; then
7120 echo "$ac_t""yes" 1>&6
7122 echo "$ac_t""no" 1>&6
7128 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7129 echo "configure:7130: checking for --enable-menus" >&5
7131 # Check whether --enable-menus or --disable-menus was given.
7132 if test "${enable_menus+set}" = set; then
7133 enableval
="$enable_menus"
7135 if test "$enableval" = yes; then
7136 ac_cv_use_menus
='wxUSE_MENUS=yes'
7138 ac_cv_use_menus
='wxUSE_MENUS=no'
7143 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7144 if test "x$LINE" != x
; then
7145 eval "DEFAULT_$LINE"
7150 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7155 eval "$ac_cv_use_menus"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_MENUS" = yes; then
7161 echo "$ac_t""yes" 1>&6
7163 echo "$ac_t""no" 1>&6
7167 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7168 echo "configure:7169: checking for --enable-miniframe" >&5
7170 # Check whether --enable-miniframe or --disable-miniframe was given.
7171 if test "${enable_miniframe+set}" = set; then
7172 enableval
="$enable_miniframe"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7177 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7182 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x
; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7194 eval "$ac_cv_use_miniframe"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_MINIFRAME" = yes; then
7200 echo "$ac_t""yes" 1>&6
7202 echo "$ac_t""no" 1>&6
7206 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7207 echo "configure:7208: checking for --enable-tooltips" >&5
7209 # Check whether --enable-tooltips or --disable-tooltips was given.
7210 if test "${enable_tooltips+set}" = set; then
7211 enableval
="$enable_tooltips"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7216 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7221 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7233 eval "$ac_cv_use_tooltips"
7234 if test "$no_cache" != 1; then
7235 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7238 if test "$wxUSE_TOOLTIPS" = yes; then
7239 echo "$ac_t""yes" 1>&6
7241 echo "$ac_t""no" 1>&6
7245 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7246 echo "configure:7247: checking for --enable-splines" >&5
7248 # Check whether --enable-splines or --disable-splines was given.
7249 if test "${enable_splines+set}" = set; then
7250 enableval
="$enable_splines"
7252 if test "$enableval" = yes; then
7253 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7255 ac_cv_use_splines
='wxUSE_SPLINES=no'
7260 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x
; then
7262 eval "DEFAULT_$LINE"
7267 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7272 eval "$ac_cv_use_splines"
7273 if test "$no_cache" != 1; then
7274 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7277 if test "$wxUSE_SPLINES" = yes; then
7278 echo "$ac_t""yes" 1>&6
7280 echo "$ac_t""no" 1>&6
7284 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7285 echo "configure:7286: checking for --enable-validators" >&5
7287 # Check whether --enable-validators or --disable-validators was given.
7288 if test "${enable_validators+set}" = set; then
7289 enableval
="$enable_validators"
7291 if test "$enableval" = yes; then
7292 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7294 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7299 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7300 if test "x$LINE" != x
; then
7301 eval "DEFAULT_$LINE"
7306 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7311 eval "$ac_cv_use_validators"
7312 if test "$no_cache" != 1; then
7313 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7316 if test "$wxUSE_VALIDATORS" = yes; then
7317 echo "$ac_t""yes" 1>&6
7319 echo "$ac_t""no" 1>&6
7323 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7324 echo "configure:7325: checking for --enable-busyinfo" >&5
7326 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7327 if test "${enable_busyinfo+set}" = set; then
7328 enableval
="$enable_busyinfo"
7330 if test "$enableval" = yes; then
7331 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7333 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7338 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x
; then
7340 eval "DEFAULT_$LINE"
7345 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7350 eval "$ac_cv_use_busyinfo"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_BUSYINFO" = yes; then
7356 echo "$ac_t""yes" 1>&6
7358 echo "$ac_t""no" 1>&6
7362 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7363 echo "configure:7364: checking for --enable-joystick" >&5
7365 # Check whether --enable-joystick or --disable-joystick was given.
7366 if test "${enable_joystick+set}" = set; then
7367 enableval
="$enable_joystick"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7372 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7377 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x
; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7389 eval "$ac_cv_use_joystick"
7390 if test "$no_cache" != 1; then
7391 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7394 if test "$wxUSE_JOYSTICK" = yes; then
7395 echo "$ac_t""yes" 1>&6
7397 echo "$ac_t""no" 1>&6
7401 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7402 echo "configure:7403: checking for --enable-metafile" >&5
7404 # Check whether --enable-metafile or --disable-metafile was given.
7405 if test "${enable_metafile+set}" = set; then
7406 enableval
="$enable_metafile"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7411 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7416 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x
; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7428 eval "$ac_cv_use_metafile"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_METAFILE" = yes; then
7434 echo "$ac_t""yes" 1>&6
7436 echo "$ac_t""no" 1>&6
7440 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7441 echo "configure:7442: checking for --enable-dragimage" >&5
7443 # Check whether --enable-dragimage or --disable-dragimage was given.
7444 if test "${enable_dragimage+set}" = set; then
7445 enableval
="$enable_dragimage"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7450 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7455 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7467 eval "$ac_cv_use_dragimage"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_DRAGIMAGE" = yes; then
7473 echo "$ac_t""yes" 1>&6
7475 echo "$ac_t""no" 1>&6
7481 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7482 echo "configure:7483: checking for --enable-image" >&5
7484 # Check whether --enable-image or --disable-image was given.
7485 if test "${enable_image+set}" = set; then
7486 enableval
="$enable_image"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_image
='wxUSE_IMAGE=yes'
7491 ac_cv_use_image
='wxUSE_IMAGE=no'
7496 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7508 eval "$ac_cv_use_image"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_IMAGE" = yes; then
7514 echo "$ac_t""yes" 1>&6
7516 echo "$ac_t""no" 1>&6
7520 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7521 echo "configure:7522: checking for --enable-gif" >&5
7523 # Check whether --enable-gif or --disable-gif was given.
7524 if test "${enable_gif+set}" = set; then
7525 enableval
="$enable_gif"
7527 if test "$enableval" = yes; then
7528 ac_cv_use_gif
='wxUSE_GIF=yes'
7530 ac_cv_use_gif
='wxUSE_GIF=no'
7535 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x
; then
7537 eval "DEFAULT_$LINE"
7542 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7547 eval "$ac_cv_use_gif"
7548 if test "$no_cache" != 1; then
7549 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7552 if test "$wxUSE_GIF" = yes; then
7553 echo "$ac_t""yes" 1>&6
7555 echo "$ac_t""no" 1>&6
7559 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7560 echo "configure:7561: checking for --enable-pcx" >&5
7562 # Check whether --enable-pcx or --disable-pcx was given.
7563 if test "${enable_pcx+set}" = set; then
7564 enableval
="$enable_pcx"
7566 if test "$enableval" = yes; then
7567 ac_cv_use_pcx
='wxUSE_PCX=yes'
7569 ac_cv_use_pcx
='wxUSE_PCX=no'
7574 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7575 if test "x$LINE" != x
; then
7576 eval "DEFAULT_$LINE"
7581 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7586 eval "$ac_cv_use_pcx"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_PCX" = yes; then
7592 echo "$ac_t""yes" 1>&6
7594 echo "$ac_t""no" 1>&6
7598 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7599 echo "configure:7600: checking for --enable-pnm" >&5
7601 # Check whether --enable-pnm or --disable-pnm was given.
7602 if test "${enable_pnm+set}" = set; then
7603 enableval
="$enable_pnm"
7605 if test "$enableval" = yes; then
7606 ac_cv_use_pnm
='wxUSE_PNM=yes'
7608 ac_cv_use_pnm
='wxUSE_PNM=no'
7613 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x
; then
7615 eval "DEFAULT_$LINE"
7620 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7625 eval "$ac_cv_use_pnm"
7626 if test "$no_cache" != 1; then
7627 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7630 if test "$wxUSE_PNM" = yes; then
7631 echo "$ac_t""yes" 1>&6
7633 echo "$ac_t""no" 1>&6
7637 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7638 echo "configure:7639: checking for --enable-pnm" >&5
7640 # Check whether --enable-pnm or --disable-pnm was given.
7641 if test "${enable_pnm+set}" = set; then
7642 enableval
="$enable_pnm"
7644 if test "$enableval" = yes; then
7645 ac_cv_use_pnm
='wxUSE_XPM=yes'
7647 ac_cv_use_pnm
='wxUSE_XPM=no'
7652 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x
; then
7654 eval "DEFAULT_$LINE"
7659 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7664 eval "$ac_cv_use_pnm"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_XPM" = yes; then
7670 echo "$ac_t""yes" 1>&6
7672 echo "$ac_t""no" 1>&6
7679 echo "saving argument cache $wx_arg_cache_file"
7680 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7684 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7685 echo "configure:7686: checking for toolkit" >&5
7687 if test "$wxUSE_GUI" = "yes"; then
7689 if test "$USE_BEOS" = 1; then
7690 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7693 if test "$TOOLKIT_GIVEN" = 1; then
7694 for toolkit
in `echo $ALL_TOOLKITS`; do
7696 eval "value=\$${var}"
7697 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7700 for toolkit
in `echo $ALL_TOOLKITS`; do
7701 if test "$has_toolkit_in_cache" != 1; then
7702 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7704 var
=DEFAULT_wxUSE_
$toolkit
7706 eval "wxUSE_$toolkit=\$${var}"
7710 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7714 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7715 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7724 case "$NUM_TOOLKITS" in
7728 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7731 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7734 for toolkit
in `echo $ALL_TOOLKITS`; do
7736 eval "value=\$${var}"
7737 if test "x$value" != x
; then
7738 cache_var
=CACHE_
$toolkit
7739 eval "cache=\$${cache_var}"
7740 if test "$cache" = 1; then
7741 echo "$var=$value" >> ${wx_arg_cache_file}
7743 if test "$value" = 1; then
7744 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7745 echo "$ac_t""$toolkit_echo" 1>&6
7752 echo "$ac_t""base only" 1>&6
7756 cat > confcache
<<\EOF
7757 # This file is a shell script that caches the results of configure
7758 # tests run on this system so they can be shared between configure
7759 # scripts and configure runs. It is not useful on other systems.
7760 # If it contains results you don't want to keep, you may remove or edit it.
7762 # By default, configure uses ./config.cache as the cache file,
7763 # creating it if it does not exist already. You can give configure
7764 # the --cache-file=FILE option to use a different cache file; that is
7765 # what configure does when it calls configure scripts in
7766 # subdirectories, so they share the cache.
7767 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7768 # config.status only pays attention to the cache file if you give it the
7769 # --recheck option to rerun configure.
7772 # The following way of writing the cache mishandles newlines in values,
7773 # but we know of no workaround that is simple, portable, and efficient.
7774 # So, don't put newlines in cache variables' values.
7775 # Ultrix sh set writes to stderr and can't be redirected directly,
7776 # and sets the high bit in the cache file unless we assign to the vars.
7778 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7780 # `set' does not quote correctly, so add quotes (double-quote substitution
7781 # turns \\\\ into \\, and sed turns \\ into \).
7783 -e "s/'/'\\\\''/g" \
7784 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7787 # `set' quotes correctly as required by POSIX, so do not add quotes.
7788 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7791 if cmp -s $cache_file confcache
; then
7794 if test -w $cache_file; then
7795 echo "updating cache $cache_file"
7796 cat confcache
> $cache_file
7798 echo "not updating unwritable cache $cache_file"
7804 if test "$build" != "$host" ; then
7808 RANLIB
=$host_alias-ranlib
7809 DLLTOOL
=$host_alias-dlltool
7810 RESCOMP
=$host_alias-windres
7813 STRIP
=$host_alias-strip
7816 # Extract the first word of "gcc", so it can be a program name with args.
7817 set dummy gcc
; ac_word
=$2
7818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7819 echo "configure:7820: checking for $ac_word" >&5
7820 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7823 if test -n "$CC"; then
7824 ac_cv_prog_CC
="$CC" # Let the user override the test.
7826 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7828 for ac_dir
in $ac_dummy; do
7829 test -z "$ac_dir" && ac_dir
=.
7830 if test -f $ac_dir/$ac_word; then
7839 if test -n "$CC"; then
7840 echo "$ac_t""$CC" 1>&6
7842 echo "$ac_t""no" 1>&6
7845 if test -z "$CC"; then
7846 # Extract the first word of "cc", so it can be a program name with args.
7847 set dummy cc
; ac_word
=$2
7848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7849 echo "configure:7850: checking for $ac_word" >&5
7850 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7851 echo $ac_n "(cached) $ac_c" 1>&6
7853 if test -n "$CC"; then
7854 ac_cv_prog_CC
="$CC" # Let the user override the test.
7856 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7859 for ac_dir
in $ac_dummy; do
7860 test -z "$ac_dir" && ac_dir
=.
7861 if test -f $ac_dir/$ac_word; then
7862 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7863 ac_prog_rejected
=yes
7871 if test $ac_prog_rejected = yes; then
7872 # We found a bogon in the path, so make sure we never use it.
7873 set dummy
$ac_cv_prog_CC
7875 if test $# -gt 0; then
7876 # We chose a different compiler from the bogus one.
7877 # However, it has the same basename, so the bogon will be chosen
7878 # first if we set CC to just the basename; use the full file name.
7880 set dummy
"$ac_dir/$ac_word" "$@"
7888 if test -n "$CC"; then
7889 echo "$ac_t""$CC" 1>&6
7891 echo "$ac_t""no" 1>&6
7894 if test -z "$CC"; then
7895 case "`uname -s`" in
7897 # Extract the first word of "cl", so it can be a program name with args.
7898 set dummy cl
; ac_word
=$2
7899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7900 echo "configure:7901: checking for $ac_word" >&5
7901 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7902 echo $ac_n "(cached) $ac_c" 1>&6
7904 if test -n "$CC"; then
7905 ac_cv_prog_CC
="$CC" # Let the user override the test.
7907 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7909 for ac_dir
in $ac_dummy; do
7910 test -z "$ac_dir" && ac_dir
=.
7911 if test -f $ac_dir/$ac_word; then
7920 if test -n "$CC"; then
7921 echo "$ac_t""$CC" 1>&6
7923 echo "$ac_t""no" 1>&6
7928 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7931 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7932 echo "configure:7933: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7936 ac_cpp
='$CPP $CPPFLAGS'
7937 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7938 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7939 cross_compiling
=$ac_cv_prog_cc_cross
7941 cat > conftest.
$ac_ext << EOF
7943 #line 7944 "configure"
7944 #include "confdefs.h"
7948 if { (eval echo configure
:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7949 ac_cv_prog_cc_works
=yes
7950 # If we can't run a trivial program, we are probably using a cross compiler.
7951 if (.
/conftest
; exit) 2>/dev
/null
; then
7952 ac_cv_prog_cc_cross
=no
7954 ac_cv_prog_cc_cross
=yes
7957 echo "configure: failed program was:" >&5
7958 cat conftest.
$ac_ext >&5
7959 ac_cv_prog_cc_works
=no
7963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7964 ac_cpp
='$CPP $CPPFLAGS'
7965 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7966 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7967 cross_compiling
=$ac_cv_prog_cc_cross
7969 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7970 if test $ac_cv_prog_cc_works = no
; then
7971 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7973 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7974 echo "configure:7975: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7975 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7976 cross_compiling
=$ac_cv_prog_cc_cross
7978 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7979 echo "configure:7980: checking whether we are using GNU C" >&5
7980 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7981 echo $ac_n "(cached) $ac_c" 1>&6
7983 cat > conftest.c
<<EOF
7988 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7995 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7997 if test $ac_cv_prog_gcc = yes; then
8003 ac_test_CFLAGS
="${CFLAGS+set}"
8004 ac_save_CFLAGS
="$CFLAGS"
8006 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8007 echo "configure:8008: checking whether ${CC-cc} accepts -g" >&5
8008 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8009 echo $ac_n "(cached) $ac_c" 1>&6
8011 echo 'void f(){}' > conftest.c
8012 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8021 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8022 if test "$ac_test_CFLAGS" = set; then
8023 CFLAGS
="$ac_save_CFLAGS"
8024 elif test $ac_cv_prog_cc_g = yes; then
8025 if test "$GCC" = yes; then
8031 if test "$GCC" = yes; then
8039 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8041 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8042 echo "configure:8043: checking how to run the C preprocessor" >&5
8043 # On Suns, sometimes $CPP names a directory.
8044 if test -n "$CPP" && test -d "$CPP"; then
8047 if test -z "$CPP"; then
8048 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8049 echo $ac_n "(cached) $ac_c" 1>&6
8051 # This must be in double quotes, not single quotes, because CPP may get
8052 # substituted into the Makefile and "${CC-cc}" will confuse make.
8054 # On the NeXT, cc -E runs the code through the compiler's parser,
8055 # not just through cpp.
8056 cat > conftest.
$ac_ext <<EOF
8057 #line 8058 "configure"
8058 #include "confdefs.h"
8062 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8063 { (eval echo configure
:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8064 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8065 if test -z "$ac_err"; then
8069 echo "configure: failed program was:" >&5
8070 cat conftest.
$ac_ext >&5
8072 CPP
="${CC-cc} -E -traditional-cpp"
8073 cat > conftest.
$ac_ext <<EOF
8074 #line 8075 "configure"
8075 #include "confdefs.h"
8079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8080 { (eval echo configure
:8081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8082 if test -z "$ac_err"; then
8086 echo "configure: failed program was:" >&5
8087 cat conftest.
$ac_ext >&5
8089 CPP
="${CC-cc} -nologo -E"
8090 cat > conftest.
$ac_ext <<EOF
8091 #line 8092 "configure"
8092 #include "confdefs.h"
8096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8097 { (eval echo configure
:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8099 if test -z "$ac_err"; then
8103 echo "configure: failed program was:" >&5
8104 cat conftest.
$ac_ext >&5
8113 ac_cv_prog_CPP
="$CPP"
8115 CPP
="$ac_cv_prog_CPP"
8117 ac_cv_prog_CPP
="$CPP"
8119 echo "$ac_t""$CPP" 1>&6
8122 if test $ac_cv_prog_gcc = yes; then
8123 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8124 echo "configure:8125: checking whether ${CC-cc} needs -traditional" >&5
8125 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8126 echo $ac_n "(cached) $ac_c" 1>&6
8128 ac_pattern
="Autoconf.*'x'"
8129 cat > conftest.
$ac_ext <<EOF
8130 #line 8131 "configure"
8131 #include "confdefs.h"
8135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8136 egrep "$ac_pattern" >/dev
/null
2>&1; then
8138 ac_cv_prog_gcc_traditional
=yes
8141 ac_cv_prog_gcc_traditional
=no
8146 if test $ac_cv_prog_gcc_traditional = no
; then
8147 cat > conftest.
$ac_ext <<EOF
8148 #line 8149 "configure"
8149 #include "confdefs.h"
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154 egrep "$ac_pattern" >/dev
/null
2>&1; then
8156 ac_cv_prog_gcc_traditional
=yes
8163 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8164 if test $ac_cv_prog_gcc_traditional = yes; then
8165 CC
="$CC -traditional"
8172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8173 ac_cpp
='$CXXCPP $CPPFLAGS'
8174 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8175 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8176 cross_compiling
=$ac_cv_prog_cxx_cross
8179 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8181 # Extract the first word of "$ac_prog", so it can be a program name with args.
8182 set dummy
$ac_prog; ac_word
=$2
8183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8184 echo "configure:8185: checking for $ac_word" >&5
8185 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8186 echo $ac_n "(cached) $ac_c" 1>&6
8188 if test -n "$CXX"; then
8189 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8191 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8193 for ac_dir
in $ac_dummy; do
8194 test -z "$ac_dir" && ac_dir
=.
8195 if test -f $ac_dir/$ac_word; then
8196 ac_cv_prog_CXX
="$ac_prog"
8203 CXX
="$ac_cv_prog_CXX"
8204 if test -n "$CXX"; then
8205 echo "$ac_t""$CXX" 1>&6
8207 echo "$ac_t""no" 1>&6
8210 test -n "$CXX" && break
8212 test -n "$CXX" || CXX
="gcc"
8215 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8216 echo "configure:8217: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8220 ac_cpp
='$CXXCPP $CPPFLAGS'
8221 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8222 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8223 cross_compiling
=$ac_cv_prog_cxx_cross
8225 cat > conftest.
$ac_ext << EOF
8227 #line 8228 "configure"
8228 #include "confdefs.h"
8230 int main(){return(0);}
8232 if { (eval echo configure
:8233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8233 ac_cv_prog_cxx_works
=yes
8234 # If we can't run a trivial program, we are probably using a cross compiler.
8235 if (.
/conftest
; exit) 2>/dev
/null
; then
8236 ac_cv_prog_cxx_cross
=no
8238 ac_cv_prog_cxx_cross
=yes
8241 echo "configure: failed program was:" >&5
8242 cat conftest.
$ac_ext >&5
8243 ac_cv_prog_cxx_works
=no
8247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8248 ac_cpp
='$CXXCPP $CPPFLAGS'
8249 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8250 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8251 cross_compiling
=$ac_cv_prog_cxx_cross
8253 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8254 if test $ac_cv_prog_cxx_works = no
; then
8255 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8257 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8258 echo "configure:8259: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8259 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8260 cross_compiling
=$ac_cv_prog_cxx_cross
8262 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8263 echo "configure:8264: checking whether we are using GNU C++" >&5
8264 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8265 echo $ac_n "(cached) $ac_c" 1>&6
8267 cat > conftest.C
<<EOF
8272 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8279 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8281 if test $ac_cv_prog_gxx = yes; then
8287 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8288 ac_save_CXXFLAGS
="$CXXFLAGS"
8290 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8291 echo "configure:8292: checking whether ${CXX-g++} accepts -g" >&5
8292 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 echo 'void f(){}' > conftest.cc
8296 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8297 ac_cv_prog_cxx_g
=yes
8305 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8306 if test "$ac_test_CXXFLAGS" = set; then
8307 CXXFLAGS
="$ac_save_CXXFLAGS"
8308 elif test $ac_cv_prog_cxx_g = yes; then
8309 if test "$GXX" = yes; then
8315 if test "$GXX" = yes; then
8323 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8324 echo "configure:8325: checking how to run the C++ preprocessor" >&5
8325 if test -z "$CXXCPP"; then
8326 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8331 ac_cpp
='$CXXCPP $CPPFLAGS'
8332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8334 cross_compiling
=$ac_cv_prog_cxx_cross
8335 CXXCPP
="${CXX-g++} -E"
8336 cat > conftest.
$ac_ext <<EOF
8337 #line 8338 "configure"
8338 #include "confdefs.h"
8341 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8342 { (eval echo configure
:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8343 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8344 if test -z "$ac_err"; then
8348 echo "configure: failed program was:" >&5
8349 cat conftest.
$ac_ext >&5
8354 ac_cv_prog_CXXCPP
="$CXXCPP"
8356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8357 ac_cpp
='$CXXCPP $CPPFLAGS'
8358 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8359 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8360 cross_compiling
=$ac_cv_prog_cxx_cross
8363 CXXCPP
="$ac_cv_prog_CXXCPP"
8364 echo "$ac_t""$CXXCPP" 1>&6
8367 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8371 ac_cpp
='$CPP $CPPFLAGS'
8372 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8373 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8374 cross_compiling
=$ac_cv_prog_cc_cross
8377 # Extract the first word of "ranlib", so it can be a program name with args.
8378 set dummy ranlib
; ac_word
=$2
8379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8380 echo "configure:8381: checking for $ac_word" >&5
8381 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8382 echo $ac_n "(cached) $ac_c" 1>&6
8384 if test -n "$RANLIB"; then
8385 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8389 for ac_dir
in $ac_dummy; do
8390 test -z "$ac_dir" && ac_dir
=.
8391 if test -f $ac_dir/$ac_word; then
8392 ac_cv_prog_RANLIB
="ranlib"
8397 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8400 RANLIB
="$ac_cv_prog_RANLIB"
8401 if test -n "$RANLIB"; then
8402 echo "$ac_t""$RANLIB" 1>&6
8404 echo "$ac_t""no" 1>&6
8408 # Extract the first word of "ar", so it can be a program name with args.
8409 set dummy
ar; ac_word
=$2
8410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8411 echo "configure:8412: checking for $ac_word" >&5
8412 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8415 if test -n "$AR"; then
8416 ac_cv_prog_AR
="$AR" # Let the user override the test.
8418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8420 for ac_dir
in $ac_dummy; do
8421 test -z "$ac_dir" && ac_dir
=.
8422 if test -f $ac_dir/$ac_word; then
8428 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8432 if test -n "$AR"; then
8433 echo "$ac_t""$AR" 1>&6
8435 echo "$ac_t""no" 1>&6
8439 # Find a good install program. We prefer a C program (faster),
8440 # so one script is as good as another. But avoid the broken or
8441 # incompatible versions:
8442 # SysV /etc/install, /usr/sbin/install
8443 # SunOS /usr/etc/install
8444 # IRIX /sbin/install
8446 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8449 # ./install, which can be erroneously created by make from ./install.sh.
8450 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8451 echo "configure:8452: checking for a BSD compatible install" >&5
8452 if test -z "$INSTALL"; then
8453 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8454 echo $ac_n "(cached) $ac_c" 1>&6
8456 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8457 for ac_dir
in $PATH; do
8458 # Account for people who put trailing slashes in PATH elements.
8460 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8462 # OSF1 and SCO ODT 3.0 have their own names for install.
8463 # Don't use installbsd from OSF since it installs stuff as root
8465 for ac_prog
in ginstall scoinst
install; do
8466 if test -f $ac_dir/$ac_prog; then
8467 if test $ac_prog = install &&
8468 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8469 # AIX install. It has an incompatible calling convention.
8472 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8483 if test "${ac_cv_path_install+set}" = set; then
8484 INSTALL
="$ac_cv_path_install"
8486 # As a last resort, use the slow shell script. We don't cache a
8487 # path for INSTALL within a source directory, because that will
8488 # break other packages using the cache if that directory is
8489 # removed, or if the path is relative.
8490 INSTALL
="$ac_install_sh"
8493 echo "$ac_t""$INSTALL" 1>&6
8495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8496 # It thinks the first close brace ends the variable substitution.
8497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8501 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8504 # Extract the first word of "strip", so it can be a program name with args.
8505 set dummy strip
; ac_word
=$2
8506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8507 echo "configure:8508: checking for $ac_word" >&5
8508 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8511 if test -n "$STRIP"; then
8512 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8514 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8516 for ac_dir
in $ac_dummy; do
8517 test -z "$ac_dir" && ac_dir
=.
8518 if test -f $ac_dir/$ac_word; then
8519 ac_cv_prog_STRIP
="strip"
8524 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8527 STRIP
="$ac_cv_prog_STRIP"
8528 if test -n "$STRIP"; then
8529 echo "$ac_t""$STRIP" 1>&6
8531 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8536 echo "configure:8537: checking make for VPATH support" >&5
8537 cat - << EOF > confMake
8543 if test ! -d sub
; then
8546 echo dummy
> sub
/file
8547 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8549 rm -f sub
/file check final_file confMake
8551 if test "$RESULT" = 0; then
8552 echo "$ac_t""yes" 1>&6
8554 echo "$ac_t""no" 1>&6
8555 { echo "configure: error:
8556 You need a make-utility that is able to use the variable
8558 If your version of make does not support VPATH correctly,
8559 please install GNU-make (possibly as gmake), and start
8560 configure with the following command:
8561 export MAKE=gmake; ./configure for sh-type shells
8562 setenv MAKE gmake; ./configure for csh-type shells
8563 Also please do remember to use gmake in this case every time
8564 you are trying to compile.
8568 for ac_prog
in 'bison -y' byacc
8570 # Extract the first word of "$ac_prog", so it can be a program name with args.
8571 set dummy
$ac_prog; ac_word
=$2
8572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8573 echo "configure:8574: checking for $ac_word" >&5
8574 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 if test -n "$YACC"; then
8578 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8580 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8582 for ac_dir
in $ac_dummy; do
8583 test -z "$ac_dir" && ac_dir
=.
8584 if test -f $ac_dir/$ac_word; then
8585 ac_cv_prog_YACC
="$ac_prog"
8592 YACC
="$ac_cv_prog_YACC"
8593 if test -n "$YACC"; then
8594 echo "$ac_t""$YACC" 1>&6
8596 echo "$ac_t""no" 1>&6
8599 test -n "$YACC" && break
8601 test -n "$YACC" || YACC
="yacc"
8604 # Extract the first word of "flex", so it can be a program name with args.
8605 set dummy flex
; ac_word
=$2
8606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8607 echo "configure:8608: checking for $ac_word" >&5
8608 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8609 echo $ac_n "(cached) $ac_c" 1>&6
8611 if test -n "$LEX"; then
8612 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8614 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8616 for ac_dir
in $ac_dummy; do
8617 test -z "$ac_dir" && ac_dir
=.
8618 if test -f $ac_dir/$ac_word; then
8619 ac_cv_prog_LEX
="flex"
8624 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8627 LEX
="$ac_cv_prog_LEX"
8628 if test -n "$LEX"; then
8629 echo "$ac_t""$LEX" 1>&6
8631 echo "$ac_t""no" 1>&6
8634 if test -z "$LEXLIB"
8640 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8641 echo "configure:8642: checking for yywrap in -l$ac_lib" >&5
8642 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8643 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 ac_save_LIBS
="$LIBS"
8647 LIBS
="-l$ac_lib $LIBS"
8648 cat > conftest.
$ac_ext <<EOF
8649 #line 8650 "configure"
8650 #include "confdefs.h"
8651 /* Override any gcc2 internal prototype to avoid an error. */
8652 /* We use char because int might match the return type of a gcc2
8653 builtin and then its argument prototype would still apply. */
8660 if { (eval echo configure
:8661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8662 eval "ac_cv_lib_$ac_lib_var=yes"
8664 echo "configure: failed program was:" >&5
8665 cat conftest.
$ac_ext >&5
8667 eval "ac_cv_lib_$ac_lib_var=no"
8670 LIBS
="$ac_save_LIBS"
8673 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8674 echo "$ac_t""yes" 1>&6
8677 echo "$ac_t""no" 1>&6
8683 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8684 echo "configure:8685: checking whether ln -s works" >&5
8685 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8689 if ln -s X conftestdata
2>/dev
/null
8692 ac_cv_prog_LN_S
="ln -s"
8697 LN_S
="$ac_cv_prog_LN_S"
8698 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8699 echo "$ac_t""yes" 1>&6
8701 echo "$ac_t""no" 1>&6
8707 /usr/local/include \
8709 /usr/Motif-1.2/include \
8710 /usr/Motif-2.1/include \
8712 /usr/include/Motif1.2 \
8713 /opt/xpm/include/X11 \
8714 /opt/GBxpm/include/ \
8715 /opt/GBxpm/X11/include/ \
8717 /usr/Motif1.2/include \
8719 /usr/openwin/include \
8723 /usr/X11R6/include \
8724 /usr/X11R6.4/include \
8725 /usr/X11R5/include \
8726 /usr/X11R4/include \
8728 /usr/include/X11R6 \
8729 /usr/include/X11R5 \
8730 /usr/include/X11R4 \
8732 /usr/local/X11R6/include \
8733 /usr/local/X11R5/include \
8734 /usr/local/X11R4/include \
8736 /usr/local/include/X11R6 \
8737 /usr/local/include/X11R5 \
8738 /usr/local/include/X11R4 \
8742 /usr/local/X11/include \
8743 /usr/local/include/X11 \
8747 /usr/XFree86/include/X11 \
8749 X:/XFree86/include \
8750 X:/XFree86/include/X11 \
8753 /usr/local/include/gtk \
8755 /usr/local/include/glib \
8758 /usr/local/include/qt \
8760 /usr/include/windows \
8762 /usr/local/include/wine \
8764 /usr/unsupported/include \
8765 /usr/athena/include \
8766 /usr/local/x11r5/include \
8767 /usr/lpp/Xamples/include \
8769 /usr/openwin/share/include \
8773 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8776 cat > confcache
<<\EOF
8777 # This file is a shell script that caches the results of configure
8778 # tests run on this system so they can be shared between configure
8779 # scripts and configure runs. It is not useful on other systems.
8780 # If it contains results you don't want to keep, you may remove or edit it.
8782 # By default, configure uses ./config.cache as the cache file,
8783 # creating it if it does not exist already. You can give configure
8784 # the --cache-file=FILE option to use a different cache file; that is
8785 # what configure does when it calls configure scripts in
8786 # subdirectories, so they share the cache.
8787 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8788 # config.status only pays attention to the cache file if you give it the
8789 # --recheck option to rerun configure.
8792 # The following way of writing the cache mishandles newlines in values,
8793 # but we know of no workaround that is simple, portable, and efficient.
8794 # So, don't put newlines in cache variables' values.
8795 # Ultrix sh set writes to stderr and can't be redirected directly,
8796 # and sets the high bit in the cache file unless we assign to the vars.
8798 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8800 # `set' does not quote correctly, so add quotes (double-quote substitution
8801 # turns \\\\ into \\, and sed turns \\ into \).
8803 -e "s/'/'\\\\''/g" \
8804 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8807 # `set' quotes correctly as required by POSIX, so do not add quotes.
8808 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8811 if cmp -s $cache_file confcache
; then
8814 if test -w $cache_file; then
8815 echo "updating cache $cache_file"
8816 cat confcache
> $cache_file
8818 echo "not updating unwritable cache $cache_file"
8826 if test "$wxUSE_REGEX" != "no"; then
8827 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8828 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8829 echo "configure:8830: checking for regex.h" >&5
8830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8831 echo $ac_n "(cached) $ac_c" 1>&6
8833 cat > conftest.
$ac_ext <<EOF
8834 #line 8835 "configure"
8835 #include "confdefs.h"
8838 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8839 { (eval echo configure
:8840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8840 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8841 if test -z "$ac_err"; then
8843 eval "ac_cv_header_$ac_safe=yes"
8846 echo "configure: failed program was:" >&5
8847 cat conftest.
$ac_ext >&5
8849 eval "ac_cv_header_$ac_safe=no"
8853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8854 echo "$ac_t""yes" 1>&6
8855 for ac_func
in regcomp
8857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8858 echo "configure:8859: checking for $ac_func" >&5
8859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8860 echo $ac_n "(cached) $ac_c" 1>&6
8862 cat > conftest.
$ac_ext <<EOF
8863 #line 8864 "configure"
8864 #include "confdefs.h"
8865 /* System header to define __stub macros and hopefully few prototypes,
8866 which can conflict with char $ac_func(); below. */
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 /* We use char because int might match the return type of a gcc2
8870 builtin and then its argument prototype would still apply. */
8875 /* The GNU C library defines this for functions which it implements
8876 to always fail with ENOSYS. Some functions are actually named
8877 something starting with __ and the normal name is an alias. */
8878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8886 if { (eval echo configure
:8887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8888 eval "ac_cv_func_$ac_func=yes"
8890 echo "configure: failed program was:" >&5
8891 cat conftest.
$ac_ext >&5
8893 eval "ac_cv_func_$ac_func=no"
8898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8899 echo "$ac_t""yes" 1>&6
8900 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8901 cat >> confdefs.h
<<EOF
8902 #define $ac_tr_func 1
8906 echo "$ac_t""no" 1>&6
8911 echo "$ac_t""no" 1>&6
8915 if test "x$ac_cv_func_regcomp" != "xyes"; then
8916 if test "$wxUSE_REGEX" = "sys"; then
8917 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8920 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8923 cat >> confdefs.h
<<\EOF
8924 #define wxUSE_REGEX 1
8932 if test "$wxUSE_GUI" = "yes"; then
8947 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8948 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8949 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8950 echo "configure:8951: checking for windows.h" >&5
8951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8954 cat > conftest.
$ac_ext <<EOF
8955 #line 8956 "configure"
8956 #include "confdefs.h"
8957 #include <windows.h>
8959 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8960 { (eval echo configure
:8961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8961 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8962 if test -z "$ac_err"; then
8964 eval "ac_cv_header_$ac_safe=yes"
8967 echo "configure: failed program was:" >&5
8968 cat conftest.
$ac_ext >&5
8970 eval "ac_cv_header_$ac_safe=no"
8974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8975 echo "$ac_t""yes" 1>&6
8978 echo "$ac_t""no" 1>&6
8980 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8985 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8987 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8989 if test "$wxUSE_ODBC" = "yes" ; then
8990 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8993 if test "$wxUSE_MINGW" = 1; then
8994 LDFLAGS
="$LDFLAGS -mwindows"
9000 RCINCSWITCH
="--include-dir"
9001 RCDEFSWITCH
="--define"
9002 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9005 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9007 RESPROGRAM
="\$(RES_PROGRAM)"
9010 if test "$wxUSE_GTK" = 1; then
9011 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9012 echo "configure:9013: checking for GTK+ version" >&5
9014 gtk_version_cached
=1
9015 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9016 echo $ac_n "(cached) $ac_c" 1>&6
9019 gtk_version_cached
=0
9020 echo "$ac_t""""" 1>&6
9023 if test "x$wxUSE_GTK2" = "xyes"; then
9024 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9025 if test "${with_gtk_prefix+set}" = set; then
9026 withval
="$with_gtk_prefix"
9027 gtk_config_prefix
="$withval"
9029 gtk_config_prefix
=""
9032 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9033 if test "${with_gtk_exec_prefix+set}" = set; then
9034 withval
="$with_gtk_exec_prefix"
9035 gtk_config_exec_prefix
="$withval"
9037 gtk_config_exec_prefix
=""
9040 # Check whether --enable-gtktest or --disable-gtktest was given.
9041 if test "${enable_gtktest+set}" = set; then
9042 enableval
="$enable_gtktest"
9053 gtk_config_args
="$gtk_config_args gthread"
9058 if test x
$gtk_config_exec_prefix != x
; then
9059 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9060 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9061 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9064 if test x
$gtk_config_prefix != x
; then
9065 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9066 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9067 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9071 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9072 set dummy gtk
-config-2.0
; ac_word
=$2
9073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9074 echo "configure:9075: checking for $ac_word" >&5
9075 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 case "$GTK_CONFIG_2_0" in
9080 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9083 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9088 for ac_dir
in $ac_dummy; do
9089 test -z "$ac_dir" && ac_dir
=.
9090 if test -f $ac_dir/$ac_word; then
9091 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9096 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9100 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9101 if test -n "$GTK_CONFIG_2_0"; then
9102 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9104 echo "$ac_t""no" 1>&6
9107 min_gtk_version
=1.3.1
9108 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9109 echo "configure:9110: checking for GTK - version >= $min_gtk_version" >&5
9111 if test "$GTK_CONFIG_2_0" = "no" ; then
9114 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9115 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9116 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9118 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9120 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9122 if test "x$enable_gtktest" = "xyes" ; then
9123 ac_save_CFLAGS
="$CFLAGS"
9124 ac_save_LIBS
="$LIBS"
9125 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9126 LIBS
="$GTK_LIBS $LIBS"
9128 if test "$cross_compiling" = yes; then
9129 echo $ac_n "cross compiling; assumed OK... $ac_c"
9131 cat > conftest.
$ac_ext <<EOF
9132 #line 9133 "configure"
9133 #include "confdefs.h"
9135 #include <gtk/gtk.h>
9142 int major, minor, micro;
9145 system ("touch conf.gtktest");
9147 /* HP/UX 9 (%@#!) writes to sscanf strings */
9148 tmp_version = g_strdup("$min_gtk_version");
9149 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9150 printf("%s, bad version string\n", "$min_gtk_version");
9154 if ((gtk_major_version != $gtk_config_major_version) ||
9155 (gtk_minor_version != $gtk_config_minor_version) ||
9156 (gtk_micro_version != $gtk_config_micro_version))
9158 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9159 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9160 gtk_major_version, gtk_minor_version, gtk_micro_version);
9161 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9162 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9163 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9164 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9165 printf("*** required on your system.\n");
9166 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9167 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9168 printf("*** before re-running configure\n");
9170 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9171 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9172 (gtk_minor_version != GTK_MINOR_VERSION) ||
9173 (gtk_micro_version != GTK_MICRO_VERSION))
9175 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9176 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9177 printf("*** library (version %d.%d.%d)\n",
9178 gtk_major_version, gtk_minor_version, gtk_micro_version);
9180 #endif /* defined (GTK_MAJOR_VERSION) ... */
9183 if ((gtk_major_version > major) ||
9184 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9185 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9191 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9192 gtk_major_version, gtk_minor_version, gtk_micro_version);
9193 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9194 major, minor, micro);
9195 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9197 printf("*** If you have already installed a sufficiently new version, this error\n");
9198 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9199 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9200 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9201 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9202 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9203 printf("*** so that the correct libraries are found at run-time))\n");
9210 if { (eval echo configure
:9211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9214 echo "configure: failed program was:" >&5
9215 cat conftest.
$ac_ext >&5
9222 CFLAGS
="$ac_save_CFLAGS"
9223 LIBS
="$ac_save_LIBS"
9226 if test "x$no_gtk" = x
; then
9227 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9230 echo "$ac_t""no" 1>&6
9231 if test "$GTK_CONFIG_2_0" = "no" ; then
9232 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9233 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9234 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9235 echo "*** full path to gtk-config-2.0."
9237 if test -f conf.gtktest
; then
9240 echo "*** Could not run GTK test program, checking why..."
9241 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9242 LIBS
="$LIBS $GTK_LIBS"
9243 cat > conftest.
$ac_ext <<EOF
9244 #line 9245 "configure"
9245 #include "confdefs.h"
9247 #include <gtk/gtk.h>
9251 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9254 if { (eval echo configure
:9255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9256 echo "*** The test program compiled, but did not run. This usually means"
9257 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9258 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9259 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9260 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9261 echo "*** is required on your system"
9263 echo "*** If you have an old version installed, it is best to remove it, although"
9264 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9266 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9267 echo "*** came with the system with the command"
9269 echo "*** rpm --erase --nodeps gtk gtk-devel"
9271 echo "configure: failed program was:" >&5
9272 cat conftest.
$ac_ext >&5
9274 echo "*** The test program failed to compile or link. See the file config.log for the"
9275 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9276 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9277 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9280 CFLAGS
="$ac_save_CFLAGS"
9281 LIBS
="$ac_save_LIBS"
9294 if test -z "$wx_cv_lib_gtk"; then
9296 if test x
$gtk_config_exec_prefix != x
; then
9297 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9298 if test x
${GTK_CONFIG+set} != xset
; then
9299 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9302 if test x
$gtk_config_prefix != x
; then
9303 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9304 if test x
${GTK_CONFIG+set} != xset
; then
9305 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9309 # Extract the first word of "gtk-config", so it can be a program name with args.
9310 set dummy gtk
-config; ac_word
=$2
9311 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9312 echo "configure:9313: checking for $ac_word" >&5
9313 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9314 echo $ac_n "(cached) $ac_c" 1>&6
9316 case "$GTK_CONFIG" in
9318 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9321 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9324 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9326 for ac_dir
in $ac_dummy; do
9327 test -z "$ac_dir" && ac_dir
=.
9328 if test -f $ac_dir/$ac_word; then
9329 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9334 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9338 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9339 if test -n "$GTK_CONFIG"; then
9340 echo "$ac_t""$GTK_CONFIG" 1>&6
9342 echo "$ac_t""no" 1>&6
9345 min_gtk_version
=1.2.7
9346 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9347 echo "configure:9348: checking for GTK - version >= $min_gtk_version" >&5
9349 if test "$GTK_CONFIG" != "no" ; then
9350 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9351 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9352 ac_save_CFLAGS
="$CFLAGS"
9353 ac_save_LIBS
="$LIBS"
9354 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9355 LIBS
="$LIBS $GTK_LIBS"
9356 if test "$cross_compiling" = yes; then
9357 echo $ac_n "cross compiling; assumed OK... $ac_c"
9359 cat > conftest.
$ac_ext <<EOF
9360 #line 9361 "configure"
9361 #include "confdefs.h"
9363 #include <gtk/gtk.h>
9364 #include <gtk/gtkfeatures.h>
9371 int major, minor, micro;
9373 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9374 printf("%s, bad version string\n", "$min_gtk_version");
9378 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9379 (GTK_MINOR_VERSION != gtk_minor_version) ||
9380 (GTK_MICRO_VERSION != gtk_micro_version)) {
9381 printf("Headers vs. library version mismatch!\n");
9385 if (gtk_minor_version == 1) return FALSE;
9387 return !((gtk_major_version > major) ||
9388 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9389 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9393 if { (eval echo configure
:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9397 echo "configure: failed program was:" >&5
9398 cat conftest.
$ac_ext >&5
9405 CFLAGS
="$ac_save_CFLAGS"
9406 LIBS
="$ac_save_LIBS"
9410 if test "x$no_gtk" = x
; then
9411 echo "$ac_t""yes" 1>&6
9414 echo "$ac_t""no" 1>&6
9424 if test -z "$wx_cv_lib_gtk"; then
9426 if test x
$gtk_config_exec_prefix != x
; then
9427 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9428 if test x
${GTK_CONFIG+set} != xset
; then
9429 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9432 if test x
$gtk_config_prefix != x
; then
9433 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9434 if test x
${GTK_CONFIG+set} != xset
; then
9435 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9439 # Extract the first word of "gtk-config", so it can be a program name with args.
9440 set dummy gtk
-config; ac_word
=$2
9441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9442 echo "configure:9443: checking for $ac_word" >&5
9443 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9444 echo $ac_n "(cached) $ac_c" 1>&6
9446 case "$GTK_CONFIG" in
9448 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9451 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9456 for ac_dir
in $ac_dummy; do
9457 test -z "$ac_dir" && ac_dir
=.
9458 if test -f $ac_dir/$ac_word; then
9459 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9464 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9468 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9469 if test -n "$GTK_CONFIG"; then
9470 echo "$ac_t""$GTK_CONFIG" 1>&6
9472 echo "$ac_t""no" 1>&6
9475 min_gtk_version
=1.2.3
9476 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9477 echo "configure:9478: checking for GTK - version >= $min_gtk_version" >&5
9479 if test "$GTK_CONFIG" != "no" ; then
9480 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9481 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9482 ac_save_CFLAGS
="$CFLAGS"
9483 ac_save_LIBS
="$LIBS"
9484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9485 LIBS
="$LIBS $GTK_LIBS"
9486 if test "$cross_compiling" = yes; then
9487 echo $ac_n "cross compiling; assumed OK... $ac_c"
9489 cat > conftest.
$ac_ext <<EOF
9490 #line 9491 "configure"
9491 #include "confdefs.h"
9493 #include <gtk/gtk.h>
9494 #include <gtk/gtkfeatures.h>
9501 int major, minor, micro;
9503 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9504 printf("%s, bad version string\n", "$min_gtk_version");
9508 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9509 (GTK_MINOR_VERSION != gtk_minor_version) ||
9510 (GTK_MICRO_VERSION != gtk_micro_version)) {
9511 printf("Headers vs. library version mismatch!\n");
9515 if (gtk_minor_version == 1) return FALSE;
9517 return !((gtk_major_version > major) ||
9518 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9519 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9523 if { (eval echo configure
:9524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9527 echo "configure: failed program was:" >&5
9528 cat conftest.
$ac_ext >&5
9535 CFLAGS
="$ac_save_CFLAGS"
9536 LIBS
="$ac_save_LIBS"
9540 if test "x$no_gtk" = x
; then
9541 echo "$ac_t""yes" 1>&6
9544 echo "$ac_t""no" 1>&6
9554 if test -z "$wx_cv_lib_gtk"; then
9557 wx_cv_cflags_gtk
=$GTK_CFLAGS
9558 wx_cv_libs_gtk
=$GTK_LIBS
9565 if test "$gtk_version_cached" = 1; then
9566 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9569 case "$wx_cv_lib_gtk" in
9577 *) { echo "configure: error:
9578 Please check that gtk-config is in path, the directory
9579 where GTK+ libraries are installed (returned by
9580 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9581 equivalent variable and GTK+ is version 1.2.3 or above.
9586 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9587 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9589 AFMINSTALL
=afminstall
9593 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9594 echo "configure:9595: checking for gdk_im_open in -lgdk" >&5
9595 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9596 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9597 echo $ac_n "(cached) $ac_c" 1>&6
9599 ac_save_LIBS
="$LIBS"
9601 cat > conftest.
$ac_ext <<EOF
9602 #line 9603 "configure"
9603 #include "confdefs.h"
9604 /* Override any gcc2 internal prototype to avoid an error. */
9605 /* We use char because int might match the return type of a gcc2
9606 builtin and then its argument prototype would still apply. */
9613 if { (eval echo configure
:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9615 eval "ac_cv_lib_$ac_lib_var=yes"
9617 echo "configure: failed program was:" >&5
9618 cat conftest.
$ac_ext >&5
9620 eval "ac_cv_lib_$ac_lib_var=no"
9623 LIBS
="$ac_save_LIBS"
9626 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9627 echo "$ac_t""yes" 1>&6
9628 cat >> confdefs.h
<<\EOF
9633 echo "$ac_t""no" 1>&6
9638 if test "$wxUSE_MGL" = 1; then
9640 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9641 echo "configure:9642: checking for SciTech MGL library" >&5
9642 if test "x$MGL_ROOT" = x
; then
9643 echo "$ac_t""not found" 1>&6
9644 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9646 echo "$ac_t""$MGL_ROOT" 1>&6
9649 MGL_OS
=linux
/gcc
/glibc
9652 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9653 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9657 if test "x$MGL_LIB_TYPE" = x
; then
9658 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9659 MGL_LIB_TYPE
=release
9661 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9665 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9666 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9668 AFMINSTALL
=afminstall
9673 if test "$wxUSE_WINE" = 1; then
9674 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9675 echo "configure:9676: checking for WINE includes" >&5
9678 for ac_dir
in $SEARCH_INCLUDE;
9680 if test -f "$ac_dir/windows.h"; then
9681 ac_find_includes
=$ac_dir
9686 if test "$ac_find_includes" != "" ; then
9687 echo "$ac_t""found $ac_find_includes" 1>&6
9688 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9690 echo "$ac_t""no" 1>&6
9691 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9695 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9696 echo "configure:9697: checking for Xpm library" >&5
9699 for ac_dir
in $SEARCH_LIB;
9701 for ac_extension
in a so sl dylib
; do
9702 if test -f "$ac_dir/libXpm.$ac_extension"; then
9703 ac_find_libraries
=$ac_dir
9709 if test "$ac_find_libraries" != "" ; then
9710 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9712 cat >> confdefs.h
<<\EOF
9713 #define wxHAVE_LIB_XPM 1
9716 echo "$ac_t""found at $ac_find_libraries" 1>&6
9718 echo "$ac_t""no" 1>&6
9719 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9723 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9724 echo "configure:9725: checking for Mesa library" >&5
9727 for ac_dir
in $SEARCH_LIB;
9729 for ac_extension
in a so sl dylib
; do
9730 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9731 ac_find_libraries
=$ac_dir
9737 if test "$ac_find_libraries" != "" ; then
9738 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9739 MESA_LINK
="-lMesaGL"
9740 echo "$ac_t""found at $ac_find_libraries" 1>&6
9742 { echo "configure: error: no" 1>&2; exit 1; }
9745 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9746 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9753 # If we find X, set shell vars x_includes and x_libraries to the
9754 # paths, otherwise set no_x=yes.
9755 # Uses ac_ vars as temps to allow command line to override cache and checks.
9756 # --without-x overrides everything else, but does not touch the cache.
9757 echo $ac_n "checking for X""... $ac_c" 1>&6
9758 echo "configure:9759: checking for X" >&5
9760 # Check whether --with-x or --without-x was given.
9761 if test "${with_x+set}" = set; then
9766 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9767 if test "x$with_x" = xno
; then
9768 # The user explicitly disabled X.
9771 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9772 # Both variables are already set.
9775 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9776 echo $ac_n "(cached) $ac_c" 1>&6
9778 # One or both of the vars are not set, and there is no cached value.
9779 ac_x_includes
=NO ac_x_libraries
=NO
9781 if mkdir conftestdir
; then
9783 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9784 cat > Imakefile
<<'EOF'
9786 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9788 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9789 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9790 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9791 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9792 for ac_extension
in a so sl
; do
9793 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9794 test -f $ac_im_libdir/libX11.
$ac_extension; then
9795 ac_im_usrlibdir
=$ac_im_libdir; break
9798 # Screen out bogus values from the imake configuration. They are
9799 # bogus both because they are the default anyway, and because
9800 # using them would break gcc on systems where it needs fixed includes.
9801 case "$ac_im_incroot" in
9803 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9805 case "$ac_im_usrlibdir" in
9807 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9814 if test "$ac_x_includes" = NO
; then
9815 # Guess where to find include files, by looking for this one X11 .h file.
9816 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9818 # First, try using that file with no special directory specified.
9819 cat > conftest.
$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9822 #include <$x_direct_test_include>
9824 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9825 { (eval echo configure
:9826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9826 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9827 if test -z "$ac_err"; then
9829 # We can compile using X headers with no special include directory.
9833 echo "configure: failed program was:" >&5
9834 cat conftest.
$ac_ext >&5
9836 # Look for the header file in a standard set of common directories.
9837 # Check X11 before X11Rn because it is often a symlink to the current release.
9840 /usr
/X
11R
6/include \
9841 /usr
/X
11R
5/include \
9842 /usr
/X
11R
4/include \
9845 /usr
/include
/X11R6 \
9846 /usr
/include
/X11R5 \
9847 /usr
/include
/X11R4 \
9849 /usr
/local
/X
11/include \
9850 /usr
/local
/X
11R
6/include \
9851 /usr
/local
/X
11R
5/include \
9852 /usr
/local
/X
11R
4/include \
9854 /usr
/local
/include
/X11 \
9855 /usr
/local
/include
/X11R6 \
9856 /usr
/local
/include
/X11R5 \
9857 /usr
/local
/include
/X11R4 \
9861 /usr
/XFree
86/include
/X11 \
9864 /usr
/local
/include \
9865 /usr
/unsupported
/include \
9866 /usr
/athena
/include \
9867 /usr
/local
/x
11r
5/include \
9868 /usr
/lpp
/Xamples
/include \
9870 /usr
/openwin
/include \
9871 /usr
/openwin
/share
/include \
9874 if test -r "$ac_dir/$x_direct_test_include"; then
9875 ac_x_includes
=$ac_dir
9881 fi # $ac_x_includes = NO
9883 if test "$ac_x_libraries" = NO
; then
9884 # Check for the libraries.
9886 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9887 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9889 # See if we find them without any special options.
9890 # Don't add to $LIBS permanently.
9891 ac_save_LIBS
="$LIBS"
9892 LIBS
="-l$x_direct_test_library $LIBS"
9893 cat > conftest.
$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9898 ${x_direct_test_function}()
9901 if { (eval echo configure
:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9903 LIBS
="$ac_save_LIBS"
9904 # We can link X programs with no special library path.
9907 echo "configure: failed program was:" >&5
9908 cat conftest.
$ac_ext >&5
9910 LIBS
="$ac_save_LIBS"
9911 # First see if replacing the include by lib works.
9912 # Check X11 before X11Rn because it is often a symlink to the current release.
9913 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9924 /usr
/local
/X
11/lib \
9925 /usr
/local
/X
11R
6/lib \
9926 /usr
/local
/X
11R
5/lib \
9927 /usr
/local
/X
11R
4/lib \
9929 /usr
/local
/lib
/X11 \
9930 /usr
/local
/lib
/X11R6 \
9931 /usr
/local
/lib
/X11R5 \
9932 /usr
/local
/lib
/X11R4 \
9936 /usr
/XFree
86/lib
/X11 \
9940 /usr
/unsupported
/lib \
9942 /usr
/local
/x
11r
5/lib \
9943 /usr
/lpp
/Xamples
/lib \
9947 /usr
/openwin
/share
/lib \
9950 for ac_extension
in a so sl
; do
9951 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9952 ac_x_libraries
=$ac_dir
9959 fi # $ac_x_libraries = NO
9961 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9962 # Didn't find X anywhere. Cache the known absence of X.
9963 ac_cv_have_x
="have_x=no"
9965 # Record where we found X for the cache.
9966 ac_cv_have_x
="have_x=yes \
9967 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9971 eval "$ac_cv_have_x"
9974 if test "$have_x" != yes; then
9975 echo "$ac_t""$have_x" 1>&6
9978 # If each of the values was on the command line, it overrides each guess.
9979 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9980 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9981 # Update the cache value to reflect the command line values.
9982 ac_cv_have_x
="have_x=yes \
9983 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9984 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9987 if test "$no_x" = yes; then
9988 # Not all programs may use this symbol, but it does not hurt to define it.
9989 cat >> confdefs.h
<<\EOF
9990 #define X_DISPLAY_MISSING 1
9993 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9995 if test -n "$x_includes"; then
9996 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9999 # It would also be nice to do this for all -L options, not just this one.
10000 if test -n "$x_libraries"; then
10001 X_LIBS
="$X_LIBS -L$x_libraries"
10002 # For Solaris; some versions of Sun CC require a space after -R and
10003 # others require no space. Words are not sufficient . . . .
10004 case "`(uname -sr) 2>/dev/null`" in
10006 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10007 echo "configure:10008: checking whether -R must be followed by a space" >&5
10008 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10017 if { (eval echo configure
:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10021 echo "configure: failed program was:" >&5
10022 cat conftest.
$ac_ext >&5
10027 if test $ac_R_nospace = yes; then
10028 echo "$ac_t""no" 1>&6
10029 X_LIBS
="$X_LIBS -R$x_libraries"
10031 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10032 cat > conftest.
$ac_ext <<EOF
10033 #line 10034 "configure"
10034 #include "confdefs.h"
10040 if { (eval echo configure
:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10044 echo "configure: failed program was:" >&5
10045 cat conftest.
$ac_ext >&5
10050 if test $ac_R_space = yes; then
10051 echo "$ac_t""yes" 1>&6
10052 X_LIBS
="$X_LIBS -R $x_libraries"
10054 echo "$ac_t""neither works" 1>&6
10057 LIBS
="$ac_xsave_LIBS"
10061 # Check for system-dependent libraries X programs must link with.
10062 # Do this before checking for the system-independent R6 libraries
10063 # (-lICE), since we may need -lsocket or whatever for X linking.
10065 if test "$ISC" = yes; then
10066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10068 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10069 # libraries were built with DECnet support. And karl@cs.umb.edu says
10070 # the Alpha needs dnet_stub (dnet does not exist).
10071 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10072 echo "configure:10073: checking for dnet_ntoa in -ldnet" >&5
10073 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10074 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10075 echo $ac_n "(cached) $ac_c" 1>&6
10077 ac_save_LIBS
="$LIBS"
10078 LIBS
="-ldnet $LIBS"
10079 cat > conftest.
$ac_ext <<EOF
10080 #line 10081 "configure"
10081 #include "confdefs.h"
10082 /* Override any gcc2 internal prototype to avoid an error. */
10083 /* We use char because int might match the return type of a gcc2
10084 builtin and then its argument prototype would still apply. */
10091 if { (eval echo configure
:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10093 eval "ac_cv_lib_$ac_lib_var=yes"
10095 echo "configure: failed program was:" >&5
10096 cat conftest.
$ac_ext >&5
10098 eval "ac_cv_lib_$ac_lib_var=no"
10101 LIBS
="$ac_save_LIBS"
10104 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10105 echo "$ac_t""yes" 1>&6
10106 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10108 echo "$ac_t""no" 1>&6
10111 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10112 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10113 echo "configure:10114: checking for dnet_ntoa in -ldnet_stub" >&5
10114 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10116 echo $ac_n "(cached) $ac_c" 1>&6
10118 ac_save_LIBS
="$LIBS"
10119 LIBS
="-ldnet_stub $LIBS"
10120 cat > conftest.
$ac_ext <<EOF
10121 #line 10122 "configure"
10122 #include "confdefs.h"
10123 /* Override any gcc2 internal prototype to avoid an error. */
10124 /* We use char because int might match the return type of a gcc2
10125 builtin and then its argument prototype would still apply. */
10132 if { (eval echo configure
:10133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10134 eval "ac_cv_lib_$ac_lib_var=yes"
10136 echo "configure: failed program was:" >&5
10137 cat conftest.
$ac_ext >&5
10139 eval "ac_cv_lib_$ac_lib_var=no"
10142 LIBS
="$ac_save_LIBS"
10145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10146 echo "$ac_t""yes" 1>&6
10147 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10149 echo "$ac_t""no" 1>&6
10154 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10155 # to get the SysV transport functions.
10156 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10158 # The nsl library prevents programs from opening the X display
10159 # on Irix 5.2, according to dickey@clark.net.
10160 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10161 echo "configure:10162: checking for gethostbyname" >&5
10162 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10165 cat > conftest.
$ac_ext <<EOF
10166 #line 10167 "configure"
10167 #include "confdefs.h"
10168 /* System header to define __stub macros and hopefully few prototypes,
10169 which can conflict with char gethostbyname(); below. */
10170 #include <assert.h>
10171 /* Override any gcc2 internal prototype to avoid an error. */
10172 /* We use char because int might match the return type of a gcc2
10173 builtin and then its argument prototype would still apply. */
10174 char gethostbyname();
10178 /* The GNU C library defines this for functions which it implements
10179 to always fail with ENOSYS. Some functions are actually named
10180 something starting with __ and the normal name is an alias. */
10181 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10189 if { (eval echo configure
:10190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10191 eval "ac_cv_func_gethostbyname=yes"
10193 echo "configure: failed program was:" >&5
10194 cat conftest.
$ac_ext >&5
10196 eval "ac_cv_func_gethostbyname=no"
10201 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10202 echo "$ac_t""yes" 1>&6
10205 echo "$ac_t""no" 1>&6
10208 if test $ac_cv_func_gethostbyname = no
; then
10209 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10210 echo "configure:10211: checking for gethostbyname in -lnsl" >&5
10211 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10213 echo $ac_n "(cached) $ac_c" 1>&6
10215 ac_save_LIBS
="$LIBS"
10217 cat > conftest.
$ac_ext <<EOF
10218 #line 10219 "configure"
10219 #include "confdefs.h"
10220 /* Override any gcc2 internal prototype to avoid an error. */
10221 /* We use char because int might match the return type of a gcc2
10222 builtin and then its argument prototype would still apply. */
10223 char gethostbyname();
10229 if { (eval echo configure
:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10231 eval "ac_cv_lib_$ac_lib_var=yes"
10233 echo "configure: failed program was:" >&5
10234 cat conftest.
$ac_ext >&5
10236 eval "ac_cv_lib_$ac_lib_var=no"
10239 LIBS
="$ac_save_LIBS"
10242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10243 echo "$ac_t""yes" 1>&6
10244 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10246 echo "$ac_t""no" 1>&6
10251 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10252 # socket/setsockopt and other routines are undefined under SCO ODT
10253 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10254 # on later versions), says simon@lia.di.epfl.ch: it contains
10255 # gethostby* variants that don't use the nameserver (or something).
10256 # -lsocket must be given before -lnsl if both are needed.
10257 # We assume that if connect needs -lnsl, so does gethostbyname.
10258 echo $ac_n "checking for connect""... $ac_c" 1>&6
10259 echo "configure:10260: checking for connect" >&5
10260 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10263 cat > conftest.
$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10266 /* System header to define __stub macros and hopefully few prototypes,
10267 which can conflict with char connect(); below. */
10268 #include <assert.h>
10269 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10276 /* The GNU C library defines this for functions which it implements
10277 to always fail with ENOSYS. Some functions are actually named
10278 something starting with __ and the normal name is an alias. */
10279 #if defined (__stub_connect) || defined (__stub___connect)
10287 if { (eval echo configure
:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10289 eval "ac_cv_func_connect=yes"
10291 echo "configure: failed program was:" >&5
10292 cat conftest.
$ac_ext >&5
10294 eval "ac_cv_func_connect=no"
10299 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10300 echo "$ac_t""yes" 1>&6
10303 echo "$ac_t""no" 1>&6
10306 if test $ac_cv_func_connect = no
; then
10307 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10308 echo "configure:10309: checking for connect in -lsocket" >&5
10309 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10311 echo $ac_n "(cached) $ac_c" 1>&6
10313 ac_save_LIBS
="$LIBS"
10314 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10315 cat > conftest.
$ac_ext <<EOF
10316 #line 10317 "configure"
10317 #include "confdefs.h"
10318 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10327 if { (eval echo configure
:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10329 eval "ac_cv_lib_$ac_lib_var=yes"
10331 echo "configure: failed program was:" >&5
10332 cat conftest.
$ac_ext >&5
10334 eval "ac_cv_lib_$ac_lib_var=no"
10337 LIBS
="$ac_save_LIBS"
10340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10341 echo "$ac_t""yes" 1>&6
10342 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10344 echo "$ac_t""no" 1>&6
10349 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10350 echo $ac_n "checking for remove""... $ac_c" 1>&6
10351 echo "configure:10352: checking for remove" >&5
10352 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10355 cat > conftest.
$ac_ext <<EOF
10356 #line 10357 "configure"
10357 #include "confdefs.h"
10358 /* System header to define __stub macros and hopefully few prototypes,
10359 which can conflict with char remove(); below. */
10360 #include <assert.h>
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10368 /* The GNU C library defines this for functions which it implements
10369 to always fail with ENOSYS. Some functions are actually named
10370 something starting with __ and the normal name is an alias. */
10371 #if defined (__stub_remove) || defined (__stub___remove)
10379 if { (eval echo configure
:10380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10381 eval "ac_cv_func_remove=yes"
10383 echo "configure: failed program was:" >&5
10384 cat conftest.
$ac_ext >&5
10386 eval "ac_cv_func_remove=no"
10391 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10392 echo "$ac_t""yes" 1>&6
10395 echo "$ac_t""no" 1>&6
10398 if test $ac_cv_func_remove = no
; then
10399 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10400 echo "configure:10401: checking for remove in -lposix" >&5
10401 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10403 echo $ac_n "(cached) $ac_c" 1>&6
10405 ac_save_LIBS
="$LIBS"
10406 LIBS
="-lposix $LIBS"
10407 cat > conftest.
$ac_ext <<EOF
10408 #line 10409 "configure"
10409 #include "confdefs.h"
10410 /* Override any gcc2 internal prototype to avoid an error. */
10411 /* We use char because int might match the return type of a gcc2
10412 builtin and then its argument prototype would still apply. */
10419 if { (eval echo configure
:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10421 eval "ac_cv_lib_$ac_lib_var=yes"
10423 echo "configure: failed program was:" >&5
10424 cat conftest.
$ac_ext >&5
10426 eval "ac_cv_lib_$ac_lib_var=no"
10429 LIBS
="$ac_save_LIBS"
10432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10433 echo "$ac_t""yes" 1>&6
10434 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10436 echo "$ac_t""no" 1>&6
10441 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10442 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10443 echo "configure:10444: checking for shmat" >&5
10444 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10447 cat > conftest.
$ac_ext <<EOF
10448 #line 10449 "configure"
10449 #include "confdefs.h"
10450 /* System header to define __stub macros and hopefully few prototypes,
10451 which can conflict with char shmat(); below. */
10452 #include <assert.h>
10453 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10460 /* The GNU C library defines this for functions which it implements
10461 to always fail with ENOSYS. Some functions are actually named
10462 something starting with __ and the normal name is an alias. */
10463 #if defined (__stub_shmat) || defined (__stub___shmat)
10471 if { (eval echo configure
:10472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10473 eval "ac_cv_func_shmat=yes"
10475 echo "configure: failed program was:" >&5
10476 cat conftest.
$ac_ext >&5
10478 eval "ac_cv_func_shmat=no"
10483 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10484 echo "$ac_t""yes" 1>&6
10487 echo "$ac_t""no" 1>&6
10490 if test $ac_cv_func_shmat = no
; then
10491 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10492 echo "configure:10493: checking for shmat in -lipc" >&5
10493 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10495 echo $ac_n "(cached) $ac_c" 1>&6
10497 ac_save_LIBS
="$LIBS"
10499 cat > conftest.
$ac_ext <<EOF
10500 #line 10501 "configure"
10501 #include "confdefs.h"
10502 /* Override any gcc2 internal prototype to avoid an error. */
10503 /* We use char because int might match the return type of a gcc2
10504 builtin and then its argument prototype would still apply. */
10511 if { (eval echo configure
:10512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10513 eval "ac_cv_lib_$ac_lib_var=yes"
10515 echo "configure: failed program was:" >&5
10516 cat conftest.
$ac_ext >&5
10518 eval "ac_cv_lib_$ac_lib_var=no"
10521 LIBS
="$ac_save_LIBS"
10524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10525 echo "$ac_t""yes" 1>&6
10526 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10528 echo "$ac_t""no" 1>&6
10534 # Check for libraries that X11R6 Xt/Xaw programs need.
10535 ac_save_LDFLAGS
="$LDFLAGS"
10536 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10537 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10538 # check for ICE first), but we must link in the order -lSM -lICE or
10539 # we get undefined symbols. So assume we have SM if we have ICE.
10540 # These have to be linked with before -lX11, unlike the other
10541 # libraries we check for below, so use a different variable.
10542 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10543 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10544 echo "configure:10545: checking for IceConnectionNumber in -lICE" >&5
10545 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10547 echo $ac_n "(cached) $ac_c" 1>&6
10549 ac_save_LIBS
="$LIBS"
10550 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10551 cat > conftest.
$ac_ext <<EOF
10552 #line 10553 "configure"
10553 #include "confdefs.h"
10554 /* Override any gcc2 internal prototype to avoid an error. */
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10557 char IceConnectionNumber();
10560 IceConnectionNumber()
10563 if { (eval echo configure
:10564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10565 eval "ac_cv_lib_$ac_lib_var=yes"
10567 echo "configure: failed program was:" >&5
10568 cat conftest.
$ac_ext >&5
10570 eval "ac_cv_lib_$ac_lib_var=no"
10573 LIBS
="$ac_save_LIBS"
10576 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10577 echo "$ac_t""yes" 1>&6
10578 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10580 echo "$ac_t""no" 1>&6
10583 LDFLAGS
="$ac_save_LDFLAGS"
10587 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10588 LDFLAGS
="$LDFLAGS $X_LIBS"
10590 if test "$wxUSE_MOTIF" = 1; then
10591 if test "$no_x" = "yes"; then
10592 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10595 GUI_TK_LIBRARY
="$X_LIBS"
10596 TOOLKIT_INCLUDE
="$X_CFLAGS"
10598 AFMINSTALL
=afminstall
10601 COMPILED_X_PROGRAM
=0
10603 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10604 echo "configure:10605: checking for Motif/Lesstif headers" >&5
10607 for ac_dir
in $SEARCH_INCLUDE;
10609 if test -f "$ac_dir/Xm/Xm.h"; then
10610 ac_find_includes
=$ac_dir
10615 if test "$ac_find_includes" != "" ; then
10616 echo "$ac_t""found $ac_find_includes" 1>&6
10618 cat > conftest.
$ac_ext <<EOF
10619 #line 10620 "configure"
10620 #include "confdefs.h"
10628 version = xmUseVersion;
10632 if { (eval echo configure
:10633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10635 echo "$ac_t""found in default search path" 1>&6
10636 COMPILED_X_PROGRAM
=1
10639 echo "configure: failed program was:" >&5
10640 cat conftest.
$ac_ext >&5
10643 echo "$ac_t""no" 1>&6
10644 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10651 if test "$COMPILED_X_PROGRAM" = 0; then
10652 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10653 echo "configure:10654: checking for Motif/Lesstif library" >&5
10656 for ac_dir
in $SEARCH_LIB;
10658 for ac_extension
in a so sl dylib
; do
10659 if test -f "$ac_dir/libXm.$ac_extension"; then
10660 ac_find_libraries
=$ac_dir
10666 if test "$ac_find_libraries" != "" ; then
10668 ac_path_to_include
=$ac_find_includes
10669 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10671 if test $result = 0; then
10672 ac_path_to_include
=""
10674 ac_path_to_include
="-I$ac_find_includes"
10678 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10680 if test $result = 0; then
10683 ac_path_to_link
="-L$ac_find_libraries"
10687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10688 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10689 echo "$ac_t""found at $ac_find_libraries" 1>&6
10691 cat > conftest.
$ac_ext <<EOF
10692 #line 10693 "configure"
10693 #include "confdefs.h"
10701 version = xmUseVersion;
10705 if { (eval echo configure
:10706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10708 echo "$ac_t""found in default search path" 1>&6
10709 COMPILED_X_PROGRAM
=1
10712 echo "configure: failed program was:" >&5
10713 cat conftest.
$ac_ext >&5
10716 echo "$ac_t""no" 1>&6
10717 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10727 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10728 echo "configure:10729: checking for Xpm library" >&5
10731 for ac_dir
in $SEARCH_LIB;
10733 for ac_extension
in a so sl dylib
; do
10734 if test -f "$ac_dir/libXpm.$ac_extension"; then
10735 ac_find_libraries
=$ac_dir
10741 if test "$ac_find_libraries" != "" ; then
10743 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10745 if test $result = 0; then
10748 ac_path_to_link
="-L$ac_find_libraries"
10751 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10753 cat >> confdefs.h
<<\EOF
10754 #define wxHAVE_LIB_XPM 1
10757 echo "$ac_t""found at $ac_find_libraries" 1>&6
10759 cat > conftest.
$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10763 #include <X11/xpm.h>
10769 version = XpmLibraryVersion();
10773 if { (eval echo configure
:10774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10777 cat >> confdefs.h
<<\EOF
10778 #define wxHAVE_LIB_XPM 1
10781 echo "$ac_t""found in default search path" 1>&6
10782 COMPILED_X_PROGRAM
=0
10785 echo "configure: failed program was:" >&5
10786 cat conftest.
$ac_ext >&5
10789 echo "$ac_t""no" 1>&6
10790 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10797 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10798 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10803 if test "$wxUSE_MAC" = 1; then
10808 if test "$wxUSE_PM" = 1; then
10813 if test "$TOOLKIT" != "PM" ; then
10814 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10819 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10821 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10823 if test "$TOOLKIT_NAME" = "motif"; then
10824 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10827 if test "$wxUSE_UNIVERSAL" = "yes"; then
10828 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10829 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10830 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10833 SETUPH_DIR
="${TOOLKIT_DIR}"
10836 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10837 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10840 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10841 if test "$wxUSE_UNIVERSAL" = "yes"; then
10842 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10845 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10847 if test "$wxUSE_UNIVERSAL" = "yes"; then
10848 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10850 ALL_OBJECTS
="\$(GUIOBJS)"
10853 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10855 if test "$TOOLKIT" != "MSW"; then
10856 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10859 if test "$wxUSE_HTML" = "yes"; then
10860 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10863 if test "$TOOLKIT" != "MSW"; then
10864 if test "$wxUSE_ODBC" = "yes" ; then
10865 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10869 if test "x$REGEX_INCLUDE" != "x" ; then
10870 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10873 if test "$wxUSE_LIBJPEG" = "yes" ; then
10874 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10876 if test "$wxUSE_LIBTIFF" = "yes" ; then
10877 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10879 if test "$wxUSE_LIBPNG" = "yes" ; then
10880 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10882 if test "$wxUSE_ZLIB" = "yes" ; then
10883 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10885 if test "$wxUSE_FREETYPE" = "yes" ; then
10886 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10889 if test "$wxUSE_UNIVERSAL" = "yes"; then
10890 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10892 ALL_DEPFILES
="\$(GUIDEPS)"
10895 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10897 if test "$TOOLKIT" != "MSW"; then
10898 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10901 if test "$wxUSE_HTML" = "yes"; then
10902 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10905 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10906 if test "$wxUSE_UNIVERSAL" = "yes"; then
10907 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10909 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10910 RPM_SPEC
="wx\$(TOOLKIT).spec"
10912 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10913 DISTDIR
="wx\$(TOOLKIT)"
10921 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10922 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10924 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10927 TOOLKIT_DEF
="-D__WXBASE__"
10929 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10930 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10932 if test "x$REGEX_INCLUDE" != "x" ; then
10933 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10936 if test "$wxUSE_ZLIB" = "yes" ; then
10937 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10940 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10942 PORT_FILES
="\${top_srcdir}/src/files.lst"
10943 RPM_FILES
="src/rpmfiles.lst"
10944 RPM_SPEC
="wxBase.spec"
10946 GUIDIST
="BASE_DIST"
10950 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10951 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10953 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10954 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10958 WX_LIBRARY_NAME_SHARED
="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
10961 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10962 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10966 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10967 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10968 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10969 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10970 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10971 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10977 BURNT_LIBRARY_NAME
=
10978 WX_TARGET_LIBRARY_SONAME
=
10981 if test "$wxUSE_SHARED" = "yes"; then
10984 if test "$GCC" = yes ; then
10985 SHARED_LD
="${CXX} -shared -fPIC -o"
10988 LDFLAGS
="-L/usr/lib"
10990 SHARED_LD
="${CXX} -b -o"
10993 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10994 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10995 if test "$wxUSE_OPENGL" = "yes"; then
10996 WX_ALL_INSTALLED
="preinstall_gl"
10997 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10999 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11004 SHARED_LD
="${CXX} -shared -o"
11006 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11007 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11008 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11009 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11011 if test "$wxUSE_OPENGL" = "yes"; then
11012 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11013 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11015 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11016 WX_ALL
="CREATE_LINKS"
11019 *-*-irix5* | *-*-irix6* )
11020 if test "$GCC" = yes ; then
11021 SHARED_LD
="${CXX} -shared -o"
11024 SHARED_LD
="${CXX} -shared -o"
11026 if test "$wxUSE_OPENGL" = "yes"; then
11027 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11028 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11030 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11031 WX_ALL
="CREATE_LINKS"
11035 if test "$GCC" = yes ; then
11036 SHARED_LD
="${CXX} -shared -o"
11039 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11041 SHARED_LD
="${CXX} -G -o"
11044 if test "$wxUSE_OPENGL" = "yes"; then
11045 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11046 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11048 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11049 WX_ALL
="CREATE_LINKS"
11053 SHARED_LD
="${CXX} -shared -o"
11055 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11056 WX_ALL
="CREATE_LINKS"
11058 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11059 SHARED_LD
="${CXX} -shared -o"
11061 if test "$wxUSE_OPENGL" = "yes"; then
11062 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11063 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11065 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11066 WX_ALL
="CREATE_LINKS"
11070 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11071 CFLAGS
="${CFLAGS} -fno-common"
11072 CPPFLAGS
="${CPPFLAGS} -fno-common"
11073 SHARED_LD
="${CXX} -dynamiclib -o"
11074 PIC_FLAG
="-dynamic -fPIC"
11075 if test "$wxUSE_OPENGL" = "yes"; then
11076 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11077 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11079 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11080 WX_ALL
="CREATE_LINKS"
11082 if test "$wxUSE_MAC" = 1 ; then
11083 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11085 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11086 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11087 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11088 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11089 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
11090 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11091 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11092 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
11095 SHARED_LD
="${CXX} -shared -o"
11097 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11098 WX_ALL
="CREATE_LINKS"
11101 SHARED_LD
="${CXX} -shared -o"
11103 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11104 WX_ALL
="CREATE_LINKS"
11107 SHARED_LD
="${CXX} -shared -o"
11109 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11110 WX_ALL
="CREATE_LINKS"
11113 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11114 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
11117 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11118 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11119 if test "$wxUSE_OPENGL" = "yes"; then
11120 WX_ALL_INSTALLED
="preinstall_gl"
11121 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11123 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11127 WX_LIBRARY_NAME_STATIC
="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11128 SHARED_LD
="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11129 TOOLKIT_DEF
="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11130 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11131 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11132 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11133 if test "$wxUSE_OPENGL" = "yes"; then
11134 WX_ALL_INSTALLED
="preinstall_gl"
11135 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11137 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11141 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11142 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11145 SHARED_LD
="${LD} -shared -o"
11147 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11148 WX_ALL
="CREATE_LINKS"
11151 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11154 if test "x$WX_TARGET_LIBRARY" = "x"; then
11155 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11156 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11158 WX_TARGET_LIBRARY_TYPE
="so"
11160 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11161 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11163 if test "$wxUSE_OPENGL" = "yes"; then
11164 WX_ALL_INSTALLED
="preinstall_gl"
11165 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11167 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11170 if test "$wxUSE_GUI" = "no"; then
11171 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11174 WX_TARGET_LIBRARY_TYPE
="a"
11178 for ac_hdr
in strings.h
11180 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11182 echo "configure:11183: checking for $ac_hdr" >&5
11183 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11184 echo $ac_n "(cached) $ac_c" 1>&6
11186 cat > conftest.
$ac_ext <<EOF
11187 #line 11188 "configure"
11188 #include "confdefs.h"
11191 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11192 { (eval echo configure
:11193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11193 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11194 if test -z "$ac_err"; then
11196 eval "ac_cv_header_$ac_safe=yes"
11199 echo "configure: failed program was:" >&5
11200 cat conftest.
$ac_ext >&5
11202 eval "ac_cv_header_$ac_safe=no"
11206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11207 echo "$ac_t""yes" 1>&6
11208 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11209 cat >> confdefs.h
<<EOF
11210 #define $ac_tr_hdr 1
11214 echo "$ac_t""no" 1>&6
11218 for ac_hdr
in stdlib.h
11220 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11221 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11222 echo "configure:11223: checking for $ac_hdr" >&5
11223 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11224 echo $ac_n "(cached) $ac_c" 1>&6
11226 cat > conftest.
$ac_ext <<EOF
11227 #line 11228 "configure"
11228 #include "confdefs.h"
11231 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11232 { (eval echo configure
:11233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11233 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11234 if test -z "$ac_err"; then
11236 eval "ac_cv_header_$ac_safe=yes"
11239 echo "configure: failed program was:" >&5
11240 cat conftest.
$ac_ext >&5
11242 eval "ac_cv_header_$ac_safe=no"
11246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11247 echo "$ac_t""yes" 1>&6
11248 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11249 cat >> confdefs.h
<<EOF
11250 #define $ac_tr_hdr 1
11254 echo "$ac_t""no" 1>&6
11258 for ac_hdr
in unistd.h
11260 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11262 echo "configure:11263: checking for $ac_hdr" >&5
11263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11266 cat > conftest.
$ac_ext <<EOF
11267 #line 11268 "configure"
11268 #include "confdefs.h"
11271 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11272 { (eval echo configure
:11273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11273 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11274 if test -z "$ac_err"; then
11276 eval "ac_cv_header_$ac_safe=yes"
11279 echo "configure: failed program was:" >&5
11280 cat conftest.
$ac_ext >&5
11282 eval "ac_cv_header_$ac_safe=no"
11286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11287 echo "$ac_t""yes" 1>&6
11288 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11289 cat >> confdefs.h
<<EOF
11290 #define $ac_tr_hdr 1
11294 echo "$ac_t""no" 1>&6
11298 for ac_hdr
in wchar.h
11300 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11302 echo "configure:11303: checking for $ac_hdr" >&5
11303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 cat > conftest.
$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11312 { (eval echo configure
:11313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11314 if test -z "$ac_err"; then
11316 eval "ac_cv_header_$ac_safe=yes"
11319 echo "configure: failed program was:" >&5
11320 cat conftest.
$ac_ext >&5
11322 eval "ac_cv_header_$ac_safe=no"
11326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11327 echo "$ac_t""yes" 1>&6
11328 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11329 cat >> confdefs.h
<<EOF
11330 #define $ac_tr_hdr 1
11334 echo "$ac_t""no" 1>&6
11338 for ac_hdr
in wcstr.h
11340 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11341 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11342 echo "configure:11343: checking for $ac_hdr" >&5
11343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11344 echo $ac_n "(cached) $ac_c" 1>&6
11346 cat > conftest.
$ac_ext <<EOF
11347 #line 11348 "configure"
11348 #include "confdefs.h"
11351 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11352 { (eval echo configure
:11353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11353 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11354 if test -z "$ac_err"; then
11356 eval "ac_cv_header_$ac_safe=yes"
11359 echo "configure: failed program was:" >&5
11360 cat conftest.
$ac_ext >&5
11362 eval "ac_cv_header_$ac_safe=no"
11366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11367 echo "$ac_t""yes" 1>&6
11368 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11369 cat >> confdefs.h
<<EOF
11370 #define $ac_tr_hdr 1
11374 echo "$ac_t""no" 1>&6
11378 for ac_hdr
in fnmatch.h
11380 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11382 echo "configure:11383: checking for $ac_hdr" >&5
11383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11386 cat > conftest.
$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11391 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11392 { (eval echo configure
:11393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11393 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11394 if test -z "$ac_err"; then
11396 eval "ac_cv_header_$ac_safe=yes"
11399 echo "configure: failed program was:" >&5
11400 cat conftest.
$ac_ext >&5
11402 eval "ac_cv_header_$ac_safe=no"
11406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11407 echo "$ac_t""yes" 1>&6
11408 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11409 cat >> confdefs.h
<<EOF
11410 #define $ac_tr_hdr 1
11414 echo "$ac_t""no" 1>&6
11418 for ac_hdr
in iconv.h
11420 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11422 echo "configure:11423: checking for $ac_hdr" >&5
11423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11424 echo $ac_n "(cached) $ac_c" 1>&6
11426 cat > conftest.
$ac_ext <<EOF
11427 #line 11428 "configure"
11428 #include "confdefs.h"
11431 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11432 { (eval echo configure
:11433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11433 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11434 if test -z "$ac_err"; then
11436 eval "ac_cv_header_$ac_safe=yes"
11439 echo "configure: failed program was:" >&5
11440 cat conftest.
$ac_ext >&5
11442 eval "ac_cv_header_$ac_safe=no"
11446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11447 echo "$ac_t""yes" 1>&6
11448 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11449 cat >> confdefs.h
<<EOF
11450 #define $ac_tr_hdr 1
11454 echo "$ac_t""no" 1>&6
11458 for ac_hdr
in langinfo.h
11460 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11462 echo "configure:11463: checking for $ac_hdr" >&5
11463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11464 echo $ac_n "(cached) $ac_c" 1>&6
11466 cat > conftest.
$ac_ext <<EOF
11467 #line 11468 "configure"
11468 #include "confdefs.h"
11471 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11472 { (eval echo configure
:11473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11473 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11474 if test -z "$ac_err"; then
11476 eval "ac_cv_header_$ac_safe=yes"
11479 echo "configure: failed program was:" >&5
11480 cat conftest.
$ac_ext >&5
11482 eval "ac_cv_header_$ac_safe=no"
11486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11487 echo "$ac_t""yes" 1>&6
11488 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11489 cat >> confdefs.h
<<EOF
11490 #define $ac_tr_hdr 1
11494 echo "$ac_t""no" 1>&6
11499 if test "$wxUSE_GUI" = "yes"; then
11500 if test "$wxUSE_UNIX" = "yes"; then
11501 for ac_hdr
in X
11/XKBlib.h
11503 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11505 echo "configure:11506: checking for $ac_hdr" >&5
11506 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11509 cat > conftest.
$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11514 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11515 { (eval echo configure
:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11516 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11517 if test -z "$ac_err"; then
11519 eval "ac_cv_header_$ac_safe=yes"
11522 echo "configure: failed program was:" >&5
11523 cat conftest.
$ac_ext >&5
11525 eval "ac_cv_header_$ac_safe=no"
11529 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11530 echo "$ac_t""yes" 1>&6
11531 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11532 cat >> confdefs.h
<<EOF
11533 #define $ac_tr_hdr 1
11537 echo "$ac_t""no" 1>&6
11544 if test "$USE_WIN32" = 1; then
11545 for ac_hdr
in w32api.h
11547 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11549 echo "configure:11550: checking for $ac_hdr" >&5
11550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11551 echo $ac_n "(cached) $ac_c" 1>&6
11553 cat > conftest.
$ac_ext <<EOF
11554 #line 11555 "configure"
11555 #include "confdefs.h"
11558 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11559 { (eval echo configure
:11560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11560 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11561 if test -z "$ac_err"; then
11563 eval "ac_cv_header_$ac_safe=yes"
11566 echo "configure: failed program was:" >&5
11567 cat conftest.
$ac_ext >&5
11569 eval "ac_cv_header_$ac_safe=no"
11573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11574 echo "$ac_t""yes" 1>&6
11575 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11576 cat >> confdefs.h
<<EOF
11577 #define $ac_tr_hdr 1
11581 echo "$ac_t""no" 1>&6
11588 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11589 echo "configure:11590: checking for ANSI C header files" >&5
11590 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11591 echo $ac_n "(cached) $ac_c" 1>&6
11593 cat > conftest.
$ac_ext <<EOF
11594 #line 11595 "configure"
11595 #include "confdefs.h"
11596 #include <stdlib.h>
11597 #include <stdarg.h>
11598 #include <string.h>
11601 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11602 { (eval echo configure
:11603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11603 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11604 if test -z "$ac_err"; then
11606 ac_cv_header_stdc
=yes
11609 echo "configure: failed program was:" >&5
11610 cat conftest.
$ac_ext >&5
11612 ac_cv_header_stdc
=no
11616 if test $ac_cv_header_stdc = yes; then
11617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11618 cat > conftest.
$ac_ext <<EOF
11619 #line 11620 "configure"
11620 #include "confdefs.h"
11621 #include <string.h>
11623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11624 egrep "memchr" >/dev
/null
2>&1; then
11628 ac_cv_header_stdc
=no
11634 if test $ac_cv_header_stdc = yes; then
11635 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11636 cat > conftest.
$ac_ext <<EOF
11637 #line 11638 "configure"
11638 #include "confdefs.h"
11639 #include <stdlib.h>
11641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11642 egrep "free" >/dev
/null
2>&1; then
11646 ac_cv_header_stdc
=no
11652 if test $ac_cv_header_stdc = yes; then
11653 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11654 if test "$cross_compiling" = yes; then
11657 cat > conftest.
$ac_ext <<EOF
11658 #line 11659 "configure"
11659 #include "confdefs.h"
11661 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11662 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11664 int main () { int i; for (i = 0; i < 256; i++)
11665 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11669 if { (eval echo configure
:11670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11673 echo "configure: failed program was:" >&5
11674 cat conftest.
$ac_ext >&5
11676 ac_cv_header_stdc
=no
11684 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11685 if test $ac_cv_header_stdc = yes; then
11686 cat >> confdefs.h
<<\EOF
11687 #define STDC_HEADERS 1
11692 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11693 echo "configure:11694: checking for mode_t" >&5
11694 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11695 echo $ac_n "(cached) $ac_c" 1>&6
11697 cat > conftest.
$ac_ext <<EOF
11698 #line 11699 "configure"
11699 #include "confdefs.h"
11700 #include <sys/types.h>
11702 #include <stdlib.h>
11703 #include <stddef.h>
11706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11707 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11709 ac_cv_type_mode_t
=yes
11712 ac_cv_type_mode_t
=no
11717 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11718 if test $ac_cv_type_mode_t = no
; then
11719 cat >> confdefs.h
<<\EOF
11725 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11726 echo "configure:11727: checking for off_t" >&5
11727 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11728 echo $ac_n "(cached) $ac_c" 1>&6
11730 cat > conftest.
$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11733 #include <sys/types.h>
11735 #include <stdlib.h>
11736 #include <stddef.h>
11739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11740 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11742 ac_cv_type_off_t
=yes
11745 ac_cv_type_off_t
=no
11750 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11751 if test $ac_cv_type_off_t = no
; then
11752 cat >> confdefs.h
<<\EOF
11758 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11759 echo "configure:11760: checking for pid_t" >&5
11760 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11761 echo $ac_n "(cached) $ac_c" 1>&6
11763 cat > conftest.
$ac_ext <<EOF
11764 #line 11765 "configure"
11765 #include "confdefs.h"
11766 #include <sys/types.h>
11768 #include <stdlib.h>
11769 #include <stddef.h>
11772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11773 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11775 ac_cv_type_pid_t
=yes
11778 ac_cv_type_pid_t
=no
11783 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11784 if test $ac_cv_type_pid_t = no
; then
11785 cat >> confdefs.h
<<\EOF
11791 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11792 echo "configure:11793: checking for size_t" >&5
11793 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11796 cat > conftest.
$ac_ext <<EOF
11797 #line 11798 "configure"
11798 #include "confdefs.h"
11799 #include <sys/types.h>
11801 #include <stdlib.h>
11802 #include <stddef.h>
11805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11806 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11808 ac_cv_type_size_t
=yes
11811 ac_cv_type_size_t
=no
11816 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11817 if test $ac_cv_type_size_t = no
; then
11818 cat >> confdefs.h
<<\EOF
11819 #define size_t unsigned
11824 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11825 echo "configure:11826: checking for uid_t in sys/types.h" >&5
11826 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11827 echo $ac_n "(cached) $ac_c" 1>&6
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11832 #include <sys/types.h>
11834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11835 egrep "uid_t" >/dev
/null
2>&1; then
11837 ac_cv_type_uid_t
=yes
11840 ac_cv_type_uid_t
=no
11846 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11847 if test $ac_cv_type_uid_t = no
; then
11848 cat >> confdefs.h
<<\EOF
11852 cat >> confdefs.h
<<\EOF
11859 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11860 echo "configure:11861: checking for wchar_t" >&5
11861 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11862 echo $ac_n "(cached) $ac_c" 1>&6
11865 cat > conftest.
$ac_ext <<EOF
11866 #line 11867 "configure"
11867 #include "confdefs.h"
11873 ws = L"Hello, world!";
11877 if { (eval echo configure
:11878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11879 wx_cv_type_wchar_t
=yes
11881 echo "configure: failed program was:" >&5
11882 cat conftest.
$ac_ext >&5
11884 cat > conftest.
$ac_ext <<EOF
11885 #line 11886 "configure"
11886 #include "confdefs.h"
11887 #include <stdlib.h>
11892 ws = L"Hello, world!";
11896 if { (eval echo configure
:11897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11898 wx_cv_type_wchar_t
=yes
11900 echo "configure: failed program was:" >&5
11901 cat conftest.
$ac_ext >&5
11903 wx_cv_type_wchar_t
=no
11912 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11914 if test "$wx_cv_type_wchar_t" = "yes"; then
11915 cat >> confdefs.h
<<\EOF
11916 #define wxUSE_WCHAR_T 1
11923 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11924 ac_cpp
='$CXXCPP $CPPFLAGS'
11925 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11926 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11927 cross_compiling
=$ac_cv_prog_cxx_cross
11929 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11930 echo "configure:11931: checking if size_t is unsigned int" >&5
11931 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11932 echo $ac_n "(cached) $ac_c" 1>&6
11934 cat > conftest.
$ac_ext <<EOF
11935 #line 11936 "configure"
11936 #include "confdefs.h"
11937 #include <stddef.h>
11942 struct Foo { void foo(size_t); void foo(unsigned int); };
11948 if { (eval echo configure
:11949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11950 wx_cv_size_t_is_uint
=no
11952 echo "configure: failed program was:" >&5
11953 cat conftest.
$ac_ext >&5
11955 wx_cv_size_t_is_uint
=yes
11962 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11964 if test "$wx_cv_size_t_is_uint" = "yes"; then
11965 cat >> confdefs.h
<<\EOF
11966 #define wxSIZE_T_IS_UINT 1
11970 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11971 echo "configure:11972: checking if size_t is unsigned long" >&5
11972 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11973 echo $ac_n "(cached) $ac_c" 1>&6
11975 cat > conftest.
$ac_ext <<EOF
11976 #line 11977 "configure"
11977 #include "confdefs.h"
11978 #include <stddef.h>
11983 struct Foo { void foo(size_t); void foo(unsigned long); };
11989 if { (eval echo configure
:11990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11991 wx_cv_size_t_is_ulong
=no
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 wx_cv_size_t_is_ulong
=yes
12003 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12005 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12006 cat >> confdefs.h
<<\EOF
12007 #define wxSIZE_T_IS_ULONG 1
12014 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12015 ac_cpp
='$CPP $CPPFLAGS'
12016 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12017 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12018 cross_compiling
=$ac_cv_prog_cc_cross
12022 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12023 echo "configure:12024: checking for pw_gecos in struct passwd" >&5
12024 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12025 echo $ac_n "(cached) $ac_c" 1>&6
12028 cat > conftest.
$ac_ext <<EOF
12029 #line 12030 "configure"
12030 #include "confdefs.h"
12040 if { (eval echo configure
:12041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12043 wx_cv_struct_pw_gecos
=yes
12046 echo "configure: failed program was:" >&5
12047 cat conftest.
$ac_ext >&5
12050 wx_cv_struct_pw_gecos
=no
12059 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12061 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12062 cat >> confdefs.h
<<\EOF
12063 #define HAVE_PW_GECOS 1
12069 echo $ac_n "checking for working const""... $ac_c" 1>&6
12070 echo "configure:12071: checking for working const" >&5
12071 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12072 echo $ac_n "(cached) $ac_c" 1>&6
12074 cat > conftest.
$ac_ext <<EOF
12075 #line 12076 "configure"
12076 #include "confdefs.h"
12080 /* Ultrix mips cc rejects this. */
12081 typedef int charset[2]; const charset x;
12082 /* SunOS 4.1.1 cc rejects this. */
12083 char const *const *ccp;
12085 /* NEC SVR4.0.2 mips cc rejects this. */
12086 struct point {int x, y;};
12087 static struct point const zero = {0,0};
12088 /* AIX XL C 1.02.0.0 rejects this.
12089 It does not let you subtract one const X* pointer from another in an arm
12090 of an if-expression whose if-part is not a constant expression */
12091 const char *g = "string";
12092 ccp = &g + (g ? g-g : 0);
12093 /* HPUX 7.0 cc rejects these. */
12096 ccp = (char const *const *) p;
12097 { /* SCO 3.2v4 cc rejects this. */
12099 char const *s = 0 ? (char *) 0 : (char const *) 0;
12103 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12104 int x[] = {25, 17};
12105 const int *foo = &x[0];
12108 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12109 typedef const int *iptr;
12113 { /* AIX XL C 1.02.0.0 rejects this saying
12114 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12115 struct s { int j; const int *ap[3]; };
12116 struct s *b; b->j = 5;
12118 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12119 const int foo = 10;
12124 if { (eval echo configure
:12125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12128 echo "configure: failed program was:" >&5
12129 cat conftest.
$ac_ext >&5
12136 echo "$ac_t""$ac_cv_c_const" 1>&6
12137 if test $ac_cv_c_const = no
; then
12138 cat >> confdefs.h
<<\EOF
12144 echo $ac_n "checking for inline""... $ac_c" 1>&6
12145 echo "configure:12146: checking for inline" >&5
12146 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12147 echo $ac_n "(cached) $ac_c" 1>&6
12150 for ac_kw
in inline __inline__ __inline
; do
12151 cat > conftest.
$ac_ext <<EOF
12152 #line 12153 "configure"
12153 #include "confdefs.h"
12159 if { (eval echo configure
:12160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12161 ac_cv_c_inline
=$ac_kw; break
12163 echo "configure: failed program was:" >&5
12164 cat conftest.
$ac_ext >&5
12171 echo "$ac_t""$ac_cv_c_inline" 1>&6
12172 case "$ac_cv_c_inline" in
12174 no
) cat >> confdefs.h
<<\EOF
12178 *) cat >> confdefs.h
<<EOF
12179 #define inline $ac_cv_c_inline
12185 echo $ac_n "checking size of char""... $ac_c" 1>&6
12186 echo "configure:12187: checking size of char" >&5
12187 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12188 echo $ac_n "(cached) $ac_c" 1>&6
12190 if test "$cross_compiling" = yes; then
12191 ac_cv_sizeof_char
=1
12193 cat > conftest.
$ac_ext <<EOF
12194 #line 12195 "configure"
12195 #include "confdefs.h"
12199 FILE *f=fopen("conftestval", "w");
12201 fprintf(f, "%d\n", sizeof(char));
12205 if { (eval echo configure
:12206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12207 ac_cv_sizeof_char
=`cat conftestval`
12209 echo "configure: failed program was:" >&5
12210 cat conftest.
$ac_ext >&5
12212 ac_cv_sizeof_char
=0
12218 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12219 cat >> confdefs.h
<<EOF
12220 #define SIZEOF_CHAR $ac_cv_sizeof_char
12224 echo $ac_n "checking size of short""... $ac_c" 1>&6
12225 echo "configure:12226: checking size of short" >&5
12226 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12227 echo $ac_n "(cached) $ac_c" 1>&6
12229 if test "$cross_compiling" = yes; then
12230 ac_cv_sizeof_short
=2
12232 cat > conftest.
$ac_ext <<EOF
12233 #line 12234 "configure"
12234 #include "confdefs.h"
12238 FILE *f=fopen("conftestval", "w");
12240 fprintf(f, "%d\n", sizeof(short));
12244 if { (eval echo configure
:12245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12246 ac_cv_sizeof_short
=`cat conftestval`
12248 echo "configure: failed program was:" >&5
12249 cat conftest.
$ac_ext >&5
12251 ac_cv_sizeof_short
=0
12257 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12258 cat >> confdefs.h
<<EOF
12259 #define SIZEOF_SHORT $ac_cv_sizeof_short
12263 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12264 echo "configure:12265: checking size of int *" >&5
12265 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12266 echo $ac_n "(cached) $ac_c" 1>&6
12268 if test "$cross_compiling" = yes; then
12269 ac_cv_sizeof_int_p
=4
12271 cat > conftest.
$ac_ext <<EOF
12272 #line 12273 "configure"
12273 #include "confdefs.h"
12277 FILE *f=fopen("conftestval", "w");
12279 fprintf(f, "%d\n", sizeof(int *));
12283 if { (eval echo configure
:12284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12285 ac_cv_sizeof_int_p
=`cat conftestval`
12287 echo "configure: failed program was:" >&5
12288 cat conftest.
$ac_ext >&5
12290 ac_cv_sizeof_int_p
=0
12296 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12297 cat >> confdefs.h
<<EOF
12298 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12302 echo $ac_n "checking size of int""... $ac_c" 1>&6
12303 echo "configure:12304: checking size of int" >&5
12304 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12305 echo $ac_n "(cached) $ac_c" 1>&6
12307 if test "$cross_compiling" = yes; then
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12316 FILE *f=fopen("conftestval", "w");
12318 fprintf(f, "%d\n", sizeof(int));
12322 if { (eval echo configure
:12323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12324 ac_cv_sizeof_int
=`cat conftestval`
12326 echo "configure: failed program was:" >&5
12327 cat conftest.
$ac_ext >&5
12335 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12336 cat >> confdefs.h
<<EOF
12337 #define SIZEOF_INT $ac_cv_sizeof_int
12341 echo $ac_n "checking size of long""... $ac_c" 1>&6
12342 echo "configure:12343: checking size of long" >&5
12343 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12344 echo $ac_n "(cached) $ac_c" 1>&6
12346 if test "$cross_compiling" = yes; then
12347 ac_cv_sizeof_long
=4
12349 cat > conftest.
$ac_ext <<EOF
12350 #line 12351 "configure"
12351 #include "confdefs.h"
12355 FILE *f=fopen("conftestval", "w");
12357 fprintf(f, "%d\n", sizeof(long));
12361 if { (eval echo configure
:12362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12363 ac_cv_sizeof_long
=`cat conftestval`
12365 echo "configure: failed program was:" >&5
12366 cat conftest.
$ac_ext >&5
12368 ac_cv_sizeof_long
=0
12374 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12375 cat >> confdefs.h
<<EOF
12376 #define SIZEOF_LONG $ac_cv_sizeof_long
12380 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12381 echo "configure:12382: checking size of long long" >&5
12382 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12383 echo $ac_n "(cached) $ac_c" 1>&6
12385 if test "$cross_compiling" = yes; then
12386 ac_cv_sizeof_long_long
=0
12388 cat > conftest.
$ac_ext <<EOF
12389 #line 12390 "configure"
12390 #include "confdefs.h"
12394 FILE *f=fopen("conftestval", "w");
12396 fprintf(f, "%d\n", sizeof(long long));
12400 if { (eval echo configure
:12401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12402 ac_cv_sizeof_long_long
=`cat conftestval`
12404 echo "configure: failed program was:" >&5
12405 cat conftest.
$ac_ext >&5
12407 ac_cv_sizeof_long_long
=0
12413 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12414 cat >> confdefs.h
<<EOF
12415 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12420 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12421 echo "configure:12422: checking size of wchar_t" >&5
12422 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12426 if test "$cross_compiling" = yes; then
12427 wx_cv_sizeof_wchar_t
=4
12430 cat > conftest.
$ac_ext <<EOF
12431 #line 12432 "configure"
12432 #include "confdefs.h"
12434 #ifdef HAVE_WCHAR_H
12435 # include <wchar.h>
12437 #ifdef HAVE_STDLIB_H
12438 # include <stdlib.h>
12443 FILE *f=fopen("conftestval", "w");
12445 fprintf(f, "%i", sizeof(wchar_t));
12450 if { (eval echo configure
:12451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12452 wx_cv_sizeof_wchar_t
=`cat conftestval`
12454 echo "configure: failed program was:" >&5
12455 cat conftest.
$ac_ext >&5
12457 wx_cv_sizeof_wchar_t
=0
12465 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12467 cat >> confdefs.h
<<EOF
12468 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12472 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12473 echo "configure:12474: checking whether byte ordering is bigendian" >&5
12474 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12475 echo $ac_n "(cached) $ac_c" 1>&6
12477 ac_cv_c_bigendian
=unknown
12478 # See if sys/param.h defines the BYTE_ORDER macro.
12479 cat > conftest.
$ac_ext <<EOF
12480 #line 12481 "configure"
12481 #include "confdefs.h"
12482 #include <sys/types.h>
12483 #include <sys/param.h>
12486 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12487 bogus endian macros
12491 if { (eval echo configure
:12492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12493 # It does; now see whether it defined to BIG_ENDIAN or not.
12494 cat > conftest.
$ac_ext <<EOF
12495 #line 12496 "configure"
12496 #include "confdefs.h"
12497 #include <sys/types.h>
12498 #include <sys/param.h>
12501 #if BYTE_ORDER != BIG_ENDIAN
12506 if { (eval echo configure
:12507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12508 ac_cv_c_bigendian
=yes
12510 echo "configure: failed program was:" >&5
12511 cat conftest.
$ac_ext >&5
12513 ac_cv_c_bigendian
=no
12517 echo "configure: failed program was:" >&5
12518 cat conftest.
$ac_ext >&5
12521 if test $ac_cv_c_bigendian = unknown
; then
12522 if test "$cross_compiling" = yes; then
12523 ac_cv_c_bigendian
=unknown
12525 cat > conftest.
$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12529 /* Are we little or big endian? From Harbison&Steele. */
12533 char c[sizeof (long)];
12536 exit (u.c[sizeof (long) - 1] == 1);
12539 if { (eval echo configure
:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12541 ac_cv_c_bigendian
=no
12543 echo "configure: failed program was:" >&5
12544 cat conftest.
$ac_ext >&5
12546 ac_cv_c_bigendian
=yes
12554 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12555 if test $ac_cv_c_bigendian = unknown
; then
12556 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
12558 if test $ac_cv_c_bigendian = yes; then
12559 cat >> confdefs.h
<<\EOF
12560 #define WORDS_BIGENDIAN 1
12567 if test "$cross_compiling" = "yes"; then
12568 cat >> confdefs.h
<<\EOF
12569 #define wxUSE_IOSTREAMH 1
12575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12576 ac_cpp
='$CXXCPP $CPPFLAGS'
12577 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12578 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12579 cross_compiling
=$ac_cv_prog_cxx_cross
12582 for ac_hdr
in iostream
12584 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12586 echo "configure:12587: checking for $ac_hdr" >&5
12587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12588 echo $ac_n "(cached) $ac_c" 1>&6
12590 cat > conftest.
$ac_ext <<EOF
12591 #line 12592 "configure"
12592 #include "confdefs.h"
12595 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12596 { (eval echo configure
:12597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12597 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12598 if test -z "$ac_err"; then
12600 eval "ac_cv_header_$ac_safe=yes"
12603 echo "configure: failed program was:" >&5
12604 cat conftest.
$ac_ext >&5
12606 eval "ac_cv_header_$ac_safe=no"
12610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12611 echo "$ac_t""yes" 1>&6
12612 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12613 cat >> confdefs.h
<<EOF
12614 #define $ac_tr_hdr 1
12618 echo "$ac_t""no" 1>&6
12623 if test "$ac_cv_header_iostream" = "yes" ; then
12626 cat >> confdefs.h
<<\EOF
12627 #define wxUSE_IOSTREAMH 1
12633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12634 ac_cpp
='$CPP $CPPFLAGS'
12635 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12636 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12637 cross_compiling
=$ac_cv_prog_cc_cross
12643 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12644 echo "configure:12645: checking if C++ compiler supports bool" >&5
12645 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12646 echo $ac_n "(cached) $ac_c" 1>&6
12651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12652 ac_cpp
='$CXXCPP $CPPFLAGS'
12653 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12654 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12655 cross_compiling
=$ac_cv_prog_cxx_cross
12658 cat > conftest.
$ac_ext <<EOF
12659 #line 12660 "configure"
12660 #include "confdefs.h"
12671 if { (eval echo configure
:12672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12677 echo "configure: failed program was:" >&5
12678 cat conftest.
$ac_ext >&5
12688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12689 ac_cpp
='$CPP $CPPFLAGS'
12690 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12691 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12692 cross_compiling
=$ac_cv_prog_cc_cross
12697 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12699 if test "$wx_cv_cpp_bool" = "yes"; then
12700 cat >> confdefs.h
<<\EOF
12701 #define HAVE_BOOL 1
12708 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12709 echo "configure:12710: checking for wcslen in -lc" >&5
12710 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12712 echo $ac_n "(cached) $ac_c" 1>&6
12714 ac_save_LIBS
="$LIBS"
12716 cat > conftest.
$ac_ext <<EOF
12717 #line 12718 "configure"
12718 #include "confdefs.h"
12719 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12728 if { (eval echo configure
:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12730 eval "ac_cv_lib_$ac_lib_var=yes"
12732 echo "configure: failed program was:" >&5
12733 cat conftest.
$ac_ext >&5
12735 eval "ac_cv_lib_$ac_lib_var=no"
12738 LIBS
="$ac_save_LIBS"
12741 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12742 echo "$ac_t""yes" 1>&6
12744 cat >> confdefs.h
<<\EOF
12745 #define HAVE_WCSLEN 1
12751 echo "$ac_t""no" 1>&6
12753 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12754 echo "configure:12755: checking for wcslen in -lw" >&5
12755 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12756 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12757 echo $ac_n "(cached) $ac_c" 1>&6
12759 ac_save_LIBS
="$LIBS"
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12764 /* Override any gcc2 internal prototype to avoid an error. */
12765 /* We use char because int might match the return type of a gcc2
12766 builtin and then its argument prototype would still apply. */
12773 if { (eval echo configure
:12774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12775 eval "ac_cv_lib_$ac_lib_var=yes"
12777 echo "configure: failed program was:" >&5
12778 cat conftest.
$ac_ext >&5
12780 eval "ac_cv_lib_$ac_lib_var=no"
12783 LIBS
="$ac_save_LIBS"
12786 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12787 echo "$ac_t""yes" 1>&6
12789 cat >> confdefs.h
<<\EOF
12790 #define HAVE_WCSLEN 1
12796 echo "$ac_t""no" 1>&6
12798 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12799 echo "configure:12800: checking for wcslen in -lmsvcrt" >&5
12800 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12802 echo $ac_n "(cached) $ac_c" 1>&6
12804 ac_save_LIBS
="$LIBS"
12805 LIBS
="-lmsvcrt $LIBS"
12806 cat > conftest.
$ac_ext <<EOF
12807 #line 12808 "configure"
12808 #include "confdefs.h"
12809 /* Override any gcc2 internal prototype to avoid an error. */
12810 /* We use char because int might match the return type of a gcc2
12811 builtin and then its argument prototype would still apply. */
12818 if { (eval echo configure
:12819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12820 eval "ac_cv_lib_$ac_lib_var=yes"
12822 echo "configure: failed program was:" >&5
12823 cat conftest.
$ac_ext >&5
12825 eval "ac_cv_lib_$ac_lib_var=no"
12828 LIBS
="$ac_save_LIBS"
12831 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12834 cat >> confdefs.h
<<\EOF
12835 #define HAVE_WCSLEN 1
12841 echo "$ac_t""no" 1>&6
12851 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12852 echo "configure:12853: checking for vprintf" >&5
12853 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12854 echo $ac_n "(cached) $ac_c" 1>&6
12856 cat > conftest.
$ac_ext <<EOF
12857 #line 12858 "configure"
12858 #include "confdefs.h"
12859 /* System header to define __stub macros and hopefully few prototypes,
12860 which can conflict with char vprintf(); below. */
12861 #include <assert.h>
12862 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12869 /* The GNU C library defines this for functions which it implements
12870 to always fail with ENOSYS. Some functions are actually named
12871 something starting with __ and the normal name is an alias. */
12872 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12880 if { (eval echo configure
:12881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12882 eval "ac_cv_func_vprintf=yes"
12884 echo "configure: failed program was:" >&5
12885 cat conftest.
$ac_ext >&5
12887 eval "ac_cv_func_vprintf=no"
12892 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12893 echo "$ac_t""yes" 1>&6
12894 cat >> confdefs.h
<<\EOF
12895 #define HAVE_VPRINTF 1
12899 echo "$ac_t""no" 1>&6
12902 if test "$ac_cv_func_vprintf" != yes; then
12903 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12904 echo "configure:12905: checking for _doprnt" >&5
12905 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12906 echo $ac_n "(cached) $ac_c" 1>&6
12908 cat > conftest.
$ac_ext <<EOF
12909 #line 12910 "configure"
12910 #include "confdefs.h"
12911 /* System header to define __stub macros and hopefully few prototypes,
12912 which can conflict with char _doprnt(); below. */
12913 #include <assert.h>
12914 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12921 /* The GNU C library defines this for functions which it implements
12922 to always fail with ENOSYS. Some functions are actually named
12923 something starting with __ and the normal name is an alias. */
12924 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12932 if { (eval echo configure
:12933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12934 eval "ac_cv_func__doprnt=yes"
12936 echo "configure: failed program was:" >&5
12937 cat conftest.
$ac_ext >&5
12939 eval "ac_cv_func__doprnt=no"
12944 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12945 echo "$ac_t""yes" 1>&6
12946 cat >> confdefs.h
<<\EOF
12947 #define HAVE_DOPRNT 1
12951 echo "$ac_t""no" 1>&6
12962 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12963 echo "configure:12964: checking for vsnprintf" >&5
12964 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12965 echo $ac_n "(cached) $ac_c" 1>&6
12968 cat > conftest.
$ac_ext <<EOF
12969 #line 12970 "configure"
12970 #include "confdefs.h"
12973 #include <stdarg.h>
12977 int wx_test_vsnprintf(const char *, ...);
12979 wx_test_vsnprintf("%s");
12983 int wx_test_vsnprintf(const char *fmt, ...)
12988 va_start(argp, fmt);
12989 vsnprintf(s, 42, fmt, argp);
12994 if { (eval echo configure
:12995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12997 wx_cv_func_vsnprintf
=yes
13000 echo "configure: failed program was:" >&5
13001 cat conftest.
$ac_ext >&5
13004 cat > conftest.
$ac_ext <<EOF
13005 #line 13006 "configure"
13006 #include "confdefs.h"
13009 #include <stdarg.h>
13013 int wx_test_vsnprintf(const char *, ...);
13015 wx_test_vsnprintf("%s");
13019 int wx_test_vsnprintf(const char *fmt, ...)
13024 va_start(argp, fmt);
13025 _vsnprintf(s, 42, fmt, argp);
13030 if { (eval echo configure
:13031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13033 wx_cv_func_vsnprintf
=yes
13036 echo "configure: failed program was:" >&5
13037 cat conftest.
$ac_ext >&5
13040 wx_cv_func_vsnprintf
=no
13050 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13052 if test "$wx_cv_func_vsnprintf" = yes; then
13053 cat >> confdefs.h
<<\EOF
13054 #define HAVE_VSNPRINTF 1
13058 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13061 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13062 echo "configure:13063: checking for vsscanf" >&5
13063 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13064 echo $ac_n "(cached) $ac_c" 1>&6
13067 cat > conftest.
$ac_ext <<EOF
13068 #line 13069 "configure"
13069 #include "confdefs.h"
13072 #include <stdarg.h>
13076 int wx_test_vsscanf(const char *, ...);
13078 wx_test_vsscanf("%d");
13082 int wx_test_vsscanf(const char *fmt, ...)
13085 va_start(argp, fmt);
13086 vsscanf("42", fmt, argp);
13091 if { (eval echo configure
:13092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13094 wx_cv_func_vsscanf
=yes
13097 echo "configure: failed program was:" >&5
13098 cat conftest.
$ac_ext >&5
13101 wx_cv_func_vsscanf
=no
13108 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13110 if test "$wx_cv_func_vsscanf" = yes; then
13111 cat >> confdefs.h
<<\EOF
13112 #define HAVE_VSSCANF 1
13117 if test "$TOOLKIT" != "MSW"; then
13122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13123 ac_cpp
='$CXXCPP $CPPFLAGS'
13124 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13125 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13126 cross_compiling
=$ac_cv_prog_cxx_cross
13128 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13129 echo "configure:13130: checking if iconv() takes char**" >&5
13130 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13131 echo $ac_n "(cached) $ac_c" 1>&6
13134 cat > conftest.
$ac_ext <<EOF
13135 #line 13136 "configure"
13136 #include "confdefs.h"
13140 char **inbuf, **outbuf;
13142 size_t insz, outsz;
13143 iconv(cd, inbuf, &insz, outbuf, &outsz);
13147 if { (eval echo configure
:13148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13149 wx_cv_iconv_takes_char
=yes
13151 echo "configure: failed program was:" >&5
13152 cat conftest.
$ac_ext >&5
13154 wx_cv_iconv_takes_char
=no
13160 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13163 ac_cpp
='$CPP $CPPFLAGS'
13164 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13165 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13166 cross_compiling
=$ac_cv_prog_cc_cross
13168 if test "$wx_cv_iconv_takes_char" = yes ; then
13169 cat >> confdefs.h
<<\EOF
13170 #define WX_ICONV_TAKES_CHAR 1
13176 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13177 for ac_func
in sigaction
13179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13180 echo "configure:13181: checking for $ac_func" >&5
13181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13182 echo $ac_n "(cached) $ac_c" 1>&6
13184 cat > conftest.
$ac_ext <<EOF
13185 #line 13186 "configure"
13186 #include "confdefs.h"
13187 /* System header to define __stub macros and hopefully few prototypes,
13188 which can conflict with char $ac_func(); below. */
13189 #include <assert.h>
13190 /* Override any gcc2 internal prototype to avoid an error. */
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13208 if { (eval echo configure
:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13210 eval "ac_cv_func_$ac_func=yes"
13212 echo "configure: failed program was:" >&5
13213 cat conftest.
$ac_ext >&5
13215 eval "ac_cv_func_$ac_func=no"
13220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13221 echo "$ac_t""yes" 1>&6
13222 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13223 cat >> confdefs.h
<<EOF
13224 #define $ac_tr_func 1
13228 echo "$ac_t""no" 1>&6
13233 if test "$ac_cv_func_sigaction" = "no"; then
13234 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13235 wxUSE_ON_FATAL_EXCEPTION
=no
13238 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13242 ac_cpp
='$CXXCPP $CPPFLAGS'
13243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13245 cross_compiling
=$ac_cv_prog_cxx_cross
13248 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13249 echo "configure:13250: checking for sa_handler type" >&5
13250 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13251 echo $ac_n "(cached) $ac_c" 1>&6
13254 cat > conftest.
$ac_ext <<EOF
13255 #line 13256 "configure"
13256 #include "confdefs.h"
13257 #include <signal.h>
13260 extern void testSigHandler(int);
13262 struct sigaction sa;
13263 sa.sa_handler = testSigHandler;
13267 if { (eval echo configure
:13268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13270 wx_cv_type_sa_handler
=int
13273 echo "configure: failed program was:" >&5
13274 cat conftest.
$ac_ext >&5
13277 wx_cv_type_sa_handler
=void
13284 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13287 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13288 ac_cpp
='$CPP $CPPFLAGS'
13289 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13290 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13291 cross_compiling
=$ac_cv_prog_cc_cross
13294 cat >> confdefs.h
<<EOF
13295 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13301 for ac_func
in vfork
13303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13304 echo "configure:13305: checking for $ac_func" >&5
13305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13306 echo $ac_n "(cached) $ac_c" 1>&6
13308 cat > conftest.
$ac_ext <<EOF
13309 #line 13310 "configure"
13310 #include "confdefs.h"
13311 /* System header to define __stub macros and hopefully few prototypes,
13312 which can conflict with char $ac_func(); below. */
13313 #include <assert.h>
13314 /* Override any gcc2 internal prototype to avoid an error. */
13315 /* We use char because int might match the return type of a gcc2
13316 builtin and then its argument prototype would still apply. */
13321 /* The GNU C library defines this for functions which it implements
13322 to always fail with ENOSYS. Some functions are actually named
13323 something starting with __ and the normal name is an alias. */
13324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13332 if { (eval echo configure
:13333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13334 eval "ac_cv_func_$ac_func=yes"
13336 echo "configure: failed program was:" >&5
13337 cat conftest.
$ac_ext >&5
13339 eval "ac_cv_func_$ac_func=no"
13344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13345 echo "$ac_t""yes" 1>&6
13346 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13347 cat >> confdefs.h
<<EOF
13348 #define $ac_tr_func 1
13352 echo "$ac_t""no" 1>&6
13357 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13358 for ac_func
in fcntl flock
13360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13361 echo "configure:13362: checking for $ac_func" >&5
13362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13363 echo $ac_n "(cached) $ac_c" 1>&6
13365 cat > conftest.
$ac_ext <<EOF
13366 #line 13367 "configure"
13367 #include "confdefs.h"
13368 /* System header to define __stub macros and hopefully few prototypes,
13369 which can conflict with char $ac_func(); below. */
13370 #include <assert.h>
13371 /* Override any gcc2 internal prototype to avoid an error. */
13372 /* We use char because int might match the return type of a gcc2
13373 builtin and then its argument prototype would still apply. */
13378 /* The GNU C library defines this for functions which it implements
13379 to always fail with ENOSYS. Some functions are actually named
13380 something starting with __ and the normal name is an alias. */
13381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13389 if { (eval echo configure
:13390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13391 eval "ac_cv_func_$ac_func=yes"
13393 echo "configure: failed program was:" >&5
13394 cat conftest.
$ac_ext >&5
13396 eval "ac_cv_func_$ac_func=no"
13401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13402 echo "$ac_t""yes" 1>&6
13403 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13404 cat >> confdefs.h
<<EOF
13405 #define $ac_tr_func 1
13409 echo "$ac_t""no" 1>&6
13414 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13415 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13416 wxUSE_SNGLINST_CHECKER
=no
13420 for ac_func
in timegm
13422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13423 echo "configure:13424: checking for $ac_func" >&5
13424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13425 echo $ac_n "(cached) $ac_c" 1>&6
13427 cat > conftest.
$ac_ext <<EOF
13428 #line 13429 "configure"
13429 #include "confdefs.h"
13430 /* System header to define __stub macros and hopefully few prototypes,
13431 which can conflict with char $ac_func(); below. */
13432 #include <assert.h>
13433 /* Override any gcc2 internal prototype to avoid an error. */
13434 /* We use char because int might match the return type of a gcc2
13435 builtin and then its argument prototype would still apply. */
13440 /* The GNU C library defines this for functions which it implements
13441 to always fail with ENOSYS. Some functions are actually named
13442 something starting with __ and the normal name is an alias. */
13443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13451 if { (eval echo configure
:13452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13453 eval "ac_cv_func_$ac_func=yes"
13455 echo "configure: failed program was:" >&5
13456 cat conftest.
$ac_ext >&5
13458 eval "ac_cv_func_$ac_func=no"
13463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13464 echo "$ac_t""yes" 1>&6
13465 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13466 cat >> confdefs.h
<<EOF
13467 #define $ac_tr_func 1
13471 echo "$ac_t""no" 1>&6
13476 for ac_func
in putenv setenv
13478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13479 echo "configure:13480: checking for $ac_func" >&5
13480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13481 echo $ac_n "(cached) $ac_c" 1>&6
13483 cat > conftest.
$ac_ext <<EOF
13484 #line 13485 "configure"
13485 #include "confdefs.h"
13486 /* System header to define __stub macros and hopefully few prototypes,
13487 which can conflict with char $ac_func(); below. */
13488 #include <assert.h>
13489 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13496 /* The GNU C library defines this for functions which it implements
13497 to always fail with ENOSYS. Some functions are actually named
13498 something starting with __ and the normal name is an alias. */
13499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13507 if { (eval echo configure
:13508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13509 eval "ac_cv_func_$ac_func=yes"
13511 echo "configure: failed program was:" >&5
13512 cat conftest.
$ac_ext >&5
13514 eval "ac_cv_func_$ac_func=no"
13519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13520 echo "$ac_t""yes" 1>&6
13521 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13522 cat >> confdefs.h
<<EOF
13523 #define $ac_tr_func 1
13527 echo "$ac_t""no" 1>&6
13532 HAVE_SOME_SLEEP_FUNC
=0
13533 if test "$USE_BEOS" = 1; then
13534 cat >> confdefs.h
<<\EOF
13535 #define HAVE_SLEEP 1
13538 HAVE_SOME_SLEEP_FUNC
=1
13541 if test "$USE_DARWIN" = 1; then
13542 cat >> confdefs.h
<<\EOF
13543 #define HAVE_USLEEP 1
13546 HAVE_SOME_SLEEP_FUNC
=1
13549 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13551 for ac_func
in nanosleep
13553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13554 echo "configure:13555: checking for $ac_func" >&5
13555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13556 echo $ac_n "(cached) $ac_c" 1>&6
13558 cat > conftest.
$ac_ext <<EOF
13559 #line 13560 "configure"
13560 #include "confdefs.h"
13561 /* System header to define __stub macros and hopefully few prototypes,
13562 which can conflict with char $ac_func(); below. */
13563 #include <assert.h>
13564 /* Override any gcc2 internal prototype to avoid an error. */
13565 /* We use char because int might match the return type of a gcc2
13566 builtin and then its argument prototype would still apply. */
13571 /* The GNU C library defines this for functions which it implements
13572 to always fail with ENOSYS. Some functions are actually named
13573 something starting with __ and the normal name is an alias. */
13574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13582 if { (eval echo configure
:13583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13584 eval "ac_cv_func_$ac_func=yes"
13586 echo "configure: failed program was:" >&5
13587 cat conftest.
$ac_ext >&5
13589 eval "ac_cv_func_$ac_func=no"
13594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13595 echo "$ac_t""yes" 1>&6
13596 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13597 cat >> confdefs.h
<<EOF
13598 #define $ac_tr_func 1
13600 cat >> confdefs.h
<<\EOF
13601 #define HAVE_NANOSLEEP 1
13605 echo "$ac_t""no" 1>&6
13606 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13607 echo "configure:13608: checking for nanosleep in -lposix4" >&5
13608 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13609 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13610 echo $ac_n "(cached) $ac_c" 1>&6
13612 ac_save_LIBS
="$LIBS"
13613 LIBS
="-lposix4 $LIBS"
13614 cat > conftest.
$ac_ext <<EOF
13615 #line 13616 "configure"
13616 #include "confdefs.h"
13617 /* Override any gcc2 internal prototype to avoid an error. */
13618 /* We use char because int might match the return type of a gcc2
13619 builtin and then its argument prototype would still apply. */
13626 if { (eval echo configure
:13627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13628 eval "ac_cv_lib_$ac_lib_var=yes"
13630 echo "configure: failed program was:" >&5
13631 cat conftest.
$ac_ext >&5
13633 eval "ac_cv_lib_$ac_lib_var=no"
13636 LIBS
="$ac_save_LIBS"
13639 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13640 echo "$ac_t""yes" 1>&6
13642 cat >> confdefs.h
<<\EOF
13643 #define HAVE_NANOSLEEP 1
13646 POSIX4_LINK
="-lposix4"
13649 echo "$ac_t""no" 1>&6
13651 for ac_func
in usleep
13653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13654 echo "configure:13655: checking for $ac_func" >&5
13655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13656 echo $ac_n "(cached) $ac_c" 1>&6
13658 cat > conftest.
$ac_ext <<EOF
13659 #line 13660 "configure"
13660 #include "confdefs.h"
13661 /* System header to define __stub macros and hopefully few prototypes,
13662 which can conflict with char $ac_func(); below. */
13663 #include <assert.h>
13664 /* Override any gcc2 internal prototype to avoid an error. */
13665 /* We use char because int might match the return type of a gcc2
13666 builtin and then its argument prototype would still apply. */
13671 /* The GNU C library defines this for functions which it implements
13672 to always fail with ENOSYS. Some functions are actually named
13673 something starting with __ and the normal name is an alias. */
13674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13682 if { (eval echo configure
:13683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13684 eval "ac_cv_func_$ac_func=yes"
13686 echo "configure: failed program was:" >&5
13687 cat conftest.
$ac_ext >&5
13689 eval "ac_cv_func_$ac_func=no"
13694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13695 echo "$ac_t""yes" 1>&6
13696 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13697 cat >> confdefs.h
<<EOF
13698 #define $ac_tr_func 1
13700 cat >> confdefs.h
<<\EOF
13701 #define HAVE_USLEEP 1
13705 echo "$ac_t""no" 1>&6
13706 echo "configure: warning: wxSleep() function will not work" 1>&2
13722 for ac_func
in uname gethostname
13724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13725 echo "configure:13726: checking for $ac_func" >&5
13726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13727 echo $ac_n "(cached) $ac_c" 1>&6
13729 cat > conftest.
$ac_ext <<EOF
13730 #line 13731 "configure"
13731 #include "confdefs.h"
13732 /* System header to define __stub macros and hopefully few prototypes,
13733 which can conflict with char $ac_func(); below. */
13734 #include <assert.h>
13735 /* Override any gcc2 internal prototype to avoid an error. */
13736 /* We use char because int might match the return type of a gcc2
13737 builtin and then its argument prototype would still apply. */
13742 /* The GNU C library defines this for functions which it implements
13743 to always fail with ENOSYS. Some functions are actually named
13744 something starting with __ and the normal name is an alias. */
13745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13753 if { (eval echo configure
:13754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13755 eval "ac_cv_func_$ac_func=yes"
13757 echo "configure: failed program was:" >&5
13758 cat conftest.
$ac_ext >&5
13760 eval "ac_cv_func_$ac_func=no"
13765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13766 echo "$ac_t""yes" 1>&6
13767 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13768 cat >> confdefs.h
<<EOF
13769 #define $ac_tr_func 1
13773 echo "$ac_t""no" 1>&6
13780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13781 ac_cpp
='$CXXCPP $CPPFLAGS'
13782 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13783 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13784 cross_compiling
=$ac_cv_prog_cxx_cross
13787 for ac_func
in strtok_r
13789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13790 echo "configure:13791: checking for $ac_func" >&5
13791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13794 cat > conftest.
$ac_ext <<EOF
13795 #line 13796 "configure"
13796 #include "confdefs.h"
13797 /* System header to define __stub macros and hopefully few prototypes,
13798 which can conflict with char $ac_func(); below. */
13799 #include <assert.h>
13800 /* Override any gcc2 internal prototype to avoid an error. */
13804 /* We use char because int might match the return type of a gcc2
13805 builtin and then its argument prototype would still apply. */
13810 /* The GNU C library defines this for functions which it implements
13811 to always fail with ENOSYS. Some functions are actually named
13812 something starting with __ and the normal name is an alias. */
13813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13821 if { (eval echo configure
:13822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13823 eval "ac_cv_func_$ac_func=yes"
13825 echo "configure: failed program was:" >&5
13826 cat conftest.
$ac_ext >&5
13828 eval "ac_cv_func_$ac_func=no"
13833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13834 echo "$ac_t""yes" 1>&6
13835 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13836 cat >> confdefs.h
<<EOF
13837 #define $ac_tr_func 1
13841 echo "$ac_t""no" 1>&6
13847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13848 ac_cpp
='$CPP $CPPFLAGS'
13849 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13850 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13851 cross_compiling
=$ac_cv_prog_cc_cross
13855 for ac_func
in inet_addr
13857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13858 echo "configure:13859: checking for $ac_func" >&5
13859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13860 echo $ac_n "(cached) $ac_c" 1>&6
13862 cat > conftest.
$ac_ext <<EOF
13863 #line 13864 "configure"
13864 #include "confdefs.h"
13865 /* System header to define __stub macros and hopefully few prototypes,
13866 which can conflict with char $ac_func(); below. */
13867 #include <assert.h>
13868 /* Override any gcc2 internal prototype to avoid an error. */
13869 /* We use char because int might match the return type of a gcc2
13870 builtin and then its argument prototype would still apply. */
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13886 if { (eval echo configure
:13887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13888 eval "ac_cv_func_$ac_func=yes"
13890 echo "configure: failed program was:" >&5
13891 cat conftest.
$ac_ext >&5
13893 eval "ac_cv_func_$ac_func=no"
13898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13899 echo "$ac_t""yes" 1>&6
13900 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13901 cat >> confdefs.h
<<EOF
13902 #define $ac_tr_func 1
13904 cat >> confdefs.h
<<\EOF
13905 #define HAVE_INET_ADDR 1
13909 echo "$ac_t""no" 1>&6
13910 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13911 echo "configure:13912: checking for inet_addr in -lnsl" >&5
13912 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13914 echo $ac_n "(cached) $ac_c" 1>&6
13916 ac_save_LIBS
="$LIBS"
13918 cat > conftest.
$ac_ext <<EOF
13919 #line 13920 "configure"
13920 #include "confdefs.h"
13921 /* Override any gcc2 internal prototype to avoid an error. */
13922 /* We use char because int might match the return type of a gcc2
13923 builtin and then its argument prototype would still apply. */
13930 if { (eval echo configure
:13931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13932 eval "ac_cv_lib_$ac_lib_var=yes"
13934 echo "configure: failed program was:" >&5
13935 cat conftest.
$ac_ext >&5
13937 eval "ac_cv_lib_$ac_lib_var=no"
13940 LIBS
="$ac_save_LIBS"
13943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13944 echo "$ac_t""yes" 1>&6
13947 echo "$ac_t""no" 1>&6
13948 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13949 echo "configure:13950: checking for inet_addr in -lresolv" >&5
13950 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13951 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13952 echo $ac_n "(cached) $ac_c" 1>&6
13954 ac_save_LIBS
="$LIBS"
13955 LIBS
="-lresolv $LIBS"
13956 cat > conftest.
$ac_ext <<EOF
13957 #line 13958 "configure"
13958 #include "confdefs.h"
13959 /* Override any gcc2 internal prototype to avoid an error. */
13960 /* We use char because int might match the return type of a gcc2
13961 builtin and then its argument prototype would still apply. */
13968 if { (eval echo configure
:13969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13970 eval "ac_cv_lib_$ac_lib_var=yes"
13972 echo "configure: failed program was:" >&5
13973 cat conftest.
$ac_ext >&5
13975 eval "ac_cv_lib_$ac_lib_var=no"
13978 LIBS
="$ac_save_LIBS"
13981 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13982 echo "$ac_t""yes" 1>&6
13986 echo "$ac_t""no" 1>&6
13998 for ac_func
in inet_aton
14000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14001 echo "configure:14002: checking for $ac_func" >&5
14002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14003 echo $ac_n "(cached) $ac_c" 1>&6
14005 cat > conftest.
$ac_ext <<EOF
14006 #line 14007 "configure"
14007 #include "confdefs.h"
14008 /* System header to define __stub macros and hopefully few prototypes,
14009 which can conflict with char $ac_func(); below. */
14010 #include <assert.h>
14011 /* Override any gcc2 internal prototype to avoid an error. */
14012 /* We use char because int might match the return type of a gcc2
14013 builtin and then its argument prototype would still apply. */
14018 /* The GNU C library defines this for functions which it implements
14019 to always fail with ENOSYS. Some functions are actually named
14020 something starting with __ and the normal name is an alias. */
14021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14029 if { (eval echo configure
:14030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14031 eval "ac_cv_func_$ac_func=yes"
14033 echo "configure: failed program was:" >&5
14034 cat conftest.
$ac_ext >&5
14036 eval "ac_cv_func_$ac_func=no"
14041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14044 cat >> confdefs.h
<<EOF
14045 #define $ac_tr_func 1
14047 cat >> confdefs.h
<<\EOF
14048 #define HAVE_INET_ATON 1
14052 echo "$ac_t""no" 1>&6
14053 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14054 echo "configure:14055: checking for inet_aton in -l$INET_LINK" >&5
14055 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14057 echo $ac_n "(cached) $ac_c" 1>&6
14059 ac_save_LIBS
="$LIBS"
14060 LIBS
="-l$INET_LINK $LIBS"
14061 cat > conftest.
$ac_ext <<EOF
14062 #line 14063 "configure"
14063 #include "confdefs.h"
14064 /* Override any gcc2 internal prototype to avoid an error. */
14065 /* We use char because int might match the return type of a gcc2
14066 builtin and then its argument prototype would still apply. */
14073 if { (eval echo configure
:14074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14075 eval "ac_cv_lib_$ac_lib_var=yes"
14077 echo "configure: failed program was:" >&5
14078 cat conftest.
$ac_ext >&5
14080 eval "ac_cv_lib_$ac_lib_var=no"
14083 LIBS
="$ac_save_LIBS"
14086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14087 echo "$ac_t""yes" 1>&6
14088 cat >> confdefs.h
<<\EOF
14089 #define HAVE_INET_ATON 1
14093 echo "$ac_t""no" 1>&6
14101 if test "x$INET_LINK" != "x"; then
14102 cat >> confdefs.h
<<\EOF
14103 #define HAVE_INET_ADDR 1
14106 INET_LINK
="-l$INET_LINK"
14112 cat > confcache
<<\EOF
14113 # This file is a shell script that caches the results of configure
14114 # tests run on this system so they can be shared between configure
14115 # scripts and configure runs. It is not useful on other systems.
14116 # If it contains results you don't want to keep, you may remove or edit it.
14118 # By default, configure uses ./config.cache as the cache file,
14119 # creating it if it does not exist already. You can give configure
14120 # the --cache-file=FILE option to use a different cache file; that is
14121 # what configure does when it calls configure scripts in
14122 # subdirectories, so they share the cache.
14123 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14124 # config.status only pays attention to the cache file if you give it the
14125 # --recheck option to rerun configure.
14128 # The following way of writing the cache mishandles newlines in values,
14129 # but we know of no workaround that is simple, portable, and efficient.
14130 # So, don't put newlines in cache variables' values.
14131 # Ultrix sh set writes to stderr and can't be redirected directly,
14132 # and sets the high bit in the cache file unless we assign to the vars.
14134 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14136 # `set' does not quote correctly, so add quotes (double-quote substitution
14137 # turns \\\\ into \\, and sed turns \\ into \).
14139 -e "s/'/'\\\\''/g" \
14140 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14143 # `set' quotes correctly as required by POSIX, so do not add quotes.
14144 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14147 if cmp -s $cache_file confcache
; then
14150 if test -w $cache_file; then
14151 echo "updating cache $cache_file"
14152 cat confcache
> $cache_file
14154 echo "not updating unwritable cache $cache_file"
14161 if test "$TOOLKIT" != "MSW"; then
14167 if test "$wxUSE_THREADS" = "yes" ; then
14168 if test "$wxUSE_WINE" = 1 ; then
14169 echo "configure: warning: Threads are not supported under WINE" 1>&2
14171 elif test "$USE_BEOS" = 1; then
14172 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14177 if test "$wxUSE_THREADS" = "yes" ; then
14179 if test "$USE_AIX" = 1; then
14180 THREADS_LIB
=pthreads
14182 THREADS_LIB
=pthread
14185 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14186 echo "configure:14187: checking for pthread_create in -l$THREADS_LIB" >&5
14187 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14189 echo $ac_n "(cached) $ac_c" 1>&6
14191 ac_save_LIBS
="$LIBS"
14192 LIBS
="-l$THREADS_LIB $LIBS"
14193 cat > conftest.
$ac_ext <<EOF
14194 #line 14195 "configure"
14195 #include "confdefs.h"
14196 /* Override any gcc2 internal prototype to avoid an error. */
14197 /* We use char because int might match the return type of a gcc2
14198 builtin and then its argument prototype would still apply. */
14199 char pthread_create();
14205 if { (eval echo configure
:14206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14207 eval "ac_cv_lib_$ac_lib_var=yes"
14209 echo "configure: failed program was:" >&5
14210 cat conftest.
$ac_ext >&5
14212 eval "ac_cv_lib_$ac_lib_var=no"
14215 LIBS
="$ac_save_LIBS"
14218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14219 echo "$ac_t""yes" 1>&6
14221 THREADS_OBJ
="threadpsx.lo"
14222 THREADS_LINK
=$THREADS_LIB
14225 echo "$ac_t""no" 1>&6
14227 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14228 echo "configure:14229: checking for pthread_create in -lc_r" >&5
14229 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14230 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14231 echo $ac_n "(cached) $ac_c" 1>&6
14233 ac_save_LIBS
="$LIBS"
14235 cat > conftest.
$ac_ext <<EOF
14236 #line 14237 "configure"
14237 #include "confdefs.h"
14238 /* Override any gcc2 internal prototype to avoid an error. */
14239 /* We use char because int might match the return type of a gcc2
14240 builtin and then its argument prototype would still apply. */
14241 char pthread_create();
14247 if { (eval echo configure
:14248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14249 eval "ac_cv_lib_$ac_lib_var=yes"
14251 echo "configure: failed program was:" >&5
14252 cat conftest.
$ac_ext >&5
14254 eval "ac_cv_lib_$ac_lib_var=no"
14257 LIBS
="$ac_save_LIBS"
14260 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14261 echo "$ac_t""yes" 1>&6
14263 THREADS_OBJ
="threadpsx.lo"
14267 echo "$ac_t""no" 1>&6
14269 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14270 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14271 echo "configure:14272: checking for sys/prctl.h" >&5
14272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14273 echo $ac_n "(cached) $ac_c" 1>&6
14275 cat > conftest.
$ac_ext <<EOF
14276 #line 14277 "configure"
14277 #include "confdefs.h"
14278 #include <sys/prctl.h>
14280 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14281 { (eval echo configure
:14282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14282 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14283 if test -z "$ac_err"; then
14285 eval "ac_cv_header_$ac_safe=yes"
14288 echo "configure: failed program was:" >&5
14289 cat conftest.
$ac_ext >&5
14291 eval "ac_cv_header_$ac_safe=no"
14295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14296 echo "$ac_t""yes" 1>&6
14298 THREADS_OBJ
="threadsgi.lo"
14301 echo "$ac_t""no" 1>&6
14311 if test -z "$THREADS_OBJ" ; then
14313 echo "configure: warning: No thread support on this system" 1>&2
14317 if test "$wxUSE_THREADS" = "yes" ; then
14318 for ac_func
in thr_setconcurrency
14320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14321 echo "configure:14322: checking for $ac_func" >&5
14322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14325 cat > conftest.
$ac_ext <<EOF
14326 #line 14327 "configure"
14327 #include "confdefs.h"
14328 /* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char $ac_func(); below. */
14330 #include <assert.h>
14331 /* Override any gcc2 internal prototype to avoid an error. */
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14349 if { (eval echo configure
:14350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14351 eval "ac_cv_func_$ac_func=yes"
14353 echo "configure: failed program was:" >&5
14354 cat conftest.
$ac_ext >&5
14356 eval "ac_cv_func_$ac_func=no"
14361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14362 echo "$ac_t""yes" 1>&6
14363 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14364 cat >> confdefs.h
<<EOF
14365 #define $ac_tr_func 1
14369 echo "$ac_t""no" 1>&6
14375 for ac_hdr
in sched.h
14377 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14378 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14379 echo "configure:14380: checking for $ac_hdr" >&5
14380 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14381 echo $ac_n "(cached) $ac_c" 1>&6
14383 cat > conftest.
$ac_ext <<EOF
14384 #line 14385 "configure"
14385 #include "confdefs.h"
14388 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14389 { (eval echo configure
:14390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14390 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14391 if test -z "$ac_err"; then
14393 eval "ac_cv_header_$ac_safe=yes"
14396 echo "configure: failed program was:" >&5
14397 cat conftest.
$ac_ext >&5
14399 eval "ac_cv_header_$ac_safe=no"
14403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14404 echo "$ac_t""yes" 1>&6
14405 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14406 cat >> confdefs.h
<<EOF
14407 #define $ac_tr_hdr 1
14411 echo "$ac_t""no" 1>&6
14416 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14417 echo "configure:14418: checking for sched_yield in -l$THREADS_LINK" >&5
14418 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14420 echo $ac_n "(cached) $ac_c" 1>&6
14422 ac_save_LIBS
="$LIBS"
14423 LIBS
="-l$THREADS_LINK $LIBS"
14424 cat > conftest.
$ac_ext <<EOF
14425 #line 14426 "configure"
14426 #include "confdefs.h"
14427 /* Override any gcc2 internal prototype to avoid an error. */
14428 /* We use char because int might match the return type of a gcc2
14429 builtin and then its argument prototype would still apply. */
14430 char sched_yield();
14436 if { (eval echo configure
:14437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14438 eval "ac_cv_lib_$ac_lib_var=yes"
14440 echo "configure: failed program was:" >&5
14441 cat conftest.
$ac_ext >&5
14443 eval "ac_cv_lib_$ac_lib_var=no"
14446 LIBS
="$ac_save_LIBS"
14449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14450 echo "$ac_t""yes" 1>&6
14451 cat >> confdefs.h
<<\EOF
14452 #define HAVE_SCHED_YIELD 1
14456 echo "$ac_t""no" 1>&6
14457 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14458 echo "configure:14459: checking for sched_yield in -lposix4" >&5
14459 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14461 echo $ac_n "(cached) $ac_c" 1>&6
14463 ac_save_LIBS
="$LIBS"
14464 LIBS
="-lposix4 $LIBS"
14465 cat > conftest.
$ac_ext <<EOF
14466 #line 14467 "configure"
14467 #include "confdefs.h"
14468 /* Override any gcc2 internal prototype to avoid an error. */
14469 /* We use char because int might match the return type of a gcc2
14470 builtin and then its argument prototype would still apply. */
14471 char sched_yield();
14477 if { (eval echo configure
:14478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14479 eval "ac_cv_lib_$ac_lib_var=yes"
14481 echo "configure: failed program was:" >&5
14482 cat conftest.
$ac_ext >&5
14484 eval "ac_cv_lib_$ac_lib_var=no"
14487 LIBS
="$ac_save_LIBS"
14490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14491 echo "$ac_t""yes" 1>&6
14492 cat >> confdefs.h
<<\EOF
14493 #define HAVE_SCHED_YIELD 1
14495 POSIX4_LINK
="-lposix4"
14497 echo "$ac_t""no" 1>&6
14498 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14507 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14508 echo "configure:14509: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14509 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14513 ac_save_LIBS
="$LIBS"
14514 LIBS
="-l$THREADS_LINK $LIBS"
14515 cat > conftest.
$ac_ext <<EOF
14516 #line 14517 "configure"
14517 #include "confdefs.h"
14518 /* Override any gcc2 internal prototype to avoid an error. */
14519 /* We use char because int might match the return type of a gcc2
14520 builtin and then its argument prototype would still apply. */
14521 char pthread_attr_getschedpolicy();
14524 pthread_attr_getschedpolicy()
14527 if { (eval echo configure
:14528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14529 eval "ac_cv_lib_$ac_lib_var=yes"
14531 echo "configure: failed program was:" >&5
14532 cat conftest.
$ac_ext >&5
14534 eval "ac_cv_lib_$ac_lib_var=no"
14537 LIBS
="$ac_save_LIBS"
14540 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14541 echo "$ac_t""yes" 1>&6
14542 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14543 echo "configure:14544: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14544 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14546 echo $ac_n "(cached) $ac_c" 1>&6
14548 ac_save_LIBS
="$LIBS"
14549 LIBS
="-l$THREADS_LINK $LIBS"
14550 cat > conftest.
$ac_ext <<EOF
14551 #line 14552 "configure"
14552 #include "confdefs.h"
14553 /* Override any gcc2 internal prototype to avoid an error. */
14554 /* We use char because int might match the return type of a gcc2
14555 builtin and then its argument prototype would still apply. */
14556 char pthread_attr_setschedparam();
14559 pthread_attr_setschedparam()
14562 if { (eval echo configure
:14563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14564 eval "ac_cv_lib_$ac_lib_var=yes"
14566 echo "configure: failed program was:" >&5
14567 cat conftest.
$ac_ext >&5
14569 eval "ac_cv_lib_$ac_lib_var=no"
14572 LIBS
="$ac_save_LIBS"
14575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14576 echo "$ac_t""yes" 1>&6
14577 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14578 echo "configure:14579: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14579 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14583 ac_save_LIBS
="$LIBS"
14584 LIBS
="-l$THREADS_LINK $LIBS"
14585 cat > conftest.
$ac_ext <<EOF
14586 #line 14587 "configure"
14587 #include "confdefs.h"
14588 /* Override any gcc2 internal prototype to avoid an error. */
14589 /* We use char because int might match the return type of a gcc2
14590 builtin and then its argument prototype would still apply. */
14591 char sched_get_priority_max();
14594 sched_get_priority_max()
14597 if { (eval echo configure
:14598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14599 eval "ac_cv_lib_$ac_lib_var=yes"
14601 echo "configure: failed program was:" >&5
14602 cat conftest.
$ac_ext >&5
14604 eval "ac_cv_lib_$ac_lib_var=no"
14607 LIBS
="$ac_save_LIBS"
14610 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14611 echo "$ac_t""yes" 1>&6
14614 echo "$ac_t""no" 1>&6
14615 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14616 echo "configure:14617: checking for sched_get_priority_max in -lposix4" >&5
14617 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14619 echo $ac_n "(cached) $ac_c" 1>&6
14621 ac_save_LIBS
="$LIBS"
14622 LIBS
="-lposix4 $LIBS"
14623 cat > conftest.
$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14626 /* Override any gcc2 internal prototype to avoid an error. */
14627 /* We use char because int might match the return type of a gcc2
14628 builtin and then its argument prototype would still apply. */
14629 char sched_get_priority_max();
14632 sched_get_priority_max()
14635 if { (eval echo configure
:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14637 eval "ac_cv_lib_$ac_lib_var=yes"
14639 echo "configure: failed program was:" >&5
14640 cat conftest.
$ac_ext >&5
14642 eval "ac_cv_lib_$ac_lib_var=no"
14645 LIBS
="$ac_save_LIBS"
14648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14649 echo "$ac_t""yes" 1>&6
14652 POSIX4_LINK
="-lposix4"
14655 echo "$ac_t""no" 1>&6
14663 echo "$ac_t""no" 1>&6
14668 echo "$ac_t""no" 1>&6
14672 if test "$HAVE_PRIOR_FUNCS" = 1; then
14673 cat >> confdefs.h
<<\EOF
14674 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14678 echo "configure: warning: Setting thread priority will not work" 1>&2
14681 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14682 echo "configure:14683: checking for pthread_cancel in -l$THREADS_LINK" >&5
14683 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14685 echo $ac_n "(cached) $ac_c" 1>&6
14687 ac_save_LIBS
="$LIBS"
14688 LIBS
="-l$THREADS_LINK $LIBS"
14689 cat > conftest.
$ac_ext <<EOF
14690 #line 14691 "configure"
14691 #include "confdefs.h"
14692 /* Override any gcc2 internal prototype to avoid an error. */
14693 /* We use char because int might match the return type of a gcc2
14694 builtin and then its argument prototype would still apply. */
14695 char pthread_cancel();
14701 if { (eval echo configure
:14702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14703 eval "ac_cv_lib_$ac_lib_var=yes"
14705 echo "configure: failed program was:" >&5
14706 cat conftest.
$ac_ext >&5
14708 eval "ac_cv_lib_$ac_lib_var=no"
14711 LIBS
="$ac_save_LIBS"
14714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14715 echo "$ac_t""yes" 1>&6
14716 cat >> confdefs.h
<<\EOF
14717 #define HAVE_PTHREAD_CANCEL 1
14721 echo "$ac_t""no" 1>&6
14722 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14726 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14727 echo "configure:14728: checking for pthread_cleanup_push/pop" >&5
14728 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14729 echo $ac_n "(cached) $ac_c" 1>&6
14732 cat > conftest.
$ac_ext <<EOF
14733 #line 14734 "configure"
14734 #include "confdefs.h"
14735 #include <pthread.h>
14738 pthread_cleanup_push(NULL, NULL);
14739 pthread_cleanup_pop(0);
14743 if { (eval echo configure
:14744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14746 wx_cv_func_pthread_cleanup_push
=yes
14749 echo "configure: failed program was:" >&5
14750 cat conftest.
$ac_ext >&5
14753 wx_cv_func_pthread_cleanup_push
=no
14760 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14762 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14763 cat >> confdefs.h
<<\EOF
14764 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14770 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14771 echo "configure:14772: checking for pthread_mutexattr_t" >&5
14772 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14773 echo $ac_n "(cached) $ac_c" 1>&6
14776 cat > conftest.
$ac_ext <<EOF
14777 #line 14778 "configure"
14778 #include "confdefs.h"
14779 #include <pthread.h>
14782 pthread_mutexattr_t attr;
14783 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14787 if { (eval echo configure
:14788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14790 wx_cv_type_pthread_mutexattr_t
=yes
14793 echo "configure: failed program was:" >&5
14794 cat conftest.
$ac_ext >&5
14797 wx_cv_type_pthread_mutexattr_t
=no
14805 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14807 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14808 cat >> confdefs.h
<<\EOF
14809 #define HAVE_PTHREAD_MUTEXATTR_T 1
14813 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14814 echo "configure:14815: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14815 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14816 echo $ac_n "(cached) $ac_c" 1>&6
14819 cat > conftest.
$ac_ext <<EOF
14820 #line 14821 "configure"
14821 #include "confdefs.h"
14822 #include <pthread.h>
14825 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14829 if { (eval echo configure
:14830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14832 wx_cv_type_pthread_rec_mutex_init
=yes
14835 echo "configure: failed program was:" >&5
14836 cat conftest.
$ac_ext >&5
14839 wx_cv_type_pthread_rec_mutex_init
=no
14847 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14848 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14849 cat >> confdefs.h
<<\EOF
14850 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14854 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14858 THREADS_LINK
="-l$THREADS_LINK"
14860 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14861 CFLAGS
="${CFLAGS} -mt"
14862 CXXFLAGS
="${CXXFLAGS} -mt"
14863 LDFLAGS
="${LDFLAGS} -mt"
14869 if test "$wxUSE_THREADS" = "yes"; then
14870 cat >> confdefs.h
<<\EOF
14871 #define wxUSE_THREADS 1
14875 if test "$USE_DARWIN" != 1; then
14876 CFLAGS
="${CFLAGS} -D_REENTRANT"
14877 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14882 if test "$ac_cv_func_strtok_r" = "yes"; then
14883 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14884 echo "configure:14885: checking if -D_REENTRANT is needed" >&5
14885 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14886 CFLAGS
="${CFLAGS} -D_REENTRANT"
14887 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14888 echo "$ac_t""yes" 1>&6
14890 echo "$ac_t""no" 1>&6
14895 if test "$WXGTK20" = 1 ; then
14896 cat >> confdefs.h
<<EOF
14897 #define __WXGTK20__ $WXGTK20
14903 if test "$WXGTK12" = 1 ; then
14904 cat >> confdefs.h
<<EOF
14905 #define __WXGTK12__ $WXGTK12
14910 if test "$WXGTK127" = 1 ; then
14911 cat >> confdefs.h
<<EOF
14912 #define __WXGTK127__ $WXGTK127
14917 if test "$WXWINE" = 1 ; then
14918 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14921 if test "$wxUSE_MAC" = 1 ; then
14922 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14923 CFLAGS
="${CFLAGS} -fpascal-strings"
14924 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14925 # Extract the first word of "Rez", so it can be a program name with args.
14926 set dummy Rez
; ac_word
=$2
14927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14928 echo "configure:14929: checking for $ac_word" >&5
14929 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14930 echo $ac_n "(cached) $ac_c" 1>&6
14932 if test -n "$REZ"; then
14933 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14935 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14937 for ac_dir
in $ac_dummy; do
14938 test -z "$ac_dir" && ac_dir
=.
14939 if test -f $ac_dir/$ac_word; then
14940 ac_cv_prog_REZ
="Rez"
14945 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14948 REZ
="$ac_cv_prog_REZ"
14949 if test -n "$REZ"; then
14950 echo "$ac_t""$REZ" 1>&6
14952 echo "$ac_t""no" 1>&6
14955 # Extract the first word of "Derez", so it can be a program name with args.
14956 set dummy Derez
; ac_word
=$2
14957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14958 echo "configure:14959: checking for $ac_word" >&5
14959 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14960 echo $ac_n "(cached) $ac_c" 1>&6
14962 if test -n "$DEREZ"; then
14963 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14965 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14967 for ac_dir
in $ac_dummy; do
14968 test -z "$ac_dir" && ac_dir
=.
14969 if test -f $ac_dir/$ac_word; then
14970 ac_cv_prog_DEREZ
="Derez"
14975 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14978 DEREZ
="$ac_cv_prog_DEREZ"
14979 if test -n "$DEREZ"; then
14980 echo "$ac_t""$DEREZ" 1>&6
14982 echo "$ac_t""no" 1>&6
14986 REZFLAGS
="-d __UNIX__ -useDF"
14987 DEREZFLAGS
="Carbon.r -useDF"
14988 RESFLAGS
="Carbon.r -t APPL"
14989 LIBWXMACRES
="\$(LIBWX_MACRES)"
14990 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14993 if test "$wxUSE_CYGWIN" = 1 ; then
14994 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14999 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15004 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15005 wxUSE_DEBUG_INFO
=yes
15009 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15010 cat >> confdefs.h
<<\EOF
15014 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15016 if test "$wxUSE_GTK" = 1 ; then
15017 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15021 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15022 cat >> confdefs.h
<<\EOF
15023 #define wxUSE_MEMORY_TRACING 1
15026 cat >> confdefs.h
<<\EOF
15027 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15030 cat >> confdefs.h
<<\EOF
15031 #define wxUSE_DEBUG_NEW_ALWAYS 1
15034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15037 if test "$wxUSE_DMALLOC" = "yes" ; then
15038 DMALLOC_LINK
="-ldmalloc"
15042 if test "$wxUSE_PROFILE" = "yes" ; then
15048 CODE_GEN_FLAGS_CXX
=
15049 if test "$GCC" = yes ; then
15050 if test "$wxUSE_NO_RTTI" = "yes" ; then
15051 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
15053 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15054 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
15056 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15057 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15059 if test "$wxUSE_NO_DEPS" = "no" ; then
15060 DEP_INFO_FLAGS
="-MMD"
15065 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15066 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15067 if test "$wxUSE_OPTIMISE" = "no" ; then
15070 if test "$GCC" = yes ; then
15073 i586
-*-*|i686
-*-* )
15074 OPTIMISE
="${OPTIMISE} "
15082 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15083 cat >> confdefs.h
<<\EOF
15084 #define WXWIN_COMPATIBILITY_2 1
15088 WXWIN_COMPATIBILITY_2_2
="yes"
15091 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15092 cat >> confdefs.h
<<\EOF
15093 #define WXWIN_COMPATIBILITY_2_2 1
15100 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15101 cat >> confdefs.h
<<\EOF
15102 #define wxUSE_ZLIB 1
15105 if test "$wxUSE_ZLIB" = "yes" ; then
15106 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15109 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15110 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15111 echo "configure:15112: checking for zlib.h" >&5
15112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15113 echo $ac_n "(cached) $ac_c" 1>&6
15115 cat > conftest.
$ac_ext <<EOF
15116 #line 15117 "configure"
15117 #include "confdefs.h"
15120 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15121 { (eval echo configure
:15122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15122 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15123 if test -z "$ac_err"; then
15125 eval "ac_cv_header_$ac_safe=yes"
15128 echo "configure: failed program was:" >&5
15129 cat conftest.
$ac_ext >&5
15131 eval "ac_cv_header_$ac_safe=no"
15135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15136 echo "$ac_t""yes" 1>&6
15137 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15138 echo "configure:15139: checking for deflate in -lz" >&5
15139 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15141 echo $ac_n "(cached) $ac_c" 1>&6
15143 ac_save_LIBS
="$LIBS"
15145 cat > conftest.
$ac_ext <<EOF
15146 #line 15147 "configure"
15147 #include "confdefs.h"
15148 /* Override any gcc2 internal prototype to avoid an error. */
15149 /* We use char because int might match the return type of a gcc2
15150 builtin and then its argument prototype would still apply. */
15157 if { (eval echo configure
:15158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15159 eval "ac_cv_lib_$ac_lib_var=yes"
15161 echo "configure: failed program was:" >&5
15162 cat conftest.
$ac_ext >&5
15164 eval "ac_cv_lib_$ac_lib_var=no"
15167 LIBS
="$ac_save_LIBS"
15170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15171 echo "$ac_t""yes" 1>&6
15174 echo "$ac_t""no" 1>&6
15178 echo "$ac_t""no" 1>&6
15181 if test "x$ZLIB_LINK" = "x" ; then
15182 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15188 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15189 cat >> confdefs.h
<<\EOF
15190 #define wxUSE_LIBPNG 1
15193 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15194 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15198 if test "$wxUSE_LIBPNG" = "yes" ; then
15199 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15202 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15203 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15204 echo "configure:15205: checking for png.h" >&5
15205 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15206 echo $ac_n "(cached) $ac_c" 1>&6
15208 cat > conftest.
$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15213 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15214 { (eval echo configure
:15215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15215 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15216 if test -z "$ac_err"; then
15218 eval "ac_cv_header_$ac_safe=yes"
15221 echo "configure: failed program was:" >&5
15222 cat conftest.
$ac_ext >&5
15224 eval "ac_cv_header_$ac_safe=no"
15228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15229 echo "$ac_t""yes" 1>&6
15230 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15231 echo "configure:15232: checking for png_check_sig in -lpng" >&5
15232 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15234 echo $ac_n "(cached) $ac_c" 1>&6
15236 ac_save_LIBS
="$LIBS"
15237 LIBS
="-lpng -lz -lm $LIBS"
15238 cat > conftest.
$ac_ext <<EOF
15239 #line 15240 "configure"
15240 #include "confdefs.h"
15241 /* Override any gcc2 internal prototype to avoid an error. */
15242 /* We use char because int might match the return type of a gcc2
15243 builtin and then its argument prototype would still apply. */
15244 char png_check_sig();
15250 if { (eval echo configure
:15251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15252 eval "ac_cv_lib_$ac_lib_var=yes"
15254 echo "configure: failed program was:" >&5
15255 cat conftest.
$ac_ext >&5
15257 eval "ac_cv_lib_$ac_lib_var=no"
15260 LIBS
="$ac_save_LIBS"
15263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15264 echo "$ac_t""yes" 1>&6
15267 echo "$ac_t""no" 1>&6
15272 echo "$ac_t""no" 1>&6
15275 if test "x$PNG_LINK" = "x" ; then
15276 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15284 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15285 cat >> confdefs.h
<<\EOF
15286 #define wxUSE_LIBJPEG 1
15289 if test "$wxUSE_LIBJPEG" = "yes" ; then
15290 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15293 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15294 echo "configure:15295: checking for jpeglib.h" >&5
15295 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15296 echo $ac_n "(cached) $ac_c" 1>&6
15298 cat > conftest.
$ac_ext <<EOF
15299 #line 15300 "configure"
15300 #include "confdefs.h"
15302 #undef HAVE_STDLIB_H
15304 #include <jpeglib.h>
15311 if { (eval echo configure
:15312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15313 ac_cv_header_jpeglib_h
=yes
15315 echo "configure: failed program was:" >&5
15316 cat conftest.
$ac_ext >&5
15318 ac_cv_header_jpeglib_h
=no
15325 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15327 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15328 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15329 echo "configure:15330: checking for jpeg_read_header in -ljpeg" >&5
15330 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15331 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15332 echo $ac_n "(cached) $ac_c" 1>&6
15334 ac_save_LIBS
="$LIBS"
15335 LIBS
="-ljpeg $LIBS"
15336 cat > conftest.
$ac_ext <<EOF
15337 #line 15338 "configure"
15338 #include "confdefs.h"
15339 /* Override any gcc2 internal prototype to avoid an error. */
15340 /* We use char because int might match the return type of a gcc2
15341 builtin and then its argument prototype would still apply. */
15342 char jpeg_read_header();
15348 if { (eval echo configure
:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15350 eval "ac_cv_lib_$ac_lib_var=yes"
15352 echo "configure: failed program was:" >&5
15353 cat conftest.
$ac_ext >&5
15355 eval "ac_cv_lib_$ac_lib_var=no"
15358 LIBS
="$ac_save_LIBS"
15361 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15362 echo "$ac_t""yes" 1>&6
15365 echo "$ac_t""no" 1>&6
15370 if test "x$JPEG_LINK" = "x" ; then
15371 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15377 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15378 cat >> confdefs.h
<<\EOF
15379 #define wxUSE_LIBTIFF 1
15382 if test "$wxUSE_LIBTIFF" = "yes" ; then
15383 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15386 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15387 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15388 echo "configure:15389: checking for tiffio.h" >&5
15389 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15390 echo $ac_n "(cached) $ac_c" 1>&6
15392 cat > conftest.
$ac_ext <<EOF
15393 #line 15394 "configure"
15394 #include "confdefs.h"
15395 #include <tiffio.h>
15397 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15398 { (eval echo configure
:15399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15399 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15400 if test -z "$ac_err"; then
15402 eval "ac_cv_header_$ac_safe=yes"
15405 echo "configure: failed program was:" >&5
15406 cat conftest.
$ac_ext >&5
15408 eval "ac_cv_header_$ac_safe=no"
15412 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15413 echo "$ac_t""yes" 1>&6
15414 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15415 echo "configure:15416: checking for TIFFError in -ltiff" >&5
15416 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15420 ac_save_LIBS
="$LIBS"
15421 LIBS
="-ltiff -lm $LIBS"
15422 cat > conftest.
$ac_ext <<EOF
15423 #line 15424 "configure"
15424 #include "confdefs.h"
15425 /* Override any gcc2 internal prototype to avoid an error. */
15426 /* We use char because int might match the return type of a gcc2
15427 builtin and then its argument prototype would still apply. */
15434 if { (eval echo configure
:15435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15436 eval "ac_cv_lib_$ac_lib_var=yes"
15438 echo "configure: failed program was:" >&5
15439 cat conftest.
$ac_ext >&5
15441 eval "ac_cv_lib_$ac_lib_var=no"
15444 LIBS
="$ac_save_LIBS"
15447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15448 echo "$ac_t""yes" 1>&6
15451 echo "$ac_t""no" 1>&6
15455 echo "$ac_t""no" 1>&6
15458 if test "x$TIFF_LINK" = "x" ; then
15459 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15465 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15466 cat >> confdefs.h
<<\EOF
15467 #define wxUSE_FREETYPE 1
15470 if test "$wxUSE_FREETYPE" = "yes" ; then
15471 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15474 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15475 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15476 echo "configure:15477: checking for freetype.h" >&5
15477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15480 cat > conftest.
$ac_ext <<EOF
15481 #line 15482 "configure"
15482 #include "confdefs.h"
15483 #include <freetype.h>
15485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15486 { (eval echo configure
:15487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15488 if test -z "$ac_err"; then
15490 eval "ac_cv_header_$ac_safe=yes"
15493 echo "configure: failed program was:" >&5
15494 cat conftest.
$ac_ext >&5
15496 eval "ac_cv_header_$ac_safe=no"
15500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15501 echo "$ac_t""yes" 1>&6
15502 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15503 echo "configure:15504: checking for FT_Render_Glyph in -lfreetype" >&5
15504 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15506 echo $ac_n "(cached) $ac_c" 1>&6
15508 ac_save_LIBS
="$LIBS"
15509 LIBS
="-lfreetype -lm $LIBS"
15510 cat > conftest.
$ac_ext <<EOF
15511 #line 15512 "configure"
15512 #include "confdefs.h"
15513 /* Override any gcc2 internal prototype to avoid an error. */
15514 /* We use char because int might match the return type of a gcc2
15515 builtin and then its argument prototype would still apply. */
15516 char FT_Render_Glyph();
15522 if { (eval echo configure
:15523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15524 eval "ac_cv_lib_$ac_lib_var=yes"
15526 echo "configure: failed program was:" >&5
15527 cat conftest.
$ac_ext >&5
15529 eval "ac_cv_lib_$ac_lib_var=no"
15532 LIBS
="$ac_save_LIBS"
15535 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15536 echo "$ac_t""yes" 1>&6
15537 FREETYPE_LINK
="-lfreetype"
15539 echo "$ac_t""no" 1>&6
15544 echo "$ac_t""no" 1>&6
15547 if test "x$FREETYPE_LINK" = "x" ; then
15548 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15553 if test "$wxUSE_OPENGL" = "yes"; then
15554 if test "$wxUSE_MAC" = 1; then
15555 cat >> confdefs.h
<<\EOF
15556 #define wxUSE_OPENGL 1
15559 cat >> confdefs.h
<<\EOF
15560 #define wxUSE_GLCANVAS 1
15563 OPENGL_LINK
="-framework OpenGL -framework AGL"
15564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15566 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15567 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15568 echo "configure:15569: checking for GL/gl.h" >&5
15569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15570 echo $ac_n "(cached) $ac_c" 1>&6
15572 cat > conftest.
$ac_ext <<EOF
15573 #line 15574 "configure"
15574 #include "confdefs.h"
15577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15578 { (eval echo configure
:15579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15580 if test -z "$ac_err"; then
15582 eval "ac_cv_header_$ac_safe=yes"
15585 echo "configure: failed program was:" >&5
15586 cat conftest.
$ac_ext >&5
15588 eval "ac_cv_header_$ac_safe=no"
15592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15593 echo "$ac_t""yes" 1>&6
15595 cat >> confdefs.h
<<\EOF
15596 #define wxUSE_OPENGL 1
15599 cat >> confdefs.h
<<\EOF
15600 #define wxUSE_GLCANVAS 1
15603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15604 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15605 echo "configure:15606: checking for glFlush in -lGL" >&5
15606 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15607 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15608 echo $ac_n "(cached) $ac_c" 1>&6
15610 ac_save_LIBS
="$LIBS"
15612 cat > conftest.
$ac_ext <<EOF
15613 #line 15614 "configure"
15614 #include "confdefs.h"
15615 /* Override any gcc2 internal prototype to avoid an error. */
15616 /* We use char because int might match the return type of a gcc2
15617 builtin and then its argument prototype would still apply. */
15624 if { (eval echo configure
:15625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15626 eval "ac_cv_lib_$ac_lib_var=yes"
15628 echo "configure: failed program was:" >&5
15629 cat conftest.
$ac_ext >&5
15631 eval "ac_cv_lib_$ac_lib_var=no"
15634 LIBS
="$ac_save_LIBS"
15637 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15638 echo "$ac_t""yes" 1>&6
15640 OPENGL_LINK
="-lGL -lGLU"
15643 echo "$ac_t""no" 1>&6
15645 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15646 echo "configure:15647: checking for glFlush in -lMesaGL" >&5
15647 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15649 echo $ac_n "(cached) $ac_c" 1>&6
15651 ac_save_LIBS
="$LIBS"
15652 LIBS
="-lMesaGL $LIBS"
15653 cat > conftest.
$ac_ext <<EOF
15654 #line 15655 "configure"
15655 #include "confdefs.h"
15656 /* Override any gcc2 internal prototype to avoid an error. */
15657 /* We use char because int might match the return type of a gcc2
15658 builtin and then its argument prototype would still apply. */
15665 if { (eval echo configure
:15666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15667 eval "ac_cv_lib_$ac_lib_var=yes"
15669 echo "configure: failed program was:" >&5
15670 cat conftest.
$ac_ext >&5
15672 eval "ac_cv_lib_$ac_lib_var=no"
15675 LIBS
="$ac_save_LIBS"
15678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15679 echo "$ac_t""yes" 1>&6
15681 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15684 echo "$ac_t""no" 1>&6
15692 echo "$ac_t""no" 1>&6
15700 if test "$wxUSE_GUI" = "yes"; then
15701 cat >> confdefs.h
<<\EOF
15702 #define wxUSE_GUI 1
15707 cat >> confdefs.h
<<\EOF
15708 #define wxUSE_NOGUI 1
15714 if test "$wxUSE_UNIX" = "yes"; then
15715 cat >> confdefs.h
<<\EOF
15716 #define wxUSE_UNIX 1
15722 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15723 cat >> confdefs.h
<<\EOF
15724 #define wxUSE_APPLE_IEEE 1
15729 if test "$wxUSE_TIMER" = "yes"; then
15730 cat >> confdefs.h
<<\EOF
15731 #define wxUSE_TIMER 1
15736 if test "$wxUSE_WAVE" = "yes"; then
15737 cat >> confdefs.h
<<\EOF
15738 #define wxUSE_WAVE 1
15743 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15744 cat >> confdefs.h
<<\EOF
15745 #define wxUSE_CMDLINE_PARSER 1
15750 if test "$wxUSE_STOPWATCH" = "yes"; then
15751 cat >> confdefs.h
<<\EOF
15752 #define wxUSE_STOPWATCH 1
15757 if test "$wxUSE_DATETIME" = "yes"; then
15758 cat >> confdefs.h
<<\EOF
15759 #define wxUSE_DATETIME 1
15764 if test "$wxUSE_TIMEDATE" = "yes"; then
15765 cat >> confdefs.h
<<\EOF
15766 #define wxUSE_TIMEDATE 1
15771 if test "$wxUSE_FILE" = "yes"; then
15772 cat >> confdefs.h
<<\EOF
15773 #define wxUSE_FILE 1
15778 if test "$wxUSE_FFILE" = "yes"; then
15779 cat >> confdefs.h
<<\EOF
15780 #define wxUSE_FFILE 1
15785 if test "$wxUSE_FILESYSTEM" = "yes"; then
15786 cat >> confdefs.h
<<\EOF
15787 #define wxUSE_FILESYSTEM 1
15792 if test "$wxUSE_FS_INET" = "yes"; then
15793 cat >> confdefs.h
<<\EOF
15794 #define wxUSE_FS_INET 1
15799 if test "$wxUSE_FS_ZIP" = "yes"; then
15800 cat >> confdefs.h
<<\EOF
15801 #define wxUSE_FS_ZIP 1
15806 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15807 cat >> confdefs.h
<<\EOF
15808 #define wxUSE_ZIPSTREAM 1
15813 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15814 cat >> confdefs.h
<<\EOF
15815 #define wxUSE_ON_FATAL_EXCEPTION 1
15820 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15821 cat >> confdefs.h
<<\EOF
15822 #define wxUSE_SNGLINST_CHECKER 1
15827 if test "$wxUSE_BUSYINFO" = "yes"; then
15828 cat >> confdefs.h
<<\EOF
15829 #define wxUSE_BUSYINFO 1
15834 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15835 cat >> confdefs.h
<<\EOF
15836 #define wxUSE_STD_IOSTREAM 1
15841 if test "$wxUSE_TEXTFILE" = "yes"; then
15842 if test "$wxUSE_FILE" != "yes"; then
15843 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15845 cat >> confdefs.h
<<\EOF
15846 #define wxUSE_TEXTFILE 1
15852 if test "$wxUSE_CONFIG" = "yes" ; then
15853 if test "$wxUSE_TEXTFILE" != "yes"; then
15854 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15856 cat >> confdefs.h
<<\EOF
15857 #define wxUSE_CONFIG 1
15860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15864 if test "$wxUSE_INTL" = "yes" ; then
15865 if test "$wxUSE_FILE" != "yes"; then
15866 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15868 cat >> confdefs.h
<<\EOF
15869 #define wxUSE_INTL 1
15872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15873 GUIDIST
="$GUIDIST INTL_DIST"
15877 if test "$wxUSE_LOG" = "yes"; then
15878 cat >> confdefs.h
<<\EOF
15879 #define wxUSE_LOG 1
15883 if test "$wxUSE_LOGGUI" = "yes"; then
15884 cat >> confdefs.h
<<\EOF
15885 #define wxUSE_LOGGUI 1
15890 if test "$wxUSE_LOGWINDOW" = "yes"; then
15891 cat >> confdefs.h
<<\EOF
15892 #define wxUSE_LOGWINDOW 1
15898 if test "$wxUSE_LONGLONG" = "yes"; then
15899 cat >> confdefs.h
<<\EOF
15900 #define wxUSE_LONGLONG 1
15905 if test "$wxUSE_GEOMETRY" = "yes"; then
15906 cat >> confdefs.h
<<\EOF
15907 #define wxUSE_GEOMETRY 1
15912 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15913 cat >> confdefs.h
<<\EOF
15914 #define wxUSE_DIALUP_MANAGER 1
15917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15920 if test "$wxUSE_STREAMS" = "yes" ; then
15921 cat >> confdefs.h
<<\EOF
15922 #define wxUSE_STREAMS 1
15928 if test "$wxUSE_DATETIME" = "yes"; then
15929 for ac_func
in strptime
15931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15932 echo "configure:15933: checking for $ac_func" >&5
15933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15934 echo $ac_n "(cached) $ac_c" 1>&6
15936 cat > conftest.
$ac_ext <<EOF
15937 #line 15938 "configure"
15938 #include "confdefs.h"
15939 /* System header to define __stub macros and hopefully few prototypes,
15940 which can conflict with char $ac_func(); below. */
15941 #include <assert.h>
15942 /* Override any gcc2 internal prototype to avoid an error. */
15943 /* We use char because int might match the return type of a gcc2
15944 builtin and then its argument prototype would still apply. */
15949 /* The GNU C library defines this for functions which it implements
15950 to always fail with ENOSYS. Some functions are actually named
15951 something starting with __ and the normal name is an alias. */
15952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15960 if { (eval echo configure
:15961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15962 eval "ac_cv_func_$ac_func=yes"
15964 echo "configure: failed program was:" >&5
15965 cat conftest.
$ac_ext >&5
15967 eval "ac_cv_func_$ac_func=no"
15972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15973 echo "$ac_t""yes" 1>&6
15974 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15975 cat >> confdefs.h
<<EOF
15976 #define $ac_tr_func 1
15980 echo "$ac_t""no" 1>&6
15985 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15986 echo "configure:15987: checking for timezone variable in <time.h>" >&5
15987 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15988 echo $ac_n "(cached) $ac_c" 1>&6
15991 cat > conftest.
$ac_ext <<EOF
15992 #line 15993 "configure"
15993 #include "confdefs.h"
16004 if { (eval echo configure
:16005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16007 wx_cv_var_timezone
=timezone
16010 echo "configure: failed program was:" >&5
16011 cat conftest.
$ac_ext >&5
16014 cat > conftest.
$ac_ext <<EOF
16015 #line 16016 "configure"
16016 #include "confdefs.h"
16027 if { (eval echo configure
:16028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16030 wx_cv_var_timezone
=_timezone
16033 echo "configure: failed program was:" >&5
16034 cat conftest.
$ac_ext >&5
16037 cat > conftest.
$ac_ext <<EOF
16038 #line 16039 "configure"
16039 #include "confdefs.h"
16050 if { (eval echo configure
:16051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16053 wx_cv_var_timezone
=__timezone
16056 echo "configure: failed program was:" >&5
16057 cat conftest.
$ac_ext >&5
16059 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16075 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16077 cat >> confdefs.h
<<EOF
16078 #define WX_TIMEZONE $wx_cv_var_timezone
16082 for ac_func
in localtime
16084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16085 echo "configure:16086: checking for $ac_func" >&5
16086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16087 echo $ac_n "(cached) $ac_c" 1>&6
16089 cat > conftest.
$ac_ext <<EOF
16090 #line 16091 "configure"
16091 #include "confdefs.h"
16092 /* System header to define __stub macros and hopefully few prototypes,
16093 which can conflict with char $ac_func(); below. */
16094 #include <assert.h>
16095 /* Override any gcc2 internal prototype to avoid an error. */
16096 /* We use char because int might match the return type of a gcc2
16097 builtin and then its argument prototype would still apply. */
16102 /* The GNU C library defines this for functions which it implements
16103 to always fail with ENOSYS. Some functions are actually named
16104 something starting with __ and the normal name is an alias. */
16105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16113 if { (eval echo configure
:16114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16115 eval "ac_cv_func_$ac_func=yes"
16117 echo "configure: failed program was:" >&5
16118 cat conftest.
$ac_ext >&5
16120 eval "ac_cv_func_$ac_func=no"
16125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16126 echo "$ac_t""yes" 1>&6
16127 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16128 cat >> confdefs.h
<<EOF
16129 #define $ac_tr_func 1
16133 echo "$ac_t""no" 1>&6
16138 if test "$ac_cv_func_localtime" = "yes"; then
16139 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16140 echo "configure:16141: checking for tm_gmtoff in struct tm" >&5
16141 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16142 echo $ac_n "(cached) $ac_c" 1>&6
16145 cat > conftest.
$ac_ext <<EOF
16146 #line 16147 "configure"
16147 #include "confdefs.h"
16158 if { (eval echo configure
:16159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16161 wx_cv_struct_tm_has_gmtoff
=yes
16164 echo "configure: failed program was:" >&5
16165 cat conftest.
$ac_ext >&5
16167 wx_cv_struct_tm_has_gmtoff
=no
16174 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16177 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16178 cat >> confdefs.h
<<\EOF
16179 #define WX_GMTOFF_IN_TM 1
16184 for ac_func
in gettimeofday ftime
16186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16187 echo "configure:16188: checking for $ac_func" >&5
16188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16189 echo $ac_n "(cached) $ac_c" 1>&6
16191 cat > conftest.
$ac_ext <<EOF
16192 #line 16193 "configure"
16193 #include "confdefs.h"
16194 /* System header to define __stub macros and hopefully few prototypes,
16195 which can conflict with char $ac_func(); below. */
16196 #include <assert.h>
16197 /* Override any gcc2 internal prototype to avoid an error. */
16198 /* We use char because int might match the return type of a gcc2
16199 builtin and then its argument prototype would still apply. */
16204 /* The GNU C library defines this for functions which it implements
16205 to always fail with ENOSYS. Some functions are actually named
16206 something starting with __ and the normal name is an alias. */
16207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16215 if { (eval echo configure
:16216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16217 eval "ac_cv_func_$ac_func=yes"
16219 echo "configure: failed program was:" >&5
16220 cat conftest.
$ac_ext >&5
16222 eval "ac_cv_func_$ac_func=no"
16227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16228 echo "$ac_t""yes" 1>&6
16229 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16230 cat >> confdefs.h
<<EOF
16231 #define $ac_tr_func 1
16235 echo "$ac_t""no" 1>&6
16240 if test "$ac_cv_func_gettimeofday" = "yes"; then
16241 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16242 echo "configure:16243: checking whether gettimeofday takes two arguments" >&5
16243 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16244 echo $ac_n "(cached) $ac_c" 1>&6
16249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16250 ac_cpp
='$CXXCPP $CPPFLAGS'
16251 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16252 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16253 cross_compiling
=$ac_cv_prog_cxx_cross
16256 cat > conftest.
$ac_ext <<EOF
16257 #line 16258 "configure"
16258 #include "confdefs.h"
16260 #include <sys/time.h>
16261 #include <unistd.h>
16266 struct timezone tz;
16267 gettimeofday(&tv, &tz);
16271 if { (eval echo configure
:16272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16273 wx_cv_func_gettimeofday_has_2_args
=yes
16275 echo "configure: failed program was:" >&5
16276 cat conftest.
$ac_ext >&5
16278 cat > conftest.
$ac_ext <<EOF
16279 #line 16280 "configure"
16280 #include "confdefs.h"
16282 #include <sys/time.h>
16283 #include <unistd.h>
16292 if { (eval echo configure
:16293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16294 wx_cv_func_gettimeofday_has_2_args
=no
16296 echo "configure: failed program was:" >&5
16297 cat conftest.
$ac_ext >&5
16299 wx_cv_func_gettimeofday_has_2_args
=unknown
16307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16308 ac_cpp
='$CPP $CPPFLAGS'
16309 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16310 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16311 cross_compiling
=$ac_cv_prog_cc_cross
16316 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16318 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16319 cat >> confdefs.h
<<\EOF
16320 #define WX_GETTIMEOFDAY_NO_TZ 1
16326 cat >> confdefs.h
<<\EOF
16327 #define wxUSE_TIMEDATE 1
16330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16334 if test "$TOOLKIT" != "MSW"; then
16336 if test "$wxUSE_SOCKETS" = "yes"; then
16337 echo $ac_n "checking for socket""... $ac_c" 1>&6
16338 echo "configure:16339: checking for socket" >&5
16339 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16340 echo $ac_n "(cached) $ac_c" 1>&6
16342 cat > conftest.
$ac_ext <<EOF
16343 #line 16344 "configure"
16344 #include "confdefs.h"
16345 /* System header to define __stub macros and hopefully few prototypes,
16346 which can conflict with char socket(); below. */
16347 #include <assert.h>
16348 /* Override any gcc2 internal prototype to avoid an error. */
16349 /* We use char because int might match the return type of a gcc2
16350 builtin and then its argument prototype would still apply. */
16355 /* The GNU C library defines this for functions which it implements
16356 to always fail with ENOSYS. Some functions are actually named
16357 something starting with __ and the normal name is an alias. */
16358 #if defined (__stub_socket) || defined (__stub___socket)
16366 if { (eval echo configure
:16367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16368 eval "ac_cv_func_socket=yes"
16370 echo "configure: failed program was:" >&5
16371 cat conftest.
$ac_ext >&5
16373 eval "ac_cv_func_socket=no"
16378 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16379 echo "$ac_t""yes" 1>&6
16382 echo "$ac_t""no" 1>&6
16383 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16384 echo "configure:16385: checking for socket in -lsocket" >&5
16385 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16387 echo $ac_n "(cached) $ac_c" 1>&6
16389 ac_save_LIBS
="$LIBS"
16390 LIBS
="-lsocket $LIBS"
16391 cat > conftest.
$ac_ext <<EOF
16392 #line 16393 "configure"
16393 #include "confdefs.h"
16394 /* Override any gcc2 internal prototype to avoid an error. */
16395 /* We use char because int might match the return type of a gcc2
16396 builtin and then its argument prototype would still apply. */
16403 if { (eval echo configure
:16404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16405 eval "ac_cv_lib_$ac_lib_var=yes"
16407 echo "configure: failed program was:" >&5
16408 cat conftest.
$ac_ext >&5
16410 eval "ac_cv_lib_$ac_lib_var=no"
16413 LIBS
="$ac_save_LIBS"
16416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16417 echo "$ac_t""yes" 1>&6
16418 INET_LINK
="$INET_LINK -lsocket"
16420 echo "$ac_t""no" 1>&6
16422 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16434 if test "$wxUSE_SOCKETS" = "yes" ; then
16435 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16436 echo "configure:16437: checking what is the type of the third argument of getsockname" >&5
16437 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16438 echo $ac_n "(cached) $ac_c" 1>&6
16443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16444 ac_cpp
='$CXXCPP $CPPFLAGS'
16445 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16446 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16447 cross_compiling
=$ac_cv_prog_cxx_cross
16450 cat > conftest.
$ac_ext <<EOF
16451 #line 16452 "configure"
16452 #include "confdefs.h"
16454 #include <sys/types.h>
16455 #include <sys/socket.h>
16460 getsockname(0, 0, &len);
16464 if { (eval echo configure
:16465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16466 wx_cv_type_getsockname3
=socklen_t
16468 echo "configure: failed program was:" >&5
16469 cat conftest.
$ac_ext >&5
16471 cat > conftest.
$ac_ext <<EOF
16472 #line 16473 "configure"
16473 #include "confdefs.h"
16475 #include <sys/types.h>
16476 #include <sys/socket.h>
16481 getsockname(0, 0, &len);
16485 if { (eval echo configure
:16486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16487 wx_cv_type_getsockname3
=size_t
16489 echo "configure: failed program was:" >&5
16490 cat conftest.
$ac_ext >&5
16492 cat > conftest.
$ac_ext <<EOF
16493 #line 16494 "configure"
16494 #include "confdefs.h"
16496 #include <sys/types.h>
16497 #include <sys/socket.h>
16502 getsockname(0, 0, &len);
16506 if { (eval echo configure
:16507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508 wx_cv_type_getsockname3
=int
16510 echo "configure: failed program was:" >&5
16511 cat conftest.
$ac_ext >&5
16513 wx_cv_type_getsockname3
=unknown
16525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16526 ac_cpp
='$CPP $CPPFLAGS'
16527 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16528 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16529 cross_compiling
=$ac_cv_prog_cc_cross
16534 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16536 if test "$wx_cv_type_getsockname3" = "unknown"; then
16538 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16540 cat >> confdefs.h
<<EOF
16541 #define SOCKLEN_T $wx_cv_type_getsockname3
16549 if test "$wxUSE_SOCKETS" = "yes" ; then
16550 cat >> confdefs.h
<<\EOF
16551 #define wxUSE_SOCKETS 1
16554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16555 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16559 if test "$wxUSE_GUI" = "yes"; then
16561 if test "$TOOLKIT" != "MSW"; then
16563 if test "$wxUSE_JOYSTICK" = "yes"; then
16564 for ac_hdr
in linux
/joystick.h
16566 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16567 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16568 echo "configure:16569: checking for $ac_hdr" >&5
16569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16570 echo $ac_n "(cached) $ac_c" 1>&6
16572 cat > conftest.
$ac_ext <<EOF
16573 #line 16574 "configure"
16574 #include "confdefs.h"
16577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16578 { (eval echo configure
:16579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16580 if test -z "$ac_err"; then
16582 eval "ac_cv_header_$ac_safe=yes"
16585 echo "configure: failed program was:" >&5
16586 cat conftest.
$ac_ext >&5
16588 eval "ac_cv_header_$ac_safe=no"
16592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16593 echo "$ac_t""yes" 1>&6
16594 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16595 cat >> confdefs.h
<<EOF
16596 #define $ac_tr_hdr 1
16600 echo "$ac_t""no" 1>&6
16604 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16606 echo "configure: warning: Joystick not supported by this system" 1>&2
16612 if test "$wxUSE_JOYSTICK" = "yes"; then
16613 cat >> confdefs.h
<<\EOF
16614 #define wxUSE_JOYSTICK 1
16617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16623 if test "$TOOLKIT" != "MSW"; then
16627 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16628 if test "$USE_DARWIN" = 1; then
16631 for ac_func
in dlopen
16633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16634 echo "configure:16635: checking for $ac_func" >&5
16635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16636 echo $ac_n "(cached) $ac_c" 1>&6
16638 cat > conftest.
$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16641 /* System header to define __stub macros and hopefully few prototypes,
16642 which can conflict with char $ac_func(); below. */
16643 #include <assert.h>
16644 /* Override any gcc2 internal prototype to avoid an error. */
16645 /* We use char because int might match the return type of a gcc2
16646 builtin and then its argument prototype would still apply. */
16651 /* The GNU C library defines this for functions which it implements
16652 to always fail with ENOSYS. Some functions are actually named
16653 something starting with __ and the normal name is an alias. */
16654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16662 if { (eval echo configure
:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16664 eval "ac_cv_func_$ac_func=yes"
16666 echo "configure: failed program was:" >&5
16667 cat conftest.
$ac_ext >&5
16669 eval "ac_cv_func_$ac_func=no"
16674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16675 echo "$ac_t""yes" 1>&6
16676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16677 cat >> confdefs.h
<<EOF
16678 #define $ac_tr_func 1
16681 cat >> confdefs.h
<<\EOF
16682 #define HAVE_DLOPEN 1
16688 echo "$ac_t""no" 1>&6
16689 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16690 echo "configure:16691: checking for dlopen in -ldl" >&5
16691 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16693 echo $ac_n "(cached) $ac_c" 1>&6
16695 ac_save_LIBS
="$LIBS"
16697 cat > conftest.
$ac_ext <<EOF
16698 #line 16699 "configure"
16699 #include "confdefs.h"
16700 /* Override any gcc2 internal prototype to avoid an error. */
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16709 if { (eval echo configure
:16710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16711 eval "ac_cv_lib_$ac_lib_var=yes"
16713 echo "configure: failed program was:" >&5
16714 cat conftest.
$ac_ext >&5
16716 eval "ac_cv_lib_$ac_lib_var=no"
16719 LIBS
="$ac_save_LIBS"
16722 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16723 echo "$ac_t""yes" 1>&6
16725 cat >> confdefs.h
<<\EOF
16726 #define HAVE_DLOPEN 1
16733 echo "$ac_t""no" 1>&6
16735 for ac_func
in shl_load
16737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16738 echo "configure:16739: checking for $ac_func" >&5
16739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16740 echo $ac_n "(cached) $ac_c" 1>&6
16742 cat > conftest.
$ac_ext <<EOF
16743 #line 16744 "configure"
16744 #include "confdefs.h"
16745 /* System header to define __stub macros and hopefully few prototypes,
16746 which can conflict with char $ac_func(); below. */
16747 #include <assert.h>
16748 /* Override any gcc2 internal prototype to avoid an error. */
16749 /* We use char because int might match the return type of a gcc2
16750 builtin and then its argument prototype would still apply. */
16755 /* The GNU C library defines this for functions which it implements
16756 to always fail with ENOSYS. Some functions are actually named
16757 something starting with __ and the normal name is an alias. */
16758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16766 if { (eval echo configure
:16767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16768 eval "ac_cv_func_$ac_func=yes"
16770 echo "configure: failed program was:" >&5
16771 cat conftest.
$ac_ext >&5
16773 eval "ac_cv_func_$ac_func=no"
16778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16779 echo "$ac_t""yes" 1>&6
16780 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16781 cat >> confdefs.h
<<EOF
16782 #define $ac_tr_func 1
16785 cat >> confdefs.h
<<\EOF
16786 #define HAVE_SHL_LOAD 1
16792 echo "$ac_t""no" 1>&6
16793 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16794 echo "configure:16795: checking for dld in -lshl_load" >&5
16795 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16797 echo $ac_n "(cached) $ac_c" 1>&6
16799 ac_save_LIBS
="$LIBS"
16800 LIBS
="-lshl_load $LIBS"
16801 cat > conftest.
$ac_ext <<EOF
16802 #line 16803 "configure"
16803 #include "confdefs.h"
16804 /* Override any gcc2 internal prototype to avoid an error. */
16805 /* We use char because int might match the return type of a gcc2
16806 builtin and then its argument prototype would still apply. */
16813 if { (eval echo configure
:16814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16815 eval "ac_cv_lib_$ac_lib_var=yes"
16817 echo "configure: failed program was:" >&5
16818 cat conftest.
$ac_ext >&5
16820 eval "ac_cv_lib_$ac_lib_var=no"
16823 LIBS
="$ac_save_LIBS"
16826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16827 echo "$ac_t""yes" 1>&6
16833 echo "$ac_t""no" 1>&6
16848 if test "$HAVE_DL_FUNCS" = 1; then
16849 for ac_func
in dlerror
16851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16852 echo "configure:16853: checking for $ac_func" >&5
16853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16854 echo $ac_n "(cached) $ac_c" 1>&6
16856 cat > conftest.
$ac_ext <<EOF
16857 #line 16858 "configure"
16858 #include "confdefs.h"
16859 /* System header to define __stub macros and hopefully few prototypes,
16860 which can conflict with char $ac_func(); below. */
16861 #include <assert.h>
16862 /* Override any gcc2 internal prototype to avoid an error. */
16863 /* We use char because int might match the return type of a gcc2
16864 builtin and then its argument prototype would still apply. */
16869 /* The GNU C library defines this for functions which it implements
16870 to always fail with ENOSYS. Some functions are actually named
16871 something starting with __ and the normal name is an alias. */
16872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16880 if { (eval echo configure
:16881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16882 eval "ac_cv_func_$ac_func=yes"
16884 echo "configure: failed program was:" >&5
16885 cat conftest.
$ac_ext >&5
16887 eval "ac_cv_func_$ac_func=no"
16892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16893 echo "$ac_t""yes" 1>&6
16894 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16895 cat >> confdefs.h
<<EOF
16896 #define $ac_tr_func 1
16898 cat >> confdefs.h
<<\EOF
16899 #define HAVE_DLERROR 1
16903 echo "$ac_t""no" 1>&6
16904 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16905 echo "configure:16906: checking for dlerror in -ldl" >&5
16906 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16908 echo $ac_n "(cached) $ac_c" 1>&6
16910 ac_save_LIBS
="$LIBS"
16912 cat > conftest.
$ac_ext <<EOF
16913 #line 16914 "configure"
16914 #include "confdefs.h"
16915 /* Override any gcc2 internal prototype to avoid an error. */
16916 /* We use char because int might match the return type of a gcc2
16917 builtin and then its argument prototype would still apply. */
16924 if { (eval echo configure
:16925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16926 eval "ac_cv_lib_$ac_lib_var=yes"
16928 echo "configure: failed program was:" >&5
16929 cat conftest.
$ac_ext >&5
16931 eval "ac_cv_lib_$ac_lib_var=no"
16934 LIBS
="$ac_save_LIBS"
16937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16938 echo "$ac_t""yes" 1>&6
16939 cat >> confdefs.h
<<\EOF
16940 #define HAVE_DLERROR 1
16944 echo "$ac_t""no" 1>&6
16953 if test "$HAVE_DL_FUNCS" = 0; then
16954 if test "$HAVE_SHL_FUNCS" = 0; then
16955 if test "$USE_UNIX" = 1; then
16956 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16957 wxUSE_DYNLIB_CLASS
=no
16959 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16967 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16968 cat >> confdefs.h
<<\EOF
16969 #define wxUSE_DYNLIB_CLASS 1
16978 if test "$wxUSE_FONTMAP" = "yes" ; then
16979 cat >> confdefs.h
<<\EOF
16980 #define wxUSE_FONTMAP 1
16985 if test "$wxUSE_UNICODE" = "yes" ; then
16986 cat >> confdefs.h
<<\EOF
16987 #define wxUSE_UNICODE 1
16992 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16993 cat >> confdefs.h
<<\EOF
16994 #define wxUSE_WCSRTOMBS 1
16999 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17000 cat >> confdefs.h
<<\EOF
17001 #define wxUSE_EXPERIMENTAL_PRINTF 1
17007 if test "$wxUSE_SERIAL" = "yes" ; then
17008 cat >> confdefs.h
<<\EOF
17009 #define wxUSE_SERIAL 1
17016 if test "$wxUSE_ODBC" = "yes" ; then
17017 cat >> confdefs.h
<<\EOF
17018 #define wxUSE_ODBC 1
17021 WXODBCFLAG
="-D_IODBC_"
17022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17026 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17027 cat >> confdefs.h
<<\EOF
17028 #define wxUSE_POSTSCRIPT 1
17033 cat >> confdefs.h
<<\EOF
17034 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17038 cat >> confdefs.h
<<\EOF
17039 #define wxUSE_NORMALIZED_PS_FONTS 1
17044 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17045 cat >> confdefs.h
<<\EOF
17046 #define wxUSE_CONSTRAINTS 1
17049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17052 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17053 cat >> confdefs.h
<<\EOF
17054 #define wxUSE_MDI_ARCHITECTURE 1
17057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17060 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17061 cat >> confdefs.h
<<\EOF
17062 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17066 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17071 if test "$wxUSE_HELP" = "yes"; then
17072 cat >> confdefs.h
<<\EOF
17073 #define wxUSE_HELP 1
17076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17078 if test "$USE_WIN32" = 1; then
17079 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17080 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17081 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17082 echo "configure:17083: checking for htmlhelp.h" >&5
17083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17084 echo $ac_n "(cached) $ac_c" 1>&6
17086 cat > conftest.
$ac_ext <<EOF
17087 #line 17088 "configure"
17088 #include "confdefs.h"
17089 #include <htmlhelp.h>
17091 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17092 { (eval echo configure
:17093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17093 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17094 if test -z "$ac_err"; then
17096 eval "ac_cv_header_$ac_safe=yes"
17099 echo "configure: failed program was:" >&5
17100 cat conftest.
$ac_ext >&5
17102 eval "ac_cv_header_$ac_safe=no"
17106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17109 cat >> confdefs.h
<<\EOF
17110 #define wxUSE_MS_HTML_HELP 1
17115 echo "$ac_t""no" 1>&6
17117 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17118 wxUSE_MS_HTML_HELP
=no
17125 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17126 if test "$wxUSE_HTML" = "yes"; then
17127 cat >> confdefs.h
<<\EOF
17128 #define wxUSE_WXHTML_HELP 1
17132 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17133 wxUSE_WXHTML_HELP
=no
17138 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17139 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17140 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17142 cat >> confdefs.h
<<\EOF
17143 #define wxUSE_PRINTING_ARCHITECTURE 1
17147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17150 if test "$wxUSE_PROLOGIO" = "yes" ; then
17151 cat >> confdefs.h
<<\EOF
17152 #define wxUSE_PROLOGIO 1
17157 if test "$wxUSE_RESOURCES" = "yes" ; then
17158 cat >> confdefs.h
<<\EOF
17159 #define wxUSE_RESOURCES 1
17162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17165 if test "$wxUSE_X_RESOURCES" = "yes"; then
17166 cat >> confdefs.h
<<\EOF
17167 #define wxUSE_X_RESOURCES 1
17173 if test "$wxUSE_IPC" = "yes"; then
17174 if test "$wxUSE_SOCKETS" != "yes"; then
17175 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17178 cat >> confdefs.h
<<\EOF
17179 #define wxUSE_IPC 1
17184 if test "$wxUSE_CLIPBOARD" = "yes"; then
17185 cat >> confdefs.h
<<\EOF
17186 #define wxUSE_CLIPBOARD 1
17189 cat >> confdefs.h
<<\EOF
17190 #define wxUSE_DATAOBJ 1
17195 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17196 if test "$wxUSE_GTK" = 1; then
17197 if test "$WXGTK12" != 1; then
17198 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17199 wxUSE_DRAG_AND_DROP
=no
17203 if test "$wxUSE_MOTIF" = 1; then
17204 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17205 wxUSE_DRAG_AND_DROP
=no
17208 if test "$wxUSE_MAC" = 1; then
17209 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17210 wxUSE_DRAG_AND_DROP
=no
17213 if test "$USE_WIN32" = 1; then
17215 for ac_hdr
in ole2.h
17217 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17218 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17219 echo "configure:17220: checking for $ac_hdr" >&5
17220 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17221 echo $ac_n "(cached) $ac_c" 1>&6
17223 cat > conftest.
$ac_ext <<EOF
17224 #line 17225 "configure"
17225 #include "confdefs.h"
17228 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17229 { (eval echo configure
:17230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17230 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17231 if test -z "$ac_err"; then
17233 eval "ac_cv_header_$ac_safe=yes"
17236 echo "configure: failed program was:" >&5
17237 cat conftest.
$ac_ext >&5
17239 eval "ac_cv_header_$ac_safe=no"
17243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17244 echo "$ac_t""yes" 1>&6
17245 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17246 cat >> confdefs.h
<<EOF
17247 #define $ac_tr_hdr 1
17251 echo "$ac_t""no" 1>&6
17256 if test "$ac_cv_header_ole2_h" = "yes" ; then
17257 if test "$GCC" = yes ; then
17258 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17259 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17260 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17261 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17262 cat >> confdefs.h
<<\EOF
17263 #define wxUSE_OLE 1
17267 if test "$wxUSE_METAFILE" = "yes"; then
17268 cat >> confdefs.h
<<\EOF
17269 #define wxUSE_METAFILE 1
17272 cat >> confdefs.h
<<\EOF
17273 #define wxUSE_ENH_METAFILE 1
17279 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17280 wxUSE_DRAG_AND_DROP
=no
17284 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17285 cat >> confdefs.h
<<\EOF
17286 #define wxUSE_DRAG_AND_DROP 1
17289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17294 if test "$wxUSE_SPLINES" = "yes" ; then
17295 cat >> confdefs.h
<<\EOF
17296 #define wxUSE_SPLINES 1
17303 if test "$wxUSE_CONTROLS" = "yes"; then
17307 if test "$wxUSE_ACCEL" = "yes"; then
17308 cat >> confdefs.h
<<\EOF
17309 #define wxUSE_ACCEL 1
17315 if test "$wxUSE_BUTTON" = "yes"; then
17316 cat >> confdefs.h
<<\EOF
17317 #define wxUSE_BUTTON 1
17323 if test "$wxUSE_BMPBUTTON" = "yes"; then
17324 cat >> confdefs.h
<<\EOF
17325 #define wxUSE_BMPBUTTON 1
17331 if test "$wxUSE_CALCTRL" = "yes"; then
17332 cat >> confdefs.h
<<\EOF
17333 #define wxUSE_CALENDARCTRL 1
17337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17340 if test "$wxUSE_CARET" = "yes"; then
17341 cat >> confdefs.h
<<\EOF
17342 #define wxUSE_CARET 1
17346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17349 if test "$wxUSE_COMBOBOX" = "yes"; then
17350 cat >> confdefs.h
<<\EOF
17351 #define wxUSE_COMBOBOX 1
17357 if test "$wxUSE_CHOICE" = "yes"; then
17358 cat >> confdefs.h
<<\EOF
17359 #define wxUSE_CHOICE 1
17365 if test "$wxUSE_CHECKBOX" = "yes"; then
17366 cat >> confdefs.h
<<\EOF
17367 #define wxUSE_CHECKBOX 1
17373 if test "$wxUSE_CHECKLST" = "yes"; then
17374 cat >> confdefs.h
<<\EOF
17375 #define wxUSE_CHECKLISTBOX 1
17379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17382 if test "$wxUSE_GAUGE" = "yes"; then
17383 cat >> confdefs.h
<<\EOF
17384 #define wxUSE_GAUGE 1
17390 if test "$wxUSE_NEW_GRID" = "yes"; then
17392 cat >> confdefs.h
<<\EOF
17393 #define wxUSE_NEW_GRID 1
17397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17400 if test "$wxUSE_GRID" = "yes"; then
17401 cat >> confdefs.h
<<\EOF
17402 #define wxUSE_GRID 1
17406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17409 if test "$wxUSE_IMAGLIST" = "yes"; then
17410 cat >> confdefs.h
<<\EOF
17411 #define wxUSE_IMAGLIST 1
17416 if test "$wxUSE_LISTBOX" = "yes"; then
17417 cat >> confdefs.h
<<\EOF
17418 #define wxUSE_LISTBOX 1
17424 if test "$wxUSE_LISTCTRL" = "yes"; then
17425 if test "$wxUSE_IMAGLIST" = "yes"; then
17426 cat >> confdefs.h
<<\EOF
17427 #define wxUSE_LISTCTRL 1
17431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17433 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17437 if test "$wxUSE_NOTEBOOK" = "yes"; then
17438 cat >> confdefs.h
<<\EOF
17439 #define wxUSE_NOTEBOOK 1
17443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17446 if test "$wxUSE_PROPSHEET" = "yes"; then
17447 cat >> confdefs.h
<<\EOF
17448 #define wxUSE_PROPSHEET 1
17452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17455 if test "$wxUSE_RADIOBOX" = "yes"; then
17456 cat >> confdefs.h
<<\EOF
17457 #define wxUSE_RADIOBOX 1
17463 if test "$wxUSE_RADIOBTN" = "yes"; then
17464 cat >> confdefs.h
<<\EOF
17465 #define wxUSE_RADIOBTN 1
17471 if test "$wxUSE_SASH" = "yes"; then
17472 cat >> confdefs.h
<<\EOF
17473 #define wxUSE_SASH 1
17476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17479 if test "$wxUSE_SCROLLBAR" = "yes"; then
17480 cat >> confdefs.h
<<\EOF
17481 #define wxUSE_SCROLLBAR 1
17485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17488 if test "$wxUSE_SLIDER" = "yes"; then
17489 cat >> confdefs.h
<<\EOF
17490 #define wxUSE_SLIDER 1
17496 if test "$wxUSE_SPINBTN" = "yes"; then
17497 cat >> confdefs.h
<<\EOF
17498 #define wxUSE_SPINBTN 1
17504 if test "$wxUSE_SPINCTRL" = "yes"; then
17505 cat >> confdefs.h
<<\EOF
17506 #define wxUSE_SPINCTRL 1
17512 if test "$wxUSE_SPLITTER" = "yes"; then
17513 cat >> confdefs.h
<<\EOF
17514 #define wxUSE_SPLITTER 1
17517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17520 if test "$wxUSE_STATBMP" = "yes"; then
17521 cat >> confdefs.h
<<\EOF
17522 #define wxUSE_STATBMP 1
17528 if test "$wxUSE_STATBOX" = "yes"; then
17529 cat >> confdefs.h
<<\EOF
17530 #define wxUSE_STATBOX 1
17536 if test "$wxUSE_STATTEXT" = "yes"; then
17537 cat >> confdefs.h
<<\EOF
17538 #define wxUSE_STATTEXT 1
17544 if test "$wxUSE_STATLINE" = "yes"; then
17545 if test "$wxUSE_WINE" = 1 ; then
17546 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17548 cat >> confdefs.h
<<\EOF
17549 #define wxUSE_STATLINE 1
17556 if test "$wxUSE_STATUSBAR" = "yes"; then
17557 cat >> confdefs.h
<<\EOF
17558 #define wxUSE_STATUSBAR 1
17563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17566 if test "$wxUSE_TABDIALOG" = "yes"; then
17567 cat >> confdefs.h
<<\EOF
17568 #define wxUSE_TAB_DIALOG 1
17571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17574 if test "$wxUSE_TEXTCTRL" = "yes"; then
17575 cat >> confdefs.h
<<\EOF
17576 #define wxUSE_TEXTCTRL 1
17580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17583 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17584 if test "$wxUSE_MAC" = 1; then
17585 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17589 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17590 cat >> confdefs.h
<<\EOF
17591 #define wxUSE_TOGGLEBTN 1
17598 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17599 cat >> confdefs.h
<<\EOF
17600 #define wxUSE_TOOLBAR_SIMPLE 1
17603 wxUSE_TOOLBAR
="yes"
17607 if test "$wxUSE_TOOLBAR" = "yes"; then
17608 cat >> confdefs.h
<<\EOF
17609 #define wxUSE_TOOLBAR 1
17614 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17615 wxUSE_TOOLBAR_NATIVE
="yes"
17618 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17619 cat >> confdefs.h
<<\EOF
17620 #define wxUSE_TOOLBAR_NATIVE 1
17626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17629 if test "$wxUSE_TOOLTIPS" = "yes"; then
17630 if test "$wxUSE_MOTIF" = 1; then
17631 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17633 if test "$wxUSE_WINE" = 1; then
17634 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17636 cat >> confdefs.h
<<\EOF
17637 #define wxUSE_TOOLTIPS 1
17644 if test "$wxUSE_TREECTRL" = "yes"; then
17645 if test "$wxUSE_IMAGLIST" = "yes"; then
17646 cat >> confdefs.h
<<\EOF
17647 #define wxUSE_TREECTRL 1
17651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17653 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17657 if test "$wxUSE_POPUPWIN" = "yes"; then
17658 if test "$wxUSE_MAC" = 1; then
17659 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17661 cat >> confdefs.h
<<\EOF
17662 #define wxUSE_POPUPWIN 1
17669 if test "$USES_CONTROLS" = 1; then
17670 cat >> confdefs.h
<<\EOF
17671 #define wxUSE_CONTROLS 1
17677 if test "$wxUSE_TREELAYOUT" = "yes"; then
17678 cat >> confdefs.h
<<\EOF
17679 #define wxUSE_TREELAYOUT 1
17682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17685 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17686 cat >> confdefs.h
<<\EOF
17687 #define wxUSE_DRAGIMAGE 1
17690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17693 if test "$wxUSE_MENUS" = "yes"; then
17694 cat >> confdefs.h
<<\EOF
17695 #define wxUSE_MENUS 1
17698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17701 if test "$wxUSE_METAFILE" = "yes"; then
17702 cat >> confdefs.h
<<\EOF
17703 #define wxUSE_METAFILE 1
17708 if test "$wxUSE_MIMETYPE" = "yes"; then
17709 cat >> confdefs.h
<<\EOF
17710 #define wxUSE_MIMETYPE 1
17715 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17716 cat >> confdefs.h
<<\EOF
17717 #define wxUSE_SYSTEM_OPTIONS 1
17722 if test "$wxUSE_MINIFRAME" = "yes"; then
17723 cat >> confdefs.h
<<\EOF
17724 #define wxUSE_MINIFRAME 1
17727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17730 if test "$wxUSE_HTML" = "yes"; then
17731 cat >> confdefs.h
<<\EOF
17732 #define wxUSE_HTML 1
17735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17736 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17739 if test "$wxUSE_VALIDATORS" = "yes"; then
17740 cat >> confdefs.h
<<\EOF
17741 #define wxUSE_VALIDATORS 1
17744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17747 if test "$wxUSE_IMAGE" = "yes" ; then
17748 cat >> confdefs.h
<<\EOF
17749 #define wxUSE_IMAGE 1
17754 if test "$wxUSE_GIF" = "yes" ; then
17755 cat >> confdefs.h
<<\EOF
17756 #define wxUSE_GIF 1
17761 if test "$wxUSE_PCX" = "yes" ; then
17762 cat >> confdefs.h
<<\EOF
17763 #define wxUSE_PCX 1
17768 if test "$wxUSE_PNM" = "yes" ; then
17769 cat >> confdefs.h
<<\EOF
17770 #define wxUSE_PNM 1
17775 if test "$wxUSE_XPM" = "yes" ; then
17776 cat >> confdefs.h
<<\EOF
17777 #define wxUSE_XPM 1
17783 if test "$wxUSE_CHOICEDLG" = "yes"; then
17784 cat >> confdefs.h
<<\EOF
17785 #define wxUSE_CHOICEDLG 1
17790 if test "$wxUSE_COLOURDLG" = "yes"; then
17791 cat >> confdefs.h
<<\EOF
17792 #define wxUSE_COLOURDLG 1
17797 if test "$wxUSE_FILEDLG" = "yes"; then
17798 cat >> confdefs.h
<<\EOF
17799 #define wxUSE_FILEDLG 1
17804 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17805 cat >> confdefs.h
<<\EOF
17806 #define wxUSE_FINDREPLDLG 1
17811 if test "$wxUSE_FONTDLG" = "yes"; then
17812 cat >> confdefs.h
<<\EOF
17813 #define wxUSE_FONTDLG 1
17818 if test "$wxUSE_DIRDLG" = "yes"; then
17819 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17820 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17822 if test "$wxUSE_TREECTRL" != "yes"; then
17823 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17825 cat >> confdefs.h
<<\EOF
17826 #define wxUSE_DIRDLG 1
17833 if test "$wxUSE_MSGDLG" = "yes"; then
17834 cat >> confdefs.h
<<\EOF
17835 #define wxUSE_MSGDLG 1
17840 if test "$wxUSE_NUMBERDLG" = "yes"; then
17841 cat >> confdefs.h
<<\EOF
17842 #define wxUSE_NUMBERDLG 1
17847 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17848 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17849 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17851 cat >> confdefs.h
<<\EOF
17852 #define wxUSE_PROGRESSDLG 1
17858 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17859 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17860 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17862 cat >> confdefs.h
<<\EOF
17863 #define wxUSE_STARTUP_TIPS 1
17869 if test "$wxUSE_TEXTDLG" = "yes"; then
17870 cat >> confdefs.h
<<\EOF
17871 #define wxUSE_TEXTDLG 1
17876 if test "$wxUSE_WIZARDDLG" = "yes"; then
17877 cat >> confdefs.h
<<\EOF
17878 #define wxUSE_WIZARDDLG 1
17881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17885 if test "$cross_compiling" = "yes"; then
17888 OSINFO
=`uname -s -r -m`
17889 OSINFO
="\"$OSINFO\""
17892 cat >> confdefs.h
<<EOF
17893 #define WXWIN_OS_DESCRIPTION $OSINFO
17898 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17899 OPENGL_LIBS
="$OPENGL_LINK"
17901 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17902 if test "$wxUSE_MAC" = 1 ; then
17903 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17905 if test "$wxUSE_GUI" = "yes"; then
17906 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17909 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17911 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17912 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17913 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17915 if test "$wxUSE_GTK" = 1; then
17916 WXCONFIG_INCLUDE
=""
17918 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17921 if test "$GXX" = yes ; then
17922 CXXWARNINGS
="-Wall"
17924 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17926 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17927 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17929 LDFLAGS
="$LDFLAGS $PROFILE"
17931 if test "$wxUSE_GUI" = "yes"; then
17933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17934 drawing dynamic erase event exec font image \
17935 minimal richedit rotate widgets"
17937 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17941 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17943 SAMPLES_SUBDIRS
="console"
17946 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18042 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18043 echo "configure:18044: checking whether ${MAKE-make} sets \${MAKE}" >&5
18044 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18045 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18046 echo $ac_n "(cached) $ac_c" 1>&6
18048 cat > conftestmake
<<\EOF
18050 @
echo 'ac_maketemp="${MAKE}"'
18052 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18053 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18054 if test -n "$ac_maketemp"; then
18055 eval ac_cv_prog_make_
${ac_make}_set
=yes
18057 eval ac_cv_prog_make_
${ac_make}_set
=no
18061 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18062 echo "$ac_t""yes" 1>&6
18065 echo "$ac_t""no" 1>&6
18066 SET_MAKE
="MAKE=${MAKE-make}"
18070 if test -d include
; then
18071 if test -d include
/wx
; then
18072 if test -d include
/wx
/${SETUPH_DIR}; then
18073 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
18074 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
18082 if test "$wxUSE_GUI" = "yes"; then
18083 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18084 wx_cv_path_ifs
=$PATH_IFS
18085 wx_cv_program_ext
=$PROGRAM_EXT
18086 wx_cv_target_library
=$WX_TARGET_LIBRARY
18087 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18088 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18089 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18090 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18091 subdirs
="demos samples utils contrib"
18096 cat > confcache
<<\EOF
18097 # This file is a shell script that caches the results of configure
18098 # tests run on this system so they can be shared between configure
18099 # scripts and configure runs. It is not useful on other systems.
18100 # If it contains results you don't want to keep, you may remove or edit it.
18102 # By default, configure uses ./config.cache as the cache file,
18103 # creating it if it does not exist already. You can give configure
18104 # the --cache-file=FILE option to use a different cache file; that is
18105 # what configure does when it calls configure scripts in
18106 # subdirectories, so they share the cache.
18107 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18108 # config.status only pays attention to the cache file if you give it the
18109 # --recheck option to rerun configure.
18112 # The following way of writing the cache mishandles newlines in values,
18113 # but we know of no workaround that is simple, portable, and efficient.
18114 # So, don't put newlines in cache variables' values.
18115 # Ultrix sh set writes to stderr and can't be redirected directly,
18116 # and sets the high bit in the cache file unless we assign to the vars.
18118 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18120 # `set' does not quote correctly, so add quotes (double-quote substitution
18121 # turns \\\\ into \\, and sed turns \\ into \).
18123 -e "s/'/'\\\\''/g" \
18124 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18127 # `set' quotes correctly as required by POSIX, so do not add quotes.
18128 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18131 if cmp -s $cache_file confcache
; then
18134 if test -w $cache_file; then
18135 echo "updating cache $cache_file"
18136 cat confcache
> $cache_file
18138 echo "not updating unwritable cache $cache_file"
18143 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18145 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18146 # Let make expand exec_prefix.
18147 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18149 # Any assignment to VPATH causes Sun make to only execute
18150 # the first set of double-colon rules, so remove it if not needed.
18151 # If there is a colon in the path, we need to keep it.
18152 if test "x$srcdir" = x.
; then
18153 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18156 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18158 DEFS
=-DHAVE_CONFIG_H
18160 # Without the "./", some shells look in PATH for config.status.
18161 : ${CONFIG_STATUS=./config.status}
18163 echo creating
$CONFIG_STATUS
18164 rm -f $CONFIG_STATUS
18165 cat > $CONFIG_STATUS <<EOF
18167 # Generated automatically by configure.
18168 # Run this file to recreate the current configuration.
18169 # This directory was configured as follows,
18170 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18172 # $0 $ac_configure_args
18174 # Compiler output produced by configure, useful for debugging
18175 # configure, is in ./config.log if it exists.
18177 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18180 case "\$ac_option" in
18181 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18182 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18183 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18184 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18185 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18187 -help | --help | --hel | --he | --h)
18188 echo "\$ac_cs_usage"; exit 0 ;;
18189 *) echo "\$ac_cs_usage"; exit 1 ;;
18193 ac_given_srcdir=$srcdir
18194 ac_given_INSTALL="$INSTALL"
18196 trap 'rm -fr `echo "
18202 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18204 cat >> $CONFIG_STATUS <<EOF
18206 # Protect against being on the right side of a sed subst in config.status.
18207 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18208 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18212 s%@CFLAGS@%$CFLAGS%g
18213 s%@CPPFLAGS@%$CPPFLAGS%g
18214 s%@CXXFLAGS@%$CXXFLAGS%g
18215 s%@FFLAGS@%$FFLAGS%g
18217 s%@LDFLAGS@%$LDFLAGS%g
18219 s%@exec_prefix@%$exec_prefix%g
18220 s%@prefix@%$prefix%g
18221 s%@program_transform_name@%$program_transform_name%g
18222 s%@bindir@%$bindir%g
18223 s%@sbindir@%$sbindir%g
18224 s%@libexecdir@%$libexecdir%g
18225 s%@datadir@%$datadir%g
18226 s%@sysconfdir@%$sysconfdir%g
18227 s%@sharedstatedir@%$sharedstatedir%g
18228 s%@localstatedir@%$localstatedir%g
18229 s%@libdir@%$libdir%g
18230 s%@includedir@%$includedir%g
18231 s%@oldincludedir@%$oldincludedir%g
18232 s%@infodir@%$infodir%g
18233 s%@mandir@%$mandir%g
18235 s%@host_alias@%$host_alias%g
18236 s%@host_cpu@%$host_cpu%g
18237 s%@host_vendor@%$host_vendor%g
18238 s%@host_os@%$host_os%g
18239 s%@target@%$target%g
18240 s%@target_alias@%$target_alias%g
18241 s%@target_cpu@%$target_cpu%g
18242 s%@target_vendor@%$target_vendor%g
18243 s%@target_os@%$target_os%g
18245 s%@build_alias@%$build_alias%g
18246 s%@build_cpu@%$build_cpu%g
18247 s%@build_vendor@%$build_vendor%g
18248 s%@build_os@%$build_os%g
18252 s%@CXXCPP@%$CXXCPP%g
18253 s%@RANLIB@%$RANLIB%g
18255 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18256 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18257 s%@INSTALL_DATA@%$INSTALL_DATA%g
18261 s%@LEXLIB@%$LEXLIB%g
18263 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18264 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18265 s%@GTK_LIBS@%$GTK_LIBS%g
18266 s%@GTK_CONFIG@%$GTK_CONFIG%g
18267 s%@X_CFLAGS@%$X_CFLAGS%g
18268 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18269 s%@X_LIBS@%$X_LIBS%g
18270 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18273 s%@LEX_STEM@%$LEX_STEM%g
18274 s%@PATH_IFS@%$PATH_IFS%g
18275 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18276 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18277 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18278 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18279 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18280 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18281 s%@WX_LIBRARY@%$WX_LIBRARY%g
18282 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18283 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18284 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18285 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18286 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18287 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18288 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18289 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18290 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18291 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18292 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18293 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18294 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18295 s%@WX_ALL@%$WX_ALL%g
18296 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18297 s%@SHARED_LD@%$SHARED_LD%g
18298 s%@PIC_FLAG@%$PIC_FLAG%g
18299 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18300 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18301 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18302 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18303 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18304 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18305 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18306 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18307 s%@USE_GUI@%$USE_GUI%g
18308 s%@AFMINSTALL@%$AFMINSTALL%g
18309 s%@SETUPH_DIR@%$SETUPH_DIR%g
18310 s%@TOOLKIT@%$TOOLKIT%g
18311 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18312 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18313 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18314 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18315 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18316 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18317 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18318 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18319 s%@GUIDIST@%$GUIDIST%g
18320 s%@PORT_FILES@%$PORT_FILES%g
18321 s%@DISTDIR@%$DISTDIR%g
18322 s%@RPM_SPEC@%$RPM_SPEC%g
18323 s%@RPM_FILES@%$RPM_FILES%g
18324 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18325 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18326 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18327 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18328 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18329 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18330 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18331 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18332 s%@EXTRADEFS@%$EXTRADEFS%g
18333 s%@LD_LIBS@%$LD_LIBS%g
18334 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18335 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18336 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18337 s%@RESPROGRAM@%$RESPROGRAM%g
18338 s%@RESCOMP@%$RESCOMP%g
18339 s%@RESFLAGS@%$RESFLAGS%g
18340 s%@REZFLAGS@%$REZFLAGS%g
18341 s%@DEREZFLAGS@%$DEREZFLAGS%g
18342 s%@LIBWXMACRES@%$LIBWXMACRES%g
18343 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18344 s%@DLLTOOL@%$DLLTOOL%g
18348 s%@MAKEINFO@%$MAKEINFO%g
18349 s%@SET_MAKE@%$SET_MAKE%g
18350 s%@subdirs@%$subdirs%g
18355 cat >> $CONFIG_STATUS <<\EOF
18357 # Split the substitutions into bite-sized pieces for seds with
18358 # small command number limits, like on Digital OSF/1 and HP-UX.
18359 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18360 ac_file
=1 # Number of current file.
18361 ac_beg
=1 # First line for current file.
18362 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18365 while $ac_more_lines; do
18366 if test $ac_beg -gt 1; then
18367 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18369 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18371 if test ! -s conftest.s
$ac_file; then
18372 ac_more_lines
=false
18373 rm -f conftest.s
$ac_file
18375 if test -z "$ac_sed_cmds"; then
18376 ac_sed_cmds
="sed -f conftest.s$ac_file"
18378 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18380 ac_file
=`expr $ac_file + 1`
18382 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18385 if test -z "$ac_sed_cmds"; then
18390 cat >> $CONFIG_STATUS <<EOF
18392 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18399 cat >> $CONFIG_STATUS <<\EOF
18400 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18401 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18403 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18404 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18405 *) ac_file_in
="${ac_file}.in" ;;
18408 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18410 # Remove last slash and all that follows it. Not all systems have dirname.
18411 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18412 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18413 # The file is in a subdirectory.
18414 test ! -d "$ac_dir" && mkdir "$ac_dir"
18415 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18416 # A "../" for each directory in $ac_dir_suffix.
18417 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18419 ac_dir_suffix
= ac_dots
=
18422 case "$ac_given_srcdir" in
18424 if test -z "$ac_dots"; then top_srcdir
=.
18425 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18426 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18427 *) # Relative path.
18428 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18429 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18432 case "$ac_given_INSTALL" in
18433 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18434 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18437 echo creating
"$ac_file"
18439 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18441 *Makefile
*) ac_comsub
="1i\\
18442 # $configure_input" ;;
18446 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18448 s%@configure_input@%$configure_input%g
18449 s%@srcdir@%$srcdir%g
18450 s%@top_srcdir@%$top_srcdir%g
18451 s%@INSTALL@%$INSTALL%g
18452 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18456 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18457 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18459 # ac_d sets the value in "#define NAME VALUE" lines.
18460 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18461 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18464 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18465 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18466 ac_uB
='\([ ]\)%\1#\2define\3'
18469 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18470 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18471 ac_eB
='$%\1#\2define\3'
18475 if test "${CONFIG_HEADERS+set}" != set; then
18477 cat >> $CONFIG_STATUS <<EOF
18478 CONFIG_HEADERS="setup.h:setup.h.in"
18480 cat >> $CONFIG_STATUS <<\EOF
18482 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18483 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18485 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18486 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18487 *) ac_file_in
="${ac_file}.in" ;;
18490 echo creating
$ac_file
18492 rm -f conftest.frag conftest.
in conftest.out
18493 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18494 cat $ac_file_inputs > conftest.
in
18498 # Transform confdefs.h into a sed script conftest.vals that substitutes
18499 # the proper values into config.h.in to produce config.h. And first:
18500 # Protect against being on the right side of a sed subst in config.status.
18501 # Protect against being in an unquoted here document in config.status.
18502 rm -f conftest.vals
18503 cat > conftest.hdr
<<\EOF
18506 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18510 sed -n -f conftest.hdr confdefs.h > conftest.vals
18513 # This sed command replaces #undef with comments. This is necessary, for
18514 # example, in the case of _POSIX_SOURCE, which is predefined and required
18515 # on some systems where configure will not decide to define it.
18516 cat >> conftest.vals <<\EOF
18517 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18520 # Break up conftest.vals because some shells have a limit on
18521 # the size of here documents, and old seds have small limits too.
18523 rm -f conftest.tail
18526 ac_lines=`grep -c . conftest.vals
`
18527 # grep -c gives empty output for an empty file on some AIX systems.
18528 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18529 # Write a limited-size here document to conftest.frag.
18530 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18531 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18533 sed -f conftest.frag conftest.in > conftest.out
18535 mv conftest.out conftest.in
18536 ' >> $CONFIG_STATUS
18537 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18538 rm -f conftest.vals
18539 mv conftest.tail conftest.vals
18541 rm -f conftest.vals
18543 cat >> $CONFIG_STATUS <<\EOF
18544 rm -f conftest.frag conftest.h
18545 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18546 cat conftest.in >> conftest.h
18548 if cmp -s $ac_file conftest.h 2>/dev/null; then
18549 echo "$ac_file is unchanged"
18552 # Remove last slash and all that follows it. Not all systems have dirname.
18553 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18554 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18555 # The file is in a subdirectory.
18556 test ! -d "$ac_dir" && mkdir "$ac_dir"
18559 mv conftest.h $ac_file
18564 cat >> $CONFIG_STATUS <<EOF
18566 SETUPH_DIR="${SETUPH_DIR}"
18567 TOOLKIT_NAME="${TOOLKIT_NAME}"
18572 cat >> $CONFIG_STATUS <<\EOF
18574 if test ! -f wx${TOOLKIT_NAME}-config; then
18576 mv wx-config wx${TOOLKIT_NAME}-config
18577 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18581 if test ! -d lib; then
18584 if test ! -d lib/wx; then
18587 if test ! -d lib/wx/include; then
18588 mkdir lib/wx/include
18590 if test ! -d lib/wx/include/wx; then
18591 mkdir lib/wx/include/wx
18593 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18594 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18596 if test -f setup.h; then
18597 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18601 if test ! -d include; then
18604 if test ! -d include/wx; then
18607 if test ! -d include/wx/${SETUPH_DIR}; then
18608 mkdir include/wx/${SETUPH_DIR}
18610 if test -f setup.h; then
18611 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18617 chmod +x $CONFIG_STATUS
18618 rm -fr confdefs* $ac_clean_files
18619 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18621 if test "$no_recursion" != yes; then
18623 # Remove --cache-file and --srcdir arguments so they do not pile up.
18624 ac_sub_configure_args=
18626 for ac_arg in $ac_configure_args; do
18627 if test -n "$ac_prev"; then
18632 -cache-file | --cache-file | --cache-fil | --cache-fi \
18633 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18634 ac_prev=cache_file ;;
18635 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18636 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18638 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18640 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18642 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18646 for ac_config_dir in demos samples utils contrib; do
18648 # Do not complain, so a configure script can configure whichever
18649 # parts of a large source tree are present.
18650 if test ! -d $srcdir/$ac_config_dir; then
18654 echo configuring in $ac_config_dir
18659 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18661 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18669 # A "../" for each directory in /$ac_config_dir.
18670 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18673 .) # No --srcdir option. We are building in place.
18674 ac_sub_srcdir=$srcdir ;;
18675 /*) # Absolute path.
18676 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18677 *) # Relative path.
18678 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18681 # Check for guested configure; otherwise get Cygnus style configure.
18682 if test -f $ac_sub_srcdir/configure; then
18683 ac_sub_configure=$ac_sub_srcdir/configure
18684 elif test -f $ac_sub_srcdir/configure.in; then
18685 ac_sub_configure=$ac_configure
18687 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18691 # The recursion is here.
18692 if test -n "$ac_sub_configure"; then
18694 # Make the cache file name correct relative to the subdirectory.
18695 case "$cache_file" in
18696 /*) ac_sub_cache_file=$cache_file ;;
18697 *) # Relative path.
18698 ac_sub_cache_file="$ac_dots$cache_file" ;;
18700 case "$ac_given_INSTALL" in
18701 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18702 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18705 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18706 # The eval makes quoting arguments work.
18707 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18710 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }