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-textbuf use wxTextBuffer class"
173 --enable-textfile use wxTextFile class"
175 --enable-fontmap use font encodings conversion classes"
177 --enable-unicode compile wxString with Unicode support"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use all common dialogs"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-splash use wxSplashScreen"
337 --enable-textdlg use wxTextDialog"
339 --enable-tipdlg use startup tips"
341 --enable-progressdlg use wxProgressDialog"
343 --enable-wizarddlg use wxWizard"
345 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
347 --enable-miniframe use wxMiniFrame class"
349 --enable-tooltips use wxToolTip class"
351 --enable-splines use spline drawing code"
353 --enable-validators use wxValidator and derived classes"
355 --enable-busyinfo use wxBusyInfo"
357 --enable-joystick use wxJoystick (Linux only)"
359 --enable-metafiles use wxMetaFile (Windows only)"
361 --enable-dragimage use wxDragImage"
363 --enable-palette use wxPalette class"
365 --enable-image use wxImage class"
367 --enable-gif use gif images (GIF file format)"
369 --enable-pcx use pcx images (PCX file format)"
371 --enable-pnm use pnm images (PNM file format)"
373 --enable-xpm use xpm images (XPM file format)"
375 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
377 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
379 --disable-gtktest Do not try to compile and run a test GTK program"
381 --with-x use the X Window System"
383 # Initialize some variables set by options.
384 # The variables have the same names as the options, with
385 # dashes changed to underlines.
387 cache_file
=.
/config.cache
396 program_transform_name
=s
,x
,x
,
404 bindir
='${exec_prefix}/bin'
405 sbindir
='${exec_prefix}/sbin'
406 libexecdir
='${exec_prefix}/libexec'
407 datadir
='${prefix}/share'
408 sysconfdir
='${prefix}/etc'
409 sharedstatedir
='${prefix}/com'
410 localstatedir
='${prefix}/var'
411 libdir
='${exec_prefix}/lib'
412 includedir
='${prefix}/include'
413 oldincludedir
='/usr/include'
414 infodir
='${prefix}/info'
415 mandir
='${prefix}/man'
417 # Initialize some other variables.
420 SHELL
=${CONFIG_SHELL-/bin/sh}
421 # Maximum number of lines to put in a shell here document.
428 # If the previous option needs an argument, assign it.
429 if test -n "$ac_prev"; then
430 eval "$ac_prev=\$ac_option"
436 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
440 # Accept the important Cygnus configure options, so we can diagnose typos.
444 -bindir | --bindir | --bindi | --bind | --bin | --bi)
446 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
447 bindir
="$ac_optarg" ;;
449 -build | --build | --buil | --bui | --bu)
451 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
452 build
="$ac_optarg" ;;
454 -cache-file | --cache-file | --cache-fil | --cache-fi \
455 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
456 ac_prev
=cache_file
;;
457 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
458 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
459 cache_file
="$ac_optarg" ;;
461 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
463 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
465 datadir
="$ac_optarg" ;;
467 -disable-* | --disable-*)
468 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
469 # Reject names that are not valid shell variable names.
470 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
471 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
473 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
474 eval "enable_${ac_feature}=no" ;;
476 -enable-* | --enable-*)
477 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
478 # Reject names that are not valid shell variable names.
479 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
480 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
482 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
487 eval "enable_${ac_feature}='$ac_optarg'" ;;
489 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
490 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
491 | --exec | --exe | --ex)
492 ac_prev
=exec_prefix
;;
493 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
494 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
495 | --exec=* | --exe=* | --ex=*)
496 exec_prefix
="$ac_optarg" ;;
498 -gas | --gas | --ga | --g)
499 # Obsolete; use --with-gas.
502 -help | --help | --hel | --he)
503 # Omit some internal or obsolete options to make the list less imposing.
504 # This message is too long to be a string in the A/UX 3.1 sh.
506 Usage: configure [options] [host]
507 Options: [defaults in brackets after descriptions]
509 --cache-file=FILE cache test results in FILE
510 --help print this message
511 --no-create do not create output files
512 --quiet, --silent do not print \`checking...' messages
513 --version print the version of autoconf that created configure
514 Directory and file names:
515 --prefix=PREFIX install architecture-independent files in PREFIX
517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
519 --bindir=DIR user executables in DIR [EPREFIX/bin]
520 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
521 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
522 --datadir=DIR read-only architecture-independent data in DIR
524 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
525 --sharedstatedir=DIR modifiable architecture-independent data in DIR
527 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
528 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
529 --includedir=DIR C header files in DIR [PREFIX/include]
530 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
531 --infodir=DIR info documentation in DIR [PREFIX/info]
532 --mandir=DIR man documentation in DIR [PREFIX/man]
533 --srcdir=DIR find the sources in DIR [configure dir or ..]
534 --program-prefix=PREFIX prepend PREFIX to installed program names
535 --program-suffix=SUFFIX append SUFFIX to installed program names
536 --program-transform-name=PROGRAM
537 run sed PROGRAM on installed program names
541 --build=BUILD configure for building on BUILD [BUILD=HOST]
542 --host=HOST configure for HOST [guessed]
543 --target=TARGET configure for TARGET [TARGET=HOST]
544 Features and packages:
545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
549 --x-includes=DIR X include files are in DIR
550 --x-libraries=DIR X library files are in DIR
552 if test -n "$ac_help"; then
553 echo "--enable and --with options recognized:$ac_help"
557 -host | --host | --hos | --ho)
559 -host=* | --host=* | --hos=* | --ho=*)
562 -includedir | --includedir | --includedi | --included | --include \
563 | --includ | --inclu | --incl | --inc)
564 ac_prev
=includedir
;;
565 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
566 | --includ=* | --inclu=* | --incl=* | --inc=*)
567 includedir
="$ac_optarg" ;;
569 -infodir | --infodir | --infodi | --infod | --info | --inf)
571 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
572 infodir
="$ac_optarg" ;;
574 -libdir | --libdir | --libdi | --libd)
576 -libdir=* | --libdir=* | --libdi=* | --libd=*)
577 libdir
="$ac_optarg" ;;
579 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
580 | --libexe | --libex | --libe)
581 ac_prev
=libexecdir
;;
582 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
583 | --libexe=* | --libex=* | --libe=*)
584 libexecdir
="$ac_optarg" ;;
586 -localstatedir | --localstatedir | --localstatedi | --localstated \
587 | --localstate | --localstat | --localsta | --localst \
588 | --locals | --local | --loca | --loc | --lo)
589 ac_prev
=localstatedir
;;
590 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
591 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
592 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
593 localstatedir
="$ac_optarg" ;;
595 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
597 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
598 mandir
="$ac_optarg" ;;
601 # Obsolete; use --without-fp.
604 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
608 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
609 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
612 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
613 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
614 | --oldin | --oldi | --old | --ol | --o)
615 ac_prev
=oldincludedir
;;
616 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
617 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
618 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
619 oldincludedir
="$ac_optarg" ;;
621 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
623 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
624 prefix
="$ac_optarg" ;;
626 -program-prefix | --program-prefix | --program-prefi | --program-pref \
627 | --program-pre | --program-pr | --program-p)
628 ac_prev
=program_prefix
;;
629 -program-prefix=* | --program-prefix=* | --program-prefi=* \
630 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
631 program_prefix
="$ac_optarg" ;;
633 -program-suffix | --program-suffix | --program-suffi | --program-suff \
634 | --program-suf | --program-su | --program-s)
635 ac_prev
=program_suffix
;;
636 -program-suffix=* | --program-suffix=* | --program-suffi=* \
637 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
638 program_suffix
="$ac_optarg" ;;
640 -program-transform-name | --program-transform-name \
641 | --program-transform-nam | --program-transform-na \
642 | --program-transform-n | --program-transform- \
643 | --program-transform | --program-transfor \
644 | --program-transfo | --program-transf \
645 | --program-trans | --program-tran \
646 | --progr-tra | --program-tr | --program-t)
647 ac_prev
=program_transform_name
;;
648 -program-transform-name=* | --program-transform-name=* \
649 | --program-transform-nam=* | --program-transform-na=* \
650 | --program-transform-n=* | --program-transform-=* \
651 | --program-transform=* | --program-transfor=* \
652 | --program-transfo=* | --program-transf=* \
653 | --program-trans=* | --program-tran=* \
654 | --progr-tra=* | --program-tr=* | --program-t=*)
655 program_transform_name
="$ac_optarg" ;;
657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
658 | -silent | --silent | --silen | --sile | --sil)
661 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
663 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
665 sbindir
="$ac_optarg" ;;
667 -sharedstatedir | --sharedstatedir | --sharedstatedi \
668 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
669 | --sharedst | --shareds | --shared | --share | --shar \
671 ac_prev
=sharedstatedir
;;
672 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
673 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
674 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
676 sharedstatedir
="$ac_optarg" ;;
678 -site | --site | --sit)
680 -site=* | --site=* | --sit=*)
683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
686 srcdir
="$ac_optarg" ;;
688 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
689 | --syscon | --sysco | --sysc | --sys | --sy)
690 ac_prev
=sysconfdir
;;
691 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
692 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
693 sysconfdir
="$ac_optarg" ;;
695 -target | --target | --targe | --targ | --tar | --ta | --t)
697 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
698 target
="$ac_optarg" ;;
700 -v | -verbose | --verbose | --verbos | --verbo | --verb)
703 -version | --version | --versio | --versi | --vers)
704 echo "configure generated by autoconf version 2.13"
708 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
709 # Reject names that are not valid shell variable names.
710 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
711 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
713 ac_package
=`echo $ac_package| sed 's/-/_/g'`
718 eval "with_${ac_package}='$ac_optarg'" ;;
720 -without-* | --without-*)
721 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
722 # Reject names that are not valid shell variable names.
723 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
724 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
726 ac_package
=`echo $ac_package| sed 's/-/_/g'`
727 eval "with_${ac_package}=no" ;;
730 # Obsolete; use --with-x.
733 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
734 | --x-incl | --x-inc | --x-in | --x-i)
735 ac_prev
=x_includes
;;
736 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
737 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
738 x_includes
="$ac_optarg" ;;
740 -x-libraries | --x-libraries | --x-librarie | --x-librari \
741 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
742 ac_prev
=x_libraries
;;
743 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
744 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
745 x_libraries
="$ac_optarg" ;;
747 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
751 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
752 echo "configure: warning: $ac_option: invalid host type" 1>&2
754 if test "x$nonopt" != xNONE
; then
755 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
763 if test -n "$ac_prev"; then
764 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
767 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
769 # File descriptor usage:
772 # 2 errors and warnings
773 # 3 some systems may open it to /dev/tty
774 # 4 used on the Kubota Titan
775 # 6 checking for... messages and results
776 # 5 compiler messages saved in config.log
777 if test "$silent" = yes; then
785 This file contains any messages produced by compilers while
786 running configure, to aid debugging if configure makes a mistake.
789 # Strip out --no-create and --no-recursion so they do not pile up.
790 # Also quote any args containing shell metacharacters.
795 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
796 | --no-cr | --no-c) ;;
797 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
798 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
799 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
800 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
801 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
806 # Only set these to C if already set. These must not be set unconditionally
807 # because not all systems understand e.g. LANG=C (notably SCO).
808 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
809 # Non-C LC_CTYPE values break the ctype check.
810 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
811 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
812 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
813 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
816 rm -rf conftest
* confdefs.h
817 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
820 # A filename unique to this package, relative to the directory that
821 # configure is in, which we can look for to find out if srcdir is correct.
822 ac_unique_file
=wx
-config.
in
824 # Find the source files, if location was not specified.
825 if test -z "$srcdir"; then
826 ac_srcdir_defaulted
=yes
827 # Try the directory containing this script, then its parent.
829 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
830 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
832 if test ! -r $srcdir/$ac_unique_file; then
836 ac_srcdir_defaulted
=no
838 if test ! -r $srcdir/$ac_unique_file; then
839 if test "$ac_srcdir_defaulted" = yes; then
840 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
842 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
845 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
847 # Prefer explicitly selected file to automatically selected ones.
848 if test -z "$CONFIG_SITE"; then
849 if test "x$prefix" != xNONE
; then
850 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
852 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
855 for ac_site_file
in $CONFIG_SITE; do
856 if test -r "$ac_site_file"; then
857 echo "loading site script $ac_site_file"
862 if test -r "$cache_file"; then
863 echo "loading cache $cache_file"
866 echo "creating cache $cache_file"
871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
872 ac_cpp
='$CPP $CPPFLAGS'
873 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
874 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
875 cross_compiling
=$ac_cv_prog_cc_cross
879 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
880 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
881 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
888 ac_n
= ac_c
='\c' ac_t
=
894 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
895 if test -f $ac_dir/install-sh; then
897 ac_install_sh
="$ac_aux_dir/install-sh -c"
899 elif test -f $ac_dir/install.sh
; then
901 ac_install_sh
="$ac_aux_dir/install.sh -c"
905 if test -z "$ac_aux_dir"; then
906 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
908 ac_config_guess
=$ac_aux_dir/config.guess
909 ac_config_sub
=$ac_aux_dir/config.sub
910 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
913 # Do some error checking and defaulting for the host and target type.
915 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
918 # 1. You are not allowed to specify --host, --target, and nonopt at the
920 # 2. Host defaults to nonopt.
921 # 3. If nonopt is not specified, then host defaults to the current host,
922 # as determined by config.guess.
923 # 4. Target and build default to nonopt.
924 # 5. If nonopt is not specified, then target and build default to host.
926 # The aliases save the names the user supplied, while $host etc.
927 # will get canonicalized.
928 case $host---$target---$nonopt in
929 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
930 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
934 # Make sure we can run config.sub.
935 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
936 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
939 echo $ac_n "checking host system type""... $ac_c" 1>&6
940 echo "configure:941: checking host system type" >&5
943 case "$host_alias" in
947 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
948 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
950 *) host_alias
=$nonopt ;;
954 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
955 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
956 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
957 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
958 echo "$ac_t""$host" 1>&6
960 echo $ac_n "checking target system type""... $ac_c" 1>&6
961 echo "configure:962: checking target system type" >&5
964 case "$target_alias" in
967 NONE
) target_alias
=$host_alias ;;
968 *) target_alias
=$nonopt ;;
972 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
973 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
974 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
975 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
976 echo "$ac_t""$target" 1>&6
978 echo $ac_n "checking build system type""... $ac_c" 1>&6
979 echo "configure:980: checking build system type" >&5
982 case "$build_alias" in
985 NONE
) build_alias
=$host_alias ;;
986 *) build_alias
=$nonopt ;;
990 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
991 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
992 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
993 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
994 echo "$ac_t""$build" 1>&6
996 test "$host_alias" != "$target_alias" &&
997 test "$program_prefix$program_suffix$program_transform_name" = \
999 program_prefix
=${target_alias}-
1003 WX_MAJOR_VERSION_NUMBER
=2
1004 WX_MINOR_VERSION_NUMBER
=3
1007 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1008 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1010 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1043 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1045 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1050 DEFAULT_wxUSE_MOTIF
=0
1053 DEFAULT_wxUSE_WINE
=0
1055 DEFAULT_DEFAULT_wxUSE_GTK
=0
1056 DEFAULT_DEFAULT_wxUSE_MAC
=0
1057 DEFAULT_DEFAULT_wxUSE_MGL
=0
1058 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1059 DEFAULT_DEFAULT_wxUSE_MSW
=0
1060 DEFAULT_DEFAULT_wxUSE_PM
=0
1061 DEFAULT_DEFAULT_wxUSE_WINE
=0
1069 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1072 cat >> confdefs.h
<<\EOF
1079 cat >> confdefs.h
<<\EOF
1084 if test "x$TMP" = "xalpha"; then
1086 cat >> confdefs.h
<<\EOF
1091 DEFAULT_DEFAULT_wxUSE_GTK
=1
1093 *-*-irix5* | *-*-irix6* )
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1115 #define __SOLARIS__ 1
1118 cat >> confdefs.h
<<\EOF
1122 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1123 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1146 cat >> confdefs.h
<<\EOF
1147 #define __FREEBSD__ 1
1150 cat >> confdefs.h
<<\EOF
1154 DEFAULT_DEFAULT_wxUSE_GTK
=1
1159 cat >> confdefs.h
<<\EOF
1160 #define __FREEBSD__ 1
1163 cat >> confdefs.h
<<\EOF
1164 #define __OPENBSD__ 1
1167 DEFAULT_DEFAULT_wxUSE_GTK
=1
1172 cat >> confdefs.h
<<\EOF
1173 #define __FREEBSD__ 1
1176 cat >> confdefs.h
<<\EOF
1177 #define __NETBSD__ 1
1180 DEFAULT_DEFAULT_wxUSE_GTK
=1
1185 cat >> confdefs.h
<<\EOF
1189 cat >> confdefs.h
<<\EOF
1193 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1194 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1199 cat >> confdefs.h
<<\EOF
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1212 cat >> confdefs.h
<<\EOF
1216 cat >> confdefs.h
<<\EOF
1220 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1226 cat >> confdefs.h
<<\EOF
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1241 *-*-cygwin* | *-*-mingw32* )
1245 cat >> confdefs.h
<<\EOF
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1254 #define __WINDOWS__ 1
1257 cat >> confdefs.h
<<\EOF
1258 #define __GNUWIN32__ 1
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1266 #define WINVER 0x0400
1271 DEFAULT_DEFAULT_wxUSE_MSW
=1
1274 *-pc-os2_emx | *-pc-os2-emx )
1275 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_PM
=1
1287 cat >> confdefs.h
<<\EOF
1291 cat >> confdefs.h
<<\EOF
1292 #define __DARWIN__ 1
1295 cat >> confdefs.h
<<\EOF
1296 #define __POWERPC__ 1
1299 DEFAULT_DEFAULT_wxUSE_MAC
=1
1304 cat >> confdefs.h
<<\EOF
1311 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1314 if test "$USE_UNIX" = 1 ; then
1316 cat >> confdefs.h
<<\EOF
1322 if test "$USE_LINUX" = 1; then
1323 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1324 echo "configure:1325: checking for glibc 2.1 or later" >&5
1325 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1326 echo $ac_n "(cached) $ac_c" 1>&6
1328 cat > conftest.
$ac_ext <<EOF
1329 #line 1330 "configure"
1330 #include "confdefs.h"
1331 #include <features.h>
1334 #if !__GLIBC_PREREQ(2, 1)
1340 if { (eval echo configure
:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1346 echo "configure: failed program was:" >&5
1347 cat conftest.
$ac_ext >&5
1358 echo "$ac_t""$wx_lib_glibc21" 1>&6
1359 if test "$wx_lib_glibc21" = "yes"; then
1360 cat >> confdefs.h
<<\EOF
1361 #define wxHAVE_GLIBC2 1
1370 wx_arg_cache_file
="configarg.cache"
1371 echo "loading argument cache $wx_arg_cache_file"
1372 rm -f ${wx_arg_cache_file}.tmp
1373 touch ${wx_arg_cache_file}.tmp
1374 touch ${wx_arg_cache_file}
1378 if test $DEBUG_CONFIGURE = 1; then
1379 DEFAULT_wxUSE_UNIVERSAL
=no
1381 DEFAULT_wxUSE_THREADS
=yes
1383 DEFAULT_wxUSE_SHARED
=yes
1384 DEFAULT_wxUSE_SONAME
=no
1385 DEFAULT_wxUSE_OPTIMISE
=no
1386 DEFAULT_wxUSE_PROFILE
=no
1387 DEFAULT_wxUSE_NO_DEPS
=no
1388 DEFAULT_wxUSE_NO_RTTI
=yes
1389 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1390 DEFAULT_wxUSE_PERMISSIVE
=no
1391 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1392 DEFAULT_wxUSE_DEBUG_INFO
=yes
1393 DEFAULT_wxUSE_DEBUG_GDB
=yes
1394 DEFAULT_wxUSE_MEM_TRACING
=no
1395 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1396 DEFAULT_wxUSE_DMALLOC
=no
1397 DEFAULT_wxUSE_PRECOMP
=yes
1398 DEFAULT_wxUSE_APPLE_IEEE
=no
1400 DEFAULT_wxUSE_LOG
=yes
1401 DEFAULT_wxUSE_LOGWINDOW
=no
1402 DEFAULT_wxUSE_LOGGUI
=no
1404 DEFAULT_wxUSE_GUI
=yes
1405 DEFAULT_wxUSE_CONTROLS
=no
1407 DEFAULT_wxUSE_REGEX
=no
1408 DEFAULT_wxUSE_ZLIB
=no
1409 DEFAULT_wxUSE_LIBPNG
=no
1410 DEFAULT_wxUSE_LIBJPEG
=no
1411 DEFAULT_wxUSE_LIBTIFF
=no
1412 DEFAULT_wxUSE_ODBC
=no
1413 DEFAULT_wxUSE_FREETYPE
=no
1414 DEFAULT_wxUSE_OPENGL
=no
1416 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1417 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1418 DEFAULT_wxUSE_STD_IOSTREAM
=no
1419 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1420 DEFAULT_wxUSE_DATETIME
=no
1421 DEFAULT_wxUSE_TIMEDATE
=no
1422 DEFAULT_wxUSE_TIMER
=no
1423 DEFAULT_wxUSE_STOPWATCH
=no
1424 DEFAULT_wxUSE_FILE
=no
1425 DEFAULT_wxUSE_FFILE
=no
1426 DEFAULT_wxUSE_TEXTBUFFER
=no
1427 DEFAULT_wxUSE_TEXTFILE
=no
1428 DEFAULT_wxUSE_WAVE
=no
1429 DEFAULT_wxUSE_INTL
=no
1430 DEFAULT_wxUSE_CONFIG
=no
1431 DEFAULT_wxUSE_FONTMAP
=no
1432 DEFAULT_wxUSE_STREAMS
=no
1433 DEFAULT_wxUSE_SOCKETS
=no
1434 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1435 DEFAULT_wxUSE_SERIAL
=no
1436 DEFAULT_wxUSE_JOYSTICK
=no
1437 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1438 DEFAULT_wxUSE_LONGLONG
=no
1439 DEFAULT_wxUSE_GEOMETRY
=no
1441 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1442 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1443 DEFAULT_wxUSE_POSTSCRIPT
=no
1445 DEFAULT_wxUSE_X_RESOURCES
=no
1446 DEFAULT_wxUSE_CLIPBOARD
=no
1447 DEFAULT_wxUSE_TOOLTIPS
=no
1448 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1449 DEFAULT_wxUSE_DRAGIMAGE
=no
1450 DEFAULT_wxUSE_SPLINES
=no
1452 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1453 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1454 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1456 DEFAULT_wxUSE_PROLOGIO
=no
1457 DEFAULT_wxUSE_RESOURCES
=no
1458 DEFAULT_wxUSE_CONSTRAINTS
=no
1459 DEFAULT_wxUSE_IPC
=no
1460 DEFAULT_wxUSE_HELP
=no
1461 DEFAULT_wxUSE_MS_HTML_HELP
=no
1462 DEFAULT_wxUSE_WXHTML_HELP
=no
1463 DEFAULT_wxUSE_TREELAYOUT
=no
1464 DEFAULT_wxUSE_METAFILE
=no
1465 DEFAULT_wxUSE_MIMETYPE
=no
1466 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1468 DEFAULT_wxUSE_COMMONDLGS
=no
1469 DEFAULT_wxUSE_CHOICEDLG
=no
1470 DEFAULT_wxUSE_COLOURDLG
=no
1471 DEFAULT_wxUSE_DIRDLG
=no
1472 DEFAULT_wxUSE_FILEDLG
=no
1473 DEFAULT_wxUSE_FINDREPLDLG
=no
1474 DEFAULT_wxUSE_FONTDLG
=no
1475 DEFAULT_wxUSE_MSGDLG
=no
1476 DEFAULT_wxUSE_NUMBERDLG
=no
1477 DEFAULT_wxUSE_TEXTDLG
=no
1478 DEFAULT_wxUSE_SPLASH
=no
1479 DEFAULT_wxUSE_STARTUP_TIPS
=no
1480 DEFAULT_wxUSE_PROGRESSDLG
=no
1481 DEFAULT_wxUSE_WIZARDDLG
=no
1483 DEFAULT_wxUSE_MENUS
=no
1484 DEFAULT_wxUSE_MINIFRAME
=no
1485 DEFAULT_wxUSE_HTML
=no
1486 DEFAULT_wxUSE_FILESYSTEM
=no
1487 DEFAULT_wxUSE_FS_INET
=no
1488 DEFAULT_wxUSE_FS_ZIP
=no
1489 DEFAULT_wxUSE_BUSYINFO
=no
1490 DEFAULT_wxUSE_ZIPSTREAM
=no
1491 DEFAULT_wxUSE_VALIDATORS
=no
1493 DEFAULT_wxUSE_ACCEL
=no
1494 DEFAULT_wxUSE_BUTTON
=no
1495 DEFAULT_wxUSE_BMPBUTTON
=no
1496 DEFAULT_wxUSE_CALCTRL
=no
1497 DEFAULT_wxUSE_CARET
=no
1498 DEFAULT_wxUSE_CHECKBOX
=no
1499 DEFAULT_wxUSE_CHECKLST
=no
1500 DEFAULT_wxUSE_CHOICE
=no
1501 DEFAULT_wxUSE_COMBOBOX
=no
1502 DEFAULT_wxUSE_GAUGE
=no
1503 DEFAULT_wxUSE_GRID
=no
1504 DEFAULT_wxUSE_NEW_GRID
=no
1505 DEFAULT_wxUSE_IMAGLIST
=no
1506 DEFAULT_wxUSE_LISTBOX
=no
1507 DEFAULT_wxUSE_LISTCTRL
=no
1508 DEFAULT_wxUSE_NOTEBOOK
=no
1509 DEFAULT_wxUSE_PROPSHEET
=no
1510 DEFAULT_wxUSE_RADIOBOX
=no
1511 DEFAULT_wxUSE_RADIOBTN
=no
1512 DEFAULT_wxUSE_SASH
=no
1513 DEFAULT_wxUSE_SCROLLBAR
=no
1514 DEFAULT_wxUSE_SLIDER
=no
1515 DEFAULT_wxUSE_SPINBTN
=no
1516 DEFAULT_wxUSE_SPINCTRL
=no
1517 DEFAULT_wxUSE_SPLITTER
=no
1518 DEFAULT_wxUSE_STATBMP
=no
1519 DEFAULT_wxUSE_STATBOX
=no
1520 DEFAULT_wxUSE_STATLINE
=no
1521 DEFAULT_wxUSE_STATTEXT
=no
1522 DEFAULT_wxUSE_STATUSBAR
=yes
1523 DEFAULT_wxUSE_TABDIALOG
=no
1524 DEFAULT_wxUSE_TEXTCTRL
=no
1525 DEFAULT_wxUSE_TOGGLEBTN
=no
1526 DEFAULT_wxUSE_TOOLBAR
=no
1527 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1528 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1529 DEFAULT_wxUSE_TREECTRL
=no
1530 DEFAULT_wxUSE_POPUPWIN
=no
1532 DEFAULT_wxUSE_UNICODE
=no
1533 DEFAULT_wxUSE_WCSRTOMBS
=no
1535 DEFAULT_wxUSE_PALETTE
=no
1536 DEFAULT_wxUSE_IMAGE
=no
1537 DEFAULT_wxUSE_GIF
=no
1538 DEFAULT_wxUSE_PCX
=no
1539 DEFAULT_wxUSE_PNM
=no
1540 DEFAULT_wxUSE_XPM
=no
1542 DEFAULT_wxUSE_UNIVERSAL
=no
1544 DEFAULT_wxUSE_THREADS
=yes
1546 DEFAULT_wxUSE_SHARED
=yes
1547 DEFAULT_wxUSE_SONAME
=no
1548 DEFAULT_wxUSE_OPTIMISE
=yes
1549 DEFAULT_wxUSE_PROFILE
=no
1550 DEFAULT_wxUSE_NO_DEPS
=no
1551 DEFAULT_wxUSE_NO_RTTI
=yes
1552 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1553 DEFAULT_wxUSE_PERMISSIVE
=no
1554 DEFAULT_wxUSE_DEBUG_FLAG
=no
1555 DEFAULT_wxUSE_DEBUG_INFO
=no
1556 DEFAULT_wxUSE_DEBUG_GDB
=no
1557 DEFAULT_wxUSE_MEM_TRACING
=no
1558 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1559 DEFAULT_wxUSE_DMALLOC
=no
1560 DEFAULT_wxUSE_PRECOMP
=yes
1561 DEFAULT_wxUSE_APPLE_IEEE
=yes
1563 DEFAULT_wxUSE_LOG
=yes
1564 DEFAULT_wxUSE_LOGWINDOW
=yes
1565 DEFAULT_wxUSE_LOGGUI
=yes
1567 DEFAULT_wxUSE_GUI
=yes
1569 DEFAULT_wxUSE_REGEX
=yes
1570 DEFAULT_wxUSE_ZLIB
=yes
1571 DEFAULT_wxUSE_LIBPNG
=yes
1572 DEFAULT_wxUSE_LIBJPEG
=yes
1573 DEFAULT_wxUSE_LIBTIFF
=yes
1574 DEFAULT_wxUSE_ODBC
=no
1575 DEFAULT_wxUSE_FREETYPE
=no
1576 DEFAULT_wxUSE_OPENGL
=no
1578 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1579 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1580 DEFAULT_wxUSE_STD_IOSTREAM
=no
1581 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1582 DEFAULT_wxUSE_DATETIME
=yes
1583 DEFAULT_wxUSE_TIMEDATE
=no
1584 DEFAULT_wxUSE_TIMER
=yes
1585 DEFAULT_wxUSE_STOPWATCH
=yes
1586 DEFAULT_wxUSE_FILE
=yes
1587 DEFAULT_wxUSE_FFILE
=yes
1588 DEFAULT_wxUSE_TEXTBUFFER
=yes
1589 DEFAULT_wxUSE_TEXTFILE
=yes
1590 DEFAULT_wxUSE_WAVE
=no
1591 DEFAULT_wxUSE_INTL
=yes
1592 DEFAULT_wxUSE_CONFIG
=yes
1593 DEFAULT_wxUSE_FONTMAP
=yes
1594 DEFAULT_wxUSE_STREAMS
=yes
1595 DEFAULT_wxUSE_SOCKETS
=yes
1596 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1597 DEFAULT_wxUSE_SERIAL
=yes
1598 DEFAULT_wxUSE_JOYSTICK
=yes
1599 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1600 DEFAULT_wxUSE_LONGLONG
=yes
1601 DEFAULT_wxUSE_GEOMETRY
=yes
1603 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1604 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1605 DEFAULT_wxUSE_POSTSCRIPT
=yes
1607 DEFAULT_wxUSE_X_RESOURCES
=no
1608 DEFAULT_wxUSE_CLIPBOARD
=yes
1609 DEFAULT_wxUSE_TOOLTIPS
=yes
1610 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1611 DEFAULT_wxUSE_DRAGIMAGE
=yes
1612 DEFAULT_wxUSE_SPLINES
=yes
1614 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1615 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1616 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1618 DEFAULT_wxUSE_PROLOGIO
=yes
1619 DEFAULT_wxUSE_RESOURCES
=yes
1620 DEFAULT_wxUSE_CONSTRAINTS
=yes
1621 DEFAULT_wxUSE_IPC
=yes
1622 DEFAULT_wxUSE_HELP
=yes
1623 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1624 DEFAULT_wxUSE_WXHTML_HELP
=yes
1625 DEFAULT_wxUSE_TREELAYOUT
=yes
1626 DEFAULT_wxUSE_METAFILE
=yes
1627 DEFAULT_wxUSE_MIMETYPE
=yes
1628 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1630 DEFAULT_wxUSE_COMMONDLGS
=yes
1631 DEFAULT_wxUSE_CHOICEDLG
=yes
1632 DEFAULT_wxUSE_COLOURDLG
=yes
1633 DEFAULT_wxUSE_DIRDLG
=yes
1634 DEFAULT_wxUSE_FILEDLG
=yes
1635 DEFAULT_wxUSE_FINDREPLDLG
=yes
1636 DEFAULT_wxUSE_FONTDLG
=yes
1637 DEFAULT_wxUSE_MSGDLG
=yes
1638 DEFAULT_wxUSE_NUMBERDLG
=yes
1639 DEFAULT_wxUSE_TEXTDLG
=yes
1640 DEFAULT_wxUSE_SPLASH
=yes
1641 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1642 DEFAULT_wxUSE_PROGRESSDLG
=yes
1643 DEFAULT_wxUSE_WIZARDDLG
=yes
1645 DEFAULT_wxUSE_MENUS
=yes
1646 DEFAULT_wxUSE_MINIFRAME
=yes
1647 DEFAULT_wxUSE_HTML
=yes
1648 DEFAULT_wxUSE_FILESYSTEM
=yes
1649 DEFAULT_wxUSE_FS_INET
=yes
1650 DEFAULT_wxUSE_FS_ZIP
=yes
1651 DEFAULT_wxUSE_BUSYINFO
=yes
1652 DEFAULT_wxUSE_ZIPSTREAM
=yes
1653 DEFAULT_wxUSE_VALIDATORS
=yes
1655 DEFAULT_wxUSE_ACCEL
=yes
1656 DEFAULT_wxUSE_BUTTON
=yes
1657 DEFAULT_wxUSE_BMPBUTTON
=yes
1658 DEFAULT_wxUSE_CALCTRL
=yes
1659 DEFAULT_wxUSE_CARET
=yes
1660 DEFAULT_wxUSE_CHECKBOX
=yes
1661 DEFAULT_wxUSE_CHECKLST
=yes
1662 DEFAULT_wxUSE_CHOICE
=yes
1663 DEFAULT_wxUSE_COMBOBOX
=yes
1664 DEFAULT_wxUSE_GAUGE
=yes
1665 DEFAULT_wxUSE_GRID
=yes
1666 DEFAULT_wxUSE_NEW_GRID
=yes
1667 DEFAULT_wxUSE_IMAGLIST
=yes
1668 DEFAULT_wxUSE_LISTBOX
=yes
1669 DEFAULT_wxUSE_LISTCTRL
=yes
1670 DEFAULT_wxUSE_NOTEBOOK
=yes
1671 DEFAULT_wxUSE_PROPSHEET
=yes
1672 DEFAULT_wxUSE_RADIOBOX
=yes
1673 DEFAULT_wxUSE_RADIOBTN
=yes
1674 DEFAULT_wxUSE_SASH
=yes
1675 DEFAULT_wxUSE_SCROLLBAR
=yes
1676 DEFAULT_wxUSE_SLIDER
=yes
1677 DEFAULT_wxUSE_SPINBTN
=yes
1678 DEFAULT_wxUSE_SPINCTRL
=yes
1679 DEFAULT_wxUSE_SPLITTER
=yes
1680 DEFAULT_wxUSE_STATBMP
=yes
1681 DEFAULT_wxUSE_STATBOX
=yes
1682 DEFAULT_wxUSE_STATLINE
=yes
1683 DEFAULT_wxUSE_STATTEXT
=yes
1684 DEFAULT_wxUSE_STATUSBAR
=yes
1685 DEFAULT_wxUSE_TABDIALOG
=no
1686 DEFAULT_wxUSE_TEXTCTRL
=yes
1687 DEFAULT_wxUSE_TOGGLEBTN
=yes
1688 DEFAULT_wxUSE_TOOLBAR
=yes
1689 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1690 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1691 DEFAULT_wxUSE_TREECTRL
=yes
1692 DEFAULT_wxUSE_POPUPWIN
=yes
1694 DEFAULT_wxUSE_UNICODE
=no
1695 DEFAULT_wxUSE_WCSRTOMBS
=no
1697 DEFAULT_wxUSE_PALETTE
=yes
1698 DEFAULT_wxUSE_IMAGE
=yes
1699 DEFAULT_wxUSE_GIF
=yes
1700 DEFAULT_wxUSE_PCX
=yes
1701 DEFAULT_wxUSE_PNM
=yes
1702 DEFAULT_wxUSE_XPM
=yes
1707 for toolkit
in `echo $ALL_TOOLKITS`; do
1708 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1709 if test "x$LINE" != x
; then
1710 has_toolkit_in_cache
=1
1711 eval "DEFAULT_$LINE"
1712 eval "CACHE_$toolkit=1"
1718 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1719 echo "configure:1720: checking for --enable-gui" >&5
1721 # Check whether --enable-gui or --disable-gui was given.
1722 if test "${enable_gui+set}" = set; then
1723 enableval
="$enable_gui"
1725 if test "$enableval" = yes; then
1726 ac_cv_use_gui
='wxUSE_GUI=yes'
1728 ac_cv_use_gui
='wxUSE_GUI=no'
1733 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1734 if test "x$LINE" != x
; then
1735 eval "DEFAULT_$LINE"
1740 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1745 eval "$ac_cv_use_gui"
1746 if test "$no_cache" != 1; then
1747 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1750 if test "$wxUSE_GUI" = yes; then
1751 echo "$ac_t""yes" 1>&6
1753 echo "$ac_t""no" 1>&6
1757 if test "$wxUSE_GUI" = "yes"; then
1760 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1761 echo "configure:1762: checking for --enable-universal" >&5
1763 # Check whether --enable-universal or --disable-universal was given.
1764 if test "${enable_universal+set}" = set; then
1765 enableval
="$enable_universal"
1767 if test "$enableval" = yes; then
1768 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1770 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1775 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1776 if test "x$LINE" != x
; then
1777 eval "DEFAULT_$LINE"
1782 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1787 eval "$ac_cv_use_universal"
1788 if test "$no_cache" != 1; then
1789 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1792 if test "$wxUSE_UNIVERSAL" = yes; then
1793 echo "$ac_t""yes" 1>&6
1795 echo "$ac_t""no" 1>&6
1798 # Check whether --with-gtk or --without-gtk was given.
1799 if test "${with_gtk+set}" = set; then
1801 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1804 # Check whether --with-motif or --without-motif was given.
1805 if test "${with_motif+set}" = set; then
1806 withval
="$with_motif"
1807 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1810 # Check whether --with-mac or --without-mac was given.
1811 if test "${with_mac+set}" = set; then
1813 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1816 # Check whether --with-wine or --without-wine was given.
1817 if test "${with_wine+set}" = set; then
1818 withval
="$with_wine"
1819 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1822 # Check whether --with-msw or --without-msw was given.
1823 if test "${with_msw+set}" = set; then
1825 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1828 # Check whether --with-pm or --without-pm was given.
1829 if test "${with_pm+set}" = set; then
1831 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1834 # Check whether --with-mgl or --without-mgl was given.
1835 if test "${with_mgl+set}" = set; then
1837 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1841 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1842 if test "${enable_gtk2+set}" = set; then
1843 enableval
="$enable_gtk2"
1851 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1852 echo "configure:1853: checking for --with-libpng" >&5
1854 # Check whether --with-libpng or --without-libpng was given.
1855 if test "${with_libpng+set}" = set; then
1856 withval
="$with_libpng"
1858 if test "$withval" = yes; then
1859 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1860 elif test "$withval" = no
; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1862 elif test "$withval" = sys
; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1864 elif test "$withval" = builtin; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1867 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1872 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1873 if test "x$LINE" != x
; then
1874 eval "DEFAULT_$LINE"
1879 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1884 eval "$ac_cv_use_libpng"
1885 if test "$no_cache" != 1; then
1886 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1889 if test "$wxUSE_LIBPNG" = yes; then
1890 echo "$ac_t""yes" 1>&6
1891 elif test "$wxUSE_LIBPNG" = no
; then
1892 echo "$ac_t""no" 1>&6
1893 elif test "$wxUSE_LIBPNG" = sys
; then
1894 echo "$ac_t""system version" 1>&6
1895 elif test "$wxUSE_LIBPNG" = builtin; then
1896 echo "$ac_t""builtin version" 1>&6
1898 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1902 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1903 echo "configure:1904: checking for --with-libjpeg" >&5
1905 # Check whether --with-libjpeg or --without-libjpeg was given.
1906 if test "${with_libjpeg+set}" = set; then
1907 withval
="$with_libjpeg"
1909 if test "$withval" = yes; then
1910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1911 elif test "$withval" = no
; then
1912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1913 elif test "$withval" = sys
; then
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1915 elif test "$withval" = builtin; then
1916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1918 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1923 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1924 if test "x$LINE" != x
; then
1925 eval "DEFAULT_$LINE"
1930 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1935 eval "$ac_cv_use_libjpeg"
1936 if test "$no_cache" != 1; then
1937 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1940 if test "$wxUSE_LIBJPEG" = yes; then
1941 echo "$ac_t""yes" 1>&6
1942 elif test "$wxUSE_LIBJPEG" = no
; then
1943 echo "$ac_t""no" 1>&6
1944 elif test "$wxUSE_LIBJPEG" = sys
; then
1945 echo "$ac_t""system version" 1>&6
1946 elif test "$wxUSE_LIBJPEG" = builtin; then
1947 echo "$ac_t""builtin version" 1>&6
1949 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1953 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1954 echo "configure:1955: checking for --with-libtiff" >&5
1956 # Check whether --with-libtiff or --without-libtiff was given.
1957 if test "${with_libtiff+set}" = set; then
1958 withval
="$with_libtiff"
1960 if test "$withval" = yes; then
1961 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1962 elif test "$withval" = no
; then
1963 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1964 elif test "$withval" = sys
; then
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1966 elif test "$withval" = builtin; then
1967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1969 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1974 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1975 if test "x$LINE" != x
; then
1976 eval "DEFAULT_$LINE"
1981 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1986 eval "$ac_cv_use_libtiff"
1987 if test "$no_cache" != 1; then
1988 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1991 if test "$wxUSE_LIBTIFF" = yes; then
1992 echo "$ac_t""yes" 1>&6
1993 elif test "$wxUSE_LIBTIFF" = no
; then
1994 echo "$ac_t""no" 1>&6
1995 elif test "$wxUSE_LIBTIFF" = sys
; then
1996 echo "$ac_t""system version" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = builtin; then
1998 echo "$ac_t""builtin version" 1>&6
2000 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2004 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2005 echo "configure:2006: checking for --with-freetype" >&5
2007 # Check whether --with-freetype or --without-freetype was given.
2008 if test "${with_freetype+set}" = set; then
2009 withval
="$with_freetype"
2011 if test "$withval" = yes; then
2012 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2013 elif test "$withval" = no
; then
2014 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2015 elif test "$withval" = sys
; then
2016 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2017 elif test "$withval" = builtin; then
2018 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2020 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2025 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2026 if test "x$LINE" != x
; then
2027 eval "DEFAULT_$LINE"
2032 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2037 eval "$ac_cv_use_freetype"
2038 if test "$no_cache" != 1; then
2039 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2042 if test "$wxUSE_FREETYPE" = yes; then
2043 echo "$ac_t""yes" 1>&6
2044 elif test "$wxUSE_FREETYPE" = no
; then
2045 echo "$ac_t""no" 1>&6
2046 elif test "$wxUSE_FREETYPE" = sys
; then
2047 echo "$ac_t""system version" 1>&6
2048 elif test "$wxUSE_FREETYPE" = builtin; then
2049 echo "$ac_t""builtin version" 1>&6
2051 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2055 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2056 echo "configure:2057: checking for --with-opengl" >&5
2058 # Check whether --with-opengl or --without-opengl was given.
2059 if test "${with_opengl+set}" = set; then
2060 withval
="$with_opengl"
2062 if test "$withval" = yes; then
2063 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2065 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2070 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2071 if test "x$LINE" != x
; then
2072 eval "DEFAULT_$LINE"
2077 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2082 eval "$ac_cv_use_opengl"
2083 if test "$no_cache" != 1; then
2084 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2087 if test "$wxUSE_OPENGL" = yes; then
2088 echo "$ac_t""yes" 1>&6
2090 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2098 echo "configure:2099: checking for --with-dmalloc" >&5
2100 # Check whether --with-dmalloc or --without-dmalloc was given.
2101 if test "${with_dmalloc+set}" = set; then
2102 withval
="$with_dmalloc"
2104 if test "$withval" = yes; then
2105 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2107 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2112 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2124 eval "$ac_cv_use_dmalloc"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_DMALLOC" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2137 echo "configure:2138: checking for --with-regex" >&5
2139 # Check whether --with-regex or --without-regex was given.
2140 if test "${with_regex+set}" = set; then
2141 withval
="$with_regex"
2143 if test "$withval" = yes; then
2144 ac_cv_use_regex
='wxUSE_REGEX=yes'
2145 elif test "$withval" = no
; then
2146 ac_cv_use_regex
='wxUSE_REGEX=no'
2147 elif test "$withval" = sys
; then
2148 ac_cv_use_regex
='wxUSE_REGEX=sys'
2149 elif test "$withval" = builtin; then
2150 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2152 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2157 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2158 if test "x$LINE" != x
; then
2159 eval "DEFAULT_$LINE"
2164 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2169 eval "$ac_cv_use_regex"
2170 if test "$no_cache" != 1; then
2171 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2174 if test "$wxUSE_REGEX" = yes; then
2175 echo "$ac_t""yes" 1>&6
2176 elif test "$wxUSE_REGEX" = no
; then
2177 echo "$ac_t""no" 1>&6
2178 elif test "$wxUSE_REGEX" = sys
; then
2179 echo "$ac_t""system version" 1>&6
2180 elif test "$wxUSE_REGEX" = builtin; then
2181 echo "$ac_t""builtin version" 1>&6
2183 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2187 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2188 echo "configure:2189: checking for --with-zlib" >&5
2190 # Check whether --with-zlib or --without-zlib was given.
2191 if test "${with_zlib+set}" = set; then
2192 withval
="$with_zlib"
2194 if test "$withval" = yes; then
2195 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2196 elif test "$withval" = no
; then
2197 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2198 elif test "$withval" = sys
; then
2199 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2200 elif test "$withval" = builtin; then
2201 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2203 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2208 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2209 if test "x$LINE" != x
; then
2210 eval "DEFAULT_$LINE"
2215 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2220 eval "$ac_cv_use_zlib"
2221 if test "$no_cache" != 1; then
2222 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2225 if test "$wxUSE_ZLIB" = yes; then
2226 echo "$ac_t""yes" 1>&6
2227 elif test "$wxUSE_ZLIB" = no
; then
2228 echo "$ac_t""no" 1>&6
2229 elif test "$wxUSE_ZLIB" = sys
; then
2230 echo "$ac_t""system version" 1>&6
2231 elif test "$wxUSE_ZLIB" = builtin; then
2232 echo "$ac_t""builtin version" 1>&6
2234 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2238 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2239 echo "configure:2240: checking for --with-odbc" >&5
2241 # Check whether --with-odbc or --without-odbc was given.
2242 if test "${with_odbc+set}" = set; then
2243 withval
="$with_odbc"
2245 if test "$withval" = yes; then
2246 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2248 ac_cv_use_odbc
='wxUSE_ODBC=no'
2253 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2254 if test "x$LINE" != x
; then
2255 eval "DEFAULT_$LINE"
2260 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2265 eval "$ac_cv_use_odbc"
2266 if test "$no_cache" != 1; then
2267 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2270 if test "$wxUSE_ODBC" = yes; then
2271 echo "$ac_t""yes" 1>&6
2273 echo "$ac_t""no" 1>&6
2279 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2280 echo "configure:2281: checking for --enable-shared" >&5
2282 # Check whether --enable-shared or --disable-shared was given.
2283 if test "${enable_shared+set}" = set; then
2284 enableval
="$enable_shared"
2286 if test "$enableval" = yes; then
2287 ac_cv_use_shared
='wxUSE_SHARED=yes'
2289 ac_cv_use_shared
='wxUSE_SHARED=no'
2294 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2295 if test "x$LINE" != x
; then
2296 eval "DEFAULT_$LINE"
2301 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2306 eval "$ac_cv_use_shared"
2307 if test "$no_cache" != 1; then
2308 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2311 if test "$wxUSE_SHARED" = yes; then
2312 echo "$ac_t""yes" 1>&6
2314 echo "$ac_t""no" 1>&6
2318 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2319 echo "configure:2320: checking for --enable-soname" >&5
2321 # Check whether --enable-soname or --disable-soname was given.
2322 if test "${enable_soname+set}" = set; then
2323 enableval
="$enable_soname"
2325 if test "$enableval" = yes; then
2326 ac_cv_use_soname
='wxUSE_SONAME=yes'
2328 ac_cv_use_soname
='wxUSE_SONAME=no'
2333 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2334 if test "x$LINE" != x
; then
2335 eval "DEFAULT_$LINE"
2340 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2345 eval "$ac_cv_use_soname"
2346 if test "$no_cache" != 1; then
2347 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2350 if test "$wxUSE_SONAME" = yes; then
2351 echo "$ac_t""yes" 1>&6
2353 echo "$ac_t""no" 1>&6
2357 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2358 echo "configure:2359: checking for --enable-optimise" >&5
2360 # Check whether --enable-optimise or --disable-optimise was given.
2361 if test "${enable_optimise+set}" = set; then
2362 enableval
="$enable_optimise"
2364 if test "$enableval" = yes; then
2365 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2367 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2372 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2373 if test "x$LINE" != x
; then
2374 eval "DEFAULT_$LINE"
2379 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2384 eval "$ac_cv_use_optimise"
2385 if test "$no_cache" != 1; then
2386 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2389 if test "$wxUSE_OPTIMISE" = yes; then
2390 echo "$ac_t""yes" 1>&6
2392 echo "$ac_t""no" 1>&6
2396 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2397 echo "configure:2398: checking for --enable-debug" >&5
2399 # Check whether --enable-debug or --disable-debug was given.
2400 if test "${enable_debug+set}" = set; then
2401 enableval
="$enable_debug"
2403 if test "$enableval" = yes; then
2404 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2406 ac_cv_use_debug
='wxUSE_DEBUG=no'
2411 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2412 if test "x$LINE" != x
; then
2413 eval "DEFAULT_$LINE"
2418 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2423 eval "$ac_cv_use_debug"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2428 if test "$wxUSE_DEBUG" = yes; then
2429 echo "$ac_t""yes" 1>&6
2431 echo "$ac_t""no" 1>&6
2436 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2437 echo "configure:2438: checking for --enable-precomp" >&5
2439 # Check whether --enable-precomp or --disable-precomp was given.
2440 if test "${enable_precomp+set}" = set; then
2441 enableval
="$enable_precomp"
2443 if test "$enableval" = yes; then
2444 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2446 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2451 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2452 if test "x$LINE" != x
; then
2453 eval "DEFAULT_$LINE"
2458 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2463 eval "$ac_cv_use_precomp"
2464 if test "$no_cache" != 1; then
2465 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2468 if test "$wxUSE_PRECOMP" = yes; then
2469 echo "$ac_t""yes" 1>&6
2471 echo "$ac_t""no" 1>&6
2475 if test "$wxUSE_DEBUG" = "yes"; then
2476 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2477 DEFAULT_wxUSE_DEBUG_INFO
=yes
2478 elif test "$wxUSE_DEBUG" = "no"; then
2479 DEFAULT_wxUSE_DEBUG_FLAG
=no
2480 DEFAULT_wxUSE_DEBUG_INFO
=no
2484 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2485 echo "configure:2486: checking for --enable-debug_flag" >&5
2487 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2488 if test "${enable_debug_flag+set}" = set; then
2489 enableval
="$enable_debug_flag"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2494 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2499 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2511 eval "$ac_cv_use_debug_flag"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_DEBUG_FLAG" = yes; then
2517 echo "$ac_t""yes" 1>&6
2519 echo "$ac_t""no" 1>&6
2523 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2524 echo "configure:2525: checking for --enable-debug_info" >&5
2526 # Check whether --enable-debug_info or --disable-debug_info was given.
2527 if test "${enable_debug_info+set}" = set; then
2528 enableval
="$enable_debug_info"
2530 if test "$enableval" = yes; then
2531 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2533 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2538 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x
; then
2540 eval "DEFAULT_$LINE"
2545 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2550 eval "$ac_cv_use_debug_info"
2551 if test "$no_cache" != 1; then
2552 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2555 if test "$wxUSE_DEBUG_INFO" = yes; then
2556 echo "$ac_t""yes" 1>&6
2558 echo "$ac_t""no" 1>&6
2562 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2563 echo "configure:2564: checking for --enable-debug_gdb" >&5
2565 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2566 if test "${enable_debug_gdb+set}" = set; then
2567 enableval
="$enable_debug_gdb"
2569 if test "$enableval" = yes; then
2570 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2572 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2577 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2578 if test "x$LINE" != x
; then
2579 eval "DEFAULT_$LINE"
2584 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2589 eval "$ac_cv_use_debug_gdb"
2590 if test "$no_cache" != 1; then
2591 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2594 if test "$wxUSE_DEBUG_GDB" = yes; then
2595 echo "$ac_t""yes" 1>&6
2597 echo "$ac_t""no" 1>&6
2601 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2602 echo "configure:2603: checking for --enable-debug_cntxt" >&5
2604 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2605 if test "${enable_debug_cntxt+set}" = set; then
2606 enableval
="$enable_debug_cntxt"
2608 if test "$enableval" = yes; then
2609 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2611 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2616 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2617 if test "x$LINE" != x
; then
2618 eval "DEFAULT_$LINE"
2623 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2628 eval "$ac_cv_use_debug_cntxt"
2629 if test "$no_cache" != 1; then
2630 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2633 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2634 echo "$ac_t""yes" 1>&6
2636 echo "$ac_t""no" 1>&6
2640 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2641 echo "configure:2642: checking for --enable-mem_tracing" >&5
2643 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2644 if test "${enable_mem_tracing+set}" = set; then
2645 enableval
="$enable_mem_tracing"
2647 if test "$enableval" = yes; then
2648 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2650 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2655 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2656 if test "x$LINE" != x
; then
2657 eval "DEFAULT_$LINE"
2662 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2667 eval "$ac_cv_use_mem_tracing"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_MEM_TRACING" = yes; then
2673 echo "$ac_t""yes" 1>&6
2675 echo "$ac_t""no" 1>&6
2679 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2680 echo "configure:2681: checking for --enable-profile" >&5
2682 # Check whether --enable-profile or --disable-profile was given.
2683 if test "${enable_profile+set}" = set; then
2684 enableval
="$enable_profile"
2686 if test "$enableval" = yes; then
2687 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2689 ac_cv_use_profile
='wxUSE_PROFILE=no'
2694 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2695 if test "x$LINE" != x
; then
2696 eval "DEFAULT_$LINE"
2701 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2706 eval "$ac_cv_use_profile"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2711 if test "$wxUSE_PROFILE" = yes; then
2712 echo "$ac_t""yes" 1>&6
2714 echo "$ac_t""no" 1>&6
2718 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2719 echo "configure:2720: checking for --enable-no_rtti" >&5
2721 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2722 if test "${enable_no_rtti+set}" = set; then
2723 enableval
="$enable_no_rtti"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2728 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2733 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x
; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2745 eval "$ac_cv_use_no_rtti"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_NO_RTTI" = yes; then
2751 echo "$ac_t""yes" 1>&6
2753 echo "$ac_t""no" 1>&6
2757 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2758 echo "configure:2759: checking for --enable-no_exceptions" >&5
2760 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2761 if test "${enable_no_exceptions+set}" = set; then
2762 enableval
="$enable_no_exceptions"
2764 if test "$enableval" = yes; then
2765 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2767 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2772 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2784 eval "$ac_cv_use_no_exceptions"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2789 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2790 echo "$ac_t""yes" 1>&6
2792 echo "$ac_t""no" 1>&6
2796 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2797 echo "configure:2798: checking for --enable-permissive" >&5
2799 # Check whether --enable-permissive or --disable-permissive was given.
2800 if test "${enable_permissive+set}" = set; then
2801 enableval
="$enable_permissive"
2803 if test "$enableval" = yes; then
2804 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2806 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2811 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2812 if test "x$LINE" != x
; then
2813 eval "DEFAULT_$LINE"
2818 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2823 eval "$ac_cv_use_permissive"
2824 if test "$no_cache" != 1; then
2825 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2828 if test "$wxUSE_PERMISSIVE" = yes; then
2829 echo "$ac_t""yes" 1>&6
2831 echo "$ac_t""no" 1>&6
2835 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2836 echo "configure:2837: checking for --enable-no_deps" >&5
2838 # Check whether --enable-no_deps or --disable-no_deps was given.
2839 if test "${enable_no_deps+set}" = set; then
2840 enableval
="$enable_no_deps"
2842 if test "$enableval" = yes; then
2843 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2845 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2850 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2851 if test "x$LINE" != x
; then
2852 eval "DEFAULT_$LINE"
2857 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2862 eval "$ac_cv_use_no_deps"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2867 if test "$wxUSE_NO_DEPS" = yes; then
2868 echo "$ac_t""yes" 1>&6
2870 echo "$ac_t""no" 1>&6
2875 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2876 echo "configure:2877: checking for --enable-compat20" >&5
2878 # Check whether --enable-compat20 or --disable-compat20 was given.
2879 if test "${enable_compat20+set}" = set; then
2880 enableval
="$enable_compat20"
2882 if test "$enableval" = yes; then
2883 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2885 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2890 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2897 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2902 eval "$ac_cv_use_compat20"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2907 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2908 echo "$ac_t""yes" 1>&6
2910 echo "$ac_t""no" 1>&6
2914 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2915 echo "configure:2916: checking for --enable-compat22" >&5
2917 # Check whether --enable-compat22 or --disable-compat22 was given.
2918 if test "${enable_compat22+set}" = set; then
2919 enableval
="$enable_compat22"
2921 if test "$enableval" = yes; then
2922 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2924 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2929 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2930 if test "x$LINE" != x
; then
2931 eval "DEFAULT_$LINE"
2936 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2941 eval "$ac_cv_use_compat22"
2942 if test "$no_cache" != 1; then
2943 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2946 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2947 echo "$ac_t""yes" 1>&6
2949 echo "$ac_t""no" 1>&6
2955 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2956 echo "configure:2957: checking for --enable-intl" >&5
2958 # Check whether --enable-intl or --disable-intl was given.
2959 if test "${enable_intl+set}" = set; then
2960 enableval
="$enable_intl"
2962 if test "$enableval" = yes; then
2963 ac_cv_use_intl
='wxUSE_INTL=yes'
2965 ac_cv_use_intl
='wxUSE_INTL=no'
2970 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2971 if test "x$LINE" != x
; then
2972 eval "DEFAULT_$LINE"
2977 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2982 eval "$ac_cv_use_intl"
2983 if test "$no_cache" != 1; then
2984 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2987 if test "$wxUSE_INTL" = yes; then
2988 echo "$ac_t""yes" 1>&6
2990 echo "$ac_t""no" 1>&6
2994 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2995 echo "configure:2996: checking for --enable-config" >&5
2997 # Check whether --enable-config or --disable-config was given.
2998 if test "${enable_config+set}" = set; then
2999 enableval
="$enable_config"
3001 if test "$enableval" = yes; then
3002 ac_cv_use_config
='wxUSE_CONFIG=yes'
3004 ac_cv_use_config
='wxUSE_CONFIG=no'
3009 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3021 eval "$ac_cv_use_config"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_CONFIG" = yes; then
3027 echo "$ac_t""yes" 1>&6
3029 echo "$ac_t""no" 1>&6
3034 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3035 echo "configure:3036: checking for --enable-sockets" >&5
3037 # Check whether --enable-sockets or --disable-sockets was given.
3038 if test "${enable_sockets+set}" = set; then
3039 enableval
="$enable_sockets"
3041 if test "$enableval" = yes; then
3042 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3044 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3049 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x
; then
3051 eval "DEFAULT_$LINE"
3056 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3061 eval "$ac_cv_use_sockets"
3062 if test "$no_cache" != 1; then
3063 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3066 if test "$wxUSE_SOCKETS" = yes; then
3067 echo "$ac_t""yes" 1>&6
3069 echo "$ac_t""no" 1>&6
3074 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3075 echo "configure:3076: checking for --enable-ipc" >&5
3077 # Check whether --enable-ipc or --disable-ipc was given.
3078 if test "${enable_ipc+set}" = set; then
3079 enableval
="$enable_ipc"
3081 if test "$enableval" = yes; then
3082 ac_cv_use_ipc
='wxUSE_IPC=yes'
3084 ac_cv_use_ipc
='wxUSE_IPC=no'
3089 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3101 eval "$ac_cv_use_ipc"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_IPC" = yes; then
3107 echo "$ac_t""yes" 1>&6
3109 echo "$ac_t""no" 1>&6
3114 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3115 echo "configure:3116: checking for --enable-cmdline" >&5
3117 # Check whether --enable-cmdline or --disable-cmdline was given.
3118 if test "${enable_cmdline+set}" = set; then
3119 enableval
="$enable_cmdline"
3121 if test "$enableval" = yes; then
3122 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3124 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3129 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3130 if test "x$LINE" != x
; then
3131 eval "DEFAULT_$LINE"
3136 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3141 eval "$ac_cv_use_cmdline"
3142 if test "$no_cache" != 1; then
3143 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3146 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3147 echo "$ac_t""yes" 1>&6
3149 echo "$ac_t""no" 1>&6
3153 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3154 echo "configure:3155: checking for --enable-datetime" >&5
3156 # Check whether --enable-datetime or --disable-datetime was given.
3157 if test "${enable_datetime+set}" = set; then
3158 enableval
="$enable_datetime"
3160 if test "$enableval" = yes; then
3161 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3163 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3168 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x
; then
3170 eval "DEFAULT_$LINE"
3175 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3180 eval "$ac_cv_use_datetime"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_DATETIME" = yes; then
3186 echo "$ac_t""yes" 1>&6
3188 echo "$ac_t""no" 1>&6
3192 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3193 echo "configure:3194: checking for --enable-timedate" >&5
3195 # Check whether --enable-timedate or --disable-timedate was given.
3196 if test "${enable_timedate+set}" = set; then
3197 enableval
="$enable_timedate"
3199 if test "$enableval" = yes; then
3200 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3202 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3207 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3208 if test "x$LINE" != x
; then
3209 eval "DEFAULT_$LINE"
3214 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3219 eval "$ac_cv_use_timedate"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_TIMEDATE" = yes; then
3225 echo "$ac_t""yes" 1>&6
3227 echo "$ac_t""no" 1>&6
3231 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3232 echo "configure:3233: checking for --enable-stopwatch" >&5
3234 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3235 if test "${enable_stopwatch+set}" = set; then
3236 enableval
="$enable_stopwatch"
3238 if test "$enableval" = yes; then
3239 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3241 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3246 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3258 eval "$ac_cv_use_stopwatch"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_STOPWATCH" = yes; then
3264 echo "$ac_t""yes" 1>&6
3266 echo "$ac_t""no" 1>&6
3270 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3271 echo "configure:3272: checking for --enable-dialupman" >&5
3273 # Check whether --enable-dialupman or --disable-dialupman was given.
3274 if test "${enable_dialupman+set}" = set; then
3275 enableval
="$enable_dialupman"
3277 if test "$enableval" = yes; then
3278 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3280 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3285 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3297 eval "$ac_cv_use_dialupman"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3303 echo "$ac_t""yes" 1>&6
3305 echo "$ac_t""no" 1>&6
3309 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3310 echo "configure:3311: checking for --enable-apple_ieee" >&5
3312 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3313 if test "${enable_apple_ieee+set}" = set; then
3314 enableval
="$enable_apple_ieee"
3316 if test "$enableval" = yes; then
3317 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3319 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3324 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x
; then
3326 eval "DEFAULT_$LINE"
3331 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3336 eval "$ac_cv_use_apple_ieee"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3341 if test "$wxUSE_APPLE_IEEE" = yes; then
3342 echo "$ac_t""yes" 1>&6
3344 echo "$ac_t""no" 1>&6
3348 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3349 echo "configure:3350: checking for --enable-timer" >&5
3351 # Check whether --enable-timer or --disable-timer was given.
3352 if test "${enable_timer+set}" = set; then
3353 enableval
="$enable_timer"
3355 if test "$enableval" = yes; then
3356 ac_cv_use_timer
='wxUSE_TIMER=yes'
3358 ac_cv_use_timer
='wxUSE_TIMER=no'
3363 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3375 eval "$ac_cv_use_timer"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_TIMER" = yes; then
3381 echo "$ac_t""yes" 1>&6
3383 echo "$ac_t""no" 1>&6
3387 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3388 echo "configure:3389: checking for --enable-wave" >&5
3390 # Check whether --enable-wave or --disable-wave was given.
3391 if test "${enable_wave+set}" = set; then
3392 enableval
="$enable_wave"
3394 if test "$enableval" = yes; then
3395 ac_cv_use_wave
='wxUSE_WAVE=yes'
3397 ac_cv_use_wave
='wxUSE_WAVE=no'
3402 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x
; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3414 eval "$ac_cv_use_wave"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_WAVE" = yes; then
3420 echo "$ac_t""yes" 1>&6
3422 echo "$ac_t""no" 1>&6
3426 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3427 echo "configure:3428: checking for --enable-fraction" >&5
3429 # Check whether --enable-fraction or --disable-fraction was given.
3430 if test "${enable_fraction+set}" = set; then
3431 enableval
="$enable_fraction"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3436 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3441 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3453 eval "$ac_cv_use_fraction"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_FRACTION" = yes; then
3459 echo "$ac_t""yes" 1>&6
3461 echo "$ac_t""no" 1>&6
3465 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3466 echo "configure:3467: checking for --enable-dynlib" >&5
3468 # Check whether --enable-dynlib or --disable-dynlib was given.
3469 if test "${enable_dynlib+set}" = set; then
3470 enableval
="$enable_dynlib"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3475 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3480 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3492 eval "$ac_cv_use_dynlib"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3498 echo "$ac_t""yes" 1>&6
3500 echo "$ac_t""no" 1>&6
3504 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3505 echo "configure:3506: checking for --enable-longlong" >&5
3507 # Check whether --enable-longlong or --disable-longlong was given.
3508 if test "${enable_longlong+set}" = set; then
3509 enableval
="$enable_longlong"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3514 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3519 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3531 eval "$ac_cv_use_longlong"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_LONGLONG" = yes; then
3537 echo "$ac_t""yes" 1>&6
3539 echo "$ac_t""no" 1>&6
3543 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3544 echo "configure:3545: checking for --enable-geometry" >&5
3546 # Check whether --enable-geometry or --disable-geometry was given.
3547 if test "${enable_geometry+set}" = set; then
3548 enableval
="$enable_geometry"
3550 if test "$enableval" = yes; then
3551 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3553 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3558 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x
; then
3560 eval "DEFAULT_$LINE"
3565 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3570 eval "$ac_cv_use_geometry"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3575 if test "$wxUSE_GEOMETRY" = yes; then
3576 echo "$ac_t""yes" 1>&6
3578 echo "$ac_t""no" 1>&6
3582 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3583 echo "configure:3584: checking for --enable-log" >&5
3585 # Check whether --enable-log or --disable-log was given.
3586 if test "${enable_log+set}" = set; then
3587 enableval
="$enable_log"
3589 if test "$enableval" = yes; then
3590 ac_cv_use_log
='wxUSE_LOG=yes'
3592 ac_cv_use_log
='wxUSE_LOG=no'
3597 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x
; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3609 eval "$ac_cv_use_log"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_LOG" = yes; then
3615 echo "$ac_t""yes" 1>&6
3617 echo "$ac_t""no" 1>&6
3621 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3622 echo "configure:3623: checking for --enable-streams" >&5
3624 # Check whether --enable-streams or --disable-streams was given.
3625 if test "${enable_streams+set}" = set; then
3626 enableval
="$enable_streams"
3628 if test "$enableval" = yes; then
3629 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3631 ac_cv_use_streams
='wxUSE_STREAMS=no'
3636 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3637 if test "x$LINE" != x
; then
3638 eval "DEFAULT_$LINE"
3643 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3648 eval "$ac_cv_use_streams"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_STREAMS" = yes; then
3654 echo "$ac_t""yes" 1>&6
3656 echo "$ac_t""no" 1>&6
3660 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3661 echo "configure:3662: checking for --enable-file" >&5
3663 # Check whether --enable-file or --disable-file was given.
3664 if test "${enable_file+set}" = set; then
3665 enableval
="$enable_file"
3667 if test "$enableval" = yes; then
3668 ac_cv_use_file
='wxUSE_FILE=yes'
3670 ac_cv_use_file
='wxUSE_FILE=no'
3675 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x
; then
3677 eval "DEFAULT_$LINE"
3682 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3687 eval "$ac_cv_use_file"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3692 if test "$wxUSE_FILE" = yes; then
3693 echo "$ac_t""yes" 1>&6
3695 echo "$ac_t""no" 1>&6
3699 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3700 echo "configure:3701: checking for --enable-ffile" >&5
3702 # Check whether --enable-ffile or --disable-ffile was given.
3703 if test "${enable_ffile+set}" = set; then
3704 enableval
="$enable_ffile"
3706 if test "$enableval" = yes; then
3707 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3709 ac_cv_use_ffile
='wxUSE_FFILE=no'
3714 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x
; then
3716 eval "DEFAULT_$LINE"
3721 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3726 eval "$ac_cv_use_ffile"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_FFILE" = yes; then
3732 echo "$ac_t""yes" 1>&6
3734 echo "$ac_t""no" 1>&6
3738 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3739 echo "configure:3740: checking for --enable-textbuf" >&5
3741 # Check whether --enable-textbuf or --disable-textbuf was given.
3742 if test "${enable_textbuf+set}" = set; then
3743 enableval
="$enable_textbuf"
3745 if test "$enableval" = yes; then
3746 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3748 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3753 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3754 if test "x$LINE" != x
; then
3755 eval "DEFAULT_$LINE"
3760 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3765 eval "$ac_cv_use_textbuf"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3770 if test "$wxUSE_TEXTBUFFER" = yes; then
3771 echo "$ac_t""yes" 1>&6
3773 echo "$ac_t""no" 1>&6
3777 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3778 echo "configure:3779: checking for --enable-textfile" >&5
3780 # Check whether --enable-textfile or --disable-textfile was given.
3781 if test "${enable_textfile+set}" = set; then
3782 enableval
="$enable_textfile"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3787 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3792 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x
; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3804 eval "$ac_cv_use_textfile"
3805 if test "$no_cache" != 1; then
3806 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3809 if test "$wxUSE_TEXTFILE" = yes; then
3810 echo "$ac_t""yes" 1>&6
3812 echo "$ac_t""no" 1>&6
3816 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3817 echo "configure:3818: checking for --enable-fontmap" >&5
3819 # Check whether --enable-fontmap or --disable-fontmap was given.
3820 if test "${enable_fontmap+set}" = set; then
3821 enableval
="$enable_fontmap"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3826 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3831 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3843 eval "$ac_cv_use_fontmap"
3844 if test "$no_cache" != 1; then
3845 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3848 if test "$wxUSE_FONTMAP" = yes; then
3849 echo "$ac_t""yes" 1>&6
3851 echo "$ac_t""no" 1>&6
3855 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3856 echo "configure:3857: checking for --enable-unicode" >&5
3858 # Check whether --enable-unicode or --disable-unicode was given.
3859 if test "${enable_unicode+set}" = set; then
3860 enableval
="$enable_unicode"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3865 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3870 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x
; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3882 eval "$ac_cv_use_unicode"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3887 if test "$wxUSE_UNICODE" = yes; then
3888 echo "$ac_t""yes" 1>&6
3890 echo "$ac_t""no" 1>&6
3894 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3895 echo "configure:3896: checking for --enable-wxprintfv" >&5
3897 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3898 if test "${enable_wxprintfv+set}" = set; then
3899 enableval
="$enable_wxprintfv"
3901 if test "$enableval" = yes; then
3902 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3904 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3909 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x
; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3921 eval "$ac_cv_use_wxprintfv"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3927 echo "$ac_t""yes" 1>&6
3929 echo "$ac_t""no" 1>&6
3933 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3934 echo "configure:3935: checking for --enable-std_iostreams" >&5
3936 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3937 if test "${enable_std_iostreams+set}" = set; then
3938 enableval
="$enable_std_iostreams"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3943 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3948 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x
; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3960 eval "$ac_cv_use_std_iostreams"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_STD_IOSTREAM" = yes; then
3966 echo "$ac_t""yes" 1>&6
3968 echo "$ac_t""no" 1>&6
3972 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3973 echo "configure:3974: checking for --enable-filesystem" >&5
3975 # Check whether --enable-filesystem or --disable-filesystem was given.
3976 if test "${enable_filesystem+set}" = set; then
3977 enableval
="$enable_filesystem"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3982 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3987 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x
; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3999 eval "$ac_cv_use_filesystem"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_FILESYSTEM" = yes; then
4005 echo "$ac_t""yes" 1>&6
4007 echo "$ac_t""no" 1>&6
4011 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4012 echo "configure:4013: checking for --enable-fs_inet" >&5
4014 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4015 if test "${enable_fs_inet+set}" = set; then
4016 enableval
="$enable_fs_inet"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4021 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4026 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x
; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4038 eval "$ac_cv_use_fs_inet"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_FS_INET" = yes; then
4044 echo "$ac_t""yes" 1>&6
4046 echo "$ac_t""no" 1>&6
4050 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4051 echo "configure:4052: checking for --enable-fs_zip" >&5
4053 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4054 if test "${enable_fs_zip+set}" = set; then
4055 enableval
="$enable_fs_zip"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4060 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4065 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4077 eval "$ac_cv_use_fs_zip"
4078 if test "$no_cache" != 1; then
4079 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4082 if test "$wxUSE_FS_ZIP" = yes; then
4083 echo "$ac_t""yes" 1>&6
4085 echo "$ac_t""no" 1>&6
4089 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4090 echo "configure:4091: checking for --enable-zipstream" >&5
4092 # Check whether --enable-zipstream or --disable-zipstream was given.
4093 if test "${enable_zipstream+set}" = set; then
4094 enableval
="$enable_zipstream"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4099 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4104 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4116 eval "$ac_cv_use_zipstream"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4121 if test "$wxUSE_ZIPSTREAM" = yes; then
4122 echo "$ac_t""yes" 1>&6
4124 echo "$ac_t""no" 1>&6
4129 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4130 echo "configure:4131: checking for --enable-catch_segvs" >&5
4132 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4133 if test "${enable_catch_segvs+set}" = set; then
4134 enableval
="$enable_catch_segvs"
4136 if test "$enableval" = yes; then
4137 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4139 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4144 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x
; then
4146 eval "DEFAULT_$LINE"
4151 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4156 eval "$ac_cv_use_catch_segvs"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4162 echo "$ac_t""yes" 1>&6
4164 echo "$ac_t""no" 1>&6
4168 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4169 echo "configure:4170: checking for --enable-snglinst" >&5
4171 # Check whether --enable-snglinst or --disable-snglinst was given.
4172 if test "${enable_snglinst+set}" = set; then
4173 enableval
="$enable_snglinst"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4178 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4183 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x
; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4195 eval "$ac_cv_use_snglinst"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4200 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4201 echo "$ac_t""yes" 1>&6
4203 echo "$ac_t""no" 1>&6
4208 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4209 echo "configure:4210: checking for --enable-mimetype" >&5
4211 # Check whether --enable-mimetype or --disable-mimetype was given.
4212 if test "${enable_mimetype+set}" = set; then
4213 enableval
="$enable_mimetype"
4215 if test "$enableval" = yes; then
4216 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4218 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4223 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x
; then
4225 eval "DEFAULT_$LINE"
4230 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4235 eval "$ac_cv_use_mimetype"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4240 if test "$wxUSE_MIMETYPE" = yes; then
4241 echo "$ac_t""yes" 1>&6
4243 echo "$ac_t""no" 1>&6
4247 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4248 echo "configure:4249: checking for --enable-system_options" >&5
4250 # Check whether --enable-system_options or --disable-system_options was given.
4251 if test "${enable_system_options+set}" = set; then
4252 enableval
="$enable_system_options"
4254 if test "$enableval" = yes; then
4255 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4257 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4262 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x
; then
4264 eval "DEFAULT_$LINE"
4269 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4274 eval "$ac_cv_use_system_options"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4280 echo "$ac_t""yes" 1>&6
4282 echo "$ac_t""no" 1>&6
4288 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4289 echo "configure:4290: checking for --enable-threads" >&5
4291 # Check whether --enable-threads or --disable-threads was given.
4292 if test "${enable_threads+set}" = set; then
4293 enableval
="$enable_threads"
4295 if test "$enableval" = yes; then
4296 ac_cv_use_threads
='wxUSE_THREADS=yes'
4298 ac_cv_use_threads
='wxUSE_THREADS=no'
4303 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x
; then
4305 eval "DEFAULT_$LINE"
4310 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4315 eval "$ac_cv_use_threads"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_THREADS" = yes; then
4321 echo "$ac_t""yes" 1>&6
4323 echo "$ac_t""no" 1>&6
4327 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4328 echo "configure:4329: checking for --enable-serial" >&5
4330 # Check whether --enable-serial or --disable-serial was given.
4331 if test "${enable_serial+set}" = set; then
4332 enableval
="$enable_serial"
4334 if test "$enableval" = yes; then
4335 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4337 ac_cv_use_serial
='wxUSE_SERIAL=no'
4342 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4343 if test "x$LINE" != x
; then
4344 eval "DEFAULT_$LINE"
4349 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4354 eval "$ac_cv_use_serial"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4359 if test "$wxUSE_SERIAL" = yes; then
4360 echo "$ac_t""yes" 1>&6
4362 echo "$ac_t""no" 1>&6
4366 if test "$wxUSE_GUI" = "yes"; then
4370 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4371 echo "configure:4372: checking for --enable-docview" >&5
4373 # Check whether --enable-docview or --disable-docview was given.
4374 if test "${enable_docview+set}" = set; then
4375 enableval
="$enable_docview"
4377 if test "$enableval" = yes; then
4378 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4380 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4385 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x
; then
4387 eval "DEFAULT_$LINE"
4392 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4397 eval "$ac_cv_use_docview"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4403 echo "$ac_t""yes" 1>&6
4405 echo "$ac_t""no" 1>&6
4409 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4410 echo "configure:4411: checking for --enable-help" >&5
4412 # Check whether --enable-help or --disable-help was given.
4413 if test "${enable_help+set}" = set; then
4414 enableval
="$enable_help"
4416 if test "$enableval" = yes; then
4417 ac_cv_use_help
='wxUSE_HELP=yes'
4419 ac_cv_use_help
='wxUSE_HELP=no'
4424 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4436 eval "$ac_cv_use_help"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_HELP" = yes; then
4442 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4448 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4449 echo "configure:4450: checking for --enable-mshtmlhelp" >&5
4451 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4452 if test "${enable_mshtmlhelp+set}" = set; then
4453 enableval
="$enable_mshtmlhelp"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4458 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4463 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4475 eval "$ac_cv_use_mshtmlhelp"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_MS_HTML_HELP" = yes; then
4481 echo "$ac_t""yes" 1>&6
4483 echo "$ac_t""no" 1>&6
4487 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4488 echo "configure:4489: checking for --enable-html" >&5
4490 # Check whether --enable-html or --disable-html was given.
4491 if test "${enable_html+set}" = set; then
4492 enableval
="$enable_html"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_html
='wxUSE_HTML=yes'
4497 ac_cv_use_html
='wxUSE_HTML=no'
4502 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4514 eval "$ac_cv_use_html"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4519 if test "$wxUSE_HTML" = yes; then
4520 echo "$ac_t""yes" 1>&6
4522 echo "$ac_t""no" 1>&6
4526 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4527 echo "configure:4528: checking for --enable-htmlhelp" >&5
4529 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4530 if test "${enable_htmlhelp+set}" = set; then
4531 enableval
="$enable_htmlhelp"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4536 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4541 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x
; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4553 eval "$ac_cv_use_htmlhelp"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_WXHTML_HELP" = yes; then
4559 echo "$ac_t""yes" 1>&6
4561 echo "$ac_t""no" 1>&6
4565 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4566 echo "configure:4567: checking for --enable-constraints" >&5
4568 # Check whether --enable-constraints or --disable-constraints was given.
4569 if test "${enable_constraints+set}" = set; then
4570 enableval
="$enable_constraints"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4575 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4580 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x
; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4592 eval "$ac_cv_use_constraints"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_CONSTRAINTS" = yes; then
4598 echo "$ac_t""yes" 1>&6
4600 echo "$ac_t""no" 1>&6
4604 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4605 echo "configure:4606: checking for --enable-printarch" >&5
4607 # Check whether --enable-printarch or --disable-printarch was given.
4608 if test "${enable_printarch+set}" = set; then
4609 enableval
="$enable_printarch"
4611 if test "$enableval" = yes; then
4612 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4614 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4619 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4631 eval "$ac_cv_use_printarch"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4636 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4637 echo "$ac_t""yes" 1>&6
4639 echo "$ac_t""no" 1>&6
4643 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4644 echo "configure:4645: checking for --enable-mdi" >&5
4646 # Check whether --enable-mdi or --disable-mdi was given.
4647 if test "${enable_mdi+set}" = set; then
4648 enableval
="$enable_mdi"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4653 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4658 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x
; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4670 eval "$ac_cv_use_mdi"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4682 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4683 echo "configure:4684: checking for --enable-loggui" >&5
4685 # Check whether --enable-loggui or --disable-loggui was given.
4686 if test "${enable_loggui+set}" = set; then
4687 enableval
="$enable_loggui"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4692 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4697 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4709 eval "$ac_cv_use_loggui"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4714 if test "$wxUSE_LOGGUI" = yes; then
4715 echo "$ac_t""yes" 1>&6
4717 echo "$ac_t""no" 1>&6
4721 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4722 echo "configure:4723: checking for --enable-logwin" >&5
4724 # Check whether --enable-logwin or --disable-logwin was given.
4725 if test "${enable_logwin+set}" = set; then
4726 enableval
="$enable_logwin"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4731 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4736 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x
; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4748 eval "$ac_cv_use_logwin"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_LOGWINDOW" = yes; then
4754 echo "$ac_t""yes" 1>&6
4756 echo "$ac_t""no" 1>&6
4761 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4762 echo "configure:4763: checking for --enable-postscript" >&5
4764 # Check whether --enable-postscript or --disable-postscript was given.
4765 if test "${enable_postscript+set}" = set; then
4766 enableval
="$enable_postscript"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4771 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4776 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4788 eval "$ac_cv_use_postscript"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4793 if test "$wxUSE_POSTSCRIPT" = yes; then
4794 echo "$ac_t""yes" 1>&6
4796 echo "$ac_t""no" 1>&6
4803 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4804 echo "configure:4805: checking for --enable-prologio" >&5
4806 # Check whether --enable-prologio or --disable-prologio was given.
4807 if test "${enable_prologio+set}" = set; then
4808 enableval
="$enable_prologio"
4810 if test "$enableval" = yes; then
4811 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4813 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4818 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4819 if test "x$LINE" != x
; then
4820 eval "DEFAULT_$LINE"
4825 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4830 eval "$ac_cv_use_prologio"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_PROLOGIO" = yes; then
4836 echo "$ac_t""yes" 1>&6
4838 echo "$ac_t""no" 1>&6
4842 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4843 echo "configure:4844: checking for --enable-resources" >&5
4845 # Check whether --enable-resources or --disable-resources was given.
4846 if test "${enable_resources+set}" = set; then
4847 enableval
="$enable_resources"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4852 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4857 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x
; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4869 eval "$ac_cv_use_resources"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_RESOURCES" = yes; then
4875 echo "$ac_t""yes" 1>&6
4877 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-xresources" >&5
4885 # Check whether --enable-xresources or --disable-xresources was given.
4886 if test "${enable_xresources+set}" = set; then
4887 enableval
="$enable_xresources"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4892 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4897 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4909 eval "$ac_cv_use_xresources"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_X_RESOURCES" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4923 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4924 echo "configure:4925: checking for --enable-clipboard" >&5
4926 # Check whether --enable-clipboard or --disable-clipboard was given.
4927 if test "${enable_clipboard+set}" = set; then
4928 enableval
="$enable_clipboard"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4933 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4938 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4950 eval "$ac_cv_use_clipboard"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_CLIPBOARD" = yes; then
4956 echo "$ac_t""yes" 1>&6
4958 echo "$ac_t""no" 1>&6
4962 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4963 echo "configure:4964: checking for --enable-dnd" >&5
4965 # Check whether --enable-dnd or --disable-dnd was given.
4966 if test "${enable_dnd+set}" = set; then
4967 enableval
="$enable_dnd"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4972 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4977 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4989 eval "$ac_cv_use_dnd"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4995 echo "$ac_t""yes" 1>&6
4997 echo "$ac_t""no" 1>&6
5001 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5002 echo "configure:5003: checking for --enable-metafile" >&5
5004 # Check whether --enable-metafile or --disable-metafile was given.
5005 if test "${enable_metafile+set}" = set; then
5006 enableval
="$enable_metafile"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5011 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5016 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5028 eval "$ac_cv_use_metafile"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_METAFILE" = yes; then
5034 echo "$ac_t""yes" 1>&6
5036 echo "$ac_t""no" 1>&6
5041 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5042 echo "configure:5043: checking for --enable-treelayout" >&5
5044 # Check whether --enable-treelayout or --disable-treelayout was given.
5045 if test "${enable_treelayout+set}" = set; then
5046 enableval
="$enable_treelayout"
5048 if test "$enableval" = yes; then
5049 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5051 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5056 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x
; then
5058 eval "DEFAULT_$LINE"
5063 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5068 eval "$ac_cv_use_treelayout"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_TREELAYOUT" = yes; then
5074 echo "$ac_t""yes" 1>&6
5076 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5083 echo "configure:5084: checking for --enable-controls" >&5
5085 # Check whether --enable-controls or --disable-controls was given.
5086 if test "${enable_controls+set}" = set; then
5087 enableval
="$enable_controls"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5092 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5097 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5109 eval "$ac_cv_use_controls"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_CONTROLS" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5121 if test "$wxUSE_CONTROLS" = "yes"; then
5122 DEFAULT_wxUSE_ACCEL
=yes
5123 DEFAULT_wxUSE_BMPBUTTON
=yes
5124 DEFAULT_wxUSE_BUTTON
=yes
5125 DEFAULT_wxUSE_CALCTRL
=no
5126 DEFAULT_wxUSE_CARET
=yes
5127 DEFAULT_wxUSE_COMBOBOX
=yes
5128 DEFAULT_wxUSE_CHECKBOX
=yes
5129 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5130 DEFAULT_wxUSE_CHOICE
=yes
5131 DEFAULT_wxUSE_GAUGE
=yes
5132 DEFAULT_wxUSE_GRID
=yes
5133 DEFAULT_wxUSE_NEW_GRID
=yes
5134 DEFAULT_wxUSE_IMAGLIST
=yes
5135 DEFAULT_wxUSE_LISTBOX
=yes
5136 DEFAULT_wxUSE_LISTCTRL
=yes
5137 DEFAULT_wxUSE_NOTEBOOK
=yes
5138 DEFAULT_wxUSE_PROPSHEET
=yes
5139 DEFAULT_wxUSE_RADIOBOX
=yes
5140 DEFAULT_wxUSE_RADIOBTN
=yes
5141 DEFAULT_wxUSE_SASH
=yes
5142 DEFAULT_wxUSE_SCROLLBAR
=yes
5143 DEFAULT_wxUSE_SLIDER
=yes
5144 DEFAULT_wxUSE_SPINBTN
=yes
5145 DEFAULT_wxUSE_SPINCTRL
=yes
5146 DEFAULT_wxUSE_SPLITTER
=yes
5147 DEFAULT_wxUSE_STATBMP
=yes
5148 DEFAULT_wxUSE_STATBOX
=yes
5149 DEFAULT_wxUSE_STATLINE
=yes
5150 DEFAULT_wxUSE_STATUSBAR
=yes
5151 DEFAULT_wxUSE_TAB_DIALOG
=yes
5152 DEFAULT_wxUSE_TOGGLEBTN
=yes
5153 DEFAULT_wxUSE_TOOLBAR
=yes
5154 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5155 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5156 DEFAULT_wxUSE_TOOLTIPS
=yes
5157 DEFAULT_wxUSE_TREECTRL
=yes
5158 DEFAULT_wxUSE_POPUPWIN
=yes
5159 elif test "$wxUSE_CONTROLS" = "no"; then
5160 DEFAULT_wxUSE_ACCEL
=no
5161 DEFAULT_wxUSE_BMPBUTTON
=no
5162 DEFAULT_wxUSE_BUTTON
=no
5163 DEFAULT_wxUSE_CALCTRL
=no
5164 DEFAULT_wxUSE_CARET
=no
5165 DEFAULT_wxUSE_COMBOBOX
=no
5166 DEFAULT_wxUSE_CHECKBOX
=no
5167 DEFAULT_wxUSE_CHECKLISTBOX
=no
5168 DEFAULT_wxUSE_CHOICE
=no
5169 DEFAULT_wxUSE_GAUGE
=no
5170 DEFAULT_wxUSE_GRID
=no
5171 DEFAULT_wxUSE_NEW_GRID
=no
5172 DEFAULT_wxUSE_IMAGLIST
=no
5173 DEFAULT_wxUSE_LISTBOX
=no
5174 DEFAULT_wxUSE_LISTCTRL
=no
5175 DEFAULT_wxUSE_NOTEBOOK
=no
5176 DEFAULT_wxUSE_PROPSHEET
=no
5177 DEFAULT_wxUSE_RADIOBOX
=no
5178 DEFAULT_wxUSE_RADIOBTN
=no
5179 DEFAULT_wxUSE_SASH
=no
5180 DEFAULT_wxUSE_SCROLLBAR
=no
5181 DEFAULT_wxUSE_SLIDER
=no
5182 DEFAULT_wxUSE_SPINBTN
=no
5183 DEFAULT_wxUSE_SPINCTRL
=no
5184 DEFAULT_wxUSE_SPLITTER
=no
5185 DEFAULT_wxUSE_STATBMP
=no
5186 DEFAULT_wxUSE_STATBOX
=no
5187 DEFAULT_wxUSE_STATLINE
=no
5188 DEFAULT_wxUSE_STATUSBAR
=no
5189 DEFAULT_wxUSE_TAB_DIALOG
=no
5190 DEFAULT_wxUSE_TOGGLEBTN
=no
5191 DEFAULT_wxUSE_TOOLBAR
=no
5192 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5193 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5194 DEFAULT_wxUSE_TOOLTIPS
=no
5195 DEFAULT_wxUSE_TREECTRL
=no
5196 DEFAULT_wxUSE_POPUPWIN
=no
5200 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5201 echo "configure:5202: checking for --enable-accel" >&5
5203 # Check whether --enable-accel or --disable-accel was given.
5204 if test "${enable_accel+set}" = set; then
5205 enableval
="$enable_accel"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5210 ac_cv_use_accel
='wxUSE_ACCEL=no'
5215 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5227 eval "$ac_cv_use_accel"
5228 if test "$no_cache" != 1; then
5229 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5232 if test "$wxUSE_ACCEL" = yes; then
5233 echo "$ac_t""yes" 1>&6
5235 echo "$ac_t""no" 1>&6
5239 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5240 echo "configure:5241: checking for --enable-button" >&5
5242 # Check whether --enable-button or --disable-button was given.
5243 if test "${enable_button+set}" = set; then
5244 enableval
="$enable_button"
5246 if test "$enableval" = yes; then
5247 ac_cv_use_button
='wxUSE_BUTTON=yes'
5249 ac_cv_use_button
='wxUSE_BUTTON=no'
5254 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x
; then
5256 eval "DEFAULT_$LINE"
5261 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5266 eval "$ac_cv_use_button"
5267 if test "$no_cache" != 1; then
5268 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5271 if test "$wxUSE_BUTTON" = yes; then
5272 echo "$ac_t""yes" 1>&6
5274 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5279 echo "configure:5280: checking for --enable-bmpbutton" >&5
5281 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5282 if test "${enable_bmpbutton+set}" = set; then
5283 enableval
="$enable_bmpbutton"
5285 if test "$enableval" = yes; then
5286 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5288 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5293 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5300 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5305 eval "$ac_cv_use_bmpbutton"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_BMPBUTTON" = yes; then
5311 echo "$ac_t""yes" 1>&6
5313 echo "$ac_t""no" 1>&6
5317 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5318 echo "configure:5319: checking for --enable-calendar" >&5
5320 # Check whether --enable-calendar or --disable-calendar was given.
5321 if test "${enable_calendar+set}" = set; then
5322 enableval
="$enable_calendar"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5327 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5332 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5344 eval "$ac_cv_use_calendar"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_CALCTRL" = yes; then
5350 echo "$ac_t""yes" 1>&6
5352 echo "$ac_t""no" 1>&6
5356 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5357 echo "configure:5358: checking for --enable-caret" >&5
5359 # Check whether --enable-caret or --disable-caret was given.
5360 if test "${enable_caret+set}" = set; then
5361 enableval
="$enable_caret"
5363 if test "$enableval" = yes; then
5364 ac_cv_use_caret
='wxUSE_CARET=yes'
5366 ac_cv_use_caret
='wxUSE_CARET=no'
5371 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5378 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5383 eval "$ac_cv_use_caret"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_CARET" = yes; then
5389 echo "$ac_t""yes" 1>&6
5391 echo "$ac_t""no" 1>&6
5395 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5396 echo "configure:5397: checking for --enable-checkbox" >&5
5398 # Check whether --enable-checkbox or --disable-checkbox was given.
5399 if test "${enable_checkbox+set}" = set; then
5400 enableval
="$enable_checkbox"
5402 if test "$enableval" = yes; then
5403 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5405 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5410 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5411 if test "x$LINE" != x
; then
5412 eval "DEFAULT_$LINE"
5417 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5422 eval "$ac_cv_use_checkbox"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_CHECKBOX" = yes; then
5428 echo "$ac_t""yes" 1>&6
5430 echo "$ac_t""no" 1>&6
5434 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5435 echo "configure:5436: checking for --enable-checklst" >&5
5437 # Check whether --enable-checklst or --disable-checklst was given.
5438 if test "${enable_checklst+set}" = set; then
5439 enableval
="$enable_checklst"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5444 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5449 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5461 eval "$ac_cv_use_checklst"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_CHECKLST" = yes; then
5467 echo "$ac_t""yes" 1>&6
5469 echo "$ac_t""no" 1>&6
5473 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5474 echo "configure:5475: checking for --enable-choice" >&5
5476 # Check whether --enable-choice or --disable-choice was given.
5477 if test "${enable_choice+set}" = set; then
5478 enableval
="$enable_choice"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5483 ac_cv_use_choice
='wxUSE_CHOICE=no'
5488 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5500 eval "$ac_cv_use_choice"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5505 if test "$wxUSE_CHOICE" = yes; then
5506 echo "$ac_t""yes" 1>&6
5508 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5513 echo "configure:5514: checking for --enable-combobox" >&5
5515 # Check whether --enable-combobox or --disable-combobox was given.
5516 if test "${enable_combobox+set}" = set; then
5517 enableval
="$enable_combobox"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5522 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5527 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5539 eval "$ac_cv_use_combobox"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_COMBOBOX" = yes; then
5545 echo "$ac_t""yes" 1>&6
5547 echo "$ac_t""no" 1>&6
5551 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5552 echo "configure:5553: checking for --enable-gauge" >&5
5554 # Check whether --enable-gauge or --disable-gauge was given.
5555 if test "${enable_gauge+set}" = set; then
5556 enableval
="$enable_gauge"
5558 if test "$enableval" = yes; then
5559 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5561 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5566 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x
; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5578 eval "$ac_cv_use_gauge"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_GAUGE" = yes; then
5584 echo "$ac_t""yes" 1>&6
5586 echo "$ac_t""no" 1>&6
5590 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5591 echo "configure:5592: checking for --enable-grid" >&5
5593 # Check whether --enable-grid or --disable-grid was given.
5594 if test "${enable_grid+set}" = set; then
5595 enableval
="$enable_grid"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_grid
='wxUSE_GRID=yes'
5600 ac_cv_use_grid
='wxUSE_GRID=no'
5605 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x
; then
5607 eval "DEFAULT_$LINE"
5612 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5617 eval "$ac_cv_use_grid"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_GRID" = yes; then
5623 echo "$ac_t""yes" 1>&6
5625 echo "$ac_t""no" 1>&6
5629 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5630 echo "configure:5631: checking for --enable-newgrid" >&5
5632 # Check whether --enable-newgrid or --disable-newgrid was given.
5633 if test "${enable_newgrid+set}" = set; then
5634 enableval
="$enable_newgrid"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5639 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5644 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5656 eval "$ac_cv_use_newgrid"
5657 if test "$no_cache" != 1; then
5658 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5661 if test "$wxUSE_NEW_GRID" = yes; then
5662 echo "$ac_t""yes" 1>&6
5664 echo "$ac_t""no" 1>&6
5668 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5669 echo "configure:5670: checking for --enable-imaglist" >&5
5671 # Check whether --enable-imaglist or --disable-imaglist was given.
5672 if test "${enable_imaglist+set}" = set; then
5673 enableval
="$enable_imaglist"
5675 if test "$enableval" = yes; then
5676 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5678 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5683 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5684 if test "x$LINE" != x
; then
5685 eval "DEFAULT_$LINE"
5690 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5695 eval "$ac_cv_use_imaglist"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5700 if test "$wxUSE_IMAGLIST" = yes; then
5701 echo "$ac_t""yes" 1>&6
5703 echo "$ac_t""no" 1>&6
5707 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5708 echo "configure:5709: checking for --enable-listbox" >&5
5710 # Check whether --enable-listbox or --disable-listbox was given.
5711 if test "${enable_listbox+set}" = set; then
5712 enableval
="$enable_listbox"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5717 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5722 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5734 eval "$ac_cv_use_listbox"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_LISTBOX" = yes; then
5740 echo "$ac_t""yes" 1>&6
5742 echo "$ac_t""no" 1>&6
5746 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5747 echo "configure:5748: checking for --enable-listctrl" >&5
5749 # Check whether --enable-listctrl or --disable-listctrl was given.
5750 if test "${enable_listctrl+set}" = set; then
5751 enableval
="$enable_listctrl"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5756 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5761 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5773 eval "$ac_cv_use_listctrl"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_LISTCTRL" = yes; then
5779 echo "$ac_t""yes" 1>&6
5781 echo "$ac_t""no" 1>&6
5785 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5786 echo "configure:5787: checking for --enable-notebook" >&5
5788 # Check whether --enable-notebook or --disable-notebook was given.
5789 if test "${enable_notebook+set}" = set; then
5790 enableval
="$enable_notebook"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5795 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5800 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5812 eval "$ac_cv_use_notebook"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_NOTEBOOK" = yes; then
5818 echo "$ac_t""yes" 1>&6
5820 echo "$ac_t""no" 1>&6
5824 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5825 echo "configure:5826: checking for --enable-propsheet" >&5
5827 # Check whether --enable-propsheet or --disable-propsheet was given.
5828 if test "${enable_propsheet+set}" = set; then
5829 enableval
="$enable_propsheet"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5834 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5839 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5851 eval "$ac_cv_use_propsheet"
5852 if test "$no_cache" != 1; then
5853 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5856 if test "$wxUSE_PROPSHEET" = yes; then
5857 echo "$ac_t""yes" 1>&6
5859 echo "$ac_t""no" 1>&6
5863 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5864 echo "configure:5865: checking for --enable-radiobox" >&5
5866 # Check whether --enable-radiobox or --disable-radiobox was given.
5867 if test "${enable_radiobox+set}" = set; then
5868 enableval
="$enable_radiobox"
5870 if test "$enableval" = yes; then
5871 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5873 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5878 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5879 if test "x$LINE" != x
; then
5880 eval "DEFAULT_$LINE"
5885 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5890 eval "$ac_cv_use_radiobox"
5891 if test "$no_cache" != 1; then
5892 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5895 if test "$wxUSE_RADIOBOX" = yes; then
5896 echo "$ac_t""yes" 1>&6
5898 echo "$ac_t""no" 1>&6
5902 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5903 echo "configure:5904: checking for --enable-radiobtn" >&5
5905 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5906 if test "${enable_radiobtn+set}" = set; then
5907 enableval
="$enable_radiobtn"
5909 if test "$enableval" = yes; then
5910 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5912 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5917 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x
; then
5919 eval "DEFAULT_$LINE"
5924 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5929 eval "$ac_cv_use_radiobtn"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_RADIOBTN" = yes; then
5935 echo "$ac_t""yes" 1>&6
5937 echo "$ac_t""no" 1>&6
5941 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5942 echo "configure:5943: checking for --enable-sash" >&5
5944 # Check whether --enable-sash or --disable-sash was given.
5945 if test "${enable_sash+set}" = set; then
5946 enableval
="$enable_sash"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_sash
='wxUSE_SASH=yes'
5951 ac_cv_use_sash
='wxUSE_SASH=no'
5956 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x
; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5968 eval "$ac_cv_use_sash"
5969 if test "$no_cache" != 1; then
5970 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5973 if test "$wxUSE_SASH" = yes; then
5974 echo "$ac_t""yes" 1>&6
5976 echo "$ac_t""no" 1>&6
5980 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5981 echo "configure:5982: checking for --enable-scrollbar" >&5
5983 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5984 if test "${enable_scrollbar+set}" = set; then
5985 enableval
="$enable_scrollbar"
5987 if test "$enableval" = yes; then
5988 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5990 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5995 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x
; then
5997 eval "DEFAULT_$LINE"
6002 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6007 eval "$ac_cv_use_scrollbar"
6008 if test "$no_cache" != 1; then
6009 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6012 if test "$wxUSE_SCROLLBAR" = yes; then
6013 echo "$ac_t""yes" 1>&6
6015 echo "$ac_t""no" 1>&6
6019 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6020 echo "configure:6021: checking for --enable-slider" >&5
6022 # Check whether --enable-slider or --disable-slider was given.
6023 if test "${enable_slider+set}" = set; then
6024 enableval
="$enable_slider"
6026 if test "$enableval" = yes; then
6027 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6029 ac_cv_use_slider
='wxUSE_SLIDER=no'
6034 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x
; then
6036 eval "DEFAULT_$LINE"
6041 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6046 eval "$ac_cv_use_slider"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6051 if test "$wxUSE_SLIDER" = yes; then
6052 echo "$ac_t""yes" 1>&6
6054 echo "$ac_t""no" 1>&6
6058 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6059 echo "configure:6060: checking for --enable-spinbtn" >&5
6061 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6062 if test "${enable_spinbtn+set}" = set; then
6063 enableval
="$enable_spinbtn"
6065 if test "$enableval" = yes; then
6066 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6068 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6073 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x
; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6085 eval "$ac_cv_use_spinbtn"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6090 if test "$wxUSE_SPINBTN" = yes; then
6091 echo "$ac_t""yes" 1>&6
6093 echo "$ac_t""no" 1>&6
6097 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6098 echo "configure:6099: checking for --enable-spinctrl" >&5
6100 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6101 if test "${enable_spinctrl+set}" = set; then
6102 enableval
="$enable_spinctrl"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6107 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6112 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6124 eval "$ac_cv_use_spinctrl"
6125 if test "$no_cache" != 1; then
6126 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6129 if test "$wxUSE_SPINCTRL" = yes; then
6130 echo "$ac_t""yes" 1>&6
6132 echo "$ac_t""no" 1>&6
6136 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6137 echo "configure:6138: checking for --enable-splitter" >&5
6139 # Check whether --enable-splitter or --disable-splitter was given.
6140 if test "${enable_splitter+set}" = set; then
6141 enableval
="$enable_splitter"
6143 if test "$enableval" = yes; then
6144 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6146 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6151 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6152 if test "x$LINE" != x
; then
6153 eval "DEFAULT_$LINE"
6158 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6163 eval "$ac_cv_use_splitter"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_SPLITTER" = yes; then
6169 echo "$ac_t""yes" 1>&6
6171 echo "$ac_t""no" 1>&6
6175 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6176 echo "configure:6177: checking for --enable-statbmp" >&5
6178 # Check whether --enable-statbmp or --disable-statbmp was given.
6179 if test "${enable_statbmp+set}" = set; then
6180 enableval
="$enable_statbmp"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6185 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6190 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x
; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6202 eval "$ac_cv_use_statbmp"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_STATBMP" = yes; then
6208 echo "$ac_t""yes" 1>&6
6210 echo "$ac_t""no" 1>&6
6214 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6215 echo "configure:6216: checking for --enable-statbox" >&5
6217 # Check whether --enable-statbox or --disable-statbox was given.
6218 if test "${enable_statbox+set}" = set; then
6219 enableval
="$enable_statbox"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6224 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6229 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6241 eval "$ac_cv_use_statbox"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6246 if test "$wxUSE_STATBOX" = yes; then
6247 echo "$ac_t""yes" 1>&6
6249 echo "$ac_t""no" 1>&6
6253 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6254 echo "configure:6255: checking for --enable-statline" >&5
6256 # Check whether --enable-statline or --disable-statline was given.
6257 if test "${enable_statline+set}" = set; then
6258 enableval
="$enable_statline"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6263 ac_cv_use_statline
='wxUSE_STATLINE=no'
6268 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x
; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6280 eval "$ac_cv_use_statline"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_STATLINE" = yes; then
6286 echo "$ac_t""yes" 1>&6
6288 echo "$ac_t""no" 1>&6
6292 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6293 echo "configure:6294: checking for --enable-stattext" >&5
6295 # Check whether --enable-stattext or --disable-stattext was given.
6296 if test "${enable_stattext+set}" = set; then
6297 enableval
="$enable_stattext"
6299 if test "$enableval" = yes; then
6300 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6302 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6307 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x
; then
6309 eval "DEFAULT_$LINE"
6314 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6319 eval "$ac_cv_use_stattext"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6324 if test "$wxUSE_STATTEXT" = yes; then
6325 echo "$ac_t""yes" 1>&6
6327 echo "$ac_t""no" 1>&6
6331 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6332 echo "configure:6333: checking for --enable-statusbar" >&5
6334 # Check whether --enable-statusbar or --disable-statusbar was given.
6335 if test "${enable_statusbar+set}" = set; then
6336 enableval
="$enable_statusbar"
6338 if test "$enableval" = yes; then
6339 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6341 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6346 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x
; then
6348 eval "DEFAULT_$LINE"
6353 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6358 eval "$ac_cv_use_statusbar"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6363 if test "$wxUSE_STATUSBAR" = yes; then
6364 echo "$ac_t""yes" 1>&6
6366 echo "$ac_t""no" 1>&6
6370 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6371 echo "configure:6372: checking for --enable-tabdialog" >&5
6373 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6374 if test "${enable_tabdialog+set}" = set; then
6375 enableval
="$enable_tabdialog"
6377 if test "$enableval" = yes; then
6378 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6380 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6385 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6386 if test "x$LINE" != x
; then
6387 eval "DEFAULT_$LINE"
6392 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6397 eval "$ac_cv_use_tabdialog"
6398 if test "$no_cache" != 1; then
6399 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6402 if test "$wxUSE_TABDIALOG" = yes; then
6403 echo "$ac_t""yes" 1>&6
6405 echo "$ac_t""no" 1>&6
6409 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6410 echo "configure:6411: checking for --enable-textctrl" >&5
6412 # Check whether --enable-textctrl or --disable-textctrl was given.
6413 if test "${enable_textctrl+set}" = set; then
6414 enableval
="$enable_textctrl"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6419 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6424 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6436 eval "$ac_cv_use_textctrl"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6441 if test "$wxUSE_TEXTCTRL" = yes; then
6442 echo "$ac_t""yes" 1>&6
6444 echo "$ac_t""no" 1>&6
6448 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6449 echo "configure:6450: checking for --enable-togglebtn" >&5
6451 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6452 if test "${enable_togglebtn+set}" = set; then
6453 enableval
="$enable_togglebtn"
6455 if test "$enableval" = yes; then
6456 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6458 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6463 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6464 if test "x$LINE" != x
; then
6465 eval "DEFAULT_$LINE"
6470 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6475 eval "$ac_cv_use_togglebtn"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6480 if test "$wxUSE_TOGGLEBTN" = yes; then
6481 echo "$ac_t""yes" 1>&6
6483 echo "$ac_t""no" 1>&6
6487 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6488 echo "configure:6489: checking for --enable-toolbar" >&5
6490 # Check whether --enable-toolbar or --disable-toolbar was given.
6491 if test "${enable_toolbar+set}" = set; then
6492 enableval
="$enable_toolbar"
6494 if test "$enableval" = yes; then
6495 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6497 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6502 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x
; then
6504 eval "DEFAULT_$LINE"
6509 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6514 eval "$ac_cv_use_toolbar"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6519 if test "$wxUSE_TOOLBAR" = yes; then
6520 echo "$ac_t""yes" 1>&6
6522 echo "$ac_t""no" 1>&6
6526 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6527 echo "configure:6528: checking for --enable-tbarnative" >&5
6529 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6530 if test "${enable_tbarnative+set}" = set; then
6531 enableval
="$enable_tbarnative"
6533 if test "$enableval" = yes; then
6534 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6536 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6541 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x
; then
6543 eval "DEFAULT_$LINE"
6548 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6553 eval "$ac_cv_use_tbarnative"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6558 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6559 echo "$ac_t""yes" 1>&6
6561 echo "$ac_t""no" 1>&6
6565 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6566 echo "configure:6567: checking for --enable-tbarsmpl" >&5
6568 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6569 if test "${enable_tbarsmpl+set}" = set; then
6570 enableval
="$enable_tbarsmpl"
6572 if test "$enableval" = yes; then
6573 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6575 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6580 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x
; then
6582 eval "DEFAULT_$LINE"
6587 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6592 eval "$ac_cv_use_tbarsmpl"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6597 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6598 echo "$ac_t""yes" 1>&6
6600 echo "$ac_t""no" 1>&6
6604 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6605 echo "configure:6606: checking for --enable-treectrl" >&5
6607 # Check whether --enable-treectrl or --disable-treectrl was given.
6608 if test "${enable_treectrl+set}" = set; then
6609 enableval
="$enable_treectrl"
6611 if test "$enableval" = yes; then
6612 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6614 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6619 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6620 if test "x$LINE" != x
; then
6621 eval "DEFAULT_$LINE"
6626 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6631 eval "$ac_cv_use_treectrl"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_TREECTRL" = yes; then
6637 echo "$ac_t""yes" 1>&6
6639 echo "$ac_t""no" 1>&6
6643 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6644 echo "configure:6645: checking for --enable-popupwin" >&5
6646 # Check whether --enable-popupwin or --disable-popupwin was given.
6647 if test "${enable_popupwin+set}" = set; then
6648 enableval
="$enable_popupwin"
6650 if test "$enableval" = yes; then
6651 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6653 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6658 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x
; then
6660 eval "DEFAULT_$LINE"
6665 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6670 eval "$ac_cv_use_popupwin"
6671 if test "$no_cache" != 1; then
6672 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6675 if test "$wxUSE_POPUPWIN" = yes; then
6676 echo "$ac_t""yes" 1>&6
6678 echo "$ac_t""no" 1>&6
6684 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6685 echo "configure:6686: checking for --enable-commondlg" >&5
6687 # Check whether --enable-commondlg or --disable-commondlg was given.
6688 if test "${enable_commondlg+set}" = set; then
6689 enableval
="$enable_commondlg"
6691 if test "$enableval" = yes; then
6692 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6694 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6699 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x
; then
6701 eval "DEFAULT_$LINE"
6706 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6711 eval "$ac_cv_use_commondlg"
6712 if test "$no_cache" != 1; then
6713 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6716 if test "$wxUSE_COMMONDLGS" = yes; then
6717 echo "$ac_t""yes" 1>&6
6719 echo "$ac_t""no" 1>&6
6723 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6724 echo "configure:6725: checking for --enable-choicedlg" >&5
6726 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6727 if test "${enable_choicedlg+set}" = set; then
6728 enableval
="$enable_choicedlg"
6730 if test "$enableval" = yes; then
6731 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6733 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6738 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6739 if test "x$LINE" != x
; then
6740 eval "DEFAULT_$LINE"
6745 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6750 eval "$ac_cv_use_choicedlg"
6751 if test "$no_cache" != 1; then
6752 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6755 if test "$wxUSE_CHOICEDLG" = yes; then
6756 echo "$ac_t""yes" 1>&6
6758 echo "$ac_t""no" 1>&6
6762 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6763 echo "configure:6764: checking for --enable-coldlg" >&5
6765 # Check whether --enable-coldlg or --disable-coldlg was given.
6766 if test "${enable_coldlg+set}" = set; then
6767 enableval
="$enable_coldlg"
6769 if test "$enableval" = yes; then
6770 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6772 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6777 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6778 if test "x$LINE" != x
; then
6779 eval "DEFAULT_$LINE"
6784 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6789 eval "$ac_cv_use_coldlg"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6794 if test "$wxUSE_COLOURDLG" = yes; then
6795 echo "$ac_t""yes" 1>&6
6797 echo "$ac_t""no" 1>&6
6801 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6802 echo "configure:6803: checking for --enable-filedlg" >&5
6804 # Check whether --enable-filedlg or --disable-filedlg was given.
6805 if test "${enable_filedlg+set}" = set; then
6806 enableval
="$enable_filedlg"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6811 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6816 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6828 eval "$ac_cv_use_filedlg"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_FILEDLG" = yes; then
6834 echo "$ac_t""yes" 1>&6
6836 echo "$ac_t""no" 1>&6
6840 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6841 echo "configure:6842: checking for --enable-filedlg" >&5
6843 # Check whether --enable-filedlg or --disable-filedlg was given.
6844 if test "${enable_filedlg+set}" = set; then
6845 enableval
="$enable_filedlg"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6850 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6855 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6867 eval "$ac_cv_use_filedlg"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6872 if test "$wxUSE_FINDREPLDLG" = yes; then
6873 echo "$ac_t""yes" 1>&6
6875 echo "$ac_t""no" 1>&6
6879 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6880 echo "configure:6881: checking for --enable-fontdlg" >&5
6882 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6883 if test "${enable_fontdlg+set}" = set; then
6884 enableval
="$enable_fontdlg"
6886 if test "$enableval" = yes; then
6887 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6889 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6894 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x
; then
6896 eval "DEFAULT_$LINE"
6901 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6906 eval "$ac_cv_use_fontdlg"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_FONTDLG" = yes; then
6912 echo "$ac_t""yes" 1>&6
6914 echo "$ac_t""no" 1>&6
6918 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6919 echo "configure:6920: checking for --enable-dirdlg" >&5
6921 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6922 if test "${enable_dirdlg+set}" = set; then
6923 enableval
="$enable_dirdlg"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6928 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6933 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6945 eval "$ac_cv_use_dirdlg"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_DIRDLG" = yes; then
6951 echo "$ac_t""yes" 1>&6
6953 echo "$ac_t""no" 1>&6
6957 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6958 echo "configure:6959: checking for --enable-msgdlg" >&5
6960 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6961 if test "${enable_msgdlg+set}" = set; then
6962 enableval
="$enable_msgdlg"
6964 if test "$enableval" = yes; then
6965 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6967 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6972 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6973 if test "x$LINE" != x
; then
6974 eval "DEFAULT_$LINE"
6979 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6984 eval "$ac_cv_use_msgdlg"
6985 if test "$no_cache" != 1; then
6986 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6989 if test "$wxUSE_MSGDLG" = yes; then
6990 echo "$ac_t""yes" 1>&6
6992 echo "$ac_t""no" 1>&6
6996 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6997 echo "configure:6998: checking for --enable-numberdlg" >&5
6999 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7000 if test "${enable_numberdlg+set}" = set; then
7001 enableval
="$enable_numberdlg"
7003 if test "$enableval" = yes; then
7004 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7006 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7011 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7012 if test "x$LINE" != x
; then
7013 eval "DEFAULT_$LINE"
7018 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7023 eval "$ac_cv_use_numberdlg"
7024 if test "$no_cache" != 1; then
7025 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7028 if test "$wxUSE_NUMBERDLG" = yes; then
7029 echo "$ac_t""yes" 1>&6
7031 echo "$ac_t""no" 1>&6
7035 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7036 echo "configure:7037: checking for --enable-splash" >&5
7038 # Check whether --enable-splash or --disable-splash was given.
7039 if test "${enable_splash+set}" = set; then
7040 enableval
="$enable_splash"
7042 if test "$enableval" = yes; then
7043 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7045 ac_cv_use_splash
='wxUSE_SPLASH=no'
7050 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7051 if test "x$LINE" != x
; then
7052 eval "DEFAULT_$LINE"
7057 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7062 eval "$ac_cv_use_splash"
7063 if test "$no_cache" != 1; then
7064 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7067 if test "$wxUSE_SPLASH" = yes; then
7068 echo "$ac_t""yes" 1>&6
7070 echo "$ac_t""no" 1>&6
7074 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7075 echo "configure:7076: checking for --enable-textdlg" >&5
7077 # Check whether --enable-textdlg or --disable-textdlg was given.
7078 if test "${enable_textdlg+set}" = set; then
7079 enableval
="$enable_textdlg"
7081 if test "$enableval" = yes; then
7082 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7084 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7089 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x
; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7101 eval "$ac_cv_use_textdlg"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7106 if test "$wxUSE_TEXTDLG" = yes; then
7107 echo "$ac_t""yes" 1>&6
7109 echo "$ac_t""no" 1>&6
7113 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7114 echo "configure:7115: checking for --enable-tipdlg" >&5
7116 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7117 if test "${enable_tipdlg+set}" = set; then
7118 enableval
="$enable_tipdlg"
7120 if test "$enableval" = yes; then
7121 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7123 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7128 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7129 if test "x$LINE" != x
; then
7130 eval "DEFAULT_$LINE"
7135 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7140 eval "$ac_cv_use_tipdlg"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7145 if test "$wxUSE_STARTUP_TIPS" = yes; then
7146 echo "$ac_t""yes" 1>&6
7148 echo "$ac_t""no" 1>&6
7152 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7153 echo "configure:7154: checking for --enable-progressdlg" >&5
7155 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7156 if test "${enable_progressdlg+set}" = set; then
7157 enableval
="$enable_progressdlg"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7162 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7167 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x
; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7179 eval "$ac_cv_use_progressdlg"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_PROGRESSDLG" = yes; then
7185 echo "$ac_t""yes" 1>&6
7187 echo "$ac_t""no" 1>&6
7191 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7192 echo "configure:7193: checking for --enable-wizarddlg" >&5
7194 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7195 if test "${enable_wizarddlg+set}" = set; then
7196 enableval
="$enable_wizarddlg"
7198 if test "$enableval" = yes; then
7199 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7201 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7206 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7207 if test "x$LINE" != x
; then
7208 eval "DEFAULT_$LINE"
7213 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7218 eval "$ac_cv_use_wizarddlg"
7219 if test "$no_cache" != 1; then
7220 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7223 if test "$wxUSE_WIZARDDLG" = yes; then
7224 echo "$ac_t""yes" 1>&6
7226 echo "$ac_t""no" 1>&6
7232 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7233 echo "configure:7234: checking for --enable-menus" >&5
7235 # Check whether --enable-menus or --disable-menus was given.
7236 if test "${enable_menus+set}" = set; then
7237 enableval
="$enable_menus"
7239 if test "$enableval" = yes; then
7240 ac_cv_use_menus
='wxUSE_MENUS=yes'
7242 ac_cv_use_menus
='wxUSE_MENUS=no'
7247 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x
; then
7249 eval "DEFAULT_$LINE"
7254 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7259 eval "$ac_cv_use_menus"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7264 if test "$wxUSE_MENUS" = yes; then
7265 echo "$ac_t""yes" 1>&6
7267 echo "$ac_t""no" 1>&6
7271 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7272 echo "configure:7273: checking for --enable-miniframe" >&5
7274 # Check whether --enable-miniframe or --disable-miniframe was given.
7275 if test "${enable_miniframe+set}" = set; then
7276 enableval
="$enable_miniframe"
7278 if test "$enableval" = yes; then
7279 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7281 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7286 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7287 if test "x$LINE" != x
; then
7288 eval "DEFAULT_$LINE"
7293 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7298 eval "$ac_cv_use_miniframe"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7303 if test "$wxUSE_MINIFRAME" = yes; then
7304 echo "$ac_t""yes" 1>&6
7306 echo "$ac_t""no" 1>&6
7310 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7311 echo "configure:7312: checking for --enable-tooltips" >&5
7313 # Check whether --enable-tooltips or --disable-tooltips was given.
7314 if test "${enable_tooltips+set}" = set; then
7315 enableval
="$enable_tooltips"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7320 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7325 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7337 eval "$ac_cv_use_tooltips"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7342 if test "$wxUSE_TOOLTIPS" = yes; then
7343 echo "$ac_t""yes" 1>&6
7345 echo "$ac_t""no" 1>&6
7349 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7350 echo "configure:7351: checking for --enable-splines" >&5
7352 # Check whether --enable-splines or --disable-splines was given.
7353 if test "${enable_splines+set}" = set; then
7354 enableval
="$enable_splines"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7359 ac_cv_use_splines
='wxUSE_SPLINES=no'
7364 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x
; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7376 eval "$ac_cv_use_splines"
7377 if test "$no_cache" != 1; then
7378 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7381 if test "$wxUSE_SPLINES" = yes; then
7382 echo "$ac_t""yes" 1>&6
7384 echo "$ac_t""no" 1>&6
7388 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7389 echo "configure:7390: checking for --enable-validators" >&5
7391 # Check whether --enable-validators or --disable-validators was given.
7392 if test "${enable_validators+set}" = set; then
7393 enableval
="$enable_validators"
7395 if test "$enableval" = yes; then
7396 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7398 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7403 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x
; then
7405 eval "DEFAULT_$LINE"
7410 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7415 eval "$ac_cv_use_validators"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7420 if test "$wxUSE_VALIDATORS" = yes; then
7421 echo "$ac_t""yes" 1>&6
7423 echo "$ac_t""no" 1>&6
7427 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7428 echo "configure:7429: checking for --enable-busyinfo" >&5
7430 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7431 if test "${enable_busyinfo+set}" = set; then
7432 enableval
="$enable_busyinfo"
7434 if test "$enableval" = yes; then
7435 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7437 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7442 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x
; then
7444 eval "DEFAULT_$LINE"
7449 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7454 eval "$ac_cv_use_busyinfo"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7459 if test "$wxUSE_BUSYINFO" = yes; then
7460 echo "$ac_t""yes" 1>&6
7462 echo "$ac_t""no" 1>&6
7466 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7467 echo "configure:7468: checking for --enable-joystick" >&5
7469 # Check whether --enable-joystick or --disable-joystick was given.
7470 if test "${enable_joystick+set}" = set; then
7471 enableval
="$enable_joystick"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7476 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7481 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7493 eval "$ac_cv_use_joystick"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_JOYSTICK" = yes; then
7499 echo "$ac_t""yes" 1>&6
7501 echo "$ac_t""no" 1>&6
7505 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7506 echo "configure:7507: checking for --enable-metafile" >&5
7508 # Check whether --enable-metafile or --disable-metafile was given.
7509 if test "${enable_metafile+set}" = set; then
7510 enableval
="$enable_metafile"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7515 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7520 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7532 eval "$ac_cv_use_metafile"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7537 if test "$wxUSE_METAFILE" = yes; then
7538 echo "$ac_t""yes" 1>&6
7540 echo "$ac_t""no" 1>&6
7544 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7545 echo "configure:7546: checking for --enable-dragimage" >&5
7547 # Check whether --enable-dragimage or --disable-dragimage was given.
7548 if test "${enable_dragimage+set}" = set; then
7549 enableval
="$enable_dragimage"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7554 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7559 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7571 eval "$ac_cv_use_dragimage"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_DRAGIMAGE" = yes; then
7577 echo "$ac_t""yes" 1>&6
7579 echo "$ac_t""no" 1>&6
7585 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7586 echo "configure:7587: checking for --enable-palette" >&5
7588 # Check whether --enable-palette or --disable-palette was given.
7589 if test "${enable_palette+set}" = set; then
7590 enableval
="$enable_palette"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7595 ac_cv_use_palette
='wxUSE_PALETTE=no'
7600 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7612 eval "$ac_cv_use_palette"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_PALETTE" = yes; then
7618 echo "$ac_t""yes" 1>&6
7620 echo "$ac_t""no" 1>&6
7624 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7625 echo "configure:7626: checking for --enable-image" >&5
7627 # Check whether --enable-image or --disable-image was given.
7628 if test "${enable_image+set}" = set; then
7629 enableval
="$enable_image"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_image
='wxUSE_IMAGE=yes'
7634 ac_cv_use_image
='wxUSE_IMAGE=no'
7639 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7651 eval "$ac_cv_use_image"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_IMAGE" = yes; then
7657 echo "$ac_t""yes" 1>&6
7659 echo "$ac_t""no" 1>&6
7663 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7664 echo "configure:7665: checking for --enable-gif" >&5
7666 # Check whether --enable-gif or --disable-gif was given.
7667 if test "${enable_gif+set}" = set; then
7668 enableval
="$enable_gif"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_gif
='wxUSE_GIF=yes'
7673 ac_cv_use_gif
='wxUSE_GIF=no'
7678 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x
; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7690 eval "$ac_cv_use_gif"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_GIF" = yes; then
7696 echo "$ac_t""yes" 1>&6
7698 echo "$ac_t""no" 1>&6
7702 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7703 echo "configure:7704: checking for --enable-pcx" >&5
7705 # Check whether --enable-pcx or --disable-pcx was given.
7706 if test "${enable_pcx+set}" = set; then
7707 enableval
="$enable_pcx"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_pcx
='wxUSE_PCX=yes'
7712 ac_cv_use_pcx
='wxUSE_PCX=no'
7717 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7729 eval "$ac_cv_use_pcx"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_PCX" = yes; then
7735 echo "$ac_t""yes" 1>&6
7737 echo "$ac_t""no" 1>&6
7741 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7742 echo "configure:7743: checking for --enable-pnm" >&5
7744 # Check whether --enable-pnm or --disable-pnm was given.
7745 if test "${enable_pnm+set}" = set; then
7746 enableval
="$enable_pnm"
7748 if test "$enableval" = yes; then
7749 ac_cv_use_pnm
='wxUSE_PNM=yes'
7751 ac_cv_use_pnm
='wxUSE_PNM=no'
7756 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x
; then
7758 eval "DEFAULT_$LINE"
7763 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7768 eval "$ac_cv_use_pnm"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_PNM" = yes; then
7774 echo "$ac_t""yes" 1>&6
7776 echo "$ac_t""no" 1>&6
7780 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7781 echo "configure:7782: checking for --enable-pnm" >&5
7783 # Check whether --enable-pnm or --disable-pnm was given.
7784 if test "${enable_pnm+set}" = set; then
7785 enableval
="$enable_pnm"
7787 if test "$enableval" = yes; then
7788 ac_cv_use_pnm
='wxUSE_XPM=yes'
7790 ac_cv_use_pnm
='wxUSE_XPM=no'
7795 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7796 if test "x$LINE" != x
; then
7797 eval "DEFAULT_$LINE"
7802 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7807 eval "$ac_cv_use_pnm"
7808 if test "$no_cache" != 1; then
7809 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7812 if test "$wxUSE_XPM" = yes; then
7813 echo "$ac_t""yes" 1>&6
7815 echo "$ac_t""no" 1>&6
7822 echo "saving argument cache $wx_arg_cache_file"
7823 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7827 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7828 echo "configure:7829: checking for toolkit" >&5
7830 if test "$wxUSE_GUI" = "yes"; then
7832 if test "$USE_BEOS" = 1; then
7833 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7836 if test "$TOOLKIT_GIVEN" = 1; then
7837 for toolkit
in `echo $ALL_TOOLKITS`; do
7839 eval "value=\$${var}"
7840 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7843 for toolkit
in `echo $ALL_TOOLKITS`; do
7844 if test "$has_toolkit_in_cache" != 1; then
7845 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7847 var
=DEFAULT_wxUSE_
$toolkit
7849 eval "wxUSE_$toolkit=\$${var}"
7853 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7854 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7857 *-pc-os2_emx | *-pc-os2-emx )
7858 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7859 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7868 case "$NUM_TOOLKITS" in
7872 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7875 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7878 for toolkit
in `echo $ALL_TOOLKITS`; do
7880 eval "value=\$${var}"
7881 if test "x$value" != x
; then
7882 cache_var
=CACHE_
$toolkit
7883 eval "cache=\$${cache_var}"
7884 if test "$cache" = 1; then
7885 echo "$var=$value" >> ${wx_arg_cache_file}
7887 if test "$value" = 1; then
7888 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7889 echo "$ac_t""$toolkit_echo" 1>&6
7895 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7899 cat > confcache
<<\EOF
7900 # This file is a shell script that caches the results of configure
7901 # tests run on this system so they can be shared between configure
7902 # scripts and configure runs. It is not useful on other systems.
7903 # If it contains results you don't want to keep, you may remove or edit it.
7905 # By default, configure uses ./config.cache as the cache file,
7906 # creating it if it does not exist already. You can give configure
7907 # the --cache-file=FILE option to use a different cache file; that is
7908 # what configure does when it calls configure scripts in
7909 # subdirectories, so they share the cache.
7910 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7911 # config.status only pays attention to the cache file if you give it the
7912 # --recheck option to rerun configure.
7915 # The following way of writing the cache mishandles newlines in values,
7916 # but we know of no workaround that is simple, portable, and efficient.
7917 # So, don't put newlines in cache variables' values.
7918 # Ultrix sh set writes to stderr and can't be redirected directly,
7919 # and sets the high bit in the cache file unless we assign to the vars.
7921 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7923 # `set' does not quote correctly, so add quotes (double-quote substitution
7924 # turns \\\\ into \\, and sed turns \\ into \).
7926 -e "s/'/'\\\\''/g" \
7927 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7930 # `set' quotes correctly as required by POSIX, so do not add quotes.
7931 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7934 if cmp -s $cache_file confcache
; then
7937 if test -w $cache_file; then
7938 echo "updating cache $cache_file"
7939 cat confcache
> $cache_file
7941 echo "not updating unwritable cache $cache_file"
7947 if test "$build" != "$host" ; then
7948 if test "$USE_WIN32" = 1 ; then
7952 RANLIB
=$host_alias-ranlib
7953 DLLTOOL
=$host_alias-dlltool
7954 RESCOMP
=$host_alias-windres
7957 STRIP
=$host_alias-strip
7959 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7963 # Extract the first word of "gcc", so it can be a program name with args.
7964 set dummy gcc
; ac_word
=$2
7965 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7966 echo "configure:7967: checking for $ac_word" >&5
7967 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7968 echo $ac_n "(cached) $ac_c" 1>&6
7970 if test -n "$CC"; then
7971 ac_cv_prog_CC
="$CC" # Let the user override the test.
7973 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7975 for ac_dir
in $ac_dummy; do
7976 test -z "$ac_dir" && ac_dir
=.
7977 if test -f $ac_dir/$ac_word; then
7986 if test -n "$CC"; then
7987 echo "$ac_t""$CC" 1>&6
7989 echo "$ac_t""no" 1>&6
7992 if test -z "$CC"; then
7993 # Extract the first word of "cc", so it can be a program name with args.
7994 set dummy cc
; ac_word
=$2
7995 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7996 echo "configure:7997: checking for $ac_word" >&5
7997 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7998 echo $ac_n "(cached) $ac_c" 1>&6
8000 if test -n "$CC"; then
8001 ac_cv_prog_CC
="$CC" # Let the user override the test.
8003 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8006 for ac_dir
in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir
=.
8008 if test -f $ac_dir/$ac_word; then
8009 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8010 ac_prog_rejected
=yes
8018 if test $ac_prog_rejected = yes; then
8019 # We found a bogon in the path, so make sure we never use it.
8020 set dummy
$ac_cv_prog_CC
8022 if test $# -gt 0; then
8023 # We chose a different compiler from the bogus one.
8024 # However, it has the same basename, so the bogon will be chosen
8025 # first if we set CC to just the basename; use the full file name.
8027 set dummy
"$ac_dir/$ac_word" "$@"
8035 if test -n "$CC"; then
8036 echo "$ac_t""$CC" 1>&6
8038 echo "$ac_t""no" 1>&6
8041 if test -z "$CC"; then
8042 case "`uname -s`" in
8044 # Extract the first word of "cl", so it can be a program name with args.
8045 set dummy cl
; ac_word
=$2
8046 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8047 echo "configure:8048: checking for $ac_word" >&5
8048 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8049 echo $ac_n "(cached) $ac_c" 1>&6
8051 if test -n "$CC"; then
8052 ac_cv_prog_CC
="$CC" # Let the user override the test.
8054 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8056 for ac_dir
in $ac_dummy; do
8057 test -z "$ac_dir" && ac_dir
=.
8058 if test -f $ac_dir/$ac_word; then
8067 if test -n "$CC"; then
8068 echo "$ac_t""$CC" 1>&6
8070 echo "$ac_t""no" 1>&6
8075 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8078 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8079 echo "configure:8080: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8083 ac_cpp
='$CPP $CPPFLAGS'
8084 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8085 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8086 cross_compiling
=$ac_cv_prog_cc_cross
8088 cat > conftest.
$ac_ext << EOF
8090 #line 8091 "configure"
8091 #include "confdefs.h"
8095 if { (eval echo configure
:8096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8096 ac_cv_prog_cc_works
=yes
8097 # If we can't run a trivial program, we are probably using a cross compiler.
8098 if (.
/conftest
; exit) 2>/dev
/null
; then
8099 ac_cv_prog_cc_cross
=no
8101 ac_cv_prog_cc_cross
=yes
8104 echo "configure: failed program was:" >&5
8105 cat conftest.
$ac_ext >&5
8106 ac_cv_prog_cc_works
=no
8110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8111 ac_cpp
='$CPP $CPPFLAGS'
8112 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8113 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8114 cross_compiling
=$ac_cv_prog_cc_cross
8116 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8117 if test $ac_cv_prog_cc_works = no
; then
8118 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8120 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8121 echo "configure:8122: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8122 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8123 cross_compiling
=$ac_cv_prog_cc_cross
8125 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8126 echo "configure:8127: checking whether we are using GNU C" >&5
8127 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8128 echo $ac_n "(cached) $ac_c" 1>&6
8130 cat > conftest.c
<<EOF
8135 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8142 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8144 if test $ac_cv_prog_gcc = yes; then
8150 ac_test_CFLAGS
="${CFLAGS+set}"
8151 ac_save_CFLAGS
="$CFLAGS"
8153 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8154 echo "configure:8155: checking whether ${CC-cc} accepts -g" >&5
8155 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8156 echo $ac_n "(cached) $ac_c" 1>&6
8158 echo 'void f(){}' > conftest.c
8159 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8168 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8169 if test "$ac_test_CFLAGS" = set; then
8170 CFLAGS
="$ac_save_CFLAGS"
8171 elif test $ac_cv_prog_cc_g = yes; then
8172 if test "$GCC" = yes; then
8178 if test "$GCC" = yes; then
8186 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8188 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8189 echo "configure:8190: checking how to run the C preprocessor" >&5
8190 # On Suns, sometimes $CPP names a directory.
8191 if test -n "$CPP" && test -d "$CPP"; then
8194 if test -z "$CPP"; then
8195 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8196 echo $ac_n "(cached) $ac_c" 1>&6
8198 # This must be in double quotes, not single quotes, because CPP may get
8199 # substituted into the Makefile and "${CC-cc}" will confuse make.
8201 # On the NeXT, cc -E runs the code through the compiler's parser,
8202 # not just through cpp.
8203 cat > conftest.
$ac_ext <<EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8209 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8210 { (eval echo configure
:8211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8211 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8212 if test -z "$ac_err"; then
8216 echo "configure: failed program was:" >&5
8217 cat conftest.
$ac_ext >&5
8219 CPP
="${CC-cc} -E -traditional-cpp"
8220 cat > conftest.
$ac_ext <<EOF
8221 #line 8222 "configure"
8222 #include "confdefs.h"
8226 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8227 { (eval echo configure
:8228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8228 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8229 if test -z "$ac_err"; then
8233 echo "configure: failed program was:" >&5
8234 cat conftest.
$ac_ext >&5
8236 CPP
="${CC-cc} -nologo -E"
8237 cat > conftest.
$ac_ext <<EOF
8238 #line 8239 "configure"
8239 #include "confdefs.h"
8243 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8244 { (eval echo configure
:8245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8245 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8246 if test -z "$ac_err"; then
8250 echo "configure: failed program was:" >&5
8251 cat conftest.
$ac_ext >&5
8260 ac_cv_prog_CPP
="$CPP"
8262 CPP
="$ac_cv_prog_CPP"
8264 ac_cv_prog_CPP
="$CPP"
8266 echo "$ac_t""$CPP" 1>&6
8268 if test $ac_cv_prog_gcc = yes; then
8269 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8270 echo "configure:8271: checking whether ${CC-cc} needs -traditional" >&5
8271 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8272 echo $ac_n "(cached) $ac_c" 1>&6
8274 ac_pattern
="Autoconf.*'x'"
8275 cat > conftest.
$ac_ext <<EOF
8276 #line 8277 "configure"
8277 #include "confdefs.h"
8281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8282 egrep "$ac_pattern" >/dev
/null
2>&1; then
8284 ac_cv_prog_gcc_traditional
=yes
8287 ac_cv_prog_gcc_traditional
=no
8292 if test $ac_cv_prog_gcc_traditional = no
; then
8293 cat > conftest.
$ac_ext <<EOF
8294 #line 8295 "configure"
8295 #include "confdefs.h"
8299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8300 egrep "$ac_pattern" >/dev
/null
2>&1; then
8302 ac_cv_prog_gcc_traditional
=yes
8309 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8310 if test $ac_cv_prog_gcc_traditional = yes; then
8311 CC
="$CC -traditional"
8318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8319 ac_cpp
='$CXXCPP $CPPFLAGS'
8320 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8321 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8322 cross_compiling
=$ac_cv_prog_cxx_cross
8325 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8327 # Extract the first word of "$ac_prog", so it can be a program name with args.
8328 set dummy
$ac_prog; ac_word
=$2
8329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8330 echo "configure:8331: checking for $ac_word" >&5
8331 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8332 echo $ac_n "(cached) $ac_c" 1>&6
8334 if test -n "$CXX"; then
8335 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8339 for ac_dir
in $ac_dummy; do
8340 test -z "$ac_dir" && ac_dir
=.
8341 if test -f $ac_dir/$ac_word; then
8342 ac_cv_prog_CXX
="$ac_prog"
8349 CXX
="$ac_cv_prog_CXX"
8350 if test -n "$CXX"; then
8351 echo "$ac_t""$CXX" 1>&6
8353 echo "$ac_t""no" 1>&6
8356 test -n "$CXX" && break
8358 test -n "$CXX" || CXX
="gcc"
8361 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8362 echo "configure:8363: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8366 ac_cpp
='$CXXCPP $CPPFLAGS'
8367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8369 cross_compiling
=$ac_cv_prog_cxx_cross
8371 cat > conftest.
$ac_ext << EOF
8373 #line 8374 "configure"
8374 #include "confdefs.h"
8376 int main(){return(0);}
8378 if { (eval echo configure
:8379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8379 ac_cv_prog_cxx_works
=yes
8380 # If we can't run a trivial program, we are probably using a cross compiler.
8381 if (.
/conftest
; exit) 2>/dev
/null
; then
8382 ac_cv_prog_cxx_cross
=no
8384 ac_cv_prog_cxx_cross
=yes
8387 echo "configure: failed program was:" >&5
8388 cat conftest.
$ac_ext >&5
8389 ac_cv_prog_cxx_works
=no
8393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8394 ac_cpp
='$CXXCPP $CPPFLAGS'
8395 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8396 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8397 cross_compiling
=$ac_cv_prog_cxx_cross
8399 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8400 if test $ac_cv_prog_cxx_works = no
; then
8401 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8403 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8404 echo "configure:8405: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8405 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8406 cross_compiling
=$ac_cv_prog_cxx_cross
8408 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8409 echo "configure:8410: checking whether we are using GNU C++" >&5
8410 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8413 cat > conftest.C
<<EOF
8418 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8425 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8427 if test $ac_cv_prog_gxx = yes; then
8433 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8434 ac_save_CXXFLAGS
="$CXXFLAGS"
8436 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8437 echo "configure:8438: checking whether ${CXX-g++} accepts -g" >&5
8438 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8439 echo $ac_n "(cached) $ac_c" 1>&6
8441 echo 'void f(){}' > conftest.cc
8442 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8443 ac_cv_prog_cxx_g
=yes
8451 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8452 if test "$ac_test_CXXFLAGS" = set; then
8453 CXXFLAGS
="$ac_save_CXXFLAGS"
8454 elif test $ac_cv_prog_cxx_g = yes; then
8455 if test "$GXX" = yes; then
8461 if test "$GXX" = yes; then
8469 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8472 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8473 ac_cpp
='$CPP $CPPFLAGS'
8474 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8475 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8476 cross_compiling
=$ac_cv_prog_cc_cross
8479 # Extract the first word of "ranlib", so it can be a program name with args.
8480 set dummy ranlib
; ac_word
=$2
8481 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8482 echo "configure:8483: checking for $ac_word" >&5
8483 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8484 echo $ac_n "(cached) $ac_c" 1>&6
8486 if test -n "$RANLIB"; then
8487 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8489 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8491 for ac_dir
in $ac_dummy; do
8492 test -z "$ac_dir" && ac_dir
=.
8493 if test -f $ac_dir/$ac_word; then
8494 ac_cv_prog_RANLIB
="ranlib"
8499 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8502 RANLIB
="$ac_cv_prog_RANLIB"
8503 if test -n "$RANLIB"; then
8504 echo "$ac_t""$RANLIB" 1>&6
8506 echo "$ac_t""no" 1>&6
8510 # Extract the first word of "ar", so it can be a program name with args.
8511 set dummy
ar; ac_word
=$2
8512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8513 echo "configure:8514: checking for $ac_word" >&5
8514 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8515 echo $ac_n "(cached) $ac_c" 1>&6
8517 if test -n "$AR"; then
8518 ac_cv_prog_AR
="$AR" # Let the user override the test.
8520 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8522 for ac_dir
in $ac_dummy; do
8523 test -z "$ac_dir" && ac_dir
=.
8524 if test -f $ac_dir/$ac_word; then
8530 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8534 if test -n "$AR"; then
8535 echo "$ac_t""$AR" 1>&6
8537 echo "$ac_t""no" 1>&6
8541 # Find a good install program. We prefer a C program (faster),
8542 # so one script is as good as another. But avoid the broken or
8543 # incompatible versions:
8544 # SysV /etc/install, /usr/sbin/install
8545 # SunOS /usr/etc/install
8546 # IRIX /sbin/install
8548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8551 # ./install, which can be erroneously created by make from ./install.sh.
8552 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8553 echo "configure:8554: checking for a BSD compatible install" >&5
8554 if test -z "$INSTALL"; then
8555 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8556 echo $ac_n "(cached) $ac_c" 1>&6
8558 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8559 for ac_dir
in $PATH; do
8560 # Account for people who put trailing slashes in PATH elements.
8562 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8564 # OSF1 and SCO ODT 3.0 have their own names for install.
8565 # Don't use installbsd from OSF since it installs stuff as root
8567 for ac_prog
in ginstall scoinst
install; do
8568 if test -f $ac_dir/$ac_prog; then
8569 if test $ac_prog = install &&
8570 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8571 # AIX install. It has an incompatible calling convention.
8574 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8585 if test "${ac_cv_path_install+set}" = set; then
8586 INSTALL
="$ac_cv_path_install"
8588 # As a last resort, use the slow shell script. We don't cache a
8589 # path for INSTALL within a source directory, because that will
8590 # break other packages using the cache if that directory is
8591 # removed, or if the path is relative.
8592 INSTALL
="$ac_install_sh"
8595 echo "$ac_t""$INSTALL" 1>&6
8597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8598 # It thinks the first close brace ends the variable substitution.
8599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8603 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8608 INSTALL_PROGRAM
="cp -fp"
8609 INSTALL_DATA
="cp -fp"
8615 # Extract the first word of "strip", so it can be a program name with args.
8616 set dummy strip
; ac_word
=$2
8617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8618 echo "configure:8619: checking for $ac_word" >&5
8619 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8620 echo $ac_n "(cached) $ac_c" 1>&6
8622 if test -n "$STRIP"; then
8623 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8625 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8627 for ac_dir
in $ac_dummy; do
8628 test -z "$ac_dir" && ac_dir
=.
8629 if test -f $ac_dir/$ac_word; then
8630 ac_cv_prog_STRIP
="strip"
8635 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8638 STRIP
="$ac_cv_prog_STRIP"
8639 if test -n "$STRIP"; then
8640 echo "$ac_t""$STRIP" 1>&6
8642 echo "$ac_t""no" 1>&6
8646 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8647 echo "configure:8648: checking make for VPATH support" >&5
8648 cat - << EOF > confMake
8654 if test ! -d sub
; then
8657 echo dummy
> sub
/file
8658 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8660 rm -f sub
/file check final_file confMake
8662 if test "$RESULT" = 0; then
8663 echo "$ac_t""yes" 1>&6
8665 echo "$ac_t""no" 1>&6
8666 { echo "configure: error:
8667 You need a make-utility that is able to use the variable
8669 If your version of make does not support VPATH correctly,
8670 please install GNU-make (possibly as gmake), and start
8671 configure with the following command:
8672 export MAKE=gmake; ./configure for sh-type shells
8673 setenv MAKE gmake; ./configure for csh-type shells
8674 Also please do remember to use gmake in this case every time
8675 you are trying to compile.
8679 for ac_prog
in 'bison -y' byacc
8681 # Extract the first word of "$ac_prog", so it can be a program name with args.
8682 set dummy
$ac_prog; ac_word
=$2
8683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8684 echo "configure:8685: checking for $ac_word" >&5
8685 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8688 if test -n "$YACC"; then
8689 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8691 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8693 for ac_dir
in $ac_dummy; do
8694 test -z "$ac_dir" && ac_dir
=.
8695 if test -f $ac_dir/$ac_word; then
8696 ac_cv_prog_YACC
="$ac_prog"
8703 YACC
="$ac_cv_prog_YACC"
8704 if test -n "$YACC"; then
8705 echo "$ac_t""$YACC" 1>&6
8707 echo "$ac_t""no" 1>&6
8710 test -n "$YACC" && break
8712 test -n "$YACC" || YACC
="yacc"
8715 # Extract the first word of "flex", so it can be a program name with args.
8716 set dummy flex
; ac_word
=$2
8717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8718 echo "configure:8719: checking for $ac_word" >&5
8719 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8722 if test -n "$LEX"; then
8723 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8725 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8727 for ac_dir
in $ac_dummy; do
8728 test -z "$ac_dir" && ac_dir
=.
8729 if test -f $ac_dir/$ac_word; then
8730 ac_cv_prog_LEX
="flex"
8735 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8738 LEX
="$ac_cv_prog_LEX"
8739 if test -n "$LEX"; then
8740 echo "$ac_t""$LEX" 1>&6
8742 echo "$ac_t""no" 1>&6
8745 if test -z "$LEXLIB"
8751 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8752 echo "configure:8753: checking for yywrap in -l$ac_lib" >&5
8753 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8755 echo $ac_n "(cached) $ac_c" 1>&6
8757 ac_save_LIBS
="$LIBS"
8758 LIBS
="-l$ac_lib $LIBS"
8759 cat > conftest.
$ac_ext <<EOF
8760 #line 8761 "configure"
8761 #include "confdefs.h"
8762 /* Override any gcc2 internal prototype to avoid an error. */
8763 /* We use char because int might match the return type of a gcc2
8764 builtin and then its argument prototype would still apply. */
8771 if { (eval echo configure
:8772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8773 eval "ac_cv_lib_$ac_lib_var=yes"
8775 echo "configure: failed program was:" >&5
8776 cat conftest.
$ac_ext >&5
8778 eval "ac_cv_lib_$ac_lib_var=no"
8781 LIBS
="$ac_save_LIBS"
8784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8785 echo "$ac_t""yes" 1>&6
8788 echo "$ac_t""no" 1>&6
8794 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8795 echo "configure:8796: checking whether ln -s works" >&5
8796 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8797 echo $ac_n "(cached) $ac_c" 1>&6
8800 if ln -s X conftestdata
2>/dev
/null
8803 ac_cv_prog_LN_S
="ln -s"
8808 LN_S
="$ac_cv_prog_LN_S"
8809 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8810 echo "$ac_t""yes" 1>&6
8812 echo "$ac_t""no" 1>&6
8818 /usr/local/include \
8820 /usr/Motif-1.2/include \
8821 /usr/Motif-2.1/include \
8823 /usr/include/Motif1.2 \
8824 /opt/xpm/include/X11 \
8825 /opt/GBxpm/include/ \
8826 /opt/GBxpm/X11/include/ \
8828 /usr/Motif1.2/include \
8830 /usr/openwin/include \
8834 /usr/X11R6/include \
8835 /usr/X11R6.4/include \
8836 /usr/X11R5/include \
8837 /usr/X11R4/include \
8839 /usr/include/X11R6 \
8840 /usr/include/X11R5 \
8841 /usr/include/X11R4 \
8843 /usr/local/X11R6/include \
8844 /usr/local/X11R5/include \
8845 /usr/local/X11R4/include \
8847 /usr/local/include/X11R6 \
8848 /usr/local/include/X11R5 \
8849 /usr/local/include/X11R4 \
8853 /usr/local/X11/include \
8854 /usr/local/include/X11 \
8858 /usr/XFree86/include/X11 \
8860 X:/XFree86/include \
8861 X:/XFree86/include/X11 \
8864 /usr/local/include/gtk \
8866 /usr/local/include/glib \
8869 /usr/local/include/qt \
8871 /usr/include/windows \
8873 /usr/local/include/wine \
8875 /usr/unsupported/include \
8876 /usr/athena/include \
8877 /usr/local/x11r5/include \
8878 /usr/lpp/Xamples/include \
8880 /usr/openwin/share/include \
8884 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8887 cat > confcache
<<\EOF
8888 # This file is a shell script that caches the results of configure
8889 # tests run on this system so they can be shared between configure
8890 # scripts and configure runs. It is not useful on other systems.
8891 # If it contains results you don't want to keep, you may remove or edit it.
8893 # By default, configure uses ./config.cache as the cache file,
8894 # creating it if it does not exist already. You can give configure
8895 # the --cache-file=FILE option to use a different cache file; that is
8896 # what configure does when it calls configure scripts in
8897 # subdirectories, so they share the cache.
8898 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8899 # config.status only pays attention to the cache file if you give it the
8900 # --recheck option to rerun configure.
8903 # The following way of writing the cache mishandles newlines in values,
8904 # but we know of no workaround that is simple, portable, and efficient.
8905 # So, don't put newlines in cache variables' values.
8906 # Ultrix sh set writes to stderr and can't be redirected directly,
8907 # and sets the high bit in the cache file unless we assign to the vars.
8909 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8911 # `set' does not quote correctly, so add quotes (double-quote substitution
8912 # turns \\\\ into \\, and sed turns \\ into \).
8914 -e "s/'/'\\\\''/g" \
8915 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8918 # `set' quotes correctly as required by POSIX, so do not add quotes.
8919 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8922 if cmp -s $cache_file confcache
; then
8925 if test -w $cache_file; then
8926 echo "updating cache $cache_file"
8927 cat confcache
> $cache_file
8929 echo "not updating unwritable cache $cache_file"
8938 if test "$wxUSE_REGEX" != "no"; then
8939 cat >> confdefs.h
<<\EOF
8940 #define wxUSE_REGEX 1
8944 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
8945 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8946 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8947 echo "configure:8948: checking for regex.h" >&5
8948 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8949 echo $ac_n "(cached) $ac_c" 1>&6
8951 cat > conftest.
$ac_ext <<EOF
8952 #line 8953 "configure"
8953 #include "confdefs.h"
8956 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8957 { (eval echo configure
:8958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8958 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8959 if test -z "$ac_err"; then
8961 eval "ac_cv_header_$ac_safe=yes"
8964 echo "configure: failed program was:" >&5
8965 cat conftest.
$ac_ext >&5
8967 eval "ac_cv_header_$ac_safe=no"
8971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8972 echo "$ac_t""yes" 1>&6
8973 for ac_func
in regcomp
8975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8976 echo "configure:8977: checking for $ac_func" >&5
8977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8978 echo $ac_n "(cached) $ac_c" 1>&6
8980 cat > conftest.
$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 /* System header to define __stub macros and hopefully few prototypes,
8984 which can conflict with char $ac_func(); below. */
8986 /* Override any gcc2 internal prototype to avoid an error. */
8987 /* We use char because int might match the return type of a gcc2
8988 builtin and then its argument prototype would still apply. */
8993 /* The GNU C library defines this for functions which it implements
8994 to always fail with ENOSYS. Some functions are actually named
8995 something starting with __ and the normal name is an alias. */
8996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9004 if { (eval echo configure
:9005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9006 eval "ac_cv_func_$ac_func=yes"
9008 echo "configure: failed program was:" >&5
9009 cat conftest.
$ac_ext >&5
9011 eval "ac_cv_func_$ac_func=no"
9016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9017 echo "$ac_t""yes" 1>&6
9018 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9019 cat >> confdefs.h
<<EOF
9020 #define $ac_tr_func 1
9024 echo "$ac_t""no" 1>&6
9029 echo "$ac_t""no" 1>&6
9033 if test "x$ac_cv_func_regcomp" != "xyes"; then
9034 if test "$wxUSE_REGEX" = "sys" ; then
9035 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9037 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9045 if test "$wxUSE_REGEX" = "builtin" ; then
9046 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9053 if test "$wxUSE_ZLIB" != "no" ; then
9054 cat >> confdefs.h
<<\EOF
9055 #define wxUSE_ZLIB 1
9059 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9060 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9061 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9062 echo "configure:9063: checking for zlib.h" >&5
9063 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9066 cat > conftest.
$ac_ext <<EOF
9067 #line 9068 "configure"
9068 #include "confdefs.h"
9071 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9072 { (eval echo configure
:9073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9073 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9074 if test -z "$ac_err"; then
9076 eval "ac_cv_header_$ac_safe=yes"
9079 echo "configure: failed program was:" >&5
9080 cat conftest.
$ac_ext >&5
9082 eval "ac_cv_header_$ac_safe=no"
9086 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9087 echo "$ac_t""yes" 1>&6
9088 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9089 echo "configure:9090: checking for deflate in -lz" >&5
9090 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9094 ac_save_LIBS
="$LIBS"
9096 cat > conftest.
$ac_ext <<EOF
9097 #line 9098 "configure"
9098 #include "confdefs.h"
9099 /* Override any gcc2 internal prototype to avoid an error. */
9100 /* We use char because int might match the return type of a gcc2
9101 builtin and then its argument prototype would still apply. */
9108 if { (eval echo configure
:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9110 eval "ac_cv_lib_$ac_lib_var=yes"
9112 echo "configure: failed program was:" >&5
9113 cat conftest.
$ac_ext >&5
9115 eval "ac_cv_lib_$ac_lib_var=no"
9118 LIBS
="$ac_save_LIBS"
9121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9122 echo "$ac_t""yes" 1>&6
9125 echo "$ac_t""no" 1>&6
9129 echo "$ac_t""no" 1>&6
9133 if test "x$ZLIB_LINK" = "x" ; then
9134 if test "$wxUSE_ZLIB" = "sys" ; then
9135 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9137 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9145 if test "$wxUSE_ZLIB" = "builtin" ; then
9146 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9153 if test "$wxUSE_LIBPNG" != "no" ; then
9154 cat >> confdefs.h
<<\EOF
9155 #define wxUSE_LIBPNG 1
9159 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9160 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9161 wxUSE_LIBPNG
=builtin
9164 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9165 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9166 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9167 echo "configure:9168: checking for png.h" >&5
9168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9171 cat > conftest.
$ac_ext <<EOF
9172 #line 9173 "configure"
9173 #include "confdefs.h"
9176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9177 { (eval echo configure
:9178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9179 if test -z "$ac_err"; then
9181 eval "ac_cv_header_$ac_safe=yes"
9184 echo "configure: failed program was:" >&5
9185 cat conftest.
$ac_ext >&5
9187 eval "ac_cv_header_$ac_safe=no"
9191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9192 echo "$ac_t""yes" 1>&6
9193 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9194 echo "configure:9195: checking for png_check_sig in -lpng" >&5
9195 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9197 echo $ac_n "(cached) $ac_c" 1>&6
9199 ac_save_LIBS
="$LIBS"
9200 LIBS
="-lpng -lz -lm $LIBS"
9201 cat > conftest.
$ac_ext <<EOF
9202 #line 9203 "configure"
9203 #include "confdefs.h"
9204 /* Override any gcc2 internal prototype to avoid an error. */
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9207 char png_check_sig();
9213 if { (eval echo configure
:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9215 eval "ac_cv_lib_$ac_lib_var=yes"
9217 echo "configure: failed program was:" >&5
9218 cat conftest.
$ac_ext >&5
9220 eval "ac_cv_lib_$ac_lib_var=no"
9223 LIBS
="$ac_save_LIBS"
9226 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9227 echo "$ac_t""yes" 1>&6
9230 echo "$ac_t""no" 1>&6
9235 echo "$ac_t""no" 1>&6
9239 if test "x$PNG_LINK" = "x" ; then
9240 if test "$wxUSE_LIBPNG" = "sys" ; then
9241 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9243 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9244 wxUSE_LIBPNG
=builtin
9251 if test "$wxUSE_LIBPNG" = "builtin" ; then
9252 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9261 if test "$wxUSE_LIBJPEG" != "no" ; then
9262 cat >> confdefs.h
<<\EOF
9263 #define wxUSE_LIBJPEG 1
9267 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9268 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9269 echo "configure:9270: checking for jpeglib.h" >&5
9270 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9271 echo $ac_n "(cached) $ac_c" 1>&6
9273 cat > conftest.
$ac_ext <<EOF
9274 #line 9275 "configure"
9275 #include "confdefs.h"
9277 #undef HAVE_STDLIB_H
9279 #include <jpeglib.h>
9286 if { (eval echo configure
:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9288 ac_cv_header_jpeglib_h
=yes
9290 echo "configure: failed program was:" >&5
9291 cat conftest.
$ac_ext >&5
9293 ac_cv_header_jpeglib_h
=no
9300 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9302 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9303 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9304 echo "configure:9305: checking for jpeg_read_header in -ljpeg" >&5
9305 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9307 echo $ac_n "(cached) $ac_c" 1>&6
9309 ac_save_LIBS
="$LIBS"
9311 cat > conftest.
$ac_ext <<EOF
9312 #line 9313 "configure"
9313 #include "confdefs.h"
9314 /* Override any gcc2 internal prototype to avoid an error. */
9315 /* We use char because int might match the return type of a gcc2
9316 builtin and then its argument prototype would still apply. */
9317 char jpeg_read_header();
9323 if { (eval echo configure
:9324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9325 eval "ac_cv_lib_$ac_lib_var=yes"
9327 echo "configure: failed program was:" >&5
9328 cat conftest.
$ac_ext >&5
9330 eval "ac_cv_lib_$ac_lib_var=no"
9333 LIBS
="$ac_save_LIBS"
9336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9337 echo "$ac_t""yes" 1>&6
9340 echo "$ac_t""no" 1>&6
9345 if test "x$JPEG_LINK" = "x" ; then
9346 if test "$wxUSE_LIBJPEG" = "sys" ; then
9347 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9349 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9350 wxUSE_LIBJPEG
=builtin
9357 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9358 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9365 if test "$wxUSE_LIBTIFF" != "no" ; then
9366 cat >> confdefs.h
<<\EOF
9367 #define wxUSE_LIBTIFF 1
9371 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9372 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9373 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9374 echo "configure:9375: checking for tiffio.h" >&5
9375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9378 cat > conftest.
$ac_ext <<EOF
9379 #line 9380 "configure"
9380 #include "confdefs.h"
9383 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9384 { (eval echo configure
:9385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9385 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9386 if test -z "$ac_err"; then
9388 eval "ac_cv_header_$ac_safe=yes"
9391 echo "configure: failed program was:" >&5
9392 cat conftest.
$ac_ext >&5
9394 eval "ac_cv_header_$ac_safe=no"
9398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9399 echo "$ac_t""yes" 1>&6
9400 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9401 echo "configure:9402: checking for TIFFError in -ltiff" >&5
9402 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9404 echo $ac_n "(cached) $ac_c" 1>&6
9406 ac_save_LIBS
="$LIBS"
9407 LIBS
="-ltiff -lm $LIBS"
9408 cat > conftest.
$ac_ext <<EOF
9409 #line 9410 "configure"
9410 #include "confdefs.h"
9411 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */
9420 if { (eval echo configure
:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9422 eval "ac_cv_lib_$ac_lib_var=yes"
9424 echo "configure: failed program was:" >&5
9425 cat conftest.
$ac_ext >&5
9427 eval "ac_cv_lib_$ac_lib_var=no"
9430 LIBS
="$ac_save_LIBS"
9433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9434 echo "$ac_t""yes" 1>&6
9437 echo "$ac_t""no" 1>&6
9442 echo "$ac_t""no" 1>&6
9446 if test "x$TIFF_LINK" = "x" ; then
9447 if test "$wxUSE_LIBTIFF" = "sys" ; then
9448 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9450 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9451 wxUSE_LIBTIFF
=builtin
9458 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9459 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9466 if test "$wxUSE_FREETYPE" != "no" ; then
9467 cat >> confdefs.h
<<\EOF
9468 #define wxUSE_FREETYPE 1
9472 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9473 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9474 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9475 echo "configure:9476: checking for freetype.h" >&5
9476 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9479 cat > conftest.
$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9482 #include <freetype.h>
9484 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9485 { (eval echo configure
:9486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9486 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9487 if test -z "$ac_err"; then
9489 eval "ac_cv_header_$ac_safe=yes"
9492 echo "configure: failed program was:" >&5
9493 cat conftest.
$ac_ext >&5
9495 eval "ac_cv_header_$ac_safe=no"
9499 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9500 echo "$ac_t""yes" 1>&6
9501 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9502 echo "configure:9503: checking for FT_Render_Glyph in -lfreetype" >&5
9503 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9507 ac_save_LIBS
="$LIBS"
9508 LIBS
="-lfreetype -lm $LIBS"
9509 cat > conftest.
$ac_ext <<EOF
9510 #line 9511 "configure"
9511 #include "confdefs.h"
9512 /* Override any gcc2 internal prototype to avoid an error. */
9513 /* We use char because int might match the return type of a gcc2
9514 builtin and then its argument prototype would still apply. */
9515 char FT_Render_Glyph();
9521 if { (eval echo configure
:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9523 eval "ac_cv_lib_$ac_lib_var=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.
$ac_ext >&5
9528 eval "ac_cv_lib_$ac_lib_var=no"
9531 LIBS
="$ac_save_LIBS"
9534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9535 echo "$ac_t""yes" 1>&6
9536 FREETYPE_LINK
=" -lfreetype"
9538 echo "$ac_t""no" 1>&6
9543 echo "$ac_t""no" 1>&6
9547 if test "x$FREETYPE_LINK" = "x" ; then
9548 if test "$wxUSE_FREETYPE" = "sys" ; then
9549 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9551 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9552 wxUSE_FREETYPE
=builtin
9559 if test "$wxUSE_FREETYPE" = "builtin" ; then
9560 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9571 if test "$USE_WIN32" = 1 ; then
9572 for ac_hdr
in w32api.h
9574 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9576 echo "configure:9577: checking for $ac_hdr" >&5
9577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9578 echo $ac_n "(cached) $ac_c" 1>&6
9580 cat > conftest.
$ac_ext <<EOF
9581 #line 9582 "configure"
9582 #include "confdefs.h"
9585 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9586 { (eval echo configure
:9587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9587 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9588 if test -z "$ac_err"; then
9590 eval "ac_cv_header_$ac_safe=yes"
9593 echo "configure: failed program was:" >&5
9594 cat conftest.
$ac_ext >&5
9596 eval "ac_cv_header_$ac_safe=no"
9600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9601 echo "$ac_t""yes" 1>&6
9602 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9603 cat >> confdefs.h
<<EOF
9604 #define $ac_tr_hdr 1
9608 echo "$ac_t""no" 1>&6
9612 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9613 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9614 echo "configure:9615: checking for windows.h" >&5
9615 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9616 echo $ac_n "(cached) $ac_c" 1>&6
9618 cat > conftest.
$ac_ext <<EOF
9619 #line 9620 "configure"
9620 #include "confdefs.h"
9621 #include <windows.h>
9623 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9624 { (eval echo configure
:9625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9625 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9626 if test -z "$ac_err"; then
9628 eval "ac_cv_header_$ac_safe=yes"
9631 echo "configure: failed program was:" >&5
9632 cat conftest.
$ac_ext >&5
9634 eval "ac_cv_header_$ac_safe=no"
9638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9639 echo "$ac_t""yes" 1>&6
9642 echo "$ac_t""no" 1>&6
9644 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9649 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9650 echo "configure:9651: checking if w32api has good enough MSIE support" >&5
9651 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9652 echo $ac_n "(cached) $ac_c" 1>&6
9655 cat > conftest.
$ac_ext <<EOF
9656 #line 9657 "configure"
9657 #include "confdefs.h"
9661 #define wxCHECK_W32API_VERSION( major, minor ) \
9662 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9663 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9664 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9666 #if !wxCHECK_W32API_VERSION(1,1)
9667 #error You need w32api 1.1 or newer
9672 if { (eval echo configure
:9673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9675 wx_cv_w32api_win32_ie
=yes
9678 echo "configure: failed program was:" >&5
9679 cat conftest.
$ac_ext >&5
9682 wx_cv_w32api_win32_ie
=no
9689 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9690 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9691 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9694 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9698 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9699 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9702 if test "$wxUSE_ODBC" = "yes" ; then
9703 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9706 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9707 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9710 if test "$wxUSE_GUI" = "yes"; then
9719 if test "$wxUSE_MSW" = 1 ; then
9725 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9729 if test "$wxUSE_GTK" = 1; then
9730 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9731 echo "configure:9732: checking for GTK+ version" >&5
9733 gtk_version_cached
=1
9734 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9738 gtk_version_cached
=0
9742 if test "x$wxUSE_GTK2" = "xyes"; then
9743 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9744 if test "${with_gtk_prefix+set}" = set; then
9745 withval
="$with_gtk_prefix"
9746 gtk_config_prefix
="$withval"
9748 gtk_config_prefix
=""
9751 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9752 if test "${with_gtk_exec_prefix+set}" = set; then
9753 withval
="$with_gtk_exec_prefix"
9754 gtk_config_exec_prefix
="$withval"
9756 gtk_config_exec_prefix
=""
9759 # Check whether --enable-gtktest or --disable-gtktest was given.
9760 if test "${enable_gtktest+set}" = set; then
9761 enableval
="$enable_gtktest"
9772 gtk_config_args
="$gtk_config_args gthread"
9777 if test x
$gtk_config_exec_prefix != x
; then
9778 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9779 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9780 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9783 if test x
$gtk_config_prefix != x
; then
9784 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9785 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9786 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9790 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9791 set dummy gtk
-config-2.0
; ac_word
=$2
9792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9793 echo "configure:9794: checking for $ac_word" >&5
9794 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9795 echo $ac_n "(cached) $ac_c" 1>&6
9797 case "$GTK_CONFIG_2_0" in
9799 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9802 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9807 for ac_dir
in $ac_dummy; do
9808 test -z "$ac_dir" && ac_dir
=.
9809 if test -f $ac_dir/$ac_word; then
9810 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9815 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9819 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9820 if test -n "$GTK_CONFIG_2_0"; then
9821 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9823 echo "$ac_t""no" 1>&6
9826 min_gtk_version
=1.3.1
9827 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9828 echo "configure:9829: checking for GTK - version >= $min_gtk_version" >&5
9830 if test "$GTK_CONFIG_2_0" = "no" ; then
9833 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9834 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9835 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9837 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9839 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9841 if test "x$enable_gtktest" = "xyes" ; then
9842 ac_save_CFLAGS
="$CFLAGS"
9843 ac_save_LIBS
="$LIBS"
9844 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9845 LIBS
="$GTK_LIBS $LIBS"
9847 if test "$cross_compiling" = yes; then
9848 echo $ac_n "cross compiling; assumed OK... $ac_c"
9850 cat > conftest.
$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9854 #include <gtk/gtk.h>
9861 int major, minor, micro;
9864 system ("touch conf.gtktest");
9866 /* HP/UX 9 (%@#!) writes to sscanf strings */
9867 tmp_version = g_strdup("$min_gtk_version");
9868 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9869 printf("%s, bad version string\n", "$min_gtk_version");
9873 if ((gtk_major_version != $gtk_config_major_version) ||
9874 (gtk_minor_version != $gtk_config_minor_version) ||
9875 (gtk_micro_version != $gtk_config_micro_version))
9877 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9878 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9879 gtk_major_version, gtk_minor_version, gtk_micro_version);
9880 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9881 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9882 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9883 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9884 printf("*** required on your system.\n");
9885 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9886 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9887 printf("*** before re-running configure\n");
9889 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9890 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9891 (gtk_minor_version != GTK_MINOR_VERSION) ||
9892 (gtk_micro_version != GTK_MICRO_VERSION))
9894 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9895 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9896 printf("*** library (version %d.%d.%d)\n",
9897 gtk_major_version, gtk_minor_version, gtk_micro_version);
9899 #endif /* defined (GTK_MAJOR_VERSION) ... */
9902 if ((gtk_major_version > major) ||
9903 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9904 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9910 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9911 gtk_major_version, gtk_minor_version, gtk_micro_version);
9912 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9913 major, minor, micro);
9914 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9916 printf("*** If you have already installed a sufficiently new version, this error\n");
9917 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9918 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9919 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9920 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9921 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9922 printf("*** so that the correct libraries are found at run-time))\n");
9929 if { (eval echo configure
:9930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9933 echo "configure: failed program was:" >&5
9934 cat conftest.
$ac_ext >&5
9941 CFLAGS
="$ac_save_CFLAGS"
9942 LIBS
="$ac_save_LIBS"
9945 if test "x$no_gtk" = x
; then
9946 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9949 echo "$ac_t""no" 1>&6
9950 if test "$GTK_CONFIG_2_0" = "no" ; then
9951 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9952 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9953 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9954 echo "*** full path to gtk-config-2.0."
9956 if test -f conf.gtktest
; then
9959 echo "*** Could not run GTK test program, checking why..."
9960 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9961 LIBS
="$LIBS $GTK_LIBS"
9962 cat > conftest.
$ac_ext <<EOF
9963 #line 9964 "configure"
9964 #include "confdefs.h"
9966 #include <gtk/gtk.h>
9970 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9973 if { (eval echo configure
:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9975 echo "*** The test program compiled, but did not run. This usually means"
9976 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9977 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9978 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9979 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9980 echo "*** is required on your system"
9982 echo "*** If you have an old version installed, it is best to remove it, although"
9983 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9985 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9986 echo "*** came with the system with the command"
9988 echo "*** rpm --erase --nodeps gtk gtk-devel"
9990 echo "configure: failed program was:" >&5
9991 cat conftest.
$ac_ext >&5
9993 echo "*** The test program failed to compile or link. See the file config.log for the"
9994 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9995 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9996 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9999 CFLAGS
="$ac_save_CFLAGS"
10000 LIBS
="$ac_save_LIBS"
10013 if test -z "$wx_cv_lib_gtk"; then
10015 if test x
$gtk_config_exec_prefix != x
; then
10016 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10017 if test x
${GTK_CONFIG+set} != xset
; then
10018 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10021 if test x
$gtk_config_prefix != x
; then
10022 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10023 if test x
${GTK_CONFIG+set} != xset
; then
10024 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10028 # Extract the first word of "gtk-config", so it can be a program name with args.
10029 set dummy gtk
-config; ac_word
=$2
10030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10031 echo "configure:10032: checking for $ac_word" >&5
10032 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10033 echo $ac_n "(cached) $ac_c" 1>&6
10035 case "$GTK_CONFIG" in
10037 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10040 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10043 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10045 for ac_dir
in $ac_dummy; do
10046 test -z "$ac_dir" && ac_dir
=.
10047 if test -f $ac_dir/$ac_word; then
10048 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10053 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10057 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10058 if test -n "$GTK_CONFIG"; then
10059 echo "$ac_t""$GTK_CONFIG" 1>&6
10061 echo "$ac_t""no" 1>&6
10064 min_gtk_version
=1.2.7
10065 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10066 echo "configure:10067: checking for GTK - version >= $min_gtk_version" >&5
10068 if test "$GTK_CONFIG" != "no" ; then
10069 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10070 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10071 ac_save_CFLAGS
="$CFLAGS"
10072 ac_save_LIBS
="$LIBS"
10073 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10074 LIBS
="$LIBS $GTK_LIBS"
10075 if test "$cross_compiling" = yes; then
10076 echo $ac_n "cross compiling; assumed OK... $ac_c"
10078 cat > conftest.
$ac_ext <<EOF
10079 #line 10080 "configure"
10080 #include "confdefs.h"
10082 #include <gtk/gtk.h>
10083 #include <gtk/gtkfeatures.h>
10085 #include <stdlib.h>
10090 int major, minor, micro;
10092 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10093 printf("%s, bad version string\n", "$min_gtk_version");
10097 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10098 (GTK_MINOR_VERSION != gtk_minor_version) ||
10099 (GTK_MICRO_VERSION != gtk_micro_version)) {
10100 printf("Headers vs. library version mismatch!\n");
10104 if (gtk_minor_version == 1) return FALSE;
10106 return !((gtk_major_version > major) ||
10107 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10108 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10112 if { (eval echo configure
:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10116 echo "configure: failed program was:" >&5
10117 cat conftest.
$ac_ext >&5
10124 CFLAGS
="$ac_save_CFLAGS"
10125 LIBS
="$ac_save_LIBS"
10129 if test "x$no_gtk" = x
; then
10130 echo "$ac_t""yes" 1>&6
10131 wx_cv_lib_gtk
=1.2.7
10133 echo "$ac_t""no" 1>&6
10143 if test -z "$wx_cv_lib_gtk"; then
10145 if test x
$gtk_config_exec_prefix != x
; then
10146 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10147 if test x
${GTK_CONFIG+set} != xset
; then
10148 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10151 if test x
$gtk_config_prefix != x
; then
10152 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10153 if test x
${GTK_CONFIG+set} != xset
; then
10154 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10158 # Extract the first word of "gtk-config", so it can be a program name with args.
10159 set dummy gtk
-config; ac_word
=$2
10160 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10161 echo "configure:10162: checking for $ac_word" >&5
10162 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10165 case "$GTK_CONFIG" in
10167 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10170 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10173 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10175 for ac_dir
in $ac_dummy; do
10176 test -z "$ac_dir" && ac_dir
=.
10177 if test -f $ac_dir/$ac_word; then
10178 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10183 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10187 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10188 if test -n "$GTK_CONFIG"; then
10189 echo "$ac_t""$GTK_CONFIG" 1>&6
10191 echo "$ac_t""no" 1>&6
10194 min_gtk_version
=1.2.3
10195 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10196 echo "configure:10197: checking for GTK - version >= $min_gtk_version" >&5
10198 if test "$GTK_CONFIG" != "no" ; then
10199 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10200 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10201 ac_save_CFLAGS
="$CFLAGS"
10202 ac_save_LIBS
="$LIBS"
10203 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10204 LIBS
="$LIBS $GTK_LIBS"
10205 if test "$cross_compiling" = yes; then
10206 echo $ac_n "cross compiling; assumed OK... $ac_c"
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10212 #include <gtk/gtk.h>
10213 #include <gtk/gtkfeatures.h>
10215 #include <stdlib.h>
10220 int major, minor, micro;
10222 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10223 printf("%s, bad version string\n", "$min_gtk_version");
10227 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10228 (GTK_MINOR_VERSION != gtk_minor_version) ||
10229 (GTK_MICRO_VERSION != gtk_micro_version)) {
10230 printf("Headers vs. library version mismatch!\n");
10234 if (gtk_minor_version == 1) return FALSE;
10236 return !((gtk_major_version > major) ||
10237 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10238 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10242 if { (eval echo configure
:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10246 echo "configure: failed program was:" >&5
10247 cat conftest.
$ac_ext >&5
10254 CFLAGS
="$ac_save_CFLAGS"
10255 LIBS
="$ac_save_LIBS"
10259 if test "x$no_gtk" = x
; then
10260 echo "$ac_t""yes" 1>&6
10261 wx_cv_lib_gtk
=1.2.3
10263 echo "$ac_t""no" 1>&6
10273 if test -z "$wx_cv_lib_gtk"; then
10276 wx_cv_cflags_gtk
=$GTK_CFLAGS
10277 wx_cv_libs_gtk
=$GTK_LIBS
10284 if test "$gtk_version_cached" = 1; then
10285 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10288 case "$wx_cv_lib_gtk" in
10296 *) { echo "configure: error:
10297 Please check that gtk-config is in path, the directory
10298 where GTK+ libraries are installed (returned by
10299 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10300 equivalent variable and GTK+ is version 1.2.3 or above.
10305 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10306 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10308 AFMINSTALL
=afminstall
10312 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10313 echo "configure:10314: checking for gdk_im_open in -lgdk" >&5
10314 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10316 echo $ac_n "(cached) $ac_c" 1>&6
10318 ac_save_LIBS
="$LIBS"
10320 cat > conftest.
$ac_ext <<EOF
10321 #line 10322 "configure"
10322 #include "confdefs.h"
10323 /* Override any gcc2 internal prototype to avoid an error. */
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char gdk_im_open();
10332 if { (eval echo configure
:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10334 eval "ac_cv_lib_$ac_lib_var=yes"
10336 echo "configure: failed program was:" >&5
10337 cat conftest.
$ac_ext >&5
10339 eval "ac_cv_lib_$ac_lib_var=no"
10342 LIBS
="$ac_save_LIBS"
10345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10346 echo "$ac_t""yes" 1>&6
10347 cat >> confdefs.h
<<\EOF
10352 echo "$ac_t""no" 1>&6
10357 if test "$wxUSE_MGL" = 1; then
10359 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10360 echo "configure:10361: checking for SciTech MGL library" >&5
10361 if test "x$MGL_ROOT" = x
; then
10362 echo "$ac_t""not found" 1>&6
10363 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10365 echo "$ac_t""$MGL_ROOT" 1>&6
10368 mgl_os
=linux
/gcc
/glibc
10371 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10372 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10373 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10377 if test "x$mgl_lib_type" = x
; then
10378 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10379 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10380 mgl_lib_type
=release
10382 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10386 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10387 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10389 AFMINSTALL
=afminstall
10394 if test "$wxUSE_WINE" = 1; then
10395 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10396 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10397 echo "configure:10398: checking for windows.h" >&5
10398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10399 echo $ac_n "(cached) $ac_c" 1>&6
10401 cat > conftest.
$ac_ext <<EOF
10402 #line 10403 "configure"
10403 #include "confdefs.h"
10404 #include <windows.h>
10406 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10407 { (eval echo configure
:10408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10408 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10409 if test -z "$ac_err"; then
10411 eval "ac_cv_header_$ac_safe=yes"
10414 echo "configure: failed program was:" >&5
10415 cat conftest.
$ac_ext >&5
10417 eval "ac_cv_header_$ac_safe=no"
10421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10422 echo "$ac_t""yes" 1>&6
10425 echo "$ac_t""no" 1>&6
10427 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10433 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10434 echo "configure:10435: checking for Xpm library" >&5
10437 for ac_dir
in $SEARCH_LIB;
10439 for ac_extension
in a so sl dylib
; do
10440 if test -f "$ac_dir/libXpm.$ac_extension"; then
10441 ac_find_libraries
=$ac_dir
10447 if test "$ac_find_libraries" != "" ; then
10448 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10450 cat >> confdefs.h
<<\EOF
10451 #define wxHAVE_LIB_XPM 1
10454 echo "$ac_t""found at $ac_find_libraries" 1>&6
10456 echo "$ac_t""no" 1>&6
10457 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10461 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10462 echo "configure:10463: checking for Mesa library" >&5
10465 for ac_dir
in $SEARCH_LIB;
10467 for ac_extension
in a so sl dylib
; do
10468 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10469 ac_find_libraries
=$ac_dir
10475 if test "$ac_find_libraries" != "" ; then
10476 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10477 mesa_link
=" -lMesaGL"
10478 echo "$ac_t""found at $ac_find_libraries" 1>&6
10480 { echo "configure: error: no" 1>&2; exit 1; }
10483 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10486 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10489 if test "$wxUSE_MOTIF" = 1; then
10490 # If we find X, set shell vars x_includes and x_libraries to the
10491 # paths, otherwise set no_x=yes.
10492 # Uses ac_ vars as temps to allow command line to override cache and checks.
10493 # --without-x overrides everything else, but does not touch the cache.
10494 echo $ac_n "checking for X""... $ac_c" 1>&6
10495 echo "configure:10496: checking for X" >&5
10497 # Check whether --with-x or --without-x was given.
10498 if test "${with_x+set}" = set; then
10503 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10504 if test "x$with_x" = xno
; then
10505 # The user explicitly disabled X.
10508 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10509 # Both variables are already set.
10512 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10513 echo $ac_n "(cached) $ac_c" 1>&6
10515 # One or both of the vars are not set, and there is no cached value.
10516 ac_x_includes
=NO ac_x_libraries
=NO
10518 if mkdir conftestdir
; then
10520 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10521 cat > Imakefile
<<'EOF'
10523 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10525 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10526 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10527 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10528 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10529 for ac_extension
in a so sl
; do
10530 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10531 test -f $ac_im_libdir/libX11.
$ac_extension; then
10532 ac_im_usrlibdir
=$ac_im_libdir; break
10535 # Screen out bogus values from the imake configuration. They are
10536 # bogus both because they are the default anyway, and because
10537 # using them would break gcc on systems where it needs fixed includes.
10538 case "$ac_im_incroot" in
10540 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10542 case "$ac_im_usrlibdir" in
10543 /usr
/lib
| /lib
) ;;
10544 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10551 if test "$ac_x_includes" = NO
; then
10552 # Guess where to find include files, by looking for this one X11 .h file.
10553 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10555 # First, try using that file with no special directory specified.
10556 cat > conftest.
$ac_ext <<EOF
10557 #line 10558 "configure"
10558 #include "confdefs.h"
10559 #include <$x_direct_test_include>
10561 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10562 { (eval echo configure
:10563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10563 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10564 if test -z "$ac_err"; then
10566 # We can compile using X headers with no special include directory.
10570 echo "configure: failed program was:" >&5
10571 cat conftest.
$ac_ext >&5
10573 # Look for the header file in a standard set of common directories.
10574 # Check X11 before X11Rn because it is often a symlink to the current release.
10577 /usr
/X
11R
6/include \
10578 /usr
/X
11R
5/include \
10579 /usr
/X
11R
4/include \
10582 /usr
/include
/X11R6 \
10583 /usr
/include
/X11R5 \
10584 /usr
/include
/X11R4 \
10586 /usr
/local
/X
11/include \
10587 /usr
/local
/X
11R
6/include \
10588 /usr
/local
/X
11R
5/include \
10589 /usr
/local
/X
11R
4/include \
10591 /usr
/local
/include
/X11 \
10592 /usr
/local
/include
/X11R6 \
10593 /usr
/local
/include
/X11R5 \
10594 /usr
/local
/include
/X11R4 \
10596 /usr
/X
386/include \
10597 /usr
/x
386/include \
10598 /usr
/XFree
86/include
/X11 \
10601 /usr
/local
/include \
10602 /usr
/unsupported
/include \
10603 /usr
/athena
/include \
10604 /usr
/local
/x
11r
5/include \
10605 /usr
/lpp
/Xamples
/include \
10607 /usr
/openwin
/include \
10608 /usr
/openwin
/share
/include \
10611 if test -r "$ac_dir/$x_direct_test_include"; then
10612 ac_x_includes
=$ac_dir
10618 fi # $ac_x_includes = NO
10620 if test "$ac_x_libraries" = NO
; then
10621 # Check for the libraries.
10623 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10624 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10626 # See if we find them without any special options.
10627 # Don't add to $LIBS permanently.
10628 ac_save_LIBS
="$LIBS"
10629 LIBS
="-l$x_direct_test_library $LIBS"
10630 cat > conftest.
$ac_ext <<EOF
10631 #line 10632 "configure"
10632 #include "confdefs.h"
10635 ${x_direct_test_function}()
10638 if { (eval echo configure
:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10640 LIBS
="$ac_save_LIBS"
10641 # We can link X programs with no special library path.
10644 echo "configure: failed program was:" >&5
10645 cat conftest.
$ac_ext >&5
10647 LIBS
="$ac_save_LIBS"
10648 # First see if replacing the include by lib works.
10649 # Check X11 before X11Rn because it is often a symlink to the current release.
10650 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10661 /usr
/local
/X
11/lib \
10662 /usr
/local
/X
11R
6/lib \
10663 /usr
/local
/X
11R
5/lib \
10664 /usr
/local
/X
11R
4/lib \
10666 /usr
/local
/lib
/X11 \
10667 /usr
/local
/lib
/X11R6 \
10668 /usr
/local
/lib
/X11R5 \
10669 /usr
/local
/lib
/X11R4 \
10673 /usr
/XFree
86/lib
/X11 \
10677 /usr
/unsupported
/lib \
10679 /usr
/local
/x
11r
5/lib \
10680 /usr
/lpp
/Xamples
/lib \
10684 /usr
/openwin
/share
/lib \
10687 for ac_extension
in a so sl
; do
10688 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10689 ac_x_libraries
=$ac_dir
10696 fi # $ac_x_libraries = NO
10698 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10699 # Didn't find X anywhere. Cache the known absence of X.
10700 ac_cv_have_x
="have_x=no"
10702 # Record where we found X for the cache.
10703 ac_cv_have_x
="have_x=yes \
10704 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10708 eval "$ac_cv_have_x"
10711 if test "$have_x" != yes; then
10712 echo "$ac_t""$have_x" 1>&6
10715 # If each of the values was on the command line, it overrides each guess.
10716 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10717 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10718 # Update the cache value to reflect the command line values.
10719 ac_cv_have_x
="have_x=yes \
10720 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10721 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10724 if test "$no_x" = yes; then
10725 # Not all programs may use this symbol, but it does not hurt to define it.
10726 cat >> confdefs.h
<<\EOF
10727 #define X_DISPLAY_MISSING 1
10730 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10732 if test -n "$x_includes"; then
10733 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10736 # It would also be nice to do this for all -L options, not just this one.
10737 if test -n "$x_libraries"; then
10738 X_LIBS
="$X_LIBS -L$x_libraries"
10739 # For Solaris; some versions of Sun CC require a space after -R and
10740 # others require no space. Words are not sufficient . . . .
10741 case "`(uname -sr) 2>/dev/null`" in
10743 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10744 echo "configure:10745: checking whether -R must be followed by a space" >&5
10745 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10746 cat > conftest.
$ac_ext <<EOF
10747 #line 10748 "configure"
10748 #include "confdefs.h"
10754 if { (eval echo configure
:10755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10758 echo "configure: failed program was:" >&5
10759 cat conftest.
$ac_ext >&5
10764 if test $ac_R_nospace = yes; then
10765 echo "$ac_t""no" 1>&6
10766 X_LIBS
="$X_LIBS -R$x_libraries"
10768 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10769 cat > conftest.
$ac_ext <<EOF
10770 #line 10771 "configure"
10771 #include "confdefs.h"
10777 if { (eval echo configure
:10778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10781 echo "configure: failed program was:" >&5
10782 cat conftest.
$ac_ext >&5
10787 if test $ac_R_space = yes; then
10788 echo "$ac_t""yes" 1>&6
10789 X_LIBS
="$X_LIBS -R $x_libraries"
10791 echo "$ac_t""neither works" 1>&6
10794 LIBS
="$ac_xsave_LIBS"
10798 # Check for system-dependent libraries X programs must link with.
10799 # Do this before checking for the system-independent R6 libraries
10800 # (-lICE), since we may need -lsocket or whatever for X linking.
10802 if test "$ISC" = yes; then
10803 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10805 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10806 # libraries were built with DECnet support. And karl@cs.umb.edu says
10807 # the Alpha needs dnet_stub (dnet does not exist).
10808 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10809 echo "configure:10810: checking for dnet_ntoa in -ldnet" >&5
10810 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10812 echo $ac_n "(cached) $ac_c" 1>&6
10814 ac_save_LIBS
="$LIBS"
10815 LIBS
="-ldnet $LIBS"
10816 cat > conftest.
$ac_ext <<EOF
10817 #line 10818 "configure"
10818 #include "confdefs.h"
10819 /* Override any gcc2 internal prototype to avoid an error. */
10820 /* We use char because int might match the return type of a gcc2
10821 builtin and then its argument prototype would still apply. */
10828 if { (eval echo configure
:10829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10830 eval "ac_cv_lib_$ac_lib_var=yes"
10832 echo "configure: failed program was:" >&5
10833 cat conftest.
$ac_ext >&5
10835 eval "ac_cv_lib_$ac_lib_var=no"
10838 LIBS
="$ac_save_LIBS"
10841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10842 echo "$ac_t""yes" 1>&6
10843 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10845 echo "$ac_t""no" 1>&6
10848 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10849 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10850 echo "configure:10851: checking for dnet_ntoa in -ldnet_stub" >&5
10851 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10853 echo $ac_n "(cached) $ac_c" 1>&6
10855 ac_save_LIBS
="$LIBS"
10856 LIBS
="-ldnet_stub $LIBS"
10857 cat > conftest.
$ac_ext <<EOF
10858 #line 10859 "configure"
10859 #include "confdefs.h"
10860 /* Override any gcc2 internal prototype to avoid an error. */
10861 /* We use char because int might match the return type of a gcc2
10862 builtin and then its argument prototype would still apply. */
10869 if { (eval echo configure
:10870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10871 eval "ac_cv_lib_$ac_lib_var=yes"
10873 echo "configure: failed program was:" >&5
10874 cat conftest.
$ac_ext >&5
10876 eval "ac_cv_lib_$ac_lib_var=no"
10879 LIBS
="$ac_save_LIBS"
10882 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10883 echo "$ac_t""yes" 1>&6
10884 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10886 echo "$ac_t""no" 1>&6
10891 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10892 # to get the SysV transport functions.
10893 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10895 # The nsl library prevents programs from opening the X display
10896 # on Irix 5.2, according to dickey@clark.net.
10897 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10898 echo "configure:10899: checking for gethostbyname" >&5
10899 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10902 cat > conftest.
$ac_ext <<EOF
10903 #line 10904 "configure"
10904 #include "confdefs.h"
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char gethostbyname(); below. */
10907 #include <assert.h>
10908 /* Override any gcc2 internal prototype to avoid an error. */
10909 /* We use char because int might match the return type of a gcc2
10910 builtin and then its argument prototype would still apply. */
10911 char gethostbyname();
10915 /* The GNU C library defines this for functions which it implements
10916 to always fail with ENOSYS. Some functions are actually named
10917 something starting with __ and the normal name is an alias. */
10918 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10926 if { (eval echo configure
:10927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10928 eval "ac_cv_func_gethostbyname=yes"
10930 echo "configure: failed program was:" >&5
10931 cat conftest.
$ac_ext >&5
10933 eval "ac_cv_func_gethostbyname=no"
10938 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10939 echo "$ac_t""yes" 1>&6
10942 echo "$ac_t""no" 1>&6
10945 if test $ac_cv_func_gethostbyname = no
; then
10946 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10947 echo "configure:10948: checking for gethostbyname in -lnsl" >&5
10948 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 ac_save_LIBS
="$LIBS"
10954 cat > conftest.
$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 /* We use char because int might match the return type of a gcc2
10959 builtin and then its argument prototype would still apply. */
10960 char gethostbyname();
10966 if { (eval echo configure
:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10968 eval "ac_cv_lib_$ac_lib_var=yes"
10970 echo "configure: failed program was:" >&5
10971 cat conftest.
$ac_ext >&5
10973 eval "ac_cv_lib_$ac_lib_var=no"
10976 LIBS
="$ac_save_LIBS"
10979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10983 echo "$ac_t""no" 1>&6
10988 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10989 # socket/setsockopt and other routines are undefined under SCO ODT
10990 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10991 # on later versions), says simon@lia.di.epfl.ch: it contains
10992 # gethostby* variants that don't use the nameserver (or something).
10993 # -lsocket must be given before -lnsl if both are needed.
10994 # We assume that if connect needs -lnsl, so does gethostbyname.
10995 echo $ac_n "checking for connect""... $ac_c" 1>&6
10996 echo "configure:10997: checking for connect" >&5
10997 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10998 echo $ac_n "(cached) $ac_c" 1>&6
11000 cat > conftest.
$ac_ext <<EOF
11001 #line 11002 "configure"
11002 #include "confdefs.h"
11003 /* System header to define __stub macros and hopefully few prototypes,
11004 which can conflict with char connect(); below. */
11005 #include <assert.h>
11006 /* Override any gcc2 internal prototype to avoid an error. */
11007 /* We use char because int might match the return type of a gcc2
11008 builtin and then its argument prototype would still apply. */
11013 /* The GNU C library defines this for functions which it implements
11014 to always fail with ENOSYS. Some functions are actually named
11015 something starting with __ and the normal name is an alias. */
11016 #if defined (__stub_connect) || defined (__stub___connect)
11024 if { (eval echo configure
:11025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11026 eval "ac_cv_func_connect=yes"
11028 echo "configure: failed program was:" >&5
11029 cat conftest.
$ac_ext >&5
11031 eval "ac_cv_func_connect=no"
11036 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11037 echo "$ac_t""yes" 1>&6
11040 echo "$ac_t""no" 1>&6
11043 if test $ac_cv_func_connect = no
; then
11044 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11045 echo "configure:11046: checking for connect in -lsocket" >&5
11046 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11050 ac_save_LIBS
="$LIBS"
11051 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11052 cat > conftest.
$ac_ext <<EOF
11053 #line 11054 "configure"
11054 #include "confdefs.h"
11055 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11064 if { (eval echo configure
:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11066 eval "ac_cv_lib_$ac_lib_var=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_lib_$ac_lib_var=no"
11074 LIBS
="$ac_save_LIBS"
11077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11078 echo "$ac_t""yes" 1>&6
11079 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11081 echo "$ac_t""no" 1>&6
11086 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11087 echo $ac_n "checking for remove""... $ac_c" 1>&6
11088 echo "configure:11089: checking for remove" >&5
11089 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11090 echo $ac_n "(cached) $ac_c" 1>&6
11092 cat > conftest.
$ac_ext <<EOF
11093 #line 11094 "configure"
11094 #include "confdefs.h"
11095 /* System header to define __stub macros and hopefully few prototypes,
11096 which can conflict with char remove(); below. */
11097 #include <assert.h>
11098 /* Override any gcc2 internal prototype to avoid an error. */
11099 /* We use char because int might match the return type of a gcc2
11100 builtin and then its argument prototype would still apply. */
11105 /* The GNU C library defines this for functions which it implements
11106 to always fail with ENOSYS. Some functions are actually named
11107 something starting with __ and the normal name is an alias. */
11108 #if defined (__stub_remove) || defined (__stub___remove)
11116 if { (eval echo configure
:11117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11118 eval "ac_cv_func_remove=yes"
11120 echo "configure: failed program was:" >&5
11121 cat conftest.
$ac_ext >&5
11123 eval "ac_cv_func_remove=no"
11128 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11129 echo "$ac_t""yes" 1>&6
11132 echo "$ac_t""no" 1>&6
11135 if test $ac_cv_func_remove = no
; then
11136 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11137 echo "configure:11138: checking for remove in -lposix" >&5
11138 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11140 echo $ac_n "(cached) $ac_c" 1>&6
11142 ac_save_LIBS
="$LIBS"
11143 LIBS
="-lposix $LIBS"
11144 cat > conftest.
$ac_ext <<EOF
11145 #line 11146 "configure"
11146 #include "confdefs.h"
11147 /* Override any gcc2 internal prototype to avoid an error. */
11148 /* We use char because int might match the return type of a gcc2
11149 builtin and then its argument prototype would still apply. */
11156 if { (eval echo configure
:11157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11158 eval "ac_cv_lib_$ac_lib_var=yes"
11160 echo "configure: failed program was:" >&5
11161 cat conftest.
$ac_ext >&5
11163 eval "ac_cv_lib_$ac_lib_var=no"
11166 LIBS
="$ac_save_LIBS"
11169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11170 echo "$ac_t""yes" 1>&6
11171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11173 echo "$ac_t""no" 1>&6
11178 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11179 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11180 echo "configure:11181: checking for shmat" >&5
11181 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11184 cat > conftest.
$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11187 /* System header to define __stub macros and hopefully few prototypes,
11188 which can conflict with char shmat(); below. */
11189 #include <assert.h>
11190 /* Override any gcc2 internal prototype to avoid an error. */
11191 /* We use char because int might match the return type of a gcc2
11192 builtin and then its argument prototype would still apply. */
11197 /* The GNU C library defines this for functions which it implements
11198 to always fail with ENOSYS. Some functions are actually named
11199 something starting with __ and the normal name is an alias. */
11200 #if defined (__stub_shmat) || defined (__stub___shmat)
11208 if { (eval echo configure
:11209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11210 eval "ac_cv_func_shmat=yes"
11212 echo "configure: failed program was:" >&5
11213 cat conftest.
$ac_ext >&5
11215 eval "ac_cv_func_shmat=no"
11220 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11221 echo "$ac_t""yes" 1>&6
11224 echo "$ac_t""no" 1>&6
11227 if test $ac_cv_func_shmat = no
; then
11228 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11229 echo "configure:11230: checking for shmat in -lipc" >&5
11230 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11232 echo $ac_n "(cached) $ac_c" 1>&6
11234 ac_save_LIBS
="$LIBS"
11236 cat > conftest.
$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11239 /* Override any gcc2 internal prototype to avoid an error. */
11240 /* We use char because int might match the return type of a gcc2
11241 builtin and then its argument prototype would still apply. */
11248 if { (eval echo configure
:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11250 eval "ac_cv_lib_$ac_lib_var=yes"
11252 echo "configure: failed program was:" >&5
11253 cat conftest.
$ac_ext >&5
11255 eval "ac_cv_lib_$ac_lib_var=no"
11258 LIBS
="$ac_save_LIBS"
11261 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11262 echo "$ac_t""yes" 1>&6
11263 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11265 echo "$ac_t""no" 1>&6
11271 # Check for libraries that X11R6 Xt/Xaw programs need.
11272 ac_save_LDFLAGS
="$LDFLAGS"
11273 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11274 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11275 # check for ICE first), but we must link in the order -lSM -lICE or
11276 # we get undefined symbols. So assume we have SM if we have ICE.
11277 # These have to be linked with before -lX11, unlike the other
11278 # libraries we check for below, so use a different variable.
11279 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11280 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11281 echo "configure:11282: checking for IceConnectionNumber in -lICE" >&5
11282 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11284 echo $ac_n "(cached) $ac_c" 1>&6
11286 ac_save_LIBS
="$LIBS"
11287 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11288 cat > conftest.
$ac_ext <<EOF
11289 #line 11290 "configure"
11290 #include "confdefs.h"
11291 /* Override any gcc2 internal prototype to avoid an error. */
11292 /* We use char because int might match the return type of a gcc2
11293 builtin and then its argument prototype would still apply. */
11294 char IceConnectionNumber();
11297 IceConnectionNumber()
11300 if { (eval echo configure
:11301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11302 eval "ac_cv_lib_$ac_lib_var=yes"
11304 echo "configure: failed program was:" >&5
11305 cat conftest.
$ac_ext >&5
11307 eval "ac_cv_lib_$ac_lib_var=no"
11310 LIBS
="$ac_save_LIBS"
11313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11314 echo "$ac_t""yes" 1>&6
11315 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11317 echo "$ac_t""no" 1>&6
11320 LDFLAGS
="$ac_save_LDFLAGS"
11325 if test "$no_x" = "yes"; then
11326 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11329 GUI_TK_LIBRARY
="$X_LIBS"
11330 TOOLKIT_INCLUDE
="$X_CFLAGS"
11331 AFMINSTALL
=afminstall
11332 COMPILED_X_PROGRAM
=0
11334 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11335 echo "configure:11336: checking for Motif/Lesstif headers" >&5
11338 for ac_dir
in $SEARCH_INCLUDE;
11340 if test -f "$ac_dir/Xm/Xm.h"; then
11341 ac_find_includes
=$ac_dir
11346 if test "$ac_find_includes" != "" ; then
11347 echo "$ac_t""found $ac_find_includes" 1>&6
11349 cat > conftest.
$ac_ext <<EOF
11350 #line 11351 "configure"
11351 #include "confdefs.h"
11358 version = xmUseVersion;
11362 if { (eval echo configure
:11363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11365 echo "$ac_t""found in default search path" 1>&6
11366 COMPILED_X_PROGRAM
=1
11369 echo "configure: failed program was:" >&5
11370 cat conftest.
$ac_ext >&5
11373 echo "$ac_t""no" 1>&6
11374 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11381 if test "$COMPILED_X_PROGRAM" = 0; then
11382 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11383 echo "configure:11384: checking for Motif/Lesstif library" >&5
11386 for ac_dir
in $SEARCH_LIB;
11388 for ac_extension
in a so sl dylib
; do
11389 if test -f "$ac_dir/libXm.$ac_extension"; then
11390 ac_find_libraries
=$ac_dir
11396 if test "$ac_find_libraries" != "" ; then
11398 ac_path_to_include
=$ac_find_includes
11399 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11401 if test $result = 0; then
11402 ac_path_to_include
=""
11404 ac_path_to_include
=" -I$ac_find_includes"
11408 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11410 if test $result = 0; then
11413 ac_path_to_link
=" -L$ac_find_libraries"
11417 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11418 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11419 echo "$ac_t""found at $ac_find_libraries" 1>&6
11421 cat > conftest.
$ac_ext <<EOF
11422 #line 11423 "configure"
11423 #include "confdefs.h"
11430 version = xmUseVersion;
11434 if { (eval echo configure
:11435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11437 echo "$ac_t""found in default search path" 1>&6
11438 COMPILED_X_PROGRAM
=1
11441 echo "configure: failed program was:" >&5
11442 cat conftest.
$ac_ext >&5
11445 echo "$ac_t""no" 1>&6
11446 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11455 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11456 echo "configure:11457: checking for Xpm library" >&5
11459 for ac_dir
in $SEARCH_LIB;
11461 for ac_extension
in a so sl dylib
; do
11462 if test -f "$ac_dir/libXpm.$ac_extension"; then
11463 ac_find_libraries
=$ac_dir
11469 if test "$ac_find_libraries" != "" ; then
11471 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11473 if test $result = 0; then
11476 ac_path_to_link
=" -L$ac_find_libraries"
11479 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11481 cat >> confdefs.h
<<\EOF
11482 #define wxHAVE_LIB_XPM 1
11485 echo "$ac_t""found at $ac_find_libraries" 1>&6
11487 cat > conftest.
$ac_ext <<EOF
11488 #line 11489 "configure"
11489 #include "confdefs.h"
11491 #include <X11/xpm.h>
11496 version = XpmLibraryVersion();
11500 if { (eval echo configure
:11501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11504 cat >> confdefs.h
<<\EOF
11505 #define wxHAVE_LIB_XPM 1
11508 echo "$ac_t""found in default search path" 1>&6
11509 COMPILED_X_PROGRAM
=0
11512 echo "configure: failed program was:" >&5
11513 cat conftest.
$ac_ext >&5
11516 echo "$ac_t""no" 1>&6
11517 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11524 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11525 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11530 if test "$wxUSE_MAC" = 1; then
11531 if test "$wxUSE_PRECOMP" = "yes"; then
11532 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11534 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11535 CFLAGS
="$CFLAGS -fpascal-strings"
11536 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11537 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11539 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11544 if test "$wxUSE_PM" = 1; then
11549 if test "$TOOLKIT" = "PM" ; then
11552 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11555 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11557 if test "$wxUSE_UNIVERSAL" = "yes"; then
11558 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11559 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11560 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11561 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11564 ALL_OBJECTS
="\$(GUIOBJS)"
11567 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11569 if test "$TOOLKIT" != "MSW"; then
11570 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11573 if test "$wxUSE_HTML" = "yes"; then
11574 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11577 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11578 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11580 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11581 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11584 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11586 if test "$wxUSE_LIBPNG" = "builtin" ; then
11587 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11589 if test "$wxUSE_FREETYPE" = "builtin" ; then
11590 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11593 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11594 DISTDIR
="wx\$(TOOLKIT)"
11600 if test "$USE_WIN32" = 1 ; then
11601 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11602 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11606 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11607 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11610 PORT_FILES
="\${top_srcdir}/src/files.lst"
11612 GUIDIST
="BASE_DIST"
11616 if test "$wxUSE_REGEX" = "builtin" ; then
11617 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11619 if test "$wxUSE_ZLIB" = "builtin" ; then
11620 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11623 if test "$wxUSE_OPENGL" = "yes"; then
11624 if test "$wxUSE_MAC" = 1; then
11625 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11628 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11629 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11630 echo "configure:11631: checking for GL/gl.h" >&5
11631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11632 echo $ac_n "(cached) $ac_c" 1>&6
11634 cat > conftest.
$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11639 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11640 { (eval echo configure
:11641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11641 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11642 if test -z "$ac_err"; then
11644 eval "ac_cv_header_$ac_safe=yes"
11647 echo "configure: failed program was:" >&5
11648 cat conftest.
$ac_ext >&5
11650 eval "ac_cv_header_$ac_safe=no"
11654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11655 echo "$ac_t""yes" 1>&6
11657 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
11658 echo "configure:11659: checking for -lGL" >&5
11661 for ac_dir
in $SEARCH_LIB;
11663 for ac_extension
in a so sl dylib
; do
11664 if test -f "$ac_dir/libGL.$ac_extension"; then
11665 ac_find_libraries
=$ac_dir
11671 if test "$ac_find_libraries" != "" ; then
11673 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11675 if test $result = 0; then
11678 ac_path_to_link
=" -L$ac_find_libraries"
11681 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11682 OPENGL_LIBS
="-lGL -lGLU"
11683 echo "$ac_t""yes" 1>&6
11685 echo "$ac_t""no" 1>&6
11686 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
11687 echo "configure:11688: checking for -lMesaGL" >&5
11690 for ac_dir
in $SEARCH_LIB;
11692 for ac_extension
in a so sl dylib
; do
11693 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11694 ac_find_libraries
=$ac_dir
11700 if test "$ac_find_libraries" != "" ; then
11702 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11704 if test $result = 0; then
11707 ac_path_to_link
=" -L$ac_find_libraries"
11710 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11711 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11712 echo "$ac_t""yes" 1>&6
11714 echo "$ac_t""no" 1>&6
11719 echo "$ac_t""no" 1>&6
11724 # AC_CHECK_HEADER(GL/gl.h,
11726 # AC_CHECK_LIB(GL, glFlush,
11728 # OPENGL_LIBS="-lGL -lGLU"
11731 # AC_CHECK_LIB(MesaGL, glFlush,
11733 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
11741 if test "x$OPENGL_LIBS" = "x"; then
11742 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11746 if test "$wxUSE_OPENGL" = "yes"; then
11747 cat >> confdefs.h
<<\EOF
11748 #define wxUSE_OPENGL 1
11751 cat >> confdefs.h
<<\EOF
11752 #define wxUSE_GLCANVAS 1
11755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11759 if test -z "$TOOLKIT_VPATH" ; then
11760 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11763 if test -n "$TOOLKIT" ; then
11764 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11767 lib_unicode_suffix
=
11768 if test "$wxUSE_UNICODE" = "yes"; then
11769 lib_unicode_suffix
=u
11773 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11777 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11778 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11780 if test "$cross_compiling" = "yes"; then
11781 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11782 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11785 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11786 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11788 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11789 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11791 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11792 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11793 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11794 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11796 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11797 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11800 *-*-cygwin* | *-*-mingw32* )
11804 if test "$cross_compiling" != "yes"; then
11805 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11806 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11807 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11808 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11810 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11811 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11816 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11817 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11819 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11820 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
11822 if test "$wxUSE_OPENGL" = "yes"; then
11823 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
11824 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
11829 if test "$wxUSE_SHARED" = "yes"; then
11831 if test "$wxUSE_OPENGL" = "yes"; then
11832 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11833 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11835 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11836 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11839 if test "$GCC" = "yes"; then
11843 SHARED_LD
="${CXX} -shared -o"
11847 if test "$GCC" != "yes"; then
11848 LDFLAGS
="$LDFLAGS -L/usr/lib"
11850 SHARED_LD
="${CXX} -b -o"
11854 if test "$wxUSE_OPENGL" = "yes"; then
11855 WX_ALL_INSTALLED
="preinstall_gl"
11856 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11858 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11863 if test "$GCC" != "yes"; then
11864 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11865 echo "configure:11866: checking for Intel compiler" >&5
11866 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11870 cat > conftest.
$ac_ext <<EOF
11871 #line 11872 "configure"
11872 #include "confdefs.h"
11876 #ifndef __INTEL_COMPILER
11882 if { (eval echo configure
:11883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11886 echo "configure: failed program was:" >&5
11887 cat conftest.
$ac_ext >&5
11896 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11897 if test "$wx_cv_prog_icc" = "yes"; then
11902 if test "$wxUSE_SONAME" = "yes" ; then
11903 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11904 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11905 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11910 if test "$GCC" = yes ; then
11911 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11913 SHARED_LD
="${CXX} -G -o"
11915 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11916 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11921 CFLAGS
="$CFLAGS -fno-common"
11922 CXXFLAGS
="$CXXFLAGS -fno-common"
11923 SHARED_LD
="$CXX -dynamiclib -o"
11924 PIC_FLAG
="-dynamic -fPIC"
11928 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11931 *-*-cygwin* | *-*-mingw32* )
11933 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
11935 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
11936 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
11938 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11940 if test "$wxUSE_OPENGL" = "yes"; then
11941 WX_ALL_INSTALLED
="preinstall_gl"
11942 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11944 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11948 *-pc-os2_emx | *-pc-os2-emx )
11953 SHARED_LD
="${LD} -shared -o"
11956 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11958 *-*-irix5* | *-*-irix6* | \
11965 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11968 if test "x$WX_TARGET_LIBRARY" = "x"; then
11969 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11970 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11973 WX_TARGET_LIBRARY_TYPE
="so"
11974 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
11977 if test "$wxUSE_SHARED" = "no"; then
11979 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11980 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11983 if test "$wxUSE_MAC" = 1; then
11984 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11987 if test "$wxUSE_OPENGL" = "yes"; then
11988 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11989 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11991 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11994 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11995 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11997 WX_TARGET_LIBRARY_TYPE
="a"
11998 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12001 if test "$wxUSE_MAC" = 1; then
12002 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12003 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12004 # Extract the first word of "Rez", so it can be a program name with args.
12005 set dummy Rez
; ac_word
=$2
12006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12007 echo "configure:12008: checking for $ac_word" >&5
12008 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12009 echo $ac_n "(cached) $ac_c" 1>&6
12011 if test -n "$RESCOMP"; then
12012 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12016 for ac_dir
in $ac_dummy; do
12017 test -z "$ac_dir" && ac_dir
=.
12018 if test -f $ac_dir/$ac_word; then
12019 ac_cv_prog_RESCOMP
="Rez"
12024 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12027 RESCOMP
="$ac_cv_prog_RESCOMP"
12028 if test -n "$RESCOMP"; then
12029 echo "$ac_t""$RESCOMP" 1>&6
12031 echo "$ac_t""no" 1>&6
12034 # Extract the first word of "Derez", so it can be a program name with args.
12035 set dummy Derez
; ac_word
=$2
12036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12037 echo "configure:12038: checking for $ac_word" >&5
12038 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12039 echo $ac_n "(cached) $ac_c" 1>&6
12041 if test -n "$DEREZ"; then
12042 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12046 for ac_dir
in $ac_dummy; do
12047 test -z "$ac_dir" && ac_dir
=.
12048 if test -f $ac_dir/$ac_word; then
12049 ac_cv_prog_DEREZ
="Derez"
12054 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
12057 DEREZ
="$ac_cv_prog_DEREZ"
12058 if test -n "$DEREZ"; then
12059 echo "$ac_t""$DEREZ" 1>&6
12061 echo "$ac_t""no" 1>&6
12064 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12065 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12066 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12070 if test "$wxUSE_MAC" != 1; then
12071 for ac_hdr
in strings.h
12073 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12074 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12075 echo "configure:12076: checking for $ac_hdr" >&5
12076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12077 echo $ac_n "(cached) $ac_c" 1>&6
12079 cat > conftest.
$ac_ext <<EOF
12080 #line 12081 "configure"
12081 #include "confdefs.h"
12084 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12085 { (eval echo configure
:12086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12086 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12087 if test -z "$ac_err"; then
12089 eval "ac_cv_header_$ac_safe=yes"
12092 echo "configure: failed program was:" >&5
12093 cat conftest.
$ac_ext >&5
12095 eval "ac_cv_header_$ac_safe=no"
12099 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12100 echo "$ac_t""yes" 1>&6
12101 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12102 cat >> confdefs.h
<<EOF
12103 #define $ac_tr_hdr 1
12107 echo "$ac_t""no" 1>&6
12113 for ac_hdr
in stdlib.h
12115 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12117 echo "configure:12118: checking for $ac_hdr" >&5
12118 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12119 echo $ac_n "(cached) $ac_c" 1>&6
12121 cat > conftest.
$ac_ext <<EOF
12122 #line 12123 "configure"
12123 #include "confdefs.h"
12126 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12127 { (eval echo configure
:12128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12128 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12129 if test -z "$ac_err"; then
12131 eval "ac_cv_header_$ac_safe=yes"
12134 echo "configure: failed program was:" >&5
12135 cat conftest.
$ac_ext >&5
12137 eval "ac_cv_header_$ac_safe=no"
12141 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12142 echo "$ac_t""yes" 1>&6
12143 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12144 cat >> confdefs.h
<<EOF
12145 #define $ac_tr_hdr 1
12149 echo "$ac_t""no" 1>&6
12153 for ac_hdr
in unistd.h
12155 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12157 echo "configure:12158: checking for $ac_hdr" >&5
12158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12159 echo $ac_n "(cached) $ac_c" 1>&6
12161 cat > conftest.
$ac_ext <<EOF
12162 #line 12163 "configure"
12163 #include "confdefs.h"
12166 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12167 { (eval echo configure
:12168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12168 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12169 if test -z "$ac_err"; then
12171 eval "ac_cv_header_$ac_safe=yes"
12174 echo "configure: failed program was:" >&5
12175 cat conftest.
$ac_ext >&5
12177 eval "ac_cv_header_$ac_safe=no"
12181 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12182 echo "$ac_t""yes" 1>&6
12183 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12184 cat >> confdefs.h
<<EOF
12185 #define $ac_tr_hdr 1
12189 echo "$ac_t""no" 1>&6
12193 for ac_hdr
in wchar.h
12195 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12197 echo "configure:12198: checking for $ac_hdr" >&5
12198 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12199 echo $ac_n "(cached) $ac_c" 1>&6
12201 cat > conftest.
$ac_ext <<EOF
12202 #line 12203 "configure"
12203 #include "confdefs.h"
12206 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12207 { (eval echo configure
:12208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12208 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12209 if test -z "$ac_err"; then
12211 eval "ac_cv_header_$ac_safe=yes"
12214 echo "configure: failed program was:" >&5
12215 cat conftest.
$ac_ext >&5
12217 eval "ac_cv_header_$ac_safe=no"
12221 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12222 echo "$ac_t""yes" 1>&6
12223 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12224 cat >> confdefs.h
<<EOF
12225 #define $ac_tr_hdr 1
12229 echo "$ac_t""no" 1>&6
12233 for ac_hdr
in wcstr.h
12235 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12237 echo "configure:12238: checking for $ac_hdr" >&5
12238 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12239 echo $ac_n "(cached) $ac_c" 1>&6
12241 cat > conftest.
$ac_ext <<EOF
12242 #line 12243 "configure"
12243 #include "confdefs.h"
12246 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12247 { (eval echo configure
:12248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12248 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12249 if test -z "$ac_err"; then
12251 eval "ac_cv_header_$ac_safe=yes"
12254 echo "configure: failed program was:" >&5
12255 cat conftest.
$ac_ext >&5
12257 eval "ac_cv_header_$ac_safe=no"
12261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12262 echo "$ac_t""yes" 1>&6
12263 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12264 cat >> confdefs.h
<<EOF
12265 #define $ac_tr_hdr 1
12269 echo "$ac_t""no" 1>&6
12273 for ac_hdr
in wctype.h
12275 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12277 echo "configure:12278: checking for $ac_hdr" >&5
12278 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12279 echo $ac_n "(cached) $ac_c" 1>&6
12281 cat > conftest.
$ac_ext <<EOF
12282 #line 12283 "configure"
12283 #include "confdefs.h"
12286 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12287 { (eval echo configure
:12288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12288 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12289 if test -z "$ac_err"; then
12291 eval "ac_cv_header_$ac_safe=yes"
12294 echo "configure: failed program was:" >&5
12295 cat conftest.
$ac_ext >&5
12297 eval "ac_cv_header_$ac_safe=no"
12301 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12302 echo "$ac_t""yes" 1>&6
12303 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12304 cat >> confdefs.h
<<EOF
12305 #define $ac_tr_hdr 1
12309 echo "$ac_t""no" 1>&6
12313 for ac_hdr
in fnmatch.h
12315 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12317 echo "configure:12318: checking for $ac_hdr" >&5
12318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12319 echo $ac_n "(cached) $ac_c" 1>&6
12321 cat > conftest.
$ac_ext <<EOF
12322 #line 12323 "configure"
12323 #include "confdefs.h"
12326 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12327 { (eval echo configure
:12328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12328 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12329 if test -z "$ac_err"; then
12331 eval "ac_cv_header_$ac_safe=yes"
12334 echo "configure: failed program was:" >&5
12335 cat conftest.
$ac_ext >&5
12337 eval "ac_cv_header_$ac_safe=no"
12341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12342 echo "$ac_t""yes" 1>&6
12343 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12344 cat >> confdefs.h
<<EOF
12345 #define $ac_tr_hdr 1
12349 echo "$ac_t""no" 1>&6
12353 for ac_hdr
in iconv.h
12355 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12357 echo "configure:12358: checking for $ac_hdr" >&5
12358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12359 echo $ac_n "(cached) $ac_c" 1>&6
12361 cat > conftest.
$ac_ext <<EOF
12362 #line 12363 "configure"
12363 #include "confdefs.h"
12366 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12367 { (eval echo configure
:12368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12368 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12369 if test -z "$ac_err"; then
12371 eval "ac_cv_header_$ac_safe=yes"
12374 echo "configure: failed program was:" >&5
12375 cat conftest.
$ac_ext >&5
12377 eval "ac_cv_header_$ac_safe=no"
12381 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12382 echo "$ac_t""yes" 1>&6
12383 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12384 cat >> confdefs.h
<<EOF
12385 #define $ac_tr_hdr 1
12389 echo "$ac_t""no" 1>&6
12393 for ac_hdr
in langinfo.h
12395 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12396 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12397 echo "configure:12398: checking for $ac_hdr" >&5
12398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12401 cat > conftest.
$ac_ext <<EOF
12402 #line 12403 "configure"
12403 #include "confdefs.h"
12406 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12407 { (eval echo configure
:12408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12408 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12409 if test -z "$ac_err"; then
12411 eval "ac_cv_header_$ac_safe=yes"
12414 echo "configure: failed program was:" >&5
12415 cat conftest.
$ac_ext >&5
12417 eval "ac_cv_header_$ac_safe=no"
12421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12422 echo "$ac_t""yes" 1>&6
12423 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12424 cat >> confdefs.h
<<EOF
12425 #define $ac_tr_hdr 1
12429 echo "$ac_t""no" 1>&6
12434 if test "$wxUSE_GUI" = "yes"; then
12435 if test "$wxUSE_UNIX" = "yes"; then
12436 for ac_hdr
in X
11/XKBlib.h
12438 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12440 echo "configure:12441: checking for $ac_hdr" >&5
12441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12444 cat > conftest.
$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12450 { (eval echo configure
:12451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12452 if test -z "$ac_err"; then
12454 eval "ac_cv_header_$ac_safe=yes"
12457 echo "configure: failed program was:" >&5
12458 cat conftest.
$ac_ext >&5
12460 eval "ac_cv_header_$ac_safe=no"
12464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12465 echo "$ac_t""yes" 1>&6
12466 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12467 cat >> confdefs.h
<<EOF
12468 #define $ac_tr_hdr 1
12472 echo "$ac_t""no" 1>&6
12480 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12481 echo "configure:12482: checking for ANSI C header files" >&5
12482 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12483 echo $ac_n "(cached) $ac_c" 1>&6
12485 cat > conftest.
$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12488 #include <stdlib.h>
12489 #include <stdarg.h>
12490 #include <string.h>
12493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12494 { (eval echo configure
:12495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12496 if test -z "$ac_err"; then
12498 ac_cv_header_stdc
=yes
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 ac_cv_header_stdc
=no
12508 if test $ac_cv_header_stdc = yes; then
12509 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12510 cat > conftest.
$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12513 #include <string.h>
12515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12516 egrep "memchr" >/dev
/null
2>&1; then
12520 ac_cv_header_stdc
=no
12526 if test $ac_cv_header_stdc = yes; then
12527 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12528 cat > conftest.
$ac_ext <<EOF
12529 #line 12530 "configure"
12530 #include "confdefs.h"
12531 #include <stdlib.h>
12533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12534 egrep "free" >/dev
/null
2>&1; then
12538 ac_cv_header_stdc
=no
12544 if test $ac_cv_header_stdc = yes; then
12545 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12546 if test "$cross_compiling" = yes; then
12549 cat > conftest.
$ac_ext <<EOF
12550 #line 12551 "configure"
12551 #include "confdefs.h"
12553 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12554 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12555 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12556 int main () { int i; for (i = 0; i < 256; i++)
12557 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12561 if { (eval echo configure
:12562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12565 echo "configure: failed program was:" >&5
12566 cat conftest.
$ac_ext >&5
12568 ac_cv_header_stdc
=no
12576 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12577 if test $ac_cv_header_stdc = yes; then
12578 cat >> confdefs.h
<<\EOF
12579 #define STDC_HEADERS 1
12584 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12585 echo "configure:12586: checking for mode_t" >&5
12586 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12587 echo $ac_n "(cached) $ac_c" 1>&6
12589 cat > conftest.
$ac_ext <<EOF
12590 #line 12591 "configure"
12591 #include "confdefs.h"
12592 #include <sys/types.h>
12594 #include <stdlib.h>
12595 #include <stddef.h>
12598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12599 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12601 ac_cv_type_mode_t
=yes
12604 ac_cv_type_mode_t
=no
12609 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12610 if test $ac_cv_type_mode_t = no
; then
12611 cat >> confdefs.h
<<\EOF
12617 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12618 echo "configure:12619: checking for off_t" >&5
12619 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12620 echo $ac_n "(cached) $ac_c" 1>&6
12622 cat > conftest.
$ac_ext <<EOF
12623 #line 12624 "configure"
12624 #include "confdefs.h"
12625 #include <sys/types.h>
12627 #include <stdlib.h>
12628 #include <stddef.h>
12631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12632 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12634 ac_cv_type_off_t
=yes
12637 ac_cv_type_off_t
=no
12642 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12643 if test $ac_cv_type_off_t = no
; then
12644 cat >> confdefs.h
<<\EOF
12650 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12651 echo "configure:12652: checking for pid_t" >&5
12652 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12655 cat > conftest.
$ac_ext <<EOF
12656 #line 12657 "configure"
12657 #include "confdefs.h"
12658 #include <sys/types.h>
12660 #include <stdlib.h>
12661 #include <stddef.h>
12664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12665 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12667 ac_cv_type_pid_t
=yes
12670 ac_cv_type_pid_t
=no
12675 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12676 if test $ac_cv_type_pid_t = no
; then
12677 cat >> confdefs.h
<<\EOF
12683 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12684 echo "configure:12685: checking for size_t" >&5
12685 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12686 echo $ac_n "(cached) $ac_c" 1>&6
12688 cat > conftest.
$ac_ext <<EOF
12689 #line 12690 "configure"
12690 #include "confdefs.h"
12691 #include <sys/types.h>
12693 #include <stdlib.h>
12694 #include <stddef.h>
12697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12698 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12700 ac_cv_type_size_t
=yes
12703 ac_cv_type_size_t
=no
12708 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12709 if test $ac_cv_type_size_t = no
; then
12710 cat >> confdefs.h
<<\EOF
12711 #define size_t unsigned
12716 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12717 echo "configure:12718: checking for uid_t in sys/types.h" >&5
12718 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12719 echo $ac_n "(cached) $ac_c" 1>&6
12721 cat > conftest.
$ac_ext <<EOF
12722 #line 12723 "configure"
12723 #include "confdefs.h"
12724 #include <sys/types.h>
12726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12727 egrep "uid_t" >/dev
/null
2>&1; then
12729 ac_cv_type_uid_t
=yes
12732 ac_cv_type_uid_t
=no
12738 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12739 if test $ac_cv_type_uid_t = no
; then
12740 cat >> confdefs.h
<<\EOF
12744 cat >> confdefs.h
<<\EOF
12751 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12752 echo "configure:12753: checking for wchar_t" >&5
12753 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12754 echo $ac_n "(cached) $ac_c" 1>&6
12757 cat > conftest.
$ac_ext <<EOF
12758 #line 12759 "configure"
12759 #include "confdefs.h"
12761 #ifdef HAVE_WCHAR_H
12763 # include <stddef.h>
12765 # include <wchar.h>
12767 #ifdef HAVE_STDLIB_H
12768 # include <stdlib.h>
12775 ws = L"Hello, world!";
12779 if { (eval echo configure
:12780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12781 wx_cv_type_wchar_t
=yes
12783 echo "configure: failed program was:" >&5
12784 cat conftest.
$ac_ext >&5
12786 wx_cv_type_wchar_t
=no
12793 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12795 if test "$wx_cv_type_wchar_t" = "yes"; then
12796 cat >> confdefs.h
<<\EOF
12797 #define wxUSE_WCHAR_T 1
12804 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12805 ac_cpp
='$CXXCPP $CPPFLAGS'
12806 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12807 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12808 cross_compiling
=$ac_cv_prog_cxx_cross
12810 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12811 echo "configure:12812: checking if size_t is unsigned int" >&5
12812 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12813 echo $ac_n "(cached) $ac_c" 1>&6
12815 cat > conftest.
$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12818 #include <stddef.h>
12823 struct Foo { void foo(size_t); void foo(unsigned int); };
12829 if { (eval echo configure
:12830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12831 wx_cv_size_t_is_uint
=no
12833 echo "configure: failed program was:" >&5
12834 cat conftest.
$ac_ext >&5
12836 wx_cv_size_t_is_uint
=yes
12843 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12845 if test "$wx_cv_size_t_is_uint" = "yes"; then
12846 cat >> confdefs.h
<<\EOF
12847 #define wxSIZE_T_IS_UINT 1
12851 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12852 echo "configure:12853: checking if size_t is unsigned long" >&5
12853 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12854 echo $ac_n "(cached) $ac_c" 1>&6
12856 cat > conftest.
$ac_ext <<EOF
12857 #line 12858 "configure"
12858 #include "confdefs.h"
12859 #include <stddef.h>
12864 struct Foo { void foo(size_t); void foo(unsigned long); };
12870 if { (eval echo configure
:12871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12872 wx_cv_size_t_is_ulong
=no
12874 echo "configure: failed program was:" >&5
12875 cat conftest.
$ac_ext >&5
12877 wx_cv_size_t_is_ulong
=yes
12884 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12886 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12887 cat >> confdefs.h
<<\EOF
12888 #define wxSIZE_T_IS_ULONG 1
12895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12896 ac_cpp
='$CPP $CPPFLAGS'
12897 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12898 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12899 cross_compiling
=$ac_cv_prog_cc_cross
12903 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12904 echo "configure:12905: checking for pw_gecos in struct passwd" >&5
12905 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12906 echo $ac_n "(cached) $ac_c" 1>&6
12909 cat > conftest.
$ac_ext <<EOF
12910 #line 12911 "configure"
12911 #include "confdefs.h"
12921 if { (eval echo configure
:12922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12924 wx_cv_struct_pw_gecos
=yes
12927 echo "configure: failed program was:" >&5
12928 cat conftest.
$ac_ext >&5
12931 wx_cv_struct_pw_gecos
=no
12940 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12942 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12943 cat >> confdefs.h
<<\EOF
12944 #define HAVE_PW_GECOS 1
12950 echo $ac_n "checking for working const""... $ac_c" 1>&6
12951 echo "configure:12952: checking for working const" >&5
12952 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12953 echo $ac_n "(cached) $ac_c" 1>&6
12955 cat > conftest.
$ac_ext <<EOF
12956 #line 12957 "configure"
12957 #include "confdefs.h"
12961 /* Ultrix mips cc rejects this. */
12962 typedef int charset[2]; const charset x;
12963 /* SunOS 4.1.1 cc rejects this. */
12964 char const *const *ccp;
12966 /* NEC SVR4.0.2 mips cc rejects this. */
12967 struct point {int x, y;};
12968 static struct point const zero = {0,0};
12969 /* AIX XL C 1.02.0.0 rejects this.
12970 It does not let you subtract one const X* pointer from another in an arm
12971 of an if-expression whose if-part is not a constant expression */
12972 const char *g = "string";
12973 ccp = &g + (g ? g-g : 0);
12974 /* HPUX 7.0 cc rejects these. */
12977 ccp = (char const *const *) p;
12978 { /* SCO 3.2v4 cc rejects this. */
12980 char const *s = 0 ? (char *) 0 : (char const *) 0;
12984 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12985 int x[] = {25, 17};
12986 const int *foo = &x[0];
12989 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12990 typedef const int *iptr;
12994 { /* AIX XL C 1.02.0.0 rejects this saying
12995 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12996 struct s { int j; const int *ap[3]; };
12997 struct s *b; b->j = 5;
12999 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13000 const int foo = 10;
13005 if { (eval echo configure
:13006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13009 echo "configure: failed program was:" >&5
13010 cat conftest.
$ac_ext >&5
13017 echo "$ac_t""$ac_cv_c_const" 1>&6
13018 if test $ac_cv_c_const = no
; then
13019 cat >> confdefs.h
<<\EOF
13025 echo $ac_n "checking for inline""... $ac_c" 1>&6
13026 echo "configure:13027: checking for inline" >&5
13027 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13028 echo $ac_n "(cached) $ac_c" 1>&6
13031 for ac_kw
in inline __inline__ __inline
; do
13032 cat > conftest.
$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13040 if { (eval echo configure
:13041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13042 ac_cv_c_inline
=$ac_kw; break
13044 echo "configure: failed program was:" >&5
13045 cat conftest.
$ac_ext >&5
13052 echo "$ac_t""$ac_cv_c_inline" 1>&6
13053 case "$ac_cv_c_inline" in
13055 no
) cat >> confdefs.h
<<\EOF
13059 *) cat >> confdefs.h
<<EOF
13060 #define inline $ac_cv_c_inline
13066 echo $ac_n "checking size of char""... $ac_c" 1>&6
13067 echo "configure:13068: checking size of char" >&5
13068 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13069 echo $ac_n "(cached) $ac_c" 1>&6
13071 if test "$cross_compiling" = yes; then
13072 ac_cv_sizeof_char
=1
13074 cat > conftest.
$ac_ext <<EOF
13075 #line 13076 "configure"
13076 #include "confdefs.h"
13078 #include <sys/types.h>
13081 FILE *f=fopen("conftestval", "w");
13083 fprintf(f, "%d\n", sizeof(char));
13087 if { (eval echo configure
:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13089 ac_cv_sizeof_char
=`cat conftestval`
13091 echo "configure: failed program was:" >&5
13092 cat conftest.
$ac_ext >&5
13094 ac_cv_sizeof_char
=0
13100 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13101 cat >> confdefs.h
<<EOF
13102 #define SIZEOF_CHAR $ac_cv_sizeof_char
13106 echo $ac_n "checking size of short""... $ac_c" 1>&6
13107 echo "configure:13108: checking size of short" >&5
13108 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13109 echo $ac_n "(cached) $ac_c" 1>&6
13111 if test "$cross_compiling" = yes; then
13112 ac_cv_sizeof_short
=2
13114 cat > conftest.
$ac_ext <<EOF
13115 #line 13116 "configure"
13116 #include "confdefs.h"
13118 #include <sys/types.h>
13121 FILE *f=fopen("conftestval", "w");
13123 fprintf(f, "%d\n", sizeof(short));
13127 if { (eval echo configure
:13128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13129 ac_cv_sizeof_short
=`cat conftestval`
13131 echo "configure: failed program was:" >&5
13132 cat conftest.
$ac_ext >&5
13134 ac_cv_sizeof_short
=0
13140 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13141 cat >> confdefs.h
<<EOF
13142 #define SIZEOF_SHORT $ac_cv_sizeof_short
13146 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13147 echo "configure:13148: checking size of int *" >&5
13148 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13151 if test "$cross_compiling" = yes; then
13152 ac_cv_sizeof_int_p
=4
13154 cat > conftest.
$ac_ext <<EOF
13155 #line 13156 "configure"
13156 #include "confdefs.h"
13158 #include <sys/types.h>
13161 FILE *f=fopen("conftestval", "w");
13163 fprintf(f, "%d\n", sizeof(int *));
13167 if { (eval echo configure
:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13169 ac_cv_sizeof_int_p
=`cat conftestval`
13171 echo "configure: failed program was:" >&5
13172 cat conftest.
$ac_ext >&5
13174 ac_cv_sizeof_int_p
=0
13180 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13181 cat >> confdefs.h
<<EOF
13182 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13186 echo $ac_n "checking size of int""... $ac_c" 1>&6
13187 echo "configure:13188: checking size of int" >&5
13188 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13189 echo $ac_n "(cached) $ac_c" 1>&6
13191 if test "$cross_compiling" = yes; then
13194 cat > conftest.
$ac_ext <<EOF
13195 #line 13196 "configure"
13196 #include "confdefs.h"
13198 #include <sys/types.h>
13201 FILE *f=fopen("conftestval", "w");
13203 fprintf(f, "%d\n", sizeof(int));
13207 if { (eval echo configure
:13208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13209 ac_cv_sizeof_int
=`cat conftestval`
13211 echo "configure: failed program was:" >&5
13212 cat conftest.
$ac_ext >&5
13220 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13221 cat >> confdefs.h
<<EOF
13222 #define SIZEOF_INT $ac_cv_sizeof_int
13226 echo $ac_n "checking size of long""... $ac_c" 1>&6
13227 echo "configure:13228: checking size of long" >&5
13228 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13229 echo $ac_n "(cached) $ac_c" 1>&6
13231 if test "$cross_compiling" = yes; then
13232 ac_cv_sizeof_long
=4
13234 cat > conftest.
$ac_ext <<EOF
13235 #line 13236 "configure"
13236 #include "confdefs.h"
13238 #include <sys/types.h>
13241 FILE *f=fopen("conftestval", "w");
13243 fprintf(f, "%d\n", sizeof(long));
13247 if { (eval echo configure
:13248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13249 ac_cv_sizeof_long
=`cat conftestval`
13251 echo "configure: failed program was:" >&5
13252 cat conftest.
$ac_ext >&5
13254 ac_cv_sizeof_long
=0
13260 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13261 cat >> confdefs.h
<<EOF
13262 #define SIZEOF_LONG $ac_cv_sizeof_long
13266 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13267 echo "configure:13268: checking size of long long" >&5
13268 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13269 echo $ac_n "(cached) $ac_c" 1>&6
13271 if test "$cross_compiling" = yes; then
13272 ac_cv_sizeof_long_long
=0
13274 cat > conftest.
$ac_ext <<EOF
13275 #line 13276 "configure"
13276 #include "confdefs.h"
13278 #include <sys/types.h>
13281 FILE *f=fopen("conftestval", "w");
13283 fprintf(f, "%d\n", sizeof(long long));
13287 if { (eval echo configure
:13288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13289 ac_cv_sizeof_long_long
=`cat conftestval`
13291 echo "configure: failed program was:" >&5
13292 cat conftest.
$ac_ext >&5
13294 ac_cv_sizeof_long_long
=0
13300 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13301 cat >> confdefs.h
<<EOF
13302 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13307 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13308 echo "configure:13309: checking size of wchar_t" >&5
13309 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13310 echo $ac_n "(cached) $ac_c" 1>&6
13313 if test "$cross_compiling" = yes; then
13314 wx_cv_sizeof_wchar_t
=4
13317 cat > conftest.
$ac_ext <<EOF
13318 #line 13319 "configure"
13319 #include "confdefs.h"
13321 #ifdef HAVE_WCHAR_H
13323 # include <stddef.h>
13325 # include <wchar.h>
13327 #ifdef HAVE_STDLIB_H
13328 # include <stdlib.h>
13333 FILE *f=fopen("conftestval", "w");
13335 fprintf(f, "%i", sizeof(wchar_t));
13340 if { (eval echo configure
:13341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13342 wx_cv_sizeof_wchar_t
=`cat conftestval`
13344 echo "configure: failed program was:" >&5
13345 cat conftest.
$ac_ext >&5
13347 wx_cv_sizeof_wchar_t
=0
13355 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13357 cat >> confdefs.h
<<EOF
13358 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13362 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13363 echo "configure:13364: checking whether byte ordering is bigendian" >&5
13364 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13365 echo $ac_n "(cached) $ac_c" 1>&6
13367 ac_cv_c_bigendian
=unknown
13368 # See if sys/param.h defines the BYTE_ORDER macro.
13369 cat > conftest.
$ac_ext <<EOF
13370 #line 13371 "configure"
13371 #include "confdefs.h"
13372 #include <sys/types.h>
13373 #include <sys/param.h>
13376 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13377 bogus endian macros
13381 if { (eval echo configure
:13382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13383 # It does; now see whether it defined to BIG_ENDIAN or not.
13384 cat > conftest.
$ac_ext <<EOF
13385 #line 13386 "configure"
13386 #include "confdefs.h"
13387 #include <sys/types.h>
13388 #include <sys/param.h>
13391 #if BYTE_ORDER != BIG_ENDIAN
13396 if { (eval echo configure
:13397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13398 ac_cv_c_bigendian
=yes
13400 echo "configure: failed program was:" >&5
13401 cat conftest.
$ac_ext >&5
13403 ac_cv_c_bigendian
=no
13407 echo "configure: failed program was:" >&5
13408 cat conftest.
$ac_ext >&5
13411 if test $ac_cv_c_bigendian = unknown
; then
13412 if test "$cross_compiling" = yes; then
13413 ac_cv_c_bigendian
=unknown
13415 cat > conftest.
$ac_ext <<EOF
13416 #line 13417 "configure"
13417 #include "confdefs.h"
13419 /* Are we little or big endian? From Harbison&Steele. */
13423 char c[sizeof (long)];
13426 exit (u.c[sizeof (long) - 1] == 1);
13429 if { (eval echo configure
:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13431 ac_cv_c_bigendian
=no
13433 echo "configure: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 ac_cv_c_bigendian
=yes
13444 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13445 if test $ac_cv_c_bigendian = unknown
; then
13446 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
13448 if test $ac_cv_c_bigendian = yes; then
13449 cat >> confdefs.h
<<\EOF
13450 #define WORDS_BIGENDIAN 1
13456 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13457 echo "configure:13458: checking how to run the C++ preprocessor" >&5
13458 if test -z "$CXXCPP"; then
13459 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13460 echo $ac_n "(cached) $ac_c" 1>&6
13463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13464 ac_cpp
='$CXXCPP $CPPFLAGS'
13465 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13466 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13467 cross_compiling
=$ac_cv_prog_cxx_cross
13468 CXXCPP
="${CXX-g++} -E"
13469 cat > conftest.
$ac_ext <<EOF
13470 #line 13471 "configure"
13471 #include "confdefs.h"
13472 #include <stdlib.h>
13474 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13475 { (eval echo configure
:13476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13476 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13477 if test -z "$ac_err"; then
13481 echo "configure: failed program was:" >&5
13482 cat conftest.
$ac_ext >&5
13487 ac_cv_prog_CXXCPP
="$CXXCPP"
13489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13490 ac_cpp
='$CXXCPP $CPPFLAGS'
13491 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13492 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13493 cross_compiling
=$ac_cv_prog_cxx_cross
13496 CXXCPP
="$ac_cv_prog_CXXCPP"
13497 echo "$ac_t""$CXXCPP" 1>&6
13500 if test "$cross_compiling" = "yes"; then
13501 cat >> confdefs.h
<<\EOF
13502 #define wxUSE_IOSTREAMH 1
13508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13509 ac_cpp
='$CXXCPP $CPPFLAGS'
13510 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13511 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13512 cross_compiling
=$ac_cv_prog_cxx_cross
13515 for ac_hdr
in iostream
13517 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13518 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13519 echo "configure:13520: checking for $ac_hdr" >&5
13520 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13521 echo $ac_n "(cached) $ac_c" 1>&6
13523 cat > conftest.
$ac_ext <<EOF
13524 #line 13525 "configure"
13525 #include "confdefs.h"
13528 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13529 { (eval echo configure
:13530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13530 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13531 if test -z "$ac_err"; then
13533 eval "ac_cv_header_$ac_safe=yes"
13536 echo "configure: failed program was:" >&5
13537 cat conftest.
$ac_ext >&5
13539 eval "ac_cv_header_$ac_safe=no"
13543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13544 echo "$ac_t""yes" 1>&6
13545 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13546 cat >> confdefs.h
<<EOF
13547 #define $ac_tr_hdr 1
13551 echo "$ac_t""no" 1>&6
13556 if test "$ac_cv_header_iostream" = "yes" ; then
13559 cat >> confdefs.h
<<\EOF
13560 #define wxUSE_IOSTREAMH 1
13566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13567 ac_cpp
='$CPP $CPPFLAGS'
13568 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13569 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13570 cross_compiling
=$ac_cv_prog_cc_cross
13576 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13577 echo "configure:13578: checking if C++ compiler supports bool" >&5
13578 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13579 echo $ac_n "(cached) $ac_c" 1>&6
13584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13587 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13588 cross_compiling
=$ac_cv_prog_cxx_cross
13591 cat > conftest.
$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13604 if { (eval echo configure
:13605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13610 echo "configure: failed program was:" >&5
13611 cat conftest.
$ac_ext >&5
13621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13622 ac_cpp
='$CPP $CPPFLAGS'
13623 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13624 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13625 cross_compiling
=$ac_cv_prog_cc_cross
13630 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13632 if test "$wx_cv_cpp_bool" = "yes"; then
13633 cat >> confdefs.h
<<\EOF
13634 #define HAVE_BOOL 1
13641 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13642 echo "configure:13643: checking for wcslen in -lc" >&5
13643 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13645 echo $ac_n "(cached) $ac_c" 1>&6
13647 ac_save_LIBS
="$LIBS"
13649 cat > conftest.
$ac_ext <<EOF
13650 #line 13651 "configure"
13651 #include "confdefs.h"
13652 /* Override any gcc2 internal prototype to avoid an error. */
13653 /* We use char because int might match the return type of a gcc2
13654 builtin and then its argument prototype would still apply. */
13661 if { (eval echo configure
:13662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13663 eval "ac_cv_lib_$ac_lib_var=yes"
13665 echo "configure: failed program was:" >&5
13666 cat conftest.
$ac_ext >&5
13668 eval "ac_cv_lib_$ac_lib_var=no"
13671 LIBS
="$ac_save_LIBS"
13674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13675 echo "$ac_t""yes" 1>&6
13677 cat >> confdefs.h
<<\EOF
13678 #define HAVE_WCSLEN 1
13684 echo "$ac_t""no" 1>&6
13686 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13687 echo "configure:13688: checking for wcslen in -lw" >&5
13688 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13689 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13690 echo $ac_n "(cached) $ac_c" 1>&6
13692 ac_save_LIBS
="$LIBS"
13694 cat > conftest.
$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13697 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13706 if { (eval echo configure
:13707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13708 eval "ac_cv_lib_$ac_lib_var=yes"
13710 echo "configure: failed program was:" >&5
13711 cat conftest.
$ac_ext >&5
13713 eval "ac_cv_lib_$ac_lib_var=no"
13716 LIBS
="$ac_save_LIBS"
13719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13720 echo "$ac_t""yes" 1>&6
13722 cat >> confdefs.h
<<\EOF
13723 #define HAVE_WCSLEN 1
13729 echo "$ac_t""no" 1>&6
13731 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13732 echo "configure:13733: checking for wcslen in -lmsvcrt" >&5
13733 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13735 echo $ac_n "(cached) $ac_c" 1>&6
13737 ac_save_LIBS
="$LIBS"
13738 LIBS
="-lmsvcrt $LIBS"
13739 cat > conftest.
$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13742 /* Override any gcc2 internal prototype to avoid an error. */
13743 /* We use char because int might match the return type of a gcc2
13744 builtin and then its argument prototype would still apply. */
13751 if { (eval echo configure
:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13753 eval "ac_cv_lib_$ac_lib_var=yes"
13755 echo "configure: failed program was:" >&5
13756 cat conftest.
$ac_ext >&5
13758 eval "ac_cv_lib_$ac_lib_var=no"
13761 LIBS
="$ac_save_LIBS"
13764 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13765 echo "$ac_t""yes" 1>&6
13767 cat >> confdefs.h
<<\EOF
13768 #define HAVE_WCSLEN 1
13774 echo "$ac_t""no" 1>&6
13784 for ac_func
in wcsrtombs
13786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13787 echo "configure:13788: checking for $ac_func" >&5
13788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13789 echo $ac_n "(cached) $ac_c" 1>&6
13791 cat > conftest.
$ac_ext <<EOF
13792 #line 13793 "configure"
13793 #include "confdefs.h"
13794 /* System header to define __stub macros and hopefully few prototypes,
13795 which can conflict with char $ac_func(); below. */
13796 #include <assert.h>
13797 /* Override any gcc2 internal prototype to avoid an error. */
13798 /* We use char because int might match the return type of a gcc2
13799 builtin and then its argument prototype would still apply. */
13804 /* The GNU C library defines this for functions which it implements
13805 to always fail with ENOSYS. Some functions are actually named
13806 something starting with __ and the normal name is an alias. */
13807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13815 if { (eval echo configure
:13816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13817 eval "ac_cv_func_$ac_func=yes"
13819 echo "configure: failed program was:" >&5
13820 cat conftest.
$ac_ext >&5
13822 eval "ac_cv_func_$ac_func=no"
13827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13828 echo "$ac_t""yes" 1>&6
13829 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13830 cat >> confdefs.h
<<EOF
13831 #define $ac_tr_func 1
13835 echo "$ac_t""no" 1>&6
13840 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13841 echo "configure:13842: checking for vprintf" >&5
13842 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13843 echo $ac_n "(cached) $ac_c" 1>&6
13845 cat > conftest.
$ac_ext <<EOF
13846 #line 13847 "configure"
13847 #include "confdefs.h"
13848 /* System header to define __stub macros and hopefully few prototypes,
13849 which can conflict with char vprintf(); below. */
13850 #include <assert.h>
13851 /* Override any gcc2 internal prototype to avoid an error. */
13852 /* We use char because int might match the return type of a gcc2
13853 builtin and then its argument prototype would still apply. */
13858 /* The GNU C library defines this for functions which it implements
13859 to always fail with ENOSYS. Some functions are actually named
13860 something starting with __ and the normal name is an alias. */
13861 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13869 if { (eval echo configure
:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13871 eval "ac_cv_func_vprintf=yes"
13873 echo "configure: failed program was:" >&5
13874 cat conftest.
$ac_ext >&5
13876 eval "ac_cv_func_vprintf=no"
13881 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13882 echo "$ac_t""yes" 1>&6
13883 cat >> confdefs.h
<<\EOF
13884 #define HAVE_VPRINTF 1
13888 echo "$ac_t""no" 1>&6
13891 if test "$ac_cv_func_vprintf" != yes; then
13892 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13893 echo "configure:13894: checking for _doprnt" >&5
13894 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13895 echo $ac_n "(cached) $ac_c" 1>&6
13897 cat > conftest.
$ac_ext <<EOF
13898 #line 13899 "configure"
13899 #include "confdefs.h"
13900 /* System header to define __stub macros and hopefully few prototypes,
13901 which can conflict with char _doprnt(); below. */
13902 #include <assert.h>
13903 /* Override any gcc2 internal prototype to avoid an error. */
13904 /* We use char because int might match the return type of a gcc2
13905 builtin and then its argument prototype would still apply. */
13910 /* The GNU C library defines this for functions which it implements
13911 to always fail with ENOSYS. Some functions are actually named
13912 something starting with __ and the normal name is an alias. */
13913 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13921 if { (eval echo configure
:13922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13923 eval "ac_cv_func__doprnt=yes"
13925 echo "configure: failed program was:" >&5
13926 cat conftest.
$ac_ext >&5
13928 eval "ac_cv_func__doprnt=no"
13933 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13934 echo "$ac_t""yes" 1>&6
13935 cat >> confdefs.h
<<\EOF
13936 #define HAVE_DOPRNT 1
13940 echo "$ac_t""no" 1>&6
13950 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13951 echo "configure:13952: checking for vsnprintf" >&5
13952 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13953 echo $ac_n "(cached) $ac_c" 1>&6
13956 cat > conftest.
$ac_ext <<EOF
13957 #line 13958 "configure"
13958 #include "confdefs.h"
13961 #include <stdarg.h>
13965 int wx_test_vsnprintf(const char *, ...);
13967 wx_test_vsnprintf("%s");
13971 int wx_test_vsnprintf(const char *fmt, ...)
13976 va_start(argp, fmt);
13977 vsnprintf(s, 42, fmt, argp);
13982 if { (eval echo configure
:13983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13985 wx_cv_func_vsnprintf
=yes
13988 echo "configure: failed program was:" >&5
13989 cat conftest.
$ac_ext >&5
13992 cat > conftest.
$ac_ext <<EOF
13993 #line 13994 "configure"
13994 #include "confdefs.h"
13997 #include <stdarg.h>
14001 int wx_test_vsnprintf(const char *, ...);
14003 wx_test_vsnprintf("%s");
14007 int wx_test_vsnprintf(const char *fmt, ...)
14012 va_start(argp, fmt);
14013 _vsnprintf(s, 42, fmt, argp);
14018 if { (eval echo configure
:14019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14021 wx_cv_func_vsnprintf
=yes
14024 echo "configure: failed program was:" >&5
14025 cat conftest.
$ac_ext >&5
14028 wx_cv_func_vsnprintf
=no
14038 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14040 if test "$wx_cv_func_vsnprintf" = yes; then
14041 cat >> confdefs.h
<<\EOF
14042 #define HAVE_VSNPRINTF 1
14046 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14049 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14050 echo "configure:14051: checking for vsscanf" >&5
14051 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14052 echo $ac_n "(cached) $ac_c" 1>&6
14055 cat > conftest.
$ac_ext <<EOF
14056 #line 14057 "configure"
14057 #include "confdefs.h"
14060 #include <stdarg.h>
14064 int wx_test_vsscanf(const char *, ...);
14066 wx_test_vsscanf("%d");
14070 int wx_test_vsscanf(const char *fmt, ...)
14073 va_start(argp, fmt);
14074 vsscanf("42", fmt, argp);
14079 if { (eval echo configure
:14080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14082 wx_cv_func_vsscanf
=yes
14085 echo "configure: failed program was:" >&5
14086 cat conftest.
$ac_ext >&5
14089 wx_cv_func_vsscanf
=no
14096 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14098 if test "$wx_cv_func_vsscanf" = yes; then
14099 cat >> confdefs.h
<<\EOF
14100 #define HAVE_VSSCANF 1
14105 if test "$TOOLKIT" != "MSW"; then
14110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp
='$CXXCPP $CPPFLAGS'
14112 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling
=$ac_cv_prog_cxx_cross
14116 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14117 echo "configure:14118: checking if iconv() takes char**" >&5
14118 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14119 echo $ac_n "(cached) $ac_c" 1>&6
14122 cat > conftest.
$ac_ext <<EOF
14123 #line 14124 "configure"
14124 #include "confdefs.h"
14128 char **inbuf, **outbuf;
14130 size_t insz, outsz;
14131 iconv(cd, inbuf, &insz, outbuf, &outsz);
14135 if { (eval echo configure
:14136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14137 wx_cv_iconv_takes_char
=yes
14139 echo "configure: failed program was:" >&5
14140 cat conftest.
$ac_ext >&5
14142 wx_cv_iconv_takes_char
=no
14148 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14151 ac_cpp
='$CPP $CPPFLAGS'
14152 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14153 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14154 cross_compiling
=$ac_cv_prog_cc_cross
14156 if test "$wx_cv_iconv_takes_char" = yes ; then
14157 cat >> confdefs.h
<<\EOF
14158 #define WX_ICONV_TAKES_CHAR 1
14164 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14165 for ac_func
in sigaction
14167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14168 echo "configure:14169: checking for $ac_func" >&5
14169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14172 cat > conftest.
$ac_ext <<EOF
14173 #line 14174 "configure"
14174 #include "confdefs.h"
14175 /* System header to define __stub macros and hopefully few prototypes,
14176 which can conflict with char $ac_func(); below. */
14177 #include <assert.h>
14178 /* Override any gcc2 internal prototype to avoid an error. */
14179 /* We use char because int might match the return type of a gcc2
14180 builtin and then its argument prototype would still apply. */
14185 /* The GNU C library defines this for functions which it implements
14186 to always fail with ENOSYS. Some functions are actually named
14187 something starting with __ and the normal name is an alias. */
14188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14196 if { (eval echo configure
:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14198 eval "ac_cv_func_$ac_func=yes"
14200 echo "configure: failed program was:" >&5
14201 cat conftest.
$ac_ext >&5
14203 eval "ac_cv_func_$ac_func=no"
14208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14209 echo "$ac_t""yes" 1>&6
14210 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14211 cat >> confdefs.h
<<EOF
14212 #define $ac_tr_func 1
14216 echo "$ac_t""no" 1>&6
14221 if test "$ac_cv_func_sigaction" = "no"; then
14222 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14223 wxUSE_ON_FATAL_EXCEPTION
=no
14226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14230 ac_cpp
='$CXXCPP $CPPFLAGS'
14231 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14232 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14233 cross_compiling
=$ac_cv_prog_cxx_cross
14236 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14237 echo "configure:14238: checking for sa_handler type" >&5
14238 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14242 cat > conftest.
$ac_ext <<EOF
14243 #line 14244 "configure"
14244 #include "confdefs.h"
14245 #include <signal.h>
14248 extern void testSigHandler(int);
14250 struct sigaction sa;
14251 sa.sa_handler = testSigHandler;
14255 if { (eval echo configure
:14256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14258 wx_cv_type_sa_handler
=int
14261 echo "configure: failed program was:" >&5
14262 cat conftest.
$ac_ext >&5
14265 wx_cv_type_sa_handler
=void
14272 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14276 ac_cpp
='$CPP $CPPFLAGS'
14277 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14278 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14279 cross_compiling
=$ac_cv_prog_cc_cross
14282 cat >> confdefs.h
<<EOF
14283 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14289 for ac_func
in vfork
14291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14292 echo "configure:14293: checking for $ac_func" >&5
14293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14294 echo $ac_n "(cached) $ac_c" 1>&6
14296 cat > conftest.
$ac_ext <<EOF
14297 #line 14298 "configure"
14298 #include "confdefs.h"
14299 /* System header to define __stub macros and hopefully few prototypes,
14300 which can conflict with char $ac_func(); below. */
14301 #include <assert.h>
14302 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14309 /* The GNU C library defines this for functions which it implements
14310 to always fail with ENOSYS. Some functions are actually named
14311 something starting with __ and the normal name is an alias. */
14312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 if { (eval echo configure
:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14322 eval "ac_cv_func_$ac_func=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.
$ac_ext >&5
14327 eval "ac_cv_func_$ac_func=no"
14332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14333 echo "$ac_t""yes" 1>&6
14334 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14335 cat >> confdefs.h
<<EOF
14336 #define $ac_tr_func 1
14340 echo "$ac_t""no" 1>&6
14345 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14346 echo "configure:14347: checking for statfs" >&5
14347 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14348 echo $ac_n "(cached) $ac_c" 1>&6
14350 cat > conftest.
$ac_ext <<EOF
14351 #line 14352 "configure"
14352 #include "confdefs.h"
14354 #if defined(__BSD__)
14355 #include <sys/param.h>
14356 #include <sys/mount.h>
14358 #include <sys/vfs.h>
14372 if { (eval echo configure
:14373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14375 wx_cv_func_statfs
=yes
14378 echo "configure: failed program was:" >&5
14379 cat conftest.
$ac_ext >&5
14382 wx_cv_func_statfs
=no
14390 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14392 if test "$wx_cv_func_statfs" = "yes"; then
14393 cat >> confdefs.h
<<\EOF
14394 #define HAVE_STATFS 1
14398 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14399 echo "configure:14400: checking for statvfs" >&5
14400 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14401 echo $ac_n "(cached) $ac_c" 1>&6
14403 cat > conftest.
$ac_ext <<EOF
14404 #line 14405 "configure"
14405 #include "confdefs.h"
14407 #include <sys/statvfs.h>
14420 if { (eval echo configure
:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14423 wx_cv_func_statvfs
=yes
14426 echo "configure: failed program was:" >&5
14427 cat conftest.
$ac_ext >&5
14430 wx_cv_func_statvfs
=no
14438 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14440 if test "$wx_cv_func_statvfs" = "yes"; then
14441 cat >> confdefs.h
<<\EOF
14442 #define HAVE_STATVFS 1
14446 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14451 for ac_func
in fcntl flock
14453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14454 echo "configure:14455: checking for $ac_func" >&5
14455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14456 echo $ac_n "(cached) $ac_c" 1>&6
14458 cat > conftest.
$ac_ext <<EOF
14459 #line 14460 "configure"
14460 #include "confdefs.h"
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func(); below. */
14463 #include <assert.h>
14464 /* Override any gcc2 internal prototype to avoid an error. */
14465 /* We use char because int might match the return type of a gcc2
14466 builtin and then its argument prototype would still apply. */
14471 /* The GNU C library defines this for functions which it implements
14472 to always fail with ENOSYS. Some functions are actually named
14473 something starting with __ and the normal name is an alias. */
14474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14482 if { (eval echo configure
:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14484 eval "ac_cv_func_$ac_func=yes"
14486 echo "configure: failed program was:" >&5
14487 cat conftest.
$ac_ext >&5
14489 eval "ac_cv_func_$ac_func=no"
14494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14495 echo "$ac_t""yes" 1>&6
14496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14497 cat >> confdefs.h
<<EOF
14498 #define $ac_tr_func 1
14502 echo "$ac_t""no" 1>&6
14507 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14508 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14509 wxUSE_SNGLINST_CHECKER
=no
14513 for ac_func
in timegm
14515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14516 echo "configure:14517: checking for $ac_func" >&5
14517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14518 echo $ac_n "(cached) $ac_c" 1>&6
14520 cat > conftest.
$ac_ext <<EOF
14521 #line 14522 "configure"
14522 #include "confdefs.h"
14523 /* System header to define __stub macros and hopefully few prototypes,
14524 which can conflict with char $ac_func(); below. */
14525 #include <assert.h>
14526 /* Override any gcc2 internal prototype to avoid an error. */
14527 /* We use char because int might match the return type of a gcc2
14528 builtin and then its argument prototype would still apply. */
14533 /* The GNU C library defines this for functions which it implements
14534 to always fail with ENOSYS. Some functions are actually named
14535 something starting with __ and the normal name is an alias. */
14536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14544 if { (eval echo configure
:14545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14546 eval "ac_cv_func_$ac_func=yes"
14548 echo "configure: failed program was:" >&5
14549 cat conftest.
$ac_ext >&5
14551 eval "ac_cv_func_$ac_func=no"
14556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14557 echo "$ac_t""yes" 1>&6
14558 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14559 cat >> confdefs.h
<<EOF
14560 #define $ac_tr_func 1
14564 echo "$ac_t""no" 1>&6
14569 for ac_func
in putenv setenv
14571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14572 echo "configure:14573: checking for $ac_func" >&5
14573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14574 echo $ac_n "(cached) $ac_c" 1>&6
14576 cat > conftest.
$ac_ext <<EOF
14577 #line 14578 "configure"
14578 #include "confdefs.h"
14579 /* System header to define __stub macros and hopefully few prototypes,
14580 which can conflict with char $ac_func(); below. */
14581 #include <assert.h>
14582 /* Override any gcc2 internal prototype to avoid an error. */
14583 /* We use char because int might match the return type of a gcc2
14584 builtin and then its argument prototype would still apply. */
14589 /* The GNU C library defines this for functions which it implements
14590 to always fail with ENOSYS. Some functions are actually named
14591 something starting with __ and the normal name is an alias. */
14592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14600 if { (eval echo configure
:14601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14602 eval "ac_cv_func_$ac_func=yes"
14604 echo "configure: failed program was:" >&5
14605 cat conftest.
$ac_ext >&5
14607 eval "ac_cv_func_$ac_func=no"
14612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14613 echo "$ac_t""yes" 1>&6
14614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14615 cat >> confdefs.h
<<EOF
14616 #define $ac_tr_func 1
14620 echo "$ac_t""no" 1>&6
14625 HAVE_SOME_SLEEP_FUNC
=0
14626 if test "$USE_BEOS" = 1; then
14627 cat >> confdefs.h
<<\EOF
14628 #define HAVE_SLEEP 1
14631 HAVE_SOME_SLEEP_FUNC
=1
14634 if test "$USE_DARWIN" = 1; then
14635 cat >> confdefs.h
<<\EOF
14636 #define HAVE_USLEEP 1
14639 HAVE_SOME_SLEEP_FUNC
=1
14642 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14644 for ac_func
in nanosleep
14646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14647 echo "configure:14648: checking for $ac_func" >&5
14648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14649 echo $ac_n "(cached) $ac_c" 1>&6
14651 cat > conftest.
$ac_ext <<EOF
14652 #line 14653 "configure"
14653 #include "confdefs.h"
14654 /* System header to define __stub macros and hopefully few prototypes,
14655 which can conflict with char $ac_func(); below. */
14656 #include <assert.h>
14657 /* Override any gcc2 internal prototype to avoid an error. */
14658 /* We use char because int might match the return type of a gcc2
14659 builtin and then its argument prototype would still apply. */
14664 /* The GNU C library defines this for functions which it implements
14665 to always fail with ENOSYS. Some functions are actually named
14666 something starting with __ and the normal name is an alias. */
14667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14675 if { (eval echo configure
:14676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14677 eval "ac_cv_func_$ac_func=yes"
14679 echo "configure: failed program was:" >&5
14680 cat conftest.
$ac_ext >&5
14682 eval "ac_cv_func_$ac_func=no"
14687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14688 echo "$ac_t""yes" 1>&6
14689 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14690 cat >> confdefs.h
<<EOF
14691 #define $ac_tr_func 1
14693 cat >> confdefs.h
<<\EOF
14694 #define HAVE_NANOSLEEP 1
14698 echo "$ac_t""no" 1>&6
14699 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14700 echo "configure:14701: checking for nanosleep in -lposix4" >&5
14701 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14703 echo $ac_n "(cached) $ac_c" 1>&6
14705 ac_save_LIBS
="$LIBS"
14706 LIBS
="-lposix4 $LIBS"
14707 cat > conftest.
$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14710 /* Override any gcc2 internal prototype to avoid an error. */
14711 /* We use char because int might match the return type of a gcc2
14712 builtin and then its argument prototype would still apply. */
14719 if { (eval echo configure
:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14721 eval "ac_cv_lib_$ac_lib_var=yes"
14723 echo "configure: failed program was:" >&5
14724 cat conftest.
$ac_ext >&5
14726 eval "ac_cv_lib_$ac_lib_var=no"
14729 LIBS
="$ac_save_LIBS"
14732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14733 echo "$ac_t""yes" 1>&6
14735 cat >> confdefs.h
<<\EOF
14736 #define HAVE_NANOSLEEP 1
14739 POSIX4_LINK
=" -lposix4"
14742 echo "$ac_t""no" 1>&6
14744 for ac_func
in usleep
14746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14747 echo "configure:14748: checking for $ac_func" >&5
14748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14749 echo $ac_n "(cached) $ac_c" 1>&6
14751 cat > conftest.
$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14754 /* System header to define __stub macros and hopefully few prototypes,
14755 which can conflict with char $ac_func(); below. */
14756 #include <assert.h>
14757 /* Override any gcc2 internal prototype to avoid an error. */
14758 /* We use char because int might match the return type of a gcc2
14759 builtin and then its argument prototype would still apply. */
14764 /* The GNU C library defines this for functions which it implements
14765 to always fail with ENOSYS. Some functions are actually named
14766 something starting with __ and the normal name is an alias. */
14767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14775 if { (eval echo configure
:14776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14777 eval "ac_cv_func_$ac_func=yes"
14779 echo "configure: failed program was:" >&5
14780 cat conftest.
$ac_ext >&5
14782 eval "ac_cv_func_$ac_func=no"
14787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14788 echo "$ac_t""yes" 1>&6
14789 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14790 cat >> confdefs.h
<<EOF
14791 #define $ac_tr_func 1
14793 cat >> confdefs.h
<<\EOF
14794 #define HAVE_USLEEP 1
14798 echo "$ac_t""no" 1>&6
14799 echo "configure: warning: wxSleep() function will not work" 1>&2
14815 for ac_func
in uname gethostname
14817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14818 echo "configure:14819: checking for $ac_func" >&5
14819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14820 echo $ac_n "(cached) $ac_c" 1>&6
14822 cat > conftest.
$ac_ext <<EOF
14823 #line 14824 "configure"
14824 #include "confdefs.h"
14825 /* System header to define __stub macros and hopefully few prototypes,
14826 which can conflict with char $ac_func(); below. */
14827 #include <assert.h>
14828 /* Override any gcc2 internal prototype to avoid an error. */
14829 /* We use char because int might match the return type of a gcc2
14830 builtin and then its argument prototype would still apply. */
14835 /* The GNU C library defines this for functions which it implements
14836 to always fail with ENOSYS. Some functions are actually named
14837 something starting with __ and the normal name is an alias. */
14838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14846 if { (eval echo configure
:14847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14848 eval "ac_cv_func_$ac_func=yes"
14850 echo "configure: failed program was:" >&5
14851 cat conftest.
$ac_ext >&5
14853 eval "ac_cv_func_$ac_func=no"
14858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14859 echo "$ac_t""yes" 1>&6
14860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14861 cat >> confdefs.h
<<EOF
14862 #define $ac_tr_func 1
14866 echo "$ac_t""no" 1>&6
14873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14874 ac_cpp
='$CXXCPP $CPPFLAGS'
14875 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14876 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14877 cross_compiling
=$ac_cv_prog_cxx_cross
14880 for ac_func
in strtok_r
14882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14883 echo "configure:14884: checking for $ac_func" >&5
14884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14885 echo $ac_n "(cached) $ac_c" 1>&6
14887 cat > conftest.
$ac_ext <<EOF
14888 #line 14889 "configure"
14889 #include "confdefs.h"
14890 /* System header to define __stub macros and hopefully few prototypes,
14891 which can conflict with char $ac_func(); below. */
14892 #include <assert.h>
14893 /* Override any gcc2 internal prototype to avoid an error. */
14897 /* We use char because int might match the return type of a gcc2
14898 builtin and then its argument prototype would still apply. */
14903 /* The GNU C library defines this for functions which it implements
14904 to always fail with ENOSYS. Some functions are actually named
14905 something starting with __ and the normal name is an alias. */
14906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14914 if { (eval echo configure
:14915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14916 eval "ac_cv_func_$ac_func=yes"
14918 echo "configure: failed program was:" >&5
14919 cat conftest.
$ac_ext >&5
14921 eval "ac_cv_func_$ac_func=no"
14926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14927 echo "$ac_t""yes" 1>&6
14928 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14929 cat >> confdefs.h
<<EOF
14930 #define $ac_tr_func 1
14934 echo "$ac_t""no" 1>&6
14940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14941 ac_cpp
='$CPP $CPPFLAGS'
14942 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14943 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14944 cross_compiling
=$ac_cv_prog_cc_cross
14948 for ac_func
in inet_addr
14950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14951 echo "configure:14952: checking for $ac_func" >&5
14952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14953 echo $ac_n "(cached) $ac_c" 1>&6
14955 cat > conftest.
$ac_ext <<EOF
14956 #line 14957 "configure"
14957 #include "confdefs.h"
14958 /* System header to define __stub macros and hopefully few prototypes,
14959 which can conflict with char $ac_func(); below. */
14960 #include <assert.h>
14961 /* Override any gcc2 internal prototype to avoid an error. */
14962 /* We use char because int might match the return type of a gcc2
14963 builtin and then its argument prototype would still apply. */
14968 /* The GNU C library defines this for functions which it implements
14969 to always fail with ENOSYS. Some functions are actually named
14970 something starting with __ and the normal name is an alias. */
14971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14979 if { (eval echo configure
:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14981 eval "ac_cv_func_$ac_func=yes"
14983 echo "configure: failed program was:" >&5
14984 cat conftest.
$ac_ext >&5
14986 eval "ac_cv_func_$ac_func=no"
14991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14992 echo "$ac_t""yes" 1>&6
14993 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14994 cat >> confdefs.h
<<EOF
14995 #define $ac_tr_func 1
14997 cat >> confdefs.h
<<\EOF
14998 #define HAVE_INET_ADDR 1
15002 echo "$ac_t""no" 1>&6
15003 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15004 echo "configure:15005: checking for inet_addr in -lnsl" >&5
15005 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15007 echo $ac_n "(cached) $ac_c" 1>&6
15009 ac_save_LIBS
="$LIBS"
15011 cat > conftest.
$ac_ext <<EOF
15012 #line 15013 "configure"
15013 #include "confdefs.h"
15014 /* Override any gcc2 internal prototype to avoid an error. */
15015 /* We use char because int might match the return type of a gcc2
15016 builtin and then its argument prototype would still apply. */
15023 if { (eval echo configure
:15024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15025 eval "ac_cv_lib_$ac_lib_var=yes"
15027 echo "configure: failed program was:" >&5
15028 cat conftest.
$ac_ext >&5
15030 eval "ac_cv_lib_$ac_lib_var=no"
15033 LIBS
="$ac_save_LIBS"
15036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15037 echo "$ac_t""yes" 1>&6
15040 echo "$ac_t""no" 1>&6
15041 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15042 echo "configure:15043: checking for inet_addr in -lresolv" >&5
15043 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15045 echo $ac_n "(cached) $ac_c" 1>&6
15047 ac_save_LIBS
="$LIBS"
15048 LIBS
="-lresolv $LIBS"
15049 cat > conftest.
$ac_ext <<EOF
15050 #line 15051 "configure"
15051 #include "confdefs.h"
15052 /* Override any gcc2 internal prototype to avoid an error. */
15053 /* We use char because int might match the return type of a gcc2
15054 builtin and then its argument prototype would still apply. */
15061 if { (eval echo configure
:15062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15063 eval "ac_cv_lib_$ac_lib_var=yes"
15065 echo "configure: failed program was:" >&5
15066 cat conftest.
$ac_ext >&5
15068 eval "ac_cv_lib_$ac_lib_var=no"
15071 LIBS
="$ac_save_LIBS"
15074 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15075 echo "$ac_t""yes" 1>&6
15079 echo "$ac_t""no" 1>&6
15091 for ac_func
in inet_aton
15093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15094 echo "configure:15095: checking for $ac_func" >&5
15095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15096 echo $ac_n "(cached) $ac_c" 1>&6
15098 cat > conftest.
$ac_ext <<EOF
15099 #line 15100 "configure"
15100 #include "confdefs.h"
15101 /* System header to define __stub macros and hopefully few prototypes,
15102 which can conflict with char $ac_func(); below. */
15103 #include <assert.h>
15104 /* Override any gcc2 internal prototype to avoid an error. */
15105 /* We use char because int might match the return type of a gcc2
15106 builtin and then its argument prototype would still apply. */
15111 /* The GNU C library defines this for functions which it implements
15112 to always fail with ENOSYS. Some functions are actually named
15113 something starting with __ and the normal name is an alias. */
15114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15122 if { (eval echo configure
:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15124 eval "ac_cv_func_$ac_func=yes"
15126 echo "configure: failed program was:" >&5
15127 cat conftest.
$ac_ext >&5
15129 eval "ac_cv_func_$ac_func=no"
15134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15135 echo "$ac_t""yes" 1>&6
15136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15137 cat >> confdefs.h
<<EOF
15138 #define $ac_tr_func 1
15140 cat >> confdefs.h
<<\EOF
15141 #define HAVE_INET_ATON 1
15145 echo "$ac_t""no" 1>&6
15146 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15147 echo "configure:15148: checking for inet_aton in -l$INET_LINK" >&5
15148 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15150 echo $ac_n "(cached) $ac_c" 1>&6
15152 ac_save_LIBS
="$LIBS"
15153 LIBS
="-l$INET_LINK $LIBS"
15154 cat > conftest.
$ac_ext <<EOF
15155 #line 15156 "configure"
15156 #include "confdefs.h"
15157 /* Override any gcc2 internal prototype to avoid an error. */
15158 /* We use char because int might match the return type of a gcc2
15159 builtin and then its argument prototype would still apply. */
15166 if { (eval echo configure
:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15168 eval "ac_cv_lib_$ac_lib_var=yes"
15170 echo "configure: failed program was:" >&5
15171 cat conftest.
$ac_ext >&5
15173 eval "ac_cv_lib_$ac_lib_var=no"
15176 LIBS
="$ac_save_LIBS"
15179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15180 echo "$ac_t""yes" 1>&6
15181 cat >> confdefs.h
<<\EOF
15182 #define HAVE_INET_ATON 1
15186 echo "$ac_t""no" 1>&6
15194 if test "x$INET_LINK" != "x"; then
15195 cat >> confdefs.h
<<\EOF
15196 #define HAVE_INET_ADDR 1
15199 INET_LINK
=" -l$INET_LINK"
15205 cat > confcache
<<\EOF
15206 # This file is a shell script that caches the results of configure
15207 # tests run on this system so they can be shared between configure
15208 # scripts and configure runs. It is not useful on other systems.
15209 # If it contains results you don't want to keep, you may remove or edit it.
15211 # By default, configure uses ./config.cache as the cache file,
15212 # creating it if it does not exist already. You can give configure
15213 # the --cache-file=FILE option to use a different cache file; that is
15214 # what configure does when it calls configure scripts in
15215 # subdirectories, so they share the cache.
15216 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15217 # config.status only pays attention to the cache file if you give it the
15218 # --recheck option to rerun configure.
15221 # The following way of writing the cache mishandles newlines in values,
15222 # but we know of no workaround that is simple, portable, and efficient.
15223 # So, don't put newlines in cache variables' values.
15224 # Ultrix sh set writes to stderr and can't be redirected directly,
15225 # and sets the high bit in the cache file unless we assign to the vars.
15227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15229 # `set' does not quote correctly, so add quotes (double-quote substitution
15230 # turns \\\\ into \\, and sed turns \\ into \).
15232 -e "s/'/'\\\\''/g" \
15233 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15236 # `set' quotes correctly as required by POSIX, so do not add quotes.
15237 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15240 if cmp -s $cache_file confcache
; then
15243 if test -w $cache_file; then
15244 echo "updating cache $cache_file"
15245 cat confcache
> $cache_file
15247 echo "not updating unwritable cache $cache_file"
15254 if test "$TOOLKIT" != "MSW"; then
15260 CODE_GEN_FLAGS_CXX
=
15262 if test "$wxUSE_THREADS" = "yes" ; then
15263 if test "$wxUSE_WINE" = 1 ; then
15264 echo "configure: warning: Threads are not supported under WINE" 1>&2
15266 elif test "$USE_BEOS" = 1; then
15267 echo "configure: warning: BeOS threads are not yet supported" 1>&2
15272 if test "$wxUSE_THREADS" = "yes" ; then
15274 if test "$USE_AIX" = 1; then
15275 THREADS_LIB
=pthreads
15277 THREADS_LIB
=pthread
15280 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15281 echo "configure:15282: checking for pthread_create in -l$THREADS_LIB" >&5
15282 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15284 echo $ac_n "(cached) $ac_c" 1>&6
15286 ac_save_LIBS
="$LIBS"
15287 LIBS
="-l$THREADS_LIB $LIBS"
15288 cat > conftest.
$ac_ext <<EOF
15289 #line 15290 "configure"
15290 #include "confdefs.h"
15291 /* Override any gcc2 internal prototype to avoid an error. */
15292 /* We use char because int might match the return type of a gcc2
15293 builtin and then its argument prototype would still apply. */
15294 char pthread_create();
15300 if { (eval echo configure
:15301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15302 eval "ac_cv_lib_$ac_lib_var=yes"
15304 echo "configure: failed program was:" >&5
15305 cat conftest.
$ac_ext >&5
15307 eval "ac_cv_lib_$ac_lib_var=no"
15310 LIBS
="$ac_save_LIBS"
15313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15314 echo "$ac_t""yes" 1>&6
15316 THREADS_OBJ
="threadpsx.lo"
15317 THREADS_LINK
=$THREADS_LIB
15320 echo "$ac_t""no" 1>&6
15322 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15323 echo "configure:15324: checking for pthread_create in -lc_r" >&5
15324 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15326 echo $ac_n "(cached) $ac_c" 1>&6
15328 ac_save_LIBS
="$LIBS"
15330 cat > conftest.
$ac_ext <<EOF
15331 #line 15332 "configure"
15332 #include "confdefs.h"
15333 /* Override any gcc2 internal prototype to avoid an error. */
15334 /* We use char because int might match the return type of a gcc2
15335 builtin and then its argument prototype would still apply. */
15336 char pthread_create();
15342 if { (eval echo configure
:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15344 eval "ac_cv_lib_$ac_lib_var=yes"
15346 echo "configure: failed program was:" >&5
15347 cat conftest.
$ac_ext >&5
15349 eval "ac_cv_lib_$ac_lib_var=no"
15352 LIBS
="$ac_save_LIBS"
15355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15356 echo "$ac_t""yes" 1>&6
15358 THREADS_OBJ
="threadpsx.lo"
15362 echo "$ac_t""no" 1>&6
15364 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15365 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15366 echo "configure:15367: checking for sys/prctl.h" >&5
15367 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15368 echo $ac_n "(cached) $ac_c" 1>&6
15370 cat > conftest.
$ac_ext <<EOF
15371 #line 15372 "configure"
15372 #include "confdefs.h"
15373 #include <sys/prctl.h>
15375 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15376 { (eval echo configure
:15377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15377 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15378 if test -z "$ac_err"; then
15380 eval "ac_cv_header_$ac_safe=yes"
15383 echo "configure: failed program was:" >&5
15384 cat conftest.
$ac_ext >&5
15386 eval "ac_cv_header_$ac_safe=no"
15390 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15391 echo "$ac_t""yes" 1>&6
15393 THREADS_OBJ
="threadsgi.lo"
15396 echo "$ac_t""no" 1>&6
15406 if test -z "$THREADS_OBJ" ; then
15408 echo "configure: warning: No thread support on this system" 1>&2
15412 if test "$wxUSE_THREADS" = "yes" ; then
15413 for ac_func
in thr_setconcurrency
15415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15416 echo "configure:15417: checking for $ac_func" >&5
15417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15420 cat > conftest.
$ac_ext <<EOF
15421 #line 15422 "configure"
15422 #include "confdefs.h"
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func(); below. */
15425 #include <assert.h>
15426 /* Override any gcc2 internal prototype to avoid an error. */
15427 /* We use char because int might match the return type of a gcc2
15428 builtin and then its argument prototype would still apply. */
15433 /* The GNU C library defines this for functions which it implements
15434 to always fail with ENOSYS. Some functions are actually named
15435 something starting with __ and the normal name is an alias. */
15436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15444 if { (eval echo configure
:15445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15446 eval "ac_cv_func_$ac_func=yes"
15448 echo "configure: failed program was:" >&5
15449 cat conftest.
$ac_ext >&5
15451 eval "ac_cv_func_$ac_func=no"
15456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15458 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15459 cat >> confdefs.h
<<EOF
15460 #define $ac_tr_func 1
15464 echo "$ac_t""no" 1>&6
15470 for ac_hdr
in sched.h
15472 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15473 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15474 echo "configure:15475: checking for $ac_hdr" >&5
15475 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15476 echo $ac_n "(cached) $ac_c" 1>&6
15478 cat > conftest.
$ac_ext <<EOF
15479 #line 15480 "configure"
15480 #include "confdefs.h"
15483 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15484 { (eval echo configure
:15485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15485 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15486 if test -z "$ac_err"; then
15488 eval "ac_cv_header_$ac_safe=yes"
15491 echo "configure: failed program was:" >&5
15492 cat conftest.
$ac_ext >&5
15494 eval "ac_cv_header_$ac_safe=no"
15498 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15499 echo "$ac_t""yes" 1>&6
15500 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15501 cat >> confdefs.h
<<EOF
15502 #define $ac_tr_hdr 1
15506 echo "$ac_t""no" 1>&6
15511 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15512 echo "configure:15513: checking for sched_yield in -l$THREADS_LINK" >&5
15513 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15515 echo $ac_n "(cached) $ac_c" 1>&6
15517 ac_save_LIBS
="$LIBS"
15518 LIBS
="-l$THREADS_LINK $LIBS"
15519 cat > conftest.
$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15522 /* Override any gcc2 internal prototype to avoid an error. */
15523 /* We use char because int might match the return type of a gcc2
15524 builtin and then its argument prototype would still apply. */
15525 char sched_yield();
15531 if { (eval echo configure
:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15533 eval "ac_cv_lib_$ac_lib_var=yes"
15535 echo "configure: failed program was:" >&5
15536 cat conftest.
$ac_ext >&5
15538 eval "ac_cv_lib_$ac_lib_var=no"
15541 LIBS
="$ac_save_LIBS"
15544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15545 echo "$ac_t""yes" 1>&6
15546 cat >> confdefs.h
<<\EOF
15547 #define HAVE_SCHED_YIELD 1
15551 echo "$ac_t""no" 1>&6
15552 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15553 echo "configure:15554: checking for sched_yield in -lposix4" >&5
15554 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15556 echo $ac_n "(cached) $ac_c" 1>&6
15558 ac_save_LIBS
="$LIBS"
15559 LIBS
="-lposix4 $LIBS"
15560 cat > conftest.
$ac_ext <<EOF
15561 #line 15562 "configure"
15562 #include "confdefs.h"
15563 /* Override any gcc2 internal prototype to avoid an error. */
15564 /* We use char because int might match the return type of a gcc2
15565 builtin and then its argument prototype would still apply. */
15566 char sched_yield();
15572 if { (eval echo configure
:15573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15574 eval "ac_cv_lib_$ac_lib_var=yes"
15576 echo "configure: failed program was:" >&5
15577 cat conftest.
$ac_ext >&5
15579 eval "ac_cv_lib_$ac_lib_var=no"
15582 LIBS
="$ac_save_LIBS"
15585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15586 echo "$ac_t""yes" 1>&6
15587 cat >> confdefs.h
<<\EOF
15588 #define HAVE_SCHED_YIELD 1
15590 POSIX4_LINK
=" -lposix4"
15592 echo "$ac_t""no" 1>&6
15593 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15602 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15603 echo "configure:15604: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15604 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15606 echo $ac_n "(cached) $ac_c" 1>&6
15608 ac_save_LIBS
="$LIBS"
15609 LIBS
="-l$THREADS_LINK $LIBS"
15610 cat > conftest.
$ac_ext <<EOF
15611 #line 15612 "configure"
15612 #include "confdefs.h"
15613 /* Override any gcc2 internal prototype to avoid an error. */
15614 /* We use char because int might match the return type of a gcc2
15615 builtin and then its argument prototype would still apply. */
15616 char pthread_attr_getschedpolicy();
15619 pthread_attr_getschedpolicy()
15622 if { (eval echo configure
:15623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15624 eval "ac_cv_lib_$ac_lib_var=yes"
15626 echo "configure: failed program was:" >&5
15627 cat conftest.
$ac_ext >&5
15629 eval "ac_cv_lib_$ac_lib_var=no"
15632 LIBS
="$ac_save_LIBS"
15635 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15636 echo "$ac_t""yes" 1>&6
15637 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15638 echo "configure:15639: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15639 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15641 echo $ac_n "(cached) $ac_c" 1>&6
15643 ac_save_LIBS
="$LIBS"
15644 LIBS
="-l$THREADS_LINK $LIBS"
15645 cat > conftest.
$ac_ext <<EOF
15646 #line 15647 "configure"
15647 #include "confdefs.h"
15648 /* Override any gcc2 internal prototype to avoid an error. */
15649 /* We use char because int might match the return type of a gcc2
15650 builtin and then its argument prototype would still apply. */
15651 char pthread_attr_setschedparam();
15654 pthread_attr_setschedparam()
15657 if { (eval echo configure
:15658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15659 eval "ac_cv_lib_$ac_lib_var=yes"
15661 echo "configure: failed program was:" >&5
15662 cat conftest.
$ac_ext >&5
15664 eval "ac_cv_lib_$ac_lib_var=no"
15667 LIBS
="$ac_save_LIBS"
15670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15671 echo "$ac_t""yes" 1>&6
15672 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15673 echo "configure:15674: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15674 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15675 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15676 echo $ac_n "(cached) $ac_c" 1>&6
15678 ac_save_LIBS
="$LIBS"
15679 LIBS
="-l$THREADS_LINK $LIBS"
15680 cat > conftest.
$ac_ext <<EOF
15681 #line 15682 "configure"
15682 #include "confdefs.h"
15683 /* Override any gcc2 internal prototype to avoid an error. */
15684 /* We use char because int might match the return type of a gcc2
15685 builtin and then its argument prototype would still apply. */
15686 char sched_get_priority_max();
15689 sched_get_priority_max()
15692 if { (eval echo configure
:15693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15694 eval "ac_cv_lib_$ac_lib_var=yes"
15696 echo "configure: failed program was:" >&5
15697 cat conftest.
$ac_ext >&5
15699 eval "ac_cv_lib_$ac_lib_var=no"
15702 LIBS
="$ac_save_LIBS"
15705 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15706 echo "$ac_t""yes" 1>&6
15709 echo "$ac_t""no" 1>&6
15710 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15711 echo "configure:15712: checking for sched_get_priority_max in -lposix4" >&5
15712 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15714 echo $ac_n "(cached) $ac_c" 1>&6
15716 ac_save_LIBS
="$LIBS"
15717 LIBS
="-lposix4 $LIBS"
15718 cat > conftest.
$ac_ext <<EOF
15719 #line 15720 "configure"
15720 #include "confdefs.h"
15721 /* Override any gcc2 internal prototype to avoid an error. */
15722 /* We use char because int might match the return type of a gcc2
15723 builtin and then its argument prototype would still apply. */
15724 char sched_get_priority_max();
15727 sched_get_priority_max()
15730 if { (eval echo configure
:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15732 eval "ac_cv_lib_$ac_lib_var=yes"
15734 echo "configure: failed program was:" >&5
15735 cat conftest.
$ac_ext >&5
15737 eval "ac_cv_lib_$ac_lib_var=no"
15740 LIBS
="$ac_save_LIBS"
15743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15744 echo "$ac_t""yes" 1>&6
15747 POSIX4_LINK
=" -lposix4"
15750 echo "$ac_t""no" 1>&6
15758 echo "$ac_t""no" 1>&6
15763 echo "$ac_t""no" 1>&6
15767 if test "$HAVE_PRIOR_FUNCS" = 1; then
15768 cat >> confdefs.h
<<\EOF
15769 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15773 echo "configure: warning: Setting thread priority will not work" 1>&2
15776 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15777 echo "configure:15778: checking for pthread_cancel in -l$THREADS_LINK" >&5
15778 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15780 echo $ac_n "(cached) $ac_c" 1>&6
15782 ac_save_LIBS
="$LIBS"
15783 LIBS
="-l$THREADS_LINK $LIBS"
15784 cat > conftest.
$ac_ext <<EOF
15785 #line 15786 "configure"
15786 #include "confdefs.h"
15787 /* Override any gcc2 internal prototype to avoid an error. */
15788 /* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15790 char pthread_cancel();
15796 if { (eval echo configure
:15797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15798 eval "ac_cv_lib_$ac_lib_var=yes"
15800 echo "configure: failed program was:" >&5
15801 cat conftest.
$ac_ext >&5
15803 eval "ac_cv_lib_$ac_lib_var=no"
15806 LIBS
="$ac_save_LIBS"
15809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15810 echo "$ac_t""yes" 1>&6
15811 cat >> confdefs.h
<<\EOF
15812 #define HAVE_PTHREAD_CANCEL 1
15816 echo "$ac_t""no" 1>&6
15817 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15821 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15822 echo "configure:15823: checking for pthread_cleanup_push/pop" >&5
15823 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15824 echo $ac_n "(cached) $ac_c" 1>&6
15827 cat > conftest.
$ac_ext <<EOF
15828 #line 15829 "configure"
15829 #include "confdefs.h"
15830 #include <pthread.h>
15833 pthread_cleanup_push(NULL, NULL);
15834 pthread_cleanup_pop(0);
15838 if { (eval echo configure
:15839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15841 wx_cv_func_pthread_cleanup_push
=yes
15844 echo "configure: failed program was:" >&5
15845 cat conftest.
$ac_ext >&5
15848 wx_cv_func_pthread_cleanup_push
=no
15855 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15857 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15858 cat >> confdefs.h
<<\EOF
15859 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15865 if test "x$wx_lib_glibc21" = "xyes"; then
15866 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15869 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15870 echo "configure:15871: checking for pthread_mutexattr_t" >&5
15871 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15872 echo $ac_n "(cached) $ac_c" 1>&6
15875 cat > conftest.
$ac_ext <<EOF
15876 #line 15877 "configure"
15877 #include "confdefs.h"
15878 #include <pthread.h>
15881 pthread_mutexattr_t attr;
15882 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15886 if { (eval echo configure
:15887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15889 wx_cv_type_pthread_mutexattr_t
=yes
15892 echo "configure: failed program was:" >&5
15893 cat conftest.
$ac_ext >&5
15896 wx_cv_type_pthread_mutexattr_t
=no
15904 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15906 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15907 cat >> confdefs.h
<<\EOF
15908 #define HAVE_PTHREAD_MUTEXATTR_T 1
15912 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15913 echo "configure:15914: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15914 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15915 echo $ac_n "(cached) $ac_c" 1>&6
15918 cat > conftest.
$ac_ext <<EOF
15919 #line 15920 "configure"
15920 #include "confdefs.h"
15921 #include <pthread.h>
15924 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15928 if { (eval echo configure
:15929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15931 wx_cv_type_pthread_rec_mutex_init
=yes
15934 echo "configure: failed program was:" >&5
15935 cat conftest.
$ac_ext >&5
15938 wx_cv_type_pthread_rec_mutex_init
=no
15946 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15947 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15948 cat >> confdefs.h
<<\EOF
15949 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15953 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15957 THREADS_LINK
=" -l$THREADS_LINK"
15959 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15960 CPPFLAGS
="$CFLAGS -mt"
15961 CXXFLAGS
="$CXXFLAGS -mt"
15962 LDFLAGS
="$LDFLAGS -mt"
15968 if test "$wxUSE_THREADS" = "yes"; then
15969 cat >> confdefs.h
<<\EOF
15970 #define wxUSE_THREADS 1
15974 if test "$USE_DARWIN" != 1; then
15975 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -D_REENTRANT"
15978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15980 if test "$ac_cv_func_strtok_r" = "yes"; then
15981 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15982 echo "configure:15983: checking if -D_REENTRANT is needed" >&5
15983 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15984 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15985 echo "$ac_t""yes" 1>&6
15987 echo "$ac_t""no" 1>&6
15992 if test "$WXGTK20" = 1 ; then
15993 cat >> confdefs.h
<<EOF
15994 #define __WXGTK20__ $WXGTK20
16000 if test "$WXGTK12" = 1 ; then
16001 cat >> confdefs.h
<<EOF
16002 #define __WXGTK12__ $WXGTK12
16007 if test "$WXGTK127" = 1 ; then
16008 cat >> confdefs.h
<<EOF
16009 #define __WXGTK127__ $WXGTK127
16016 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16021 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16022 wxUSE_DEBUG_INFO
=yes
16026 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16027 cat >> confdefs.h
<<\EOF
16031 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16033 if test "$wxUSE_GTK" = 1 ; then
16034 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16038 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16039 cat >> confdefs.h
<<\EOF
16040 #define wxUSE_MEMORY_TRACING 1
16043 cat >> confdefs.h
<<\EOF
16044 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16047 cat >> confdefs.h
<<\EOF
16048 #define wxUSE_DEBUG_NEW_ALWAYS 1
16051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16054 if test "$wxUSE_DMALLOC" = "yes" ; then
16055 DMALLOC_LIBS
="-ldmalloc"
16059 if test "$wxUSE_PROFILE" = "yes" ; then
16063 if test "$GCC" = "yes" ; then
16064 if test "$wxUSE_NO_RTTI" = "yes" ; then
16065 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16067 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16068 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16070 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16071 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16073 if test "$USE_WIN32" = 1 ; then
16074 # I'm not even really sure what this was ever added to solve,
16075 # but someone added it for mingw native builds, so I guess
16076 # they had a reason, right??
16077 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16082 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16083 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16084 if test "$wxUSE_OPTIMISE" = "no" ; then
16087 if test "$GCC" = yes ; then
16090 i586
-*-*|i686
-*-* )
16091 OPTIMISE
="${OPTIMISE} "
16099 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16100 cat >> confdefs.h
<<\EOF
16101 #define WXWIN_COMPATIBILITY_2 1
16105 WXWIN_COMPATIBILITY_2_2
="yes"
16108 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16109 cat >> confdefs.h
<<\EOF
16110 #define WXWIN_COMPATIBILITY_2_2 1
16116 if test "$wxUSE_GUI" = "yes"; then
16117 cat >> confdefs.h
<<\EOF
16118 #define wxUSE_GUI 1
16123 cat >> confdefs.h
<<\EOF
16124 #define wxUSE_NOGUI 1
16130 if test "$wxUSE_UNIX" = "yes"; then
16131 cat >> confdefs.h
<<\EOF
16132 #define wxUSE_UNIX 1
16138 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16139 cat >> confdefs.h
<<\EOF
16140 #define wxUSE_APPLE_IEEE 1
16145 if test "$wxUSE_TIMER" = "yes"; then
16146 cat >> confdefs.h
<<\EOF
16147 #define wxUSE_TIMER 1
16152 if test "$wxUSE_WAVE" = "yes"; then
16153 cat >> confdefs.h
<<\EOF
16154 #define wxUSE_WAVE 1
16159 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16160 cat >> confdefs.h
<<\EOF
16161 #define wxUSE_CMDLINE_PARSER 1
16166 if test "$wxUSE_STOPWATCH" = "yes"; then
16167 cat >> confdefs.h
<<\EOF
16168 #define wxUSE_STOPWATCH 1
16173 if test "$wxUSE_DATETIME" = "yes"; then
16174 cat >> confdefs.h
<<\EOF
16175 #define wxUSE_DATETIME 1
16180 if test "$wxUSE_TIMEDATE" = "yes"; then
16181 cat >> confdefs.h
<<\EOF
16182 #define wxUSE_TIMEDATE 1
16187 if test "$wxUSE_FILE" = "yes"; then
16188 cat >> confdefs.h
<<\EOF
16189 #define wxUSE_FILE 1
16194 if test "$wxUSE_FFILE" = "yes"; then
16195 cat >> confdefs.h
<<\EOF
16196 #define wxUSE_FFILE 1
16201 if test "$wxUSE_FILESYSTEM" = "yes"; then
16202 cat >> confdefs.h
<<\EOF
16203 #define wxUSE_FILESYSTEM 1
16208 if test "$wxUSE_FS_INET" = "yes"; then
16209 cat >> confdefs.h
<<\EOF
16210 #define wxUSE_FS_INET 1
16215 if test "$wxUSE_FS_ZIP" = "yes"; then
16216 cat >> confdefs.h
<<\EOF
16217 #define wxUSE_FS_ZIP 1
16222 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16223 cat >> confdefs.h
<<\EOF
16224 #define wxUSE_ZIPSTREAM 1
16229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16230 cat >> confdefs.h
<<\EOF
16231 #define wxUSE_ON_FATAL_EXCEPTION 1
16236 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16237 cat >> confdefs.h
<<\EOF
16238 #define wxUSE_SNGLINST_CHECKER 1
16243 if test "$wxUSE_BUSYINFO" = "yes"; then
16244 cat >> confdefs.h
<<\EOF
16245 #define wxUSE_BUSYINFO 1
16250 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16251 cat >> confdefs.h
<<\EOF
16252 #define wxUSE_STD_IOSTREAM 1
16257 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16258 cat >> confdefs.h
<<\EOF
16259 #define wxUSE_TEXTBUFFER 1
16264 if test "$wxUSE_TEXTFILE" = "yes"; then
16265 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16266 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer and won't be compiled without them" 1>&2
16268 cat >> confdefs.h
<<\EOF
16269 #define wxUSE_TEXTFILE 1
16275 if test "$wxUSE_CONFIG" = "yes" ; then
16276 if test "$wxUSE_TEXTFILE" != "yes"; then
16277 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16279 cat >> confdefs.h
<<\EOF
16280 #define wxUSE_CONFIG 1
16283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16287 if test "$wxUSE_INTL" = "yes" ; then
16288 if test "$wxUSE_FILE" != "yes"; then
16289 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16291 cat >> confdefs.h
<<\EOF
16292 #define wxUSE_INTL 1
16295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16296 GUIDIST
="$GUIDIST INTL_DIST"
16300 if test "$wxUSE_LOG" = "yes"; then
16301 cat >> confdefs.h
<<\EOF
16302 #define wxUSE_LOG 1
16306 if test "$wxUSE_LOGGUI" = "yes"; then
16307 cat >> confdefs.h
<<\EOF
16308 #define wxUSE_LOGGUI 1
16313 if test "$wxUSE_LOGWINDOW" = "yes"; then
16314 cat >> confdefs.h
<<\EOF
16315 #define wxUSE_LOGWINDOW 1
16321 if test "$wxUSE_LONGLONG" = "yes"; then
16322 cat >> confdefs.h
<<\EOF
16323 #define wxUSE_LONGLONG 1
16328 if test "$wxUSE_GEOMETRY" = "yes"; then
16329 cat >> confdefs.h
<<\EOF
16330 #define wxUSE_GEOMETRY 1
16335 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16336 cat >> confdefs.h
<<\EOF
16337 #define wxUSE_DIALUP_MANAGER 1
16340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16343 if test "$wxUSE_STREAMS" = "yes" ; then
16344 cat >> confdefs.h
<<\EOF
16345 #define wxUSE_STREAMS 1
16351 if test "$wxUSE_DATETIME" = "yes"; then
16352 for ac_func
in strptime
16354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16355 echo "configure:16356: checking for $ac_func" >&5
16356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16357 echo $ac_n "(cached) $ac_c" 1>&6
16359 cat > conftest.
$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16362 /* System header to define __stub macros and hopefully few prototypes,
16363 which can conflict with char $ac_func(); below. */
16364 #include <assert.h>
16365 /* Override any gcc2 internal prototype to avoid an error. */
16366 /* We use char because int might match the return type of a gcc2
16367 builtin and then its argument prototype would still apply. */
16372 /* The GNU C library defines this for functions which it implements
16373 to always fail with ENOSYS. Some functions are actually named
16374 something starting with __ and the normal name is an alias. */
16375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16383 if { (eval echo configure
:16384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16385 eval "ac_cv_func_$ac_func=yes"
16387 echo "configure: failed program was:" >&5
16388 cat conftest.
$ac_ext >&5
16390 eval "ac_cv_func_$ac_func=no"
16395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16396 echo "$ac_t""yes" 1>&6
16397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16398 cat >> confdefs.h
<<EOF
16399 #define $ac_tr_func 1
16403 echo "$ac_t""no" 1>&6
16408 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16409 echo "configure:16410: checking for timezone variable in <time.h>" >&5
16410 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16411 echo $ac_n "(cached) $ac_c" 1>&6
16414 cat > conftest.
$ac_ext <<EOF
16415 #line 16416 "configure"
16416 #include "confdefs.h"
16427 if { (eval echo configure
:16428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16430 wx_cv_var_timezone
=timezone
16433 echo "configure: failed program was:" >&5
16434 cat conftest.
$ac_ext >&5
16437 cat > conftest.
$ac_ext <<EOF
16438 #line 16439 "configure"
16439 #include "confdefs.h"
16450 if { (eval echo configure
:16451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16453 wx_cv_var_timezone
=_timezone
16456 echo "configure: failed program was:" >&5
16457 cat conftest.
$ac_ext >&5
16460 cat > conftest.
$ac_ext <<EOF
16461 #line 16462 "configure"
16462 #include "confdefs.h"
16473 if { (eval echo configure
:16474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16476 wx_cv_var_timezone
=__timezone
16479 echo "configure: failed program was:" >&5
16480 cat conftest.
$ac_ext >&5
16482 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16498 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16500 cat >> confdefs.h
<<EOF
16501 #define WX_TIMEZONE $wx_cv_var_timezone
16505 for ac_func
in localtime
16507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16508 echo "configure:16509: checking for $ac_func" >&5
16509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16510 echo $ac_n "(cached) $ac_c" 1>&6
16512 cat > conftest.
$ac_ext <<EOF
16513 #line 16514 "configure"
16514 #include "confdefs.h"
16515 /* System header to define __stub macros and hopefully few prototypes,
16516 which can conflict with char $ac_func(); below. */
16517 #include <assert.h>
16518 /* Override any gcc2 internal prototype to avoid an error. */
16519 /* We use char because int might match the return type of a gcc2
16520 builtin and then its argument prototype would still apply. */
16525 /* The GNU C library defines this for functions which it implements
16526 to always fail with ENOSYS. Some functions are actually named
16527 something starting with __ and the normal name is an alias. */
16528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16536 if { (eval echo configure
:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16538 eval "ac_cv_func_$ac_func=yes"
16540 echo "configure: failed program was:" >&5
16541 cat conftest.
$ac_ext >&5
16543 eval "ac_cv_func_$ac_func=no"
16548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16549 echo "$ac_t""yes" 1>&6
16550 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16551 cat >> confdefs.h
<<EOF
16552 #define $ac_tr_func 1
16556 echo "$ac_t""no" 1>&6
16561 if test "$ac_cv_func_localtime" = "yes"; then
16562 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16563 echo "configure:16564: checking for tm_gmtoff in struct tm" >&5
16564 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16565 echo $ac_n "(cached) $ac_c" 1>&6
16568 cat > conftest.
$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16581 if { (eval echo configure
:16582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16584 wx_cv_struct_tm_has_gmtoff
=yes
16587 echo "configure: failed program was:" >&5
16588 cat conftest.
$ac_ext >&5
16590 wx_cv_struct_tm_has_gmtoff
=no
16597 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16600 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16601 cat >> confdefs.h
<<\EOF
16602 #define WX_GMTOFF_IN_TM 1
16607 for ac_func
in gettimeofday ftime
16609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16610 echo "configure:16611: checking for $ac_func" >&5
16611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16612 echo $ac_n "(cached) $ac_c" 1>&6
16614 cat > conftest.
$ac_ext <<EOF
16615 #line 16616 "configure"
16616 #include "confdefs.h"
16617 /* System header to define __stub macros and hopefully few prototypes,
16618 which can conflict with char $ac_func(); below. */
16619 #include <assert.h>
16620 /* Override any gcc2 internal prototype to avoid an error. */
16621 /* We use char because int might match the return type of a gcc2
16622 builtin and then its argument prototype would still apply. */
16627 /* The GNU C library defines this for functions which it implements
16628 to always fail with ENOSYS. Some functions are actually named
16629 something starting with __ and the normal name is an alias. */
16630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16638 if { (eval echo configure
:16639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16640 eval "ac_cv_func_$ac_func=yes"
16642 echo "configure: failed program was:" >&5
16643 cat conftest.
$ac_ext >&5
16645 eval "ac_cv_func_$ac_func=no"
16650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16651 echo "$ac_t""yes" 1>&6
16652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16653 cat >> confdefs.h
<<EOF
16654 #define $ac_tr_func 1
16658 echo "$ac_t""no" 1>&6
16663 if test "$ac_cv_func_gettimeofday" = "yes"; then
16664 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16665 echo "configure:16666: checking whether gettimeofday takes two arguments" >&5
16666 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16667 echo $ac_n "(cached) $ac_c" 1>&6
16672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16673 ac_cpp
='$CXXCPP $CPPFLAGS'
16674 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16675 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16676 cross_compiling
=$ac_cv_prog_cxx_cross
16679 cat > conftest.
$ac_ext <<EOF
16680 #line 16681 "configure"
16681 #include "confdefs.h"
16683 #include <sys/time.h>
16684 #include <unistd.h>
16689 gettimeofday(&tv, NULL);
16693 if { (eval echo configure
:16694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16695 wx_cv_func_gettimeofday_has_2_args
=yes
16697 echo "configure: failed program was:" >&5
16698 cat conftest.
$ac_ext >&5
16700 cat > conftest.
$ac_ext <<EOF
16701 #line 16702 "configure"
16702 #include "confdefs.h"
16704 #include <sys/time.h>
16705 #include <unistd.h>
16714 if { (eval echo configure
:16715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16716 wx_cv_func_gettimeofday_has_2_args
=no
16718 echo "configure: failed program was:" >&5
16719 cat conftest.
$ac_ext >&5
16722 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16723 wx_cv_func_gettimeofday_has_2_args
=unknown
16732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16733 ac_cpp
='$CPP $CPPFLAGS'
16734 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16735 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16736 cross_compiling
=$ac_cv_prog_cc_cross
16741 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16743 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16744 cat >> confdefs.h
<<\EOF
16745 #define WX_GETTIMEOFDAY_NO_TZ 1
16751 cat >> confdefs.h
<<\EOF
16752 #define wxUSE_TIMEDATE 1
16755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16759 if test "$TOOLKIT" != "MSW"; then
16761 if test "$wxUSE_SOCKETS" = "yes"; then
16762 echo $ac_n "checking for socket""... $ac_c" 1>&6
16763 echo "configure:16764: checking for socket" >&5
16764 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16765 echo $ac_n "(cached) $ac_c" 1>&6
16767 cat > conftest.
$ac_ext <<EOF
16768 #line 16769 "configure"
16769 #include "confdefs.h"
16770 /* System header to define __stub macros and hopefully few prototypes,
16771 which can conflict with char socket(); below. */
16772 #include <assert.h>
16773 /* Override any gcc2 internal prototype to avoid an error. */
16774 /* We use char because int might match the return type of a gcc2
16775 builtin and then its argument prototype would still apply. */
16780 /* The GNU C library defines this for functions which it implements
16781 to always fail with ENOSYS. Some functions are actually named
16782 something starting with __ and the normal name is an alias. */
16783 #if defined (__stub_socket) || defined (__stub___socket)
16791 if { (eval echo configure
:16792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16793 eval "ac_cv_func_socket=yes"
16795 echo "configure: failed program was:" >&5
16796 cat conftest.
$ac_ext >&5
16798 eval "ac_cv_func_socket=no"
16803 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16804 echo "$ac_t""yes" 1>&6
16807 echo "$ac_t""no" 1>&6
16808 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16809 echo "configure:16810: checking for socket in -lsocket" >&5
16810 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16812 echo $ac_n "(cached) $ac_c" 1>&6
16814 ac_save_LIBS
="$LIBS"
16815 LIBS
="-lsocket $LIBS"
16816 cat > conftest.
$ac_ext <<EOF
16817 #line 16818 "configure"
16818 #include "confdefs.h"
16819 /* Override any gcc2 internal prototype to avoid an error. */
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16828 if { (eval echo configure
:16829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16830 eval "ac_cv_lib_$ac_lib_var=yes"
16832 echo "configure: failed program was:" >&5
16833 cat conftest.
$ac_ext >&5
16835 eval "ac_cv_lib_$ac_lib_var=no"
16838 LIBS
="$ac_save_LIBS"
16841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16842 echo "$ac_t""yes" 1>&6
16843 INET_LINK
="$INET_LINK -lsocket"
16845 echo "$ac_t""no" 1>&6
16847 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16859 if test "$wxUSE_SOCKETS" = "yes" ; then
16860 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16861 echo "configure:16862: checking what is the type of the third argument of getsockname" >&5
16862 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16863 echo $ac_n "(cached) $ac_c" 1>&6
16868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16869 ac_cpp
='$CXXCPP $CPPFLAGS'
16870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16872 cross_compiling
=$ac_cv_prog_cxx_cross
16875 cat > conftest.
$ac_ext <<EOF
16876 #line 16877 "configure"
16877 #include "confdefs.h"
16879 #include <sys/types.h>
16880 #include <sys/socket.h>
16885 getsockname(0, 0, &len);
16889 if { (eval echo configure
:16890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16891 wx_cv_type_getsockname3
=socklen_t
16893 echo "configure: failed program was:" >&5
16894 cat conftest.
$ac_ext >&5
16896 cat > conftest.
$ac_ext <<EOF
16897 #line 16898 "configure"
16898 #include "confdefs.h"
16900 #include <sys/types.h>
16901 #include <sys/socket.h>
16906 getsockname(0, 0, &len);
16910 if { (eval echo configure
:16911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16912 wx_cv_type_getsockname3
=size_t
16914 echo "configure: failed program was:" >&5
16915 cat conftest.
$ac_ext >&5
16917 cat > conftest.
$ac_ext <<EOF
16918 #line 16919 "configure"
16919 #include "confdefs.h"
16921 #include <sys/types.h>
16922 #include <sys/socket.h>
16927 getsockname(0, 0, &len);
16931 if { (eval echo configure
:16932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16933 wx_cv_type_getsockname3
=int
16935 echo "configure: failed program was:" >&5
16936 cat conftest.
$ac_ext >&5
16938 wx_cv_type_getsockname3
=unknown
16950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16951 ac_cpp
='$CPP $CPPFLAGS'
16952 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16953 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16954 cross_compiling
=$ac_cv_prog_cc_cross
16959 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16961 if test "$wx_cv_type_getsockname3" = "unknown"; then
16963 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16965 cat >> confdefs.h
<<EOF
16966 #define SOCKLEN_T $wx_cv_type_getsockname3
16973 if test "$wxUSE_SOCKETS" = "yes" ; then
16974 cat >> confdefs.h
<<\EOF
16975 #define wxUSE_SOCKETS 1
16978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16982 if test "$wxUSE_GUI" = "yes"; then
16984 if test "$TOOLKIT" != "MSW"; then
16985 if test "$wxUSE_JOYSTICK" = "yes"; then
16986 for ac_hdr
in linux
/joystick.h
16988 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16990 echo "configure:16991: checking for $ac_hdr" >&5
16991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16992 echo $ac_n "(cached) $ac_c" 1>&6
16994 cat > conftest.
$ac_ext <<EOF
16995 #line 16996 "configure"
16996 #include "confdefs.h"
16999 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17000 { (eval echo configure
:17001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17001 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17002 if test -z "$ac_err"; then
17004 eval "ac_cv_header_$ac_safe=yes"
17007 echo "configure: failed program was:" >&5
17008 cat conftest.
$ac_ext >&5
17010 eval "ac_cv_header_$ac_safe=no"
17014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17015 echo "$ac_t""yes" 1>&6
17016 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17017 cat >> confdefs.h
<<EOF
17018 #define $ac_tr_hdr 1
17022 echo "$ac_t""no" 1>&6
17026 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17028 echo "configure: warning: Joystick not supported by this system" 1>&2
17033 if test "$wxUSE_JOYSTICK" = "yes"; then
17034 cat >> confdefs.h
<<\EOF
17035 #define wxUSE_JOYSTICK 1
17038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17043 if test "$TOOLKIT" != "MSW"; then
17047 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17048 if test "$USE_DARWIN" = 1; then
17051 for ac_func
in dlopen
17053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17054 echo "configure:17055: checking for $ac_func" >&5
17055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17056 echo $ac_n "(cached) $ac_c" 1>&6
17058 cat > conftest.
$ac_ext <<EOF
17059 #line 17060 "configure"
17060 #include "confdefs.h"
17061 /* System header to define __stub macros and hopefully few prototypes,
17062 which can conflict with char $ac_func(); below. */
17063 #include <assert.h>
17064 /* Override any gcc2 internal prototype to avoid an error. */
17065 /* We use char because int might match the return type of a gcc2
17066 builtin and then its argument prototype would still apply. */
17071 /* The GNU C library defines this for functions which it implements
17072 to always fail with ENOSYS. Some functions are actually named
17073 something starting with __ and the normal name is an alias. */
17074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17082 if { (eval echo configure
:17083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17084 eval "ac_cv_func_$ac_func=yes"
17086 echo "configure: failed program was:" >&5
17087 cat conftest.
$ac_ext >&5
17089 eval "ac_cv_func_$ac_func=no"
17094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17095 echo "$ac_t""yes" 1>&6
17096 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17097 cat >> confdefs.h
<<EOF
17098 #define $ac_tr_func 1
17101 cat >> confdefs.h
<<\EOF
17102 #define HAVE_DLOPEN 1
17108 echo "$ac_t""no" 1>&6
17109 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17110 echo "configure:17111: checking for dlopen in -ldl" >&5
17111 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17113 echo $ac_n "(cached) $ac_c" 1>&6
17115 ac_save_LIBS
="$LIBS"
17117 cat > conftest.
$ac_ext <<EOF
17118 #line 17119 "configure"
17119 #include "confdefs.h"
17120 /* Override any gcc2 internal prototype to avoid an error. */
17121 /* We use char because int might match the return type of a gcc2
17122 builtin and then its argument prototype would still apply. */
17129 if { (eval echo configure
:17130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17131 eval "ac_cv_lib_$ac_lib_var=yes"
17133 echo "configure: failed program was:" >&5
17134 cat conftest.
$ac_ext >&5
17136 eval "ac_cv_lib_$ac_lib_var=no"
17139 LIBS
="$ac_save_LIBS"
17142 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17143 echo "$ac_t""yes" 1>&6
17145 cat >> confdefs.h
<<\EOF
17146 #define HAVE_DLOPEN 1
17150 DL_LINK
=" -ldl$DL_LINK"
17153 echo "$ac_t""no" 1>&6
17155 for ac_func
in shl_load
17157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17158 echo "configure:17159: checking for $ac_func" >&5
17159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17160 echo $ac_n "(cached) $ac_c" 1>&6
17162 cat > conftest.
$ac_ext <<EOF
17163 #line 17164 "configure"
17164 #include "confdefs.h"
17165 /* System header to define __stub macros and hopefully few prototypes,
17166 which can conflict with char $ac_func(); below. */
17167 #include <assert.h>
17168 /* Override any gcc2 internal prototype to avoid an error. */
17169 /* We use char because int might match the return type of a gcc2
17170 builtin and then its argument prototype would still apply. */
17175 /* The GNU C library defines this for functions which it implements
17176 to always fail with ENOSYS. Some functions are actually named
17177 something starting with __ and the normal name is an alias. */
17178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17186 if { (eval echo configure
:17187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17188 eval "ac_cv_func_$ac_func=yes"
17190 echo "configure: failed program was:" >&5
17191 cat conftest.
$ac_ext >&5
17193 eval "ac_cv_func_$ac_func=no"
17198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17199 echo "$ac_t""yes" 1>&6
17200 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17201 cat >> confdefs.h
<<EOF
17202 #define $ac_tr_func 1
17205 cat >> confdefs.h
<<\EOF
17206 #define HAVE_SHL_LOAD 1
17212 echo "$ac_t""no" 1>&6
17213 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17214 echo "configure:17215: checking for dld in -lshl_load" >&5
17215 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17217 echo $ac_n "(cached) $ac_c" 1>&6
17219 ac_save_LIBS
="$LIBS"
17220 LIBS
="-lshl_load $LIBS"
17221 cat > conftest.
$ac_ext <<EOF
17222 #line 17223 "configure"
17223 #include "confdefs.h"
17224 /* Override any gcc2 internal prototype to avoid an error. */
17225 /* We use char because int might match the return type of a gcc2
17226 builtin and then its argument prototype would still apply. */
17233 if { (eval echo configure
:17234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17235 eval "ac_cv_lib_$ac_lib_var=yes"
17237 echo "configure: failed program was:" >&5
17238 cat conftest.
$ac_ext >&5
17240 eval "ac_cv_lib_$ac_lib_var=no"
17243 LIBS
="$ac_save_LIBS"
17246 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17247 echo "$ac_t""yes" 1>&6
17250 DL_LINK
=" -ldld$DL_LINK"
17253 echo "$ac_t""no" 1>&6
17268 if test "$HAVE_DL_FUNCS" = 1; then
17269 for ac_func
in dlerror
17271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17272 echo "configure:17273: checking for $ac_func" >&5
17273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17274 echo $ac_n "(cached) $ac_c" 1>&6
17276 cat > conftest.
$ac_ext <<EOF
17277 #line 17278 "configure"
17278 #include "confdefs.h"
17279 /* System header to define __stub macros and hopefully few prototypes,
17280 which can conflict with char $ac_func(); below. */
17281 #include <assert.h>
17282 /* Override any gcc2 internal prototype to avoid an error. */
17283 /* We use char because int might match the return type of a gcc2
17284 builtin and then its argument prototype would still apply. */
17289 /* The GNU C library defines this for functions which it implements
17290 to always fail with ENOSYS. Some functions are actually named
17291 something starting with __ and the normal name is an alias. */
17292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17300 if { (eval echo configure
:17301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17302 eval "ac_cv_func_$ac_func=yes"
17304 echo "configure: failed program was:" >&5
17305 cat conftest.
$ac_ext >&5
17307 eval "ac_cv_func_$ac_func=no"
17312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17313 echo "$ac_t""yes" 1>&6
17314 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17315 cat >> confdefs.h
<<EOF
17316 #define $ac_tr_func 1
17318 cat >> confdefs.h
<<\EOF
17319 #define HAVE_DLERROR 1
17323 echo "$ac_t""no" 1>&6
17324 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17325 echo "configure:17326: checking for dlerror in -ldl" >&5
17326 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17328 echo $ac_n "(cached) $ac_c" 1>&6
17330 ac_save_LIBS
="$LIBS"
17332 cat > conftest.
$ac_ext <<EOF
17333 #line 17334 "configure"
17334 #include "confdefs.h"
17335 /* Override any gcc2 internal prototype to avoid an error. */
17336 /* We use char because int might match the return type of a gcc2
17337 builtin and then its argument prototype would still apply. */
17344 if { (eval echo configure
:17345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17346 eval "ac_cv_lib_$ac_lib_var=yes"
17348 echo "configure: failed program was:" >&5
17349 cat conftest.
$ac_ext >&5
17351 eval "ac_cv_lib_$ac_lib_var=no"
17354 LIBS
="$ac_save_LIBS"
17357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17358 echo "$ac_t""yes" 1>&6
17359 cat >> confdefs.h
<<\EOF
17360 #define HAVE_DLERROR 1
17364 echo "$ac_t""no" 1>&6
17373 if test "$HAVE_DL_FUNCS" = 0; then
17374 if test "$HAVE_SHL_FUNCS" = 0; then
17375 if test "$USE_UNIX" = 1; then
17376 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17377 wxUSE_DYNLIB_CLASS
=no
17379 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17386 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17387 cat >> confdefs.h
<<\EOF
17388 #define wxUSE_DYNLIB_CLASS 1
17397 if test "$wxUSE_FONTMAP" = "yes" ; then
17398 cat >> confdefs.h
<<\EOF
17399 #define wxUSE_FONTMAP 1
17404 if test "$wxUSE_UNICODE" = "yes" ; then
17405 cat >> confdefs.h
<<\EOF
17406 #define wxUSE_UNICODE 1
17411 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17412 cat >> confdefs.h
<<\EOF
17413 #define wxUSE_EXPERIMENTAL_PRINTF 1
17419 if test "$wxUSE_SERIAL" = "yes" ; then
17420 cat >> confdefs.h
<<\EOF
17421 #define wxUSE_SERIAL 1
17428 if test "$wxUSE_ODBC" = "yes" ; then
17429 cat >> confdefs.h
<<\EOF
17430 #define wxUSE_ODBC 1
17433 WXODBCFLAG
="-D_IODBC_"
17434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17438 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17439 cat >> confdefs.h
<<\EOF
17440 #define wxUSE_POSTSCRIPT 1
17445 cat >> confdefs.h
<<\EOF
17446 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17450 cat >> confdefs.h
<<\EOF
17451 #define wxUSE_NORMALIZED_PS_FONTS 1
17456 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_CONSTRAINTS 1
17461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17464 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17465 if test "$wxUSE_UNIVERSAL" = "yes"; then
17466 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17467 wxUSE_MDI_ARCHITECTURE
=no
17470 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17471 cat >> confdefs.h
<<\EOF
17472 #define wxUSE_MDI_ARCHITECTURE 1
17475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17479 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17480 cat >> confdefs.h
<<\EOF
17481 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17485 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17490 if test "$wxUSE_HELP" = "yes"; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_HELP 1
17495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17497 if test "$wxUSE_MSW" = 1; then
17498 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17499 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17500 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17501 echo "configure:17502: checking for htmlhelp.h" >&5
17502 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17503 echo $ac_n "(cached) $ac_c" 1>&6
17505 cat > conftest.
$ac_ext <<EOF
17506 #line 17507 "configure"
17507 #include "confdefs.h"
17508 #include <htmlhelp.h>
17510 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17511 { (eval echo configure
:17512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17512 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17513 if test -z "$ac_err"; then
17515 eval "ac_cv_header_$ac_safe=yes"
17518 echo "configure: failed program was:" >&5
17519 cat conftest.
$ac_ext >&5
17521 eval "ac_cv_header_$ac_safe=no"
17525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17526 echo "$ac_t""yes" 1>&6
17528 cat >> confdefs.h
<<\EOF
17529 #define wxUSE_MS_HTML_HELP 1
17534 echo "$ac_t""no" 1>&6
17536 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17537 wxUSE_MS_HTML_HELP
=no
17544 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17545 if test "$wxUSE_HTML" = "yes"; then
17546 cat >> confdefs.h
<<\EOF
17547 #define wxUSE_WXHTML_HELP 1
17551 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17552 wxUSE_WXHTML_HELP
=no
17557 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17558 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17559 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17561 cat >> confdefs.h
<<\EOF
17562 #define wxUSE_PRINTING_ARCHITECTURE 1
17566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17569 if test "$wxUSE_PROLOGIO" = "yes" ; then
17570 cat >> confdefs.h
<<\EOF
17571 #define wxUSE_PROLOGIO 1
17576 if test "$wxUSE_RESOURCES" = "yes" ; then
17577 cat >> confdefs.h
<<\EOF
17578 #define wxUSE_RESOURCES 1
17581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17584 if test "$wxUSE_X_RESOURCES" = "yes"; then
17585 cat >> confdefs.h
<<\EOF
17586 #define wxUSE_X_RESOURCES 1
17592 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17593 -o "$wxUSE_CLIPBOARD" = "yes" \
17594 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17595 for ac_hdr
in ole2.h
17597 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17599 echo "configure:17600: checking for $ac_hdr" >&5
17600 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17601 echo $ac_n "(cached) $ac_c" 1>&6
17603 cat > conftest.
$ac_ext <<EOF
17604 #line 17605 "configure"
17605 #include "confdefs.h"
17608 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17609 { (eval echo configure
:17610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17610 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17611 if test -z "$ac_err"; then
17613 eval "ac_cv_header_$ac_safe=yes"
17616 echo "configure: failed program was:" >&5
17617 cat conftest.
$ac_ext >&5
17619 eval "ac_cv_header_$ac_safe=no"
17623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17624 echo "$ac_t""yes" 1>&6
17625 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17626 cat >> confdefs.h
<<EOF
17627 #define $ac_tr_hdr 1
17631 echo "$ac_t""no" 1>&6
17636 if test "$ac_cv_header_ole2_h" = "yes" ; then
17637 if test "$GCC" = yes ; then
17638 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17639 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17640 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
17641 cat >> confdefs.h
<<\EOF
17642 #define wxUSE_OLE 1
17648 cat >> confdefs.h
<<\EOF
17649 #define wxUSE_DATAOBJ 1
17653 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17656 wxUSE_DRAG_AND_DROP
=no
17660 if test "$wxUSE_METAFILE" = "yes"; then
17661 cat >> confdefs.h
<<\EOF
17662 #define wxUSE_METAFILE 1
17666 cat >> confdefs.h
<<\EOF
17667 #define wxUSE_ENH_METAFILE 1
17673 if test "$wxUSE_IPC" = "yes"; then
17674 if test "$wxUSE_SOCKETS" != "yes"; then
17675 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17678 cat >> confdefs.h
<<\EOF
17679 #define wxUSE_IPC 1
17684 if test "$wxUSE_CLIPBOARD" = "yes"; then
17685 cat >> confdefs.h
<<\EOF
17686 #define wxUSE_CLIPBOARD 1
17690 cat >> confdefs.h
<<\EOF
17691 #define wxUSE_DATAOBJ 1
17696 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17697 if test "$wxUSE_GTK" = 1; then
17698 if test "$WXGTK12" != 1; then
17699 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17700 wxUSE_DRAG_AND_DROP
=no
17704 if test "$wxUSE_MOTIF" = 1; then
17705 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17706 wxUSE_DRAG_AND_DROP
=no
17709 if test "$wxUSE_MAC" = 1; then
17710 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17711 wxUSE_DRAG_AND_DROP
=no
17714 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17715 cat >> confdefs.h
<<\EOF
17716 #define wxUSE_DRAG_AND_DROP 1
17719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17724 if test "$wxUSE_SPLINES" = "yes" ; then
17725 cat >> confdefs.h
<<\EOF
17726 #define wxUSE_SPLINES 1
17733 if test "$wxUSE_CONTROLS" = "yes"; then
17737 if test "$wxUSE_ACCEL" = "yes"; then
17738 cat >> confdefs.h
<<\EOF
17739 #define wxUSE_ACCEL 1
17745 if test "$wxUSE_BUTTON" = "yes"; then
17746 cat >> confdefs.h
<<\EOF
17747 #define wxUSE_BUTTON 1
17753 if test "$wxUSE_BMPBUTTON" = "yes"; then
17754 cat >> confdefs.h
<<\EOF
17755 #define wxUSE_BMPBUTTON 1
17761 if test "$wxUSE_CALCTRL" = "yes"; then
17762 cat >> confdefs.h
<<\EOF
17763 #define wxUSE_CALENDARCTRL 1
17767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17770 if test "$wxUSE_CARET" = "yes"; then
17771 cat >> confdefs.h
<<\EOF
17772 #define wxUSE_CARET 1
17776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17779 if test "$wxUSE_COMBOBOX" = "yes"; then
17780 cat >> confdefs.h
<<\EOF
17781 #define wxUSE_COMBOBOX 1
17787 if test "$wxUSE_CHOICE" = "yes"; then
17788 cat >> confdefs.h
<<\EOF
17789 #define wxUSE_CHOICE 1
17795 if test "$wxUSE_CHECKBOX" = "yes"; then
17796 cat >> confdefs.h
<<\EOF
17797 #define wxUSE_CHECKBOX 1
17803 if test "$wxUSE_CHECKLST" = "yes"; then
17804 cat >> confdefs.h
<<\EOF
17805 #define wxUSE_CHECKLISTBOX 1
17809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17812 if test "$wxUSE_GAUGE" = "yes"; then
17813 cat >> confdefs.h
<<\EOF
17814 #define wxUSE_GAUGE 1
17820 if test "$wxUSE_NEW_GRID" = "yes"; then
17822 cat >> confdefs.h
<<\EOF
17823 #define wxUSE_NEW_GRID 1
17827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17830 if test "$wxUSE_GRID" = "yes"; then
17831 cat >> confdefs.h
<<\EOF
17832 #define wxUSE_GRID 1
17836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17839 if test "$wxUSE_IMAGLIST" = "yes"; then
17840 cat >> confdefs.h
<<\EOF
17841 #define wxUSE_IMAGLIST 1
17846 if test "$wxUSE_LISTBOX" = "yes"; then
17847 cat >> confdefs.h
<<\EOF
17848 #define wxUSE_LISTBOX 1
17854 if test "$wxUSE_LISTCTRL" = "yes"; then
17855 if test "$wxUSE_IMAGLIST" = "yes"; then
17856 cat >> confdefs.h
<<\EOF
17857 #define wxUSE_LISTCTRL 1
17861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17863 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17867 if test "$wxUSE_NOTEBOOK" = "yes"; then
17868 cat >> confdefs.h
<<\EOF
17869 #define wxUSE_NOTEBOOK 1
17873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17876 if test "$wxUSE_PROPSHEET" = "yes"; then
17877 cat >> confdefs.h
<<\EOF
17878 #define wxUSE_PROPSHEET 1
17882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17885 if test "$wxUSE_RADIOBOX" = "yes"; then
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_RADIOBOX 1
17893 if test "$wxUSE_RADIOBTN" = "yes"; then
17894 cat >> confdefs.h
<<\EOF
17895 #define wxUSE_RADIOBTN 1
17901 if test "$wxUSE_SASH" = "yes"; then
17902 cat >> confdefs.h
<<\EOF
17903 #define wxUSE_SASH 1
17906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17909 if test "$wxUSE_SCROLLBAR" = "yes"; then
17910 cat >> confdefs.h
<<\EOF
17911 #define wxUSE_SCROLLBAR 1
17915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17918 if test "$wxUSE_SLIDER" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_SLIDER 1
17926 if test "$wxUSE_SPINBTN" = "yes"; then
17927 cat >> confdefs.h
<<\EOF
17928 #define wxUSE_SPINBTN 1
17934 if test "$wxUSE_SPINCTRL" = "yes"; then
17935 cat >> confdefs.h
<<\EOF
17936 #define wxUSE_SPINCTRL 1
17942 if test "$wxUSE_SPLITTER" = "yes"; then
17943 cat >> confdefs.h
<<\EOF
17944 #define wxUSE_SPLITTER 1
17947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17950 if test "$wxUSE_STATBMP" = "yes"; then
17951 cat >> confdefs.h
<<\EOF
17952 #define wxUSE_STATBMP 1
17958 if test "$wxUSE_STATBOX" = "yes"; then
17959 cat >> confdefs.h
<<\EOF
17960 #define wxUSE_STATBOX 1
17966 if test "$wxUSE_STATTEXT" = "yes"; then
17967 cat >> confdefs.h
<<\EOF
17968 #define wxUSE_STATTEXT 1
17974 if test "$wxUSE_STATLINE" = "yes"; then
17975 if test "$wxUSE_WINE" = 1 ; then
17976 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17978 cat >> confdefs.h
<<\EOF
17979 #define wxUSE_STATLINE 1
17986 if test "$wxUSE_STATUSBAR" = "yes"; then
17987 cat >> confdefs.h
<<\EOF
17988 #define wxUSE_STATUSBAR 1
17993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17996 if test "$wxUSE_TABDIALOG" = "yes"; then
17997 cat >> confdefs.h
<<\EOF
17998 #define wxUSE_TAB_DIALOG 1
18001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18004 if test "$wxUSE_TEXTCTRL" = "yes"; then
18005 cat >> confdefs.h
<<\EOF
18006 #define wxUSE_TEXTCTRL 1
18010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18013 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18014 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
18015 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
18019 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18020 cat >> confdefs.h
<<\EOF
18021 #define wxUSE_TOGGLEBTN 1
18028 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18029 cat >> confdefs.h
<<\EOF
18030 #define wxUSE_TOOLBAR_SIMPLE 1
18033 wxUSE_TOOLBAR
="yes"
18037 if test "$wxUSE_TOOLBAR" = "yes"; then
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_TOOLBAR 1
18044 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18045 wxUSE_TOOLBAR_NATIVE
="yes"
18048 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18049 cat >> confdefs.h
<<\EOF
18050 #define wxUSE_TOOLBAR_NATIVE 1
18056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18059 if test "$wxUSE_TOOLTIPS" = "yes"; then
18060 if test "$wxUSE_MOTIF" = 1; then
18061 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
18063 if test "$wxUSE_WINE" = 1; then
18064 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
18066 cat >> confdefs.h
<<\EOF
18067 #define wxUSE_TOOLTIPS 1
18074 if test "$wxUSE_TREECTRL" = "yes"; then
18075 if test "$wxUSE_IMAGLIST" = "yes"; then
18076 cat >> confdefs.h
<<\EOF
18077 #define wxUSE_TREECTRL 1
18081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18083 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18087 if test "$wxUSE_POPUPWIN" = "yes"; then
18088 if test "$wxUSE_MAC" = 1; then
18089 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
18091 cat >> confdefs.h
<<\EOF
18092 #define wxUSE_POPUPWIN 1
18099 if test "$USES_CONTROLS" = 1; then
18100 cat >> confdefs.h
<<\EOF
18101 #define wxUSE_CONTROLS 1
18107 if test "$wxUSE_TREELAYOUT" = "yes"; then
18108 cat >> confdefs.h
<<\EOF
18109 #define wxUSE_TREELAYOUT 1
18112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18115 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18116 cat >> confdefs.h
<<\EOF
18117 #define wxUSE_DRAGIMAGE 1
18120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18123 if test "$wxUSE_MENUS" = "yes"; then
18124 cat >> confdefs.h
<<\EOF
18125 #define wxUSE_MENUS 1
18128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18131 if test "$wxUSE_METAFILE" = "yes"; then
18132 cat >> confdefs.h
<<\EOF
18133 #define wxUSE_METAFILE 1
18138 if test "$wxUSE_MIMETYPE" = "yes"; then
18139 cat >> confdefs.h
<<\EOF
18140 #define wxUSE_MIMETYPE 1
18145 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18146 cat >> confdefs.h
<<\EOF
18147 #define wxUSE_SYSTEM_OPTIONS 1
18152 if test "$wxUSE_MINIFRAME" = "yes"; then
18153 cat >> confdefs.h
<<\EOF
18154 #define wxUSE_MINIFRAME 1
18157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18160 if test "$wxUSE_HTML" = "yes"; then
18161 cat >> confdefs.h
<<\EOF
18162 #define wxUSE_HTML 1
18165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18168 if test "$wxUSE_VALIDATORS" = "yes"; then
18169 cat >> confdefs.h
<<\EOF
18170 #define wxUSE_VALIDATORS 1
18173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18176 if test "$wxUSE_PALETTE" = "yes" ; then
18177 cat >> confdefs.h
<<\EOF
18178 #define wxUSE_PALETTE 1
18183 if test "$wxUSE_IMAGE" = "yes" ; then
18184 cat >> confdefs.h
<<\EOF
18185 #define wxUSE_IMAGE 1
18190 if test "$wxUSE_GIF" = "yes" ; then
18191 cat >> confdefs.h
<<\EOF
18192 #define wxUSE_GIF 1
18197 if test "$wxUSE_PCX" = "yes" ; then
18198 cat >> confdefs.h
<<\EOF
18199 #define wxUSE_PCX 1
18204 if test "$wxUSE_PNM" = "yes" ; then
18205 cat >> confdefs.h
<<\EOF
18206 #define wxUSE_PNM 1
18211 if test "$wxUSE_XPM" = "yes" ; then
18212 cat >> confdefs.h
<<\EOF
18213 #define wxUSE_XPM 1
18219 if test "$wxUSE_CHOICEDLG" = "yes"; then
18220 cat >> confdefs.h
<<\EOF
18221 #define wxUSE_CHOICEDLG 1
18226 if test "$wxUSE_COLOURDLG" = "yes"; then
18227 cat >> confdefs.h
<<\EOF
18228 #define wxUSE_COLOURDLG 1
18233 if test "$wxUSE_FILEDLG" = "yes"; then
18234 cat >> confdefs.h
<<\EOF
18235 #define wxUSE_FILEDLG 1
18240 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18241 cat >> confdefs.h
<<\EOF
18242 #define wxUSE_FINDREPLDLG 1
18247 if test "$wxUSE_FONTDLG" = "yes"; then
18248 cat >> confdefs.h
<<\EOF
18249 #define wxUSE_FONTDLG 1
18254 if test "$wxUSE_DIRDLG" = "yes"; then
18255 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18256 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18258 if test "$wxUSE_TREECTRL" != "yes"; then
18259 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18261 cat >> confdefs.h
<<\EOF
18262 #define wxUSE_DIRDLG 1
18269 if test "$wxUSE_MSGDLG" = "yes"; then
18270 cat >> confdefs.h
<<\EOF
18271 #define wxUSE_MSGDLG 1
18276 if test "$wxUSE_NUMBERDLG" = "yes"; then
18277 cat >> confdefs.h
<<\EOF
18278 #define wxUSE_NUMBERDLG 1
18283 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18284 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18285 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18287 cat >> confdefs.h
<<\EOF
18288 #define wxUSE_PROGRESSDLG 1
18294 if test "$wxUSE_SPLASH" = "yes"; then
18295 cat >> confdefs.h
<<\EOF
18296 #define wxUSE_SPLASH 1
18301 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18302 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18303 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18305 cat >> confdefs.h
<<\EOF
18306 #define wxUSE_STARTUP_TIPS 1
18312 if test "$wxUSE_TEXTDLG" = "yes"; then
18313 cat >> confdefs.h
<<\EOF
18314 #define wxUSE_TEXTDLG 1
18319 if test "$wxUSE_WIZARDDLG" = "yes"; then
18320 cat >> confdefs.h
<<\EOF
18321 #define wxUSE_WIZARDDLG 1
18324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18328 if test "$cross_compiling" = "yes"; then
18331 OSINFO
=`uname -s -r -m`
18332 OSINFO
="\"$OSINFO\""
18335 cat >> confdefs.h
<<EOF
18336 #define WXWIN_OS_DESCRIPTION $OSINFO
18341 if test "x$prefix" != "xNONE"; then
18344 wxPREFIX
=$ac_default_prefix
18347 cat >> confdefs.h
<<EOF
18348 #define wxINSTALL_PREFIX "$wxPREFIX"
18355 if test "$wxUSE_MAC" = 1 ; then
18356 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18360 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18362 if test "$wxUSE_GUI" = "yes"; then
18364 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18368 drawing dynamic erase event exec font image \
18369 minimal richedit rotate widgets"
18371 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18373 SAMPLES_SUBDIRS
="console"
18377 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18378 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18379 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18381 if test "$wxUSE_GTK" = 1; then
18384 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18387 if test "$GXX" = yes ; then
18388 CXXWARNINGS
="-Wall"
18390 if test "$wxUSE_NO_DEPS" = "no" ; then
18391 CFLAGS
="-MMD $CFLAGS"
18392 CXXFLAGS
="-MMD $CXXFLAGS"
18396 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18398 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18399 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18401 LDFLAGS
="$LDFLAGS$PROFILE"
18403 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18491 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18492 echo "configure:18493: checking whether ${MAKE-make} sets \${MAKE}" >&5
18493 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18494 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18495 echo $ac_n "(cached) $ac_c" 1>&6
18497 cat > conftestmake
<<\EOF
18499 @
echo 'ac_maketemp="${MAKE}"'
18501 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18502 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18503 if test -n "$ac_maketemp"; then
18504 eval ac_cv_prog_make_
${ac_make}_set
=yes
18506 eval ac_cv_prog_make_
${ac_make}_set
=no
18510 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18511 echo "$ac_t""yes" 1>&6
18514 echo "$ac_t""no" 1>&6
18515 SET_MAKE
="MAKE=${MAKE-make}"
18519 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18520 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18525 if test "$wxUSE_GUI" = "yes"; then
18526 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18527 wx_cv_path_ifs
=$PATH_IFS
18528 wx_cv_program_ext
=$PROGRAM_EXT
18529 wx_cv_target_library
=$WX_TARGET_LIBRARY
18530 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18531 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18532 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18533 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18534 subdirs
="demos samples utils contrib"
18539 cat > confcache
<<\EOF
18540 # This file is a shell script that caches the results of configure
18541 # tests run on this system so they can be shared between configure
18542 # scripts and configure runs. It is not useful on other systems.
18543 # If it contains results you don't want to keep, you may remove or edit it.
18545 # By default, configure uses ./config.cache as the cache file,
18546 # creating it if it does not exist already. You can give configure
18547 # the --cache-file=FILE option to use a different cache file; that is
18548 # what configure does when it calls configure scripts in
18549 # subdirectories, so they share the cache.
18550 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18551 # config.status only pays attention to the cache file if you give it the
18552 # --recheck option to rerun configure.
18555 # The following way of writing the cache mishandles newlines in values,
18556 # but we know of no workaround that is simple, portable, and efficient.
18557 # So, don't put newlines in cache variables' values.
18558 # Ultrix sh set writes to stderr and can't be redirected directly,
18559 # and sets the high bit in the cache file unless we assign to the vars.
18561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18563 # `set' does not quote correctly, so add quotes (double-quote substitution
18564 # turns \\\\ into \\, and sed turns \\ into \).
18566 -e "s/'/'\\\\''/g" \
18567 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18570 # `set' quotes correctly as required by POSIX, so do not add quotes.
18571 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18574 if cmp -s $cache_file confcache
; then
18577 if test -w $cache_file; then
18578 echo "updating cache $cache_file"
18579 cat confcache
> $cache_file
18581 echo "not updating unwritable cache $cache_file"
18586 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18588 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18589 # Let make expand exec_prefix.
18590 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18592 # Any assignment to VPATH causes Sun make to only execute
18593 # the first set of double-colon rules, so remove it if not needed.
18594 # If there is a colon in the path, we need to keep it.
18595 if test "x$srcdir" = x.
; then
18596 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18599 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18601 DEFS
=-DHAVE_CONFIG_H
18603 # Without the "./", some shells look in PATH for config.status.
18604 : ${CONFIG_STATUS=./config.status}
18606 echo creating
$CONFIG_STATUS
18607 rm -f $CONFIG_STATUS
18608 cat > $CONFIG_STATUS <<EOF
18610 # Generated automatically by configure.
18611 # Run this file to recreate the current configuration.
18612 # This directory was configured as follows,
18613 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18615 # $0 $ac_configure_args
18617 # Compiler output produced by configure, useful for debugging
18618 # configure, is in ./config.log if it exists.
18620 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18623 case "\$ac_option" in
18624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18625 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18626 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18627 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18628 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18630 -help | --help | --hel | --he | --h)
18631 echo "\$ac_cs_usage"; exit 0 ;;
18632 *) echo "\$ac_cs_usage"; exit 1 ;;
18636 ac_given_srcdir=$srcdir
18637 ac_given_INSTALL="$INSTALL"
18639 trap 'rm -fr `echo "
18645 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18647 cat >> $CONFIG_STATUS <<EOF
18649 # Protect against being on the right side of a sed subst in config.status.
18650 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18651 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18655 s%@CFLAGS@%$CFLAGS%g
18656 s%@CPPFLAGS@%$CPPFLAGS%g
18657 s%@CXXFLAGS@%$CXXFLAGS%g
18658 s%@FFLAGS@%$FFLAGS%g
18660 s%@LDFLAGS@%$LDFLAGS%g
18662 s%@exec_prefix@%$exec_prefix%g
18663 s%@prefix@%$prefix%g
18664 s%@program_transform_name@%$program_transform_name%g
18665 s%@bindir@%$bindir%g
18666 s%@sbindir@%$sbindir%g
18667 s%@libexecdir@%$libexecdir%g
18668 s%@datadir@%$datadir%g
18669 s%@sysconfdir@%$sysconfdir%g
18670 s%@sharedstatedir@%$sharedstatedir%g
18671 s%@localstatedir@%$localstatedir%g
18672 s%@libdir@%$libdir%g
18673 s%@includedir@%$includedir%g
18674 s%@oldincludedir@%$oldincludedir%g
18675 s%@infodir@%$infodir%g
18676 s%@mandir@%$mandir%g
18678 s%@host_alias@%$host_alias%g
18679 s%@host_cpu@%$host_cpu%g
18680 s%@host_vendor@%$host_vendor%g
18681 s%@host_os@%$host_os%g
18682 s%@target@%$target%g
18683 s%@target_alias@%$target_alias%g
18684 s%@target_cpu@%$target_cpu%g
18685 s%@target_vendor@%$target_vendor%g
18686 s%@target_os@%$target_os%g
18688 s%@build_alias@%$build_alias%g
18689 s%@build_cpu@%$build_cpu%g
18690 s%@build_vendor@%$build_vendor%g
18691 s%@build_os@%$build_os%g
18695 s%@RANLIB@%$RANLIB%g
18697 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18698 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18699 s%@INSTALL_DATA@%$INSTALL_DATA%g
18703 s%@LEXLIB@%$LEXLIB%g
18705 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18706 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18707 s%@GTK_LIBS@%$GTK_LIBS%g
18708 s%@GTK_CONFIG@%$GTK_CONFIG%g
18709 s%@X_CFLAGS@%$X_CFLAGS%g
18710 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18711 s%@X_LIBS@%$X_LIBS%g
18712 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18713 s%@RESCOMP@%$RESCOMP%g
18715 s%@CXXCPP@%$CXXCPP%g
18716 s%@LEX_STEM@%$LEX_STEM%g
18717 s%@PATH_IFS@%$PATH_IFS%g
18718 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18719 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18720 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18721 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18722 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18723 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18724 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18725 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18726 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18727 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18728 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18729 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18730 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18731 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18732 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18733 s%@WX_ALL@%$WX_ALL%g
18734 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18735 s%@SHARED_LD@%$SHARED_LD%g
18736 s%@PIC_FLAG@%$PIC_FLAG%g
18737 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18738 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18739 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18740 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18741 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18742 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18743 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18744 s%@USE_GUI@%$USE_GUI%g
18745 s%@AFMINSTALL@%$AFMINSTALL%g
18746 s%@TOOLKIT@%$TOOLKIT%g
18747 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18748 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18749 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18750 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18751 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
18752 s%@cross_compiling@%$cross_compiling%g
18753 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18754 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18755 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
18756 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
18757 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18758 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18759 s%@GUIDIST@%$GUIDIST%g
18760 s%@PORT_FILES@%$PORT_FILES%g
18761 s%@DISTDIR@%$DISTDIR%g
18762 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18763 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
18764 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18765 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
18766 s%@EXTRADEFS@%$EXTRADEFS%g
18767 s%@RESFLAGS@%$RESFLAGS%g
18768 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18769 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18770 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18771 s%@LIBWXMACRES@%$LIBWXMACRES%g
18772 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18773 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18774 s%@DLLTOOL@%$DLLTOOL%g
18778 s%@MAKEINFO@%$MAKEINFO%g
18779 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
18780 s%@SET_MAKE@%$SET_MAKE%g
18781 s%@subdirs@%$subdirs%g
18786 cat >> $CONFIG_STATUS <<\EOF
18788 # Split the substitutions into bite-sized pieces for seds with
18789 # small command number limits, like on Digital OSF/1 and HP-UX.
18790 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18791 ac_file
=1 # Number of current file.
18792 ac_beg
=1 # First line for current file.
18793 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18796 while $ac_more_lines; do
18797 if test $ac_beg -gt 1; then
18798 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18800 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18802 if test ! -s conftest.s
$ac_file; then
18803 ac_more_lines
=false
18804 rm -f conftest.s
$ac_file
18806 if test -z "$ac_sed_cmds"; then
18807 ac_sed_cmds
="sed -f conftest.s$ac_file"
18809 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18811 ac_file
=`expr $ac_file + 1`
18813 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18816 if test -z "$ac_sed_cmds"; then
18821 cat >> $CONFIG_STATUS <<EOF
18823 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18830 cat >> $CONFIG_STATUS <<\EOF
18831 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18832 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18834 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18835 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18836 *) ac_file_in
="${ac_file}.in" ;;
18839 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18841 # Remove last slash and all that follows it. Not all systems have dirname.
18842 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18843 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18844 # The file is in a subdirectory.
18845 test ! -d "$ac_dir" && mkdir "$ac_dir"
18846 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18847 # A "../" for each directory in $ac_dir_suffix.
18848 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18850 ac_dir_suffix
= ac_dots
=
18853 case "$ac_given_srcdir" in
18855 if test -z "$ac_dots"; then top_srcdir
=.
18856 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18857 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18858 *) # Relative path.
18859 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18860 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18863 case "$ac_given_INSTALL" in
18864 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18865 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18868 echo creating
"$ac_file"
18870 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18872 *Makefile
*) ac_comsub
="1i\\
18873 # $configure_input" ;;
18877 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18879 s%@configure_input@%$configure_input%g
18880 s%@srcdir@%$srcdir%g
18881 s%@top_srcdir@%$top_srcdir%g
18882 s%@INSTALL@%$INSTALL%g
18883 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18887 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18888 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18890 # ac_d sets the value in "#define NAME VALUE" lines.
18891 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18892 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18895 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18896 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18897 ac_uB
='\([ ]\)%\1#\2define\3'
18900 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18901 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18902 ac_eB
='$%\1#\2define\3'
18906 if test "${CONFIG_HEADERS+set}" != set; then
18908 cat >> $CONFIG_STATUS <<EOF
18909 CONFIG_HEADERS="setup.h:setup.h.in"
18911 cat >> $CONFIG_STATUS <<\EOF
18913 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18914 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18916 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18917 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18918 *) ac_file_in
="${ac_file}.in" ;;
18921 echo creating
$ac_file
18923 rm -f conftest.frag conftest.
in conftest.out
18924 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18925 cat $ac_file_inputs > conftest.
in
18929 # Transform confdefs.h into a sed script conftest.vals that substitutes
18930 # the proper values into config.h.in to produce config.h. And first:
18931 # Protect against being on the right side of a sed subst in config.status.
18932 # Protect against being in an unquoted here document in config.status.
18933 rm -f conftest.vals
18934 cat > conftest.hdr
<<\EOF
18937 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18941 sed -n -f conftest.hdr confdefs.h > conftest.vals
18944 # This sed command replaces #undef with comments. This is necessary, for
18945 # example, in the case of _POSIX_SOURCE, which is predefined and required
18946 # on some systems where configure will not decide to define it.
18947 cat >> conftest.vals <<\EOF
18948 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18951 # Break up conftest.vals because some shells have a limit on
18952 # the size of here documents, and old seds have small limits too.
18954 rm -f conftest.tail
18957 ac_lines=`grep -c . conftest.vals
`
18958 # grep -c gives empty output for an empty file on some AIX systems.
18959 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18960 # Write a limited-size here document to conftest.frag.
18961 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18962 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18964 sed -f conftest.frag conftest.in > conftest.out
18966 mv conftest.out conftest.in
18967 ' >> $CONFIG_STATUS
18968 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18969 rm -f conftest.vals
18970 mv conftest.tail conftest.vals
18972 rm -f conftest.vals
18974 cat >> $CONFIG_STATUS <<\EOF
18975 rm -f conftest.frag conftest.h
18976 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18977 cat conftest.in >> conftest.h
18979 if cmp -s $ac_file conftest.h 2>/dev/null; then
18980 echo "$ac_file is unchanged"
18983 # Remove last slash and all that follows it. Not all systems have dirname.
18984 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18985 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18986 # The file is in a subdirectory.
18987 test ! -d "$ac_dir" && mkdir "$ac_dir"
18990 mv conftest.h $ac_file
18995 cat >> $CONFIG_STATUS <<EOF
18997 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19002 cat >> $CONFIG_STATUS <<\EOF
19004 if test ! -h wx-config; then
19006 mv wx-config wx${TOOLCHAIN_NAME}-config
19007 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19010 if test ! -d lib; then
19013 if test ! -d lib/wx; then
19016 if test ! -d lib/wx/include; then
19017 mkdir lib/wx/include
19019 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19020 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19022 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19023 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19025 if test -f setup.h; then
19026 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19031 chmod +x $CONFIG_STATUS
19032 rm -fr confdefs* $ac_clean_files
19033 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19035 if test "$no_recursion" != yes; then
19037 # Remove --cache-file and --srcdir arguments so they do not pile up.
19038 ac_sub_configure_args=
19040 for ac_arg in $ac_configure_args; do
19041 if test -n "$ac_prev"; then
19046 -cache-file | --cache-file | --cache-fil | --cache-fi \
19047 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19048 ac_prev=cache_file ;;
19049 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19050 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19056 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19060 for ac_config_dir in demos samples utils contrib; do
19062 # Do not complain, so a configure script can configure whichever
19063 # parts of a large source tree are present.
19064 if test ! -d $srcdir/$ac_config_dir; then
19068 echo configuring in $ac_config_dir
19073 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19075 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19083 # A "../" for each directory in /$ac_config_dir.
19084 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19087 .) # No --srcdir option. We are building in place.
19088 ac_sub_srcdir=$srcdir ;;
19089 /*) # Absolute path.
19090 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19091 *) # Relative path.
19092 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19095 # Check for guested configure; otherwise get Cygnus style configure.
19096 if test -f $ac_sub_srcdir/configure; then
19097 ac_sub_configure=$ac_sub_srcdir/configure
19098 elif test -f $ac_sub_srcdir/configure.in; then
19099 ac_sub_configure=$ac_configure
19101 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19105 # The recursion is here.
19106 if test -n "$ac_sub_configure"; then
19108 # Make the cache file name correct relative to the subdirectory.
19109 case "$cache_file" in
19110 /*) ac_sub_cache_file=$cache_file ;;
19111 *) # Relative path.
19112 ac_sub_cache_file="$ac_dots$cache_file" ;;
19114 case "$ac_given_INSTALL" in
19115 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19116 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19119 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19120 # The eval makes quoting arguments work.
19121 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19124 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }