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-msw use MS-Windows"
73 --with-pm use OS/2 Presentation Manager"
75 --with-mgl use SciTech MGL"
77 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
79 --with-libpng use libpng (PNG image format)"
81 --with-libjpeg use libjpeg (JPEG file format)"
83 --with-libtiff use libtiff (TIFF file format)"
85 --with-freetype use freetype (font rasterizer)"
87 --with-opengl use OpenGL (or Mesa)"
89 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
91 --with-regex enable support for wxRegEx class"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-soname set the DT_SONAME field in ELF shared libraries"
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-precomp enable use of precompiled headers (Mac OS X)"
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 C++ exceptions handling"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWindows 2.0 compatibility"
129 --enable-compat22 enable wxWindows 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-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-sysoptions use wxSystemOptions"
197 --enable-threads use threads"
199 --enable-serial use class serialization"
201 --enable-docview use document view architecture"
203 --enable-help use help subsystem"
205 --enable-mshtmlhelp use MS HTML Help (win32)"
207 --enable-html use wxHTML sub-library"
209 --enable-htmlhelp use wxHTML-based help"
211 --enable-constraints use layout-constraints system"
213 --enable-printarch use printing architecture"
215 --enable-mdi use multiple document interface architecture"
217 --enable-loggui use standard GUI logger"
219 --enable-logwin use wxLogWindow"
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223 --enable-prologio use Prolog IO library"
225 --enable-resources use wxWindows resources"
227 --enable-xresources use X resources for save (default for gtk+)"
229 --enable-clipboard use wxClipboard classes"
231 --enable-dnd use Drag'n'Drop classes"
233 --enable-metafile use win32 metafiles"
235 --enable-treelayout use wxTreeLayout classes"
237 --enable-controls use all usual controls"
239 --enable-accel use accelerators"
241 --enable-button use wxButton class"
243 --enable-bmpbutton use wxBitmapButton class"
245 --enable-calendar use wxCalendarCtrl class"
247 --enable-caret use wxCaret class"
249 --enable-checkbox use wxCheckBox class"
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253 --enable-choice use wxChoice class"
255 --enable-combobox use wxComboBox classes"
257 --enable-gauge use wxGauge class"
259 --enable-grid use wxGrid class"
261 --enable-newgrid use new wxGrid class"
263 --enable-imaglist use wxImageList class"
265 --enable-listbox use wxListBox class"
267 --enable-listctrl use wxListCtrl class"
269 --enable-notebook use wxNotebook class"
271 --enable-propsheet use wxPropertySheet class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use all common dialogs"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-finddlg use wxFindReplaceDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-splash use wxSplashScreen"
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 use wxJoystick (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-palette use wxPalette class"
363 --enable-image use wxImage class"
365 --enable-gif use gif images (GIF file format)"
367 --enable-pcx use pcx images (PCX file format)"
369 --enable-pnm use pnm images (PNM file format)"
371 --enable-xpm use xpm images (XPM file format)"
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
377 --disable-gtktest Do not try to compile and run a test GTK program"
379 --with-x use the X Window System"
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
385 cache_file
=.
/config.cache
394 program_transform_name
=s
,x
,x
,
402 bindir
='${exec_prefix}/bin'
403 sbindir
='${exec_prefix}/sbin'
404 libexecdir
='${exec_prefix}/libexec'
405 datadir
='${prefix}/share'
406 sysconfdir
='${prefix}/etc'
407 sharedstatedir
='${prefix}/com'
408 localstatedir
='${prefix}/var'
409 libdir
='${exec_prefix}/lib'
410 includedir
='${prefix}/include'
411 oldincludedir
='/usr/include'
412 infodir
='${prefix}/info'
413 mandir
='${prefix}/man'
415 # Initialize some other variables.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
434 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
438 # Accept the important Cygnus configure options, so we can diagnose typos.
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir
="$ac_optarg" ;;
447 -build | --build | --buil | --bui | --bu)
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build
="$ac_optarg" ;;
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev
=cache_file
;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file
="$ac_optarg" ;;
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
463 datadir
="$ac_optarg" ;;
465 -disable-* | --disable-*)
466 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
471 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
474 -enable-* | --enable-*)
475 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
480 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev
=exec_prefix
;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix
="$ac_optarg" ;;
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
555 -host | --host | --hos | --ho)
557 -host=* | --host=* | --hos=* | --ho=*)
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev
=includedir
;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir
="$ac_optarg" ;;
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir
="$ac_optarg" ;;
572 -libdir | --libdir | --libdi | --libd)
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir
="$ac_optarg" ;;
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev
=libexecdir
;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir
="$ac_optarg" ;;
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev
=localstatedir
;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir
="$ac_optarg" ;;
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir
="$ac_optarg" ;;
599 # Obsolete; use --without-fp.
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev
=oldincludedir
;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir
="$ac_optarg" ;;
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix
="$ac_optarg" ;;
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev
=program_prefix
;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix
="$ac_optarg" ;;
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev
=program_suffix
;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix
="$ac_optarg" ;;
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev
=program_transform_name
;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name
="$ac_optarg" ;;
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
663 sbindir
="$ac_optarg" ;;
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
669 ac_prev
=sharedstatedir
;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
674 sharedstatedir
="$ac_optarg" ;;
676 -site | --site | --sit)
678 -site=* | --site=* | --sit=*)
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir
="$ac_optarg" ;;
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev
=sysconfdir
;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir
="$ac_optarg" ;;
693 -target | --target | --targe | --targ | --tar | --ta | --t)
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target
="$ac_optarg" ;;
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
706 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
711 ac_package
=`echo $ac_package| sed 's/-/_/g'`
716 eval "with_${ac_package}='$ac_optarg'" ;;
718 -without-* | --without-*)
719 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
724 ac_package
=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
728 # Obsolete; use --with-x.
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev
=x_includes
;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes
="$ac_optarg" ;;
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev
=x_libraries
;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries
="$ac_optarg" ;;
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
752 if test "x$nonopt" != xNONE
; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
767 # File descriptor usage:
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest
* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file
=wx
-config.
in
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted
=yes
825 # Try the directory containing this script, then its parent.
827 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
830 if test ! -r $srcdir/$ac_unique_file; then
834 ac_srcdir_defaulted
=no
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE
; then
848 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file
in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
864 echo "creating cache $cache_file"
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp
='$CPP $CPPFLAGS'
871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling
=$ac_cv_prog_cc_cross
877 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
886 ac_n
= ac_c
='\c' ac_t
=
892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
893 if test -f $ac_dir/install-sh; then
895 ac_install_sh
="$ac_aux_dir/install-sh -c"
897 elif test -f $ac_dir/install.sh
; then
899 ac_install_sh
="$ac_aux_dir/install.sh -c"
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
906 ac_config_guess
=$ac_aux_dir/config.guess
907 ac_config_sub
=$ac_aux_dir/config.sub
908 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
911 # Do some error checking and defaulting for the host and target type.
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
941 case "$host_alias" in
945 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
948 *) host_alias
=$nonopt ;;
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
962 case "$target_alias" in
965 NONE
) target_alias
=$host_alias ;;
966 *) target_alias
=$nonopt ;;
970 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
980 case "$build_alias" in
983 NONE
) build_alias
=$host_alias ;;
984 *) build_alias
=$nonopt ;;
988 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
997 program_prefix
=${target_alias}-
1001 WX_MAJOR_VERSION_NUMBER
=2
1002 WX_MINOR_VERSION_NUMBER
=3
1005 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1006 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1040 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1042 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1047 DEFAULT_wxUSE_MOTIF
=0
1050 DEFAULT_wxUSE_WINE
=0
1052 DEFAULT_DEFAULT_wxUSE_GTK
=0
1053 DEFAULT_DEFAULT_wxUSE_MAC
=0
1054 DEFAULT_DEFAULT_wxUSE_MGL
=0
1055 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1056 DEFAULT_DEFAULT_wxUSE_MSW
=0
1057 DEFAULT_DEFAULT_wxUSE_PM
=0
1058 DEFAULT_DEFAULT_wxUSE_WINE
=0
1066 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1069 cat >> confdefs.h
<<\EOF
1076 cat >> confdefs.h
<<\EOF
1081 if test "x$TMP" = "xalpha"; then
1083 cat >> confdefs.h
<<\EOF
1088 if test "x$TMP" = "xia64"; then
1090 cat >> confdefs.h
<<\EOF
1095 DEFAULT_DEFAULT_wxUSE_GTK
=1
1097 *-*-irix5* | *-*-irix6* )
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1108 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define __SOLARIS__ 1
1122 cat >> confdefs.h
<<\EOF
1126 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1127 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 cat >> confdefs.h
<<\EOF
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1150 cat >> confdefs.h
<<\EOF
1151 #define __FREEBSD__ 1
1154 cat >> confdefs.h
<<\EOF
1158 DEFAULT_DEFAULT_wxUSE_GTK
=1
1163 cat >> confdefs.h
<<\EOF
1164 #define __FREEBSD__ 1
1167 cat >> confdefs.h
<<\EOF
1168 #define __OPENBSD__ 1
1171 DEFAULT_DEFAULT_wxUSE_GTK
=1
1176 cat >> confdefs.h
<<\EOF
1177 #define __FREEBSD__ 1
1180 cat >> confdefs.h
<<\EOF
1181 #define __NETBSD__ 1
1184 DEFAULT_DEFAULT_wxUSE_GTK
=1
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1198 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1203 cat >> confdefs.h
<<\EOF
1207 cat >> confdefs.h
<<\EOF
1211 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 cat >> confdefs.h
<<\EOF
1242 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1245 *-*-cygwin* | *-*-mingw32* )
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1258 #define __WINDOWS__ 1
1261 cat >> confdefs.h
<<\EOF
1262 #define __GNUWIN32__ 1
1265 cat >> confdefs.h
<<\EOF
1269 cat >> confdefs.h
<<\EOF
1270 #define WINVER 0x0400
1275 DEFAULT_DEFAULT_wxUSE_MSW
=1
1278 *-pc-os2_emx | *-pc-os2-emx )
1279 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_PM
=1
1291 cat >> confdefs.h
<<\EOF
1295 cat >> confdefs.h
<<\EOF
1296 #define __DARWIN__ 1
1299 cat >> confdefs.h
<<\EOF
1300 #define __POWERPC__ 1
1303 DEFAULT_DEFAULT_wxUSE_MAC
=1
1308 cat >> confdefs.h
<<\EOF
1315 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1318 if test "$USE_UNIX" = 1 ; then
1320 cat >> confdefs.h
<<\EOF
1326 if test "$USE_LINUX" = 1; then
1327 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1328 echo "configure:1329: checking for glibc 2.1 or later" >&5
1329 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 cat > conftest.
$ac_ext <<EOF
1333 #line 1334 "configure"
1334 #include "confdefs.h"
1335 #include <features.h>
1338 #if !__GLIBC_PREREQ(2, 1)
1344 if { (eval echo configure
:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1350 echo "configure: failed program was:" >&5
1351 cat conftest.
$ac_ext >&5
1362 echo "$ac_t""$wx_lib_glibc21" 1>&6
1363 if test "$wx_lib_glibc21" = "yes"; then
1364 cat >> confdefs.h
<<\EOF
1365 #define wxHAVE_GLIBC2 1
1374 wx_arg_cache_file
="configarg.cache"
1375 echo "loading argument cache $wx_arg_cache_file"
1376 rm -f ${wx_arg_cache_file}.tmp
1377 touch ${wx_arg_cache_file}.tmp
1378 touch ${wx_arg_cache_file}
1382 if test $DEBUG_CONFIGURE = 1; then
1383 DEFAULT_wxUSE_UNIVERSAL
=no
1385 DEFAULT_wxUSE_THREADS
=yes
1387 DEFAULT_wxUSE_SHARED
=yes
1388 DEFAULT_wxUSE_SONAME
=no
1389 DEFAULT_wxUSE_OPTIMISE
=no
1390 DEFAULT_wxUSE_PROFILE
=no
1391 DEFAULT_wxUSE_NO_DEPS
=no
1392 DEFAULT_wxUSE_NO_RTTI
=yes
1393 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1394 DEFAULT_wxUSE_PERMISSIVE
=no
1395 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1396 DEFAULT_wxUSE_DEBUG_INFO
=yes
1397 DEFAULT_wxUSE_DEBUG_GDB
=yes
1398 DEFAULT_wxUSE_MEM_TRACING
=no
1399 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1400 DEFAULT_wxUSE_DMALLOC
=no
1401 DEFAULT_wxUSE_PRECOMP
=yes
1402 DEFAULT_wxUSE_APPLE_IEEE
=no
1404 DEFAULT_wxUSE_LOG
=yes
1405 DEFAULT_wxUSE_LOGWINDOW
=no
1406 DEFAULT_wxUSE_LOGGUI
=no
1408 DEFAULT_wxUSE_GUI
=yes
1409 DEFAULT_wxUSE_CONTROLS
=no
1411 DEFAULT_wxUSE_REGEX
=no
1412 DEFAULT_wxUSE_ZLIB
=no
1413 DEFAULT_wxUSE_LIBPNG
=no
1414 DEFAULT_wxUSE_LIBJPEG
=no
1415 DEFAULT_wxUSE_LIBTIFF
=no
1416 DEFAULT_wxUSE_ODBC
=no
1417 DEFAULT_wxUSE_FREETYPE
=no
1418 DEFAULT_wxUSE_OPENGL
=no
1420 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1421 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1422 DEFAULT_wxUSE_STD_IOSTREAM
=no
1423 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1424 DEFAULT_wxUSE_DATETIME
=no
1425 DEFAULT_wxUSE_TIMEDATE
=no
1426 DEFAULT_wxUSE_TIMER
=no
1427 DEFAULT_wxUSE_STOPWATCH
=no
1428 DEFAULT_wxUSE_FILE
=no
1429 DEFAULT_wxUSE_FFILE
=no
1430 DEFAULT_wxUSE_TEXTFILE
=no
1431 DEFAULT_wxUSE_WAVE
=no
1432 DEFAULT_wxUSE_INTL
=no
1433 DEFAULT_wxUSE_CONFIG
=no
1434 DEFAULT_wxUSE_FONTMAP
=no
1435 DEFAULT_wxUSE_STREAMS
=no
1436 DEFAULT_wxUSE_SOCKETS
=no
1437 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1438 DEFAULT_wxUSE_SERIAL
=no
1439 DEFAULT_wxUSE_JOYSTICK
=no
1440 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1441 DEFAULT_wxUSE_LONGLONG
=no
1442 DEFAULT_wxUSE_GEOMETRY
=no
1444 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1445 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1446 DEFAULT_wxUSE_POSTSCRIPT
=no
1448 DEFAULT_wxUSE_X_RESOURCES
=no
1449 DEFAULT_wxUSE_CLIPBOARD
=no
1450 DEFAULT_wxUSE_TOOLTIPS
=no
1451 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1452 DEFAULT_wxUSE_DRAGIMAGE
=no
1453 DEFAULT_wxUSE_SPLINES
=no
1455 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1456 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1457 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1459 DEFAULT_wxUSE_PROLOGIO
=no
1460 DEFAULT_wxUSE_RESOURCES
=no
1461 DEFAULT_wxUSE_CONSTRAINTS
=no
1462 DEFAULT_wxUSE_IPC
=no
1463 DEFAULT_wxUSE_HELP
=no
1464 DEFAULT_wxUSE_MS_HTML_HELP
=no
1465 DEFAULT_wxUSE_WXHTML_HELP
=no
1466 DEFAULT_wxUSE_TREELAYOUT
=no
1467 DEFAULT_wxUSE_METAFILE
=no
1468 DEFAULT_wxUSE_MIMETYPE
=no
1469 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1471 DEFAULT_wxUSE_COMMONDLGS
=no
1472 DEFAULT_wxUSE_CHOICEDLG
=no
1473 DEFAULT_wxUSE_COLOURDLG
=no
1474 DEFAULT_wxUSE_DIRDLG
=no
1475 DEFAULT_wxUSE_FILEDLG
=no
1476 DEFAULT_wxUSE_FINDREPLDLG
=no
1477 DEFAULT_wxUSE_FONTDLG
=no
1478 DEFAULT_wxUSE_MSGDLG
=no
1479 DEFAULT_wxUSE_NUMBERDLG
=no
1480 DEFAULT_wxUSE_TEXTDLG
=no
1481 DEFAULT_wxUSE_SPLASH
=no
1482 DEFAULT_wxUSE_STARTUP_TIPS
=no
1483 DEFAULT_wxUSE_PROGRESSDLG
=no
1484 DEFAULT_wxUSE_WIZARDDLG
=no
1486 DEFAULT_wxUSE_MENUS
=no
1487 DEFAULT_wxUSE_MINIFRAME
=no
1488 DEFAULT_wxUSE_HTML
=no
1489 DEFAULT_wxUSE_FILESYSTEM
=no
1490 DEFAULT_wxUSE_FS_INET
=no
1491 DEFAULT_wxUSE_FS_ZIP
=no
1492 DEFAULT_wxUSE_BUSYINFO
=no
1493 DEFAULT_wxUSE_ZIPSTREAM
=no
1494 DEFAULT_wxUSE_VALIDATORS
=no
1496 DEFAULT_wxUSE_ACCEL
=no
1497 DEFAULT_wxUSE_BUTTON
=no
1498 DEFAULT_wxUSE_BMPBUTTON
=no
1499 DEFAULT_wxUSE_CALCTRL
=no
1500 DEFAULT_wxUSE_CARET
=no
1501 DEFAULT_wxUSE_CHECKBOX
=no
1502 DEFAULT_wxUSE_CHECKLST
=no
1503 DEFAULT_wxUSE_CHOICE
=no
1504 DEFAULT_wxUSE_COMBOBOX
=no
1505 DEFAULT_wxUSE_GAUGE
=no
1506 DEFAULT_wxUSE_GRID
=no
1507 DEFAULT_wxUSE_NEW_GRID
=no
1508 DEFAULT_wxUSE_IMAGLIST
=no
1509 DEFAULT_wxUSE_LISTBOX
=no
1510 DEFAULT_wxUSE_LISTCTRL
=no
1511 DEFAULT_wxUSE_NOTEBOOK
=no
1512 DEFAULT_wxUSE_PROPSHEET
=no
1513 DEFAULT_wxUSE_RADIOBOX
=no
1514 DEFAULT_wxUSE_RADIOBTN
=no
1515 DEFAULT_wxUSE_SASH
=no
1516 DEFAULT_wxUSE_SCROLLBAR
=no
1517 DEFAULT_wxUSE_SLIDER
=no
1518 DEFAULT_wxUSE_SPINBTN
=no
1519 DEFAULT_wxUSE_SPINCTRL
=no
1520 DEFAULT_wxUSE_SPLITTER
=no
1521 DEFAULT_wxUSE_STATBMP
=no
1522 DEFAULT_wxUSE_STATBOX
=no
1523 DEFAULT_wxUSE_STATLINE
=no
1524 DEFAULT_wxUSE_STATTEXT
=no
1525 DEFAULT_wxUSE_STATUSBAR
=yes
1526 DEFAULT_wxUSE_TABDIALOG
=no
1527 DEFAULT_wxUSE_TEXTCTRL
=no
1528 DEFAULT_wxUSE_TOGGLEBTN
=no
1529 DEFAULT_wxUSE_TOOLBAR
=no
1530 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1531 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1532 DEFAULT_wxUSE_TREECTRL
=no
1533 DEFAULT_wxUSE_POPUPWIN
=no
1535 DEFAULT_wxUSE_UNICODE
=no
1536 DEFAULT_wxUSE_WCSRTOMBS
=no
1538 DEFAULT_wxUSE_PALETTE
=no
1539 DEFAULT_wxUSE_IMAGE
=no
1540 DEFAULT_wxUSE_GIF
=no
1541 DEFAULT_wxUSE_PCX
=no
1542 DEFAULT_wxUSE_PNM
=no
1543 DEFAULT_wxUSE_XPM
=no
1545 DEFAULT_wxUSE_UNIVERSAL
=no
1547 DEFAULT_wxUSE_THREADS
=yes
1549 DEFAULT_wxUSE_SHARED
=yes
1550 DEFAULT_wxUSE_SONAME
=no
1551 DEFAULT_wxUSE_OPTIMISE
=yes
1552 DEFAULT_wxUSE_PROFILE
=no
1553 DEFAULT_wxUSE_NO_DEPS
=no
1554 DEFAULT_wxUSE_NO_RTTI
=yes
1555 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1556 DEFAULT_wxUSE_PERMISSIVE
=no
1557 DEFAULT_wxUSE_DEBUG_FLAG
=no
1558 DEFAULT_wxUSE_DEBUG_INFO
=no
1559 DEFAULT_wxUSE_DEBUG_GDB
=no
1560 DEFAULT_wxUSE_MEM_TRACING
=no
1561 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1562 DEFAULT_wxUSE_DMALLOC
=no
1563 DEFAULT_wxUSE_PRECOMP
=yes
1564 DEFAULT_wxUSE_APPLE_IEEE
=yes
1566 DEFAULT_wxUSE_LOG
=yes
1567 DEFAULT_wxUSE_LOGWINDOW
=yes
1568 DEFAULT_wxUSE_LOGGUI
=yes
1570 DEFAULT_wxUSE_GUI
=yes
1572 DEFAULT_wxUSE_REGEX
=yes
1573 DEFAULT_wxUSE_ZLIB
=yes
1574 DEFAULT_wxUSE_LIBPNG
=yes
1575 DEFAULT_wxUSE_LIBJPEG
=yes
1576 DEFAULT_wxUSE_LIBTIFF
=yes
1577 DEFAULT_wxUSE_ODBC
=no
1578 DEFAULT_wxUSE_FREETYPE
=no
1579 DEFAULT_wxUSE_OPENGL
=no
1581 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1582 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1583 DEFAULT_wxUSE_STD_IOSTREAM
=no
1584 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1585 DEFAULT_wxUSE_DATETIME
=yes
1586 DEFAULT_wxUSE_TIMEDATE
=no
1587 DEFAULT_wxUSE_TIMER
=yes
1588 DEFAULT_wxUSE_STOPWATCH
=yes
1589 DEFAULT_wxUSE_FILE
=yes
1590 DEFAULT_wxUSE_FFILE
=yes
1591 DEFAULT_wxUSE_TEXTFILE
=yes
1592 DEFAULT_wxUSE_WAVE
=no
1593 DEFAULT_wxUSE_INTL
=yes
1594 DEFAULT_wxUSE_CONFIG
=yes
1595 DEFAULT_wxUSE_FONTMAP
=yes
1596 DEFAULT_wxUSE_STREAMS
=yes
1597 DEFAULT_wxUSE_SOCKETS
=yes
1598 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1599 DEFAULT_wxUSE_SERIAL
=yes
1600 DEFAULT_wxUSE_JOYSTICK
=yes
1601 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1602 DEFAULT_wxUSE_LONGLONG
=yes
1603 DEFAULT_wxUSE_GEOMETRY
=yes
1605 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1606 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1607 DEFAULT_wxUSE_POSTSCRIPT
=yes
1609 DEFAULT_wxUSE_X_RESOURCES
=no
1610 DEFAULT_wxUSE_CLIPBOARD
=yes
1611 DEFAULT_wxUSE_TOOLTIPS
=yes
1612 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1613 DEFAULT_wxUSE_DRAGIMAGE
=yes
1614 DEFAULT_wxUSE_SPLINES
=yes
1616 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1617 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1618 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1620 DEFAULT_wxUSE_PROLOGIO
=yes
1621 DEFAULT_wxUSE_RESOURCES
=yes
1622 DEFAULT_wxUSE_CONSTRAINTS
=yes
1623 DEFAULT_wxUSE_IPC
=yes
1624 DEFAULT_wxUSE_HELP
=yes
1625 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1626 DEFAULT_wxUSE_WXHTML_HELP
=yes
1627 DEFAULT_wxUSE_TREELAYOUT
=yes
1628 DEFAULT_wxUSE_METAFILE
=yes
1629 DEFAULT_wxUSE_MIMETYPE
=yes
1630 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1632 DEFAULT_wxUSE_COMMONDLGS
=yes
1633 DEFAULT_wxUSE_CHOICEDLG
=yes
1634 DEFAULT_wxUSE_COLOURDLG
=yes
1635 DEFAULT_wxUSE_DIRDLG
=yes
1636 DEFAULT_wxUSE_FILEDLG
=yes
1637 DEFAULT_wxUSE_FINDREPLDLG
=yes
1638 DEFAULT_wxUSE_FONTDLG
=yes
1639 DEFAULT_wxUSE_MSGDLG
=yes
1640 DEFAULT_wxUSE_NUMBERDLG
=yes
1641 DEFAULT_wxUSE_TEXTDLG
=yes
1642 DEFAULT_wxUSE_SPLASH
=yes
1643 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1644 DEFAULT_wxUSE_PROGRESSDLG
=yes
1645 DEFAULT_wxUSE_WIZARDDLG
=yes
1647 DEFAULT_wxUSE_MENUS
=yes
1648 DEFAULT_wxUSE_MINIFRAME
=yes
1649 DEFAULT_wxUSE_HTML
=yes
1650 DEFAULT_wxUSE_FILESYSTEM
=yes
1651 DEFAULT_wxUSE_FS_INET
=yes
1652 DEFAULT_wxUSE_FS_ZIP
=yes
1653 DEFAULT_wxUSE_BUSYINFO
=yes
1654 DEFAULT_wxUSE_ZIPSTREAM
=yes
1655 DEFAULT_wxUSE_VALIDATORS
=yes
1657 DEFAULT_wxUSE_ACCEL
=yes
1658 DEFAULT_wxUSE_BUTTON
=yes
1659 DEFAULT_wxUSE_BMPBUTTON
=yes
1660 DEFAULT_wxUSE_CALCTRL
=yes
1661 DEFAULT_wxUSE_CARET
=yes
1662 DEFAULT_wxUSE_CHECKBOX
=yes
1663 DEFAULT_wxUSE_CHECKLST
=yes
1664 DEFAULT_wxUSE_CHOICE
=yes
1665 DEFAULT_wxUSE_COMBOBOX
=yes
1666 DEFAULT_wxUSE_GAUGE
=yes
1667 DEFAULT_wxUSE_GRID
=yes
1668 DEFAULT_wxUSE_NEW_GRID
=yes
1669 DEFAULT_wxUSE_IMAGLIST
=yes
1670 DEFAULT_wxUSE_LISTBOX
=yes
1671 DEFAULT_wxUSE_LISTCTRL
=yes
1672 DEFAULT_wxUSE_NOTEBOOK
=yes
1673 DEFAULT_wxUSE_PROPSHEET
=yes
1674 DEFAULT_wxUSE_RADIOBOX
=yes
1675 DEFAULT_wxUSE_RADIOBTN
=yes
1676 DEFAULT_wxUSE_SASH
=yes
1677 DEFAULT_wxUSE_SCROLLBAR
=yes
1678 DEFAULT_wxUSE_SLIDER
=yes
1679 DEFAULT_wxUSE_SPINBTN
=yes
1680 DEFAULT_wxUSE_SPINCTRL
=yes
1681 DEFAULT_wxUSE_SPLITTER
=yes
1682 DEFAULT_wxUSE_STATBMP
=yes
1683 DEFAULT_wxUSE_STATBOX
=yes
1684 DEFAULT_wxUSE_STATLINE
=yes
1685 DEFAULT_wxUSE_STATTEXT
=yes
1686 DEFAULT_wxUSE_STATUSBAR
=yes
1687 DEFAULT_wxUSE_TABDIALOG
=no
1688 DEFAULT_wxUSE_TEXTCTRL
=yes
1689 DEFAULT_wxUSE_TOGGLEBTN
=yes
1690 DEFAULT_wxUSE_TOOLBAR
=yes
1691 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1692 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1693 DEFAULT_wxUSE_TREECTRL
=yes
1694 DEFAULT_wxUSE_POPUPWIN
=yes
1696 DEFAULT_wxUSE_UNICODE
=no
1697 DEFAULT_wxUSE_WCSRTOMBS
=no
1699 DEFAULT_wxUSE_PALETTE
=yes
1700 DEFAULT_wxUSE_IMAGE
=yes
1701 DEFAULT_wxUSE_GIF
=yes
1702 DEFAULT_wxUSE_PCX
=yes
1703 DEFAULT_wxUSE_PNM
=yes
1704 DEFAULT_wxUSE_XPM
=yes
1709 for toolkit
in `echo $ALL_TOOLKITS`; do
1710 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x
; then
1712 has_toolkit_in_cache
=1
1713 eval "DEFAULT_$LINE"
1714 eval "CACHE_$toolkit=1"
1720 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1721 echo "configure:1722: checking for --enable-gui" >&5
1723 # Check whether --enable-gui or --disable-gui was given.
1724 if test "${enable_gui+set}" = set; then
1725 enableval
="$enable_gui"
1727 if test "$enableval" = yes; then
1728 ac_cv_use_gui
='wxUSE_GUI=yes'
1730 ac_cv_use_gui
='wxUSE_GUI=no'
1735 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1736 if test "x$LINE" != x
; then
1737 eval "DEFAULT_$LINE"
1742 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1747 eval "$ac_cv_use_gui"
1748 if test "$no_cache" != 1; then
1749 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1752 if test "$wxUSE_GUI" = yes; then
1753 echo "$ac_t""yes" 1>&6
1755 echo "$ac_t""no" 1>&6
1759 if test "$wxUSE_GUI" = "yes"; then
1762 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1763 echo "configure:1764: checking for --enable-universal" >&5
1765 # Check whether --enable-universal or --disable-universal was given.
1766 if test "${enable_universal+set}" = set; then
1767 enableval
="$enable_universal"
1769 if test "$enableval" = yes; then
1770 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1772 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1777 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1778 if test "x$LINE" != x
; then
1779 eval "DEFAULT_$LINE"
1784 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1789 eval "$ac_cv_use_universal"
1790 if test "$no_cache" != 1; then
1791 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1794 if test "$wxUSE_UNIVERSAL" = yes; then
1795 echo "$ac_t""yes" 1>&6
1797 echo "$ac_t""no" 1>&6
1800 # Check whether --with-gtk or --without-gtk was given.
1801 if test "${with_gtk+set}" = set; then
1803 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1806 # Check whether --with-motif or --without-motif was given.
1807 if test "${with_motif+set}" = set; then
1808 withval
="$with_motif"
1809 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1812 # Check whether --with-mac or --without-mac was given.
1813 if test "${with_mac+set}" = set; then
1815 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1818 # Check whether --with-wine or --without-wine was given.
1819 if test "${with_wine+set}" = set; then
1820 withval
="$with_wine"
1821 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1824 # Check whether --with-msw or --without-msw was given.
1825 if test "${with_msw+set}" = set; then
1827 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1830 # Check whether --with-pm or --without-pm was given.
1831 if test "${with_pm+set}" = set; then
1833 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1836 # Check whether --with-mgl or --without-mgl was given.
1837 if test "${with_mgl+set}" = set; then
1839 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1843 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1844 if test "${enable_gtk2+set}" = set; then
1845 enableval
="$enable_gtk2"
1853 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1854 echo "configure:1855: checking for --with-libpng" >&5
1856 # Check whether --with-libpng or --without-libpng was given.
1857 if test "${with_libpng+set}" = set; then
1858 withval
="$with_libpng"
1860 if test "$withval" = yes; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1862 elif test "$withval" = no
; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1864 elif test "$withval" = sys
; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1866 elif test "$withval" = builtin; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1869 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1874 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x
; then
1876 eval "DEFAULT_$LINE"
1881 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1886 eval "$ac_cv_use_libpng"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1891 if test "$wxUSE_LIBPNG" = yes; then
1892 echo "$ac_t""yes" 1>&6
1893 elif test "$wxUSE_LIBPNG" = no
; then
1894 echo "$ac_t""no" 1>&6
1895 elif test "$wxUSE_LIBPNG" = sys
; then
1896 echo "$ac_t""system version" 1>&6
1897 elif test "$wxUSE_LIBPNG" = builtin; then
1898 echo "$ac_t""builtin version" 1>&6
1900 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1904 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1905 echo "configure:1906: checking for --with-libjpeg" >&5
1907 # Check whether --with-libjpeg or --without-libjpeg was given.
1908 if test "${with_libjpeg+set}" = set; then
1909 withval
="$with_libjpeg"
1911 if test "$withval" = yes; then
1912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1913 elif test "$withval" = no
; then
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1915 elif test "$withval" = sys
; then
1916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1917 elif test "$withval" = builtin; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1920 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1925 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1926 if test "x$LINE" != x
; then
1927 eval "DEFAULT_$LINE"
1932 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1937 eval "$ac_cv_use_libjpeg"
1938 if test "$no_cache" != 1; then
1939 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1942 if test "$wxUSE_LIBJPEG" = yes; then
1943 echo "$ac_t""yes" 1>&6
1944 elif test "$wxUSE_LIBJPEG" = no
; then
1945 echo "$ac_t""no" 1>&6
1946 elif test "$wxUSE_LIBJPEG" = sys
; then
1947 echo "$ac_t""system version" 1>&6
1948 elif test "$wxUSE_LIBJPEG" = builtin; then
1949 echo "$ac_t""builtin version" 1>&6
1951 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1955 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1956 echo "configure:1957: checking for --with-libtiff" >&5
1958 # Check whether --with-libtiff or --without-libtiff was given.
1959 if test "${with_libtiff+set}" = set; then
1960 withval
="$with_libtiff"
1962 if test "$withval" = yes; then
1963 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1964 elif test "$withval" = no
; then
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1966 elif test "$withval" = sys
; then
1967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1968 elif test "$withval" = builtin; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1971 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1976 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1977 if test "x$LINE" != x
; then
1978 eval "DEFAULT_$LINE"
1983 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1988 eval "$ac_cv_use_libtiff"
1989 if test "$no_cache" != 1; then
1990 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1993 if test "$wxUSE_LIBTIFF" = yes; then
1994 echo "$ac_t""yes" 1>&6
1995 elif test "$wxUSE_LIBTIFF" = no
; then
1996 echo "$ac_t""no" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = sys
; then
1998 echo "$ac_t""system version" 1>&6
1999 elif test "$wxUSE_LIBTIFF" = builtin; then
2000 echo "$ac_t""builtin version" 1>&6
2002 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2006 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2007 echo "configure:2008: checking for --with-freetype" >&5
2009 # Check whether --with-freetype or --without-freetype was given.
2010 if test "${with_freetype+set}" = set; then
2011 withval
="$with_freetype"
2013 if test "$withval" = yes; then
2014 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2015 elif test "$withval" = no
; then
2016 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2017 elif test "$withval" = sys
; then
2018 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2019 elif test "$withval" = builtin; then
2020 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2022 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2027 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2028 if test "x$LINE" != x
; then
2029 eval "DEFAULT_$LINE"
2034 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2039 eval "$ac_cv_use_freetype"
2040 if test "$no_cache" != 1; then
2041 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2044 if test "$wxUSE_FREETYPE" = yes; then
2045 echo "$ac_t""yes" 1>&6
2046 elif test "$wxUSE_FREETYPE" = no
; then
2047 echo "$ac_t""no" 1>&6
2048 elif test "$wxUSE_FREETYPE" = sys
; then
2049 echo "$ac_t""system version" 1>&6
2050 elif test "$wxUSE_FREETYPE" = builtin; then
2051 echo "$ac_t""builtin version" 1>&6
2053 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2057 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2058 echo "configure:2059: checking for --with-opengl" >&5
2060 # Check whether --with-opengl or --without-opengl was given.
2061 if test "${with_opengl+set}" = set; then
2062 withval
="$with_opengl"
2064 if test "$withval" = yes; then
2065 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2067 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2072 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2073 if test "x$LINE" != x
; then
2074 eval "DEFAULT_$LINE"
2079 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2084 eval "$ac_cv_use_opengl"
2085 if test "$no_cache" != 1; then
2086 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2089 if test "$wxUSE_OPENGL" = yes; then
2090 echo "$ac_t""yes" 1>&6
2092 echo "$ac_t""no" 1>&6
2099 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2100 echo "configure:2101: checking for --with-dmalloc" >&5
2102 # Check whether --with-dmalloc or --without-dmalloc was given.
2103 if test "${with_dmalloc+set}" = set; then
2104 withval
="$with_dmalloc"
2106 if test "$withval" = yes; then
2107 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2109 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2114 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2115 if test "x$LINE" != x
; then
2116 eval "DEFAULT_$LINE"
2121 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2126 eval "$ac_cv_use_dmalloc"
2127 if test "$no_cache" != 1; then
2128 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2131 if test "$wxUSE_DMALLOC" = yes; then
2132 echo "$ac_t""yes" 1>&6
2134 echo "$ac_t""no" 1>&6
2138 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2139 echo "configure:2140: checking for --with-regex" >&5
2141 # Check whether --with-regex or --without-regex was given.
2142 if test "${with_regex+set}" = set; then
2143 withval
="$with_regex"
2145 if test "$withval" = yes; then
2146 ac_cv_use_regex
='wxUSE_REGEX=yes'
2147 elif test "$withval" = no
; then
2148 ac_cv_use_regex
='wxUSE_REGEX=no'
2149 elif test "$withval" = sys
; then
2150 ac_cv_use_regex
='wxUSE_REGEX=sys'
2151 elif test "$withval" = builtin; then
2152 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2154 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2159 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2160 if test "x$LINE" != x
; then
2161 eval "DEFAULT_$LINE"
2166 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2171 eval "$ac_cv_use_regex"
2172 if test "$no_cache" != 1; then
2173 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2176 if test "$wxUSE_REGEX" = yes; then
2177 echo "$ac_t""yes" 1>&6
2178 elif test "$wxUSE_REGEX" = no
; then
2179 echo "$ac_t""no" 1>&6
2180 elif test "$wxUSE_REGEX" = sys
; then
2181 echo "$ac_t""system version" 1>&6
2182 elif test "$wxUSE_REGEX" = builtin; then
2183 echo "$ac_t""builtin version" 1>&6
2185 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2189 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2190 echo "configure:2191: checking for --with-zlib" >&5
2192 # Check whether --with-zlib or --without-zlib was given.
2193 if test "${with_zlib+set}" = set; then
2194 withval
="$with_zlib"
2196 if test "$withval" = yes; then
2197 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2198 elif test "$withval" = no
; then
2199 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2200 elif test "$withval" = sys
; then
2201 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2202 elif test "$withval" = builtin; then
2203 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2205 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2210 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2211 if test "x$LINE" != x
; then
2212 eval "DEFAULT_$LINE"
2217 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2222 eval "$ac_cv_use_zlib"
2223 if test "$no_cache" != 1; then
2224 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2227 if test "$wxUSE_ZLIB" = yes; then
2228 echo "$ac_t""yes" 1>&6
2229 elif test "$wxUSE_ZLIB" = no
; then
2230 echo "$ac_t""no" 1>&6
2231 elif test "$wxUSE_ZLIB" = sys
; then
2232 echo "$ac_t""system version" 1>&6
2233 elif test "$wxUSE_ZLIB" = builtin; then
2234 echo "$ac_t""builtin version" 1>&6
2236 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2240 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2241 echo "configure:2242: checking for --with-odbc" >&5
2243 # Check whether --with-odbc or --without-odbc was given.
2244 if test "${with_odbc+set}" = set; then
2245 withval
="$with_odbc"
2247 if test "$withval" = yes; then
2248 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2250 ac_cv_use_odbc
='wxUSE_ODBC=no'
2255 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2256 if test "x$LINE" != x
; then
2257 eval "DEFAULT_$LINE"
2262 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2267 eval "$ac_cv_use_odbc"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2272 if test "$wxUSE_ODBC" = yes; then
2273 echo "$ac_t""yes" 1>&6
2275 echo "$ac_t""no" 1>&6
2281 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2282 echo "configure:2283: checking for --enable-shared" >&5
2284 # Check whether --enable-shared or --disable-shared was given.
2285 if test "${enable_shared+set}" = set; then
2286 enableval
="$enable_shared"
2288 if test "$enableval" = yes; then
2289 ac_cv_use_shared
='wxUSE_SHARED=yes'
2291 ac_cv_use_shared
='wxUSE_SHARED=no'
2296 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2297 if test "x$LINE" != x
; then
2298 eval "DEFAULT_$LINE"
2303 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2308 eval "$ac_cv_use_shared"
2309 if test "$no_cache" != 1; then
2310 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2313 if test "$wxUSE_SHARED" = yes; then
2314 echo "$ac_t""yes" 1>&6
2316 echo "$ac_t""no" 1>&6
2320 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2321 echo "configure:2322: checking for --enable-soname" >&5
2323 # Check whether --enable-soname or --disable-soname was given.
2324 if test "${enable_soname+set}" = set; then
2325 enableval
="$enable_soname"
2327 if test "$enableval" = yes; then
2328 ac_cv_use_soname
='wxUSE_SONAME=yes'
2330 ac_cv_use_soname
='wxUSE_SONAME=no'
2335 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2336 if test "x$LINE" != x
; then
2337 eval "DEFAULT_$LINE"
2342 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2347 eval "$ac_cv_use_soname"
2348 if test "$no_cache" != 1; then
2349 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2352 if test "$wxUSE_SONAME" = yes; then
2353 echo "$ac_t""yes" 1>&6
2355 echo "$ac_t""no" 1>&6
2359 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2360 echo "configure:2361: checking for --enable-optimise" >&5
2362 # Check whether --enable-optimise or --disable-optimise was given.
2363 if test "${enable_optimise+set}" = set; then
2364 enableval
="$enable_optimise"
2366 if test "$enableval" = yes; then
2367 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2369 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2374 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2375 if test "x$LINE" != x
; then
2376 eval "DEFAULT_$LINE"
2381 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2386 eval "$ac_cv_use_optimise"
2387 if test "$no_cache" != 1; then
2388 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2391 if test "$wxUSE_OPTIMISE" = yes; then
2392 echo "$ac_t""yes" 1>&6
2394 echo "$ac_t""no" 1>&6
2398 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2399 echo "configure:2400: checking for --enable-debug" >&5
2401 # Check whether --enable-debug or --disable-debug was given.
2402 if test "${enable_debug+set}" = set; then
2403 enableval
="$enable_debug"
2405 if test "$enableval" = yes; then
2406 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2408 ac_cv_use_debug
='wxUSE_DEBUG=no'
2413 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x
; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2425 eval "$ac_cv_use_debug"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2430 if test "$wxUSE_DEBUG" = yes; then
2431 echo "$ac_t""yes" 1>&6
2433 echo "$ac_t""no" 1>&6
2438 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2439 echo "configure:2440: checking for --enable-precomp" >&5
2441 # Check whether --enable-precomp or --disable-precomp was given.
2442 if test "${enable_precomp+set}" = set; then
2443 enableval
="$enable_precomp"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2448 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2453 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2465 eval "$ac_cv_use_precomp"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2470 if test "$wxUSE_PRECOMP" = yes; then
2471 echo "$ac_t""yes" 1>&6
2473 echo "$ac_t""no" 1>&6
2477 if test "$wxUSE_DEBUG" = "yes"; then
2478 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2479 DEFAULT_wxUSE_DEBUG_INFO
=yes
2480 elif test "$wxUSE_DEBUG" = "no"; then
2481 DEFAULT_wxUSE_DEBUG_FLAG
=no
2482 DEFAULT_wxUSE_DEBUG_INFO
=no
2486 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2487 echo "configure:2488: checking for --enable-debug_flag" >&5
2489 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2490 if test "${enable_debug_flag+set}" = set; then
2491 enableval
="$enable_debug_flag"
2493 if test "$enableval" = yes; then
2494 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2496 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2501 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x
; then
2503 eval "DEFAULT_$LINE"
2508 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2513 eval "$ac_cv_use_debug_flag"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_DEBUG_FLAG" = yes; then
2519 echo "$ac_t""yes" 1>&6
2521 echo "$ac_t""no" 1>&6
2525 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2526 echo "configure:2527: checking for --enable-debug_info" >&5
2528 # Check whether --enable-debug_info or --disable-debug_info was given.
2529 if test "${enable_debug_info+set}" = set; then
2530 enableval
="$enable_debug_info"
2532 if test "$enableval" = yes; then
2533 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2535 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2540 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2541 if test "x$LINE" != x
; then
2542 eval "DEFAULT_$LINE"
2547 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2552 eval "$ac_cv_use_debug_info"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_DEBUG_INFO" = yes; then
2558 echo "$ac_t""yes" 1>&6
2560 echo "$ac_t""no" 1>&6
2564 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2565 echo "configure:2566: checking for --enable-debug_gdb" >&5
2567 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2568 if test "${enable_debug_gdb+set}" = set; then
2569 enableval
="$enable_debug_gdb"
2571 if test "$enableval" = yes; then
2572 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2574 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2579 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2580 if test "x$LINE" != x
; then
2581 eval "DEFAULT_$LINE"
2586 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2591 eval "$ac_cv_use_debug_gdb"
2592 if test "$no_cache" != 1; then
2593 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2596 if test "$wxUSE_DEBUG_GDB" = yes; then
2597 echo "$ac_t""yes" 1>&6
2599 echo "$ac_t""no" 1>&6
2603 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2604 echo "configure:2605: checking for --enable-debug_cntxt" >&5
2606 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2607 if test "${enable_debug_cntxt+set}" = set; then
2608 enableval
="$enable_debug_cntxt"
2610 if test "$enableval" = yes; then
2611 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2613 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2618 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x
; then
2620 eval "DEFAULT_$LINE"
2625 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2630 eval "$ac_cv_use_debug_cntxt"
2631 if test "$no_cache" != 1; then
2632 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2635 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2636 echo "$ac_t""yes" 1>&6
2638 echo "$ac_t""no" 1>&6
2642 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2643 echo "configure:2644: checking for --enable-mem_tracing" >&5
2645 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2646 if test "${enable_mem_tracing+set}" = set; then
2647 enableval
="$enable_mem_tracing"
2649 if test "$enableval" = yes; then
2650 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2652 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2657 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2658 if test "x$LINE" != x
; then
2659 eval "DEFAULT_$LINE"
2664 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2669 eval "$ac_cv_use_mem_tracing"
2670 if test "$no_cache" != 1; then
2671 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2674 if test "$wxUSE_MEM_TRACING" = yes; then
2675 echo "$ac_t""yes" 1>&6
2677 echo "$ac_t""no" 1>&6
2681 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2682 echo "configure:2683: checking for --enable-profile" >&5
2684 # Check whether --enable-profile or --disable-profile was given.
2685 if test "${enable_profile+set}" = set; then
2686 enableval
="$enable_profile"
2688 if test "$enableval" = yes; then
2689 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2691 ac_cv_use_profile
='wxUSE_PROFILE=no'
2696 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2697 if test "x$LINE" != x
; then
2698 eval "DEFAULT_$LINE"
2703 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2708 eval "$ac_cv_use_profile"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2713 if test "$wxUSE_PROFILE" = yes; then
2714 echo "$ac_t""yes" 1>&6
2716 echo "$ac_t""no" 1>&6
2720 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2721 echo "configure:2722: checking for --enable-no_rtti" >&5
2723 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2724 if test "${enable_no_rtti+set}" = set; then
2725 enableval
="$enable_no_rtti"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2730 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2735 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2747 eval "$ac_cv_use_no_rtti"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_NO_RTTI" = yes; then
2753 echo "$ac_t""yes" 1>&6
2755 echo "$ac_t""no" 1>&6
2759 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2760 echo "configure:2761: checking for --enable-no_exceptions" >&5
2762 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2763 if test "${enable_no_exceptions+set}" = set; then
2764 enableval
="$enable_no_exceptions"
2766 if test "$enableval" = yes; then
2767 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2769 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2774 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2786 eval "$ac_cv_use_no_exceptions"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2792 echo "$ac_t""yes" 1>&6
2794 echo "$ac_t""no" 1>&6
2798 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2799 echo "configure:2800: checking for --enable-permissive" >&5
2801 # Check whether --enable-permissive or --disable-permissive was given.
2802 if test "${enable_permissive+set}" = set; then
2803 enableval
="$enable_permissive"
2805 if test "$enableval" = yes; then
2806 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2808 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2813 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2825 eval "$ac_cv_use_permissive"
2826 if test "$no_cache" != 1; then
2827 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2830 if test "$wxUSE_PERMISSIVE" = yes; then
2831 echo "$ac_t""yes" 1>&6
2833 echo "$ac_t""no" 1>&6
2837 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2838 echo "configure:2839: checking for --enable-no_deps" >&5
2840 # Check whether --enable-no_deps or --disable-no_deps was given.
2841 if test "${enable_no_deps+set}" = set; then
2842 enableval
="$enable_no_deps"
2844 if test "$enableval" = yes; then
2845 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2847 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2852 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x
; then
2854 eval "DEFAULT_$LINE"
2859 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2864 eval "$ac_cv_use_no_deps"
2865 if test "$no_cache" != 1; then
2866 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2869 if test "$wxUSE_NO_DEPS" = yes; then
2870 echo "$ac_t""yes" 1>&6
2872 echo "$ac_t""no" 1>&6
2877 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2878 echo "configure:2879: checking for --enable-compat20" >&5
2880 # Check whether --enable-compat20 or --disable-compat20 was given.
2881 if test "${enable_compat20+set}" = set; then
2882 enableval
="$enable_compat20"
2884 if test "$enableval" = yes; then
2885 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2887 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2892 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x
; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2904 eval "$ac_cv_use_compat20"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2909 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2910 echo "$ac_t""yes" 1>&6
2912 echo "$ac_t""no" 1>&6
2916 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2917 echo "configure:2918: checking for --enable-compat22" >&5
2919 # Check whether --enable-compat22 or --disable-compat22 was given.
2920 if test "${enable_compat22+set}" = set; then
2921 enableval
="$enable_compat22"
2923 if test "$enableval" = yes; then
2924 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2926 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2931 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x
; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2943 eval "$ac_cv_use_compat22"
2944 if test "$no_cache" != 1; then
2945 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2948 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2949 echo "$ac_t""yes" 1>&6
2951 echo "$ac_t""no" 1>&6
2957 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2958 echo "configure:2959: checking for --enable-intl" >&5
2960 # Check whether --enable-intl or --disable-intl was given.
2961 if test "${enable_intl+set}" = set; then
2962 enableval
="$enable_intl"
2964 if test "$enableval" = yes; then
2965 ac_cv_use_intl
='wxUSE_INTL=yes'
2967 ac_cv_use_intl
='wxUSE_INTL=no'
2972 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x
; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2984 eval "$ac_cv_use_intl"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2989 if test "$wxUSE_INTL" = yes; then
2990 echo "$ac_t""yes" 1>&6
2992 echo "$ac_t""no" 1>&6
2996 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2997 echo "configure:2998: checking for --enable-config" >&5
2999 # Check whether --enable-config or --disable-config was given.
3000 if test "${enable_config+set}" = set; then
3001 enableval
="$enable_config"
3003 if test "$enableval" = yes; then
3004 ac_cv_use_config
='wxUSE_CONFIG=yes'
3006 ac_cv_use_config
='wxUSE_CONFIG=no'
3011 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x
; then
3013 eval "DEFAULT_$LINE"
3018 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3023 eval "$ac_cv_use_config"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3028 if test "$wxUSE_CONFIG" = yes; then
3029 echo "$ac_t""yes" 1>&6
3031 echo "$ac_t""no" 1>&6
3036 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3037 echo "configure:3038: checking for --enable-sockets" >&5
3039 # Check whether --enable-sockets or --disable-sockets was given.
3040 if test "${enable_sockets+set}" = set; then
3041 enableval
="$enable_sockets"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3046 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3051 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3063 eval "$ac_cv_use_sockets"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_SOCKETS" = yes; then
3069 echo "$ac_t""yes" 1>&6
3071 echo "$ac_t""no" 1>&6
3076 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3077 echo "configure:3078: checking for --enable-ipc" >&5
3079 # Check whether --enable-ipc or --disable-ipc was given.
3080 if test "${enable_ipc+set}" = set; then
3081 enableval
="$enable_ipc"
3083 if test "$enableval" = yes; then
3084 ac_cv_use_ipc
='wxUSE_IPC=yes'
3086 ac_cv_use_ipc
='wxUSE_IPC=no'
3091 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3092 if test "x$LINE" != x
; then
3093 eval "DEFAULT_$LINE"
3098 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3103 eval "$ac_cv_use_ipc"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_IPC" = yes; then
3109 echo "$ac_t""yes" 1>&6
3111 echo "$ac_t""no" 1>&6
3116 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3117 echo "configure:3118: checking for --enable-cmdline" >&5
3119 # Check whether --enable-cmdline or --disable-cmdline was given.
3120 if test "${enable_cmdline+set}" = set; then
3121 enableval
="$enable_cmdline"
3123 if test "$enableval" = yes; then
3124 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3126 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3131 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3143 eval "$ac_cv_use_cmdline"
3144 if test "$no_cache" != 1; then
3145 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3148 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3149 echo "$ac_t""yes" 1>&6
3151 echo "$ac_t""no" 1>&6
3155 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3156 echo "configure:3157: checking for --enable-datetime" >&5
3158 # Check whether --enable-datetime or --disable-datetime was given.
3159 if test "${enable_datetime+set}" = set; then
3160 enableval
="$enable_datetime"
3162 if test "$enableval" = yes; then
3163 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3165 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3170 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3182 eval "$ac_cv_use_datetime"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3187 if test "$wxUSE_DATETIME" = yes; then
3188 echo "$ac_t""yes" 1>&6
3190 echo "$ac_t""no" 1>&6
3194 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3195 echo "configure:3196: checking for --enable-timedate" >&5
3197 # Check whether --enable-timedate or --disable-timedate was given.
3198 if test "${enable_timedate+set}" = set; then
3199 enableval
="$enable_timedate"
3201 if test "$enableval" = yes; then
3202 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3204 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3209 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3210 if test "x$LINE" != x
; then
3211 eval "DEFAULT_$LINE"
3216 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3221 eval "$ac_cv_use_timedate"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_TIMEDATE" = yes; then
3227 echo "$ac_t""yes" 1>&6
3229 echo "$ac_t""no" 1>&6
3233 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3234 echo "configure:3235: checking for --enable-stopwatch" >&5
3236 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3237 if test "${enable_stopwatch+set}" = set; then
3238 enableval
="$enable_stopwatch"
3240 if test "$enableval" = yes; then
3241 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3243 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3248 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x
; then
3250 eval "DEFAULT_$LINE"
3255 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3260 eval "$ac_cv_use_stopwatch"
3261 if test "$no_cache" != 1; then
3262 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3265 if test "$wxUSE_STOPWATCH" = yes; then
3266 echo "$ac_t""yes" 1>&6
3268 echo "$ac_t""no" 1>&6
3272 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3273 echo "configure:3274: checking for --enable-dialupman" >&5
3275 # Check whether --enable-dialupman or --disable-dialupman was given.
3276 if test "${enable_dialupman+set}" = set; then
3277 enableval
="$enable_dialupman"
3279 if test "$enableval" = yes; then
3280 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3282 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3287 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3299 eval "$ac_cv_use_dialupman"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3305 echo "$ac_t""yes" 1>&6
3307 echo "$ac_t""no" 1>&6
3311 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3312 echo "configure:3313: checking for --enable-apple_ieee" >&5
3314 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3315 if test "${enable_apple_ieee+set}" = set; then
3316 enableval
="$enable_apple_ieee"
3318 if test "$enableval" = yes; then
3319 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3321 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3326 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3338 eval "$ac_cv_use_apple_ieee"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_APPLE_IEEE" = yes; then
3344 echo "$ac_t""yes" 1>&6
3346 echo "$ac_t""no" 1>&6
3350 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3351 echo "configure:3352: checking for --enable-timer" >&5
3353 # Check whether --enable-timer or --disable-timer was given.
3354 if test "${enable_timer+set}" = set; then
3355 enableval
="$enable_timer"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_timer
='wxUSE_TIMER=yes'
3360 ac_cv_use_timer
='wxUSE_TIMER=no'
3365 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3377 eval "$ac_cv_use_timer"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_TIMER" = yes; then
3383 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3390 echo "configure:3391: checking for --enable-wave" >&5
3392 # Check whether --enable-wave or --disable-wave was given.
3393 if test "${enable_wave+set}" = set; then
3394 enableval
="$enable_wave"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_wave
='wxUSE_WAVE=yes'
3399 ac_cv_use_wave
='wxUSE_WAVE=no'
3404 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x
; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3416 eval "$ac_cv_use_wave"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_WAVE" = yes; then
3422 echo "$ac_t""yes" 1>&6
3424 echo "$ac_t""no" 1>&6
3428 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3429 echo "configure:3430: checking for --enable-fraction" >&5
3431 # Check whether --enable-fraction or --disable-fraction was given.
3432 if test "${enable_fraction+set}" = set; then
3433 enableval
="$enable_fraction"
3435 if test "$enableval" = yes; then
3436 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3438 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3443 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x
; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3455 eval "$ac_cv_use_fraction"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_FRACTION" = yes; then
3461 echo "$ac_t""yes" 1>&6
3463 echo "$ac_t""no" 1>&6
3467 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3468 echo "configure:3469: checking for --enable-dynlib" >&5
3470 # Check whether --enable-dynlib or --disable-dynlib was given.
3471 if test "${enable_dynlib+set}" = set; then
3472 enableval
="$enable_dynlib"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3477 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3482 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3494 eval "$ac_cv_use_dynlib"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3500 echo "$ac_t""yes" 1>&6
3502 echo "$ac_t""no" 1>&6
3506 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3507 echo "configure:3508: checking for --enable-longlong" >&5
3509 # Check whether --enable-longlong or --disable-longlong was given.
3510 if test "${enable_longlong+set}" = set; then
3511 enableval
="$enable_longlong"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3516 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3521 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3533 eval "$ac_cv_use_longlong"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_LONGLONG" = yes; then
3539 echo "$ac_t""yes" 1>&6
3541 echo "$ac_t""no" 1>&6
3545 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3546 echo "configure:3547: checking for --enable-geometry" >&5
3548 # Check whether --enable-geometry or --disable-geometry was given.
3549 if test "${enable_geometry+set}" = set; then
3550 enableval
="$enable_geometry"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3555 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3560 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3572 eval "$ac_cv_use_geometry"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_GEOMETRY" = yes; then
3578 echo "$ac_t""yes" 1>&6
3580 echo "$ac_t""no" 1>&6
3584 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3585 echo "configure:3586: checking for --enable-log" >&5
3587 # Check whether --enable-log or --disable-log was given.
3588 if test "${enable_log+set}" = set; then
3589 enableval
="$enable_log"
3591 if test "$enableval" = yes; then
3592 ac_cv_use_log
='wxUSE_LOG=yes'
3594 ac_cv_use_log
='wxUSE_LOG=no'
3599 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3600 if test "x$LINE" != x
; then
3601 eval "DEFAULT_$LINE"
3606 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3611 eval "$ac_cv_use_log"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_LOG" = yes; then
3617 echo "$ac_t""yes" 1>&6
3619 echo "$ac_t""no" 1>&6
3623 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3624 echo "configure:3625: checking for --enable-streams" >&5
3626 # Check whether --enable-streams or --disable-streams was given.
3627 if test "${enable_streams+set}" = set; then
3628 enableval
="$enable_streams"
3630 if test "$enableval" = yes; then
3631 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3633 ac_cv_use_streams
='wxUSE_STREAMS=no'
3638 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x
; then
3640 eval "DEFAULT_$LINE"
3645 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3650 eval "$ac_cv_use_streams"
3651 if test "$no_cache" != 1; then
3652 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3655 if test "$wxUSE_STREAMS" = yes; then
3656 echo "$ac_t""yes" 1>&6
3658 echo "$ac_t""no" 1>&6
3662 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3663 echo "configure:3664: checking for --enable-file" >&5
3665 # Check whether --enable-file or --disable-file was given.
3666 if test "${enable_file+set}" = set; then
3667 enableval
="$enable_file"
3669 if test "$enableval" = yes; then
3670 ac_cv_use_file
='wxUSE_FILE=yes'
3672 ac_cv_use_file
='wxUSE_FILE=no'
3677 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x
; then
3679 eval "DEFAULT_$LINE"
3684 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3689 eval "$ac_cv_use_file"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_FILE" = yes; then
3695 echo "$ac_t""yes" 1>&6
3697 echo "$ac_t""no" 1>&6
3701 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3702 echo "configure:3703: checking for --enable-ffile" >&5
3704 # Check whether --enable-ffile or --disable-ffile was given.
3705 if test "${enable_ffile+set}" = set; then
3706 enableval
="$enable_ffile"
3708 if test "$enableval" = yes; then
3709 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3711 ac_cv_use_ffile
='wxUSE_FFILE=no'
3716 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3717 if test "x$LINE" != x
; then
3718 eval "DEFAULT_$LINE"
3723 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3728 eval "$ac_cv_use_ffile"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3733 if test "$wxUSE_FFILE" = yes; then
3734 echo "$ac_t""yes" 1>&6
3736 echo "$ac_t""no" 1>&6
3740 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3741 echo "configure:3742: checking for --enable-textfile" >&5
3743 # Check whether --enable-textfile or --disable-textfile was given.
3744 if test "${enable_textfile+set}" = set; then
3745 enableval
="$enable_textfile"
3747 if test "$enableval" = yes; then
3748 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3750 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3755 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x
; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3767 eval "$ac_cv_use_textfile"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_TEXTFILE" = yes; then
3773 echo "$ac_t""yes" 1>&6
3775 echo "$ac_t""no" 1>&6
3779 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3780 echo "configure:3781: checking for --enable-fontmap" >&5
3782 # Check whether --enable-fontmap or --disable-fontmap was given.
3783 if test "${enable_fontmap+set}" = set; then
3784 enableval
="$enable_fontmap"
3786 if test "$enableval" = yes; then
3787 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3789 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3794 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x
; then
3796 eval "DEFAULT_$LINE"
3801 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3806 eval "$ac_cv_use_fontmap"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_FONTMAP" = yes; then
3812 echo "$ac_t""yes" 1>&6
3814 echo "$ac_t""no" 1>&6
3818 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3819 echo "configure:3820: checking for --enable-unicode" >&5
3821 # Check whether --enable-unicode or --disable-unicode was given.
3822 if test "${enable_unicode+set}" = set; then
3823 enableval
="$enable_unicode"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3828 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3833 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3845 eval "$ac_cv_use_unicode"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3850 if test "$wxUSE_UNICODE" = yes; then
3851 echo "$ac_t""yes" 1>&6
3853 echo "$ac_t""no" 1>&6
3857 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3858 echo "configure:3859: checking for --enable-wxprintfv" >&5
3860 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3861 if test "${enable_wxprintfv+set}" = set; then
3862 enableval
="$enable_wxprintfv"
3864 if test "$enableval" = yes; then
3865 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3867 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3872 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x
; then
3874 eval "DEFAULT_$LINE"
3879 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3884 eval "$ac_cv_use_wxprintfv"
3885 if test "$no_cache" != 1; then
3886 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3889 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3890 echo "$ac_t""yes" 1>&6
3892 echo "$ac_t""no" 1>&6
3896 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3897 echo "configure:3898: checking for --enable-std_iostreams" >&5
3899 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3900 if test "${enable_std_iostreams+set}" = set; then
3901 enableval
="$enable_std_iostreams"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3906 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3911 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x
; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3923 eval "$ac_cv_use_std_iostreams"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3928 if test "$wxUSE_STD_IOSTREAM" = yes; then
3929 echo "$ac_t""yes" 1>&6
3931 echo "$ac_t""no" 1>&6
3935 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3936 echo "configure:3937: checking for --enable-filesystem" >&5
3938 # Check whether --enable-filesystem or --disable-filesystem was given.
3939 if test "${enable_filesystem+set}" = set; then
3940 enableval
="$enable_filesystem"
3942 if test "$enableval" = yes; then
3943 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3950 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3951 if test "x$LINE" != x
; then
3952 eval "DEFAULT_$LINE"
3957 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3962 eval "$ac_cv_use_filesystem"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_FILESYSTEM" = yes; then
3968 echo "$ac_t""yes" 1>&6
3970 echo "$ac_t""no" 1>&6
3974 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3975 echo "configure:3976: checking for --enable-fs_inet" >&5
3977 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3978 if test "${enable_fs_inet+set}" = set; then
3979 enableval
="$enable_fs_inet"
3981 if test "$enableval" = yes; then
3982 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3984 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3989 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x
; then
3991 eval "DEFAULT_$LINE"
3996 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4001 eval "$ac_cv_use_fs_inet"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4006 if test "$wxUSE_FS_INET" = yes; then
4007 echo "$ac_t""yes" 1>&6
4009 echo "$ac_t""no" 1>&6
4013 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4014 echo "configure:4015: checking for --enable-fs_zip" >&5
4016 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4017 if test "${enable_fs_zip+set}" = set; then
4018 enableval
="$enable_fs_zip"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4023 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4028 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x
; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4040 eval "$ac_cv_use_fs_zip"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_FS_ZIP" = yes; then
4046 echo "$ac_t""yes" 1>&6
4048 echo "$ac_t""no" 1>&6
4052 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4053 echo "configure:4054: checking for --enable-zipstream" >&5
4055 # Check whether --enable-zipstream or --disable-zipstream was given.
4056 if test "${enable_zipstream+set}" = set; then
4057 enableval
="$enable_zipstream"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4062 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4067 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x
; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4079 eval "$ac_cv_use_zipstream"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_ZIPSTREAM" = yes; then
4085 echo "$ac_t""yes" 1>&6
4087 echo "$ac_t""no" 1>&6
4092 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4093 echo "configure:4094: checking for --enable-catch_segvs" >&5
4095 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4096 if test "${enable_catch_segvs+set}" = set; then
4097 enableval
="$enable_catch_segvs"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4102 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4107 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4119 eval "$ac_cv_use_catch_segvs"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4125 echo "$ac_t""yes" 1>&6
4127 echo "$ac_t""no" 1>&6
4131 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4132 echo "configure:4133: checking for --enable-snglinst" >&5
4134 # Check whether --enable-snglinst or --disable-snglinst was given.
4135 if test "${enable_snglinst+set}" = set; then
4136 enableval
="$enable_snglinst"
4138 if test "$enableval" = yes; then
4139 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4141 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4146 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x
; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4158 eval "$ac_cv_use_snglinst"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4164 echo "$ac_t""yes" 1>&6
4166 echo "$ac_t""no" 1>&6
4171 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4172 echo "configure:4173: checking for --enable-mimetype" >&5
4174 # Check whether --enable-mimetype or --disable-mimetype was given.
4175 if test "${enable_mimetype+set}" = set; then
4176 enableval
="$enable_mimetype"
4178 if test "$enableval" = yes; then
4179 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4181 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4186 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x
; then
4188 eval "DEFAULT_$LINE"
4193 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4198 eval "$ac_cv_use_mimetype"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4203 if test "$wxUSE_MIMETYPE" = yes; then
4204 echo "$ac_t""yes" 1>&6
4206 echo "$ac_t""no" 1>&6
4210 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4211 echo "configure:4212: checking for --enable-system_options" >&5
4213 # Check whether --enable-system_options or --disable-system_options was given.
4214 if test "${enable_system_options+set}" = set; then
4215 enableval
="$enable_system_options"
4217 if test "$enableval" = yes; then
4218 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4220 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4225 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x
; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4237 eval "$ac_cv_use_system_options"
4238 if test "$no_cache" != 1; then
4239 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4242 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4243 echo "$ac_t""yes" 1>&6
4245 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4252 echo "configure:4253: checking for --enable-threads" >&5
4254 # Check whether --enable-threads or --disable-threads was given.
4255 if test "${enable_threads+set}" = set; then
4256 enableval
="$enable_threads"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_threads
='wxUSE_THREADS=yes'
4261 ac_cv_use_threads
='wxUSE_THREADS=no'
4266 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4278 eval "$ac_cv_use_threads"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_THREADS" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4290 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4291 echo "configure:4292: checking for --enable-serial" >&5
4293 # Check whether --enable-serial or --disable-serial was given.
4294 if test "${enable_serial+set}" = set; then
4295 enableval
="$enable_serial"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4300 ac_cv_use_serial
='wxUSE_SERIAL=no'
4305 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4317 eval "$ac_cv_use_serial"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_SERIAL" = yes; then
4323 echo "$ac_t""yes" 1>&6
4325 echo "$ac_t""no" 1>&6
4329 if test "$wxUSE_GUI" = "yes"; then
4333 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4334 echo "configure:4335: checking for --enable-docview" >&5
4336 # Check whether --enable-docview or --disable-docview was given.
4337 if test "${enable_docview+set}" = set; then
4338 enableval
="$enable_docview"
4340 if test "$enableval" = yes; then
4341 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4343 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4348 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4349 if test "x$LINE" != x
; then
4350 eval "DEFAULT_$LINE"
4355 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4360 eval "$ac_cv_use_docview"
4361 if test "$no_cache" != 1; then
4362 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4365 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4366 echo "$ac_t""yes" 1>&6
4368 echo "$ac_t""no" 1>&6
4372 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4373 echo "configure:4374: checking for --enable-help" >&5
4375 # Check whether --enable-help or --disable-help was given.
4376 if test "${enable_help+set}" = set; then
4377 enableval
="$enable_help"
4379 if test "$enableval" = yes; then
4380 ac_cv_use_help
='wxUSE_HELP=yes'
4382 ac_cv_use_help
='wxUSE_HELP=no'
4387 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x
; then
4389 eval "DEFAULT_$LINE"
4394 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4399 eval "$ac_cv_use_help"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_HELP" = yes; then
4405 echo "$ac_t""yes" 1>&6
4407 echo "$ac_t""no" 1>&6
4411 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4412 echo "configure:4413: checking for --enable-mshtmlhelp" >&5
4414 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4415 if test "${enable_mshtmlhelp+set}" = set; then
4416 enableval
="$enable_mshtmlhelp"
4418 if test "$enableval" = yes; then
4419 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4421 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4426 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x
; then
4428 eval "DEFAULT_$LINE"
4433 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4438 eval "$ac_cv_use_mshtmlhelp"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_MS_HTML_HELP" = yes; then
4444 echo "$ac_t""yes" 1>&6
4446 echo "$ac_t""no" 1>&6
4450 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4451 echo "configure:4452: checking for --enable-html" >&5
4453 # Check whether --enable-html or --disable-html was given.
4454 if test "${enable_html+set}" = set; then
4455 enableval
="$enable_html"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_html
='wxUSE_HTML=yes'
4460 ac_cv_use_html
='wxUSE_HTML=no'
4465 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4477 eval "$ac_cv_use_html"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_HTML" = yes; then
4483 echo "$ac_t""yes" 1>&6
4485 echo "$ac_t""no" 1>&6
4489 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4490 echo "configure:4491: checking for --enable-htmlhelp" >&5
4492 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4493 if test "${enable_htmlhelp+set}" = set; then
4494 enableval
="$enable_htmlhelp"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4499 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4504 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4516 eval "$ac_cv_use_htmlhelp"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_WXHTML_HELP" = yes; then
4522 echo "$ac_t""yes" 1>&6
4524 echo "$ac_t""no" 1>&6
4528 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4529 echo "configure:4530: checking for --enable-constraints" >&5
4531 # Check whether --enable-constraints or --disable-constraints was given.
4532 if test "${enable_constraints+set}" = set; then
4533 enableval
="$enable_constraints"
4535 if test "$enableval" = yes; then
4536 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4538 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4543 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x
; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4555 eval "$ac_cv_use_constraints"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_CONSTRAINTS" = yes; then
4561 echo "$ac_t""yes" 1>&6
4563 echo "$ac_t""no" 1>&6
4567 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4568 echo "configure:4569: checking for --enable-printarch" >&5
4570 # Check whether --enable-printarch or --disable-printarch was given.
4571 if test "${enable_printarch+set}" = set; then
4572 enableval
="$enable_printarch"
4574 if test "$enableval" = yes; then
4575 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4577 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4582 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4583 if test "x$LINE" != x
; then
4584 eval "DEFAULT_$LINE"
4589 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4594 eval "$ac_cv_use_printarch"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4600 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no" 1>&6
4606 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4607 echo "configure:4608: checking for --enable-mdi" >&5
4609 # Check whether --enable-mdi or --disable-mdi was given.
4610 if test "${enable_mdi+set}" = set; then
4611 enableval
="$enable_mdi"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4616 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4621 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x
; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4633 eval "$ac_cv_use_mdi"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4639 echo "$ac_t""yes" 1>&6
4641 echo "$ac_t""no" 1>&6
4645 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4646 echo "configure:4647: checking for --enable-loggui" >&5
4648 # Check whether --enable-loggui or --disable-loggui was given.
4649 if test "${enable_loggui+set}" = set; then
4650 enableval
="$enable_loggui"
4652 if test "$enableval" = yes; then
4653 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4655 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4660 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x
; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4672 eval "$ac_cv_use_loggui"
4673 if test "$no_cache" != 1; then
4674 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4677 if test "$wxUSE_LOGGUI" = yes; then
4678 echo "$ac_t""yes" 1>&6
4680 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4685 echo "configure:4686: checking for --enable-logwin" >&5
4687 # Check whether --enable-logwin or --disable-logwin was given.
4688 if test "${enable_logwin+set}" = set; then
4689 enableval
="$enable_logwin"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4694 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4699 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4711 eval "$ac_cv_use_logwin"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_LOGWINDOW" = yes; then
4717 echo "$ac_t""yes" 1>&6
4719 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4725 echo "configure:4726: checking for --enable-postscript" >&5
4727 # Check whether --enable-postscript or --disable-postscript was given.
4728 if test "${enable_postscript+set}" = set; then
4729 enableval
="$enable_postscript"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4734 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4739 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4751 eval "$ac_cv_use_postscript"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_POSTSCRIPT" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4766 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4767 echo "configure:4768: checking for --enable-prologio" >&5
4769 # Check whether --enable-prologio or --disable-prologio was given.
4770 if test "${enable_prologio+set}" = set; then
4771 enableval
="$enable_prologio"
4773 if test "$enableval" = yes; then
4774 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4776 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4781 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x
; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4793 eval "$ac_cv_use_prologio"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_PROLOGIO" = yes; then
4799 echo "$ac_t""yes" 1>&6
4801 echo "$ac_t""no" 1>&6
4805 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4806 echo "configure:4807: checking for --enable-resources" >&5
4808 # Check whether --enable-resources or --disable-resources was given.
4809 if test "${enable_resources+set}" = set; then
4810 enableval
="$enable_resources"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4815 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4820 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4832 eval "$ac_cv_use_resources"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_RESOURCES" = yes; then
4838 echo "$ac_t""yes" 1>&6
4840 echo "$ac_t""no" 1>&6
4845 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4846 echo "configure:4847: checking for --enable-xresources" >&5
4848 # Check whether --enable-xresources or --disable-xresources was given.
4849 if test "${enable_xresources+set}" = set; then
4850 enableval
="$enable_xresources"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4855 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4860 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4872 eval "$ac_cv_use_xresources"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_X_RESOURCES" = yes; then
4878 echo "$ac_t""yes" 1>&6
4880 echo "$ac_t""no" 1>&6
4886 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4887 echo "configure:4888: checking for --enable-clipboard" >&5
4889 # Check whether --enable-clipboard or --disable-clipboard was given.
4890 if test "${enable_clipboard+set}" = set; then
4891 enableval
="$enable_clipboard"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4896 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4901 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4913 eval "$ac_cv_use_clipboard"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_CLIPBOARD" = yes; then
4919 echo "$ac_t""yes" 1>&6
4921 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --enable-dnd" >&5
4928 # Check whether --enable-dnd or --disable-dnd was given.
4929 if test "${enable_dnd+set}" = set; then
4930 enableval
="$enable_dnd"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4935 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4940 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4952 eval "$ac_cv_use_dnd"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4965 echo "configure:4966: checking for --enable-metafile" >&5
4967 # Check whether --enable-metafile or --disable-metafile was given.
4968 if test "${enable_metafile+set}" = set; then
4969 enableval
="$enable_metafile"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4974 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4979 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x
; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4991 eval "$ac_cv_use_metafile"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_METAFILE" = yes; then
4997 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no" 1>&6
5004 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5005 echo "configure:5006: checking for --enable-treelayout" >&5
5007 # Check whether --enable-treelayout or --disable-treelayout was given.
5008 if test "${enable_treelayout+set}" = set; then
5009 enableval
="$enable_treelayout"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5014 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5019 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5031 eval "$ac_cv_use_treelayout"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_TREELAYOUT" = yes; then
5037 echo "$ac_t""yes" 1>&6
5039 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5046 echo "configure:5047: checking for --enable-controls" >&5
5048 # Check whether --enable-controls or --disable-controls was given.
5049 if test "${enable_controls+set}" = set; then
5050 enableval
="$enable_controls"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5055 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5060 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5072 eval "$ac_cv_use_controls"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_CONTROLS" = yes; then
5078 echo "$ac_t""yes" 1>&6
5080 echo "$ac_t""no" 1>&6
5084 if test "$wxUSE_CONTROLS" = "yes"; then
5085 DEFAULT_wxUSE_ACCEL
=yes
5086 DEFAULT_wxUSE_BMPBUTTON
=yes
5087 DEFAULT_wxUSE_BUTTON
=yes
5088 DEFAULT_wxUSE_CALCTRL
=no
5089 DEFAULT_wxUSE_CARET
=yes
5090 DEFAULT_wxUSE_COMBOBOX
=yes
5091 DEFAULT_wxUSE_CHECKBOX
=yes
5092 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5093 DEFAULT_wxUSE_CHOICE
=yes
5094 DEFAULT_wxUSE_GAUGE
=yes
5095 DEFAULT_wxUSE_GRID
=yes
5096 DEFAULT_wxUSE_NEW_GRID
=yes
5097 DEFAULT_wxUSE_IMAGLIST
=yes
5098 DEFAULT_wxUSE_LISTBOX
=yes
5099 DEFAULT_wxUSE_LISTCTRL
=yes
5100 DEFAULT_wxUSE_NOTEBOOK
=yes
5101 DEFAULT_wxUSE_PROPSHEET
=yes
5102 DEFAULT_wxUSE_RADIOBOX
=yes
5103 DEFAULT_wxUSE_RADIOBTN
=yes
5104 DEFAULT_wxUSE_SASH
=yes
5105 DEFAULT_wxUSE_SCROLLBAR
=yes
5106 DEFAULT_wxUSE_SLIDER
=yes
5107 DEFAULT_wxUSE_SPINBTN
=yes
5108 DEFAULT_wxUSE_SPINCTRL
=yes
5109 DEFAULT_wxUSE_SPLITTER
=yes
5110 DEFAULT_wxUSE_STATBMP
=yes
5111 DEFAULT_wxUSE_STATBOX
=yes
5112 DEFAULT_wxUSE_STATLINE
=yes
5113 DEFAULT_wxUSE_STATUSBAR
=yes
5114 DEFAULT_wxUSE_TAB_DIALOG
=yes
5115 DEFAULT_wxUSE_TOGGLEBTN
=yes
5116 DEFAULT_wxUSE_TOOLBAR
=yes
5117 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5118 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5119 DEFAULT_wxUSE_TOOLTIPS
=yes
5120 DEFAULT_wxUSE_TREECTRL
=yes
5121 DEFAULT_wxUSE_POPUPWIN
=yes
5122 elif test "$wxUSE_CONTROLS" = "no"; then
5123 DEFAULT_wxUSE_ACCEL
=no
5124 DEFAULT_wxUSE_BMPBUTTON
=no
5125 DEFAULT_wxUSE_BUTTON
=no
5126 DEFAULT_wxUSE_CALCTRL
=no
5127 DEFAULT_wxUSE_CARET
=no
5128 DEFAULT_wxUSE_COMBOBOX
=no
5129 DEFAULT_wxUSE_CHECKBOX
=no
5130 DEFAULT_wxUSE_CHECKLISTBOX
=no
5131 DEFAULT_wxUSE_CHOICE
=no
5132 DEFAULT_wxUSE_GAUGE
=no
5133 DEFAULT_wxUSE_GRID
=no
5134 DEFAULT_wxUSE_NEW_GRID
=no
5135 DEFAULT_wxUSE_IMAGLIST
=no
5136 DEFAULT_wxUSE_LISTBOX
=no
5137 DEFAULT_wxUSE_LISTCTRL
=no
5138 DEFAULT_wxUSE_NOTEBOOK
=no
5139 DEFAULT_wxUSE_PROPSHEET
=no
5140 DEFAULT_wxUSE_RADIOBOX
=no
5141 DEFAULT_wxUSE_RADIOBTN
=no
5142 DEFAULT_wxUSE_SASH
=no
5143 DEFAULT_wxUSE_SCROLLBAR
=no
5144 DEFAULT_wxUSE_SLIDER
=no
5145 DEFAULT_wxUSE_SPINBTN
=no
5146 DEFAULT_wxUSE_SPINCTRL
=no
5147 DEFAULT_wxUSE_SPLITTER
=no
5148 DEFAULT_wxUSE_STATBMP
=no
5149 DEFAULT_wxUSE_STATBOX
=no
5150 DEFAULT_wxUSE_STATLINE
=no
5151 DEFAULT_wxUSE_STATUSBAR
=no
5152 DEFAULT_wxUSE_TAB_DIALOG
=no
5153 DEFAULT_wxUSE_TOGGLEBTN
=no
5154 DEFAULT_wxUSE_TOOLBAR
=no
5155 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5156 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5157 DEFAULT_wxUSE_TOOLTIPS
=no
5158 DEFAULT_wxUSE_TREECTRL
=no
5159 DEFAULT_wxUSE_POPUPWIN
=no
5163 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5164 echo "configure:5165: checking for --enable-accel" >&5
5166 # Check whether --enable-accel or --disable-accel was given.
5167 if test "${enable_accel+set}" = set; then
5168 enableval
="$enable_accel"
5170 if test "$enableval" = yes; then
5171 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5173 ac_cv_use_accel
='wxUSE_ACCEL=no'
5178 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5179 if test "x$LINE" != x
; then
5180 eval "DEFAULT_$LINE"
5185 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5190 eval "$ac_cv_use_accel"
5191 if test "$no_cache" != 1; then
5192 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5195 if test "$wxUSE_ACCEL" = yes; then
5196 echo "$ac_t""yes" 1>&6
5198 echo "$ac_t""no" 1>&6
5202 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5203 echo "configure:5204: checking for --enable-button" >&5
5205 # Check whether --enable-button or --disable-button was given.
5206 if test "${enable_button+set}" = set; then
5207 enableval
="$enable_button"
5209 if test "$enableval" = yes; then
5210 ac_cv_use_button
='wxUSE_BUTTON=yes'
5212 ac_cv_use_button
='wxUSE_BUTTON=no'
5217 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x
; then
5219 eval "DEFAULT_$LINE"
5224 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5229 eval "$ac_cv_use_button"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_BUTTON" = yes; then
5235 echo "$ac_t""yes" 1>&6
5237 echo "$ac_t""no" 1>&6
5241 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5242 echo "configure:5243: checking for --enable-bmpbutton" >&5
5244 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5245 if test "${enable_bmpbutton+set}" = set; then
5246 enableval
="$enable_bmpbutton"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5251 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5256 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5268 eval "$ac_cv_use_bmpbutton"
5269 if test "$no_cache" != 1; then
5270 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5273 if test "$wxUSE_BMPBUTTON" = yes; then
5274 echo "$ac_t""yes" 1>&6
5276 echo "$ac_t""no" 1>&6
5280 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5281 echo "configure:5282: checking for --enable-calendar" >&5
5283 # Check whether --enable-calendar or --disable-calendar was given.
5284 if test "${enable_calendar+set}" = set; then
5285 enableval
="$enable_calendar"
5287 if test "$enableval" = yes; then
5288 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5290 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5295 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5296 if test "x$LINE" != x
; then
5297 eval "DEFAULT_$LINE"
5302 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5307 eval "$ac_cv_use_calendar"
5308 if test "$no_cache" != 1; then
5309 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5312 if test "$wxUSE_CALCTRL" = yes; then
5313 echo "$ac_t""yes" 1>&6
5315 echo "$ac_t""no" 1>&6
5319 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5320 echo "configure:5321: checking for --enable-caret" >&5
5322 # Check whether --enable-caret or --disable-caret was given.
5323 if test "${enable_caret+set}" = set; then
5324 enableval
="$enable_caret"
5326 if test "$enableval" = yes; then
5327 ac_cv_use_caret
='wxUSE_CARET=yes'
5329 ac_cv_use_caret
='wxUSE_CARET=no'
5334 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x
; then
5336 eval "DEFAULT_$LINE"
5341 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5346 eval "$ac_cv_use_caret"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_CARET" = yes; then
5352 echo "$ac_t""yes" 1>&6
5354 echo "$ac_t""no" 1>&6
5358 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5359 echo "configure:5360: checking for --enable-checkbox" >&5
5361 # Check whether --enable-checkbox or --disable-checkbox was given.
5362 if test "${enable_checkbox+set}" = set; then
5363 enableval
="$enable_checkbox"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5368 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5373 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5385 eval "$ac_cv_use_checkbox"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_CHECKBOX" = yes; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5397 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5398 echo "configure:5399: checking for --enable-checklst" >&5
5400 # Check whether --enable-checklst or --disable-checklst was given.
5401 if test "${enable_checklst+set}" = set; then
5402 enableval
="$enable_checklst"
5404 if test "$enableval" = yes; then
5405 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5407 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5412 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5419 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5424 eval "$ac_cv_use_checklst"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_CHECKLST" = yes; then
5430 echo "$ac_t""yes" 1>&6
5432 echo "$ac_t""no" 1>&6
5436 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5437 echo "configure:5438: checking for --enable-choice" >&5
5439 # Check whether --enable-choice or --disable-choice was given.
5440 if test "${enable_choice+set}" = set; then
5441 enableval
="$enable_choice"
5443 if test "$enableval" = yes; then
5444 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5446 ac_cv_use_choice
='wxUSE_CHOICE=no'
5451 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5452 if test "x$LINE" != x
; then
5453 eval "DEFAULT_$LINE"
5458 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5463 eval "$ac_cv_use_choice"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_CHOICE" = yes; then
5469 echo "$ac_t""yes" 1>&6
5471 echo "$ac_t""no" 1>&6
5475 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5476 echo "configure:5477: checking for --enable-combobox" >&5
5478 # Check whether --enable-combobox or --disable-combobox was given.
5479 if test "${enable_combobox+set}" = set; then
5480 enableval
="$enable_combobox"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5485 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5490 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5502 eval "$ac_cv_use_combobox"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_COMBOBOX" = yes; then
5508 echo "$ac_t""yes" 1>&6
5510 echo "$ac_t""no" 1>&6
5514 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5515 echo "configure:5516: checking for --enable-gauge" >&5
5517 # Check whether --enable-gauge or --disable-gauge was given.
5518 if test "${enable_gauge+set}" = set; then
5519 enableval
="$enable_gauge"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5524 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5529 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5541 eval "$ac_cv_use_gauge"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5546 if test "$wxUSE_GAUGE" = yes; then
5547 echo "$ac_t""yes" 1>&6
5549 echo "$ac_t""no" 1>&6
5553 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5554 echo "configure:5555: checking for --enable-grid" >&5
5556 # Check whether --enable-grid or --disable-grid was given.
5557 if test "${enable_grid+set}" = set; then
5558 enableval
="$enable_grid"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_grid
='wxUSE_GRID=yes'
5563 ac_cv_use_grid
='wxUSE_GRID=no'
5568 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5580 eval "$ac_cv_use_grid"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_GRID" = yes; then
5586 echo "$ac_t""yes" 1>&6
5588 echo "$ac_t""no" 1>&6
5592 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5593 echo "configure:5594: checking for --enable-newgrid" >&5
5595 # Check whether --enable-newgrid or --disable-newgrid was given.
5596 if test "${enable_newgrid+set}" = set; then
5597 enableval
="$enable_newgrid"
5599 if test "$enableval" = yes; then
5600 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5602 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5607 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x
; then
5609 eval "DEFAULT_$LINE"
5614 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5619 eval "$ac_cv_use_newgrid"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_NEW_GRID" = yes; then
5625 echo "$ac_t""yes" 1>&6
5627 echo "$ac_t""no" 1>&6
5631 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5632 echo "configure:5633: checking for --enable-imaglist" >&5
5634 # Check whether --enable-imaglist or --disable-imaglist was given.
5635 if test "${enable_imaglist+set}" = set; then
5636 enableval
="$enable_imaglist"
5638 if test "$enableval" = yes; then
5639 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5641 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5646 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x
; then
5648 eval "DEFAULT_$LINE"
5653 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5658 eval "$ac_cv_use_imaglist"
5659 if test "$no_cache" != 1; then
5660 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5663 if test "$wxUSE_IMAGLIST" = yes; then
5664 echo "$ac_t""yes" 1>&6
5666 echo "$ac_t""no" 1>&6
5670 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5671 echo "configure:5672: checking for --enable-listbox" >&5
5673 # Check whether --enable-listbox or --disable-listbox was given.
5674 if test "${enable_listbox+set}" = set; then
5675 enableval
="$enable_listbox"
5677 if test "$enableval" = yes; then
5678 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5680 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5685 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x
; then
5687 eval "DEFAULT_$LINE"
5692 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5697 eval "$ac_cv_use_listbox"
5698 if test "$no_cache" != 1; then
5699 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5702 if test "$wxUSE_LISTBOX" = yes; then
5703 echo "$ac_t""yes" 1>&6
5705 echo "$ac_t""no" 1>&6
5709 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5710 echo "configure:5711: checking for --enable-listctrl" >&5
5712 # Check whether --enable-listctrl or --disable-listctrl was given.
5713 if test "${enable_listctrl+set}" = set; then
5714 enableval
="$enable_listctrl"
5716 if test "$enableval" = yes; then
5717 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5719 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5724 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5725 if test "x$LINE" != x
; then
5726 eval "DEFAULT_$LINE"
5731 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5736 eval "$ac_cv_use_listctrl"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5741 if test "$wxUSE_LISTCTRL" = yes; then
5742 echo "$ac_t""yes" 1>&6
5744 echo "$ac_t""no" 1>&6
5748 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5749 echo "configure:5750: checking for --enable-notebook" >&5
5751 # Check whether --enable-notebook or --disable-notebook was given.
5752 if test "${enable_notebook+set}" = set; then
5753 enableval
="$enable_notebook"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5758 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5763 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x
; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5775 eval "$ac_cv_use_notebook"
5776 if test "$no_cache" != 1; then
5777 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5780 if test "$wxUSE_NOTEBOOK" = yes; then
5781 echo "$ac_t""yes" 1>&6
5783 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5788 echo "configure:5789: checking for --enable-propsheet" >&5
5790 # Check whether --enable-propsheet or --disable-propsheet was given.
5791 if test "${enable_propsheet+set}" = set; then
5792 enableval
="$enable_propsheet"
5794 if test "$enableval" = yes; then
5795 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5797 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5802 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x
; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5814 eval "$ac_cv_use_propsheet"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_PROPSHEET" = yes; then
5820 echo "$ac_t""yes" 1>&6
5822 echo "$ac_t""no" 1>&6
5826 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5827 echo "configure:5828: checking for --enable-radiobox" >&5
5829 # Check whether --enable-radiobox or --disable-radiobox was given.
5830 if test "${enable_radiobox+set}" = set; then
5831 enableval
="$enable_radiobox"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5836 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5841 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x
; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5853 eval "$ac_cv_use_radiobox"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_RADIOBOX" = yes; then
5859 echo "$ac_t""yes" 1>&6
5861 echo "$ac_t""no" 1>&6
5865 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5866 echo "configure:5867: checking for --enable-radiobtn" >&5
5868 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5869 if test "${enable_radiobtn+set}" = set; then
5870 enableval
="$enable_radiobtn"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5875 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5880 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5892 eval "$ac_cv_use_radiobtn"
5893 if test "$no_cache" != 1; then
5894 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5897 if test "$wxUSE_RADIOBTN" = yes; then
5898 echo "$ac_t""yes" 1>&6
5900 echo "$ac_t""no" 1>&6
5904 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5905 echo "configure:5906: checking for --enable-sash" >&5
5907 # Check whether --enable-sash or --disable-sash was given.
5908 if test "${enable_sash+set}" = set; then
5909 enableval
="$enable_sash"
5911 if test "$enableval" = yes; then
5912 ac_cv_use_sash
='wxUSE_SASH=yes'
5914 ac_cv_use_sash
='wxUSE_SASH=no'
5919 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5920 if test "x$LINE" != x
; then
5921 eval "DEFAULT_$LINE"
5926 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5931 eval "$ac_cv_use_sash"
5932 if test "$no_cache" != 1; then
5933 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5936 if test "$wxUSE_SASH" = yes; then
5937 echo "$ac_t""yes" 1>&6
5939 echo "$ac_t""no" 1>&6
5943 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5944 echo "configure:5945: checking for --enable-scrollbar" >&5
5946 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5947 if test "${enable_scrollbar+set}" = set; then
5948 enableval
="$enable_scrollbar"
5950 if test "$enableval" = yes; then
5951 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5953 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5958 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x
; then
5960 eval "DEFAULT_$LINE"
5965 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5970 eval "$ac_cv_use_scrollbar"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5975 if test "$wxUSE_SCROLLBAR" = yes; then
5976 echo "$ac_t""yes" 1>&6
5978 echo "$ac_t""no" 1>&6
5982 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5983 echo "configure:5984: checking for --enable-slider" >&5
5985 # Check whether --enable-slider or --disable-slider was given.
5986 if test "${enable_slider+set}" = set; then
5987 enableval
="$enable_slider"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5992 ac_cv_use_slider
='wxUSE_SLIDER=no'
5997 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x
; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6009 eval "$ac_cv_use_slider"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_SLIDER" = yes; then
6015 echo "$ac_t""yes" 1>&6
6017 echo "$ac_t""no" 1>&6
6021 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6022 echo "configure:6023: checking for --enable-spinbtn" >&5
6024 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6025 if test "${enable_spinbtn+set}" = set; then
6026 enableval
="$enable_spinbtn"
6028 if test "$enableval" = yes; then
6029 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6031 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6036 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x
; then
6038 eval "DEFAULT_$LINE"
6043 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6048 eval "$ac_cv_use_spinbtn"
6049 if test "$no_cache" != 1; then
6050 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6053 if test "$wxUSE_SPINBTN" = yes; then
6054 echo "$ac_t""yes" 1>&6
6056 echo "$ac_t""no" 1>&6
6060 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6061 echo "configure:6062: checking for --enable-spinctrl" >&5
6063 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6064 if test "${enable_spinctrl+set}" = set; then
6065 enableval
="$enable_spinctrl"
6067 if test "$enableval" = yes; then
6068 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6070 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6075 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x
; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6087 eval "$ac_cv_use_spinctrl"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_SPINCTRL" = yes; then
6093 echo "$ac_t""yes" 1>&6
6095 echo "$ac_t""no" 1>&6
6099 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6100 echo "configure:6101: checking for --enable-splitter" >&5
6102 # Check whether --enable-splitter or --disable-splitter was given.
6103 if test "${enable_splitter+set}" = set; then
6104 enableval
="$enable_splitter"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6109 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6114 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6126 eval "$ac_cv_use_splitter"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6131 if test "$wxUSE_SPLITTER" = yes; then
6132 echo "$ac_t""yes" 1>&6
6134 echo "$ac_t""no" 1>&6
6138 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6139 echo "configure:6140: checking for --enable-statbmp" >&5
6141 # Check whether --enable-statbmp or --disable-statbmp was given.
6142 if test "${enable_statbmp+set}" = set; then
6143 enableval
="$enable_statbmp"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6148 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6153 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6165 eval "$ac_cv_use_statbmp"
6166 if test "$no_cache" != 1; then
6167 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6170 if test "$wxUSE_STATBMP" = yes; then
6171 echo "$ac_t""yes" 1>&6
6173 echo "$ac_t""no" 1>&6
6177 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6178 echo "configure:6179: checking for --enable-statbox" >&5
6180 # Check whether --enable-statbox or --disable-statbox was given.
6181 if test "${enable_statbox+set}" = set; then
6182 enableval
="$enable_statbox"
6184 if test "$enableval" = yes; then
6185 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6187 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6192 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x
; then
6194 eval "DEFAULT_$LINE"
6199 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6204 eval "$ac_cv_use_statbox"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_STATBOX" = yes; then
6210 echo "$ac_t""yes" 1>&6
6212 echo "$ac_t""no" 1>&6
6216 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6217 echo "configure:6218: checking for --enable-statline" >&5
6219 # Check whether --enable-statline or --disable-statline was given.
6220 if test "${enable_statline+set}" = set; then
6221 enableval
="$enable_statline"
6223 if test "$enableval" = yes; then
6224 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6226 ac_cv_use_statline
='wxUSE_STATLINE=no'
6231 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x
; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6243 eval "$ac_cv_use_statline"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_STATLINE" = yes; then
6249 echo "$ac_t""yes" 1>&6
6251 echo "$ac_t""no" 1>&6
6255 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6256 echo "configure:6257: checking for --enable-stattext" >&5
6258 # Check whether --enable-stattext or --disable-stattext was given.
6259 if test "${enable_stattext+set}" = set; then
6260 enableval
="$enable_stattext"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6265 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6270 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6282 eval "$ac_cv_use_stattext"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6287 if test "$wxUSE_STATTEXT" = yes; then
6288 echo "$ac_t""yes" 1>&6
6290 echo "$ac_t""no" 1>&6
6294 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6295 echo "configure:6296: checking for --enable-statusbar" >&5
6297 # Check whether --enable-statusbar or --disable-statusbar was given.
6298 if test "${enable_statusbar+set}" = set; then
6299 enableval
="$enable_statusbar"
6301 if test "$enableval" = yes; then
6302 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6304 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6309 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x
; then
6311 eval "DEFAULT_$LINE"
6316 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6321 eval "$ac_cv_use_statusbar"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6326 if test "$wxUSE_STATUSBAR" = yes; then
6327 echo "$ac_t""yes" 1>&6
6329 echo "$ac_t""no" 1>&6
6333 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6334 echo "configure:6335: checking for --enable-tabdialog" >&5
6336 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6337 if test "${enable_tabdialog+set}" = set; then
6338 enableval
="$enable_tabdialog"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6343 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6348 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6360 eval "$ac_cv_use_tabdialog"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_TABDIALOG" = yes; then
6366 echo "$ac_t""yes" 1>&6
6368 echo "$ac_t""no" 1>&6
6372 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6373 echo "configure:6374: checking for --enable-textctrl" >&5
6375 # Check whether --enable-textctrl or --disable-textctrl was given.
6376 if test "${enable_textctrl+set}" = set; then
6377 enableval
="$enable_textctrl"
6379 if test "$enableval" = yes; then
6380 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6382 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6387 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x
; then
6389 eval "DEFAULT_$LINE"
6394 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6399 eval "$ac_cv_use_textctrl"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6404 if test "$wxUSE_TEXTCTRL" = yes; then
6405 echo "$ac_t""yes" 1>&6
6407 echo "$ac_t""no" 1>&6
6411 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6412 echo "configure:6413: checking for --enable-togglebtn" >&5
6414 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6415 if test "${enable_togglebtn+set}" = set; then
6416 enableval
="$enable_togglebtn"
6418 if test "$enableval" = yes; then
6419 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6421 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6426 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x
; then
6428 eval "DEFAULT_$LINE"
6433 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6438 eval "$ac_cv_use_togglebtn"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6443 if test "$wxUSE_TOGGLEBTN" = yes; then
6444 echo "$ac_t""yes" 1>&6
6446 echo "$ac_t""no" 1>&6
6450 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6451 echo "configure:6452: checking for --enable-toolbar" >&5
6453 # Check whether --enable-toolbar or --disable-toolbar was given.
6454 if test "${enable_toolbar+set}" = set; then
6455 enableval
="$enable_toolbar"
6457 if test "$enableval" = yes; then
6458 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6460 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6465 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x
; then
6467 eval "DEFAULT_$LINE"
6472 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6477 eval "$ac_cv_use_toolbar"
6478 if test "$no_cache" != 1; then
6479 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6482 if test "$wxUSE_TOOLBAR" = yes; then
6483 echo "$ac_t""yes" 1>&6
6485 echo "$ac_t""no" 1>&6
6489 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6490 echo "configure:6491: checking for --enable-tbarnative" >&5
6492 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6493 if test "${enable_tbarnative+set}" = set; then
6494 enableval
="$enable_tbarnative"
6496 if test "$enableval" = yes; then
6497 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6499 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6504 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x
; then
6506 eval "DEFAULT_$LINE"
6511 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6516 eval "$ac_cv_use_tbarnative"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6522 echo "$ac_t""yes" 1>&6
6524 echo "$ac_t""no" 1>&6
6528 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6529 echo "configure:6530: checking for --enable-tbarsmpl" >&5
6531 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6532 if test "${enable_tbarsmpl+set}" = set; then
6533 enableval
="$enable_tbarsmpl"
6535 if test "$enableval" = yes; then
6536 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6538 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6543 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x
; then
6545 eval "DEFAULT_$LINE"
6550 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6555 eval "$ac_cv_use_tbarsmpl"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6560 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6561 echo "$ac_t""yes" 1>&6
6563 echo "$ac_t""no" 1>&6
6567 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6568 echo "configure:6569: checking for --enable-treectrl" >&5
6570 # Check whether --enable-treectrl or --disable-treectrl was given.
6571 if test "${enable_treectrl+set}" = set; then
6572 enableval
="$enable_treectrl"
6574 if test "$enableval" = yes; then
6575 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6577 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6582 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x
; then
6584 eval "DEFAULT_$LINE"
6589 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6594 eval "$ac_cv_use_treectrl"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_TREECTRL" = yes; then
6600 echo "$ac_t""yes" 1>&6
6602 echo "$ac_t""no" 1>&6
6606 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6607 echo "configure:6608: checking for --enable-popupwin" >&5
6609 # Check whether --enable-popupwin or --disable-popupwin was given.
6610 if test "${enable_popupwin+set}" = set; then
6611 enableval
="$enable_popupwin"
6613 if test "$enableval" = yes; then
6614 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6616 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6621 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x
; then
6623 eval "DEFAULT_$LINE"
6628 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6633 eval "$ac_cv_use_popupwin"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6638 if test "$wxUSE_POPUPWIN" = yes; then
6639 echo "$ac_t""yes" 1>&6
6641 echo "$ac_t""no" 1>&6
6647 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6648 echo "configure:6649: checking for --enable-commondlg" >&5
6650 # Check whether --enable-commondlg or --disable-commondlg was given.
6651 if test "${enable_commondlg+set}" = set; then
6652 enableval
="$enable_commondlg"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6657 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6662 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6674 eval "$ac_cv_use_commondlg"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_COMMONDLGS" = yes; then
6680 echo "$ac_t""yes" 1>&6
6682 echo "$ac_t""no" 1>&6
6686 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6687 echo "configure:6688: checking for --enable-choicedlg" >&5
6689 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6690 if test "${enable_choicedlg+set}" = set; then
6691 enableval
="$enable_choicedlg"
6693 if test "$enableval" = yes; then
6694 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6696 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6701 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x
; then
6703 eval "DEFAULT_$LINE"
6708 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6713 eval "$ac_cv_use_choicedlg"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_CHOICEDLG" = yes; then
6719 echo "$ac_t""yes" 1>&6
6721 echo "$ac_t""no" 1>&6
6725 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6726 echo "configure:6727: checking for --enable-coldlg" >&5
6728 # Check whether --enable-coldlg or --disable-coldlg was given.
6729 if test "${enable_coldlg+set}" = set; then
6730 enableval
="$enable_coldlg"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6735 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6740 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x
; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6752 eval "$ac_cv_use_coldlg"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6757 if test "$wxUSE_COLOURDLG" = yes; then
6758 echo "$ac_t""yes" 1>&6
6760 echo "$ac_t""no" 1>&6
6764 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6765 echo "configure:6766: checking for --enable-filedlg" >&5
6767 # Check whether --enable-filedlg or --disable-filedlg was given.
6768 if test "${enable_filedlg+set}" = set; then
6769 enableval
="$enable_filedlg"
6771 if test "$enableval" = yes; then
6772 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6774 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6779 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6780 if test "x$LINE" != x
; then
6781 eval "DEFAULT_$LINE"
6786 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6791 eval "$ac_cv_use_filedlg"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6796 if test "$wxUSE_FILEDLG" = yes; then
6797 echo "$ac_t""yes" 1>&6
6799 echo "$ac_t""no" 1>&6
6803 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6804 echo "configure:6805: checking for --enable-filedlg" >&5
6806 # Check whether --enable-filedlg or --disable-filedlg was given.
6807 if test "${enable_filedlg+set}" = set; then
6808 enableval
="$enable_filedlg"
6810 if test "$enableval" = yes; then
6811 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6813 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6818 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x
; then
6820 eval "DEFAULT_$LINE"
6825 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6830 eval "$ac_cv_use_filedlg"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6835 if test "$wxUSE_FINDREPLDLG" = yes; then
6836 echo "$ac_t""yes" 1>&6
6838 echo "$ac_t""no" 1>&6
6842 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6843 echo "configure:6844: checking for --enable-fontdlg" >&5
6845 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6846 if test "${enable_fontdlg+set}" = set; then
6847 enableval
="$enable_fontdlg"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6852 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6857 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6869 eval "$ac_cv_use_fontdlg"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_FONTDLG" = yes; then
6875 echo "$ac_t""yes" 1>&6
6877 echo "$ac_t""no" 1>&6
6881 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6882 echo "configure:6883: checking for --enable-dirdlg" >&5
6884 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6885 if test "${enable_dirdlg+set}" = set; then
6886 enableval
="$enable_dirdlg"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6891 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6896 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6908 eval "$ac_cv_use_dirdlg"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_DIRDLG" = yes; then
6914 echo "$ac_t""yes" 1>&6
6916 echo "$ac_t""no" 1>&6
6920 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6921 echo "configure:6922: checking for --enable-msgdlg" >&5
6923 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6924 if test "${enable_msgdlg+set}" = set; then
6925 enableval
="$enable_msgdlg"
6927 if test "$enableval" = yes; then
6928 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6930 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6935 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x
; then
6937 eval "DEFAULT_$LINE"
6942 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6947 eval "$ac_cv_use_msgdlg"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_MSGDLG" = yes; then
6953 echo "$ac_t""yes" 1>&6
6955 echo "$ac_t""no" 1>&6
6959 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6960 echo "configure:6961: checking for --enable-numberdlg" >&5
6962 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6963 if test "${enable_numberdlg+set}" = set; then
6964 enableval
="$enable_numberdlg"
6966 if test "$enableval" = yes; then
6967 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6969 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6974 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x
; then
6976 eval "DEFAULT_$LINE"
6981 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6986 eval "$ac_cv_use_numberdlg"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_NUMBERDLG" = yes; then
6992 echo "$ac_t""yes" 1>&6
6994 echo "$ac_t""no" 1>&6
6998 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6999 echo "configure:7000: checking for --enable-splash" >&5
7001 # Check whether --enable-splash or --disable-splash was given.
7002 if test "${enable_splash+set}" = set; then
7003 enableval
="$enable_splash"
7005 if test "$enableval" = yes; then
7006 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7008 ac_cv_use_splash
='wxUSE_SPLASH=no'
7013 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7014 if test "x$LINE" != x
; then
7015 eval "DEFAULT_$LINE"
7020 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7025 eval "$ac_cv_use_splash"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7030 if test "$wxUSE_SPLASH" = yes; then
7031 echo "$ac_t""yes" 1>&6
7033 echo "$ac_t""no" 1>&6
7037 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7038 echo "configure:7039: checking for --enable-textdlg" >&5
7040 # Check whether --enable-textdlg or --disable-textdlg was given.
7041 if test "${enable_textdlg+set}" = set; then
7042 enableval
="$enable_textdlg"
7044 if test "$enableval" = yes; then
7045 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7047 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7052 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7053 if test "x$LINE" != x
; then
7054 eval "DEFAULT_$LINE"
7059 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7064 eval "$ac_cv_use_textdlg"
7065 if test "$no_cache" != 1; then
7066 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7069 if test "$wxUSE_TEXTDLG" = yes; then
7070 echo "$ac_t""yes" 1>&6
7072 echo "$ac_t""no" 1>&6
7076 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7077 echo "configure:7078: checking for --enable-tipdlg" >&5
7079 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7080 if test "${enable_tipdlg+set}" = set; then
7081 enableval
="$enable_tipdlg"
7083 if test "$enableval" = yes; then
7084 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7086 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7091 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7092 if test "x$LINE" != x
; then
7093 eval "DEFAULT_$LINE"
7098 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7103 eval "$ac_cv_use_tipdlg"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7108 if test "$wxUSE_STARTUP_TIPS" = yes; then
7109 echo "$ac_t""yes" 1>&6
7111 echo "$ac_t""no" 1>&6
7115 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7116 echo "configure:7117: checking for --enable-progressdlg" >&5
7118 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7119 if test "${enable_progressdlg+set}" = set; then
7120 enableval
="$enable_progressdlg"
7122 if test "$enableval" = yes; then
7123 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7125 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7130 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x
; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7142 eval "$ac_cv_use_progressdlg"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_PROGRESSDLG" = yes; then
7148 echo "$ac_t""yes" 1>&6
7150 echo "$ac_t""no" 1>&6
7154 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7155 echo "configure:7156: checking for --enable-wizarddlg" >&5
7157 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7158 if test "${enable_wizarddlg+set}" = set; then
7159 enableval
="$enable_wizarddlg"
7161 if test "$enableval" = yes; then
7162 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7164 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7169 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7170 if test "x$LINE" != x
; then
7171 eval "DEFAULT_$LINE"
7176 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7181 eval "$ac_cv_use_wizarddlg"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_WIZARDDLG" = yes; then
7187 echo "$ac_t""yes" 1>&6
7189 echo "$ac_t""no" 1>&6
7195 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7196 echo "configure:7197: checking for --enable-menus" >&5
7198 # Check whether --enable-menus or --disable-menus was given.
7199 if test "${enable_menus+set}" = set; then
7200 enableval
="$enable_menus"
7202 if test "$enableval" = yes; then
7203 ac_cv_use_menus
='wxUSE_MENUS=yes'
7205 ac_cv_use_menus
='wxUSE_MENUS=no'
7210 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7211 if test "x$LINE" != x
; then
7212 eval "DEFAULT_$LINE"
7217 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7222 eval "$ac_cv_use_menus"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_MENUS" = yes; then
7228 echo "$ac_t""yes" 1>&6
7230 echo "$ac_t""no" 1>&6
7234 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7235 echo "configure:7236: checking for --enable-miniframe" >&5
7237 # Check whether --enable-miniframe or --disable-miniframe was given.
7238 if test "${enable_miniframe+set}" = set; then
7239 enableval
="$enable_miniframe"
7241 if test "$enableval" = yes; then
7242 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7244 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7249 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x
; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7261 eval "$ac_cv_use_miniframe"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7266 if test "$wxUSE_MINIFRAME" = yes; then
7267 echo "$ac_t""yes" 1>&6
7269 echo "$ac_t""no" 1>&6
7273 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7274 echo "configure:7275: checking for --enable-tooltips" >&5
7276 # Check whether --enable-tooltips or --disable-tooltips was given.
7277 if test "${enable_tooltips+set}" = set; then
7278 enableval
="$enable_tooltips"
7280 if test "$enableval" = yes; then
7281 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7283 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7288 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x
; then
7290 eval "DEFAULT_$LINE"
7295 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7300 eval "$ac_cv_use_tooltips"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_TOOLTIPS" = yes; then
7306 echo "$ac_t""yes" 1>&6
7308 echo "$ac_t""no" 1>&6
7312 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7313 echo "configure:7314: checking for --enable-splines" >&5
7315 # Check whether --enable-splines or --disable-splines was given.
7316 if test "${enable_splines+set}" = set; then
7317 enableval
="$enable_splines"
7319 if test "$enableval" = yes; then
7320 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7322 ac_cv_use_splines
='wxUSE_SPLINES=no'
7327 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x
; then
7329 eval "DEFAULT_$LINE"
7334 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7339 eval "$ac_cv_use_splines"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7344 if test "$wxUSE_SPLINES" = yes; then
7345 echo "$ac_t""yes" 1>&6
7347 echo "$ac_t""no" 1>&6
7351 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7352 echo "configure:7353: checking for --enable-validators" >&5
7354 # Check whether --enable-validators or --disable-validators was given.
7355 if test "${enable_validators+set}" = set; then
7356 enableval
="$enable_validators"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7361 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7366 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7378 eval "$ac_cv_use_validators"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7383 if test "$wxUSE_VALIDATORS" = yes; then
7384 echo "$ac_t""yes" 1>&6
7386 echo "$ac_t""no" 1>&6
7390 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7391 echo "configure:7392: checking for --enable-busyinfo" >&5
7393 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7394 if test "${enable_busyinfo+set}" = set; then
7395 enableval
="$enable_busyinfo"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7400 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7405 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x
; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7417 eval "$ac_cv_use_busyinfo"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_BUSYINFO" = yes; then
7423 echo "$ac_t""yes" 1>&6
7425 echo "$ac_t""no" 1>&6
7429 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7430 echo "configure:7431: checking for --enable-joystick" >&5
7432 # Check whether --enable-joystick or --disable-joystick was given.
7433 if test "${enable_joystick+set}" = set; then
7434 enableval
="$enable_joystick"
7436 if test "$enableval" = yes; then
7437 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7439 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7444 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x
; then
7446 eval "DEFAULT_$LINE"
7451 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7456 eval "$ac_cv_use_joystick"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_JOYSTICK" = yes; then
7462 echo "$ac_t""yes" 1>&6
7464 echo "$ac_t""no" 1>&6
7468 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7469 echo "configure:7470: checking for --enable-metafile" >&5
7471 # Check whether --enable-metafile or --disable-metafile was given.
7472 if test "${enable_metafile+set}" = set; then
7473 enableval
="$enable_metafile"
7475 if test "$enableval" = yes; then
7476 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7478 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7483 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x
; then
7485 eval "DEFAULT_$LINE"
7490 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7495 eval "$ac_cv_use_metafile"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7500 if test "$wxUSE_METAFILE" = yes; then
7501 echo "$ac_t""yes" 1>&6
7503 echo "$ac_t""no" 1>&6
7507 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7508 echo "configure:7509: checking for --enable-dragimage" >&5
7510 # Check whether --enable-dragimage or --disable-dragimage was given.
7511 if test "${enable_dragimage+set}" = set; then
7512 enableval
="$enable_dragimage"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7517 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7522 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7534 eval "$ac_cv_use_dragimage"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_DRAGIMAGE" = yes; then
7540 echo "$ac_t""yes" 1>&6
7542 echo "$ac_t""no" 1>&6
7548 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7549 echo "configure:7550: checking for --enable-palette" >&5
7551 # Check whether --enable-palette or --disable-palette was given.
7552 if test "${enable_palette+set}" = set; then
7553 enableval
="$enable_palette"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7558 ac_cv_use_palette
='wxUSE_PALETTE=no'
7563 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x
; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7575 eval "$ac_cv_use_palette"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7580 if test "$wxUSE_PALETTE" = yes; then
7581 echo "$ac_t""yes" 1>&6
7583 echo "$ac_t""no" 1>&6
7587 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7588 echo "configure:7589: checking for --enable-image" >&5
7590 # Check whether --enable-image or --disable-image was given.
7591 if test "${enable_image+set}" = set; then
7592 enableval
="$enable_image"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_image
='wxUSE_IMAGE=yes'
7597 ac_cv_use_image
='wxUSE_IMAGE=no'
7602 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7614 eval "$ac_cv_use_image"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_IMAGE" = yes; then
7620 echo "$ac_t""yes" 1>&6
7622 echo "$ac_t""no" 1>&6
7626 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7627 echo "configure:7628: checking for --enable-gif" >&5
7629 # Check whether --enable-gif or --disable-gif was given.
7630 if test "${enable_gif+set}" = set; then
7631 enableval
="$enable_gif"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_gif
='wxUSE_GIF=yes'
7636 ac_cv_use_gif
='wxUSE_GIF=no'
7641 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7653 eval "$ac_cv_use_gif"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_GIF" = yes; then
7659 echo "$ac_t""yes" 1>&6
7661 echo "$ac_t""no" 1>&6
7665 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7666 echo "configure:7667: checking for --enable-pcx" >&5
7668 # Check whether --enable-pcx or --disable-pcx was given.
7669 if test "${enable_pcx+set}" = set; then
7670 enableval
="$enable_pcx"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_pcx
='wxUSE_PCX=yes'
7675 ac_cv_use_pcx
='wxUSE_PCX=no'
7680 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x
; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7692 eval "$ac_cv_use_pcx"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_PCX" = yes; then
7698 echo "$ac_t""yes" 1>&6
7700 echo "$ac_t""no" 1>&6
7704 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7705 echo "configure:7706: checking for --enable-pnm" >&5
7707 # Check whether --enable-pnm or --disable-pnm was given.
7708 if test "${enable_pnm+set}" = set; then
7709 enableval
="$enable_pnm"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_pnm
='wxUSE_PNM=yes'
7714 ac_cv_use_pnm
='wxUSE_PNM=no'
7719 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7731 eval "$ac_cv_use_pnm"
7732 if test "$no_cache" != 1; then
7733 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7736 if test "$wxUSE_PNM" = yes; then
7737 echo "$ac_t""yes" 1>&6
7739 echo "$ac_t""no" 1>&6
7743 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7744 echo "configure:7745: checking for --enable-pnm" >&5
7746 # Check whether --enable-pnm or --disable-pnm was given.
7747 if test "${enable_pnm+set}" = set; then
7748 enableval
="$enable_pnm"
7750 if test "$enableval" = yes; then
7751 ac_cv_use_pnm
='wxUSE_XPM=yes'
7753 ac_cv_use_pnm
='wxUSE_XPM=no'
7758 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x
; then
7760 eval "DEFAULT_$LINE"
7765 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7770 eval "$ac_cv_use_pnm"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_XPM" = yes; then
7776 echo "$ac_t""yes" 1>&6
7778 echo "$ac_t""no" 1>&6
7785 echo "saving argument cache $wx_arg_cache_file"
7786 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7790 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7791 echo "configure:7792: checking for toolkit" >&5
7793 if test "$wxUSE_GUI" = "yes"; then
7795 if test "$USE_BEOS" = 1; then
7796 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7799 if test "$TOOLKIT_GIVEN" = 1; then
7800 for toolkit
in `echo $ALL_TOOLKITS`; do
7802 eval "value=\$${var}"
7803 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7806 for toolkit
in `echo $ALL_TOOLKITS`; do
7807 if test "$has_toolkit_in_cache" != 1; then
7808 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7810 var
=DEFAULT_wxUSE_
$toolkit
7812 eval "wxUSE_$toolkit=\$${var}"
7816 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7817 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7820 *-pc-os2_emx | *-pc-os2-emx )
7821 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7822 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7831 case "$NUM_TOOLKITS" in
7835 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7838 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7841 for toolkit
in `echo $ALL_TOOLKITS`; do
7843 eval "value=\$${var}"
7844 if test "x$value" != x
; then
7845 cache_var
=CACHE_
$toolkit
7846 eval "cache=\$${cache_var}"
7847 if test "$cache" = 1; then
7848 echo "$var=$value" >> ${wx_arg_cache_file}
7850 if test "$value" = 1; then
7851 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7852 echo "$ac_t""$toolkit_echo" 1>&6
7858 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7862 cat > confcache
<<\EOF
7863 # This file is a shell script that caches the results of configure
7864 # tests run on this system so they can be shared between configure
7865 # scripts and configure runs. It is not useful on other systems.
7866 # If it contains results you don't want to keep, you may remove or edit it.
7868 # By default, configure uses ./config.cache as the cache file,
7869 # creating it if it does not exist already. You can give configure
7870 # the --cache-file=FILE option to use a different cache file; that is
7871 # what configure does when it calls configure scripts in
7872 # subdirectories, so they share the cache.
7873 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7874 # config.status only pays attention to the cache file if you give it the
7875 # --recheck option to rerun configure.
7878 # The following way of writing the cache mishandles newlines in values,
7879 # but we know of no workaround that is simple, portable, and efficient.
7880 # So, don't put newlines in cache variables' values.
7881 # Ultrix sh set writes to stderr and can't be redirected directly,
7882 # and sets the high bit in the cache file unless we assign to the vars.
7884 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7886 # `set' does not quote correctly, so add quotes (double-quote substitution
7887 # turns \\\\ into \\, and sed turns \\ into \).
7889 -e "s/'/'\\\\''/g" \
7890 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7893 # `set' quotes correctly as required by POSIX, so do not add quotes.
7894 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7897 if cmp -s $cache_file confcache
; then
7900 if test -w $cache_file; then
7901 echo "updating cache $cache_file"
7902 cat confcache
> $cache_file
7904 echo "not updating unwritable cache $cache_file"
7910 if test "$build" != "$host" ; then
7911 if test "$USE_WIN32" = 1 ; then
7915 RANLIB
=$host_alias-ranlib
7916 DLLTOOL
=$host_alias-dlltool
7917 RESCOMP
=$host_alias-windres
7920 STRIP
=$host_alias-strip
7922 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7926 # Extract the first word of "gcc", so it can be a program name with args.
7927 set dummy gcc
; ac_word
=$2
7928 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7929 echo "configure:7930: checking for $ac_word" >&5
7930 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7931 echo $ac_n "(cached) $ac_c" 1>&6
7933 if test -n "$CC"; then
7934 ac_cv_prog_CC
="$CC" # Let the user override the test.
7936 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7938 for ac_dir
in $ac_dummy; do
7939 test -z "$ac_dir" && ac_dir
=.
7940 if test -f $ac_dir/$ac_word; then
7949 if test -n "$CC"; then
7950 echo "$ac_t""$CC" 1>&6
7952 echo "$ac_t""no" 1>&6
7955 if test -z "$CC"; then
7956 # Extract the first word of "cc", so it can be a program name with args.
7957 set dummy cc
; ac_word
=$2
7958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7959 echo "configure:7960: checking for $ac_word" >&5
7960 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7961 echo $ac_n "(cached) $ac_c" 1>&6
7963 if test -n "$CC"; then
7964 ac_cv_prog_CC
="$CC" # Let the user override the test.
7966 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7969 for ac_dir
in $ac_dummy; do
7970 test -z "$ac_dir" && ac_dir
=.
7971 if test -f $ac_dir/$ac_word; then
7972 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7973 ac_prog_rejected
=yes
7981 if test $ac_prog_rejected = yes; then
7982 # We found a bogon in the path, so make sure we never use it.
7983 set dummy
$ac_cv_prog_CC
7985 if test $# -gt 0; then
7986 # We chose a different compiler from the bogus one.
7987 # However, it has the same basename, so the bogon will be chosen
7988 # first if we set CC to just the basename; use the full file name.
7990 set dummy
"$ac_dir/$ac_word" "$@"
7998 if test -n "$CC"; then
7999 echo "$ac_t""$CC" 1>&6
8001 echo "$ac_t""no" 1>&6
8004 if test -z "$CC"; then
8005 case "`uname -s`" in
8007 # Extract the first word of "cl", so it can be a program name with args.
8008 set dummy cl
; ac_word
=$2
8009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8010 echo "configure:8011: checking for $ac_word" >&5
8011 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8012 echo $ac_n "(cached) $ac_c" 1>&6
8014 if test -n "$CC"; then
8015 ac_cv_prog_CC
="$CC" # Let the user override the test.
8017 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8019 for ac_dir
in $ac_dummy; do
8020 test -z "$ac_dir" && ac_dir
=.
8021 if test -f $ac_dir/$ac_word; then
8030 if test -n "$CC"; then
8031 echo "$ac_t""$CC" 1>&6
8033 echo "$ac_t""no" 1>&6
8038 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8041 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8042 echo "configure:8043: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8046 ac_cpp
='$CPP $CPPFLAGS'
8047 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8048 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8049 cross_compiling
=$ac_cv_prog_cc_cross
8051 cat > conftest.
$ac_ext << EOF
8053 #line 8054 "configure"
8054 #include "confdefs.h"
8058 if { (eval echo configure
:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8059 ac_cv_prog_cc_works
=yes
8060 # If we can't run a trivial program, we are probably using a cross compiler.
8061 if (.
/conftest
; exit) 2>/dev
/null
; then
8062 ac_cv_prog_cc_cross
=no
8064 ac_cv_prog_cc_cross
=yes
8067 echo "configure: failed program was:" >&5
8068 cat conftest.
$ac_ext >&5
8069 ac_cv_prog_cc_works
=no
8073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8074 ac_cpp
='$CPP $CPPFLAGS'
8075 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8076 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8077 cross_compiling
=$ac_cv_prog_cc_cross
8079 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8080 if test $ac_cv_prog_cc_works = no
; then
8081 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8083 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8084 echo "configure:8085: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8085 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8086 cross_compiling
=$ac_cv_prog_cc_cross
8088 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8089 echo "configure:8090: checking whether we are using GNU C" >&5
8090 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8091 echo $ac_n "(cached) $ac_c" 1>&6
8093 cat > conftest.c
<<EOF
8098 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8105 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8107 if test $ac_cv_prog_gcc = yes; then
8113 ac_test_CFLAGS
="${CFLAGS+set}"
8114 ac_save_CFLAGS
="$CFLAGS"
8116 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8117 echo "configure:8118: checking whether ${CC-cc} accepts -g" >&5
8118 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8119 echo $ac_n "(cached) $ac_c" 1>&6
8121 echo 'void f(){}' > conftest.c
8122 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8131 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8132 if test "$ac_test_CFLAGS" = set; then
8133 CFLAGS
="$ac_save_CFLAGS"
8134 elif test $ac_cv_prog_cc_g = yes; then
8135 if test "$GCC" = yes; then
8141 if test "$GCC" = yes; then
8149 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8151 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8152 echo "configure:8153: checking how to run the C preprocessor" >&5
8153 # On Suns, sometimes $CPP names a directory.
8154 if test -n "$CPP" && test -d "$CPP"; then
8157 if test -z "$CPP"; then
8158 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8159 echo $ac_n "(cached) $ac_c" 1>&6
8161 # This must be in double quotes, not single quotes, because CPP may get
8162 # substituted into the Makefile and "${CC-cc}" will confuse make.
8164 # On the NeXT, cc -E runs the code through the compiler's parser,
8165 # not just through cpp.
8166 cat > conftest.
$ac_ext <<EOF
8167 #line 8168 "configure"
8168 #include "confdefs.h"
8172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8173 { (eval echo configure
:8174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8175 if test -z "$ac_err"; then
8179 echo "configure: failed program was:" >&5
8180 cat conftest.
$ac_ext >&5
8182 CPP
="${CC-cc} -E -traditional-cpp"
8183 cat > conftest.
$ac_ext <<EOF
8184 #line 8185 "configure"
8185 #include "confdefs.h"
8189 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8190 { (eval echo configure
:8191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8191 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8192 if test -z "$ac_err"; then
8196 echo "configure: failed program was:" >&5
8197 cat conftest.
$ac_ext >&5
8199 CPP
="${CC-cc} -nologo -E"
8200 cat > conftest.
$ac_ext <<EOF
8201 #line 8202 "configure"
8202 #include "confdefs.h"
8206 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8207 { (eval echo configure
:8208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8208 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8209 if test -z "$ac_err"; then
8213 echo "configure: failed program was:" >&5
8214 cat conftest.
$ac_ext >&5
8223 ac_cv_prog_CPP
="$CPP"
8225 CPP
="$ac_cv_prog_CPP"
8227 ac_cv_prog_CPP
="$CPP"
8229 echo "$ac_t""$CPP" 1>&6
8231 if test $ac_cv_prog_gcc = yes; then
8232 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8233 echo "configure:8234: checking whether ${CC-cc} needs -traditional" >&5
8234 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8235 echo $ac_n "(cached) $ac_c" 1>&6
8237 ac_pattern
="Autoconf.*'x'"
8238 cat > conftest.
$ac_ext <<EOF
8239 #line 8240 "configure"
8240 #include "confdefs.h"
8244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8245 egrep "$ac_pattern" >/dev
/null
2>&1; then
8247 ac_cv_prog_gcc_traditional
=yes
8250 ac_cv_prog_gcc_traditional
=no
8255 if test $ac_cv_prog_gcc_traditional = no
; then
8256 cat > conftest.
$ac_ext <<EOF
8257 #line 8258 "configure"
8258 #include "confdefs.h"
8262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8263 egrep "$ac_pattern" >/dev
/null
2>&1; then
8265 ac_cv_prog_gcc_traditional
=yes
8272 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8273 if test $ac_cv_prog_gcc_traditional = yes; then
8274 CC
="$CC -traditional"
8281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8282 ac_cpp
='$CXXCPP $CPPFLAGS'
8283 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8284 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8285 cross_compiling
=$ac_cv_prog_cxx_cross
8288 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8290 # Extract the first word of "$ac_prog", so it can be a program name with args.
8291 set dummy
$ac_prog; ac_word
=$2
8292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8293 echo "configure:8294: checking for $ac_word" >&5
8294 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8295 echo $ac_n "(cached) $ac_c" 1>&6
8297 if test -n "$CXX"; then
8298 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8302 for ac_dir
in $ac_dummy; do
8303 test -z "$ac_dir" && ac_dir
=.
8304 if test -f $ac_dir/$ac_word; then
8305 ac_cv_prog_CXX
="$ac_prog"
8312 CXX
="$ac_cv_prog_CXX"
8313 if test -n "$CXX"; then
8314 echo "$ac_t""$CXX" 1>&6
8316 echo "$ac_t""no" 1>&6
8319 test -n "$CXX" && break
8321 test -n "$CXX" || CXX
="gcc"
8324 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8325 echo "configure:8326: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8329 ac_cpp
='$CXXCPP $CPPFLAGS'
8330 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8331 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8332 cross_compiling
=$ac_cv_prog_cxx_cross
8334 cat > conftest.
$ac_ext << EOF
8336 #line 8337 "configure"
8337 #include "confdefs.h"
8339 int main(){return(0);}
8341 if { (eval echo configure
:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8342 ac_cv_prog_cxx_works
=yes
8343 # If we can't run a trivial program, we are probably using a cross compiler.
8344 if (.
/conftest
; exit) 2>/dev
/null
; then
8345 ac_cv_prog_cxx_cross
=no
8347 ac_cv_prog_cxx_cross
=yes
8350 echo "configure: failed program was:" >&5
8351 cat conftest.
$ac_ext >&5
8352 ac_cv_prog_cxx_works
=no
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
8362 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8363 if test $ac_cv_prog_cxx_works = no
; then
8364 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8366 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8367 echo "configure:8368: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8368 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8369 cross_compiling
=$ac_cv_prog_cxx_cross
8371 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8372 echo "configure:8373: checking whether we are using GNU C++" >&5
8373 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8374 echo $ac_n "(cached) $ac_c" 1>&6
8376 cat > conftest.C
<<EOF
8381 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8388 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8390 if test $ac_cv_prog_gxx = yes; then
8396 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8397 ac_save_CXXFLAGS
="$CXXFLAGS"
8399 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8400 echo "configure:8401: checking whether ${CXX-g++} accepts -g" >&5
8401 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8402 echo $ac_n "(cached) $ac_c" 1>&6
8404 echo 'void f(){}' > conftest.cc
8405 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8406 ac_cv_prog_cxx_g
=yes
8414 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8415 if test "$ac_test_CXXFLAGS" = set; then
8416 CXXFLAGS
="$ac_save_CXXFLAGS"
8417 elif test $ac_cv_prog_cxx_g = yes; then
8418 if test "$GXX" = yes; then
8424 if test "$GXX" = yes; then
8432 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8436 ac_cpp
='$CPP $CPPFLAGS'
8437 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8438 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8439 cross_compiling
=$ac_cv_prog_cc_cross
8442 # Extract the first word of "ranlib", so it can be a program name with args.
8443 set dummy ranlib
; ac_word
=$2
8444 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8445 echo "configure:8446: checking for $ac_word" >&5
8446 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8447 echo $ac_n "(cached) $ac_c" 1>&6
8449 if test -n "$RANLIB"; then
8450 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8452 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8454 for ac_dir
in $ac_dummy; do
8455 test -z "$ac_dir" && ac_dir
=.
8456 if test -f $ac_dir/$ac_word; then
8457 ac_cv_prog_RANLIB
="ranlib"
8462 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8465 RANLIB
="$ac_cv_prog_RANLIB"
8466 if test -n "$RANLIB"; then
8467 echo "$ac_t""$RANLIB" 1>&6
8469 echo "$ac_t""no" 1>&6
8473 # Extract the first word of "ar", so it can be a program name with args.
8474 set dummy
ar; ac_word
=$2
8475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8476 echo "configure:8477: checking for $ac_word" >&5
8477 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8478 echo $ac_n "(cached) $ac_c" 1>&6
8480 if test -n "$AR"; then
8481 ac_cv_prog_AR
="$AR" # Let the user override the test.
8483 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8485 for ac_dir
in $ac_dummy; do
8486 test -z "$ac_dir" && ac_dir
=.
8487 if test -f $ac_dir/$ac_word; then
8493 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8497 if test -n "$AR"; then
8498 echo "$ac_t""$AR" 1>&6
8500 echo "$ac_t""no" 1>&6
8504 # Find a good install program. We prefer a C program (faster),
8505 # so one script is as good as another. But avoid the broken or
8506 # incompatible versions:
8507 # SysV /etc/install, /usr/sbin/install
8508 # SunOS /usr/etc/install
8509 # IRIX /sbin/install
8511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8514 # ./install, which can be erroneously created by make from ./install.sh.
8515 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8516 echo "configure:8517: checking for a BSD compatible install" >&5
8517 if test -z "$INSTALL"; then
8518 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8519 echo $ac_n "(cached) $ac_c" 1>&6
8521 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8522 for ac_dir
in $PATH; do
8523 # Account for people who put trailing slashes in PATH elements.
8525 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8527 # OSF1 and SCO ODT 3.0 have their own names for install.
8528 # Don't use installbsd from OSF since it installs stuff as root
8530 for ac_prog
in ginstall scoinst
install; do
8531 if test -f $ac_dir/$ac_prog; then
8532 if test $ac_prog = install &&
8533 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8534 # AIX install. It has an incompatible calling convention.
8537 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8548 if test "${ac_cv_path_install+set}" = set; then
8549 INSTALL
="$ac_cv_path_install"
8551 # As a last resort, use the slow shell script. We don't cache a
8552 # path for INSTALL within a source directory, because that will
8553 # break other packages using the cache if that directory is
8554 # removed, or if the path is relative.
8555 INSTALL
="$ac_install_sh"
8558 echo "$ac_t""$INSTALL" 1>&6
8560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8561 # It thinks the first close brace ends the variable substitution.
8562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8564 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8566 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8569 # Extract the first word of "strip", so it can be a program name with args.
8570 set dummy strip
; ac_word
=$2
8571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8572 echo "configure:8573: checking for $ac_word" >&5
8573 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8574 echo $ac_n "(cached) $ac_c" 1>&6
8576 if test -n "$STRIP"; then
8577 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8579 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8581 for ac_dir
in $ac_dummy; do
8582 test -z "$ac_dir" && ac_dir
=.
8583 if test -f $ac_dir/$ac_word; then
8584 ac_cv_prog_STRIP
="strip"
8589 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8592 STRIP
="$ac_cv_prog_STRIP"
8593 if test -n "$STRIP"; then
8594 echo "$ac_t""$STRIP" 1>&6
8596 echo "$ac_t""no" 1>&6
8600 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8601 echo "configure:8602: checking make for VPATH support" >&5
8602 cat - << EOF > confMake
8608 if test ! -d sub
; then
8611 echo dummy
> sub
/file
8612 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8614 rm -f sub
/file check final_file confMake
8616 if test "$RESULT" = 0; then
8617 echo "$ac_t""yes" 1>&6
8619 echo "$ac_t""no" 1>&6
8620 { echo "configure: error:
8621 You need a make-utility that is able to use the variable
8623 If your version of make does not support VPATH correctly,
8624 please install GNU-make (possibly as gmake), and start
8625 configure with the following command:
8626 export MAKE=gmake; ./configure for sh-type shells
8627 setenv MAKE gmake; ./configure for csh-type shells
8628 Also please do remember to use gmake in this case every time
8629 you are trying to compile.
8633 for ac_prog
in 'bison -y' byacc
8635 # Extract the first word of "$ac_prog", so it can be a program name with args.
8636 set dummy
$ac_prog; ac_word
=$2
8637 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8638 echo "configure:8639: checking for $ac_word" >&5
8639 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8640 echo $ac_n "(cached) $ac_c" 1>&6
8642 if test -n "$YACC"; then
8643 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8645 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8647 for ac_dir
in $ac_dummy; do
8648 test -z "$ac_dir" && ac_dir
=.
8649 if test -f $ac_dir/$ac_word; then
8650 ac_cv_prog_YACC
="$ac_prog"
8657 YACC
="$ac_cv_prog_YACC"
8658 if test -n "$YACC"; then
8659 echo "$ac_t""$YACC" 1>&6
8661 echo "$ac_t""no" 1>&6
8664 test -n "$YACC" && break
8666 test -n "$YACC" || YACC
="yacc"
8669 # Extract the first word of "flex", so it can be a program name with args.
8670 set dummy flex
; ac_word
=$2
8671 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8672 echo "configure:8673: checking for $ac_word" >&5
8673 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8674 echo $ac_n "(cached) $ac_c" 1>&6
8676 if test -n "$LEX"; then
8677 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8679 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8681 for ac_dir
in $ac_dummy; do
8682 test -z "$ac_dir" && ac_dir
=.
8683 if test -f $ac_dir/$ac_word; then
8684 ac_cv_prog_LEX
="flex"
8689 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8692 LEX
="$ac_cv_prog_LEX"
8693 if test -n "$LEX"; then
8694 echo "$ac_t""$LEX" 1>&6
8696 echo "$ac_t""no" 1>&6
8699 if test -z "$LEXLIB"
8705 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8706 echo "configure:8707: checking for yywrap in -l$ac_lib" >&5
8707 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8711 ac_save_LIBS
="$LIBS"
8712 LIBS
="-l$ac_lib $LIBS"
8713 cat > conftest.
$ac_ext <<EOF
8714 #line 8715 "configure"
8715 #include "confdefs.h"
8716 /* Override any gcc2 internal prototype to avoid an error. */
8717 /* We use char because int might match the return type of a gcc2
8718 builtin and then its argument prototype would still apply. */
8725 if { (eval echo configure
:8726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8727 eval "ac_cv_lib_$ac_lib_var=yes"
8729 echo "configure: failed program was:" >&5
8730 cat conftest.
$ac_ext >&5
8732 eval "ac_cv_lib_$ac_lib_var=no"
8735 LIBS
="$ac_save_LIBS"
8738 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8739 echo "$ac_t""yes" 1>&6
8742 echo "$ac_t""no" 1>&6
8748 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8749 echo "configure:8750: checking whether ln -s works" >&5
8750 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8751 echo $ac_n "(cached) $ac_c" 1>&6
8754 if ln -s X conftestdata
2>/dev
/null
8757 ac_cv_prog_LN_S
="ln -s"
8762 LN_S
="$ac_cv_prog_LN_S"
8763 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8764 echo "$ac_t""yes" 1>&6
8766 echo "$ac_t""no" 1>&6
8772 /usr/local/include \
8774 /usr/Motif-1.2/include \
8775 /usr/Motif-2.1/include \
8777 /usr/include/Motif1.2 \
8778 /opt/xpm/include/X11 \
8779 /opt/GBxpm/include/ \
8780 /opt/GBxpm/X11/include/ \
8782 /usr/Motif1.2/include \
8784 /usr/openwin/include \
8788 /usr/X11R6/include \
8789 /usr/X11R6.4/include \
8790 /usr/X11R5/include \
8791 /usr/X11R4/include \
8793 /usr/include/X11R6 \
8794 /usr/include/X11R5 \
8795 /usr/include/X11R4 \
8797 /usr/local/X11R6/include \
8798 /usr/local/X11R5/include \
8799 /usr/local/X11R4/include \
8801 /usr/local/include/X11R6 \
8802 /usr/local/include/X11R5 \
8803 /usr/local/include/X11R4 \
8807 /usr/local/X11/include \
8808 /usr/local/include/X11 \
8812 /usr/XFree86/include/X11 \
8814 X:/XFree86/include \
8815 X:/XFree86/include/X11 \
8818 /usr/local/include/gtk \
8820 /usr/local/include/glib \
8823 /usr/local/include/qt \
8825 /usr/include/windows \
8827 /usr/local/include/wine \
8829 /usr/unsupported/include \
8830 /usr/athena/include \
8831 /usr/local/x11r5/include \
8832 /usr/lpp/Xamples/include \
8834 /usr/openwin/share/include \
8838 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8841 cat > confcache
<<\EOF
8842 # This file is a shell script that caches the results of configure
8843 # tests run on this system so they can be shared between configure
8844 # scripts and configure runs. It is not useful on other systems.
8845 # If it contains results you don't want to keep, you may remove or edit it.
8847 # By default, configure uses ./config.cache as the cache file,
8848 # creating it if it does not exist already. You can give configure
8849 # the --cache-file=FILE option to use a different cache file; that is
8850 # what configure does when it calls configure scripts in
8851 # subdirectories, so they share the cache.
8852 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8853 # config.status only pays attention to the cache file if you give it the
8854 # --recheck option to rerun configure.
8857 # The following way of writing the cache mishandles newlines in values,
8858 # but we know of no workaround that is simple, portable, and efficient.
8859 # So, don't put newlines in cache variables' values.
8860 # Ultrix sh set writes to stderr and can't be redirected directly,
8861 # and sets the high bit in the cache file unless we assign to the vars.
8863 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8865 # `set' does not quote correctly, so add quotes (double-quote substitution
8866 # turns \\\\ into \\, and sed turns \\ into \).
8868 -e "s/'/'\\\\''/g" \
8869 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8872 # `set' quotes correctly as required by POSIX, so do not add quotes.
8873 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8876 if cmp -s $cache_file confcache
; then
8879 if test -w $cache_file; then
8880 echo "updating cache $cache_file"
8881 cat confcache
> $cache_file
8883 echo "not updating unwritable cache $cache_file"
8892 if test "$wxUSE_REGEX" != "no"; then
8893 cat >> confdefs.h
<<\EOF
8894 #define wxUSE_REGEX 1
8898 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
8899 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8900 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8901 echo "configure:8902: checking for regex.h" >&5
8902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8903 echo $ac_n "(cached) $ac_c" 1>&6
8905 cat > conftest.
$ac_ext <<EOF
8906 #line 8907 "configure"
8907 #include "confdefs.h"
8910 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8911 { (eval echo configure
:8912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8912 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8913 if test -z "$ac_err"; then
8915 eval "ac_cv_header_$ac_safe=yes"
8918 echo "configure: failed program was:" >&5
8919 cat conftest.
$ac_ext >&5
8921 eval "ac_cv_header_$ac_safe=no"
8925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8926 echo "$ac_t""yes" 1>&6
8927 for ac_func
in regcomp
8929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8930 echo "configure:8931: checking for $ac_func" >&5
8931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8934 cat > conftest.
$ac_ext <<EOF
8935 #line 8936 "configure"
8936 #include "confdefs.h"
8937 /* System header to define __stub macros and hopefully few prototypes,
8938 which can conflict with char $ac_func(); below. */
8940 /* Override any gcc2 internal prototype to avoid an error. */
8941 /* We use char because int might match the return type of a gcc2
8942 builtin and then its argument prototype would still apply. */
8947 /* The GNU C library defines this for functions which it implements
8948 to always fail with ENOSYS. Some functions are actually named
8949 something starting with __ and the normal name is an alias. */
8950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8958 if { (eval echo configure
:8959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8960 eval "ac_cv_func_$ac_func=yes"
8962 echo "configure: failed program was:" >&5
8963 cat conftest.
$ac_ext >&5
8965 eval "ac_cv_func_$ac_func=no"
8970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8971 echo "$ac_t""yes" 1>&6
8972 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8973 cat >> confdefs.h
<<EOF
8974 #define $ac_tr_func 1
8978 echo "$ac_t""no" 1>&6
8983 echo "$ac_t""no" 1>&6
8987 if test "x$ac_cv_func_regcomp" != "xyes"; then
8988 if test "$wxUSE_REGEX" = "sys" ; then
8989 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
8991 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
8999 if test "$wxUSE_REGEX" = "builtin" ; then
9000 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9007 if test "$wxUSE_ZLIB" != "no" ; then
9008 cat >> confdefs.h
<<\EOF
9009 #define wxUSE_ZLIB 1
9013 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9014 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9015 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9016 echo "configure:9017: checking for zlib.h" >&5
9017 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9020 cat > conftest.
$ac_ext <<EOF
9021 #line 9022 "configure"
9022 #include "confdefs.h"
9025 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9026 { (eval echo configure
:9027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9027 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9028 if test -z "$ac_err"; then
9030 eval "ac_cv_header_$ac_safe=yes"
9033 echo "configure: failed program was:" >&5
9034 cat conftest.
$ac_ext >&5
9036 eval "ac_cv_header_$ac_safe=no"
9040 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9041 echo "$ac_t""yes" 1>&6
9042 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9043 echo "configure:9044: checking for deflate in -lz" >&5
9044 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9045 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9046 echo $ac_n "(cached) $ac_c" 1>&6
9048 ac_save_LIBS
="$LIBS"
9050 cat > conftest.
$ac_ext <<EOF
9051 #line 9052 "configure"
9052 #include "confdefs.h"
9053 /* Override any gcc2 internal prototype to avoid an error. */
9054 /* We use char because int might match the return type of a gcc2
9055 builtin and then its argument prototype would still apply. */
9062 if { (eval echo configure
:9063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9064 eval "ac_cv_lib_$ac_lib_var=yes"
9066 echo "configure: failed program was:" >&5
9067 cat conftest.
$ac_ext >&5
9069 eval "ac_cv_lib_$ac_lib_var=no"
9072 LIBS
="$ac_save_LIBS"
9075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9076 echo "$ac_t""yes" 1>&6
9079 echo "$ac_t""no" 1>&6
9083 echo "$ac_t""no" 1>&6
9087 if test "x$ZLIB_LINK" = "x" ; then
9088 if test "$wxUSE_ZLIB" = "sys" ; then
9089 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9091 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9099 if test "$wxUSE_ZLIB" = "builtin" ; then
9100 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9107 if test "$wxUSE_LIBPNG" != "no" ; then
9108 cat >> confdefs.h
<<\EOF
9109 #define wxUSE_LIBPNG 1
9113 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9114 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9115 wxUSE_LIBPNG
=builtin
9118 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9119 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9120 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9121 echo "configure:9122: checking for png.h" >&5
9122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9123 echo $ac_n "(cached) $ac_c" 1>&6
9125 cat > conftest.
$ac_ext <<EOF
9126 #line 9127 "configure"
9127 #include "confdefs.h"
9130 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9131 { (eval echo configure
:9132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9132 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9133 if test -z "$ac_err"; then
9135 eval "ac_cv_header_$ac_safe=yes"
9138 echo "configure: failed program was:" >&5
9139 cat conftest.
$ac_ext >&5
9141 eval "ac_cv_header_$ac_safe=no"
9145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9146 echo "$ac_t""yes" 1>&6
9147 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9148 echo "configure:9149: checking for png_check_sig in -lpng" >&5
9149 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9150 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9151 echo $ac_n "(cached) $ac_c" 1>&6
9153 ac_save_LIBS
="$LIBS"
9154 LIBS
="-lpng -lz -lm $LIBS"
9155 cat > conftest.
$ac_ext <<EOF
9156 #line 9157 "configure"
9157 #include "confdefs.h"
9158 /* Override any gcc2 internal prototype to avoid an error. */
9159 /* We use char because int might match the return type of a gcc2
9160 builtin and then its argument prototype would still apply. */
9161 char png_check_sig();
9167 if { (eval echo configure
:9168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9169 eval "ac_cv_lib_$ac_lib_var=yes"
9171 echo "configure: failed program was:" >&5
9172 cat conftest.
$ac_ext >&5
9174 eval "ac_cv_lib_$ac_lib_var=no"
9177 LIBS
="$ac_save_LIBS"
9180 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9181 echo "$ac_t""yes" 1>&6
9184 echo "$ac_t""no" 1>&6
9189 echo "$ac_t""no" 1>&6
9193 if test "x$PNG_LINK" = "x" ; then
9194 if test "$wxUSE_LIBPNG" = "sys" ; then
9195 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9197 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9198 wxUSE_LIBPNG
=builtin
9205 if test "$wxUSE_LIBPNG" = "builtin" ; then
9206 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9215 if test "$wxUSE_LIBJPEG" != "no" ; then
9216 cat >> confdefs.h
<<\EOF
9217 #define wxUSE_LIBJPEG 1
9221 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9222 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9223 echo "configure:9224: checking for jpeglib.h" >&5
9224 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9225 echo $ac_n "(cached) $ac_c" 1>&6
9227 cat > conftest.
$ac_ext <<EOF
9228 #line 9229 "configure"
9229 #include "confdefs.h"
9231 #undef HAVE_STDLIB_H
9233 #include <jpeglib.h>
9240 if { (eval echo configure
:9241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9242 ac_cv_header_jpeglib_h
=yes
9244 echo "configure: failed program was:" >&5
9245 cat conftest.
$ac_ext >&5
9247 ac_cv_header_jpeglib_h
=no
9254 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9256 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9257 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9258 echo "configure:9259: checking for jpeg_read_header in -ljpeg" >&5
9259 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9260 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9261 echo $ac_n "(cached) $ac_c" 1>&6
9263 ac_save_LIBS
="$LIBS"
9265 cat > conftest.
$ac_ext <<EOF
9266 #line 9267 "configure"
9267 #include "confdefs.h"
9268 /* Override any gcc2 internal prototype to avoid an error. */
9269 /* We use char because int might match the return type of a gcc2
9270 builtin and then its argument prototype would still apply. */
9271 char jpeg_read_header();
9277 if { (eval echo configure
:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9279 eval "ac_cv_lib_$ac_lib_var=yes"
9281 echo "configure: failed program was:" >&5
9282 cat conftest.
$ac_ext >&5
9284 eval "ac_cv_lib_$ac_lib_var=no"
9287 LIBS
="$ac_save_LIBS"
9290 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9291 echo "$ac_t""yes" 1>&6
9294 echo "$ac_t""no" 1>&6
9299 if test "x$JPEG_LINK" = "x" ; then
9300 if test "$wxUSE_LIBJPEG" = "sys" ; then
9301 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9303 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9304 wxUSE_LIBJPEG
=builtin
9311 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9312 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9319 if test "$wxUSE_LIBTIFF" != "no" ; then
9320 cat >> confdefs.h
<<\EOF
9321 #define wxUSE_LIBTIFF 1
9325 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9326 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9327 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9328 echo "configure:9329: checking for tiffio.h" >&5
9329 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9330 echo $ac_n "(cached) $ac_c" 1>&6
9332 cat > conftest.
$ac_ext <<EOF
9333 #line 9334 "configure"
9334 #include "confdefs.h"
9337 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9338 { (eval echo configure
:9339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9339 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9340 if test -z "$ac_err"; then
9342 eval "ac_cv_header_$ac_safe=yes"
9345 echo "configure: failed program was:" >&5
9346 cat conftest.
$ac_ext >&5
9348 eval "ac_cv_header_$ac_safe=no"
9352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9353 echo "$ac_t""yes" 1>&6
9354 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9355 echo "configure:9356: checking for TIFFError in -ltiff" >&5
9356 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9358 echo $ac_n "(cached) $ac_c" 1>&6
9360 ac_save_LIBS
="$LIBS"
9361 LIBS
="-ltiff -lm $LIBS"
9362 cat > conftest.
$ac_ext <<EOF
9363 #line 9364 "configure"
9364 #include "confdefs.h"
9365 /* Override any gcc2 internal prototype to avoid an error. */
9366 /* We use char because int might match the return type of a gcc2
9367 builtin and then its argument prototype would still apply. */
9374 if { (eval echo configure
:9375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9376 eval "ac_cv_lib_$ac_lib_var=yes"
9378 echo "configure: failed program was:" >&5
9379 cat conftest.
$ac_ext >&5
9381 eval "ac_cv_lib_$ac_lib_var=no"
9384 LIBS
="$ac_save_LIBS"
9387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9388 echo "$ac_t""yes" 1>&6
9391 echo "$ac_t""no" 1>&6
9396 echo "$ac_t""no" 1>&6
9400 if test "x$TIFF_LINK" = "x" ; then
9401 if test "$wxUSE_LIBTIFF" = "sys" ; then
9402 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9404 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9405 wxUSE_LIBTIFF
=builtin
9412 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9413 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9420 if test "$wxUSE_FREETYPE" != "no" ; then
9421 cat >> confdefs.h
<<\EOF
9422 #define wxUSE_FREETYPE 1
9426 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9427 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9428 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9429 echo "configure:9430: checking for freetype.h" >&5
9430 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9431 echo $ac_n "(cached) $ac_c" 1>&6
9433 cat > conftest.
$ac_ext <<EOF
9434 #line 9435 "configure"
9435 #include "confdefs.h"
9436 #include <freetype.h>
9438 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9439 { (eval echo configure
:9440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9440 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9441 if test -z "$ac_err"; then
9443 eval "ac_cv_header_$ac_safe=yes"
9446 echo "configure: failed program was:" >&5
9447 cat conftest.
$ac_ext >&5
9449 eval "ac_cv_header_$ac_safe=no"
9453 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9454 echo "$ac_t""yes" 1>&6
9455 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9456 echo "configure:9457: checking for FT_Render_Glyph in -lfreetype" >&5
9457 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9461 ac_save_LIBS
="$LIBS"
9462 LIBS
="-lfreetype -lm $LIBS"
9463 cat > conftest.
$ac_ext <<EOF
9464 #line 9465 "configure"
9465 #include "confdefs.h"
9466 /* Override any gcc2 internal prototype to avoid an error. */
9467 /* We use char because int might match the return type of a gcc2
9468 builtin and then its argument prototype would still apply. */
9469 char FT_Render_Glyph();
9475 if { (eval echo configure
:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9477 eval "ac_cv_lib_$ac_lib_var=yes"
9479 echo "configure: failed program was:" >&5
9480 cat conftest.
$ac_ext >&5
9482 eval "ac_cv_lib_$ac_lib_var=no"
9485 LIBS
="$ac_save_LIBS"
9488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9489 echo "$ac_t""yes" 1>&6
9490 FREETYPE_LINK
="-lfreetype"
9492 echo "$ac_t""no" 1>&6
9497 echo "$ac_t""no" 1>&6
9501 if test "x$FREETYPE_LINK" = "x" ; then
9502 if test "$wxUSE_FREETYPE" = "sys" ; then
9503 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9505 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9506 wxUSE_FREETYPE
=builtin
9513 if test "$wxUSE_FREETYPE" = "builtin" ; then
9514 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9525 if test "$USE_WIN32" = 1 ; then
9526 for ac_hdr
in w32api.h
9528 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9529 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9530 echo "configure:9531: checking for $ac_hdr" >&5
9531 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9532 echo $ac_n "(cached) $ac_c" 1>&6
9534 cat > conftest.
$ac_ext <<EOF
9535 #line 9536 "configure"
9536 #include "confdefs.h"
9539 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9540 { (eval echo configure
:9541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9541 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9542 if test -z "$ac_err"; then
9544 eval "ac_cv_header_$ac_safe=yes"
9547 echo "configure: failed program was:" >&5
9548 cat conftest.
$ac_ext >&5
9550 eval "ac_cv_header_$ac_safe=no"
9554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9555 echo "$ac_t""yes" 1>&6
9556 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9557 cat >> confdefs.h
<<EOF
9558 #define $ac_tr_hdr 1
9562 echo "$ac_t""no" 1>&6
9566 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9567 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9568 echo "configure:9569: checking for windows.h" >&5
9569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9572 cat > conftest.
$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9575 #include <windows.h>
9577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9578 { (eval echo configure
:9579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9580 if test -z "$ac_err"; then
9582 eval "ac_cv_header_$ac_safe=yes"
9585 echo "configure: failed program was:" >&5
9586 cat conftest.
$ac_ext >&5
9588 eval "ac_cv_header_$ac_safe=no"
9592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9593 echo "$ac_t""yes" 1>&6
9596 echo "$ac_t""no" 1>&6
9598 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9603 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9604 echo "configure:9605: checking if w32api has good enough MSIE support" >&5
9605 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9609 cat > conftest.
$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9615 #define wxCHECK_W32API_VERSION( major, minor ) \
9616 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9617 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9618 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9620 #if !wxCHECK_W32API_VERSION(1,1)
9621 #error You need w32api 1.1 or newer
9626 if { (eval echo configure
:9627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9629 wx_cv_w32api_win_ie
=yes
9630 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9633 echo "configure: failed program was:" >&5
9634 cat conftest.
$ac_ext >&5
9637 wx_cv_w32api_win_ie
=no
9644 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9646 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9650 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9651 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9654 if test "$wxUSE_ODBC" = "yes" ; then
9655 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9658 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9659 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9662 if test "$wxUSE_GUI" = "yes"; then
9671 if test "$wxUSE_MSW" = 1 ; then
9677 EXTRA_LIBS
="$EXTRA_LIBS -Wl,--subsystem,windows -mwindows"
9681 if test "$wxUSE_GTK" = 1; then
9682 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9683 echo "configure:9684: checking for GTK+ version" >&5
9685 gtk_version_cached
=1
9686 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9687 echo $ac_n "(cached) $ac_c" 1>&6
9690 gtk_version_cached
=0
9691 echo "$ac_t""""" 1>&6
9694 if test "x$wxUSE_GTK2" = "xyes"; then
9695 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9696 if test "${with_gtk_prefix+set}" = set; then
9697 withval
="$with_gtk_prefix"
9698 gtk_config_prefix
="$withval"
9700 gtk_config_prefix
=""
9703 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9704 if test "${with_gtk_exec_prefix+set}" = set; then
9705 withval
="$with_gtk_exec_prefix"
9706 gtk_config_exec_prefix
="$withval"
9708 gtk_config_exec_prefix
=""
9711 # Check whether --enable-gtktest or --disable-gtktest was given.
9712 if test "${enable_gtktest+set}" = set; then
9713 enableval
="$enable_gtktest"
9724 gtk_config_args
="$gtk_config_args gthread"
9729 if test x
$gtk_config_exec_prefix != x
; then
9730 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9731 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9732 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9735 if test x
$gtk_config_prefix != x
; then
9736 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9737 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9738 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9742 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9743 set dummy gtk
-config-2.0
; ac_word
=$2
9744 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9745 echo "configure:9746: checking for $ac_word" >&5
9746 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9749 case "$GTK_CONFIG_2_0" in
9751 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9754 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9757 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9759 for ac_dir
in $ac_dummy; do
9760 test -z "$ac_dir" && ac_dir
=.
9761 if test -f $ac_dir/$ac_word; then
9762 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9767 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9771 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9772 if test -n "$GTK_CONFIG_2_0"; then
9773 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9775 echo "$ac_t""no" 1>&6
9778 min_gtk_version
=1.3.1
9779 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9780 echo "configure:9781: checking for GTK - version >= $min_gtk_version" >&5
9782 if test "$GTK_CONFIG_2_0" = "no" ; then
9785 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9786 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9787 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9789 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9791 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9793 if test "x$enable_gtktest" = "xyes" ; then
9794 ac_save_CFLAGS
="$CFLAGS"
9795 ac_save_LIBS
="$LIBS"
9796 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9797 LIBS
="$GTK_LIBS $LIBS"
9799 if test "$cross_compiling" = yes; then
9800 echo $ac_n "cross compiling; assumed OK... $ac_c"
9802 cat > conftest.
$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9806 #include <gtk/gtk.h>
9813 int major, minor, micro;
9816 system ("touch conf.gtktest");
9818 /* HP/UX 9 (%@#!) writes to sscanf strings */
9819 tmp_version = g_strdup("$min_gtk_version");
9820 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9821 printf("%s, bad version string\n", "$min_gtk_version");
9825 if ((gtk_major_version != $gtk_config_major_version) ||
9826 (gtk_minor_version != $gtk_config_minor_version) ||
9827 (gtk_micro_version != $gtk_config_micro_version))
9829 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9830 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9831 gtk_major_version, gtk_minor_version, gtk_micro_version);
9832 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9833 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9834 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9835 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9836 printf("*** required on your system.\n");
9837 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9838 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9839 printf("*** before re-running configure\n");
9841 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9842 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9843 (gtk_minor_version != GTK_MINOR_VERSION) ||
9844 (gtk_micro_version != GTK_MICRO_VERSION))
9846 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9847 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9848 printf("*** library (version %d.%d.%d)\n",
9849 gtk_major_version, gtk_minor_version, gtk_micro_version);
9851 #endif /* defined (GTK_MAJOR_VERSION) ... */
9854 if ((gtk_major_version > major) ||
9855 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9856 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9862 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9863 gtk_major_version, gtk_minor_version, gtk_micro_version);
9864 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9865 major, minor, micro);
9866 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9868 printf("*** If you have already installed a sufficiently new version, this error\n");
9869 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9870 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9871 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9872 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9873 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9874 printf("*** so that the correct libraries are found at run-time))\n");
9881 if { (eval echo configure
:9882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9885 echo "configure: failed program was:" >&5
9886 cat conftest.
$ac_ext >&5
9893 CFLAGS
="$ac_save_CFLAGS"
9894 LIBS
="$ac_save_LIBS"
9897 if test "x$no_gtk" = x
; then
9898 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9901 echo "$ac_t""no" 1>&6
9902 if test "$GTK_CONFIG_2_0" = "no" ; then
9903 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9904 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9905 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9906 echo "*** full path to gtk-config-2.0."
9908 if test -f conf.gtktest
; then
9911 echo "*** Could not run GTK test program, checking why..."
9912 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9913 LIBS
="$LIBS $GTK_LIBS"
9914 cat > conftest.
$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9918 #include <gtk/gtk.h>
9922 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9925 if { (eval echo configure
:9926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9927 echo "*** The test program compiled, but did not run. This usually means"
9928 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9929 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9930 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9931 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9932 echo "*** is required on your system"
9934 echo "*** If you have an old version installed, it is best to remove it, although"
9935 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9937 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9938 echo "*** came with the system with the command"
9940 echo "*** rpm --erase --nodeps gtk gtk-devel"
9942 echo "configure: failed program was:" >&5
9943 cat conftest.
$ac_ext >&5
9945 echo "*** The test program failed to compile or link. See the file config.log for the"
9946 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9947 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9948 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9951 CFLAGS
="$ac_save_CFLAGS"
9952 LIBS
="$ac_save_LIBS"
9965 if test -z "$wx_cv_lib_gtk"; then
9967 if test x
$gtk_config_exec_prefix != x
; then
9968 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9969 if test x
${GTK_CONFIG+set} != xset
; then
9970 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9973 if test x
$gtk_config_prefix != x
; then
9974 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9975 if test x
${GTK_CONFIG+set} != xset
; then
9976 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9980 # Extract the first word of "gtk-config", so it can be a program name with args.
9981 set dummy gtk
-config; ac_word
=$2
9982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9983 echo "configure:9984: checking for $ac_word" >&5
9984 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9985 echo $ac_n "(cached) $ac_c" 1>&6
9987 case "$GTK_CONFIG" in
9989 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9992 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9995 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9997 for ac_dir
in $ac_dummy; do
9998 test -z "$ac_dir" && ac_dir
=.
9999 if test -f $ac_dir/$ac_word; then
10000 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10005 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10009 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10010 if test -n "$GTK_CONFIG"; then
10011 echo "$ac_t""$GTK_CONFIG" 1>&6
10013 echo "$ac_t""no" 1>&6
10016 min_gtk_version
=1.2.7
10017 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10018 echo "configure:10019: checking for GTK - version >= $min_gtk_version" >&5
10020 if test "$GTK_CONFIG" != "no" ; then
10021 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10022 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10023 ac_save_CFLAGS
="$CFLAGS"
10024 ac_save_LIBS
="$LIBS"
10025 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10026 LIBS
="$LIBS $GTK_LIBS"
10027 if test "$cross_compiling" = yes; then
10028 echo $ac_n "cross compiling; assumed OK... $ac_c"
10030 cat > conftest.
$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10034 #include <gtk/gtk.h>
10035 #include <gtk/gtkfeatures.h>
10037 #include <stdlib.h>
10042 int major, minor, micro;
10044 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10045 printf("%s, bad version string\n", "$min_gtk_version");
10049 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10050 (GTK_MINOR_VERSION != gtk_minor_version) ||
10051 (GTK_MICRO_VERSION != gtk_micro_version)) {
10052 printf("Headers vs. library version mismatch!\n");
10056 if (gtk_minor_version == 1) return FALSE;
10058 return !((gtk_major_version > major) ||
10059 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10060 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10064 if { (eval echo configure
:10065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10068 echo "configure: failed program was:" >&5
10069 cat conftest.
$ac_ext >&5
10076 CFLAGS
="$ac_save_CFLAGS"
10077 LIBS
="$ac_save_LIBS"
10081 if test "x$no_gtk" = x
; then
10082 echo "$ac_t""yes" 1>&6
10083 wx_cv_lib_gtk
=1.2.7
10085 echo "$ac_t""no" 1>&6
10095 if test -z "$wx_cv_lib_gtk"; then
10097 if test x
$gtk_config_exec_prefix != x
; then
10098 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10099 if test x
${GTK_CONFIG+set} != xset
; then
10100 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10103 if test x
$gtk_config_prefix != x
; then
10104 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10105 if test x
${GTK_CONFIG+set} != xset
; then
10106 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10110 # Extract the first word of "gtk-config", so it can be a program name with args.
10111 set dummy gtk
-config; ac_word
=$2
10112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10113 echo "configure:10114: checking for $ac_word" >&5
10114 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10115 echo $ac_n "(cached) $ac_c" 1>&6
10117 case "$GTK_CONFIG" in
10119 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10122 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10127 for ac_dir
in $ac_dummy; do
10128 test -z "$ac_dir" && ac_dir
=.
10129 if test -f $ac_dir/$ac_word; then
10130 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10135 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10139 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10140 if test -n "$GTK_CONFIG"; then
10141 echo "$ac_t""$GTK_CONFIG" 1>&6
10143 echo "$ac_t""no" 1>&6
10146 min_gtk_version
=1.2.3
10147 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10148 echo "configure:10149: checking for GTK - version >= $min_gtk_version" >&5
10150 if test "$GTK_CONFIG" != "no" ; then
10151 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10152 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10153 ac_save_CFLAGS
="$CFLAGS"
10154 ac_save_LIBS
="$LIBS"
10155 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10156 LIBS
="$LIBS $GTK_LIBS"
10157 if test "$cross_compiling" = yes; then
10158 echo $ac_n "cross compiling; assumed OK... $ac_c"
10160 cat > conftest.
$ac_ext <<EOF
10161 #line 10162 "configure"
10162 #include "confdefs.h"
10164 #include <gtk/gtk.h>
10165 #include <gtk/gtkfeatures.h>
10167 #include <stdlib.h>
10172 int major, minor, micro;
10174 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10175 printf("%s, bad version string\n", "$min_gtk_version");
10179 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10180 (GTK_MINOR_VERSION != gtk_minor_version) ||
10181 (GTK_MICRO_VERSION != gtk_micro_version)) {
10182 printf("Headers vs. library version mismatch!\n");
10186 if (gtk_minor_version == 1) return FALSE;
10188 return !((gtk_major_version > major) ||
10189 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10190 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10194 if { (eval echo configure
:10195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10198 echo "configure: failed program was:" >&5
10199 cat conftest.
$ac_ext >&5
10206 CFLAGS
="$ac_save_CFLAGS"
10207 LIBS
="$ac_save_LIBS"
10211 if test "x$no_gtk" = x
; then
10212 echo "$ac_t""yes" 1>&6
10213 wx_cv_lib_gtk
=1.2.3
10215 echo "$ac_t""no" 1>&6
10225 if test -z "$wx_cv_lib_gtk"; then
10228 wx_cv_cflags_gtk
=$GTK_CFLAGS
10229 wx_cv_libs_gtk
=$GTK_LIBS
10236 if test "$gtk_version_cached" = 1; then
10237 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10240 case "$wx_cv_lib_gtk" in
10248 *) { echo "configure: error:
10249 Please check that gtk-config is in path, the directory
10250 where GTK+ libraries are installed (returned by
10251 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10252 equivalent variable and GTK+ is version 1.2.3 or above.
10257 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10258 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10260 AFMINSTALL
=afminstall
10264 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10265 echo "configure:10266: checking for gdk_im_open in -lgdk" >&5
10266 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10268 echo $ac_n "(cached) $ac_c" 1>&6
10270 ac_save_LIBS
="$LIBS"
10272 cat > conftest.
$ac_ext <<EOF
10273 #line 10274 "configure"
10274 #include "confdefs.h"
10275 /* Override any gcc2 internal prototype to avoid an error. */
10276 /* We use char because int might match the return type of a gcc2
10277 builtin and then its argument prototype would still apply. */
10278 char gdk_im_open();
10284 if { (eval echo configure
:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10286 eval "ac_cv_lib_$ac_lib_var=yes"
10288 echo "configure: failed program was:" >&5
10289 cat conftest.
$ac_ext >&5
10291 eval "ac_cv_lib_$ac_lib_var=no"
10294 LIBS
="$ac_save_LIBS"
10297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10298 echo "$ac_t""yes" 1>&6
10299 cat >> confdefs.h
<<\EOF
10304 echo "$ac_t""no" 1>&6
10309 if test "$wxUSE_MGL" = 1; then
10311 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10312 echo "configure:10313: checking for SciTech MGL library" >&5
10313 if test "x$MGL_ROOT" = x
; then
10314 echo "$ac_t""not found" 1>&6
10315 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10317 echo "$ac_t""$MGL_ROOT" 1>&6
10320 mgl_os
=linux
/gcc
/glibc
10323 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10324 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
10328 if test "x$mgl_lib_type" = x
; then
10329 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
10330 mgl_lib_type
=release
10332 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10336 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10337 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10339 AFMINSTALL
=afminstall
10344 if test "$wxUSE_WINE" = 1; then
10345 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10346 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10347 echo "configure:10348: checking for windows.h" >&5
10348 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10349 echo $ac_n "(cached) $ac_c" 1>&6
10351 cat > conftest.
$ac_ext <<EOF
10352 #line 10353 "configure"
10353 #include "confdefs.h"
10354 #include <windows.h>
10356 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10357 { (eval echo configure
:10358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10358 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10359 if test -z "$ac_err"; then
10361 eval "ac_cv_header_$ac_safe=yes"
10364 echo "configure: failed program was:" >&5
10365 cat conftest.
$ac_ext >&5
10367 eval "ac_cv_header_$ac_safe=no"
10371 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10372 echo "$ac_t""yes" 1>&6
10375 echo "$ac_t""no" 1>&6
10377 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10383 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10384 echo "configure:10385: checking for Xpm library" >&5
10387 for ac_dir
in $SEARCH_LIB;
10389 for ac_extension
in a so sl dylib
; do
10390 if test -f "$ac_dir/libXpm.$ac_extension"; then
10391 ac_find_libraries
=$ac_dir
10397 if test "$ac_find_libraries" != "" ; then
10398 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10400 cat >> confdefs.h
<<\EOF
10401 #define wxHAVE_LIB_XPM 1
10404 echo "$ac_t""found at $ac_find_libraries" 1>&6
10406 echo "$ac_t""no" 1>&6
10407 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10411 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10412 echo "configure:10413: checking for Mesa library" >&5
10415 for ac_dir
in $SEARCH_LIB;
10417 for ac_extension
in a so sl dylib
; do
10418 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10419 ac_find_libraries
=$ac_dir
10425 if test "$ac_find_libraries" != "" ; then
10426 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10427 mesa_link
="-lMesaGL"
10428 echo "$ac_t""found at $ac_find_libraries" 1>&6
10430 { echo "configure: error: no" 1>&2; exit 1; }
10433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10436 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10439 if test "$wxUSE_MOTIF" = 1; then
10440 # If we find X, set shell vars x_includes and x_libraries to the
10441 # paths, otherwise set no_x=yes.
10442 # Uses ac_ vars as temps to allow command line to override cache and checks.
10443 # --without-x overrides everything else, but does not touch the cache.
10444 echo $ac_n "checking for X""... $ac_c" 1>&6
10445 echo "configure:10446: checking for X" >&5
10447 # Check whether --with-x or --without-x was given.
10448 if test "${with_x+set}" = set; then
10453 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10454 if test "x$with_x" = xno
; then
10455 # The user explicitly disabled X.
10458 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10459 # Both variables are already set.
10462 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10463 echo $ac_n "(cached) $ac_c" 1>&6
10465 # One or both of the vars are not set, and there is no cached value.
10466 ac_x_includes
=NO ac_x_libraries
=NO
10468 if mkdir conftestdir
; then
10470 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10471 cat > Imakefile
<<'EOF'
10473 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10475 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10477 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10478 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10479 for ac_extension
in a so sl
; do
10480 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10481 test -f $ac_im_libdir/libX11.
$ac_extension; then
10482 ac_im_usrlibdir
=$ac_im_libdir; break
10485 # Screen out bogus values from the imake configuration. They are
10486 # bogus both because they are the default anyway, and because
10487 # using them would break gcc on systems where it needs fixed includes.
10488 case "$ac_im_incroot" in
10490 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10492 case "$ac_im_usrlibdir" in
10493 /usr
/lib
| /lib
) ;;
10494 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10501 if test "$ac_x_includes" = NO
; then
10502 # Guess where to find include files, by looking for this one X11 .h file.
10503 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10505 # First, try using that file with no special directory specified.
10506 cat > conftest.
$ac_ext <<EOF
10507 #line 10508 "configure"
10508 #include "confdefs.h"
10509 #include <$x_direct_test_include>
10511 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10512 { (eval echo configure
:10513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10513 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10514 if test -z "$ac_err"; then
10516 # We can compile using X headers with no special include directory.
10520 echo "configure: failed program was:" >&5
10521 cat conftest.
$ac_ext >&5
10523 # Look for the header file in a standard set of common directories.
10524 # Check X11 before X11Rn because it is often a symlink to the current release.
10527 /usr
/X
11R
6/include \
10528 /usr
/X
11R
5/include \
10529 /usr
/X
11R
4/include \
10532 /usr
/include
/X11R6 \
10533 /usr
/include
/X11R5 \
10534 /usr
/include
/X11R4 \
10536 /usr
/local
/X
11/include \
10537 /usr
/local
/X
11R
6/include \
10538 /usr
/local
/X
11R
5/include \
10539 /usr
/local
/X
11R
4/include \
10541 /usr
/local
/include
/X11 \
10542 /usr
/local
/include
/X11R6 \
10543 /usr
/local
/include
/X11R5 \
10544 /usr
/local
/include
/X11R4 \
10546 /usr
/X
386/include \
10547 /usr
/x
386/include \
10548 /usr
/XFree
86/include
/X11 \
10551 /usr
/local
/include \
10552 /usr
/unsupported
/include \
10553 /usr
/athena
/include \
10554 /usr
/local
/x
11r
5/include \
10555 /usr
/lpp
/Xamples
/include \
10557 /usr
/openwin
/include \
10558 /usr
/openwin
/share
/include \
10561 if test -r "$ac_dir/$x_direct_test_include"; then
10562 ac_x_includes
=$ac_dir
10568 fi # $ac_x_includes = NO
10570 if test "$ac_x_libraries" = NO
; then
10571 # Check for the libraries.
10573 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10574 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10576 # See if we find them without any special options.
10577 # Don't add to $LIBS permanently.
10578 ac_save_LIBS
="$LIBS"
10579 LIBS
="-l$x_direct_test_library $LIBS"
10580 cat > conftest.
$ac_ext <<EOF
10581 #line 10582 "configure"
10582 #include "confdefs.h"
10585 ${x_direct_test_function}()
10588 if { (eval echo configure
:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10590 LIBS
="$ac_save_LIBS"
10591 # We can link X programs with no special library path.
10594 echo "configure: failed program was:" >&5
10595 cat conftest.
$ac_ext >&5
10597 LIBS
="$ac_save_LIBS"
10598 # First see if replacing the include by lib works.
10599 # Check X11 before X11Rn because it is often a symlink to the current release.
10600 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10611 /usr
/local
/X
11/lib \
10612 /usr
/local
/X
11R
6/lib \
10613 /usr
/local
/X
11R
5/lib \
10614 /usr
/local
/X
11R
4/lib \
10616 /usr
/local
/lib
/X11 \
10617 /usr
/local
/lib
/X11R6 \
10618 /usr
/local
/lib
/X11R5 \
10619 /usr
/local
/lib
/X11R4 \
10623 /usr
/XFree
86/lib
/X11 \
10627 /usr
/unsupported
/lib \
10629 /usr
/local
/x
11r
5/lib \
10630 /usr
/lpp
/Xamples
/lib \
10634 /usr
/openwin
/share
/lib \
10637 for ac_extension
in a so sl
; do
10638 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10639 ac_x_libraries
=$ac_dir
10646 fi # $ac_x_libraries = NO
10648 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10649 # Didn't find X anywhere. Cache the known absence of X.
10650 ac_cv_have_x
="have_x=no"
10652 # Record where we found X for the cache.
10653 ac_cv_have_x
="have_x=yes \
10654 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10658 eval "$ac_cv_have_x"
10661 if test "$have_x" != yes; then
10662 echo "$ac_t""$have_x" 1>&6
10665 # If each of the values was on the command line, it overrides each guess.
10666 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10667 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10668 # Update the cache value to reflect the command line values.
10669 ac_cv_have_x
="have_x=yes \
10670 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10671 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10674 if test "$no_x" = yes; then
10675 # Not all programs may use this symbol, but it does not hurt to define it.
10676 cat >> confdefs.h
<<\EOF
10677 #define X_DISPLAY_MISSING 1
10680 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10682 if test -n "$x_includes"; then
10683 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10686 # It would also be nice to do this for all -L options, not just this one.
10687 if test -n "$x_libraries"; then
10688 X_LIBS
="$X_LIBS -L$x_libraries"
10689 # For Solaris; some versions of Sun CC require a space after -R and
10690 # others require no space. Words are not sufficient . . . .
10691 case "`(uname -sr) 2>/dev/null`" in
10693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10694 echo "configure:10695: checking whether -R must be followed by a space" >&5
10695 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10696 cat > conftest.
$ac_ext <<EOF
10697 #line 10698 "configure"
10698 #include "confdefs.h"
10704 if { (eval echo configure
:10705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10708 echo "configure: failed program was:" >&5
10709 cat conftest.
$ac_ext >&5
10714 if test $ac_R_nospace = yes; then
10715 echo "$ac_t""no" 1>&6
10716 X_LIBS
="$X_LIBS -R$x_libraries"
10718 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10719 cat > conftest.
$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10727 if { (eval echo configure
:10728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10731 echo "configure: failed program was:" >&5
10732 cat conftest.
$ac_ext >&5
10737 if test $ac_R_space = yes; then
10738 echo "$ac_t""yes" 1>&6
10739 X_LIBS
="$X_LIBS -R $x_libraries"
10741 echo "$ac_t""neither works" 1>&6
10744 LIBS
="$ac_xsave_LIBS"
10748 # Check for system-dependent libraries X programs must link with.
10749 # Do this before checking for the system-independent R6 libraries
10750 # (-lICE), since we may need -lsocket or whatever for X linking.
10752 if test "$ISC" = yes; then
10753 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10755 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10756 # libraries were built with DECnet support. And karl@cs.umb.edu says
10757 # the Alpha needs dnet_stub (dnet does not exist).
10758 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10759 echo "configure:10760: checking for dnet_ntoa in -ldnet" >&5
10760 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10762 echo $ac_n "(cached) $ac_c" 1>&6
10764 ac_save_LIBS
="$LIBS"
10765 LIBS
="-ldnet $LIBS"
10766 cat > conftest.
$ac_ext <<EOF
10767 #line 10768 "configure"
10768 #include "confdefs.h"
10769 /* Override any gcc2 internal prototype to avoid an error. */
10770 /* We use char because int might match the return type of a gcc2
10771 builtin and then its argument prototype would still apply. */
10778 if { (eval echo configure
:10779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10780 eval "ac_cv_lib_$ac_lib_var=yes"
10782 echo "configure: failed program was:" >&5
10783 cat conftest.
$ac_ext >&5
10785 eval "ac_cv_lib_$ac_lib_var=no"
10788 LIBS
="$ac_save_LIBS"
10791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10792 echo "$ac_t""yes" 1>&6
10793 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10795 echo "$ac_t""no" 1>&6
10798 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10799 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10800 echo "configure:10801: checking for dnet_ntoa in -ldnet_stub" >&5
10801 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10803 echo $ac_n "(cached) $ac_c" 1>&6
10805 ac_save_LIBS
="$LIBS"
10806 LIBS
="-ldnet_stub $LIBS"
10807 cat > conftest.
$ac_ext <<EOF
10808 #line 10809 "configure"
10809 #include "confdefs.h"
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 /* We use char because int might match the return type of a gcc2
10812 builtin and then its argument prototype would still apply. */
10819 if { (eval echo configure
:10820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10821 eval "ac_cv_lib_$ac_lib_var=yes"
10823 echo "configure: failed program was:" >&5
10824 cat conftest.
$ac_ext >&5
10826 eval "ac_cv_lib_$ac_lib_var=no"
10829 LIBS
="$ac_save_LIBS"
10832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10833 echo "$ac_t""yes" 1>&6
10834 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10836 echo "$ac_t""no" 1>&6
10841 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10842 # to get the SysV transport functions.
10843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10845 # The nsl library prevents programs from opening the X display
10846 # on Irix 5.2, according to dickey@clark.net.
10847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10848 echo "configure:10849: checking for gethostbyname" >&5
10849 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10850 echo $ac_n "(cached) $ac_c" 1>&6
10852 cat > conftest.
$ac_ext <<EOF
10853 #line 10854 "configure"
10854 #include "confdefs.h"
10855 /* System header to define __stub macros and hopefully few prototypes,
10856 which can conflict with char gethostbyname(); below. */
10857 #include <assert.h>
10858 /* Override any gcc2 internal prototype to avoid an error. */
10859 /* We use char because int might match the return type of a gcc2
10860 builtin and then its argument prototype would still apply. */
10861 char gethostbyname();
10865 /* The GNU C library defines this for functions which it implements
10866 to always fail with ENOSYS. Some functions are actually named
10867 something starting with __ and the normal name is an alias. */
10868 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10876 if { (eval echo configure
:10877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10878 eval "ac_cv_func_gethostbyname=yes"
10880 echo "configure: failed program was:" >&5
10881 cat conftest.
$ac_ext >&5
10883 eval "ac_cv_func_gethostbyname=no"
10888 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10889 echo "$ac_t""yes" 1>&6
10892 echo "$ac_t""no" 1>&6
10895 if test $ac_cv_func_gethostbyname = no
; then
10896 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10897 echo "configure:10898: checking for gethostbyname in -lnsl" >&5
10898 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10902 ac_save_LIBS
="$LIBS"
10904 cat > conftest.
$ac_ext <<EOF
10905 #line 10906 "configure"
10906 #include "confdefs.h"
10907 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10910 char gethostbyname();
10916 if { (eval echo configure
:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10918 eval "ac_cv_lib_$ac_lib_var=yes"
10920 echo "configure: failed program was:" >&5
10921 cat conftest.
$ac_ext >&5
10923 eval "ac_cv_lib_$ac_lib_var=no"
10926 LIBS
="$ac_save_LIBS"
10929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10930 echo "$ac_t""yes" 1>&6
10931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10933 echo "$ac_t""no" 1>&6
10938 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10939 # socket/setsockopt and other routines are undefined under SCO ODT
10940 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10941 # on later versions), says simon@lia.di.epfl.ch: it contains
10942 # gethostby* variants that don't use the nameserver (or something).
10943 # -lsocket must be given before -lnsl if both are needed.
10944 # We assume that if connect needs -lnsl, so does gethostbyname.
10945 echo $ac_n "checking for connect""... $ac_c" 1>&6
10946 echo "configure:10947: checking for connect" >&5
10947 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10948 echo $ac_n "(cached) $ac_c" 1>&6
10950 cat > conftest.
$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10953 /* System header to define __stub macros and hopefully few prototypes,
10954 which can conflict with char connect(); below. */
10955 #include <assert.h>
10956 /* Override any gcc2 internal prototype to avoid an error. */
10957 /* We use char because int might match the return type of a gcc2
10958 builtin and then its argument prototype would still apply. */
10963 /* The GNU C library defines this for functions which it implements
10964 to always fail with ENOSYS. Some functions are actually named
10965 something starting with __ and the normal name is an alias. */
10966 #if defined (__stub_connect) || defined (__stub___connect)
10974 if { (eval echo configure
:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10976 eval "ac_cv_func_connect=yes"
10978 echo "configure: failed program was:" >&5
10979 cat conftest.
$ac_ext >&5
10981 eval "ac_cv_func_connect=no"
10986 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10987 echo "$ac_t""yes" 1>&6
10990 echo "$ac_t""no" 1>&6
10993 if test $ac_cv_func_connect = no
; then
10994 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10995 echo "configure:10996: checking for connect in -lsocket" >&5
10996 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10997 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10998 echo $ac_n "(cached) $ac_c" 1>&6
11000 ac_save_LIBS
="$LIBS"
11001 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11002 cat > conftest.
$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11005 /* Override any gcc2 internal prototype to avoid an error. */
11006 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */
11014 if { (eval echo configure
:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11016 eval "ac_cv_lib_$ac_lib_var=yes"
11018 echo "configure: failed program was:" >&5
11019 cat conftest.
$ac_ext >&5
11021 eval "ac_cv_lib_$ac_lib_var=no"
11024 LIBS
="$ac_save_LIBS"
11027 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11028 echo "$ac_t""yes" 1>&6
11029 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11031 echo "$ac_t""no" 1>&6
11036 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11037 echo $ac_n "checking for remove""... $ac_c" 1>&6
11038 echo "configure:11039: checking for remove" >&5
11039 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11040 echo $ac_n "(cached) $ac_c" 1>&6
11042 cat > conftest.
$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11045 /* System header to define __stub macros and hopefully few prototypes,
11046 which can conflict with char remove(); below. */
11047 #include <assert.h>
11048 /* Override any gcc2 internal prototype to avoid an error. */
11049 /* We use char because int might match the return type of a gcc2
11050 builtin and then its argument prototype would still apply. */
11055 /* The GNU C library defines this for functions which it implements
11056 to always fail with ENOSYS. Some functions are actually named
11057 something starting with __ and the normal name is an alias. */
11058 #if defined (__stub_remove) || defined (__stub___remove)
11066 if { (eval echo configure
:11067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11068 eval "ac_cv_func_remove=yes"
11070 echo "configure: failed program was:" >&5
11071 cat conftest.
$ac_ext >&5
11073 eval "ac_cv_func_remove=no"
11078 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11079 echo "$ac_t""yes" 1>&6
11082 echo "$ac_t""no" 1>&6
11085 if test $ac_cv_func_remove = no
; then
11086 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11087 echo "configure:11088: checking for remove in -lposix" >&5
11088 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11090 echo $ac_n "(cached) $ac_c" 1>&6
11092 ac_save_LIBS
="$LIBS"
11093 LIBS
="-lposix $LIBS"
11094 cat > conftest.
$ac_ext <<EOF
11095 #line 11096 "configure"
11096 #include "confdefs.h"
11097 /* Override any gcc2 internal prototype to avoid an error. */
11098 /* We use char because int might match the return type of a gcc2
11099 builtin and then its argument prototype would still apply. */
11106 if { (eval echo configure
:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11108 eval "ac_cv_lib_$ac_lib_var=yes"
11110 echo "configure: failed program was:" >&5
11111 cat conftest.
$ac_ext >&5
11113 eval "ac_cv_lib_$ac_lib_var=no"
11116 LIBS
="$ac_save_LIBS"
11119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11120 echo "$ac_t""yes" 1>&6
11121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11123 echo "$ac_t""no" 1>&6
11128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11129 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11130 echo "configure:11131: checking for shmat" >&5
11131 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11132 echo $ac_n "(cached) $ac_c" 1>&6
11134 cat > conftest.
$ac_ext <<EOF
11135 #line 11136 "configure"
11136 #include "confdefs.h"
11137 /* System header to define __stub macros and hopefully few prototypes,
11138 which can conflict with char shmat(); below. */
11139 #include <assert.h>
11140 /* Override any gcc2 internal prototype to avoid an error. */
11141 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */
11147 /* The GNU C library defines this for functions which it implements
11148 to always fail with ENOSYS. Some functions are actually named
11149 something starting with __ and the normal name is an alias. */
11150 #if defined (__stub_shmat) || defined (__stub___shmat)
11158 if { (eval echo configure
:11159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11160 eval "ac_cv_func_shmat=yes"
11162 echo "configure: failed program was:" >&5
11163 cat conftest.
$ac_ext >&5
11165 eval "ac_cv_func_shmat=no"
11170 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11174 echo "$ac_t""no" 1>&6
11177 if test $ac_cv_func_shmat = no
; then
11178 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11179 echo "configure:11180: checking for shmat in -lipc" >&5
11180 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11184 ac_save_LIBS
="$LIBS"
11186 cat > conftest.
$ac_ext <<EOF
11187 #line 11188 "configure"
11188 #include "confdefs.h"
11189 /* Override any gcc2 internal prototype to avoid an error. */
11190 /* We use char because int might match the return type of a gcc2
11191 builtin and then its argument prototype would still apply. */
11198 if { (eval echo configure
:11199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11200 eval "ac_cv_lib_$ac_lib_var=yes"
11202 echo "configure: failed program was:" >&5
11203 cat conftest.
$ac_ext >&5
11205 eval "ac_cv_lib_$ac_lib_var=no"
11208 LIBS
="$ac_save_LIBS"
11211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11212 echo "$ac_t""yes" 1>&6
11213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11215 echo "$ac_t""no" 1>&6
11221 # Check for libraries that X11R6 Xt/Xaw programs need.
11222 ac_save_LDFLAGS
="$LDFLAGS"
11223 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11224 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11225 # check for ICE first), but we must link in the order -lSM -lICE or
11226 # we get undefined symbols. So assume we have SM if we have ICE.
11227 # These have to be linked with before -lX11, unlike the other
11228 # libraries we check for below, so use a different variable.
11229 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11230 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11231 echo "configure:11232: checking for IceConnectionNumber in -lICE" >&5
11232 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11234 echo $ac_n "(cached) $ac_c" 1>&6
11236 ac_save_LIBS
="$LIBS"
11237 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11238 cat > conftest.
$ac_ext <<EOF
11239 #line 11240 "configure"
11240 #include "confdefs.h"
11241 /* Override any gcc2 internal prototype to avoid an error. */
11242 /* We use char because int might match the return type of a gcc2
11243 builtin and then its argument prototype would still apply. */
11244 char IceConnectionNumber();
11247 IceConnectionNumber()
11250 if { (eval echo configure
:11251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11252 eval "ac_cv_lib_$ac_lib_var=yes"
11254 echo "configure: failed program was:" >&5
11255 cat conftest.
$ac_ext >&5
11257 eval "ac_cv_lib_$ac_lib_var=no"
11260 LIBS
="$ac_save_LIBS"
11263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11264 echo "$ac_t""yes" 1>&6
11265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11267 echo "$ac_t""no" 1>&6
11270 LDFLAGS
="$ac_save_LDFLAGS"
11275 if test "$no_x" = "yes"; then
11276 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11279 GUI_TK_LIBRARY
="$X_LIBS"
11280 TOOLKIT_INCLUDE
="$X_CFLAGS"
11281 AFMINSTALL
=afminstall
11282 COMPILED_X_PROGRAM
=0
11284 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11285 echo "configure:11286: checking for Motif/Lesstif headers" >&5
11288 for ac_dir
in $SEARCH_INCLUDE;
11290 if test -f "$ac_dir/Xm/Xm.h"; then
11291 ac_find_includes
=$ac_dir
11296 if test "$ac_find_includes" != "" ; then
11297 echo "$ac_t""found $ac_find_includes" 1>&6
11299 cat > conftest.
$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11308 version = xmUseVersion;
11312 if { (eval echo configure
:11313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11315 echo "$ac_t""found in default search path" 1>&6
11316 COMPILED_X_PROGRAM
=1
11319 echo "configure: failed program was:" >&5
11320 cat conftest.
$ac_ext >&5
11323 echo "$ac_t""no" 1>&6
11324 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11331 if test "$COMPILED_X_PROGRAM" = 0; then
11332 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11333 echo "configure:11334: checking for Motif/Lesstif library" >&5
11336 for ac_dir
in $SEARCH_LIB;
11338 for ac_extension
in a so sl dylib
; do
11339 if test -f "$ac_dir/libXm.$ac_extension"; then
11340 ac_find_libraries
=$ac_dir
11346 if test "$ac_find_libraries" != "" ; then
11348 ac_path_to_include
=$ac_find_includes
11349 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11351 if test $result = 0; then
11352 ac_path_to_include
=""
11354 ac_path_to_include
="-I$ac_find_includes"
11358 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11360 if test $result = 0; then
11363 ac_path_to_link
="-L$ac_find_libraries"
11367 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11368 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
11369 echo "$ac_t""found at $ac_find_libraries" 1>&6
11371 cat > conftest.
$ac_ext <<EOF
11372 #line 11373 "configure"
11373 #include "confdefs.h"
11380 version = xmUseVersion;
11384 if { (eval echo configure
:11385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11387 echo "$ac_t""found in default search path" 1>&6
11388 COMPILED_X_PROGRAM
=1
11391 echo "configure: failed program was:" >&5
11392 cat conftest.
$ac_ext >&5
11395 echo "$ac_t""no" 1>&6
11396 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11405 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11406 echo "configure:11407: checking for Xpm library" >&5
11409 for ac_dir
in $SEARCH_LIB;
11411 for ac_extension
in a so sl dylib
; do
11412 if test -f "$ac_dir/libXpm.$ac_extension"; then
11413 ac_find_libraries
=$ac_dir
11419 if test "$ac_find_libraries" != "" ; then
11421 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11423 if test $result = 0; then
11426 ac_path_to_link
="-L$ac_find_libraries"
11429 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11431 cat >> confdefs.h
<<\EOF
11432 #define wxHAVE_LIB_XPM 1
11435 echo "$ac_t""found at $ac_find_libraries" 1>&6
11437 cat > conftest.
$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11441 #include <X11/xpm.h>
11446 version = XpmLibraryVersion();
11450 if { (eval echo configure
:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11454 cat >> confdefs.h
<<\EOF
11455 #define wxHAVE_LIB_XPM 1
11458 echo "$ac_t""found in default search path" 1>&6
11459 COMPILED_X_PROGRAM
=0
11462 echo "configure: failed program was:" >&5
11463 cat conftest.
$ac_ext >&5
11466 echo "$ac_t""no" 1>&6
11467 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11474 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
11475 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11480 if test "$wxUSE_MAC" = 1; then
11481 if test "$wxUSE_PRECOMP" = "yes"; then
11482 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
11484 CPPFLAGS
="${CPPFLAGS} -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11485 CFLAGS
="${CFLAGS} -fpascal-strings"
11486 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
11487 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
11489 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11494 if test "$wxUSE_PM" = 1; then
11499 if test "$TOOLKIT" = "PM" ; then
11502 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11505 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11507 if test "$wxUSE_UNIVERSAL" = "yes"; then
11508 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11509 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11510 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11511 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11514 ALL_OBJECTS
="\$(GUIOBJS)"
11517 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11519 if test "$TOOLKIT" != "MSW"; then
11520 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11523 if test "$wxUSE_HTML" = "yes"; then
11524 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11527 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11528 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11530 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11531 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11533 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11534 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11536 if test "$wxUSE_LIBPNG" = "builtin" ; then
11537 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11539 if test "$wxUSE_FREETYPE" = "builtin" ; then
11540 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11543 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
11544 RPM_SPEC
="wx\$(TOOLKIT).spec"
11546 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11547 DISTDIR
="wx\$(TOOLKIT)"
11553 if test "$USE_WIN32" = 1 ; then
11554 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11555 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11559 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11560 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11563 PORT_FILES
="\${top_srcdir}/src/files.lst"
11564 RPM_FILES
="src/rpmfiles.lst"
11565 RPM_SPEC
="wxBase.spec"
11567 GUIDIST
="BASE_DIST"
11571 if test "$wxUSE_REGEX" = "builtin" ; then
11572 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11574 if test "$wxUSE_ZLIB" = "builtin" ; then
11575 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11578 if test "$wxUSE_OPENGL" = "yes"; then
11579 if test "$wxUSE_MAC" = 1; then
11580 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11582 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11583 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11584 echo "configure:11585: checking for GL/gl.h" >&5
11585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11586 echo $ac_n "(cached) $ac_c" 1>&6
11588 cat > conftest.
$ac_ext <<EOF
11589 #line 11590 "configure"
11590 #include "confdefs.h"
11593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11594 { (eval echo configure
:11595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11596 if test -z "$ac_err"; then
11598 eval "ac_cv_header_$ac_safe=yes"
11601 echo "configure: failed program was:" >&5
11602 cat conftest.
$ac_ext >&5
11604 eval "ac_cv_header_$ac_safe=no"
11608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11609 echo "$ac_t""yes" 1>&6
11611 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11612 echo "configure:11613: checking for glFlush in -lGL" >&5
11613 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11614 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11615 echo $ac_n "(cached) $ac_c" 1>&6
11617 ac_save_LIBS
="$LIBS"
11619 cat > conftest.
$ac_ext <<EOF
11620 #line 11621 "configure"
11621 #include "confdefs.h"
11622 /* Override any gcc2 internal prototype to avoid an error. */
11623 /* We use char because int might match the return type of a gcc2
11624 builtin and then its argument prototype would still apply. */
11631 if { (eval echo configure
:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11633 eval "ac_cv_lib_$ac_lib_var=yes"
11635 echo "configure: failed program was:" >&5
11636 cat conftest.
$ac_ext >&5
11638 eval "ac_cv_lib_$ac_lib_var=no"
11641 LIBS
="$ac_save_LIBS"
11644 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11645 echo "$ac_t""yes" 1>&6
11647 OPENGL_LIBS
="-lGL -lGLU"
11650 echo "$ac_t""no" 1>&6
11652 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11653 echo "configure:11654: checking for glFlush in -lMesaGL" >&5
11654 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11656 echo $ac_n "(cached) $ac_c" 1>&6
11658 ac_save_LIBS
="$LIBS"
11659 LIBS
="-lMesaGL $LIBS"
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11663 /* Override any gcc2 internal prototype to avoid an error. */
11664 /* We use char because int might match the return type of a gcc2
11665 builtin and then its argument prototype would still apply. */
11672 if { (eval echo configure
:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11674 eval "ac_cv_lib_$ac_lib_var=yes"
11676 echo "configure: failed program was:" >&5
11677 cat conftest.
$ac_ext >&5
11679 eval "ac_cv_lib_$ac_lib_var=no"
11682 LIBS
="$ac_save_LIBS"
11685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11686 echo "$ac_t""yes" 1>&6
11688 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11691 echo "$ac_t""no" 1>&6
11699 echo "$ac_t""no" 1>&6
11703 if test "x$OPENGL_LIBS" = "x"; then
11704 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11708 if test "$wxUSE_OPENGL" = "yes"; then
11709 cat >> confdefs.h
<<\EOF
11710 #define wxUSE_OPENGL 1
11713 cat >> confdefs.h
<<\EOF
11714 #define wxUSE_GLCANVAS 1
11717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11721 if test -z "$TOOLKIT_VPATH" ; then
11722 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11725 if test -n "$TOOLKIT" ; then
11726 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11729 lib_unicode_suffix
=
11730 if test "$wxUSE_UNICODE" = "yes"; then
11731 lib_unicode_suffix
=u
11735 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11739 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11740 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11742 if test "$cross_compiling" = "yes"; then
11743 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11744 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11747 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11748 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11750 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11752 if test "$wxUSE_OPENGL" = "yes"; then
11753 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11756 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11757 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11759 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11760 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11762 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11763 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11764 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11765 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11767 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11768 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11771 if test "$wxUSE_SHARED" = "yes"; then
11773 if test "$wxUSE_OPENGL" = "yes"; then
11774 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11775 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11777 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11778 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11781 if test "$GCC" = "yes"; then
11785 SHARED_LD
="${CXX} -shared -o"
11789 if test "$GCC" != "yes"; then
11790 LDFLAGS
="-L/usr/lib"
11792 SHARED_LD
="${CXX} -b -o"
11796 if test "$wxUSE_OPENGL" = "yes"; then
11797 WX_ALL_INSTALLED
="preinstall_gl"
11798 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11800 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11805 if test "$GCC" != "yes"; then
11806 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11807 echo "configure:11808: checking for Intel compiler" >&5
11808 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11809 echo $ac_n "(cached) $ac_c" 1>&6
11812 cat > conftest.
$ac_ext <<EOF
11813 #line 11814 "configure"
11814 #include "confdefs.h"
11818 #ifndef __INTEL_COMPILER
11824 if { (eval echo configure
:11825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11828 echo "configure: failed program was:" >&5
11829 cat conftest.
$ac_ext >&5
11838 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11839 if test "$wx_cv_prog_icc" = "yes"; then
11844 if test "$wxUSE_SONAME" = "yes" ; then
11845 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11846 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11847 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11852 if test "$GCC" = yes ; then
11853 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11855 SHARED_LD
="${CXX} -G -o"
11857 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11858 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11863 CFLAGS
="${CFLAGS} -fno-common"
11864 CXXFLAGS
="${CXXFLAGS} -fno-common"
11865 SHARED_LD
="${CXX} -dynamiclib -o"
11866 PIC_FLAG
="-dynamic -fPIC"
11870 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11873 *-*-cygwin* | *-*-mingw32* )
11875 if test "$cross_compiling" != "yes"; then
11876 WX_LIBRARY
="wxmsw${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}${WX_RELEASE_NUMBER}${lib_unicode_suffix}${lib_debug_suffix}"
11877 WX_LIBRARY_GL
=${WX_LIBRARY} "wxmsw${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}${WX_RELEASE_NUMBER}${lib_unicode_suffix}${lib_debug_suffix}"
11878 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11879 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11880 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11881 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11884 WX_LIBRARY_IMPORTLIB
="lib${WX_LIBRARY}.lib"
11886 if test "$wxUSE_SHARED" = "yes" ; then
11887 WXCONFIG_LIBS
="${WX_LIBRARY_IMPORTLIB}"
11889 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11892 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
11893 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11894 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11896 if test "$wxUSE_OPENGL" = "yes"; then
11897 WX_ALL_INSTALLED
="preinstall_gl"
11898 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11900 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11905 *-pc-os2_emx | *-pc-os2-emx )
11910 SHARED_LD
="${LD} -shared -o"
11913 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11915 *-*-irix5* | *-*-irix6* | \
11922 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11925 if test "x$WX_TARGET_LIBRARY" = "x"; then
11926 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11927 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11930 WX_TARGET_LIBRARY_TYPE
="so"
11933 if test "$wxUSE_SHARED" = "no"; then
11935 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11936 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11939 if test "$wxUSE_MAC" = 1; then
11940 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11943 if test "$wxUSE_OPENGL" = "yes"; then
11944 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11945 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11947 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11950 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11951 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11953 WX_TARGET_LIBRARY_TYPE
="a"
11956 if test "$wxUSE_MAC" = 1; then
11957 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11958 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
11959 # Extract the first word of "Rez", so it can be a program name with args.
11960 set dummy Rez
; ac_word
=$2
11961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11962 echo "configure:11963: checking for $ac_word" >&5
11963 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11964 echo $ac_n "(cached) $ac_c" 1>&6
11966 if test -n "$RESCOMP"; then
11967 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11969 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11971 for ac_dir
in $ac_dummy; do
11972 test -z "$ac_dir" && ac_dir
=.
11973 if test -f $ac_dir/$ac_word; then
11974 ac_cv_prog_RESCOMP
="Rez"
11979 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11982 RESCOMP
="$ac_cv_prog_RESCOMP"
11983 if test -n "$RESCOMP"; then
11984 echo "$ac_t""$RESCOMP" 1>&6
11986 echo "$ac_t""no" 1>&6
11989 # Extract the first word of "Derez", so it can be a program name with args.
11990 set dummy Derez
; ac_word
=$2
11991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11992 echo "configure:11993: checking for $ac_word" >&5
11993 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11994 echo $ac_n "(cached) $ac_c" 1>&6
11996 if test -n "$DEREZ"; then
11997 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12001 for ac_dir
in $ac_dummy; do
12002 test -z "$ac_dir" && ac_dir
=.
12003 if test -f $ac_dir/$ac_word; then
12004 ac_cv_prog_DEREZ
="Derez"
12009 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
12012 DEREZ
="$ac_cv_prog_DEREZ"
12013 if test -n "$DEREZ"; then
12014 echo "$ac_t""$DEREZ" 1>&6
12016 echo "$ac_t""no" 1>&6
12019 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12020 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12021 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12025 if test "$wxUSE_MAC" != 1; then
12026 for ac_hdr
in strings.h
12028 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12030 echo "configure:12031: checking for $ac_hdr" >&5
12031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12032 echo $ac_n "(cached) $ac_c" 1>&6
12034 cat > conftest.
$ac_ext <<EOF
12035 #line 12036 "configure"
12036 #include "confdefs.h"
12039 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12040 { (eval echo configure
:12041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12041 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12042 if test -z "$ac_err"; then
12044 eval "ac_cv_header_$ac_safe=yes"
12047 echo "configure: failed program was:" >&5
12048 cat conftest.
$ac_ext >&5
12050 eval "ac_cv_header_$ac_safe=no"
12054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12055 echo "$ac_t""yes" 1>&6
12056 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12057 cat >> confdefs.h
<<EOF
12058 #define $ac_tr_hdr 1
12062 echo "$ac_t""no" 1>&6
12068 for ac_hdr
in stdlib.h
12070 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12072 echo "configure:12073: checking for $ac_hdr" >&5
12073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12074 echo $ac_n "(cached) $ac_c" 1>&6
12076 cat > conftest.
$ac_ext <<EOF
12077 #line 12078 "configure"
12078 #include "confdefs.h"
12081 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12082 { (eval echo configure
:12083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12083 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12084 if test -z "$ac_err"; then
12086 eval "ac_cv_header_$ac_safe=yes"
12089 echo "configure: failed program was:" >&5
12090 cat conftest.
$ac_ext >&5
12092 eval "ac_cv_header_$ac_safe=no"
12096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12097 echo "$ac_t""yes" 1>&6
12098 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12099 cat >> confdefs.h
<<EOF
12100 #define $ac_tr_hdr 1
12104 echo "$ac_t""no" 1>&6
12108 for ac_hdr
in unistd.h
12110 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12112 echo "configure:12113: checking for $ac_hdr" >&5
12113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12121 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12122 { (eval echo configure
:12123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12123 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12124 if test -z "$ac_err"; then
12126 eval "ac_cv_header_$ac_safe=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 eval "ac_cv_header_$ac_safe=no"
12136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12137 echo "$ac_t""yes" 1>&6
12138 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12139 cat >> confdefs.h
<<EOF
12140 #define $ac_tr_hdr 1
12144 echo "$ac_t""no" 1>&6
12148 for ac_hdr
in wchar.h
12150 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12152 echo "configure:12153: checking for $ac_hdr" >&5
12153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12154 echo $ac_n "(cached) $ac_c" 1>&6
12156 cat > conftest.
$ac_ext <<EOF
12157 #line 12158 "configure"
12158 #include "confdefs.h"
12161 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12162 { (eval echo configure
:12163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12163 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12164 if test -z "$ac_err"; then
12166 eval "ac_cv_header_$ac_safe=yes"
12169 echo "configure: failed program was:" >&5
12170 cat conftest.
$ac_ext >&5
12172 eval "ac_cv_header_$ac_safe=no"
12176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12177 echo "$ac_t""yes" 1>&6
12178 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12179 cat >> confdefs.h
<<EOF
12180 #define $ac_tr_hdr 1
12184 echo "$ac_t""no" 1>&6
12188 for ac_hdr
in wcstr.h
12190 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12192 echo "configure:12193: checking for $ac_hdr" >&5
12193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12194 echo $ac_n "(cached) $ac_c" 1>&6
12196 cat > conftest.
$ac_ext <<EOF
12197 #line 12198 "configure"
12198 #include "confdefs.h"
12201 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12202 { (eval echo configure
:12203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12203 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12204 if test -z "$ac_err"; then
12206 eval "ac_cv_header_$ac_safe=yes"
12209 echo "configure: failed program was:" >&5
12210 cat conftest.
$ac_ext >&5
12212 eval "ac_cv_header_$ac_safe=no"
12216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12217 echo "$ac_t""yes" 1>&6
12218 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12219 cat >> confdefs.h
<<EOF
12220 #define $ac_tr_hdr 1
12224 echo "$ac_t""no" 1>&6
12228 for ac_hdr
in fnmatch.h
12230 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12232 echo "configure:12233: checking for $ac_hdr" >&5
12233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12234 echo $ac_n "(cached) $ac_c" 1>&6
12236 cat > conftest.
$ac_ext <<EOF
12237 #line 12238 "configure"
12238 #include "confdefs.h"
12241 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12242 { (eval echo configure
:12243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12243 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12244 if test -z "$ac_err"; then
12246 eval "ac_cv_header_$ac_safe=yes"
12249 echo "configure: failed program was:" >&5
12250 cat conftest.
$ac_ext >&5
12252 eval "ac_cv_header_$ac_safe=no"
12256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12257 echo "$ac_t""yes" 1>&6
12258 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12259 cat >> confdefs.h
<<EOF
12260 #define $ac_tr_hdr 1
12264 echo "$ac_t""no" 1>&6
12268 for ac_hdr
in iconv.h
12270 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12272 echo "configure:12273: checking for $ac_hdr" >&5
12273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12274 echo $ac_n "(cached) $ac_c" 1>&6
12276 cat > conftest.
$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12281 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12282 { (eval echo configure
:12283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12283 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12284 if test -z "$ac_err"; then
12286 eval "ac_cv_header_$ac_safe=yes"
12289 echo "configure: failed program was:" >&5
12290 cat conftest.
$ac_ext >&5
12292 eval "ac_cv_header_$ac_safe=no"
12296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12297 echo "$ac_t""yes" 1>&6
12298 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12299 cat >> confdefs.h
<<EOF
12300 #define $ac_tr_hdr 1
12304 echo "$ac_t""no" 1>&6
12308 for ac_hdr
in langinfo.h
12310 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12312 echo "configure:12313: checking for $ac_hdr" >&5
12313 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12314 echo $ac_n "(cached) $ac_c" 1>&6
12316 cat > conftest.
$ac_ext <<EOF
12317 #line 12318 "configure"
12318 #include "confdefs.h"
12321 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12322 { (eval echo configure
:12323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12323 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12324 if test -z "$ac_err"; then
12326 eval "ac_cv_header_$ac_safe=yes"
12329 echo "configure: failed program was:" >&5
12330 cat conftest.
$ac_ext >&5
12332 eval "ac_cv_header_$ac_safe=no"
12336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12337 echo "$ac_t""yes" 1>&6
12338 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12339 cat >> confdefs.h
<<EOF
12340 #define $ac_tr_hdr 1
12344 echo "$ac_t""no" 1>&6
12349 if test "$wxUSE_GUI" = "yes"; then
12350 if test "$wxUSE_UNIX" = "yes"; then
12351 for ac_hdr
in X
11/XKBlib.h
12353 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12355 echo "configure:12356: checking for $ac_hdr" >&5
12356 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12357 echo $ac_n "(cached) $ac_c" 1>&6
12359 cat > conftest.
$ac_ext <<EOF
12360 #line 12361 "configure"
12361 #include "confdefs.h"
12364 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12365 { (eval echo configure
:12366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12366 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12367 if test -z "$ac_err"; then
12369 eval "ac_cv_header_$ac_safe=yes"
12372 echo "configure: failed program was:" >&5
12373 cat conftest.
$ac_ext >&5
12375 eval "ac_cv_header_$ac_safe=no"
12379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12380 echo "$ac_t""yes" 1>&6
12381 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12382 cat >> confdefs.h
<<EOF
12383 #define $ac_tr_hdr 1
12387 echo "$ac_t""no" 1>&6
12395 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12396 echo "configure:12397: checking for ANSI C header files" >&5
12397 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12398 echo $ac_n "(cached) $ac_c" 1>&6
12400 cat > conftest.
$ac_ext <<EOF
12401 #line 12402 "configure"
12402 #include "confdefs.h"
12403 #include <stdlib.h>
12404 #include <stdarg.h>
12405 #include <string.h>
12408 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12409 { (eval echo configure
:12410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12410 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12411 if test -z "$ac_err"; then
12413 ac_cv_header_stdc
=yes
12416 echo "configure: failed program was:" >&5
12417 cat conftest.
$ac_ext >&5
12419 ac_cv_header_stdc
=no
12423 if test $ac_cv_header_stdc = yes; then
12424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12425 cat > conftest.
$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12428 #include <string.h>
12430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12431 egrep "memchr" >/dev
/null
2>&1; then
12435 ac_cv_header_stdc
=no
12441 if test $ac_cv_header_stdc = yes; then
12442 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12443 cat > conftest.
$ac_ext <<EOF
12444 #line 12445 "configure"
12445 #include "confdefs.h"
12446 #include <stdlib.h>
12448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12449 egrep "free" >/dev
/null
2>&1; then
12453 ac_cv_header_stdc
=no
12459 if test $ac_cv_header_stdc = yes; then
12460 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12461 if test "$cross_compiling" = yes; then
12464 cat > conftest.
$ac_ext <<EOF
12465 #line 12466 "configure"
12466 #include "confdefs.h"
12468 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12469 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12470 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12471 int main () { int i; for (i = 0; i < 256; i++)
12472 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12476 if { (eval echo configure
:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12480 echo "configure: failed program was:" >&5
12481 cat conftest.
$ac_ext >&5
12483 ac_cv_header_stdc
=no
12491 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12492 if test $ac_cv_header_stdc = yes; then
12493 cat >> confdefs.h
<<\EOF
12494 #define STDC_HEADERS 1
12499 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12500 echo "configure:12501: checking for mode_t" >&5
12501 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12502 echo $ac_n "(cached) $ac_c" 1>&6
12504 cat > conftest.
$ac_ext <<EOF
12505 #line 12506 "configure"
12506 #include "confdefs.h"
12507 #include <sys/types.h>
12509 #include <stdlib.h>
12510 #include <stddef.h>
12513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12514 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12516 ac_cv_type_mode_t
=yes
12519 ac_cv_type_mode_t
=no
12524 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12525 if test $ac_cv_type_mode_t = no
; then
12526 cat >> confdefs.h
<<\EOF
12532 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12533 echo "configure:12534: checking for off_t" >&5
12534 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12535 echo $ac_n "(cached) $ac_c" 1>&6
12537 cat > conftest.
$ac_ext <<EOF
12538 #line 12539 "configure"
12539 #include "confdefs.h"
12540 #include <sys/types.h>
12542 #include <stdlib.h>
12543 #include <stddef.h>
12546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12547 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12549 ac_cv_type_off_t
=yes
12552 ac_cv_type_off_t
=no
12557 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12558 if test $ac_cv_type_off_t = no
; then
12559 cat >> confdefs.h
<<\EOF
12565 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12566 echo "configure:12567: checking for pid_t" >&5
12567 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12568 echo $ac_n "(cached) $ac_c" 1>&6
12570 cat > conftest.
$ac_ext <<EOF
12571 #line 12572 "configure"
12572 #include "confdefs.h"
12573 #include <sys/types.h>
12575 #include <stdlib.h>
12576 #include <stddef.h>
12579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12580 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12582 ac_cv_type_pid_t
=yes
12585 ac_cv_type_pid_t
=no
12590 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12591 if test $ac_cv_type_pid_t = no
; then
12592 cat >> confdefs.h
<<\EOF
12598 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12599 echo "configure:12600: checking for size_t" >&5
12600 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12601 echo $ac_n "(cached) $ac_c" 1>&6
12603 cat > conftest.
$ac_ext <<EOF
12604 #line 12605 "configure"
12605 #include "confdefs.h"
12606 #include <sys/types.h>
12608 #include <stdlib.h>
12609 #include <stddef.h>
12612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12613 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12615 ac_cv_type_size_t
=yes
12618 ac_cv_type_size_t
=no
12623 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12624 if test $ac_cv_type_size_t = no
; then
12625 cat >> confdefs.h
<<\EOF
12626 #define size_t unsigned
12631 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12632 echo "configure:12633: checking for uid_t in sys/types.h" >&5
12633 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12636 cat > conftest.
$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 #include <sys/types.h>
12641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12642 egrep "uid_t" >/dev
/null
2>&1; then
12644 ac_cv_type_uid_t
=yes
12647 ac_cv_type_uid_t
=no
12653 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12654 if test $ac_cv_type_uid_t = no
; then
12655 cat >> confdefs.h
<<\EOF
12659 cat >> confdefs.h
<<\EOF
12666 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12667 echo "configure:12668: checking for wchar_t" >&5
12668 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12669 echo $ac_n "(cached) $ac_c" 1>&6
12672 cat > conftest.
$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12680 ws = L"Hello, world!";
12684 if { (eval echo configure
:12685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12686 wx_cv_type_wchar_t
=yes
12688 echo "configure: failed program was:" >&5
12689 cat conftest.
$ac_ext >&5
12691 wx_cv_type_wchar_t
=no
12698 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12700 if test "$wx_cv_type_wchar_t" = "yes"; then
12701 cat >> confdefs.h
<<\EOF
12702 #define wxUSE_WCHAR_T 1
12709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12710 ac_cpp
='$CXXCPP $CPPFLAGS'
12711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12713 cross_compiling
=$ac_cv_prog_cxx_cross
12715 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12716 echo "configure:12717: checking if size_t is unsigned int" >&5
12717 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12718 echo $ac_n "(cached) $ac_c" 1>&6
12720 cat > conftest.
$ac_ext <<EOF
12721 #line 12722 "configure"
12722 #include "confdefs.h"
12723 #include <stddef.h>
12728 struct Foo { void foo(size_t); void foo(unsigned int); };
12734 if { (eval echo configure
:12735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12736 wx_cv_size_t_is_uint
=no
12738 echo "configure: failed program was:" >&5
12739 cat conftest.
$ac_ext >&5
12741 wx_cv_size_t_is_uint
=yes
12748 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12750 if test "$wx_cv_size_t_is_uint" = "yes"; then
12751 cat >> confdefs.h
<<\EOF
12752 #define wxSIZE_T_IS_UINT 1
12756 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12757 echo "configure:12758: checking if size_t is unsigned long" >&5
12758 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12759 echo $ac_n "(cached) $ac_c" 1>&6
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12764 #include <stddef.h>
12769 struct Foo { void foo(size_t); void foo(unsigned long); };
12775 if { (eval echo configure
:12776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12777 wx_cv_size_t_is_ulong
=no
12779 echo "configure: failed program was:" >&5
12780 cat conftest.
$ac_ext >&5
12782 wx_cv_size_t_is_ulong
=yes
12789 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12791 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12792 cat >> confdefs.h
<<\EOF
12793 #define wxSIZE_T_IS_ULONG 1
12800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp
='$CPP $CPPFLAGS'
12802 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling
=$ac_cv_prog_cc_cross
12808 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12809 echo "configure:12810: checking for pw_gecos in struct passwd" >&5
12810 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12814 cat > conftest.
$ac_ext <<EOF
12815 #line 12816 "configure"
12816 #include "confdefs.h"
12826 if { (eval echo configure
:12827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12829 wx_cv_struct_pw_gecos
=yes
12832 echo "configure: failed program was:" >&5
12833 cat conftest.
$ac_ext >&5
12836 wx_cv_struct_pw_gecos
=no
12845 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12847 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12848 cat >> confdefs.h
<<\EOF
12849 #define HAVE_PW_GECOS 1
12855 echo $ac_n "checking for working const""... $ac_c" 1>&6
12856 echo "configure:12857: checking for working const" >&5
12857 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12858 echo $ac_n "(cached) $ac_c" 1>&6
12860 cat > conftest.
$ac_ext <<EOF
12861 #line 12862 "configure"
12862 #include "confdefs.h"
12866 /* Ultrix mips cc rejects this. */
12867 typedef int charset[2]; const charset x;
12868 /* SunOS 4.1.1 cc rejects this. */
12869 char const *const *ccp;
12871 /* NEC SVR4.0.2 mips cc rejects this. */
12872 struct point {int x, y;};
12873 static struct point const zero = {0,0};
12874 /* AIX XL C 1.02.0.0 rejects this.
12875 It does not let you subtract one const X* pointer from another in an arm
12876 of an if-expression whose if-part is not a constant expression */
12877 const char *g = "string";
12878 ccp = &g + (g ? g-g : 0);
12879 /* HPUX 7.0 cc rejects these. */
12882 ccp = (char const *const *) p;
12883 { /* SCO 3.2v4 cc rejects this. */
12885 char const *s = 0 ? (char *) 0 : (char const *) 0;
12889 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12890 int x[] = {25, 17};
12891 const int *foo = &x[0];
12894 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12895 typedef const int *iptr;
12899 { /* AIX XL C 1.02.0.0 rejects this saying
12900 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12901 struct s { int j; const int *ap[3]; };
12902 struct s *b; b->j = 5;
12904 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12905 const int foo = 10;
12910 if { (eval echo configure
:12911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12914 echo "configure: failed program was:" >&5
12915 cat conftest.
$ac_ext >&5
12922 echo "$ac_t""$ac_cv_c_const" 1>&6
12923 if test $ac_cv_c_const = no
; then
12924 cat >> confdefs.h
<<\EOF
12930 echo $ac_n "checking for inline""... $ac_c" 1>&6
12931 echo "configure:12932: checking for inline" >&5
12932 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12933 echo $ac_n "(cached) $ac_c" 1>&6
12936 for ac_kw
in inline __inline__ __inline
; do
12937 cat > conftest.
$ac_ext <<EOF
12938 #line 12939 "configure"
12939 #include "confdefs.h"
12945 if { (eval echo configure
:12946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12947 ac_cv_c_inline
=$ac_kw; break
12949 echo "configure: failed program was:" >&5
12950 cat conftest.
$ac_ext >&5
12957 echo "$ac_t""$ac_cv_c_inline" 1>&6
12958 case "$ac_cv_c_inline" in
12960 no
) cat >> confdefs.h
<<\EOF
12964 *) cat >> confdefs.h
<<EOF
12965 #define inline $ac_cv_c_inline
12971 echo $ac_n "checking size of char""... $ac_c" 1>&6
12972 echo "configure:12973: checking size of char" >&5
12973 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12974 echo $ac_n "(cached) $ac_c" 1>&6
12976 if test "$cross_compiling" = yes; then
12977 ac_cv_sizeof_char
=1
12979 cat > conftest.
$ac_ext <<EOF
12980 #line 12981 "configure"
12981 #include "confdefs.h"
12983 #include <sys/types.h>
12986 FILE *f=fopen("conftestval", "w");
12988 fprintf(f, "%d\n", sizeof(char));
12992 if { (eval echo configure
:12993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12994 ac_cv_sizeof_char
=`cat conftestval`
12996 echo "configure: failed program was:" >&5
12997 cat conftest.
$ac_ext >&5
12999 ac_cv_sizeof_char
=0
13005 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13006 cat >> confdefs.h
<<EOF
13007 #define SIZEOF_CHAR $ac_cv_sizeof_char
13011 echo $ac_n "checking size of short""... $ac_c" 1>&6
13012 echo "configure:13013: checking size of short" >&5
13013 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13014 echo $ac_n "(cached) $ac_c" 1>&6
13016 if test "$cross_compiling" = yes; then
13017 ac_cv_sizeof_short
=2
13019 cat > conftest.
$ac_ext <<EOF
13020 #line 13021 "configure"
13021 #include "confdefs.h"
13023 #include <sys/types.h>
13026 FILE *f=fopen("conftestval", "w");
13028 fprintf(f, "%d\n", sizeof(short));
13032 if { (eval echo configure
:13033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13034 ac_cv_sizeof_short
=`cat conftestval`
13036 echo "configure: failed program was:" >&5
13037 cat conftest.
$ac_ext >&5
13039 ac_cv_sizeof_short
=0
13045 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13046 cat >> confdefs.h
<<EOF
13047 #define SIZEOF_SHORT $ac_cv_sizeof_short
13051 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13052 echo "configure:13053: checking size of int *" >&5
13053 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13054 echo $ac_n "(cached) $ac_c" 1>&6
13056 if test "$cross_compiling" = yes; then
13057 ac_cv_sizeof_int_p
=4
13059 cat > conftest.
$ac_ext <<EOF
13060 #line 13061 "configure"
13061 #include "confdefs.h"
13063 #include <sys/types.h>
13066 FILE *f=fopen("conftestval", "w");
13068 fprintf(f, "%d\n", sizeof(int *));
13072 if { (eval echo configure
:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13074 ac_cv_sizeof_int_p
=`cat conftestval`
13076 echo "configure: failed program was:" >&5
13077 cat conftest.
$ac_ext >&5
13079 ac_cv_sizeof_int_p
=0
13085 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13086 cat >> confdefs.h
<<EOF
13087 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13091 echo $ac_n "checking size of int""... $ac_c" 1>&6
13092 echo "configure:13093: checking size of int" >&5
13093 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13094 echo $ac_n "(cached) $ac_c" 1>&6
13096 if test "$cross_compiling" = yes; then
13099 cat > conftest.
$ac_ext <<EOF
13100 #line 13101 "configure"
13101 #include "confdefs.h"
13103 #include <sys/types.h>
13106 FILE *f=fopen("conftestval", "w");
13108 fprintf(f, "%d\n", sizeof(int));
13112 if { (eval echo configure
:13113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13114 ac_cv_sizeof_int
=`cat conftestval`
13116 echo "configure: failed program was:" >&5
13117 cat conftest.
$ac_ext >&5
13125 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13126 cat >> confdefs.h
<<EOF
13127 #define SIZEOF_INT $ac_cv_sizeof_int
13131 echo $ac_n "checking size of long""... $ac_c" 1>&6
13132 echo "configure:13133: checking size of long" >&5
13133 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13134 echo $ac_n "(cached) $ac_c" 1>&6
13136 if test "$cross_compiling" = yes; then
13137 ac_cv_sizeof_long
=4
13139 cat > conftest.
$ac_ext <<EOF
13140 #line 13141 "configure"
13141 #include "confdefs.h"
13143 #include <sys/types.h>
13146 FILE *f=fopen("conftestval", "w");
13148 fprintf(f, "%d\n", sizeof(long));
13152 if { (eval echo configure
:13153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13154 ac_cv_sizeof_long
=`cat conftestval`
13156 echo "configure: failed program was:" >&5
13157 cat conftest.
$ac_ext >&5
13159 ac_cv_sizeof_long
=0
13165 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13166 cat >> confdefs.h
<<EOF
13167 #define SIZEOF_LONG $ac_cv_sizeof_long
13171 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13172 echo "configure:13173: checking size of long long" >&5
13173 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13174 echo $ac_n "(cached) $ac_c" 1>&6
13176 if test "$cross_compiling" = yes; then
13177 ac_cv_sizeof_long_long
=0
13179 cat > conftest.
$ac_ext <<EOF
13180 #line 13181 "configure"
13181 #include "confdefs.h"
13183 #include <sys/types.h>
13186 FILE *f=fopen("conftestval", "w");
13188 fprintf(f, "%d\n", sizeof(long long));
13192 if { (eval echo configure
:13193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13194 ac_cv_sizeof_long_long
=`cat conftestval`
13196 echo "configure: failed program was:" >&5
13197 cat conftest.
$ac_ext >&5
13199 ac_cv_sizeof_long_long
=0
13205 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13206 cat >> confdefs.h
<<EOF
13207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13212 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13213 echo "configure:13214: checking size of wchar_t" >&5
13214 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13215 echo $ac_n "(cached) $ac_c" 1>&6
13218 if test "$cross_compiling" = yes; then
13219 wx_cv_sizeof_wchar_t
=4
13222 cat > conftest.
$ac_ext <<EOF
13223 #line 13224 "configure"
13224 #include "confdefs.h"
13226 #ifdef HAVE_WCHAR_H
13227 # include <wchar.h>
13229 #ifdef HAVE_STDLIB_H
13230 # include <stdlib.h>
13235 FILE *f=fopen("conftestval", "w");
13237 fprintf(f, "%i", sizeof(wchar_t));
13242 if { (eval echo configure
:13243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13244 wx_cv_sizeof_wchar_t
=`cat conftestval`
13246 echo "configure: failed program was:" >&5
13247 cat conftest.
$ac_ext >&5
13249 wx_cv_sizeof_wchar_t
=0
13257 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13259 cat >> confdefs.h
<<EOF
13260 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13264 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13265 echo "configure:13266: checking whether byte ordering is bigendian" >&5
13266 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13267 echo $ac_n "(cached) $ac_c" 1>&6
13269 ac_cv_c_bigendian
=unknown
13270 # See if sys/param.h defines the BYTE_ORDER macro.
13271 cat > conftest.
$ac_ext <<EOF
13272 #line 13273 "configure"
13273 #include "confdefs.h"
13274 #include <sys/types.h>
13275 #include <sys/param.h>
13278 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13279 bogus endian macros
13283 if { (eval echo configure
:13284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13285 # It does; now see whether it defined to BIG_ENDIAN or not.
13286 cat > conftest.
$ac_ext <<EOF
13287 #line 13288 "configure"
13288 #include "confdefs.h"
13289 #include <sys/types.h>
13290 #include <sys/param.h>
13293 #if BYTE_ORDER != BIG_ENDIAN
13298 if { (eval echo configure
:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13300 ac_cv_c_bigendian
=yes
13302 echo "configure: failed program was:" >&5
13303 cat conftest.
$ac_ext >&5
13305 ac_cv_c_bigendian
=no
13309 echo "configure: failed program was:" >&5
13310 cat conftest.
$ac_ext >&5
13313 if test $ac_cv_c_bigendian = unknown
; then
13314 if test "$cross_compiling" = yes; then
13315 ac_cv_c_bigendian
=unknown
13317 cat > conftest.
$ac_ext <<EOF
13318 #line 13319 "configure"
13319 #include "confdefs.h"
13321 /* Are we little or big endian? From Harbison&Steele. */
13325 char c[sizeof (long)];
13328 exit (u.c[sizeof (long) - 1] == 1);
13331 if { (eval echo configure
:13332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13333 ac_cv_c_bigendian
=no
13335 echo "configure: failed program was:" >&5
13336 cat conftest.
$ac_ext >&5
13338 ac_cv_c_bigendian
=yes
13346 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13347 if test $ac_cv_c_bigendian = unknown
; then
13348 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
13350 if test $ac_cv_c_bigendian = yes; then
13351 cat >> confdefs.h
<<\EOF
13352 #define WORDS_BIGENDIAN 1
13358 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13359 echo "configure:13360: checking how to run the C++ preprocessor" >&5
13360 if test -z "$CXXCPP"; then
13361 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13362 echo $ac_n "(cached) $ac_c" 1>&6
13365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13366 ac_cpp
='$CXXCPP $CPPFLAGS'
13367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13369 cross_compiling
=$ac_cv_prog_cxx_cross
13370 CXXCPP
="${CXX-g++} -E"
13371 cat > conftest.
$ac_ext <<EOF
13372 #line 13373 "configure"
13373 #include "confdefs.h"
13374 #include <stdlib.h>
13376 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13377 { (eval echo configure
:13378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13378 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13379 if test -z "$ac_err"; then
13383 echo "configure: failed program was:" >&5
13384 cat conftest.
$ac_ext >&5
13389 ac_cv_prog_CXXCPP
="$CXXCPP"
13391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13392 ac_cpp
='$CXXCPP $CPPFLAGS'
13393 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13394 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13395 cross_compiling
=$ac_cv_prog_cxx_cross
13398 CXXCPP
="$ac_cv_prog_CXXCPP"
13399 echo "$ac_t""$CXXCPP" 1>&6
13402 if test "$cross_compiling" = "yes"; then
13403 cat >> confdefs.h
<<\EOF
13404 #define wxUSE_IOSTREAMH 1
13410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13411 ac_cpp
='$CXXCPP $CPPFLAGS'
13412 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13413 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13414 cross_compiling
=$ac_cv_prog_cxx_cross
13417 for ac_hdr
in iostream
13419 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13420 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13421 echo "configure:13422: checking for $ac_hdr" >&5
13422 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13423 echo $ac_n "(cached) $ac_c" 1>&6
13425 cat > conftest.
$ac_ext <<EOF
13426 #line 13427 "configure"
13427 #include "confdefs.h"
13430 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13431 { (eval echo configure
:13432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13432 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13433 if test -z "$ac_err"; then
13435 eval "ac_cv_header_$ac_safe=yes"
13438 echo "configure: failed program was:" >&5
13439 cat conftest.
$ac_ext >&5
13441 eval "ac_cv_header_$ac_safe=no"
13445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13446 echo "$ac_t""yes" 1>&6
13447 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13448 cat >> confdefs.h
<<EOF
13449 #define $ac_tr_hdr 1
13453 echo "$ac_t""no" 1>&6
13458 if test "$ac_cv_header_iostream" = "yes" ; then
13461 cat >> confdefs.h
<<\EOF
13462 #define wxUSE_IOSTREAMH 1
13468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13469 ac_cpp
='$CPP $CPPFLAGS'
13470 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13471 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13472 cross_compiling
=$ac_cv_prog_cc_cross
13478 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13479 echo "configure:13480: checking if C++ compiler supports bool" >&5
13480 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13481 echo $ac_n "(cached) $ac_c" 1>&6
13486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13487 ac_cpp
='$CXXCPP $CPPFLAGS'
13488 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13489 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13490 cross_compiling
=$ac_cv_prog_cxx_cross
13493 cat > conftest.
$ac_ext <<EOF
13494 #line 13495 "configure"
13495 #include "confdefs.h"
13506 if { (eval echo configure
:13507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13512 echo "configure: failed program was:" >&5
13513 cat conftest.
$ac_ext >&5
13523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13524 ac_cpp
='$CPP $CPPFLAGS'
13525 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13526 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13527 cross_compiling
=$ac_cv_prog_cc_cross
13532 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13534 if test "$wx_cv_cpp_bool" = "yes"; then
13535 cat >> confdefs.h
<<\EOF
13536 #define HAVE_BOOL 1
13543 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13544 echo "configure:13545: checking for wcslen in -lc" >&5
13545 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13547 echo $ac_n "(cached) $ac_c" 1>&6
13549 ac_save_LIBS
="$LIBS"
13551 cat > conftest.
$ac_ext <<EOF
13552 #line 13553 "configure"
13553 #include "confdefs.h"
13554 /* Override any gcc2 internal prototype to avoid an error. */
13555 /* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13563 if { (eval echo configure
:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13565 eval "ac_cv_lib_$ac_lib_var=yes"
13567 echo "configure: failed program was:" >&5
13568 cat conftest.
$ac_ext >&5
13570 eval "ac_cv_lib_$ac_lib_var=no"
13573 LIBS
="$ac_save_LIBS"
13576 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13577 echo "$ac_t""yes" 1>&6
13579 cat >> confdefs.h
<<\EOF
13580 #define HAVE_WCSLEN 1
13586 echo "$ac_t""no" 1>&6
13588 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13589 echo "configure:13590: checking for wcslen in -lw" >&5
13590 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13592 echo $ac_n "(cached) $ac_c" 1>&6
13594 ac_save_LIBS
="$LIBS"
13596 cat > conftest.
$ac_ext <<EOF
13597 #line 13598 "configure"
13598 #include "confdefs.h"
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13608 if { (eval echo configure
:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13610 eval "ac_cv_lib_$ac_lib_var=yes"
13612 echo "configure: failed program was:" >&5
13613 cat conftest.
$ac_ext >&5
13615 eval "ac_cv_lib_$ac_lib_var=no"
13618 LIBS
="$ac_save_LIBS"
13621 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13622 echo "$ac_t""yes" 1>&6
13624 cat >> confdefs.h
<<\EOF
13625 #define HAVE_WCSLEN 1
13631 echo "$ac_t""no" 1>&6
13633 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13634 echo "configure:13635: checking for wcslen in -lmsvcrt" >&5
13635 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13637 echo $ac_n "(cached) $ac_c" 1>&6
13639 ac_save_LIBS
="$LIBS"
13640 LIBS
="-lmsvcrt $LIBS"
13641 cat > conftest.
$ac_ext <<EOF
13642 #line 13643 "configure"
13643 #include "confdefs.h"
13644 /* Override any gcc2 internal prototype to avoid an error. */
13645 /* We use char because int might match the return type of a gcc2
13646 builtin and then its argument prototype would still apply. */
13653 if { (eval echo configure
:13654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13655 eval "ac_cv_lib_$ac_lib_var=yes"
13657 echo "configure: failed program was:" >&5
13658 cat conftest.
$ac_ext >&5
13660 eval "ac_cv_lib_$ac_lib_var=no"
13663 LIBS
="$ac_save_LIBS"
13666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13667 echo "$ac_t""yes" 1>&6
13669 cat >> confdefs.h
<<\EOF
13670 #define HAVE_WCSLEN 1
13676 echo "$ac_t""no" 1>&6
13686 for ac_func
in wcsrtombs
13688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13689 echo "configure:13690: checking for $ac_func" >&5
13690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13691 echo $ac_n "(cached) $ac_c" 1>&6
13693 cat > conftest.
$ac_ext <<EOF
13694 #line 13695 "configure"
13695 #include "confdefs.h"
13696 /* System header to define __stub macros and hopefully few prototypes,
13697 which can conflict with char $ac_func(); below. */
13698 #include <assert.h>
13699 /* Override any gcc2 internal prototype to avoid an error. */
13700 /* We use char because int might match the return type of a gcc2
13701 builtin and then its argument prototype would still apply. */
13706 /* The GNU C library defines this for functions which it implements
13707 to always fail with ENOSYS. Some functions are actually named
13708 something starting with __ and the normal name is an alias. */
13709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13717 if { (eval echo configure
:13718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13719 eval "ac_cv_func_$ac_func=yes"
13721 echo "configure: failed program was:" >&5
13722 cat conftest.
$ac_ext >&5
13724 eval "ac_cv_func_$ac_func=no"
13729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13730 echo "$ac_t""yes" 1>&6
13731 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13732 cat >> confdefs.h
<<EOF
13733 #define $ac_tr_func 1
13737 echo "$ac_t""no" 1>&6
13742 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13743 echo "configure:13744: checking for vprintf" >&5
13744 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13745 echo $ac_n "(cached) $ac_c" 1>&6
13747 cat > conftest.
$ac_ext <<EOF
13748 #line 13749 "configure"
13749 #include "confdefs.h"
13750 /* System header to define __stub macros and hopefully few prototypes,
13751 which can conflict with char vprintf(); below. */
13752 #include <assert.h>
13753 /* Override any gcc2 internal prototype to avoid an error. */
13754 /* We use char because int might match the return type of a gcc2
13755 builtin and then its argument prototype would still apply. */
13760 /* The GNU C library defines this for functions which it implements
13761 to always fail with ENOSYS. Some functions are actually named
13762 something starting with __ and the normal name is an alias. */
13763 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13771 if { (eval echo configure
:13772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13773 eval "ac_cv_func_vprintf=yes"
13775 echo "configure: failed program was:" >&5
13776 cat conftest.
$ac_ext >&5
13778 eval "ac_cv_func_vprintf=no"
13783 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13784 echo "$ac_t""yes" 1>&6
13785 cat >> confdefs.h
<<\EOF
13786 #define HAVE_VPRINTF 1
13790 echo "$ac_t""no" 1>&6
13793 if test "$ac_cv_func_vprintf" != yes; then
13794 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13795 echo "configure:13796: checking for _doprnt" >&5
13796 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13797 echo $ac_n "(cached) $ac_c" 1>&6
13799 cat > conftest.
$ac_ext <<EOF
13800 #line 13801 "configure"
13801 #include "confdefs.h"
13802 /* System header to define __stub macros and hopefully few prototypes,
13803 which can conflict with char _doprnt(); below. */
13804 #include <assert.h>
13805 /* Override any gcc2 internal prototype to avoid an error. */
13806 /* We use char because int might match the return type of a gcc2
13807 builtin and then its argument prototype would still apply. */
13812 /* The GNU C library defines this for functions which it implements
13813 to always fail with ENOSYS. Some functions are actually named
13814 something starting with __ and the normal name is an alias. */
13815 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13823 if { (eval echo configure
:13824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13825 eval "ac_cv_func__doprnt=yes"
13827 echo "configure: failed program was:" >&5
13828 cat conftest.
$ac_ext >&5
13830 eval "ac_cv_func__doprnt=no"
13835 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13836 echo "$ac_t""yes" 1>&6
13837 cat >> confdefs.h
<<\EOF
13838 #define HAVE_DOPRNT 1
13842 echo "$ac_t""no" 1>&6
13852 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13853 echo "configure:13854: checking for vsnprintf" >&5
13854 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13855 echo $ac_n "(cached) $ac_c" 1>&6
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13863 #include <stdarg.h>
13867 int wx_test_vsnprintf(const char *, ...);
13869 wx_test_vsnprintf("%s");
13873 int wx_test_vsnprintf(const char *fmt, ...)
13878 va_start(argp, fmt);
13879 vsnprintf(s, 42, fmt, argp);
13884 if { (eval echo configure
:13885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13887 wx_cv_func_vsnprintf
=yes
13890 echo "configure: failed program was:" >&5
13891 cat conftest.
$ac_ext >&5
13894 cat > conftest.
$ac_ext <<EOF
13895 #line 13896 "configure"
13896 #include "confdefs.h"
13899 #include <stdarg.h>
13903 int wx_test_vsnprintf(const char *, ...);
13905 wx_test_vsnprintf("%s");
13909 int wx_test_vsnprintf(const char *fmt, ...)
13914 va_start(argp, fmt);
13915 _vsnprintf(s, 42, fmt, argp);
13920 if { (eval echo configure
:13921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13923 wx_cv_func_vsnprintf
=yes
13926 echo "configure: failed program was:" >&5
13927 cat conftest.
$ac_ext >&5
13930 wx_cv_func_vsnprintf
=no
13940 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13942 if test "$wx_cv_func_vsnprintf" = yes; then
13943 cat >> confdefs.h
<<\EOF
13944 #define HAVE_VSNPRINTF 1
13948 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13951 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13952 echo "configure:13953: checking for vsscanf" >&5
13953 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13954 echo $ac_n "(cached) $ac_c" 1>&6
13957 cat > conftest.
$ac_ext <<EOF
13958 #line 13959 "configure"
13959 #include "confdefs.h"
13962 #include <stdarg.h>
13966 int wx_test_vsscanf(const char *, ...);
13968 wx_test_vsscanf("%d");
13972 int wx_test_vsscanf(const char *fmt, ...)
13975 va_start(argp, fmt);
13976 vsscanf("42", fmt, argp);
13981 if { (eval echo configure
:13982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13984 wx_cv_func_vsscanf
=yes
13987 echo "configure: failed program was:" >&5
13988 cat conftest.
$ac_ext >&5
13991 wx_cv_func_vsscanf
=no
13998 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14000 if test "$wx_cv_func_vsscanf" = yes; then
14001 cat >> confdefs.h
<<\EOF
14002 #define HAVE_VSSCANF 1
14007 if test "$TOOLKIT" != "MSW"; then
14012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14013 ac_cpp
='$CXXCPP $CPPFLAGS'
14014 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14015 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14016 cross_compiling
=$ac_cv_prog_cxx_cross
14018 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14019 echo "configure:14020: checking if iconv() takes char**" >&5
14020 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14024 cat > conftest.
$ac_ext <<EOF
14025 #line 14026 "configure"
14026 #include "confdefs.h"
14030 char **inbuf, **outbuf;
14032 size_t insz, outsz;
14033 iconv(cd, inbuf, &insz, outbuf, &outsz);
14037 if { (eval echo configure
:14038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14039 wx_cv_iconv_takes_char
=yes
14041 echo "configure: failed program was:" >&5
14042 cat conftest.
$ac_ext >&5
14044 wx_cv_iconv_takes_char
=no
14050 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14053 ac_cpp
='$CPP $CPPFLAGS'
14054 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14055 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14056 cross_compiling
=$ac_cv_prog_cc_cross
14058 if test "$wx_cv_iconv_takes_char" = yes ; then
14059 cat >> confdefs.h
<<\EOF
14060 #define WX_ICONV_TAKES_CHAR 1
14066 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14067 for ac_func
in sigaction
14069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14070 echo "configure:14071: checking for $ac_func" >&5
14071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14072 echo $ac_n "(cached) $ac_c" 1>&6
14074 cat > conftest.
$ac_ext <<EOF
14075 #line 14076 "configure"
14076 #include "confdefs.h"
14077 /* System header to define __stub macros and hopefully few prototypes,
14078 which can conflict with char $ac_func(); below. */
14079 #include <assert.h>
14080 /* Override any gcc2 internal prototype to avoid an error. */
14081 /* We use char because int might match the return type of a gcc2
14082 builtin and then its argument prototype would still apply. */
14087 /* The GNU C library defines this for functions which it implements
14088 to always fail with ENOSYS. Some functions are actually named
14089 something starting with __ and the normal name is an alias. */
14090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14098 if { (eval echo configure
:14099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14100 eval "ac_cv_func_$ac_func=yes"
14102 echo "configure: failed program was:" >&5
14103 cat conftest.
$ac_ext >&5
14105 eval "ac_cv_func_$ac_func=no"
14110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14111 echo "$ac_t""yes" 1>&6
14112 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14113 cat >> confdefs.h
<<EOF
14114 #define $ac_tr_func 1
14118 echo "$ac_t""no" 1>&6
14123 if test "$ac_cv_func_sigaction" = "no"; then
14124 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14125 wxUSE_ON_FATAL_EXCEPTION
=no
14128 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132 ac_cpp
='$CXXCPP $CPPFLAGS'
14133 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135 cross_compiling
=$ac_cv_prog_cxx_cross
14138 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14139 echo "configure:14140: checking for sa_handler type" >&5
14140 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14144 cat > conftest.
$ac_ext <<EOF
14145 #line 14146 "configure"
14146 #include "confdefs.h"
14147 #include <signal.h>
14150 extern void testSigHandler(int);
14152 struct sigaction sa;
14153 sa.sa_handler = testSigHandler;
14157 if { (eval echo configure
:14158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14160 wx_cv_type_sa_handler
=int
14163 echo "configure: failed program was:" >&5
14164 cat conftest.
$ac_ext >&5
14167 wx_cv_type_sa_handler
=void
14174 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14178 ac_cpp
='$CPP $CPPFLAGS'
14179 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14180 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14181 cross_compiling
=$ac_cv_prog_cc_cross
14184 cat >> confdefs.h
<<EOF
14185 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14191 for ac_func
in vfork
14193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14194 echo "configure:14195: checking for $ac_func" >&5
14195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14198 cat > conftest.
$ac_ext <<EOF
14199 #line 14200 "configure"
14200 #include "confdefs.h"
14201 /* System header to define __stub macros and hopefully few prototypes,
14202 which can conflict with char $ac_func(); below. */
14203 #include <assert.h>
14204 /* Override any gcc2 internal prototype to avoid an error. */
14205 /* We use char because int might match the return type of a gcc2
14206 builtin and then its argument prototype would still apply. */
14211 /* The GNU C library defines this for functions which it implements
14212 to always fail with ENOSYS. Some functions are actually named
14213 something starting with __ and the normal name is an alias. */
14214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14222 if { (eval echo configure
:14223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14224 eval "ac_cv_func_$ac_func=yes"
14226 echo "configure: failed program was:" >&5
14227 cat conftest.
$ac_ext >&5
14229 eval "ac_cv_func_$ac_func=no"
14234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14235 echo "$ac_t""yes" 1>&6
14236 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14237 cat >> confdefs.h
<<EOF
14238 #define $ac_tr_func 1
14242 echo "$ac_t""no" 1>&6
14247 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14248 echo "configure:14249: checking for statfs" >&5
14249 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14250 echo $ac_n "(cached) $ac_c" 1>&6
14252 cat > conftest.
$ac_ext <<EOF
14253 #line 14254 "configure"
14254 #include "confdefs.h"
14256 #if defined(__BSD__)
14257 #include <sys/param.h>
14258 #include <sys/mount.h>
14260 #include <sys/vfs.h>
14274 if { (eval echo configure
:14275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14277 wx_cv_func_statfs
=yes
14280 echo "configure: failed program was:" >&5
14281 cat conftest.
$ac_ext >&5
14284 wx_cv_func_statfs
=no
14292 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14294 if test "$wx_cv_func_statfs" = "yes"; then
14295 cat >> confdefs.h
<<\EOF
14296 #define HAVE_STATFS 1
14300 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14301 echo "configure:14302: checking for statvfs" >&5
14302 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14303 echo $ac_n "(cached) $ac_c" 1>&6
14305 cat > conftest.
$ac_ext <<EOF
14306 #line 14307 "configure"
14307 #include "confdefs.h"
14309 #include <sys/statvfs.h>
14322 if { (eval echo configure
:14323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14325 wx_cv_func_statvfs
=yes
14328 echo "configure: failed program was:" >&5
14329 cat conftest.
$ac_ext >&5
14332 wx_cv_func_statvfs
=no
14340 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14342 if test "$wx_cv_func_statvfs" = "yes"; then
14343 cat >> confdefs.h
<<\EOF
14344 #define HAVE_STATVFS 1
14348 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14352 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14353 for ac_func
in fcntl flock
14355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14356 echo "configure:14357: checking for $ac_func" >&5
14357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14358 echo $ac_n "(cached) $ac_c" 1>&6
14360 cat > conftest.
$ac_ext <<EOF
14361 #line 14362 "configure"
14362 #include "confdefs.h"
14363 /* System header to define __stub macros and hopefully few prototypes,
14364 which can conflict with char $ac_func(); below. */
14365 #include <assert.h>
14366 /* Override any gcc2 internal prototype to avoid an error. */
14367 /* We use char because int might match the return type of a gcc2
14368 builtin and then its argument prototype would still apply. */
14373 /* The GNU C library defines this for functions which it implements
14374 to always fail with ENOSYS. Some functions are actually named
14375 something starting with __ and the normal name is an alias. */
14376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14384 if { (eval echo configure
:14385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14386 eval "ac_cv_func_$ac_func=yes"
14388 echo "configure: failed program was:" >&5
14389 cat conftest.
$ac_ext >&5
14391 eval "ac_cv_func_$ac_func=no"
14396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14397 echo "$ac_t""yes" 1>&6
14398 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14399 cat >> confdefs.h
<<EOF
14400 #define $ac_tr_func 1
14404 echo "$ac_t""no" 1>&6
14409 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14410 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14411 wxUSE_SNGLINST_CHECKER
=no
14415 for ac_func
in timegm
14417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14418 echo "configure:14419: checking for $ac_func" >&5
14419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14420 echo $ac_n "(cached) $ac_c" 1>&6
14422 cat > conftest.
$ac_ext <<EOF
14423 #line 14424 "configure"
14424 #include "confdefs.h"
14425 /* System header to define __stub macros and hopefully few prototypes,
14426 which can conflict with char $ac_func(); below. */
14427 #include <assert.h>
14428 /* Override any gcc2 internal prototype to avoid an error. */
14429 /* We use char because int might match the return type of a gcc2
14430 builtin and then its argument prototype would still apply. */
14435 /* The GNU C library defines this for functions which it implements
14436 to always fail with ENOSYS. Some functions are actually named
14437 something starting with __ and the normal name is an alias. */
14438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14446 if { (eval echo configure
:14447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14448 eval "ac_cv_func_$ac_func=yes"
14450 echo "configure: failed program was:" >&5
14451 cat conftest.
$ac_ext >&5
14453 eval "ac_cv_func_$ac_func=no"
14458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14459 echo "$ac_t""yes" 1>&6
14460 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14461 cat >> confdefs.h
<<EOF
14462 #define $ac_tr_func 1
14466 echo "$ac_t""no" 1>&6
14471 for ac_func
in putenv setenv
14473 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14474 echo "configure:14475: checking for $ac_func" >&5
14475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14476 echo $ac_n "(cached) $ac_c" 1>&6
14478 cat > conftest.
$ac_ext <<EOF
14479 #line 14480 "configure"
14480 #include "confdefs.h"
14481 /* System header to define __stub macros and hopefully few prototypes,
14482 which can conflict with char $ac_func(); below. */
14483 #include <assert.h>
14484 /* Override any gcc2 internal prototype to avoid an error. */
14485 /* We use char because int might match the return type of a gcc2
14486 builtin and then its argument prototype would still apply. */
14491 /* The GNU C library defines this for functions which it implements
14492 to always fail with ENOSYS. Some functions are actually named
14493 something starting with __ and the normal name is an alias. */
14494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14502 if { (eval echo configure
:14503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14504 eval "ac_cv_func_$ac_func=yes"
14506 echo "configure: failed program was:" >&5
14507 cat conftest.
$ac_ext >&5
14509 eval "ac_cv_func_$ac_func=no"
14514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14515 echo "$ac_t""yes" 1>&6
14516 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14517 cat >> confdefs.h
<<EOF
14518 #define $ac_tr_func 1
14522 echo "$ac_t""no" 1>&6
14527 HAVE_SOME_SLEEP_FUNC
=0
14528 if test "$USE_BEOS" = 1; then
14529 cat >> confdefs.h
<<\EOF
14530 #define HAVE_SLEEP 1
14533 HAVE_SOME_SLEEP_FUNC
=1
14536 if test "$USE_DARWIN" = 1; then
14537 cat >> confdefs.h
<<\EOF
14538 #define HAVE_USLEEP 1
14541 HAVE_SOME_SLEEP_FUNC
=1
14544 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14546 for ac_func
in nanosleep
14548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14549 echo "configure:14550: checking for $ac_func" >&5
14550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14551 echo $ac_n "(cached) $ac_c" 1>&6
14553 cat > conftest.
$ac_ext <<EOF
14554 #line 14555 "configure"
14555 #include "confdefs.h"
14556 /* System header to define __stub macros and hopefully few prototypes,
14557 which can conflict with char $ac_func(); below. */
14558 #include <assert.h>
14559 /* Override any gcc2 internal prototype to avoid an error. */
14560 /* We use char because int might match the return type of a gcc2
14561 builtin and then its argument prototype would still apply. */
14566 /* The GNU C library defines this for functions which it implements
14567 to always fail with ENOSYS. Some functions are actually named
14568 something starting with __ and the normal name is an alias. */
14569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14577 if { (eval echo configure
:14578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14579 eval "ac_cv_func_$ac_func=yes"
14581 echo "configure: failed program was:" >&5
14582 cat conftest.
$ac_ext >&5
14584 eval "ac_cv_func_$ac_func=no"
14589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14590 echo "$ac_t""yes" 1>&6
14591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14592 cat >> confdefs.h
<<EOF
14593 #define $ac_tr_func 1
14595 cat >> confdefs.h
<<\EOF
14596 #define HAVE_NANOSLEEP 1
14600 echo "$ac_t""no" 1>&6
14601 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14602 echo "configure:14603: checking for nanosleep in -lposix4" >&5
14603 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14605 echo $ac_n "(cached) $ac_c" 1>&6
14607 ac_save_LIBS
="$LIBS"
14608 LIBS
="-lposix4 $LIBS"
14609 cat > conftest.
$ac_ext <<EOF
14610 #line 14611 "configure"
14611 #include "confdefs.h"
14612 /* Override any gcc2 internal prototype to avoid an error. */
14613 /* We use char because int might match the return type of a gcc2
14614 builtin and then its argument prototype would still apply. */
14621 if { (eval echo configure
:14622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14623 eval "ac_cv_lib_$ac_lib_var=yes"
14625 echo "configure: failed program was:" >&5
14626 cat conftest.
$ac_ext >&5
14628 eval "ac_cv_lib_$ac_lib_var=no"
14631 LIBS
="$ac_save_LIBS"
14634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14635 echo "$ac_t""yes" 1>&6
14637 cat >> confdefs.h
<<\EOF
14638 #define HAVE_NANOSLEEP 1
14641 POSIX4_LINK
="-lposix4"
14644 echo "$ac_t""no" 1>&6
14646 for ac_func
in usleep
14648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14649 echo "configure:14650: checking for $ac_func" >&5
14650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14651 echo $ac_n "(cached) $ac_c" 1>&6
14653 cat > conftest.
$ac_ext <<EOF
14654 #line 14655 "configure"
14655 #include "confdefs.h"
14656 /* System header to define __stub macros and hopefully few prototypes,
14657 which can conflict with char $ac_func(); below. */
14658 #include <assert.h>
14659 /* Override any gcc2 internal prototype to avoid an error. */
14660 /* We use char because int might match the return type of a gcc2
14661 builtin and then its argument prototype would still apply. */
14666 /* The GNU C library defines this for functions which it implements
14667 to always fail with ENOSYS. Some functions are actually named
14668 something starting with __ and the normal name is an alias. */
14669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14677 if { (eval echo configure
:14678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14679 eval "ac_cv_func_$ac_func=yes"
14681 echo "configure: failed program was:" >&5
14682 cat conftest.
$ac_ext >&5
14684 eval "ac_cv_func_$ac_func=no"
14689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14690 echo "$ac_t""yes" 1>&6
14691 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14692 cat >> confdefs.h
<<EOF
14693 #define $ac_tr_func 1
14695 cat >> confdefs.h
<<\EOF
14696 #define HAVE_USLEEP 1
14700 echo "$ac_t""no" 1>&6
14701 echo "configure: warning: wxSleep() function will not work" 1>&2
14717 for ac_func
in uname gethostname
14719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14720 echo "configure:14721: checking for $ac_func" >&5
14721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14722 echo $ac_n "(cached) $ac_c" 1>&6
14724 cat > conftest.
$ac_ext <<EOF
14725 #line 14726 "configure"
14726 #include "confdefs.h"
14727 /* System header to define __stub macros and hopefully few prototypes,
14728 which can conflict with char $ac_func(); below. */
14729 #include <assert.h>
14730 /* Override any gcc2 internal prototype to avoid an error. */
14731 /* We use char because int might match the return type of a gcc2
14732 builtin and then its argument prototype would still apply. */
14737 /* The GNU C library defines this for functions which it implements
14738 to always fail with ENOSYS. Some functions are actually named
14739 something starting with __ and the normal name is an alias. */
14740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14748 if { (eval echo configure
:14749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14750 eval "ac_cv_func_$ac_func=yes"
14752 echo "configure: failed program was:" >&5
14753 cat conftest.
$ac_ext >&5
14755 eval "ac_cv_func_$ac_func=no"
14760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14761 echo "$ac_t""yes" 1>&6
14762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14763 cat >> confdefs.h
<<EOF
14764 #define $ac_tr_func 1
14768 echo "$ac_t""no" 1>&6
14775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14776 ac_cpp
='$CXXCPP $CPPFLAGS'
14777 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14778 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14779 cross_compiling
=$ac_cv_prog_cxx_cross
14782 for ac_func
in strtok_r
14784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14785 echo "configure:14786: checking for $ac_func" >&5
14786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14787 echo $ac_n "(cached) $ac_c" 1>&6
14789 cat > conftest.
$ac_ext <<EOF
14790 #line 14791 "configure"
14791 #include "confdefs.h"
14792 /* System header to define __stub macros and hopefully few prototypes,
14793 which can conflict with char $ac_func(); below. */
14794 #include <assert.h>
14795 /* Override any gcc2 internal prototype to avoid an error. */
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14805 /* The GNU C library defines this for functions which it implements
14806 to always fail with ENOSYS. Some functions are actually named
14807 something starting with __ and the normal name is an alias. */
14808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14816 if { (eval echo configure
:14817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14818 eval "ac_cv_func_$ac_func=yes"
14820 echo "configure: failed program was:" >&5
14821 cat conftest.
$ac_ext >&5
14823 eval "ac_cv_func_$ac_func=no"
14828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14829 echo "$ac_t""yes" 1>&6
14830 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14831 cat >> confdefs.h
<<EOF
14832 #define $ac_tr_func 1
14836 echo "$ac_t""no" 1>&6
14842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14843 ac_cpp
='$CPP $CPPFLAGS'
14844 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14845 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14846 cross_compiling
=$ac_cv_prog_cc_cross
14850 for ac_func
in inet_addr
14852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14853 echo "configure:14854: checking for $ac_func" >&5
14854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14855 echo $ac_n "(cached) $ac_c" 1>&6
14857 cat > conftest.
$ac_ext <<EOF
14858 #line 14859 "configure"
14859 #include "confdefs.h"
14860 /* System header to define __stub macros and hopefully few prototypes,
14861 which can conflict with char $ac_func(); below. */
14862 #include <assert.h>
14863 /* Override any gcc2 internal prototype to avoid an error. */
14864 /* We use char because int might match the return type of a gcc2
14865 builtin and then its argument prototype would still apply. */
14870 /* The GNU C library defines this for functions which it implements
14871 to always fail with ENOSYS. Some functions are actually named
14872 something starting with __ and the normal name is an alias. */
14873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14881 if { (eval echo configure
:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14883 eval "ac_cv_func_$ac_func=yes"
14885 echo "configure: failed program was:" >&5
14886 cat conftest.
$ac_ext >&5
14888 eval "ac_cv_func_$ac_func=no"
14893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14894 echo "$ac_t""yes" 1>&6
14895 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14896 cat >> confdefs.h
<<EOF
14897 #define $ac_tr_func 1
14899 cat >> confdefs.h
<<\EOF
14900 #define HAVE_INET_ADDR 1
14904 echo "$ac_t""no" 1>&6
14905 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14906 echo "configure:14907: checking for inet_addr in -lnsl" >&5
14907 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14911 ac_save_LIBS
="$LIBS"
14913 cat > conftest.
$ac_ext <<EOF
14914 #line 14915 "configure"
14915 #include "confdefs.h"
14916 /* Override any gcc2 internal prototype to avoid an error. */
14917 /* We use char because int might match the return type of a gcc2
14918 builtin and then its argument prototype would still apply. */
14925 if { (eval echo configure
:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14927 eval "ac_cv_lib_$ac_lib_var=yes"
14929 echo "configure: failed program was:" >&5
14930 cat conftest.
$ac_ext >&5
14932 eval "ac_cv_lib_$ac_lib_var=no"
14935 LIBS
="$ac_save_LIBS"
14938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14939 echo "$ac_t""yes" 1>&6
14942 echo "$ac_t""no" 1>&6
14943 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14944 echo "configure:14945: checking for inet_addr in -lresolv" >&5
14945 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14947 echo $ac_n "(cached) $ac_c" 1>&6
14949 ac_save_LIBS
="$LIBS"
14950 LIBS
="-lresolv $LIBS"
14951 cat > conftest.
$ac_ext <<EOF
14952 #line 14953 "configure"
14953 #include "confdefs.h"
14954 /* Override any gcc2 internal prototype to avoid an error. */
14955 /* We use char because int might match the return type of a gcc2
14956 builtin and then its argument prototype would still apply. */
14963 if { (eval echo configure
:14964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14965 eval "ac_cv_lib_$ac_lib_var=yes"
14967 echo "configure: failed program was:" >&5
14968 cat conftest.
$ac_ext >&5
14970 eval "ac_cv_lib_$ac_lib_var=no"
14973 LIBS
="$ac_save_LIBS"
14976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14977 echo "$ac_t""yes" 1>&6
14981 echo "$ac_t""no" 1>&6
14993 for ac_func
in inet_aton
14995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14996 echo "configure:14997: checking for $ac_func" >&5
14997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14998 echo $ac_n "(cached) $ac_c" 1>&6
15000 cat > conftest.
$ac_ext <<EOF
15001 #line 15002 "configure"
15002 #include "confdefs.h"
15003 /* System header to define __stub macros and hopefully few prototypes,
15004 which can conflict with char $ac_func(); below. */
15005 #include <assert.h>
15006 /* Override any gcc2 internal prototype to avoid an error. */
15007 /* We use char because int might match the return type of a gcc2
15008 builtin and then its argument prototype would still apply. */
15013 /* The GNU C library defines this for functions which it implements
15014 to always fail with ENOSYS. Some functions are actually named
15015 something starting with __ and the normal name is an alias. */
15016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15024 if { (eval echo configure
:15025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15026 eval "ac_cv_func_$ac_func=yes"
15028 echo "configure: failed program was:" >&5
15029 cat conftest.
$ac_ext >&5
15031 eval "ac_cv_func_$ac_func=no"
15036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15037 echo "$ac_t""yes" 1>&6
15038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15039 cat >> confdefs.h
<<EOF
15040 #define $ac_tr_func 1
15042 cat >> confdefs.h
<<\EOF
15043 #define HAVE_INET_ATON 1
15047 echo "$ac_t""no" 1>&6
15048 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15049 echo "configure:15050: checking for inet_aton in -l$INET_LINK" >&5
15050 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15052 echo $ac_n "(cached) $ac_c" 1>&6
15054 ac_save_LIBS
="$LIBS"
15055 LIBS
="-l$INET_LINK $LIBS"
15056 cat > conftest.
$ac_ext <<EOF
15057 #line 15058 "configure"
15058 #include "confdefs.h"
15059 /* Override any gcc2 internal prototype to avoid an error. */
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15068 if { (eval echo configure
:15069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15070 eval "ac_cv_lib_$ac_lib_var=yes"
15072 echo "configure: failed program was:" >&5
15073 cat conftest.
$ac_ext >&5
15075 eval "ac_cv_lib_$ac_lib_var=no"
15078 LIBS
="$ac_save_LIBS"
15081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15082 echo "$ac_t""yes" 1>&6
15083 cat >> confdefs.h
<<\EOF
15084 #define HAVE_INET_ATON 1
15088 echo "$ac_t""no" 1>&6
15096 if test "x$INET_LINK" != "x"; then
15097 cat >> confdefs.h
<<\EOF
15098 #define HAVE_INET_ADDR 1
15101 INET_LINK
="-l$INET_LINK"
15107 cat > confcache
<<\EOF
15108 # This file is a shell script that caches the results of configure
15109 # tests run on this system so they can be shared between configure
15110 # scripts and configure runs. It is not useful on other systems.
15111 # If it contains results you don't want to keep, you may remove or edit it.
15113 # By default, configure uses ./config.cache as the cache file,
15114 # creating it if it does not exist already. You can give configure
15115 # the --cache-file=FILE option to use a different cache file; that is
15116 # what configure does when it calls configure scripts in
15117 # subdirectories, so they share the cache.
15118 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15119 # config.status only pays attention to the cache file if you give it the
15120 # --recheck option to rerun configure.
15123 # The following way of writing the cache mishandles newlines in values,
15124 # but we know of no workaround that is simple, portable, and efficient.
15125 # So, don't put newlines in cache variables' values.
15126 # Ultrix sh set writes to stderr and can't be redirected directly,
15127 # and sets the high bit in the cache file unless we assign to the vars.
15129 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15131 # `set' does not quote correctly, so add quotes (double-quote substitution
15132 # turns \\\\ into \\, and sed turns \\ into \).
15134 -e "s/'/'\\\\''/g" \
15135 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15138 # `set' quotes correctly as required by POSIX, so do not add quotes.
15139 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15142 if cmp -s $cache_file confcache
; then
15145 if test -w $cache_file; then
15146 echo "updating cache $cache_file"
15147 cat confcache
> $cache_file
15149 echo "not updating unwritable cache $cache_file"
15156 if test "$TOOLKIT" != "MSW"; then
15162 CODE_GEN_FLAGS_CXX
=
15164 if test "$wxUSE_THREADS" = "yes" ; then
15165 if test "$wxUSE_WINE" = 1 ; then
15166 echo "configure: warning: Threads are not supported under WINE" 1>&2
15168 elif test "$USE_BEOS" = 1; then
15169 echo "configure: warning: BeOS threads are not yet supported" 1>&2
15174 if test "$wxUSE_THREADS" = "yes" ; then
15176 if test "$USE_AIX" = 1; then
15177 THREADS_LIB
=pthreads
15179 THREADS_LIB
=pthread
15182 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15183 echo "configure:15184: checking for pthread_create in -l$THREADS_LIB" >&5
15184 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15186 echo $ac_n "(cached) $ac_c" 1>&6
15188 ac_save_LIBS
="$LIBS"
15189 LIBS
="-l$THREADS_LIB $LIBS"
15190 cat > conftest.
$ac_ext <<EOF
15191 #line 15192 "configure"
15192 #include "confdefs.h"
15193 /* Override any gcc2 internal prototype to avoid an error. */
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15196 char pthread_create();
15202 if { (eval echo configure
:15203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15204 eval "ac_cv_lib_$ac_lib_var=yes"
15206 echo "configure: failed program was:" >&5
15207 cat conftest.
$ac_ext >&5
15209 eval "ac_cv_lib_$ac_lib_var=no"
15212 LIBS
="$ac_save_LIBS"
15215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15216 echo "$ac_t""yes" 1>&6
15218 THREADS_OBJ
="threadpsx.lo"
15219 THREADS_LINK
=$THREADS_LIB
15222 echo "$ac_t""no" 1>&6
15224 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15225 echo "configure:15226: checking for pthread_create in -lc_r" >&5
15226 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15228 echo $ac_n "(cached) $ac_c" 1>&6
15230 ac_save_LIBS
="$LIBS"
15232 cat > conftest.
$ac_ext <<EOF
15233 #line 15234 "configure"
15234 #include "confdefs.h"
15235 /* Override any gcc2 internal prototype to avoid an error. */
15236 /* We use char because int might match the return type of a gcc2
15237 builtin and then its argument prototype would still apply. */
15238 char pthread_create();
15244 if { (eval echo configure
:15245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15246 eval "ac_cv_lib_$ac_lib_var=yes"
15248 echo "configure: failed program was:" >&5
15249 cat conftest.
$ac_ext >&5
15251 eval "ac_cv_lib_$ac_lib_var=no"
15254 LIBS
="$ac_save_LIBS"
15257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15258 echo "$ac_t""yes" 1>&6
15260 THREADS_OBJ
="threadpsx.lo"
15264 echo "$ac_t""no" 1>&6
15266 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15267 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15268 echo "configure:15269: checking for sys/prctl.h" >&5
15269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15270 echo $ac_n "(cached) $ac_c" 1>&6
15272 cat > conftest.
$ac_ext <<EOF
15273 #line 15274 "configure"
15274 #include "confdefs.h"
15275 #include <sys/prctl.h>
15277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15278 { (eval echo configure
:15279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15280 if test -z "$ac_err"; then
15282 eval "ac_cv_header_$ac_safe=yes"
15285 echo "configure: failed program was:" >&5
15286 cat conftest.
$ac_ext >&5
15288 eval "ac_cv_header_$ac_safe=no"
15292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15293 echo "$ac_t""yes" 1>&6
15295 THREADS_OBJ
="threadsgi.lo"
15298 echo "$ac_t""no" 1>&6
15308 if test -z "$THREADS_OBJ" ; then
15310 echo "configure: warning: No thread support on this system" 1>&2
15314 if test "$wxUSE_THREADS" = "yes" ; then
15315 for ac_func
in thr_setconcurrency
15317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15318 echo "configure:15319: checking for $ac_func" >&5
15319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15320 echo $ac_n "(cached) $ac_c" 1>&6
15322 cat > conftest.
$ac_ext <<EOF
15323 #line 15324 "configure"
15324 #include "confdefs.h"
15325 /* System header to define __stub macros and hopefully few prototypes,
15326 which can conflict with char $ac_func(); below. */
15327 #include <assert.h>
15328 /* Override any gcc2 internal prototype to avoid an error. */
15329 /* We use char because int might match the return type of a gcc2
15330 builtin and then its argument prototype would still apply. */
15335 /* The GNU C library defines this for functions which it implements
15336 to always fail with ENOSYS. Some functions are actually named
15337 something starting with __ and the normal name is an alias. */
15338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15346 if { (eval echo configure
:15347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15348 eval "ac_cv_func_$ac_func=yes"
15350 echo "configure: failed program was:" >&5
15351 cat conftest.
$ac_ext >&5
15353 eval "ac_cv_func_$ac_func=no"
15358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15359 echo "$ac_t""yes" 1>&6
15360 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15361 cat >> confdefs.h
<<EOF
15362 #define $ac_tr_func 1
15366 echo "$ac_t""no" 1>&6
15372 for ac_hdr
in sched.h
15374 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15376 echo "configure:15377: checking for $ac_hdr" >&5
15377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15378 echo $ac_n "(cached) $ac_c" 1>&6
15380 cat > conftest.
$ac_ext <<EOF
15381 #line 15382 "configure"
15382 #include "confdefs.h"
15385 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15386 { (eval echo configure
:15387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15387 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15388 if test -z "$ac_err"; then
15390 eval "ac_cv_header_$ac_safe=yes"
15393 echo "configure: failed program was:" >&5
15394 cat conftest.
$ac_ext >&5
15396 eval "ac_cv_header_$ac_safe=no"
15400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15401 echo "$ac_t""yes" 1>&6
15402 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15403 cat >> confdefs.h
<<EOF
15404 #define $ac_tr_hdr 1
15408 echo "$ac_t""no" 1>&6
15413 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15414 echo "configure:15415: checking for sched_yield in -l$THREADS_LINK" >&5
15415 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15417 echo $ac_n "(cached) $ac_c" 1>&6
15419 ac_save_LIBS
="$LIBS"
15420 LIBS
="-l$THREADS_LINK $LIBS"
15421 cat > conftest.
$ac_ext <<EOF
15422 #line 15423 "configure"
15423 #include "confdefs.h"
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15427 char sched_yield();
15433 if { (eval echo configure
:15434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15435 eval "ac_cv_lib_$ac_lib_var=yes"
15437 echo "configure: failed program was:" >&5
15438 cat conftest.
$ac_ext >&5
15440 eval "ac_cv_lib_$ac_lib_var=no"
15443 LIBS
="$ac_save_LIBS"
15446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15447 echo "$ac_t""yes" 1>&6
15448 cat >> confdefs.h
<<\EOF
15449 #define HAVE_SCHED_YIELD 1
15453 echo "$ac_t""no" 1>&6
15454 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15455 echo "configure:15456: checking for sched_yield in -lposix4" >&5
15456 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15458 echo $ac_n "(cached) $ac_c" 1>&6
15460 ac_save_LIBS
="$LIBS"
15461 LIBS
="-lposix4 $LIBS"
15462 cat > conftest.
$ac_ext <<EOF
15463 #line 15464 "configure"
15464 #include "confdefs.h"
15465 /* Override any gcc2 internal prototype to avoid an error. */
15466 /* We use char because int might match the return type of a gcc2
15467 builtin and then its argument prototype would still apply. */
15468 char sched_yield();
15474 if { (eval echo configure
:15475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15476 eval "ac_cv_lib_$ac_lib_var=yes"
15478 echo "configure: failed program was:" >&5
15479 cat conftest.
$ac_ext >&5
15481 eval "ac_cv_lib_$ac_lib_var=no"
15484 LIBS
="$ac_save_LIBS"
15487 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15488 echo "$ac_t""yes" 1>&6
15489 cat >> confdefs.h
<<\EOF
15490 #define HAVE_SCHED_YIELD 1
15492 POSIX4_LINK
="-lposix4"
15494 echo "$ac_t""no" 1>&6
15495 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15504 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15505 echo "configure:15506: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15506 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 ac_save_LIBS
="$LIBS"
15511 LIBS
="-l$THREADS_LINK $LIBS"
15512 cat > conftest.
$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15515 /* Override any gcc2 internal prototype to avoid an error. */
15516 /* We use char because int might match the return type of a gcc2
15517 builtin and then its argument prototype would still apply. */
15518 char pthread_attr_getschedpolicy();
15521 pthread_attr_getschedpolicy()
15524 if { (eval echo configure
:15525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15526 eval "ac_cv_lib_$ac_lib_var=yes"
15528 echo "configure: failed program was:" >&5
15529 cat conftest.
$ac_ext >&5
15531 eval "ac_cv_lib_$ac_lib_var=no"
15534 LIBS
="$ac_save_LIBS"
15537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15538 echo "$ac_t""yes" 1>&6
15539 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15540 echo "configure:15541: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15541 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15543 echo $ac_n "(cached) $ac_c" 1>&6
15545 ac_save_LIBS
="$LIBS"
15546 LIBS
="-l$THREADS_LINK $LIBS"
15547 cat > conftest.
$ac_ext <<EOF
15548 #line 15549 "configure"
15549 #include "confdefs.h"
15550 /* Override any gcc2 internal prototype to avoid an error. */
15551 /* We use char because int might match the return type of a gcc2
15552 builtin and then its argument prototype would still apply. */
15553 char pthread_attr_setschedparam();
15556 pthread_attr_setschedparam()
15559 if { (eval echo configure
:15560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15561 eval "ac_cv_lib_$ac_lib_var=yes"
15563 echo "configure: failed program was:" >&5
15564 cat conftest.
$ac_ext >&5
15566 eval "ac_cv_lib_$ac_lib_var=no"
15569 LIBS
="$ac_save_LIBS"
15572 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15573 echo "$ac_t""yes" 1>&6
15574 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15575 echo "configure:15576: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15576 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15578 echo $ac_n "(cached) $ac_c" 1>&6
15580 ac_save_LIBS
="$LIBS"
15581 LIBS
="-l$THREADS_LINK $LIBS"
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15585 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15588 char sched_get_priority_max();
15591 sched_get_priority_max()
15594 if { (eval echo configure
:15595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15596 eval "ac_cv_lib_$ac_lib_var=yes"
15598 echo "configure: failed program was:" >&5
15599 cat conftest.
$ac_ext >&5
15601 eval "ac_cv_lib_$ac_lib_var=no"
15604 LIBS
="$ac_save_LIBS"
15607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15608 echo "$ac_t""yes" 1>&6
15611 echo "$ac_t""no" 1>&6
15612 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15613 echo "configure:15614: checking for sched_get_priority_max in -lposix4" >&5
15614 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15615 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15616 echo $ac_n "(cached) $ac_c" 1>&6
15618 ac_save_LIBS
="$LIBS"
15619 LIBS
="-lposix4 $LIBS"
15620 cat > conftest.
$ac_ext <<EOF
15621 #line 15622 "configure"
15622 #include "confdefs.h"
15623 /* Override any gcc2 internal prototype to avoid an error. */
15624 /* We use char because int might match the return type of a gcc2
15625 builtin and then its argument prototype would still apply. */
15626 char sched_get_priority_max();
15629 sched_get_priority_max()
15632 if { (eval echo configure
:15633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15634 eval "ac_cv_lib_$ac_lib_var=yes"
15636 echo "configure: failed program was:" >&5
15637 cat conftest.
$ac_ext >&5
15639 eval "ac_cv_lib_$ac_lib_var=no"
15642 LIBS
="$ac_save_LIBS"
15645 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15646 echo "$ac_t""yes" 1>&6
15649 POSIX4_LINK
="-lposix4"
15652 echo "$ac_t""no" 1>&6
15660 echo "$ac_t""no" 1>&6
15665 echo "$ac_t""no" 1>&6
15669 if test "$HAVE_PRIOR_FUNCS" = 1; then
15670 cat >> confdefs.h
<<\EOF
15671 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15675 echo "configure: warning: Setting thread priority will not work" 1>&2
15678 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15679 echo "configure:15680: checking for pthread_cancel in -l$THREADS_LINK" >&5
15680 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15682 echo $ac_n "(cached) $ac_c" 1>&6
15684 ac_save_LIBS
="$LIBS"
15685 LIBS
="-l$THREADS_LINK $LIBS"
15686 cat > conftest.
$ac_ext <<EOF
15687 #line 15688 "configure"
15688 #include "confdefs.h"
15689 /* Override any gcc2 internal prototype to avoid an error. */
15690 /* We use char because int might match the return type of a gcc2
15691 builtin and then its argument prototype would still apply. */
15692 char pthread_cancel();
15698 if { (eval echo configure
:15699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15700 eval "ac_cv_lib_$ac_lib_var=yes"
15702 echo "configure: failed program was:" >&5
15703 cat conftest.
$ac_ext >&5
15705 eval "ac_cv_lib_$ac_lib_var=no"
15708 LIBS
="$ac_save_LIBS"
15711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15712 echo "$ac_t""yes" 1>&6
15713 cat >> confdefs.h
<<\EOF
15714 #define HAVE_PTHREAD_CANCEL 1
15718 echo "$ac_t""no" 1>&6
15719 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15723 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15724 echo "configure:15725: checking for pthread_cleanup_push/pop" >&5
15725 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15726 echo $ac_n "(cached) $ac_c" 1>&6
15729 cat > conftest.
$ac_ext <<EOF
15730 #line 15731 "configure"
15731 #include "confdefs.h"
15732 #include <pthread.h>
15735 pthread_cleanup_push(NULL, NULL);
15736 pthread_cleanup_pop(0);
15740 if { (eval echo configure
:15741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15743 wx_cv_func_pthread_cleanup_push
=yes
15746 echo "configure: failed program was:" >&5
15747 cat conftest.
$ac_ext >&5
15750 wx_cv_func_pthread_cleanup_push
=no
15757 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15759 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15760 cat >> confdefs.h
<<\EOF
15761 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15767 if test "x$wx_lib_glibc21" = "xyes"; then
15768 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15771 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15772 echo "configure:15773: checking for pthread_mutexattr_t" >&5
15773 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15774 echo $ac_n "(cached) $ac_c" 1>&6
15777 cat > conftest.
$ac_ext <<EOF
15778 #line 15779 "configure"
15779 #include "confdefs.h"
15780 #include <pthread.h>
15783 pthread_mutexattr_t attr;
15784 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15788 if { (eval echo configure
:15789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15791 wx_cv_type_pthread_mutexattr_t
=yes
15794 echo "configure: failed program was:" >&5
15795 cat conftest.
$ac_ext >&5
15798 wx_cv_type_pthread_mutexattr_t
=no
15806 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15808 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15809 cat >> confdefs.h
<<\EOF
15810 #define HAVE_PTHREAD_MUTEXATTR_T 1
15814 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15815 echo "configure:15816: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15816 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15817 echo $ac_n "(cached) $ac_c" 1>&6
15820 cat > conftest.
$ac_ext <<EOF
15821 #line 15822 "configure"
15822 #include "confdefs.h"
15823 #include <pthread.h>
15826 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15830 if { (eval echo configure
:15831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15833 wx_cv_type_pthread_rec_mutex_init
=yes
15836 echo "configure: failed program was:" >&5
15837 cat conftest.
$ac_ext >&5
15840 wx_cv_type_pthread_rec_mutex_init
=no
15848 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15849 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15850 cat >> confdefs.h
<<\EOF
15851 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15855 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15859 THREADS_LINK
="-l$THREADS_LINK"
15861 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15862 CPPFLAGS
="${CFLAGS} -mt"
15863 CXXFLAGS
="${CXXFLAGS} -mt"
15864 LDFLAGS
="${LDFLAGS} -mt"
15870 if test "$wxUSE_THREADS" = "yes"; then
15871 cat >> confdefs.h
<<\EOF
15872 #define wxUSE_THREADS 1
15876 if test "$USE_DARWIN" != 1; then
15877 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15882 if test "$ac_cv_func_strtok_r" = "yes"; then
15883 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15884 echo "configure:15885: checking if -D_REENTRANT is needed" >&5
15885 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15886 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15887 echo "$ac_t""yes" 1>&6
15889 echo "$ac_t""no" 1>&6
15894 if test "$WXGTK20" = 1 ; then
15895 cat >> confdefs.h
<<EOF
15896 #define __WXGTK20__ $WXGTK20
15902 if test "$WXGTK12" = 1 ; then
15903 cat >> confdefs.h
<<EOF
15904 #define __WXGTK12__ $WXGTK12
15909 if test "$WXGTK127" = 1 ; then
15910 cat >> confdefs.h
<<EOF
15911 #define __WXGTK127__ $WXGTK127
15918 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15923 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15924 wxUSE_DEBUG_INFO
=yes
15928 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15929 cat >> confdefs.h
<<\EOF
15933 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15935 if test "$wxUSE_GTK" = 1 ; then
15936 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15940 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15941 cat >> confdefs.h
<<\EOF
15942 #define wxUSE_MEMORY_TRACING 1
15945 cat >> confdefs.h
<<\EOF
15946 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15949 cat >> confdefs.h
<<\EOF
15950 #define wxUSE_DEBUG_NEW_ALWAYS 1
15953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15956 if test "$wxUSE_DMALLOC" = "yes" ; then
15957 DMALLOC_LINK
="-ldmalloc"
15961 if test "$wxUSE_PROFILE" = "yes" ; then
15965 if test "$GCC" = yes ; then
15966 if test "$wxUSE_NO_RTTI" = "yes" ; then
15967 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15969 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15970 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15972 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15973 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15975 if test "$wxUSE_NO_DEPS" = "no" ; then
15976 CFLAGS
="-MMD ${CFLAGS}"
15977 CXXFLAGS
="-MMD ${CXXFLAGS}"
15979 if test "$USE_WIN32" = 1 ; then
15980 # I'm not even really sure what this was ever added to solve,
15981 # but someone added it for mingw native builds, so I guess
15982 # they had a reason, right??
15983 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15988 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15989 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15990 if test "$wxUSE_OPTIMISE" = "no" ; then
15993 if test "$GCC" = yes ; then
15996 i586
-*-*|i686
-*-* )
15997 OPTIMISE
="${OPTIMISE} "
16005 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16006 cat >> confdefs.h
<<\EOF
16007 #define WXWIN_COMPATIBILITY_2 1
16011 WXWIN_COMPATIBILITY_2_2
="yes"
16014 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16015 cat >> confdefs.h
<<\EOF
16016 #define WXWIN_COMPATIBILITY_2_2 1
16022 if test "$wxUSE_GUI" = "yes"; then
16023 cat >> confdefs.h
<<\EOF
16024 #define wxUSE_GUI 1
16029 cat >> confdefs.h
<<\EOF
16030 #define wxUSE_NOGUI 1
16036 if test "$wxUSE_UNIX" = "yes"; then
16037 cat >> confdefs.h
<<\EOF
16038 #define wxUSE_UNIX 1
16044 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16045 cat >> confdefs.h
<<\EOF
16046 #define wxUSE_APPLE_IEEE 1
16051 if test "$wxUSE_TIMER" = "yes"; then
16052 cat >> confdefs.h
<<\EOF
16053 #define wxUSE_TIMER 1
16058 if test "$wxUSE_WAVE" = "yes"; then
16059 cat >> confdefs.h
<<\EOF
16060 #define wxUSE_WAVE 1
16065 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16066 cat >> confdefs.h
<<\EOF
16067 #define wxUSE_CMDLINE_PARSER 1
16072 if test "$wxUSE_STOPWATCH" = "yes"; then
16073 cat >> confdefs.h
<<\EOF
16074 #define wxUSE_STOPWATCH 1
16079 if test "$wxUSE_DATETIME" = "yes"; then
16080 cat >> confdefs.h
<<\EOF
16081 #define wxUSE_DATETIME 1
16086 if test "$wxUSE_TIMEDATE" = "yes"; then
16087 cat >> confdefs.h
<<\EOF
16088 #define wxUSE_TIMEDATE 1
16093 if test "$wxUSE_FILE" = "yes"; then
16094 cat >> confdefs.h
<<\EOF
16095 #define wxUSE_FILE 1
16100 if test "$wxUSE_FFILE" = "yes"; then
16101 cat >> confdefs.h
<<\EOF
16102 #define wxUSE_FFILE 1
16107 if test "$wxUSE_FILESYSTEM" = "yes"; then
16108 cat >> confdefs.h
<<\EOF
16109 #define wxUSE_FILESYSTEM 1
16114 if test "$wxUSE_FS_INET" = "yes"; then
16115 cat >> confdefs.h
<<\EOF
16116 #define wxUSE_FS_INET 1
16121 if test "$wxUSE_FS_ZIP" = "yes"; then
16122 cat >> confdefs.h
<<\EOF
16123 #define wxUSE_FS_ZIP 1
16128 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16129 cat >> confdefs.h
<<\EOF
16130 #define wxUSE_ZIPSTREAM 1
16135 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16136 cat >> confdefs.h
<<\EOF
16137 #define wxUSE_ON_FATAL_EXCEPTION 1
16142 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16143 cat >> confdefs.h
<<\EOF
16144 #define wxUSE_SNGLINST_CHECKER 1
16149 if test "$wxUSE_BUSYINFO" = "yes"; then
16150 cat >> confdefs.h
<<\EOF
16151 #define wxUSE_BUSYINFO 1
16156 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16157 cat >> confdefs.h
<<\EOF
16158 #define wxUSE_STD_IOSTREAM 1
16163 if test "$wxUSE_TEXTFILE" = "yes"; then
16164 if test "$wxUSE_FILE" != "yes"; then
16165 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
16167 cat >> confdefs.h
<<\EOF
16168 #define wxUSE_TEXTFILE 1
16174 if test "$wxUSE_CONFIG" = "yes" ; then
16175 if test "$wxUSE_TEXTFILE" != "yes"; then
16176 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16178 cat >> confdefs.h
<<\EOF
16179 #define wxUSE_CONFIG 1
16182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16186 if test "$wxUSE_INTL" = "yes" ; then
16187 if test "$wxUSE_FILE" != "yes"; then
16188 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16190 cat >> confdefs.h
<<\EOF
16191 #define wxUSE_INTL 1
16194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16195 GUIDIST
="$GUIDIST INTL_DIST"
16199 if test "$wxUSE_LOG" = "yes"; then
16200 cat >> confdefs.h
<<\EOF
16201 #define wxUSE_LOG 1
16205 if test "$wxUSE_LOGGUI" = "yes"; then
16206 cat >> confdefs.h
<<\EOF
16207 #define wxUSE_LOGGUI 1
16212 if test "$wxUSE_LOGWINDOW" = "yes"; then
16213 cat >> confdefs.h
<<\EOF
16214 #define wxUSE_LOGWINDOW 1
16220 if test "$wxUSE_LONGLONG" = "yes"; then
16221 cat >> confdefs.h
<<\EOF
16222 #define wxUSE_LONGLONG 1
16227 if test "$wxUSE_GEOMETRY" = "yes"; then
16228 cat >> confdefs.h
<<\EOF
16229 #define wxUSE_GEOMETRY 1
16234 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16235 cat >> confdefs.h
<<\EOF
16236 #define wxUSE_DIALUP_MANAGER 1
16239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16242 if test "$wxUSE_STREAMS" = "yes" ; then
16243 cat >> confdefs.h
<<\EOF
16244 #define wxUSE_STREAMS 1
16250 if test "$wxUSE_DATETIME" = "yes"; then
16251 for ac_func
in strptime
16253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16254 echo "configure:16255: checking for $ac_func" >&5
16255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16256 echo $ac_n "(cached) $ac_c" 1>&6
16258 cat > conftest.
$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16261 /* System header to define __stub macros and hopefully few prototypes,
16262 which can conflict with char $ac_func(); below. */
16263 #include <assert.h>
16264 /* Override any gcc2 internal prototype to avoid an error. */
16265 /* We use char because int might match the return type of a gcc2
16266 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16282 if { (eval echo configure
:16283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16284 eval "ac_cv_func_$ac_func=yes"
16286 echo "configure: failed program was:" >&5
16287 cat conftest.
$ac_ext >&5
16289 eval "ac_cv_func_$ac_func=no"
16294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16295 echo "$ac_t""yes" 1>&6
16296 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16297 cat >> confdefs.h
<<EOF
16298 #define $ac_tr_func 1
16302 echo "$ac_t""no" 1>&6
16307 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16308 echo "configure:16309: checking for timezone variable in <time.h>" >&5
16309 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16310 echo $ac_n "(cached) $ac_c" 1>&6
16313 cat > conftest.
$ac_ext <<EOF
16314 #line 16315 "configure"
16315 #include "confdefs.h"
16326 if { (eval echo configure
:16327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16329 wx_cv_var_timezone
=timezone
16332 echo "configure: failed program was:" >&5
16333 cat conftest.
$ac_ext >&5
16336 cat > conftest.
$ac_ext <<EOF
16337 #line 16338 "configure"
16338 #include "confdefs.h"
16349 if { (eval echo configure
:16350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16352 wx_cv_var_timezone
=_timezone
16355 echo "configure: failed program was:" >&5
16356 cat conftest.
$ac_ext >&5
16359 cat > conftest.
$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16372 if { (eval echo configure
:16373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16375 wx_cv_var_timezone
=__timezone
16378 echo "configure: failed program was:" >&5
16379 cat conftest.
$ac_ext >&5
16381 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16397 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16399 cat >> confdefs.h
<<EOF
16400 #define WX_TIMEZONE $wx_cv_var_timezone
16404 for ac_func
in localtime
16406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16407 echo "configure:16408: checking for $ac_func" >&5
16408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16409 echo $ac_n "(cached) $ac_c" 1>&6
16411 cat > conftest.
$ac_ext <<EOF
16412 #line 16413 "configure"
16413 #include "confdefs.h"
16414 /* System header to define __stub macros and hopefully few prototypes,
16415 which can conflict with char $ac_func(); below. */
16416 #include <assert.h>
16417 /* Override any gcc2 internal prototype to avoid an error. */
16418 /* We use char because int might match the return type of a gcc2
16419 builtin and then its argument prototype would still apply. */
16424 /* The GNU C library defines this for functions which it implements
16425 to always fail with ENOSYS. Some functions are actually named
16426 something starting with __ and the normal name is an alias. */
16427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16435 if { (eval echo configure
:16436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16437 eval "ac_cv_func_$ac_func=yes"
16439 echo "configure: failed program was:" >&5
16440 cat conftest.
$ac_ext >&5
16442 eval "ac_cv_func_$ac_func=no"
16447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16448 echo "$ac_t""yes" 1>&6
16449 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16450 cat >> confdefs.h
<<EOF
16451 #define $ac_tr_func 1
16455 echo "$ac_t""no" 1>&6
16460 if test "$ac_cv_func_localtime" = "yes"; then
16461 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16462 echo "configure:16463: checking for tm_gmtoff in struct tm" >&5
16463 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16464 echo $ac_n "(cached) $ac_c" 1>&6
16467 cat > conftest.
$ac_ext <<EOF
16468 #line 16469 "configure"
16469 #include "confdefs.h"
16480 if { (eval echo configure
:16481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16483 wx_cv_struct_tm_has_gmtoff
=yes
16486 echo "configure: failed program was:" >&5
16487 cat conftest.
$ac_ext >&5
16489 wx_cv_struct_tm_has_gmtoff
=no
16496 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16499 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16500 cat >> confdefs.h
<<\EOF
16501 #define WX_GMTOFF_IN_TM 1
16506 for ac_func
in gettimeofday ftime
16508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16509 echo "configure:16510: checking for $ac_func" >&5
16510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16511 echo $ac_n "(cached) $ac_c" 1>&6
16513 cat > conftest.
$ac_ext <<EOF
16514 #line 16515 "configure"
16515 #include "confdefs.h"
16516 /* System header to define __stub macros and hopefully few prototypes,
16517 which can conflict with char $ac_func(); below. */
16518 #include <assert.h>
16519 /* Override any gcc2 internal prototype to avoid an error. */
16520 /* We use char because int might match the return type of a gcc2
16521 builtin and then its argument prototype would still apply. */
16526 /* The GNU C library defines this for functions which it implements
16527 to always fail with ENOSYS. Some functions are actually named
16528 something starting with __ and the normal name is an alias. */
16529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16537 if { (eval echo configure
:16538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16539 eval "ac_cv_func_$ac_func=yes"
16541 echo "configure: failed program was:" >&5
16542 cat conftest.
$ac_ext >&5
16544 eval "ac_cv_func_$ac_func=no"
16549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16550 echo "$ac_t""yes" 1>&6
16551 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16552 cat >> confdefs.h
<<EOF
16553 #define $ac_tr_func 1
16557 echo "$ac_t""no" 1>&6
16562 if test "$ac_cv_func_gettimeofday" = "yes"; then
16563 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16564 echo "configure:16565: checking whether gettimeofday takes two arguments" >&5
16565 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16566 echo $ac_n "(cached) $ac_c" 1>&6
16571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16572 ac_cpp
='$CXXCPP $CPPFLAGS'
16573 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16574 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16575 cross_compiling
=$ac_cv_prog_cxx_cross
16578 cat > conftest.
$ac_ext <<EOF
16579 #line 16580 "configure"
16580 #include "confdefs.h"
16582 #include <sys/time.h>
16583 #include <unistd.h>
16588 gettimeofday(&tv, NULL);
16592 if { (eval echo configure
:16593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16594 wx_cv_func_gettimeofday_has_2_args
=yes
16596 echo "configure: failed program was:" >&5
16597 cat conftest.
$ac_ext >&5
16599 cat > conftest.
$ac_ext <<EOF
16600 #line 16601 "configure"
16601 #include "confdefs.h"
16603 #include <sys/time.h>
16604 #include <unistd.h>
16613 if { (eval echo configure
:16614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16615 wx_cv_func_gettimeofday_has_2_args
=no
16617 echo "configure: failed program was:" >&5
16618 cat conftest.
$ac_ext >&5
16621 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16622 wx_cv_func_gettimeofday_has_2_args
=unknown
16631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16632 ac_cpp
='$CPP $CPPFLAGS'
16633 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16634 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16635 cross_compiling
=$ac_cv_prog_cc_cross
16640 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16642 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16643 cat >> confdefs.h
<<\EOF
16644 #define WX_GETTIMEOFDAY_NO_TZ 1
16650 cat >> confdefs.h
<<\EOF
16651 #define wxUSE_TIMEDATE 1
16654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16658 if test "$TOOLKIT" != "MSW"; then
16660 if test "$wxUSE_SOCKETS" = "yes"; then
16661 echo $ac_n "checking for socket""... $ac_c" 1>&6
16662 echo "configure:16663: checking for socket" >&5
16663 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16664 echo $ac_n "(cached) $ac_c" 1>&6
16666 cat > conftest.
$ac_ext <<EOF
16667 #line 16668 "configure"
16668 #include "confdefs.h"
16669 /* System header to define __stub macros and hopefully few prototypes,
16670 which can conflict with char socket(); below. */
16671 #include <assert.h>
16672 /* Override any gcc2 internal prototype to avoid an error. */
16673 /* We use char because int might match the return type of a gcc2
16674 builtin and then its argument prototype would still apply. */
16679 /* The GNU C library defines this for functions which it implements
16680 to always fail with ENOSYS. Some functions are actually named
16681 something starting with __ and the normal name is an alias. */
16682 #if defined (__stub_socket) || defined (__stub___socket)
16690 if { (eval echo configure
:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16692 eval "ac_cv_func_socket=yes"
16694 echo "configure: failed program was:" >&5
16695 cat conftest.
$ac_ext >&5
16697 eval "ac_cv_func_socket=no"
16702 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16703 echo "$ac_t""yes" 1>&6
16706 echo "$ac_t""no" 1>&6
16707 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16708 echo "configure:16709: checking for socket in -lsocket" >&5
16709 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16711 echo $ac_n "(cached) $ac_c" 1>&6
16713 ac_save_LIBS
="$LIBS"
16714 LIBS
="-lsocket $LIBS"
16715 cat > conftest.
$ac_ext <<EOF
16716 #line 16717 "configure"
16717 #include "confdefs.h"
16718 /* Override any gcc2 internal prototype to avoid an error. */
16719 /* We use char because int might match the return type of a gcc2
16720 builtin and then its argument prototype would still apply. */
16727 if { (eval echo configure
:16728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16729 eval "ac_cv_lib_$ac_lib_var=yes"
16731 echo "configure: failed program was:" >&5
16732 cat conftest.
$ac_ext >&5
16734 eval "ac_cv_lib_$ac_lib_var=no"
16737 LIBS
="$ac_save_LIBS"
16740 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16741 echo "$ac_t""yes" 1>&6
16742 INET_LINK
="$INET_LINK -lsocket"
16744 echo "$ac_t""no" 1>&6
16746 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16758 if test "$wxUSE_SOCKETS" = "yes" ; then
16759 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16760 echo "configure:16761: checking what is the type of the third argument of getsockname" >&5
16761 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16762 echo $ac_n "(cached) $ac_c" 1>&6
16767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16768 ac_cpp
='$CXXCPP $CPPFLAGS'
16769 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16770 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16771 cross_compiling
=$ac_cv_prog_cxx_cross
16774 cat > conftest.
$ac_ext <<EOF
16775 #line 16776 "configure"
16776 #include "confdefs.h"
16778 #include <sys/types.h>
16779 #include <sys/socket.h>
16784 getsockname(0, 0, &len);
16788 if { (eval echo configure
:16789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16790 wx_cv_type_getsockname3
=socklen_t
16792 echo "configure: failed program was:" >&5
16793 cat conftest.
$ac_ext >&5
16795 cat > conftest.
$ac_ext <<EOF
16796 #line 16797 "configure"
16797 #include "confdefs.h"
16799 #include <sys/types.h>
16800 #include <sys/socket.h>
16805 getsockname(0, 0, &len);
16809 if { (eval echo configure
:16810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16811 wx_cv_type_getsockname3
=size_t
16813 echo "configure: failed program was:" >&5
16814 cat conftest.
$ac_ext >&5
16816 cat > conftest.
$ac_ext <<EOF
16817 #line 16818 "configure"
16818 #include "confdefs.h"
16820 #include <sys/types.h>
16821 #include <sys/socket.h>
16826 getsockname(0, 0, &len);
16830 if { (eval echo configure
:16831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16832 wx_cv_type_getsockname3
=int
16834 echo "configure: failed program was:" >&5
16835 cat conftest.
$ac_ext >&5
16837 wx_cv_type_getsockname3
=unknown
16849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16850 ac_cpp
='$CPP $CPPFLAGS'
16851 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16852 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16853 cross_compiling
=$ac_cv_prog_cc_cross
16858 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16860 if test "$wx_cv_type_getsockname3" = "unknown"; then
16862 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16864 cat >> confdefs.h
<<EOF
16865 #define SOCKLEN_T $wx_cv_type_getsockname3
16872 if test "$wxUSE_SOCKETS" = "yes" ; then
16873 cat >> confdefs.h
<<\EOF
16874 #define wxUSE_SOCKETS 1
16877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16881 if test "$wxUSE_GUI" = "yes"; then
16883 if test "$TOOLKIT" != "MSW"; then
16884 if test "$wxUSE_JOYSTICK" = "yes"; then
16885 for ac_hdr
in linux
/joystick.h
16887 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16889 echo "configure:16890: checking for $ac_hdr" >&5
16890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16891 echo $ac_n "(cached) $ac_c" 1>&6
16893 cat > conftest.
$ac_ext <<EOF
16894 #line 16895 "configure"
16895 #include "confdefs.h"
16898 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16899 { (eval echo configure
:16900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16900 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16901 if test -z "$ac_err"; then
16903 eval "ac_cv_header_$ac_safe=yes"
16906 echo "configure: failed program was:" >&5
16907 cat conftest.
$ac_ext >&5
16909 eval "ac_cv_header_$ac_safe=no"
16913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16914 echo "$ac_t""yes" 1>&6
16915 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16916 cat >> confdefs.h
<<EOF
16917 #define $ac_tr_hdr 1
16921 echo "$ac_t""no" 1>&6
16925 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16927 echo "configure: warning: Joystick not supported by this system" 1>&2
16932 if test "$wxUSE_JOYSTICK" = "yes"; then
16933 cat >> confdefs.h
<<\EOF
16934 #define wxUSE_JOYSTICK 1
16937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16942 if test "$TOOLKIT" != "MSW"; then
16946 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16947 if test "$USE_DARWIN" = 1; then
16950 for ac_func
in dlopen
16952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16953 echo "configure:16954: checking for $ac_func" >&5
16954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16955 echo $ac_n "(cached) $ac_c" 1>&6
16957 cat > conftest.
$ac_ext <<EOF
16958 #line 16959 "configure"
16959 #include "confdefs.h"
16960 /* System header to define __stub macros and hopefully few prototypes,
16961 which can conflict with char $ac_func(); below. */
16962 #include <assert.h>
16963 /* Override any gcc2 internal prototype to avoid an error. */
16964 /* We use char because int might match the return type of a gcc2
16965 builtin and then its argument prototype would still apply. */
16970 /* The GNU C library defines this for functions which it implements
16971 to always fail with ENOSYS. Some functions are actually named
16972 something starting with __ and the normal name is an alias. */
16973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16981 if { (eval echo configure
:16982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16983 eval "ac_cv_func_$ac_func=yes"
16985 echo "configure: failed program was:" >&5
16986 cat conftest.
$ac_ext >&5
16988 eval "ac_cv_func_$ac_func=no"
16993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16994 echo "$ac_t""yes" 1>&6
16995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16996 cat >> confdefs.h
<<EOF
16997 #define $ac_tr_func 1
17000 cat >> confdefs.h
<<\EOF
17001 #define HAVE_DLOPEN 1
17007 echo "$ac_t""no" 1>&6
17008 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17009 echo "configure:17010: checking for dlopen in -ldl" >&5
17010 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17012 echo $ac_n "(cached) $ac_c" 1>&6
17014 ac_save_LIBS
="$LIBS"
17016 cat > conftest.
$ac_ext <<EOF
17017 #line 17018 "configure"
17018 #include "confdefs.h"
17019 /* Override any gcc2 internal prototype to avoid an error. */
17020 /* We use char because int might match the return type of a gcc2
17021 builtin and then its argument prototype would still apply. */
17028 if { (eval echo configure
:17029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17030 eval "ac_cv_lib_$ac_lib_var=yes"
17032 echo "configure: failed program was:" >&5
17033 cat conftest.
$ac_ext >&5
17035 eval "ac_cv_lib_$ac_lib_var=no"
17038 LIBS
="$ac_save_LIBS"
17041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17042 echo "$ac_t""yes" 1>&6
17044 cat >> confdefs.h
<<\EOF
17045 #define HAVE_DLOPEN 1
17052 echo "$ac_t""no" 1>&6
17054 for ac_func
in shl_load
17056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17057 echo "configure:17058: checking for $ac_func" >&5
17058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17059 echo $ac_n "(cached) $ac_c" 1>&6
17061 cat > conftest.
$ac_ext <<EOF
17062 #line 17063 "configure"
17063 #include "confdefs.h"
17064 /* System header to define __stub macros and hopefully few prototypes,
17065 which can conflict with char $ac_func(); below. */
17066 #include <assert.h>
17067 /* Override any gcc2 internal prototype to avoid an error. */
17068 /* We use char because int might match the return type of a gcc2
17069 builtin and then its argument prototype would still apply. */
17074 /* The GNU C library defines this for functions which it implements
17075 to always fail with ENOSYS. Some functions are actually named
17076 something starting with __ and the normal name is an alias. */
17077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17085 if { (eval echo configure
:17086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17087 eval "ac_cv_func_$ac_func=yes"
17089 echo "configure: failed program was:" >&5
17090 cat conftest.
$ac_ext >&5
17092 eval "ac_cv_func_$ac_func=no"
17097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17098 echo "$ac_t""yes" 1>&6
17099 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17100 cat >> confdefs.h
<<EOF
17101 #define $ac_tr_func 1
17104 cat >> confdefs.h
<<\EOF
17105 #define HAVE_SHL_LOAD 1
17111 echo "$ac_t""no" 1>&6
17112 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17113 echo "configure:17114: checking for dld in -lshl_load" >&5
17114 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17116 echo $ac_n "(cached) $ac_c" 1>&6
17118 ac_save_LIBS
="$LIBS"
17119 LIBS
="-lshl_load $LIBS"
17120 cat > conftest.
$ac_ext <<EOF
17121 #line 17122 "configure"
17122 #include "confdefs.h"
17123 /* Override any gcc2 internal prototype to avoid an error. */
17124 /* We use char because int might match the return type of a gcc2
17125 builtin and then its argument prototype would still apply. */
17132 if { (eval echo configure
:17133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17134 eval "ac_cv_lib_$ac_lib_var=yes"
17136 echo "configure: failed program was:" >&5
17137 cat conftest.
$ac_ext >&5
17139 eval "ac_cv_lib_$ac_lib_var=no"
17142 LIBS
="$ac_save_LIBS"
17145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17146 echo "$ac_t""yes" 1>&6
17152 echo "$ac_t""no" 1>&6
17167 if test "$HAVE_DL_FUNCS" = 1; then
17168 for ac_func
in dlerror
17170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17171 echo "configure:17172: checking for $ac_func" >&5
17172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17173 echo $ac_n "(cached) $ac_c" 1>&6
17175 cat > conftest.
$ac_ext <<EOF
17176 #line 17177 "configure"
17177 #include "confdefs.h"
17178 /* System header to define __stub macros and hopefully few prototypes,
17179 which can conflict with char $ac_func(); below. */
17180 #include <assert.h>
17181 /* Override any gcc2 internal prototype to avoid an error. */
17182 /* We use char because int might match the return type of a gcc2
17183 builtin and then its argument prototype would still apply. */
17188 /* The GNU C library defines this for functions which it implements
17189 to always fail with ENOSYS. Some functions are actually named
17190 something starting with __ and the normal name is an alias. */
17191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17199 if { (eval echo configure
:17200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17201 eval "ac_cv_func_$ac_func=yes"
17203 echo "configure: failed program was:" >&5
17204 cat conftest.
$ac_ext >&5
17206 eval "ac_cv_func_$ac_func=no"
17211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17212 echo "$ac_t""yes" 1>&6
17213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17214 cat >> confdefs.h
<<EOF
17215 #define $ac_tr_func 1
17217 cat >> confdefs.h
<<\EOF
17218 #define HAVE_DLERROR 1
17222 echo "$ac_t""no" 1>&6
17223 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17224 echo "configure:17225: checking for dlerror in -ldl" >&5
17225 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17226 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17227 echo $ac_n "(cached) $ac_c" 1>&6
17229 ac_save_LIBS
="$LIBS"
17231 cat > conftest.
$ac_ext <<EOF
17232 #line 17233 "configure"
17233 #include "confdefs.h"
17234 /* Override any gcc2 internal prototype to avoid an error. */
17235 /* We use char because int might match the return type of a gcc2
17236 builtin and then its argument prototype would still apply. */
17243 if { (eval echo configure
:17244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17245 eval "ac_cv_lib_$ac_lib_var=yes"
17247 echo "configure: failed program was:" >&5
17248 cat conftest.
$ac_ext >&5
17250 eval "ac_cv_lib_$ac_lib_var=no"
17253 LIBS
="$ac_save_LIBS"
17256 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17257 echo "$ac_t""yes" 1>&6
17258 cat >> confdefs.h
<<\EOF
17259 #define HAVE_DLERROR 1
17263 echo "$ac_t""no" 1>&6
17272 if test "$HAVE_DL_FUNCS" = 0; then
17273 if test "$HAVE_SHL_FUNCS" = 0; then
17274 if test "$USE_UNIX" = 1; then
17275 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17276 wxUSE_DYNLIB_CLASS
=no
17278 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17285 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17286 cat >> confdefs.h
<<\EOF
17287 #define wxUSE_DYNLIB_CLASS 1
17296 if test "$wxUSE_FONTMAP" = "yes" ; then
17297 cat >> confdefs.h
<<\EOF
17298 #define wxUSE_FONTMAP 1
17303 if test "$wxUSE_UNICODE" = "yes" ; then
17304 cat >> confdefs.h
<<\EOF
17305 #define wxUSE_UNICODE 1
17310 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17311 cat >> confdefs.h
<<\EOF
17312 #define wxUSE_EXPERIMENTAL_PRINTF 1
17318 if test "$wxUSE_SERIAL" = "yes" ; then
17319 cat >> confdefs.h
<<\EOF
17320 #define wxUSE_SERIAL 1
17327 if test "$wxUSE_ODBC" = "yes" ; then
17328 cat >> confdefs.h
<<\EOF
17329 #define wxUSE_ODBC 1
17332 WXODBCFLAG
="-D_IODBC_"
17333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17337 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17338 cat >> confdefs.h
<<\EOF
17339 #define wxUSE_POSTSCRIPT 1
17344 cat >> confdefs.h
<<\EOF
17345 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17349 cat >> confdefs.h
<<\EOF
17350 #define wxUSE_NORMALIZED_PS_FONTS 1
17355 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17356 cat >> confdefs.h
<<\EOF
17357 #define wxUSE_CONSTRAINTS 1
17360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17363 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17364 if test "$wxUSE_UNIVERSAL" = "yes"; then
17365 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17366 wxUSE_MDI_ARCHITECTURE
=no
17369 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17370 cat >> confdefs.h
<<\EOF
17371 #define wxUSE_MDI_ARCHITECTURE 1
17374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17378 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17379 cat >> confdefs.h
<<\EOF
17380 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17384 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17389 if test "$wxUSE_HELP" = "yes"; then
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_HELP 1
17394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17396 if test "$wxUSE_MSW" = 1; then
17397 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17398 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17399 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17400 echo "configure:17401: checking for htmlhelp.h" >&5
17401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17402 echo $ac_n "(cached) $ac_c" 1>&6
17404 cat > conftest.
$ac_ext <<EOF
17405 #line 17406 "configure"
17406 #include "confdefs.h"
17407 #include <htmlhelp.h>
17409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17410 { (eval echo configure
:17411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17412 if test -z "$ac_err"; then
17414 eval "ac_cv_header_$ac_safe=yes"
17417 echo "configure: failed program was:" >&5
17418 cat conftest.
$ac_ext >&5
17420 eval "ac_cv_header_$ac_safe=no"
17424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17425 echo "$ac_t""yes" 1>&6
17427 cat >> confdefs.h
<<\EOF
17428 #define wxUSE_MS_HTML_HELP 1
17433 echo "$ac_t""no" 1>&6
17435 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17436 wxUSE_MS_HTML_HELP
=no
17443 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17444 if test "$wxUSE_HTML" = "yes"; then
17445 cat >> confdefs.h
<<\EOF
17446 #define wxUSE_WXHTML_HELP 1
17450 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17451 wxUSE_WXHTML_HELP
=no
17456 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17457 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17458 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17460 cat >> confdefs.h
<<\EOF
17461 #define wxUSE_PRINTING_ARCHITECTURE 1
17465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17468 if test "$wxUSE_PROLOGIO" = "yes" ; then
17469 cat >> confdefs.h
<<\EOF
17470 #define wxUSE_PROLOGIO 1
17475 if test "$wxUSE_RESOURCES" = "yes" ; then
17476 cat >> confdefs.h
<<\EOF
17477 #define wxUSE_RESOURCES 1
17480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17483 if test "$wxUSE_X_RESOURCES" = "yes"; then
17484 cat >> confdefs.h
<<\EOF
17485 #define wxUSE_X_RESOURCES 1
17491 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17492 -o "$wxUSE_CLIPBOARD" = "yes" \
17493 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17494 for ac_hdr
in ole2.h
17496 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17498 echo "configure:17499: checking for $ac_hdr" >&5
17499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17500 echo $ac_n "(cached) $ac_c" 1>&6
17502 cat > conftest.
$ac_ext <<EOF
17503 #line 17504 "configure"
17504 #include "confdefs.h"
17507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17508 { (eval echo configure
:17509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17509 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17510 if test -z "$ac_err"; then
17512 eval "ac_cv_header_$ac_safe=yes"
17515 echo "configure: failed program was:" >&5
17516 cat conftest.
$ac_ext >&5
17518 eval "ac_cv_header_$ac_safe=no"
17522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17523 echo "$ac_t""yes" 1>&6
17524 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17525 cat >> confdefs.h
<<EOF
17526 #define $ac_tr_hdr 1
17530 echo "$ac_t""no" 1>&6
17535 if test "$ac_cv_header_ole2_h" = "yes" ; then
17536 if test "$GCC" = yes ; then
17537 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17538 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17539 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17540 cat >> confdefs.h
<<\EOF
17541 #define wxUSE_OLE 1
17547 cat >> confdefs.h
<<\EOF
17548 #define wxUSE_DATAOBJ 1
17552 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17555 wxUSE_DRAG_AND_DROP
=no
17559 if test "$wxUSE_METAFILE" = "yes"; then
17560 cat >> confdefs.h
<<\EOF
17561 #define wxUSE_METAFILE 1
17565 cat >> confdefs.h
<<\EOF
17566 #define wxUSE_ENH_METAFILE 1
17572 if test "$wxUSE_IPC" = "yes"; then
17573 if test "$wxUSE_SOCKETS" != "yes"; then
17574 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17577 cat >> confdefs.h
<<\EOF
17578 #define wxUSE_IPC 1
17583 if test "$wxUSE_CLIPBOARD" = "yes"; then
17584 cat >> confdefs.h
<<\EOF
17585 #define wxUSE_CLIPBOARD 1
17589 cat >> confdefs.h
<<\EOF
17590 #define wxUSE_DATAOBJ 1
17595 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17596 if test "$wxUSE_GTK" = 1; then
17597 if test "$WXGTK12" != 1; then
17598 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17599 wxUSE_DRAG_AND_DROP
=no
17603 if test "$wxUSE_MOTIF" = 1; then
17604 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17605 wxUSE_DRAG_AND_DROP
=no
17608 if test "$wxUSE_MAC" = 1; then
17609 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17610 wxUSE_DRAG_AND_DROP
=no
17613 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17614 cat >> confdefs.h
<<\EOF
17615 #define wxUSE_DRAG_AND_DROP 1
17618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17623 if test "$wxUSE_SPLINES" = "yes" ; then
17624 cat >> confdefs.h
<<\EOF
17625 #define wxUSE_SPLINES 1
17632 if test "$wxUSE_CONTROLS" = "yes"; then
17636 if test "$wxUSE_ACCEL" = "yes"; then
17637 cat >> confdefs.h
<<\EOF
17638 #define wxUSE_ACCEL 1
17644 if test "$wxUSE_BUTTON" = "yes"; then
17645 cat >> confdefs.h
<<\EOF
17646 #define wxUSE_BUTTON 1
17652 if test "$wxUSE_BMPBUTTON" = "yes"; then
17653 cat >> confdefs.h
<<\EOF
17654 #define wxUSE_BMPBUTTON 1
17660 if test "$wxUSE_CALCTRL" = "yes"; then
17661 cat >> confdefs.h
<<\EOF
17662 #define wxUSE_CALENDARCTRL 1
17666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17669 if test "$wxUSE_CARET" = "yes"; then
17670 cat >> confdefs.h
<<\EOF
17671 #define wxUSE_CARET 1
17675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17678 if test "$wxUSE_COMBOBOX" = "yes"; then
17679 cat >> confdefs.h
<<\EOF
17680 #define wxUSE_COMBOBOX 1
17686 if test "$wxUSE_CHOICE" = "yes"; then
17687 cat >> confdefs.h
<<\EOF
17688 #define wxUSE_CHOICE 1
17694 if test "$wxUSE_CHECKBOX" = "yes"; then
17695 cat >> confdefs.h
<<\EOF
17696 #define wxUSE_CHECKBOX 1
17702 if test "$wxUSE_CHECKLST" = "yes"; then
17703 cat >> confdefs.h
<<\EOF
17704 #define wxUSE_CHECKLISTBOX 1
17708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17711 if test "$wxUSE_GAUGE" = "yes"; then
17712 cat >> confdefs.h
<<\EOF
17713 #define wxUSE_GAUGE 1
17719 if test "$wxUSE_NEW_GRID" = "yes"; then
17721 cat >> confdefs.h
<<\EOF
17722 #define wxUSE_NEW_GRID 1
17726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17729 if test "$wxUSE_GRID" = "yes"; then
17730 cat >> confdefs.h
<<\EOF
17731 #define wxUSE_GRID 1
17735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17738 if test "$wxUSE_IMAGLIST" = "yes"; then
17739 cat >> confdefs.h
<<\EOF
17740 #define wxUSE_IMAGLIST 1
17745 if test "$wxUSE_LISTBOX" = "yes"; then
17746 cat >> confdefs.h
<<\EOF
17747 #define wxUSE_LISTBOX 1
17753 if test "$wxUSE_LISTCTRL" = "yes"; then
17754 if test "$wxUSE_IMAGLIST" = "yes"; then
17755 cat >> confdefs.h
<<\EOF
17756 #define wxUSE_LISTCTRL 1
17760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17762 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17766 if test "$wxUSE_NOTEBOOK" = "yes"; then
17767 cat >> confdefs.h
<<\EOF
17768 #define wxUSE_NOTEBOOK 1
17772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17775 if test "$wxUSE_PROPSHEET" = "yes"; then
17776 cat >> confdefs.h
<<\EOF
17777 #define wxUSE_PROPSHEET 1
17781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17784 if test "$wxUSE_RADIOBOX" = "yes"; then
17785 cat >> confdefs.h
<<\EOF
17786 #define wxUSE_RADIOBOX 1
17792 if test "$wxUSE_RADIOBTN" = "yes"; then
17793 cat >> confdefs.h
<<\EOF
17794 #define wxUSE_RADIOBTN 1
17800 if test "$wxUSE_SASH" = "yes"; then
17801 cat >> confdefs.h
<<\EOF
17802 #define wxUSE_SASH 1
17805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17808 if test "$wxUSE_SCROLLBAR" = "yes"; then
17809 cat >> confdefs.h
<<\EOF
17810 #define wxUSE_SCROLLBAR 1
17814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17817 if test "$wxUSE_SLIDER" = "yes"; then
17818 cat >> confdefs.h
<<\EOF
17819 #define wxUSE_SLIDER 1
17825 if test "$wxUSE_SPINBTN" = "yes"; then
17826 cat >> confdefs.h
<<\EOF
17827 #define wxUSE_SPINBTN 1
17833 if test "$wxUSE_SPINCTRL" = "yes"; then
17834 cat >> confdefs.h
<<\EOF
17835 #define wxUSE_SPINCTRL 1
17841 if test "$wxUSE_SPLITTER" = "yes"; then
17842 cat >> confdefs.h
<<\EOF
17843 #define wxUSE_SPLITTER 1
17846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17849 if test "$wxUSE_STATBMP" = "yes"; then
17850 cat >> confdefs.h
<<\EOF
17851 #define wxUSE_STATBMP 1
17857 if test "$wxUSE_STATBOX" = "yes"; then
17858 cat >> confdefs.h
<<\EOF
17859 #define wxUSE_STATBOX 1
17865 if test "$wxUSE_STATTEXT" = "yes"; then
17866 cat >> confdefs.h
<<\EOF
17867 #define wxUSE_STATTEXT 1
17873 if test "$wxUSE_STATLINE" = "yes"; then
17874 if test "$wxUSE_WINE" = 1 ; then
17875 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17877 cat >> confdefs.h
<<\EOF
17878 #define wxUSE_STATLINE 1
17885 if test "$wxUSE_STATUSBAR" = "yes"; then
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_STATUSBAR 1
17892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17895 if test "$wxUSE_TABDIALOG" = "yes"; then
17896 cat >> confdefs.h
<<\EOF
17897 #define wxUSE_TAB_DIALOG 1
17900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17903 if test "$wxUSE_TEXTCTRL" = "yes"; then
17904 cat >> confdefs.h
<<\EOF
17905 #define wxUSE_TEXTCTRL 1
17909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17912 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17913 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17914 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17918 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_TOGGLEBTN 1
17927 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17928 cat >> confdefs.h
<<\EOF
17929 #define wxUSE_TOOLBAR_SIMPLE 1
17932 wxUSE_TOOLBAR
="yes"
17936 if test "$wxUSE_TOOLBAR" = "yes"; then
17937 cat >> confdefs.h
<<\EOF
17938 #define wxUSE_TOOLBAR 1
17943 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17944 wxUSE_TOOLBAR_NATIVE
="yes"
17947 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17948 cat >> confdefs.h
<<\EOF
17949 #define wxUSE_TOOLBAR_NATIVE 1
17955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17958 if test "$wxUSE_TOOLTIPS" = "yes"; then
17959 if test "$wxUSE_MOTIF" = 1; then
17960 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17962 if test "$wxUSE_WINE" = 1; then
17963 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17965 cat >> confdefs.h
<<\EOF
17966 #define wxUSE_TOOLTIPS 1
17973 if test "$wxUSE_TREECTRL" = "yes"; then
17974 if test "$wxUSE_IMAGLIST" = "yes"; then
17975 cat >> confdefs.h
<<\EOF
17976 #define wxUSE_TREECTRL 1
17980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17982 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17986 if test "$wxUSE_POPUPWIN" = "yes"; then
17987 if test "$wxUSE_MAC" = 1; then
17988 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_POPUPWIN 1
17998 if test "$USES_CONTROLS" = 1; then
17999 cat >> confdefs.h
<<\EOF
18000 #define wxUSE_CONTROLS 1
18006 if test "$wxUSE_TREELAYOUT" = "yes"; then
18007 cat >> confdefs.h
<<\EOF
18008 #define wxUSE_TREELAYOUT 1
18011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18014 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18015 cat >> confdefs.h
<<\EOF
18016 #define wxUSE_DRAGIMAGE 1
18019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18022 if test "$wxUSE_MENUS" = "yes"; then
18023 cat >> confdefs.h
<<\EOF
18024 #define wxUSE_MENUS 1
18027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18030 if test "$wxUSE_METAFILE" = "yes"; then
18031 cat >> confdefs.h
<<\EOF
18032 #define wxUSE_METAFILE 1
18037 if test "$wxUSE_MIMETYPE" = "yes"; then
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_MIMETYPE 1
18044 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18045 cat >> confdefs.h
<<\EOF
18046 #define wxUSE_SYSTEM_OPTIONS 1
18051 if test "$wxUSE_MINIFRAME" = "yes"; then
18052 cat >> confdefs.h
<<\EOF
18053 #define wxUSE_MINIFRAME 1
18056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18059 if test "$wxUSE_HTML" = "yes"; then
18060 cat >> confdefs.h
<<\EOF
18061 #define wxUSE_HTML 1
18064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18067 if test "$wxUSE_VALIDATORS" = "yes"; then
18068 cat >> confdefs.h
<<\EOF
18069 #define wxUSE_VALIDATORS 1
18072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18075 if test "$wxUSE_PALETTE" = "yes" ; then
18076 cat >> confdefs.h
<<\EOF
18077 #define wxUSE_PALETTE 1
18082 if test "$wxUSE_IMAGE" = "yes" ; then
18083 cat >> confdefs.h
<<\EOF
18084 #define wxUSE_IMAGE 1
18089 if test "$wxUSE_GIF" = "yes" ; then
18090 cat >> confdefs.h
<<\EOF
18091 #define wxUSE_GIF 1
18096 if test "$wxUSE_PCX" = "yes" ; then
18097 cat >> confdefs.h
<<\EOF
18098 #define wxUSE_PCX 1
18103 if test "$wxUSE_PNM" = "yes" ; then
18104 cat >> confdefs.h
<<\EOF
18105 #define wxUSE_PNM 1
18110 if test "$wxUSE_XPM" = "yes" ; then
18111 cat >> confdefs.h
<<\EOF
18112 #define wxUSE_XPM 1
18118 if test "$wxUSE_CHOICEDLG" = "yes"; then
18119 cat >> confdefs.h
<<\EOF
18120 #define wxUSE_CHOICEDLG 1
18125 if test "$wxUSE_COLOURDLG" = "yes"; then
18126 cat >> confdefs.h
<<\EOF
18127 #define wxUSE_COLOURDLG 1
18132 if test "$wxUSE_FILEDLG" = "yes"; then
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_FILEDLG 1
18139 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18140 cat >> confdefs.h
<<\EOF
18141 #define wxUSE_FINDREPLDLG 1
18146 if test "$wxUSE_FONTDLG" = "yes"; then
18147 cat >> confdefs.h
<<\EOF
18148 #define wxUSE_FONTDLG 1
18153 if test "$wxUSE_DIRDLG" = "yes"; then
18154 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18155 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18157 if test "$wxUSE_TREECTRL" != "yes"; then
18158 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18160 cat >> confdefs.h
<<\EOF
18161 #define wxUSE_DIRDLG 1
18168 if test "$wxUSE_MSGDLG" = "yes"; then
18169 cat >> confdefs.h
<<\EOF
18170 #define wxUSE_MSGDLG 1
18175 if test "$wxUSE_NUMBERDLG" = "yes"; then
18176 cat >> confdefs.h
<<\EOF
18177 #define wxUSE_NUMBERDLG 1
18182 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18183 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18184 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18186 cat >> confdefs.h
<<\EOF
18187 #define wxUSE_PROGRESSDLG 1
18193 if test "$wxUSE_SPLASH" = "yes"; then
18194 cat >> confdefs.h
<<\EOF
18195 #define wxUSE_SPLASH 1
18200 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18201 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18202 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18204 cat >> confdefs.h
<<\EOF
18205 #define wxUSE_STARTUP_TIPS 1
18211 if test "$wxUSE_TEXTDLG" = "yes"; then
18212 cat >> confdefs.h
<<\EOF
18213 #define wxUSE_TEXTDLG 1
18218 if test "$wxUSE_WIZARDDLG" = "yes"; then
18219 cat >> confdefs.h
<<\EOF
18220 #define wxUSE_WIZARDDLG 1
18223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18227 if test "$cross_compiling" = "yes"; then
18230 OSINFO
=`uname -s -r -m`
18231 OSINFO
="\"$OSINFO\""
18234 cat >> confdefs.h
<<EOF
18235 #define WXWIN_OS_DESCRIPTION $OSINFO
18240 if test "x$prefix" != "xNONE"; then
18243 wxPREFIX
=$ac_default_prefix
18246 cat >> confdefs.h
<<EOF
18247 #define wxINSTALL_PREFIX "$wxPREFIX"
18252 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18254 EXTRA_LIBS
="$EXTRA_LIBS $LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18256 if test "$wxUSE_MAC" = 1 ; then
18257 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18260 if test "$wxUSE_GUI" = "yes"; then
18261 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18265 drawing dynamic erase event exec font image \
18266 minimal richedit rotate widgets"
18268 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18270 SAMPLES_SUBDIRS
="console"
18273 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18275 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18276 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18277 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18279 if test "$wxUSE_GTK" = 1; then
18280 WXCONFIG_INCLUDE
=""
18282 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18285 if test "$GXX" = yes ; then
18286 CXXWARNINGS
="-Wall"
18288 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18290 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18291 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18293 LDFLAGS
="$LDFLAGS $PROFILE"
18295 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18382 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18383 echo "configure:18384: checking whether ${MAKE-make} sets \${MAKE}" >&5
18384 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18385 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18386 echo $ac_n "(cached) $ac_c" 1>&6
18388 cat > conftestmake
<<\EOF
18390 @
echo 'ac_maketemp="${MAKE}"'
18392 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18393 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18394 if test -n "$ac_maketemp"; then
18395 eval ac_cv_prog_make_
${ac_make}_set
=yes
18397 eval ac_cv_prog_make_
${ac_make}_set
=no
18401 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18402 echo "$ac_t""yes" 1>&6
18405 echo "$ac_t""no" 1>&6
18406 SET_MAKE
="MAKE=${MAKE-make}"
18410 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18411 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18416 if test "$wxUSE_GUI" = "yes"; then
18417 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18418 wx_cv_path_ifs
=$PATH_IFS
18419 wx_cv_program_ext
=$PROGRAM_EXT
18420 wx_cv_target_library
=$WX_TARGET_LIBRARY
18421 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18422 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18423 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18424 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18425 subdirs
="demos samples utils contrib"
18430 cat > confcache
<<\EOF
18431 # This file is a shell script that caches the results of configure
18432 # tests run on this system so they can be shared between configure
18433 # scripts and configure runs. It is not useful on other systems.
18434 # If it contains results you don't want to keep, you may remove or edit it.
18436 # By default, configure uses ./config.cache as the cache file,
18437 # creating it if it does not exist already. You can give configure
18438 # the --cache-file=FILE option to use a different cache file; that is
18439 # what configure does when it calls configure scripts in
18440 # subdirectories, so they share the cache.
18441 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18442 # config.status only pays attention to the cache file if you give it the
18443 # --recheck option to rerun configure.
18446 # The following way of writing the cache mishandles newlines in values,
18447 # but we know of no workaround that is simple, portable, and efficient.
18448 # So, don't put newlines in cache variables' values.
18449 # Ultrix sh set writes to stderr and can't be redirected directly,
18450 # and sets the high bit in the cache file unless we assign to the vars.
18452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18454 # `set' does not quote correctly, so add quotes (double-quote substitution
18455 # turns \\\\ into \\, and sed turns \\ into \).
18457 -e "s/'/'\\\\''/g" \
18458 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18461 # `set' quotes correctly as required by POSIX, so do not add quotes.
18462 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18465 if cmp -s $cache_file confcache
; then
18468 if test -w $cache_file; then
18469 echo "updating cache $cache_file"
18470 cat confcache
> $cache_file
18472 echo "not updating unwritable cache $cache_file"
18477 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18479 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18480 # Let make expand exec_prefix.
18481 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18483 # Any assignment to VPATH causes Sun make to only execute
18484 # the first set of double-colon rules, so remove it if not needed.
18485 # If there is a colon in the path, we need to keep it.
18486 if test "x$srcdir" = x.
; then
18487 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18490 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18492 DEFS
=-DHAVE_CONFIG_H
18494 # Without the "./", some shells look in PATH for config.status.
18495 : ${CONFIG_STATUS=./config.status}
18497 echo creating
$CONFIG_STATUS
18498 rm -f $CONFIG_STATUS
18499 cat > $CONFIG_STATUS <<EOF
18501 # Generated automatically by configure.
18502 # Run this file to recreate the current configuration.
18503 # This directory was configured as follows,
18504 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18506 # $0 $ac_configure_args
18508 # Compiler output produced by configure, useful for debugging
18509 # configure, is in ./config.log if it exists.
18511 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18514 case "\$ac_option" in
18515 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18516 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18517 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18518 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18519 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18521 -help | --help | --hel | --he | --h)
18522 echo "\$ac_cs_usage"; exit 0 ;;
18523 *) echo "\$ac_cs_usage"; exit 1 ;;
18527 ac_given_srcdir=$srcdir
18528 ac_given_INSTALL="$INSTALL"
18530 trap 'rm -fr `echo "
18536 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18538 cat >> $CONFIG_STATUS <<EOF
18540 # Protect against being on the right side of a sed subst in config.status.
18541 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18542 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18546 s%@CFLAGS@%$CFLAGS%g
18547 s%@CPPFLAGS@%$CPPFLAGS%g
18548 s%@CXXFLAGS@%$CXXFLAGS%g
18549 s%@FFLAGS@%$FFLAGS%g
18551 s%@LDFLAGS@%$LDFLAGS%g
18553 s%@exec_prefix@%$exec_prefix%g
18554 s%@prefix@%$prefix%g
18555 s%@program_transform_name@%$program_transform_name%g
18556 s%@bindir@%$bindir%g
18557 s%@sbindir@%$sbindir%g
18558 s%@libexecdir@%$libexecdir%g
18559 s%@datadir@%$datadir%g
18560 s%@sysconfdir@%$sysconfdir%g
18561 s%@sharedstatedir@%$sharedstatedir%g
18562 s%@localstatedir@%$localstatedir%g
18563 s%@libdir@%$libdir%g
18564 s%@includedir@%$includedir%g
18565 s%@oldincludedir@%$oldincludedir%g
18566 s%@infodir@%$infodir%g
18567 s%@mandir@%$mandir%g
18569 s%@host_alias@%$host_alias%g
18570 s%@host_cpu@%$host_cpu%g
18571 s%@host_vendor@%$host_vendor%g
18572 s%@host_os@%$host_os%g
18573 s%@target@%$target%g
18574 s%@target_alias@%$target_alias%g
18575 s%@target_cpu@%$target_cpu%g
18576 s%@target_vendor@%$target_vendor%g
18577 s%@target_os@%$target_os%g
18579 s%@build_alias@%$build_alias%g
18580 s%@build_cpu@%$build_cpu%g
18581 s%@build_vendor@%$build_vendor%g
18582 s%@build_os@%$build_os%g
18586 s%@RANLIB@%$RANLIB%g
18588 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18589 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18590 s%@INSTALL_DATA@%$INSTALL_DATA%g
18594 s%@LEXLIB@%$LEXLIB%g
18596 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18597 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18598 s%@GTK_LIBS@%$GTK_LIBS%g
18599 s%@GTK_CONFIG@%$GTK_CONFIG%g
18600 s%@X_CFLAGS@%$X_CFLAGS%g
18601 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18602 s%@X_LIBS@%$X_LIBS%g
18603 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18604 s%@RESCOMP@%$RESCOMP%g
18606 s%@CXXCPP@%$CXXCPP%g
18607 s%@LEX_STEM@%$LEX_STEM%g
18608 s%@PATH_IFS@%$PATH_IFS%g
18609 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18610 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18611 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18612 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18613 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18614 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18615 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18616 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18617 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18618 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18619 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18620 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18621 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18622 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18623 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18624 s%@WX_ALL@%$WX_ALL%g
18625 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18626 s%@SHARED_LD@%$SHARED_LD%g
18627 s%@PIC_FLAG@%$PIC_FLAG%g
18628 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18629 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18630 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18631 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18632 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18633 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18634 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18635 s%@USE_GUI@%$USE_GUI%g
18636 s%@AFMINSTALL@%$AFMINSTALL%g
18637 s%@TOOLKIT@%$TOOLKIT%g
18638 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18639 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18640 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18641 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18642 s%@cross_compiling@%$cross_compiling%g
18643 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18644 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18645 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18646 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18647 s%@GUIDIST@%$GUIDIST%g
18648 s%@PORT_FILES@%$PORT_FILES%g
18649 s%@DISTDIR@%$DISTDIR%g
18650 s%@RPM_SPEC@%$RPM_SPEC%g
18651 s%@RPM_FILES@%$RPM_FILES%g
18652 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18653 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18654 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18655 s%@EXTRADEFS@%$EXTRADEFS%g
18656 s%@LD_LIBS@%$LD_LIBS%g
18657 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18658 s%@RESFLAGS@%$RESFLAGS%g
18659 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18660 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18661 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18662 s%@LIBWXMACRES@%$LIBWXMACRES%g
18663 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18664 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18665 s%@DLLTOOL@%$DLLTOOL%g
18669 s%@MAKEINFO@%$MAKEINFO%g
18670 s%@SET_MAKE@%$SET_MAKE%g
18671 s%@subdirs@%$subdirs%g
18676 cat >> $CONFIG_STATUS <<\EOF
18678 # Split the substitutions into bite-sized pieces for seds with
18679 # small command number limits, like on Digital OSF/1 and HP-UX.
18680 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18681 ac_file
=1 # Number of current file.
18682 ac_beg
=1 # First line for current file.
18683 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18686 while $ac_more_lines; do
18687 if test $ac_beg -gt 1; then
18688 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18690 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18692 if test ! -s conftest.s
$ac_file; then
18693 ac_more_lines
=false
18694 rm -f conftest.s
$ac_file
18696 if test -z "$ac_sed_cmds"; then
18697 ac_sed_cmds
="sed -f conftest.s$ac_file"
18699 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18701 ac_file
=`expr $ac_file + 1`
18703 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18706 if test -z "$ac_sed_cmds"; then
18711 cat >> $CONFIG_STATUS <<EOF
18713 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18720 cat >> $CONFIG_STATUS <<\EOF
18721 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18722 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18724 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18725 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18726 *) ac_file_in
="${ac_file}.in" ;;
18729 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18731 # Remove last slash and all that follows it. Not all systems have dirname.
18732 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18733 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18734 # The file is in a subdirectory.
18735 test ! -d "$ac_dir" && mkdir "$ac_dir"
18736 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18737 # A "../" for each directory in $ac_dir_suffix.
18738 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18740 ac_dir_suffix
= ac_dots
=
18743 case "$ac_given_srcdir" in
18745 if test -z "$ac_dots"; then top_srcdir
=.
18746 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18747 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18748 *) # Relative path.
18749 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18750 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18753 case "$ac_given_INSTALL" in
18754 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18755 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18758 echo creating
"$ac_file"
18760 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18762 *Makefile
*) ac_comsub
="1i\\
18763 # $configure_input" ;;
18767 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18769 s%@configure_input@%$configure_input%g
18770 s%@srcdir@%$srcdir%g
18771 s%@top_srcdir@%$top_srcdir%g
18772 s%@INSTALL@%$INSTALL%g
18773 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18777 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18778 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18780 # ac_d sets the value in "#define NAME VALUE" lines.
18781 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18782 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18785 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18786 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18787 ac_uB
='\([ ]\)%\1#\2define\3'
18790 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18791 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18792 ac_eB
='$%\1#\2define\3'
18796 if test "${CONFIG_HEADERS+set}" != set; then
18798 cat >> $CONFIG_STATUS <<EOF
18799 CONFIG_HEADERS="setup.h:setup.h.in"
18801 cat >> $CONFIG_STATUS <<\EOF
18803 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18806 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18807 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18808 *) ac_file_in
="${ac_file}.in" ;;
18811 echo creating
$ac_file
18813 rm -f conftest.frag conftest.
in conftest.out
18814 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18815 cat $ac_file_inputs > conftest.
in
18819 # Transform confdefs.h into a sed script conftest.vals that substitutes
18820 # the proper values into config.h.in to produce config.h. And first:
18821 # Protect against being on the right side of a sed subst in config.status.
18822 # Protect against being in an unquoted here document in config.status.
18823 rm -f conftest.vals
18824 cat > conftest.hdr
<<\EOF
18827 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18831 sed -n -f conftest.hdr confdefs.h > conftest.vals
18834 # This sed command replaces #undef with comments. This is necessary, for
18835 # example, in the case of _POSIX_SOURCE, which is predefined and required
18836 # on some systems where configure will not decide to define it.
18837 cat >> conftest.vals <<\EOF
18838 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18841 # Break up conftest.vals because some shells have a limit on
18842 # the size of here documents, and old seds have small limits too.
18844 rm -f conftest.tail
18847 ac_lines=`grep -c . conftest.vals
`
18848 # grep -c gives empty output for an empty file on some AIX systems.
18849 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18850 # Write a limited-size here document to conftest.frag.
18851 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18852 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18854 sed -f conftest.frag conftest.in > conftest.out
18856 mv conftest.out conftest.in
18857 ' >> $CONFIG_STATUS
18858 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18859 rm -f conftest.vals
18860 mv conftest.tail conftest.vals
18862 rm -f conftest.vals
18864 cat >> $CONFIG_STATUS <<\EOF
18865 rm -f conftest.frag conftest.h
18866 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18867 cat conftest.in >> conftest.h
18869 if cmp -s $ac_file conftest.h 2>/dev/null; then
18870 echo "$ac_file is unchanged"
18873 # Remove last slash and all that follows it. Not all systems have dirname.
18874 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18875 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18876 # The file is in a subdirectory.
18877 test ! -d "$ac_dir" && mkdir "$ac_dir"
18880 mv conftest.h $ac_file
18885 cat >> $CONFIG_STATUS <<EOF
18887 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18892 cat >> $CONFIG_STATUS <<\EOF
18894 if test ! -h wx-config; then
18896 mv wx-config wx${TOOLCHAIN_NAME}-config
18897 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18900 if test ! -d lib; then
18903 if test ! -d lib/wx; then
18906 if test ! -d lib/wx/include; then
18907 mkdir lib/wx/include
18909 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18910 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18912 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18913 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18915 if test -f setup.h; then
18916 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18921 chmod +x $CONFIG_STATUS
18922 rm -fr confdefs* $ac_clean_files
18923 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18925 if test "$no_recursion" != yes; then
18927 # Remove --cache-file and --srcdir arguments so they do not pile up.
18928 ac_sub_configure_args=
18930 for ac_arg in $ac_configure_args; do
18931 if test -n "$ac_prev"; then
18936 -cache-file | --cache-file | --cache-fil | --cache-fi \
18937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18938 ac_prev=cache_file ;;
18939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18942 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18944 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18946 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18950 for ac_config_dir in demos samples utils contrib; do
18952 # Do not complain, so a configure script can configure whichever
18953 # parts of a large source tree are present.
18954 if test ! -d $srcdir/$ac_config_dir; then
18958 echo configuring in $ac_config_dir
18963 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18965 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18973 # A "../" for each directory in /$ac_config_dir.
18974 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18977 .) # No --srcdir option. We are building in place.
18978 ac_sub_srcdir=$srcdir ;;
18979 /*) # Absolute path.
18980 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18981 *) # Relative path.
18982 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18985 # Check for guested configure; otherwise get Cygnus style configure.
18986 if test -f $ac_sub_srcdir/configure; then
18987 ac_sub_configure=$ac_sub_srcdir/configure
18988 elif test -f $ac_sub_srcdir/configure.in; then
18989 ac_sub_configure=$ac_configure
18991 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18995 # The recursion is here.
18996 if test -n "$ac_sub_configure"; then
18998 # Make the cache file name correct relative to the subdirectory.
18999 case "$cache_file" in
19000 /*) ac_sub_cache_file=$cache_file ;;
19001 *) # Relative path.
19002 ac_sub_cache_file="$ac_dots$cache_file" ;;
19004 case "$ac_given_INSTALL" in
19005 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19006 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19009 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19010 # The eval makes quoting arguments work.
19011 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19014 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }