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
1044 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1046 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1051 DEFAULT_wxUSE_MOTIF
=0
1054 DEFAULT_wxUSE_WINE
=0
1056 DEFAULT_DEFAULT_wxUSE_GTK
=0
1057 DEFAULT_DEFAULT_wxUSE_MAC
=0
1058 DEFAULT_DEFAULT_wxUSE_MGL
=0
1059 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1060 DEFAULT_DEFAULT_wxUSE_MSW
=0
1061 DEFAULT_DEFAULT_wxUSE_PM
=0
1062 DEFAULT_DEFAULT_wxUSE_WINE
=0
1070 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1071 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1073 cat >> confdefs.h
<<\EOF
1080 cat >> confdefs.h
<<\EOF
1085 if test "x$TMP" = "xalpha"; then
1087 cat >> confdefs.h
<<\EOF
1092 if test "x$TMP" = "xia64"; then
1094 cat >> confdefs.h
<<\EOF
1099 DEFAULT_DEFAULT_wxUSE_GTK
=1
1101 *-*-irix5* | *-*-irix6* )
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define __SOLARIS__ 1
1126 cat >> confdefs.h
<<\EOF
1130 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1137 cat >> confdefs.h
<<\EOF
1141 cat >> confdefs.h
<<\EOF
1145 cat >> confdefs.h
<<\EOF
1149 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1154 cat >> confdefs.h
<<\EOF
1155 #define __FREEBSD__ 1
1158 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_GTK
=1
1167 cat >> confdefs.h
<<\EOF
1168 #define __FREEBSD__ 1
1171 cat >> confdefs.h
<<\EOF
1172 #define __OPENBSD__ 1
1175 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 cat >> confdefs.h
<<\EOF
1181 #define __FREEBSD__ 1
1184 cat >> confdefs.h
<<\EOF
1185 #define __NETBSD__ 1
1188 DEFAULT_DEFAULT_wxUSE_GTK
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1202 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1234 cat >> confdefs.h
<<\EOF
1238 cat >> confdefs.h
<<\EOF
1242 cat >> confdefs.h
<<\EOF
1246 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1249 *-*-cygwin* | *-*-mingw32* )
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 cat >> confdefs.h
<<\EOF
1262 #define __WINDOWS__ 1
1265 cat >> confdefs.h
<<\EOF
1266 #define __GNUWIN32__ 1
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1274 #define WINVER 0x0400
1279 DEFAULT_DEFAULT_wxUSE_MSW
=1
1282 *-pc-os2_emx | *-pc-os2-emx )
1283 cat >> confdefs.h
<<\EOF
1288 DEFAULT_DEFAULT_wxUSE_PM
=1
1295 cat >> confdefs.h
<<\EOF
1299 cat >> confdefs.h
<<\EOF
1300 #define __DARWIN__ 1
1303 cat >> confdefs.h
<<\EOF
1304 #define __POWERPC__ 1
1307 DEFAULT_DEFAULT_wxUSE_MAC
=1
1312 cat >> confdefs.h
<<\EOF
1319 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1322 if test "$USE_UNIX" = 1 ; then
1324 cat >> confdefs.h
<<\EOF
1330 if test "$USE_LINUX" = 1; then
1331 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1332 echo "configure:1333: checking for glibc 2.1 or later" >&5
1333 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1334 echo $ac_n "(cached) $ac_c" 1>&6
1336 cat > conftest.
$ac_ext <<EOF
1337 #line 1338 "configure"
1338 #include "confdefs.h"
1339 #include <features.h>
1342 #if !__GLIBC_PREREQ(2, 1)
1348 if { (eval echo configure
:1349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1354 echo "configure: failed program was:" >&5
1355 cat conftest.
$ac_ext >&5
1366 echo "$ac_t""$wx_lib_glibc21" 1>&6
1367 if test "$wx_lib_glibc21" = "yes"; then
1368 cat >> confdefs.h
<<\EOF
1369 #define wxHAVE_GLIBC2 1
1378 wx_arg_cache_file
="configarg.cache"
1379 echo "loading argument cache $wx_arg_cache_file"
1380 rm -f ${wx_arg_cache_file}.tmp
1381 touch ${wx_arg_cache_file}.tmp
1382 touch ${wx_arg_cache_file}
1386 if test $DEBUG_CONFIGURE = 1; then
1387 DEFAULT_wxUSE_UNIVERSAL
=no
1389 DEFAULT_wxUSE_THREADS
=yes
1391 DEFAULT_wxUSE_SHARED
=yes
1392 DEFAULT_wxUSE_SONAME
=no
1393 DEFAULT_wxUSE_OPTIMISE
=no
1394 DEFAULT_wxUSE_PROFILE
=no
1395 DEFAULT_wxUSE_NO_DEPS
=no
1396 DEFAULT_wxUSE_NO_RTTI
=yes
1397 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1398 DEFAULT_wxUSE_PERMISSIVE
=no
1399 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1400 DEFAULT_wxUSE_DEBUG_INFO
=yes
1401 DEFAULT_wxUSE_DEBUG_GDB
=yes
1402 DEFAULT_wxUSE_MEM_TRACING
=no
1403 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1404 DEFAULT_wxUSE_DMALLOC
=no
1405 DEFAULT_wxUSE_PRECOMP
=yes
1406 DEFAULT_wxUSE_APPLE_IEEE
=no
1408 DEFAULT_wxUSE_LOG
=yes
1409 DEFAULT_wxUSE_LOGWINDOW
=no
1410 DEFAULT_wxUSE_LOGGUI
=no
1412 DEFAULT_wxUSE_GUI
=yes
1413 DEFAULT_wxUSE_CONTROLS
=no
1415 DEFAULT_wxUSE_REGEX
=no
1416 DEFAULT_wxUSE_ZLIB
=no
1417 DEFAULT_wxUSE_LIBPNG
=no
1418 DEFAULT_wxUSE_LIBJPEG
=no
1419 DEFAULT_wxUSE_LIBTIFF
=no
1420 DEFAULT_wxUSE_ODBC
=no
1421 DEFAULT_wxUSE_FREETYPE
=no
1422 DEFAULT_wxUSE_OPENGL
=no
1424 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1425 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1426 DEFAULT_wxUSE_STD_IOSTREAM
=no
1427 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1428 DEFAULT_wxUSE_DATETIME
=no
1429 DEFAULT_wxUSE_TIMEDATE
=no
1430 DEFAULT_wxUSE_TIMER
=no
1431 DEFAULT_wxUSE_STOPWATCH
=no
1432 DEFAULT_wxUSE_FILE
=no
1433 DEFAULT_wxUSE_FFILE
=no
1434 DEFAULT_wxUSE_TEXTBUFFER
=no
1435 DEFAULT_wxUSE_TEXTFILE
=no
1436 DEFAULT_wxUSE_WAVE
=no
1437 DEFAULT_wxUSE_INTL
=no
1438 DEFAULT_wxUSE_CONFIG
=no
1439 DEFAULT_wxUSE_FONTMAP
=no
1440 DEFAULT_wxUSE_STREAMS
=no
1441 DEFAULT_wxUSE_SOCKETS
=no
1442 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1443 DEFAULT_wxUSE_SERIAL
=no
1444 DEFAULT_wxUSE_JOYSTICK
=no
1445 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1446 DEFAULT_wxUSE_LONGLONG
=no
1447 DEFAULT_wxUSE_GEOMETRY
=no
1449 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1450 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1451 DEFAULT_wxUSE_POSTSCRIPT
=no
1453 DEFAULT_wxUSE_X_RESOURCES
=no
1454 DEFAULT_wxUSE_CLIPBOARD
=no
1455 DEFAULT_wxUSE_TOOLTIPS
=no
1456 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1457 DEFAULT_wxUSE_DRAGIMAGE
=no
1458 DEFAULT_wxUSE_SPLINES
=no
1460 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1462 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1464 DEFAULT_wxUSE_PROLOGIO
=no
1465 DEFAULT_wxUSE_RESOURCES
=no
1466 DEFAULT_wxUSE_CONSTRAINTS
=no
1467 DEFAULT_wxUSE_IPC
=no
1468 DEFAULT_wxUSE_HELP
=no
1469 DEFAULT_wxUSE_MS_HTML_HELP
=no
1470 DEFAULT_wxUSE_WXHTML_HELP
=no
1471 DEFAULT_wxUSE_TREELAYOUT
=no
1472 DEFAULT_wxUSE_METAFILE
=no
1473 DEFAULT_wxUSE_MIMETYPE
=no
1474 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1476 DEFAULT_wxUSE_COMMONDLGS
=no
1477 DEFAULT_wxUSE_CHOICEDLG
=no
1478 DEFAULT_wxUSE_COLOURDLG
=no
1479 DEFAULT_wxUSE_DIRDLG
=no
1480 DEFAULT_wxUSE_FILEDLG
=no
1481 DEFAULT_wxUSE_FINDREPLDLG
=no
1482 DEFAULT_wxUSE_FONTDLG
=no
1483 DEFAULT_wxUSE_MSGDLG
=no
1484 DEFAULT_wxUSE_NUMBERDLG
=no
1485 DEFAULT_wxUSE_TEXTDLG
=no
1486 DEFAULT_wxUSE_SPLASH
=no
1487 DEFAULT_wxUSE_STARTUP_TIPS
=no
1488 DEFAULT_wxUSE_PROGRESSDLG
=no
1489 DEFAULT_wxUSE_WIZARDDLG
=no
1491 DEFAULT_wxUSE_MENUS
=no
1492 DEFAULT_wxUSE_MINIFRAME
=no
1493 DEFAULT_wxUSE_HTML
=no
1494 DEFAULT_wxUSE_FILESYSTEM
=no
1495 DEFAULT_wxUSE_FS_INET
=no
1496 DEFAULT_wxUSE_FS_ZIP
=no
1497 DEFAULT_wxUSE_BUSYINFO
=no
1498 DEFAULT_wxUSE_ZIPSTREAM
=no
1499 DEFAULT_wxUSE_VALIDATORS
=no
1501 DEFAULT_wxUSE_ACCEL
=no
1502 DEFAULT_wxUSE_BUTTON
=no
1503 DEFAULT_wxUSE_BMPBUTTON
=no
1504 DEFAULT_wxUSE_CALCTRL
=no
1505 DEFAULT_wxUSE_CARET
=no
1506 DEFAULT_wxUSE_CHECKBOX
=no
1507 DEFAULT_wxUSE_CHECKLST
=no
1508 DEFAULT_wxUSE_CHOICE
=no
1509 DEFAULT_wxUSE_COMBOBOX
=no
1510 DEFAULT_wxUSE_GAUGE
=no
1511 DEFAULT_wxUSE_GRID
=no
1512 DEFAULT_wxUSE_NEW_GRID
=no
1513 DEFAULT_wxUSE_IMAGLIST
=no
1514 DEFAULT_wxUSE_LISTBOX
=no
1515 DEFAULT_wxUSE_LISTCTRL
=no
1516 DEFAULT_wxUSE_NOTEBOOK
=no
1517 DEFAULT_wxUSE_PROPSHEET
=no
1518 DEFAULT_wxUSE_RADIOBOX
=no
1519 DEFAULT_wxUSE_RADIOBTN
=no
1520 DEFAULT_wxUSE_SASH
=no
1521 DEFAULT_wxUSE_SCROLLBAR
=no
1522 DEFAULT_wxUSE_SLIDER
=no
1523 DEFAULT_wxUSE_SPINBTN
=no
1524 DEFAULT_wxUSE_SPINCTRL
=no
1525 DEFAULT_wxUSE_SPLITTER
=no
1526 DEFAULT_wxUSE_STATBMP
=no
1527 DEFAULT_wxUSE_STATBOX
=no
1528 DEFAULT_wxUSE_STATLINE
=no
1529 DEFAULT_wxUSE_STATTEXT
=no
1530 DEFAULT_wxUSE_STATUSBAR
=yes
1531 DEFAULT_wxUSE_TABDIALOG
=no
1532 DEFAULT_wxUSE_TEXTCTRL
=no
1533 DEFAULT_wxUSE_TOGGLEBTN
=no
1534 DEFAULT_wxUSE_TOOLBAR
=no
1535 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1536 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1537 DEFAULT_wxUSE_TREECTRL
=no
1538 DEFAULT_wxUSE_POPUPWIN
=no
1540 DEFAULT_wxUSE_UNICODE
=no
1541 DEFAULT_wxUSE_WCSRTOMBS
=no
1543 DEFAULT_wxUSE_PALETTE
=no
1544 DEFAULT_wxUSE_IMAGE
=no
1545 DEFAULT_wxUSE_GIF
=no
1546 DEFAULT_wxUSE_PCX
=no
1547 DEFAULT_wxUSE_PNM
=no
1548 DEFAULT_wxUSE_XPM
=no
1550 DEFAULT_wxUSE_UNIVERSAL
=no
1552 DEFAULT_wxUSE_THREADS
=yes
1554 DEFAULT_wxUSE_SHARED
=yes
1555 DEFAULT_wxUSE_SONAME
=no
1556 DEFAULT_wxUSE_OPTIMISE
=yes
1557 DEFAULT_wxUSE_PROFILE
=no
1558 DEFAULT_wxUSE_NO_DEPS
=no
1559 DEFAULT_wxUSE_NO_RTTI
=yes
1560 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1561 DEFAULT_wxUSE_PERMISSIVE
=no
1562 DEFAULT_wxUSE_DEBUG_FLAG
=no
1563 DEFAULT_wxUSE_DEBUG_INFO
=no
1564 DEFAULT_wxUSE_DEBUG_GDB
=no
1565 DEFAULT_wxUSE_MEM_TRACING
=no
1566 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1567 DEFAULT_wxUSE_DMALLOC
=no
1568 DEFAULT_wxUSE_PRECOMP
=yes
1569 DEFAULT_wxUSE_APPLE_IEEE
=yes
1571 DEFAULT_wxUSE_LOG
=yes
1572 DEFAULT_wxUSE_LOGWINDOW
=yes
1573 DEFAULT_wxUSE_LOGGUI
=yes
1575 DEFAULT_wxUSE_GUI
=yes
1577 DEFAULT_wxUSE_REGEX
=yes
1578 DEFAULT_wxUSE_ZLIB
=yes
1579 DEFAULT_wxUSE_LIBPNG
=yes
1580 DEFAULT_wxUSE_LIBJPEG
=yes
1581 DEFAULT_wxUSE_LIBTIFF
=yes
1582 DEFAULT_wxUSE_ODBC
=no
1583 DEFAULT_wxUSE_FREETYPE
=no
1584 DEFAULT_wxUSE_OPENGL
=no
1586 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1587 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1588 DEFAULT_wxUSE_STD_IOSTREAM
=no
1589 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1590 DEFAULT_wxUSE_DATETIME
=yes
1591 DEFAULT_wxUSE_TIMEDATE
=no
1592 DEFAULT_wxUSE_TIMER
=yes
1593 DEFAULT_wxUSE_STOPWATCH
=yes
1594 DEFAULT_wxUSE_FILE
=yes
1595 DEFAULT_wxUSE_FFILE
=yes
1596 DEFAULT_wxUSE_TEXTBUFFER
=yes
1597 DEFAULT_wxUSE_TEXTFILE
=yes
1598 DEFAULT_wxUSE_WAVE
=no
1599 DEFAULT_wxUSE_INTL
=yes
1600 DEFAULT_wxUSE_CONFIG
=yes
1601 DEFAULT_wxUSE_FONTMAP
=yes
1602 DEFAULT_wxUSE_STREAMS
=yes
1603 DEFAULT_wxUSE_SOCKETS
=yes
1604 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1605 DEFAULT_wxUSE_SERIAL
=yes
1606 DEFAULT_wxUSE_JOYSTICK
=yes
1607 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1608 DEFAULT_wxUSE_LONGLONG
=yes
1609 DEFAULT_wxUSE_GEOMETRY
=yes
1611 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1612 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1613 DEFAULT_wxUSE_POSTSCRIPT
=yes
1615 DEFAULT_wxUSE_X_RESOURCES
=no
1616 DEFAULT_wxUSE_CLIPBOARD
=yes
1617 DEFAULT_wxUSE_TOOLTIPS
=yes
1618 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1619 DEFAULT_wxUSE_DRAGIMAGE
=yes
1620 DEFAULT_wxUSE_SPLINES
=yes
1622 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1623 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1624 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1626 DEFAULT_wxUSE_PROLOGIO
=yes
1627 DEFAULT_wxUSE_RESOURCES
=yes
1628 DEFAULT_wxUSE_CONSTRAINTS
=yes
1629 DEFAULT_wxUSE_IPC
=yes
1630 DEFAULT_wxUSE_HELP
=yes
1631 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1632 DEFAULT_wxUSE_WXHTML_HELP
=yes
1633 DEFAULT_wxUSE_TREELAYOUT
=yes
1634 DEFAULT_wxUSE_METAFILE
=yes
1635 DEFAULT_wxUSE_MIMETYPE
=yes
1636 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1638 DEFAULT_wxUSE_COMMONDLGS
=yes
1639 DEFAULT_wxUSE_CHOICEDLG
=yes
1640 DEFAULT_wxUSE_COLOURDLG
=yes
1641 DEFAULT_wxUSE_DIRDLG
=yes
1642 DEFAULT_wxUSE_FILEDLG
=yes
1643 DEFAULT_wxUSE_FINDREPLDLG
=yes
1644 DEFAULT_wxUSE_FONTDLG
=yes
1645 DEFAULT_wxUSE_MSGDLG
=yes
1646 DEFAULT_wxUSE_NUMBERDLG
=yes
1647 DEFAULT_wxUSE_TEXTDLG
=yes
1648 DEFAULT_wxUSE_SPLASH
=yes
1649 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1650 DEFAULT_wxUSE_PROGRESSDLG
=yes
1651 DEFAULT_wxUSE_WIZARDDLG
=yes
1653 DEFAULT_wxUSE_MENUS
=yes
1654 DEFAULT_wxUSE_MINIFRAME
=yes
1655 DEFAULT_wxUSE_HTML
=yes
1656 DEFAULT_wxUSE_FILESYSTEM
=yes
1657 DEFAULT_wxUSE_FS_INET
=yes
1658 DEFAULT_wxUSE_FS_ZIP
=yes
1659 DEFAULT_wxUSE_BUSYINFO
=yes
1660 DEFAULT_wxUSE_ZIPSTREAM
=yes
1661 DEFAULT_wxUSE_VALIDATORS
=yes
1663 DEFAULT_wxUSE_ACCEL
=yes
1664 DEFAULT_wxUSE_BUTTON
=yes
1665 DEFAULT_wxUSE_BMPBUTTON
=yes
1666 DEFAULT_wxUSE_CALCTRL
=yes
1667 DEFAULT_wxUSE_CARET
=yes
1668 DEFAULT_wxUSE_CHECKBOX
=yes
1669 DEFAULT_wxUSE_CHECKLST
=yes
1670 DEFAULT_wxUSE_CHOICE
=yes
1671 DEFAULT_wxUSE_COMBOBOX
=yes
1672 DEFAULT_wxUSE_GAUGE
=yes
1673 DEFAULT_wxUSE_GRID
=yes
1674 DEFAULT_wxUSE_NEW_GRID
=yes
1675 DEFAULT_wxUSE_IMAGLIST
=yes
1676 DEFAULT_wxUSE_LISTBOX
=yes
1677 DEFAULT_wxUSE_LISTCTRL
=yes
1678 DEFAULT_wxUSE_NOTEBOOK
=yes
1679 DEFAULT_wxUSE_PROPSHEET
=yes
1680 DEFAULT_wxUSE_RADIOBOX
=yes
1681 DEFAULT_wxUSE_RADIOBTN
=yes
1682 DEFAULT_wxUSE_SASH
=yes
1683 DEFAULT_wxUSE_SCROLLBAR
=yes
1684 DEFAULT_wxUSE_SLIDER
=yes
1685 DEFAULT_wxUSE_SPINBTN
=yes
1686 DEFAULT_wxUSE_SPINCTRL
=yes
1687 DEFAULT_wxUSE_SPLITTER
=yes
1688 DEFAULT_wxUSE_STATBMP
=yes
1689 DEFAULT_wxUSE_STATBOX
=yes
1690 DEFAULT_wxUSE_STATLINE
=yes
1691 DEFAULT_wxUSE_STATTEXT
=yes
1692 DEFAULT_wxUSE_STATUSBAR
=yes
1693 DEFAULT_wxUSE_TABDIALOG
=no
1694 DEFAULT_wxUSE_TEXTCTRL
=yes
1695 DEFAULT_wxUSE_TOGGLEBTN
=yes
1696 DEFAULT_wxUSE_TOOLBAR
=yes
1697 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1698 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1699 DEFAULT_wxUSE_TREECTRL
=yes
1700 DEFAULT_wxUSE_POPUPWIN
=yes
1702 DEFAULT_wxUSE_UNICODE
=no
1703 DEFAULT_wxUSE_WCSRTOMBS
=no
1705 DEFAULT_wxUSE_PALETTE
=yes
1706 DEFAULT_wxUSE_IMAGE
=yes
1707 DEFAULT_wxUSE_GIF
=yes
1708 DEFAULT_wxUSE_PCX
=yes
1709 DEFAULT_wxUSE_PNM
=yes
1710 DEFAULT_wxUSE_XPM
=yes
1715 for toolkit
in `echo $ALL_TOOLKITS`; do
1716 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1717 if test "x$LINE" != x
; then
1718 has_toolkit_in_cache
=1
1719 eval "DEFAULT_$LINE"
1720 eval "CACHE_$toolkit=1"
1726 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1727 echo "configure:1728: checking for --enable-gui" >&5
1729 # Check whether --enable-gui or --disable-gui was given.
1730 if test "${enable_gui+set}" = set; then
1731 enableval
="$enable_gui"
1733 if test "$enableval" = yes; then
1734 ac_cv_use_gui
='wxUSE_GUI=yes'
1736 ac_cv_use_gui
='wxUSE_GUI=no'
1741 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1753 eval "$ac_cv_use_gui"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_GUI" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1765 if test "$wxUSE_GUI" = "yes"; then
1768 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1769 echo "configure:1770: checking for --enable-universal" >&5
1771 # Check whether --enable-universal or --disable-universal was given.
1772 if test "${enable_universal+set}" = set; then
1773 enableval
="$enable_universal"
1775 if test "$enableval" = yes; then
1776 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1778 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1783 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1795 eval "$ac_cv_use_universal"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_UNIVERSAL" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1806 # Check whether --with-gtk or --without-gtk was given.
1807 if test "${with_gtk+set}" = set; then
1809 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1812 # Check whether --with-motif or --without-motif was given.
1813 if test "${with_motif+set}" = set; then
1814 withval
="$with_motif"
1815 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --with-mac or --without-mac was given.
1819 if test "${with_mac+set}" = set; then
1821 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1824 # Check whether --with-wine or --without-wine was given.
1825 if test "${with_wine+set}" = set; then
1826 withval
="$with_wine"
1827 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1830 # Check whether --with-msw or --without-msw was given.
1831 if test "${with_msw+set}" = set; then
1833 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1836 # Check whether --with-pm or --without-pm was given.
1837 if test "${with_pm+set}" = set; then
1839 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1842 # Check whether --with-mgl or --without-mgl was given.
1843 if test "${with_mgl+set}" = set; then
1845 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1849 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1850 if test "${enable_gtk2+set}" = set; then
1851 enableval
="$enable_gtk2"
1859 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1860 echo "configure:1861: checking for --with-libpng" >&5
1862 # Check whether --with-libpng or --without-libpng was given.
1863 if test "${with_libpng+set}" = set; then
1864 withval
="$with_libpng"
1866 if test "$withval" = yes; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1868 elif test "$withval" = no
; then
1869 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1870 elif test "$withval" = sys
; then
1871 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1872 elif test "$withval" = builtin; then
1873 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1875 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1880 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x
; then
1882 eval "DEFAULT_$LINE"
1887 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1892 eval "$ac_cv_use_libpng"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1897 if test "$wxUSE_LIBPNG" = yes; then
1898 echo "$ac_t""yes" 1>&6
1899 elif test "$wxUSE_LIBPNG" = no
; then
1900 echo "$ac_t""no" 1>&6
1901 elif test "$wxUSE_LIBPNG" = sys
; then
1902 echo "$ac_t""system version" 1>&6
1903 elif test "$wxUSE_LIBPNG" = builtin; then
1904 echo "$ac_t""builtin version" 1>&6
1906 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1910 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1911 echo "configure:1912: checking for --with-libjpeg" >&5
1913 # Check whether --with-libjpeg or --without-libjpeg was given.
1914 if test "${with_libjpeg+set}" = set; then
1915 withval
="$with_libjpeg"
1917 if test "$withval" = yes; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1919 elif test "$withval" = no
; then
1920 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1921 elif test "$withval" = sys
; then
1922 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1923 elif test "$withval" = builtin; then
1924 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1926 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1931 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1932 if test "x$LINE" != x
; then
1933 eval "DEFAULT_$LINE"
1938 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1943 eval "$ac_cv_use_libjpeg"
1944 if test "$no_cache" != 1; then
1945 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1948 if test "$wxUSE_LIBJPEG" = yes; then
1949 echo "$ac_t""yes" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = no
; then
1951 echo "$ac_t""no" 1>&6
1952 elif test "$wxUSE_LIBJPEG" = sys
; then
1953 echo "$ac_t""system version" 1>&6
1954 elif test "$wxUSE_LIBJPEG" = builtin; then
1955 echo "$ac_t""builtin version" 1>&6
1957 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1961 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1962 echo "configure:1963: checking for --with-libtiff" >&5
1964 # Check whether --with-libtiff or --without-libtiff was given.
1965 if test "${with_libtiff+set}" = set; then
1966 withval
="$with_libtiff"
1968 if test "$withval" = yes; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1970 elif test "$withval" = no
; then
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1972 elif test "$withval" = sys
; then
1973 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1974 elif test "$withval" = builtin; then
1975 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1977 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1982 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1983 if test "x$LINE" != x
; then
1984 eval "DEFAULT_$LINE"
1989 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1994 eval "$ac_cv_use_libtiff"
1995 if test "$no_cache" != 1; then
1996 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1999 if test "$wxUSE_LIBTIFF" = yes; then
2000 echo "$ac_t""yes" 1>&6
2001 elif test "$wxUSE_LIBTIFF" = no
; then
2002 echo "$ac_t""no" 1>&6
2003 elif test "$wxUSE_LIBTIFF" = sys
; then
2004 echo "$ac_t""system version" 1>&6
2005 elif test "$wxUSE_LIBTIFF" = builtin; then
2006 echo "$ac_t""builtin version" 1>&6
2008 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2012 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2013 echo "configure:2014: checking for --with-freetype" >&5
2015 # Check whether --with-freetype or --without-freetype was given.
2016 if test "${with_freetype+set}" = set; then
2017 withval
="$with_freetype"
2019 if test "$withval" = yes; then
2020 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2021 elif test "$withval" = no
; then
2022 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2023 elif test "$withval" = sys
; then
2024 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2025 elif test "$withval" = builtin; then
2026 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2028 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2033 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2034 if test "x$LINE" != x
; then
2035 eval "DEFAULT_$LINE"
2040 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2045 eval "$ac_cv_use_freetype"
2046 if test "$no_cache" != 1; then
2047 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2050 if test "$wxUSE_FREETYPE" = yes; then
2051 echo "$ac_t""yes" 1>&6
2052 elif test "$wxUSE_FREETYPE" = no
; then
2053 echo "$ac_t""no" 1>&6
2054 elif test "$wxUSE_FREETYPE" = sys
; then
2055 echo "$ac_t""system version" 1>&6
2056 elif test "$wxUSE_FREETYPE" = builtin; then
2057 echo "$ac_t""builtin version" 1>&6
2059 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2063 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2064 echo "configure:2065: checking for --with-opengl" >&5
2066 # Check whether --with-opengl or --without-opengl was given.
2067 if test "${with_opengl+set}" = set; then
2068 withval
="$with_opengl"
2070 if test "$withval" = yes; then
2071 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2073 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2078 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2079 if test "x$LINE" != x
; then
2080 eval "DEFAULT_$LINE"
2085 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2090 eval "$ac_cv_use_opengl"
2091 if test "$no_cache" != 1; then
2092 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2095 if test "$wxUSE_OPENGL" = yes; then
2096 echo "$ac_t""yes" 1>&6
2098 echo "$ac_t""no" 1>&6
2105 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2106 echo "configure:2107: checking for --with-dmalloc" >&5
2108 # Check whether --with-dmalloc or --without-dmalloc was given.
2109 if test "${with_dmalloc+set}" = set; then
2110 withval
="$with_dmalloc"
2112 if test "$withval" = yes; then
2113 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2115 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2120 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2121 if test "x$LINE" != x
; then
2122 eval "DEFAULT_$LINE"
2127 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2132 eval "$ac_cv_use_dmalloc"
2133 if test "$no_cache" != 1; then
2134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2137 if test "$wxUSE_DMALLOC" = yes; then
2138 echo "$ac_t""yes" 1>&6
2140 echo "$ac_t""no" 1>&6
2144 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2145 echo "configure:2146: checking for --with-regex" >&5
2147 # Check whether --with-regex or --without-regex was given.
2148 if test "${with_regex+set}" = set; then
2149 withval
="$with_regex"
2151 if test "$withval" = yes; then
2152 ac_cv_use_regex
='wxUSE_REGEX=yes'
2153 elif test "$withval" = no
; then
2154 ac_cv_use_regex
='wxUSE_REGEX=no'
2155 elif test "$withval" = sys
; then
2156 ac_cv_use_regex
='wxUSE_REGEX=sys'
2157 elif test "$withval" = builtin; then
2158 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2160 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2165 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2166 if test "x$LINE" != x
; then
2167 eval "DEFAULT_$LINE"
2172 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2177 eval "$ac_cv_use_regex"
2178 if test "$no_cache" != 1; then
2179 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2182 if test "$wxUSE_REGEX" = yes; then
2183 echo "$ac_t""yes" 1>&6
2184 elif test "$wxUSE_REGEX" = no
; then
2185 echo "$ac_t""no" 1>&6
2186 elif test "$wxUSE_REGEX" = sys
; then
2187 echo "$ac_t""system version" 1>&6
2188 elif test "$wxUSE_REGEX" = builtin; then
2189 echo "$ac_t""builtin version" 1>&6
2191 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2195 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2196 echo "configure:2197: checking for --with-zlib" >&5
2198 # Check whether --with-zlib or --without-zlib was given.
2199 if test "${with_zlib+set}" = set; then
2200 withval
="$with_zlib"
2202 if test "$withval" = yes; then
2203 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2204 elif test "$withval" = no
; then
2205 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2206 elif test "$withval" = sys
; then
2207 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2208 elif test "$withval" = builtin; then
2209 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2211 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2216 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2217 if test "x$LINE" != x
; then
2218 eval "DEFAULT_$LINE"
2223 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2228 eval "$ac_cv_use_zlib"
2229 if test "$no_cache" != 1; then
2230 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2233 if test "$wxUSE_ZLIB" = yes; then
2234 echo "$ac_t""yes" 1>&6
2235 elif test "$wxUSE_ZLIB" = no
; then
2236 echo "$ac_t""no" 1>&6
2237 elif test "$wxUSE_ZLIB" = sys
; then
2238 echo "$ac_t""system version" 1>&6
2239 elif test "$wxUSE_ZLIB" = builtin; then
2240 echo "$ac_t""builtin version" 1>&6
2242 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2246 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --with-odbc" >&5
2249 # Check whether --with-odbc or --without-odbc was given.
2250 if test "${with_odbc+set}" = set; then
2251 withval
="$with_odbc"
2253 if test "$withval" = yes; then
2254 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2256 ac_cv_use_odbc
='wxUSE_ODBC=no'
2261 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2273 eval "$ac_cv_use_odbc"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_ODBC" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2287 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2288 echo "configure:2289: checking for --enable-shared" >&5
2290 # Check whether --enable-shared or --disable-shared was given.
2291 if test "${enable_shared+set}" = set; then
2292 enableval
="$enable_shared"
2294 if test "$enableval" = yes; then
2295 ac_cv_use_shared
='wxUSE_SHARED=yes'
2297 ac_cv_use_shared
='wxUSE_SHARED=no'
2302 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2314 eval "$ac_cv_use_shared"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_SHARED" = yes; then
2320 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2327 echo "configure:2328: checking for --enable-soname" >&5
2329 # Check whether --enable-soname or --disable-soname was given.
2330 if test "${enable_soname+set}" = set; then
2331 enableval
="$enable_soname"
2333 if test "$enableval" = yes; then
2334 ac_cv_use_soname
='wxUSE_SONAME=yes'
2336 ac_cv_use_soname
='wxUSE_SONAME=no'
2341 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x
; then
2343 eval "DEFAULT_$LINE"
2348 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2353 eval "$ac_cv_use_soname"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2358 if test "$wxUSE_SONAME" = yes; then
2359 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2365 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2366 echo "configure:2367: checking for --enable-optimise" >&5
2368 # Check whether --enable-optimise or --disable-optimise was given.
2369 if test "${enable_optimise+set}" = set; then
2370 enableval
="$enable_optimise"
2372 if test "$enableval" = yes; then
2373 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2375 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2380 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2381 if test "x$LINE" != x
; then
2382 eval "DEFAULT_$LINE"
2387 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2392 eval "$ac_cv_use_optimise"
2393 if test "$no_cache" != 1; then
2394 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2397 if test "$wxUSE_OPTIMISE" = yes; then
2398 echo "$ac_t""yes" 1>&6
2400 echo "$ac_t""no" 1>&6
2404 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2405 echo "configure:2406: checking for --enable-debug" >&5
2407 # Check whether --enable-debug or --disable-debug was given.
2408 if test "${enable_debug+set}" = set; then
2409 enableval
="$enable_debug"
2411 if test "$enableval" = yes; then
2412 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2414 ac_cv_use_debug
='wxUSE_DEBUG=no'
2419 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2420 if test "x$LINE" != x
; then
2421 eval "DEFAULT_$LINE"
2426 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2431 eval "$ac_cv_use_debug"
2432 if test "$no_cache" != 1; then
2433 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2436 if test "$wxUSE_DEBUG" = yes; then
2437 echo "$ac_t""yes" 1>&6
2439 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2445 echo "configure:2446: checking for --enable-precomp" >&5
2447 # Check whether --enable-precomp or --disable-precomp was given.
2448 if test "${enable_precomp+set}" = set; then
2449 enableval
="$enable_precomp"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2454 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2459 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2471 eval "$ac_cv_use_precomp"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_PRECOMP" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2483 if test "$wxUSE_DEBUG" = "yes"; then
2484 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2485 DEFAULT_wxUSE_DEBUG_INFO
=yes
2486 elif test "$wxUSE_DEBUG" = "no"; then
2487 DEFAULT_wxUSE_DEBUG_FLAG
=no
2488 DEFAULT_wxUSE_DEBUG_INFO
=no
2492 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2493 echo "configure:2494: checking for --enable-debug_flag" >&5
2495 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2496 if test "${enable_debug_flag+set}" = set; then
2497 enableval
="$enable_debug_flag"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2502 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2507 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2519 eval "$ac_cv_use_debug_flag"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_DEBUG_FLAG" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2531 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2532 echo "configure:2533: checking for --enable-debug_info" >&5
2534 # Check whether --enable-debug_info or --disable-debug_info was given.
2535 if test "${enable_debug_info+set}" = set; then
2536 enableval
="$enable_debug_info"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2541 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2546 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2558 eval "$ac_cv_use_debug_info"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2563 if test "$wxUSE_DEBUG_INFO" = yes; then
2564 echo "$ac_t""yes" 1>&6
2566 echo "$ac_t""no" 1>&6
2570 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2571 echo "configure:2572: checking for --enable-debug_gdb" >&5
2573 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2574 if test "${enable_debug_gdb+set}" = set; then
2575 enableval
="$enable_debug_gdb"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2580 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2585 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2597 eval "$ac_cv_use_debug_gdb"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_DEBUG_GDB" = yes; then
2603 echo "$ac_t""yes" 1>&6
2605 echo "$ac_t""no" 1>&6
2609 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2610 echo "configure:2611: checking for --enable-debug_cntxt" >&5
2612 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2613 if test "${enable_debug_cntxt+set}" = set; then
2614 enableval
="$enable_debug_cntxt"
2616 if test "$enableval" = yes; then
2617 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2619 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2624 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2636 eval "$ac_cv_use_debug_cntxt"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2641 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2642 echo "$ac_t""yes" 1>&6
2644 echo "$ac_t""no" 1>&6
2648 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2649 echo "configure:2650: checking for --enable-mem_tracing" >&5
2651 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2652 if test "${enable_mem_tracing+set}" = set; then
2653 enableval
="$enable_mem_tracing"
2655 if test "$enableval" = yes; then
2656 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2658 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2663 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x
; then
2665 eval "DEFAULT_$LINE"
2670 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2675 eval "$ac_cv_use_mem_tracing"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_MEM_TRACING" = yes; then
2681 echo "$ac_t""yes" 1>&6
2683 echo "$ac_t""no" 1>&6
2687 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2688 echo "configure:2689: checking for --enable-profile" >&5
2690 # Check whether --enable-profile or --disable-profile was given.
2691 if test "${enable_profile+set}" = set; then
2692 enableval
="$enable_profile"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2697 ac_cv_use_profile
='wxUSE_PROFILE=no'
2702 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2714 eval "$ac_cv_use_profile"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2719 if test "$wxUSE_PROFILE" = yes; then
2720 echo "$ac_t""yes" 1>&6
2722 echo "$ac_t""no" 1>&6
2726 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2727 echo "configure:2728: checking for --enable-no_rtti" >&5
2729 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2730 if test "${enable_no_rtti+set}" = set; then
2731 enableval
="$enable_no_rtti"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2736 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2741 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2753 eval "$ac_cv_use_no_rtti"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2758 if test "$wxUSE_NO_RTTI" = yes; then
2759 echo "$ac_t""yes" 1>&6
2761 echo "$ac_t""no" 1>&6
2765 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2766 echo "configure:2767: checking for --enable-no_exceptions" >&5
2768 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2769 if test "${enable_no_exceptions+set}" = set; then
2770 enableval
="$enable_no_exceptions"
2772 if test "$enableval" = yes; then
2773 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2775 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2780 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x
; then
2782 eval "DEFAULT_$LINE"
2787 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2792 eval "$ac_cv_use_no_exceptions"
2793 if test "$no_cache" != 1; then
2794 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2797 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2798 echo "$ac_t""yes" 1>&6
2800 echo "$ac_t""no" 1>&6
2804 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2805 echo "configure:2806: checking for --enable-permissive" >&5
2807 # Check whether --enable-permissive or --disable-permissive was given.
2808 if test "${enable_permissive+set}" = set; then
2809 enableval
="$enable_permissive"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2814 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2819 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2831 eval "$ac_cv_use_permissive"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2836 if test "$wxUSE_PERMISSIVE" = yes; then
2837 echo "$ac_t""yes" 1>&6
2839 echo "$ac_t""no" 1>&6
2843 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2844 echo "configure:2845: checking for --enable-no_deps" >&5
2846 # Check whether --enable-no_deps or --disable-no_deps was given.
2847 if test "${enable_no_deps+set}" = set; then
2848 enableval
="$enable_no_deps"
2850 if test "$enableval" = yes; then
2851 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2853 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2858 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2859 if test "x$LINE" != x
; then
2860 eval "DEFAULT_$LINE"
2865 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2870 eval "$ac_cv_use_no_deps"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_NO_DEPS" = yes; then
2876 echo "$ac_t""yes" 1>&6
2878 echo "$ac_t""no" 1>&6
2883 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2884 echo "configure:2885: checking for --enable-compat20" >&5
2886 # Check whether --enable-compat20 or --disable-compat20 was given.
2887 if test "${enable_compat20+set}" = set; then
2888 enableval
="$enable_compat20"
2890 if test "$enableval" = yes; then
2891 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2893 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2898 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x
; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2910 eval "$ac_cv_use_compat20"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2915 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2916 echo "$ac_t""yes" 1>&6
2918 echo "$ac_t""no" 1>&6
2922 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2923 echo "configure:2924: checking for --enable-compat22" >&5
2925 # Check whether --enable-compat22 or --disable-compat22 was given.
2926 if test "${enable_compat22+set}" = set; then
2927 enableval
="$enable_compat22"
2929 if test "$enableval" = yes; then
2930 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2932 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2937 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2938 if test "x$LINE" != x
; then
2939 eval "DEFAULT_$LINE"
2944 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2949 eval "$ac_cv_use_compat22"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2954 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2955 echo "$ac_t""yes" 1>&6
2957 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2964 echo "configure:2965: checking for --enable-intl" >&5
2966 # Check whether --enable-intl or --disable-intl was given.
2967 if test "${enable_intl+set}" = set; then
2968 enableval
="$enable_intl"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_intl
='wxUSE_INTL=yes'
2973 ac_cv_use_intl
='wxUSE_INTL=no'
2978 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2990 eval "$ac_cv_use_intl"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_INTL" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-config" >&5
3005 # Check whether --enable-config or --disable-config was given.
3006 if test "${enable_config+set}" = set; then
3007 enableval
="$enable_config"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_config
='wxUSE_CONFIG=yes'
3012 ac_cv_use_config
='wxUSE_CONFIG=no'
3017 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3029 eval "$ac_cv_use_config"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_CONFIG" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3042 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3043 echo "configure:3044: checking for --enable-sockets" >&5
3045 # Check whether --enable-sockets or --disable-sockets was given.
3046 if test "${enable_sockets+set}" = set; then
3047 enableval
="$enable_sockets"
3049 if test "$enableval" = yes; then
3050 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3052 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3057 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3069 eval "$ac_cv_use_sockets"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_SOCKETS" = yes; then
3075 echo "$ac_t""yes" 1>&6
3077 echo "$ac_t""no" 1>&6
3082 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3083 echo "configure:3084: checking for --enable-ipc" >&5
3085 # Check whether --enable-ipc or --disable-ipc was given.
3086 if test "${enable_ipc+set}" = set; then
3087 enableval
="$enable_ipc"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_ipc
='wxUSE_IPC=yes'
3092 ac_cv_use_ipc
='wxUSE_IPC=no'
3097 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3109 eval "$ac_cv_use_ipc"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_IPC" = yes; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3122 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3123 echo "configure:3124: checking for --enable-cmdline" >&5
3125 # Check whether --enable-cmdline or --disable-cmdline was given.
3126 if test "${enable_cmdline+set}" = set; then
3127 enableval
="$enable_cmdline"
3129 if test "$enableval" = yes; then
3130 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3132 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3137 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3149 eval "$ac_cv_use_cmdline"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3155 echo "$ac_t""yes" 1>&6
3157 echo "$ac_t""no" 1>&6
3161 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3162 echo "configure:3163: checking for --enable-datetime" >&5
3164 # Check whether --enable-datetime or --disable-datetime was given.
3165 if test "${enable_datetime+set}" = set; then
3166 enableval
="$enable_datetime"
3168 if test "$enableval" = yes; then
3169 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3171 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3176 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3188 eval "$ac_cv_use_datetime"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3193 if test "$wxUSE_DATETIME" = yes; then
3194 echo "$ac_t""yes" 1>&6
3196 echo "$ac_t""no" 1>&6
3200 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3201 echo "configure:3202: checking for --enable-timedate" >&5
3203 # Check whether --enable-timedate or --disable-timedate was given.
3204 if test "${enable_timedate+set}" = set; then
3205 enableval
="$enable_timedate"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3210 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3215 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3227 eval "$ac_cv_use_timedate"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_TIMEDATE" = yes; then
3233 echo "$ac_t""yes" 1>&6
3235 echo "$ac_t""no" 1>&6
3239 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3240 echo "configure:3241: checking for --enable-stopwatch" >&5
3242 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3243 if test "${enable_stopwatch+set}" = set; then
3244 enableval
="$enable_stopwatch"
3246 if test "$enableval" = yes; then
3247 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3249 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3254 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3266 eval "$ac_cv_use_stopwatch"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_STOPWATCH" = yes; then
3272 echo "$ac_t""yes" 1>&6
3274 echo "$ac_t""no" 1>&6
3278 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3279 echo "configure:3280: checking for --enable-dialupman" >&5
3281 # Check whether --enable-dialupman or --disable-dialupman was given.
3282 if test "${enable_dialupman+set}" = set; then
3283 enableval
="$enable_dialupman"
3285 if test "$enableval" = yes; then
3286 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3288 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3293 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3305 eval "$ac_cv_use_dialupman"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3311 echo "$ac_t""yes" 1>&6
3313 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3318 echo "configure:3319: checking for --enable-apple_ieee" >&5
3320 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3321 if test "${enable_apple_ieee+set}" = set; then
3322 enableval
="$enable_apple_ieee"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3327 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3332 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3344 eval "$ac_cv_use_apple_ieee"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_APPLE_IEEE" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3356 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3357 echo "configure:3358: checking for --enable-timer" >&5
3359 # Check whether --enable-timer or --disable-timer was given.
3360 if test "${enable_timer+set}" = set; then
3361 enableval
="$enable_timer"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_timer
='wxUSE_TIMER=yes'
3366 ac_cv_use_timer
='wxUSE_TIMER=no'
3371 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3383 eval "$ac_cv_use_timer"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_TIMER" = yes; then
3389 echo "$ac_t""yes" 1>&6
3391 echo "$ac_t""no" 1>&6
3395 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3396 echo "configure:3397: checking for --enable-wave" >&5
3398 # Check whether --enable-wave or --disable-wave was given.
3399 if test "${enable_wave+set}" = set; then
3400 enableval
="$enable_wave"
3402 if test "$enableval" = yes; then
3403 ac_cv_use_wave
='wxUSE_WAVE=yes'
3405 ac_cv_use_wave
='wxUSE_WAVE=no'
3410 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x
; then
3412 eval "DEFAULT_$LINE"
3417 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3422 eval "$ac_cv_use_wave"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_WAVE" = yes; then
3428 echo "$ac_t""yes" 1>&6
3430 echo "$ac_t""no" 1>&6
3434 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3435 echo "configure:3436: checking for --enable-fraction" >&5
3437 # Check whether --enable-fraction or --disable-fraction was given.
3438 if test "${enable_fraction+set}" = set; then
3439 enableval
="$enable_fraction"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3444 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3449 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3461 eval "$ac_cv_use_fraction"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_FRACTION" = yes; then
3467 echo "$ac_t""yes" 1>&6
3469 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3474 echo "configure:3475: checking for --enable-dynlib" >&5
3476 # Check whether --enable-dynlib or --disable-dynlib was given.
3477 if test "${enable_dynlib+set}" = set; then
3478 enableval
="$enable_dynlib"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3483 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3488 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3500 eval "$ac_cv_use_dynlib"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3506 echo "$ac_t""yes" 1>&6
3508 echo "$ac_t""no" 1>&6
3512 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3513 echo "configure:3514: checking for --enable-longlong" >&5
3515 # Check whether --enable-longlong or --disable-longlong was given.
3516 if test "${enable_longlong+set}" = set; then
3517 enableval
="$enable_longlong"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3522 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3527 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3539 eval "$ac_cv_use_longlong"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_LONGLONG" = yes; then
3545 echo "$ac_t""yes" 1>&6
3547 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3552 echo "configure:3553: checking for --enable-geometry" >&5
3554 # Check whether --enable-geometry or --disable-geometry was given.
3555 if test "${enable_geometry+set}" = set; then
3556 enableval
="$enable_geometry"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3561 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3566 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3578 eval "$ac_cv_use_geometry"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_GEOMETRY" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3590 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3591 echo "configure:3592: checking for --enable-log" >&5
3593 # Check whether --enable-log or --disable-log was given.
3594 if test "${enable_log+set}" = set; then
3595 enableval
="$enable_log"
3597 if test "$enableval" = yes; then
3598 ac_cv_use_log
='wxUSE_LOG=yes'
3600 ac_cv_use_log
='wxUSE_LOG=no'
3605 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3606 if test "x$LINE" != x
; then
3607 eval "DEFAULT_$LINE"
3612 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3617 eval "$ac_cv_use_log"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_LOG" = yes; then
3623 echo "$ac_t""yes" 1>&6
3625 echo "$ac_t""no" 1>&6
3629 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3630 echo "configure:3631: checking for --enable-streams" >&5
3632 # Check whether --enable-streams or --disable-streams was given.
3633 if test "${enable_streams+set}" = set; then
3634 enableval
="$enable_streams"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3639 ac_cv_use_streams
='wxUSE_STREAMS=no'
3644 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3656 eval "$ac_cv_use_streams"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_STREAMS" = yes; then
3662 echo "$ac_t""yes" 1>&6
3664 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3669 echo "configure:3670: checking for --enable-file" >&5
3671 # Check whether --enable-file or --disable-file was given.
3672 if test "${enable_file+set}" = set; then
3673 enableval
="$enable_file"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_file
='wxUSE_FILE=yes'
3678 ac_cv_use_file
='wxUSE_FILE=no'
3683 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3695 eval "$ac_cv_use_file"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_FILE" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3707 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3708 echo "configure:3709: checking for --enable-ffile" >&5
3710 # Check whether --enable-ffile or --disable-ffile was given.
3711 if test "${enable_ffile+set}" = set; then
3712 enableval
="$enable_ffile"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3717 ac_cv_use_ffile
='wxUSE_FFILE=no'
3722 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3734 eval "$ac_cv_use_ffile"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3739 if test "$wxUSE_FFILE" = yes; then
3740 echo "$ac_t""yes" 1>&6
3742 echo "$ac_t""no" 1>&6
3746 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3747 echo "configure:3748: checking for --enable-textbuf" >&5
3749 # Check whether --enable-textbuf or --disable-textbuf was given.
3750 if test "${enable_textbuf+set}" = set; then
3751 enableval
="$enable_textbuf"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3756 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3761 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3773 eval "$ac_cv_use_textbuf"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_TEXTBUFFER" = yes; then
3779 echo "$ac_t""yes" 1>&6
3781 echo "$ac_t""no" 1>&6
3785 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3786 echo "configure:3787: checking for --enable-textfile" >&5
3788 # Check whether --enable-textfile or --disable-textfile was given.
3789 if test "${enable_textfile+set}" = set; then
3790 enableval
="$enable_textfile"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3795 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3800 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3812 eval "$ac_cv_use_textfile"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_TEXTFILE" = yes; then
3818 echo "$ac_t""yes" 1>&6
3820 echo "$ac_t""no" 1>&6
3824 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3825 echo "configure:3826: checking for --enable-fontmap" >&5
3827 # Check whether --enable-fontmap or --disable-fontmap was given.
3828 if test "${enable_fontmap+set}" = set; then
3829 enableval
="$enable_fontmap"
3831 if test "$enableval" = yes; then
3832 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3834 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3839 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x
; then
3841 eval "DEFAULT_$LINE"
3846 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3851 eval "$ac_cv_use_fontmap"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3856 if test "$wxUSE_FONTMAP" = yes; then
3857 echo "$ac_t""yes" 1>&6
3859 echo "$ac_t""no" 1>&6
3863 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3864 echo "configure:3865: checking for --enable-unicode" >&5
3866 # Check whether --enable-unicode or --disable-unicode was given.
3867 if test "${enable_unicode+set}" = set; then
3868 enableval
="$enable_unicode"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3873 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3878 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x
; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3890 eval "$ac_cv_use_unicode"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_UNICODE" = yes; then
3896 echo "$ac_t""yes" 1>&6
3898 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3903 echo "configure:3904: checking for --enable-wxprintfv" >&5
3905 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3906 if test "${enable_wxprintfv+set}" = set; then
3907 enableval
="$enable_wxprintfv"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3912 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3917 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3929 eval "$ac_cv_use_wxprintfv"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3941 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3942 echo "configure:3943: checking for --enable-std_iostreams" >&5
3944 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3945 if test "${enable_std_iostreams+set}" = set; then
3946 enableval
="$enable_std_iostreams"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3951 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3956 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3968 eval "$ac_cv_use_std_iostreams"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_STD_IOSTREAM" = yes; then
3974 echo "$ac_t""yes" 1>&6
3976 echo "$ac_t""no" 1>&6
3980 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3981 echo "configure:3982: checking for --enable-filesystem" >&5
3983 # Check whether --enable-filesystem or --disable-filesystem was given.
3984 if test "${enable_filesystem+set}" = set; then
3985 enableval
="$enable_filesystem"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3990 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3995 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4007 eval "$ac_cv_use_filesystem"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4012 if test "$wxUSE_FILESYSTEM" = yes; then
4013 echo "$ac_t""yes" 1>&6
4015 echo "$ac_t""no" 1>&6
4019 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4020 echo "configure:4021: checking for --enable-fs_inet" >&5
4022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4023 if test "${enable_fs_inet+set}" = set; then
4024 enableval
="$enable_fs_inet"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4029 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4034 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4046 eval "$ac_cv_use_fs_inet"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_FS_INET" = yes; then
4052 echo "$ac_t""yes" 1>&6
4054 echo "$ac_t""no" 1>&6
4058 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4059 echo "configure:4060: checking for --enable-fs_zip" >&5
4061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4062 if test "${enable_fs_zip+set}" = set; then
4063 enableval
="$enable_fs_zip"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4073 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4085 eval "$ac_cv_use_fs_zip"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_FS_ZIP" = yes; then
4091 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4097 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4098 echo "configure:4099: checking for --enable-zipstream" >&5
4100 # Check whether --enable-zipstream or --disable-zipstream was given.
4101 if test "${enable_zipstream+set}" = set; then
4102 enableval
="$enable_zipstream"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4107 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4112 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4124 eval "$ac_cv_use_zipstream"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_ZIPSTREAM" = yes; then
4130 echo "$ac_t""yes" 1>&6
4132 echo "$ac_t""no" 1>&6
4137 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4138 echo "configure:4139: checking for --enable-catch_segvs" >&5
4140 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4141 if test "${enable_catch_segvs+set}" = set; then
4142 enableval
="$enable_catch_segvs"
4144 if test "$enableval" = yes; then
4145 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4147 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4152 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x
; then
4154 eval "DEFAULT_$LINE"
4159 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4164 eval "$ac_cv_use_catch_segvs"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4170 echo "$ac_t""yes" 1>&6
4172 echo "$ac_t""no" 1>&6
4176 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4177 echo "configure:4178: checking for --enable-snglinst" >&5
4179 # Check whether --enable-snglinst or --disable-snglinst was given.
4180 if test "${enable_snglinst+set}" = set; then
4181 enableval
="$enable_snglinst"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4186 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4191 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4203 eval "$ac_cv_use_snglinst"
4204 if test "$no_cache" != 1; then
4205 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4208 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4209 echo "$ac_t""yes" 1>&6
4211 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --enable-mimetype" >&5
4219 # Check whether --enable-mimetype or --disable-mimetype was given.
4220 if test "${enable_mimetype+set}" = set; then
4221 enableval
="$enable_mimetype"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4226 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4231 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4243 eval "$ac_cv_use_mimetype"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_MIMETYPE" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4255 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4256 echo "configure:4257: checking for --enable-system_options" >&5
4258 # Check whether --enable-system_options or --disable-system_options was given.
4259 if test "${enable_system_options+set}" = set; then
4260 enableval
="$enable_system_options"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4265 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4270 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4282 eval "$ac_cv_use_system_options"
4283 if test "$no_cache" != 1; then
4284 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4287 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4288 echo "$ac_t""yes" 1>&6
4290 echo "$ac_t""no" 1>&6
4296 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4297 echo "configure:4298: checking for --enable-threads" >&5
4299 # Check whether --enable-threads or --disable-threads was given.
4300 if test "${enable_threads+set}" = set; then
4301 enableval
="$enable_threads"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_threads
='wxUSE_THREADS=yes'
4306 ac_cv_use_threads
='wxUSE_THREADS=no'
4311 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4323 eval "$ac_cv_use_threads"
4324 if test "$no_cache" != 1; then
4325 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4328 if test "$wxUSE_THREADS" = yes; then
4329 echo "$ac_t""yes" 1>&6
4331 echo "$ac_t""no" 1>&6
4335 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4336 echo "configure:4337: checking for --enable-serial" >&5
4338 # Check whether --enable-serial or --disable-serial was given.
4339 if test "${enable_serial+set}" = set; then
4340 enableval
="$enable_serial"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4345 ac_cv_use_serial
='wxUSE_SERIAL=no'
4350 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4362 eval "$ac_cv_use_serial"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_SERIAL" = yes; then
4368 echo "$ac_t""yes" 1>&6
4370 echo "$ac_t""no" 1>&6
4374 if test "$wxUSE_GUI" = "yes"; then
4378 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4379 echo "configure:4380: checking for --enable-docview" >&5
4381 # Check whether --enable-docview or --disable-docview was given.
4382 if test "${enable_docview+set}" = set; then
4383 enableval
="$enable_docview"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4388 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4393 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4405 eval "$ac_cv_use_docview"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4417 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4418 echo "configure:4419: checking for --enable-help" >&5
4420 # Check whether --enable-help or --disable-help was given.
4421 if test "${enable_help+set}" = set; then
4422 enableval
="$enable_help"
4424 if test "$enableval" = yes; then
4425 ac_cv_use_help
='wxUSE_HELP=yes'
4427 ac_cv_use_help
='wxUSE_HELP=no'
4432 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x
; then
4434 eval "DEFAULT_$LINE"
4439 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4444 eval "$ac_cv_use_help"
4445 if test "$no_cache" != 1; then
4446 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4449 if test "$wxUSE_HELP" = yes; then
4450 echo "$ac_t""yes" 1>&6
4452 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4457 echo "configure:4458: checking for --enable-mshtmlhelp" >&5
4459 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4460 if test "${enable_mshtmlhelp+set}" = set; then
4461 enableval
="$enable_mshtmlhelp"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4466 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4471 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4483 eval "$ac_cv_use_mshtmlhelp"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_MS_HTML_HELP" = yes; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4495 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4496 echo "configure:4497: checking for --enable-html" >&5
4498 # Check whether --enable-html or --disable-html was given.
4499 if test "${enable_html+set}" = set; then
4500 enableval
="$enable_html"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_html
='wxUSE_HTML=yes'
4505 ac_cv_use_html
='wxUSE_HTML=no'
4510 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4522 eval "$ac_cv_use_html"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_HTML" = yes; then
4528 echo "$ac_t""yes" 1>&6
4530 echo "$ac_t""no" 1>&6
4534 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4535 echo "configure:4536: checking for --enable-htmlhelp" >&5
4537 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4538 if test "${enable_htmlhelp+set}" = set; then
4539 enableval
="$enable_htmlhelp"
4541 if test "$enableval" = yes; then
4542 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4544 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4549 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4550 if test "x$LINE" != x
; then
4551 eval "DEFAULT_$LINE"
4556 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4561 eval "$ac_cv_use_htmlhelp"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_WXHTML_HELP" = yes; then
4567 echo "$ac_t""yes" 1>&6
4569 echo "$ac_t""no" 1>&6
4573 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4574 echo "configure:4575: checking for --enable-constraints" >&5
4576 # Check whether --enable-constraints or --disable-constraints was given.
4577 if test "${enable_constraints+set}" = set; then
4578 enableval
="$enable_constraints"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4583 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4588 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4600 eval "$ac_cv_use_constraints"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_CONSTRAINTS" = yes; then
4606 echo "$ac_t""yes" 1>&6
4608 echo "$ac_t""no" 1>&6
4612 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4613 echo "configure:4614: checking for --enable-printarch" >&5
4615 # Check whether --enable-printarch or --disable-printarch was given.
4616 if test "${enable_printarch+set}" = set; then
4617 enableval
="$enable_printarch"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4622 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4627 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4639 eval "$ac_cv_use_printarch"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4645 echo "$ac_t""yes" 1>&6
4647 echo "$ac_t""no" 1>&6
4651 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4652 echo "configure:4653: checking for --enable-mdi" >&5
4654 # Check whether --enable-mdi or --disable-mdi was given.
4655 if test "${enable_mdi+set}" = set; then
4656 enableval
="$enable_mdi"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4661 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4666 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x
; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4678 eval "$ac_cv_use_mdi"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4684 echo "$ac_t""yes" 1>&6
4686 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4691 echo "configure:4692: checking for --enable-loggui" >&5
4693 # Check whether --enable-loggui or --disable-loggui was given.
4694 if test "${enable_loggui+set}" = set; then
4695 enableval
="$enable_loggui"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4700 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4705 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4717 eval "$ac_cv_use_loggui"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_LOGGUI" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4729 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4730 echo "configure:4731: checking for --enable-logwin" >&5
4732 # Check whether --enable-logwin or --disable-logwin was given.
4733 if test "${enable_logwin+set}" = set; then
4734 enableval
="$enable_logwin"
4736 if test "$enableval" = yes; then
4737 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4739 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4744 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x
; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4756 eval "$ac_cv_use_logwin"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_LOGWINDOW" = yes; then
4762 echo "$ac_t""yes" 1>&6
4764 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4770 echo "configure:4771: checking for --enable-postscript" >&5
4772 # Check whether --enable-postscript or --disable-postscript was given.
4773 if test "${enable_postscript+set}" = set; then
4774 enableval
="$enable_postscript"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4779 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4784 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4796 eval "$ac_cv_use_postscript"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_POSTSCRIPT" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4811 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4812 echo "configure:4813: checking for --enable-prologio" >&5
4814 # Check whether --enable-prologio or --disable-prologio was given.
4815 if test "${enable_prologio+set}" = set; then
4816 enableval
="$enable_prologio"
4818 if test "$enableval" = yes; then
4819 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4821 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4826 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x
; then
4828 eval "DEFAULT_$LINE"
4833 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4838 eval "$ac_cv_use_prologio"
4839 if test "$no_cache" != 1; then
4840 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4843 if test "$wxUSE_PROLOGIO" = yes; then
4844 echo "$ac_t""yes" 1>&6
4846 echo "$ac_t""no" 1>&6
4850 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4851 echo "configure:4852: checking for --enable-resources" >&5
4853 # Check whether --enable-resources or --disable-resources was given.
4854 if test "${enable_resources+set}" = set; then
4855 enableval
="$enable_resources"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4860 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4865 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4877 eval "$ac_cv_use_resources"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4882 if test "$wxUSE_RESOURCES" = yes; then
4883 echo "$ac_t""yes" 1>&6
4885 echo "$ac_t""no" 1>&6
4890 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4891 echo "configure:4892: checking for --enable-xresources" >&5
4893 # Check whether --enable-xresources or --disable-xresources was given.
4894 if test "${enable_xresources+set}" = set; then
4895 enableval
="$enable_xresources"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4900 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4905 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x
; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4917 eval "$ac_cv_use_xresources"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_X_RESOURCES" = yes; then
4923 echo "$ac_t""yes" 1>&6
4925 echo "$ac_t""no" 1>&6
4931 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4932 echo "configure:4933: checking for --enable-clipboard" >&5
4934 # Check whether --enable-clipboard or --disable-clipboard was given.
4935 if test "${enable_clipboard+set}" = set; then
4936 enableval
="$enable_clipboard"
4938 if test "$enableval" = yes; then
4939 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4941 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4946 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x
; then
4948 eval "DEFAULT_$LINE"
4953 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4958 eval "$ac_cv_use_clipboard"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4963 if test "$wxUSE_CLIPBOARD" = yes; then
4964 echo "$ac_t""yes" 1>&6
4966 echo "$ac_t""no" 1>&6
4970 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4971 echo "configure:4972: checking for --enable-dnd" >&5
4973 # Check whether --enable-dnd or --disable-dnd was given.
4974 if test "${enable_dnd+set}" = set; then
4975 enableval
="$enable_dnd"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4980 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4985 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x
; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4997 eval "$ac_cv_use_dnd"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5002 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5003 echo "$ac_t""yes" 1>&6
5005 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5010 echo "configure:5011: checking for --enable-metafile" >&5
5012 # Check whether --enable-metafile or --disable-metafile was given.
5013 if test "${enable_metafile+set}" = set; then
5014 enableval
="$enable_metafile"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5019 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5024 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5036 eval "$ac_cv_use_metafile"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_METAFILE" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5049 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5050 echo "configure:5051: checking for --enable-treelayout" >&5
5052 # Check whether --enable-treelayout or --disable-treelayout was given.
5053 if test "${enable_treelayout+set}" = set; then
5054 enableval
="$enable_treelayout"
5056 if test "$enableval" = yes; then
5057 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5059 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5064 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5071 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5076 eval "$ac_cv_use_treelayout"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_TREELAYOUT" = yes; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5090 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5091 echo "configure:5092: checking for --enable-controls" >&5
5093 # Check whether --enable-controls or --disable-controls was given.
5094 if test "${enable_controls+set}" = set; then
5095 enableval
="$enable_controls"
5097 if test "$enableval" = yes; then
5098 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5100 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5105 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5106 if test "x$LINE" != x
; then
5107 eval "DEFAULT_$LINE"
5112 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5117 eval "$ac_cv_use_controls"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_CONTROLS" = yes; then
5123 echo "$ac_t""yes" 1>&6
5125 echo "$ac_t""no" 1>&6
5129 if test "$wxUSE_CONTROLS" = "yes"; then
5130 DEFAULT_wxUSE_ACCEL
=yes
5131 DEFAULT_wxUSE_BMPBUTTON
=yes
5132 DEFAULT_wxUSE_BUTTON
=yes
5133 DEFAULT_wxUSE_CALCTRL
=no
5134 DEFAULT_wxUSE_CARET
=yes
5135 DEFAULT_wxUSE_COMBOBOX
=yes
5136 DEFAULT_wxUSE_CHECKBOX
=yes
5137 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5138 DEFAULT_wxUSE_CHOICE
=yes
5139 DEFAULT_wxUSE_GAUGE
=yes
5140 DEFAULT_wxUSE_GRID
=yes
5141 DEFAULT_wxUSE_NEW_GRID
=yes
5142 DEFAULT_wxUSE_IMAGLIST
=yes
5143 DEFAULT_wxUSE_LISTBOX
=yes
5144 DEFAULT_wxUSE_LISTCTRL
=yes
5145 DEFAULT_wxUSE_NOTEBOOK
=yes
5146 DEFAULT_wxUSE_PROPSHEET
=yes
5147 DEFAULT_wxUSE_RADIOBOX
=yes
5148 DEFAULT_wxUSE_RADIOBTN
=yes
5149 DEFAULT_wxUSE_SASH
=yes
5150 DEFAULT_wxUSE_SCROLLBAR
=yes
5151 DEFAULT_wxUSE_SLIDER
=yes
5152 DEFAULT_wxUSE_SPINBTN
=yes
5153 DEFAULT_wxUSE_SPINCTRL
=yes
5154 DEFAULT_wxUSE_SPLITTER
=yes
5155 DEFAULT_wxUSE_STATBMP
=yes
5156 DEFAULT_wxUSE_STATBOX
=yes
5157 DEFAULT_wxUSE_STATLINE
=yes
5158 DEFAULT_wxUSE_STATUSBAR
=yes
5159 DEFAULT_wxUSE_TAB_DIALOG
=yes
5160 DEFAULT_wxUSE_TOGGLEBTN
=yes
5161 DEFAULT_wxUSE_TOOLBAR
=yes
5162 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5163 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5164 DEFAULT_wxUSE_TOOLTIPS
=yes
5165 DEFAULT_wxUSE_TREECTRL
=yes
5166 DEFAULT_wxUSE_POPUPWIN
=yes
5167 elif test "$wxUSE_CONTROLS" = "no"; then
5168 DEFAULT_wxUSE_ACCEL
=no
5169 DEFAULT_wxUSE_BMPBUTTON
=no
5170 DEFAULT_wxUSE_BUTTON
=no
5171 DEFAULT_wxUSE_CALCTRL
=no
5172 DEFAULT_wxUSE_CARET
=no
5173 DEFAULT_wxUSE_COMBOBOX
=no
5174 DEFAULT_wxUSE_CHECKBOX
=no
5175 DEFAULT_wxUSE_CHECKLISTBOX
=no
5176 DEFAULT_wxUSE_CHOICE
=no
5177 DEFAULT_wxUSE_GAUGE
=no
5178 DEFAULT_wxUSE_GRID
=no
5179 DEFAULT_wxUSE_NEW_GRID
=no
5180 DEFAULT_wxUSE_IMAGLIST
=no
5181 DEFAULT_wxUSE_LISTBOX
=no
5182 DEFAULT_wxUSE_LISTCTRL
=no
5183 DEFAULT_wxUSE_NOTEBOOK
=no
5184 DEFAULT_wxUSE_PROPSHEET
=no
5185 DEFAULT_wxUSE_RADIOBOX
=no
5186 DEFAULT_wxUSE_RADIOBTN
=no
5187 DEFAULT_wxUSE_SASH
=no
5188 DEFAULT_wxUSE_SCROLLBAR
=no
5189 DEFAULT_wxUSE_SLIDER
=no
5190 DEFAULT_wxUSE_SPINBTN
=no
5191 DEFAULT_wxUSE_SPINCTRL
=no
5192 DEFAULT_wxUSE_SPLITTER
=no
5193 DEFAULT_wxUSE_STATBMP
=no
5194 DEFAULT_wxUSE_STATBOX
=no
5195 DEFAULT_wxUSE_STATLINE
=no
5196 DEFAULT_wxUSE_STATUSBAR
=no
5197 DEFAULT_wxUSE_TAB_DIALOG
=no
5198 DEFAULT_wxUSE_TOGGLEBTN
=no
5199 DEFAULT_wxUSE_TOOLBAR
=no
5200 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5201 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5202 DEFAULT_wxUSE_TOOLTIPS
=no
5203 DEFAULT_wxUSE_TREECTRL
=no
5204 DEFAULT_wxUSE_POPUPWIN
=no
5208 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5209 echo "configure:5210: checking for --enable-accel" >&5
5211 # Check whether --enable-accel or --disable-accel was given.
5212 if test "${enable_accel+set}" = set; then
5213 enableval
="$enable_accel"
5215 if test "$enableval" = yes; then
5216 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5218 ac_cv_use_accel
='wxUSE_ACCEL=no'
5223 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5224 if test "x$LINE" != x
; then
5225 eval "DEFAULT_$LINE"
5230 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5235 eval "$ac_cv_use_accel"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_ACCEL" = yes; then
5241 echo "$ac_t""yes" 1>&6
5243 echo "$ac_t""no" 1>&6
5247 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5248 echo "configure:5249: checking for --enable-button" >&5
5250 # Check whether --enable-button or --disable-button was given.
5251 if test "${enable_button+set}" = set; then
5252 enableval
="$enable_button"
5254 if test "$enableval" = yes; then
5255 ac_cv_use_button
='wxUSE_BUTTON=yes'
5257 ac_cv_use_button
='wxUSE_BUTTON=no'
5262 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x
; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5274 eval "$ac_cv_use_button"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5279 if test "$wxUSE_BUTTON" = yes; then
5280 echo "$ac_t""yes" 1>&6
5282 echo "$ac_t""no" 1>&6
5286 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5287 echo "configure:5288: checking for --enable-bmpbutton" >&5
5289 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5290 if test "${enable_bmpbutton+set}" = set; then
5291 enableval
="$enable_bmpbutton"
5293 if test "$enableval" = yes; then
5294 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5296 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5301 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x
; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5313 eval "$ac_cv_use_bmpbutton"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5318 if test "$wxUSE_BMPBUTTON" = yes; then
5319 echo "$ac_t""yes" 1>&6
5321 echo "$ac_t""no" 1>&6
5325 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5326 echo "configure:5327: checking for --enable-calendar" >&5
5328 # Check whether --enable-calendar or --disable-calendar was given.
5329 if test "${enable_calendar+set}" = set; then
5330 enableval
="$enable_calendar"
5332 if test "$enableval" = yes; then
5333 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5335 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5340 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5341 if test "x$LINE" != x
; then
5342 eval "DEFAULT_$LINE"
5347 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5352 eval "$ac_cv_use_calendar"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_CALCTRL" = yes; then
5358 echo "$ac_t""yes" 1>&6
5360 echo "$ac_t""no" 1>&6
5364 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5365 echo "configure:5366: checking for --enable-caret" >&5
5367 # Check whether --enable-caret or --disable-caret was given.
5368 if test "${enable_caret+set}" = set; then
5369 enableval
="$enable_caret"
5371 if test "$enableval" = yes; then
5372 ac_cv_use_caret
='wxUSE_CARET=yes'
5374 ac_cv_use_caret
='wxUSE_CARET=no'
5379 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x
; then
5381 eval "DEFAULT_$LINE"
5386 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5391 eval "$ac_cv_use_caret"
5392 if test "$no_cache" != 1; then
5393 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5396 if test "$wxUSE_CARET" = yes; then
5397 echo "$ac_t""yes" 1>&6
5399 echo "$ac_t""no" 1>&6
5403 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5404 echo "configure:5405: checking for --enable-checkbox" >&5
5406 # Check whether --enable-checkbox or --disable-checkbox was given.
5407 if test "${enable_checkbox+set}" = set; then
5408 enableval
="$enable_checkbox"
5410 if test "$enableval" = yes; then
5411 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5413 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5418 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5419 if test "x$LINE" != x
; then
5420 eval "DEFAULT_$LINE"
5425 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5430 eval "$ac_cv_use_checkbox"
5431 if test "$no_cache" != 1; then
5432 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5435 if test "$wxUSE_CHECKBOX" = yes; then
5436 echo "$ac_t""yes" 1>&6
5438 echo "$ac_t""no" 1>&6
5442 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5443 echo "configure:5444: checking for --enable-checklst" >&5
5445 # Check whether --enable-checklst or --disable-checklst was given.
5446 if test "${enable_checklst+set}" = set; then
5447 enableval
="$enable_checklst"
5449 if test "$enableval" = yes; then
5450 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5452 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5457 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x
; then
5459 eval "DEFAULT_$LINE"
5464 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5469 eval "$ac_cv_use_checklst"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_CHECKLST" = yes; then
5475 echo "$ac_t""yes" 1>&6
5477 echo "$ac_t""no" 1>&6
5481 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5482 echo "configure:5483: checking for --enable-choice" >&5
5484 # Check whether --enable-choice or --disable-choice was given.
5485 if test "${enable_choice+set}" = set; then
5486 enableval
="$enable_choice"
5488 if test "$enableval" = yes; then
5489 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5491 ac_cv_use_choice
='wxUSE_CHOICE=no'
5496 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x
; then
5498 eval "DEFAULT_$LINE"
5503 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5508 eval "$ac_cv_use_choice"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5513 if test "$wxUSE_CHOICE" = yes; then
5514 echo "$ac_t""yes" 1>&6
5516 echo "$ac_t""no" 1>&6
5520 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5521 echo "configure:5522: checking for --enable-combobox" >&5
5523 # Check whether --enable-combobox or --disable-combobox was given.
5524 if test "${enable_combobox+set}" = set; then
5525 enableval
="$enable_combobox"
5527 if test "$enableval" = yes; then
5528 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5530 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5535 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x
; then
5537 eval "DEFAULT_$LINE"
5542 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5547 eval "$ac_cv_use_combobox"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_COMBOBOX" = yes; then
5553 echo "$ac_t""yes" 1>&6
5555 echo "$ac_t""no" 1>&6
5559 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5560 echo "configure:5561: checking for --enable-gauge" >&5
5562 # Check whether --enable-gauge or --disable-gauge was given.
5563 if test "${enable_gauge+set}" = set; then
5564 enableval
="$enable_gauge"
5566 if test "$enableval" = yes; then
5567 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5569 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5574 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5575 if test "x$LINE" != x
; then
5576 eval "DEFAULT_$LINE"
5581 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5586 eval "$ac_cv_use_gauge"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5591 if test "$wxUSE_GAUGE" = yes; then
5592 echo "$ac_t""yes" 1>&6
5594 echo "$ac_t""no" 1>&6
5598 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5599 echo "configure:5600: checking for --enable-grid" >&5
5601 # Check whether --enable-grid or --disable-grid was given.
5602 if test "${enable_grid+set}" = set; then
5603 enableval
="$enable_grid"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_grid
='wxUSE_GRID=yes'
5608 ac_cv_use_grid
='wxUSE_GRID=no'
5613 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5625 eval "$ac_cv_use_grid"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_GRID" = yes; then
5631 echo "$ac_t""yes" 1>&6
5633 echo "$ac_t""no" 1>&6
5637 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5638 echo "configure:5639: checking for --enable-newgrid" >&5
5640 # Check whether --enable-newgrid or --disable-newgrid was given.
5641 if test "${enable_newgrid+set}" = set; then
5642 enableval
="$enable_newgrid"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5647 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5652 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x
; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5664 eval "$ac_cv_use_newgrid"
5665 if test "$no_cache" != 1; then
5666 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5669 if test "$wxUSE_NEW_GRID" = yes; then
5670 echo "$ac_t""yes" 1>&6
5672 echo "$ac_t""no" 1>&6
5676 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5677 echo "configure:5678: checking for --enable-imaglist" >&5
5679 # Check whether --enable-imaglist or --disable-imaglist was given.
5680 if test "${enable_imaglist+set}" = set; then
5681 enableval
="$enable_imaglist"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5686 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5691 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5703 eval "$ac_cv_use_imaglist"
5704 if test "$no_cache" != 1; then
5705 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5708 if test "$wxUSE_IMAGLIST" = yes; then
5709 echo "$ac_t""yes" 1>&6
5711 echo "$ac_t""no" 1>&6
5715 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5716 echo "configure:5717: checking for --enable-listbox" >&5
5718 # Check whether --enable-listbox or --disable-listbox was given.
5719 if test "${enable_listbox+set}" = set; then
5720 enableval
="$enable_listbox"
5722 if test "$enableval" = yes; then
5723 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5725 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5730 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x
; then
5732 eval "DEFAULT_$LINE"
5737 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5742 eval "$ac_cv_use_listbox"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_LISTBOX" = yes; then
5748 echo "$ac_t""yes" 1>&6
5750 echo "$ac_t""no" 1>&6
5754 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5755 echo "configure:5756: checking for --enable-listctrl" >&5
5757 # Check whether --enable-listctrl or --disable-listctrl was given.
5758 if test "${enable_listctrl+set}" = set; then
5759 enableval
="$enable_listctrl"
5761 if test "$enableval" = yes; then
5762 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5764 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5769 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x
; then
5771 eval "DEFAULT_$LINE"
5776 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5781 eval "$ac_cv_use_listctrl"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5786 if test "$wxUSE_LISTCTRL" = yes; then
5787 echo "$ac_t""yes" 1>&6
5789 echo "$ac_t""no" 1>&6
5793 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5794 echo "configure:5795: checking for --enable-notebook" >&5
5796 # Check whether --enable-notebook or --disable-notebook was given.
5797 if test "${enable_notebook+set}" = set; then
5798 enableval
="$enable_notebook"
5800 if test "$enableval" = yes; then
5801 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5803 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5808 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x
; then
5810 eval "DEFAULT_$LINE"
5815 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5820 eval "$ac_cv_use_notebook"
5821 if test "$no_cache" != 1; then
5822 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5825 if test "$wxUSE_NOTEBOOK" = yes; then
5826 echo "$ac_t""yes" 1>&6
5828 echo "$ac_t""no" 1>&6
5832 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5833 echo "configure:5834: checking for --enable-propsheet" >&5
5835 # Check whether --enable-propsheet or --disable-propsheet was given.
5836 if test "${enable_propsheet+set}" = set; then
5837 enableval
="$enable_propsheet"
5839 if test "$enableval" = yes; then
5840 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5842 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5847 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x
; then
5849 eval "DEFAULT_$LINE"
5854 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5859 eval "$ac_cv_use_propsheet"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5864 if test "$wxUSE_PROPSHEET" = yes; then
5865 echo "$ac_t""yes" 1>&6
5867 echo "$ac_t""no" 1>&6
5871 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5872 echo "configure:5873: checking for --enable-radiobox" >&5
5874 # Check whether --enable-radiobox or --disable-radiobox was given.
5875 if test "${enable_radiobox+set}" = set; then
5876 enableval
="$enable_radiobox"
5878 if test "$enableval" = yes; then
5879 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5881 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5886 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5887 if test "x$LINE" != x
; then
5888 eval "DEFAULT_$LINE"
5893 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5898 eval "$ac_cv_use_radiobox"
5899 if test "$no_cache" != 1; then
5900 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5903 if test "$wxUSE_RADIOBOX" = yes; then
5904 echo "$ac_t""yes" 1>&6
5906 echo "$ac_t""no" 1>&6
5910 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5911 echo "configure:5912: checking for --enable-radiobtn" >&5
5913 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5914 if test "${enable_radiobtn+set}" = set; then
5915 enableval
="$enable_radiobtn"
5917 if test "$enableval" = yes; then
5918 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5920 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5925 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x
; then
5927 eval "DEFAULT_$LINE"
5932 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5937 eval "$ac_cv_use_radiobtn"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_RADIOBTN" = yes; then
5943 echo "$ac_t""yes" 1>&6
5945 echo "$ac_t""no" 1>&6
5949 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5950 echo "configure:5951: checking for --enable-sash" >&5
5952 # Check whether --enable-sash or --disable-sash was given.
5953 if test "${enable_sash+set}" = set; then
5954 enableval
="$enable_sash"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sash
='wxUSE_SASH=yes'
5959 ac_cv_use_sash
='wxUSE_SASH=no'
5964 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5976 eval "$ac_cv_use_sash"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_SASH" = yes; then
5982 echo "$ac_t""yes" 1>&6
5984 echo "$ac_t""no" 1>&6
5988 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5989 echo "configure:5990: checking for --enable-scrollbar" >&5
5991 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5992 if test "${enable_scrollbar+set}" = set; then
5993 enableval
="$enable_scrollbar"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5998 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6003 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x
; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6015 eval "$ac_cv_use_scrollbar"
6016 if test "$no_cache" != 1; then
6017 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6020 if test "$wxUSE_SCROLLBAR" = yes; then
6021 echo "$ac_t""yes" 1>&6
6023 echo "$ac_t""no" 1>&6
6027 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6028 echo "configure:6029: checking for --enable-slider" >&5
6030 # Check whether --enable-slider or --disable-slider was given.
6031 if test "${enable_slider+set}" = set; then
6032 enableval
="$enable_slider"
6034 if test "$enableval" = yes; then
6035 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6037 ac_cv_use_slider
='wxUSE_SLIDER=no'
6042 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6043 if test "x$LINE" != x
; then
6044 eval "DEFAULT_$LINE"
6049 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6054 eval "$ac_cv_use_slider"
6055 if test "$no_cache" != 1; then
6056 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6059 if test "$wxUSE_SLIDER" = yes; then
6060 echo "$ac_t""yes" 1>&6
6062 echo "$ac_t""no" 1>&6
6066 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6067 echo "configure:6068: checking for --enable-spinbtn" >&5
6069 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6070 if test "${enable_spinbtn+set}" = set; then
6071 enableval
="$enable_spinbtn"
6073 if test "$enableval" = yes; then
6074 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6076 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6081 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x
; then
6083 eval "DEFAULT_$LINE"
6088 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6093 eval "$ac_cv_use_spinbtn"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_SPINBTN" = yes; then
6099 echo "$ac_t""yes" 1>&6
6101 echo "$ac_t""no" 1>&6
6105 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6106 echo "configure:6107: checking for --enable-spinctrl" >&5
6108 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6109 if test "${enable_spinctrl+set}" = set; then
6110 enableval
="$enable_spinctrl"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6115 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6120 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x
; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6132 eval "$ac_cv_use_spinctrl"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_SPINCTRL" = yes; then
6138 echo "$ac_t""yes" 1>&6
6140 echo "$ac_t""no" 1>&6
6144 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6145 echo "configure:6146: checking for --enable-splitter" >&5
6147 # Check whether --enable-splitter or --disable-splitter was given.
6148 if test "${enable_splitter+set}" = set; then
6149 enableval
="$enable_splitter"
6151 if test "$enableval" = yes; then
6152 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6154 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6159 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x
; then
6161 eval "DEFAULT_$LINE"
6166 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6171 eval "$ac_cv_use_splitter"
6172 if test "$no_cache" != 1; then
6173 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6176 if test "$wxUSE_SPLITTER" = yes; then
6177 echo "$ac_t""yes" 1>&6
6179 echo "$ac_t""no" 1>&6
6183 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6184 echo "configure:6185: checking for --enable-statbmp" >&5
6186 # Check whether --enable-statbmp or --disable-statbmp was given.
6187 if test "${enable_statbmp+set}" = set; then
6188 enableval
="$enable_statbmp"
6190 if test "$enableval" = yes; then
6191 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6193 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6198 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x
; then
6200 eval "DEFAULT_$LINE"
6205 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6210 eval "$ac_cv_use_statbmp"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6215 if test "$wxUSE_STATBMP" = yes; then
6216 echo "$ac_t""yes" 1>&6
6218 echo "$ac_t""no" 1>&6
6222 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6223 echo "configure:6224: checking for --enable-statbox" >&5
6225 # Check whether --enable-statbox or --disable-statbox was given.
6226 if test "${enable_statbox+set}" = set; then
6227 enableval
="$enable_statbox"
6229 if test "$enableval" = yes; then
6230 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6232 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6237 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x
; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6249 eval "$ac_cv_use_statbox"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6254 if test "$wxUSE_STATBOX" = yes; then
6255 echo "$ac_t""yes" 1>&6
6257 echo "$ac_t""no" 1>&6
6261 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6262 echo "configure:6263: checking for --enable-statline" >&5
6264 # Check whether --enable-statline or --disable-statline was given.
6265 if test "${enable_statline+set}" = set; then
6266 enableval
="$enable_statline"
6268 if test "$enableval" = yes; then
6269 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6271 ac_cv_use_statline
='wxUSE_STATLINE=no'
6276 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x
; then
6278 eval "DEFAULT_$LINE"
6283 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6288 eval "$ac_cv_use_statline"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6293 if test "$wxUSE_STATLINE" = yes; then
6294 echo "$ac_t""yes" 1>&6
6296 echo "$ac_t""no" 1>&6
6300 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6301 echo "configure:6302: checking for --enable-stattext" >&5
6303 # Check whether --enable-stattext or --disable-stattext was given.
6304 if test "${enable_stattext+set}" = set; then
6305 enableval
="$enable_stattext"
6307 if test "$enableval" = yes; then
6308 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6310 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6315 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x
; then
6317 eval "DEFAULT_$LINE"
6322 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6327 eval "$ac_cv_use_stattext"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_STATTEXT" = yes; then
6333 echo "$ac_t""yes" 1>&6
6335 echo "$ac_t""no" 1>&6
6339 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6340 echo "configure:6341: checking for --enable-statusbar" >&5
6342 # Check whether --enable-statusbar or --disable-statusbar was given.
6343 if test "${enable_statusbar+set}" = set; then
6344 enableval
="$enable_statusbar"
6346 if test "$enableval" = yes; then
6347 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6349 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6354 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x
; then
6356 eval "DEFAULT_$LINE"
6361 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6366 eval "$ac_cv_use_statusbar"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_STATUSBAR" = yes; then
6372 echo "$ac_t""yes" 1>&6
6374 echo "$ac_t""no" 1>&6
6378 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6379 echo "configure:6380: checking for --enable-tabdialog" >&5
6381 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6382 if test "${enable_tabdialog+set}" = set; then
6383 enableval
="$enable_tabdialog"
6385 if test "$enableval" = yes; then
6386 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6388 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6393 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x
; then
6395 eval "DEFAULT_$LINE"
6400 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6405 eval "$ac_cv_use_tabdialog"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6410 if test "$wxUSE_TABDIALOG" = yes; then
6411 echo "$ac_t""yes" 1>&6
6413 echo "$ac_t""no" 1>&6
6417 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6418 echo "configure:6419: checking for --enable-textctrl" >&5
6420 # Check whether --enable-textctrl or --disable-textctrl was given.
6421 if test "${enable_textctrl+set}" = set; then
6422 enableval
="$enable_textctrl"
6424 if test "$enableval" = yes; then
6425 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6427 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6432 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x
; then
6434 eval "DEFAULT_$LINE"
6439 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6444 eval "$ac_cv_use_textctrl"
6445 if test "$no_cache" != 1; then
6446 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6449 if test "$wxUSE_TEXTCTRL" = yes; then
6450 echo "$ac_t""yes" 1>&6
6452 echo "$ac_t""no" 1>&6
6456 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6457 echo "configure:6458: checking for --enable-togglebtn" >&5
6459 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6460 if test "${enable_togglebtn+set}" = set; then
6461 enableval
="$enable_togglebtn"
6463 if test "$enableval" = yes; then
6464 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6466 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6471 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6472 if test "x$LINE" != x
; then
6473 eval "DEFAULT_$LINE"
6478 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6483 eval "$ac_cv_use_togglebtn"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6488 if test "$wxUSE_TOGGLEBTN" = yes; then
6489 echo "$ac_t""yes" 1>&6
6491 echo "$ac_t""no" 1>&6
6495 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6496 echo "configure:6497: checking for --enable-toolbar" >&5
6498 # Check whether --enable-toolbar or --disable-toolbar was given.
6499 if test "${enable_toolbar+set}" = set; then
6500 enableval
="$enable_toolbar"
6502 if test "$enableval" = yes; then
6503 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6505 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6510 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6511 if test "x$LINE" != x
; then
6512 eval "DEFAULT_$LINE"
6517 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6522 eval "$ac_cv_use_toolbar"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6527 if test "$wxUSE_TOOLBAR" = yes; then
6528 echo "$ac_t""yes" 1>&6
6530 echo "$ac_t""no" 1>&6
6534 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6535 echo "configure:6536: checking for --enable-tbarnative" >&5
6537 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6538 if test "${enable_tbarnative+set}" = set; then
6539 enableval
="$enable_tbarnative"
6541 if test "$enableval" = yes; then
6542 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6544 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6549 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6550 if test "x$LINE" != x
; then
6551 eval "DEFAULT_$LINE"
6556 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6561 eval "$ac_cv_use_tbarnative"
6562 if test "$no_cache" != 1; then
6563 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6566 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6567 echo "$ac_t""yes" 1>&6
6569 echo "$ac_t""no" 1>&6
6573 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6574 echo "configure:6575: checking for --enable-tbarsmpl" >&5
6576 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6577 if test "${enable_tbarsmpl+set}" = set; then
6578 enableval
="$enable_tbarsmpl"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6583 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6588 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6600 eval "$ac_cv_use_tbarsmpl"
6601 if test "$no_cache" != 1; then
6602 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6605 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6606 echo "$ac_t""yes" 1>&6
6608 echo "$ac_t""no" 1>&6
6612 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6613 echo "configure:6614: checking for --enable-treectrl" >&5
6615 # Check whether --enable-treectrl or --disable-treectrl was given.
6616 if test "${enable_treectrl+set}" = set; then
6617 enableval
="$enable_treectrl"
6619 if test "$enableval" = yes; then
6620 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6622 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6627 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x
; then
6629 eval "DEFAULT_$LINE"
6634 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6639 eval "$ac_cv_use_treectrl"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_TREECTRL" = yes; then
6645 echo "$ac_t""yes" 1>&6
6647 echo "$ac_t""no" 1>&6
6651 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6652 echo "configure:6653: checking for --enable-popupwin" >&5
6654 # Check whether --enable-popupwin or --disable-popupwin was given.
6655 if test "${enable_popupwin+set}" = set; then
6656 enableval
="$enable_popupwin"
6658 if test "$enableval" = yes; then
6659 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6661 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6666 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x
; then
6668 eval "DEFAULT_$LINE"
6673 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6678 eval "$ac_cv_use_popupwin"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_POPUPWIN" = yes; then
6684 echo "$ac_t""yes" 1>&6
6686 echo "$ac_t""no" 1>&6
6692 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6693 echo "configure:6694: checking for --enable-commondlg" >&5
6695 # Check whether --enable-commondlg or --disable-commondlg was given.
6696 if test "${enable_commondlg+set}" = set; then
6697 enableval
="$enable_commondlg"
6699 if test "$enableval" = yes; then
6700 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6702 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6707 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x
; then
6709 eval "DEFAULT_$LINE"
6714 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6719 eval "$ac_cv_use_commondlg"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_COMMONDLGS" = yes; then
6725 echo "$ac_t""yes" 1>&6
6727 echo "$ac_t""no" 1>&6
6731 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6732 echo "configure:6733: checking for --enable-choicedlg" >&5
6734 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6735 if test "${enable_choicedlg+set}" = set; then
6736 enableval
="$enable_choicedlg"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6741 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6746 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6758 eval "$ac_cv_use_choicedlg"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6763 if test "$wxUSE_CHOICEDLG" = yes; then
6764 echo "$ac_t""yes" 1>&6
6766 echo "$ac_t""no" 1>&6
6770 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6771 echo "configure:6772: checking for --enable-coldlg" >&5
6773 # Check whether --enable-coldlg or --disable-coldlg was given.
6774 if test "${enable_coldlg+set}" = set; then
6775 enableval
="$enable_coldlg"
6777 if test "$enableval" = yes; then
6778 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6780 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6785 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6786 if test "x$LINE" != x
; then
6787 eval "DEFAULT_$LINE"
6792 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6797 eval "$ac_cv_use_coldlg"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6802 if test "$wxUSE_COLOURDLG" = yes; then
6803 echo "$ac_t""yes" 1>&6
6805 echo "$ac_t""no" 1>&6
6809 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6810 echo "configure:6811: checking for --enable-filedlg" >&5
6812 # Check whether --enable-filedlg or --disable-filedlg was given.
6813 if test "${enable_filedlg+set}" = set; then
6814 enableval
="$enable_filedlg"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6819 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6824 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x
; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6836 eval "$ac_cv_use_filedlg"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_FILEDLG" = yes; then
6842 echo "$ac_t""yes" 1>&6
6844 echo "$ac_t""no" 1>&6
6848 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6849 echo "configure:6850: checking for --enable-filedlg" >&5
6851 # Check whether --enable-filedlg or --disable-filedlg was given.
6852 if test "${enable_filedlg+set}" = set; then
6853 enableval
="$enable_filedlg"
6855 if test "$enableval" = yes; then
6856 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6858 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6863 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x
; then
6865 eval "DEFAULT_$LINE"
6870 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6875 eval "$ac_cv_use_filedlg"
6876 if test "$no_cache" != 1; then
6877 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6880 if test "$wxUSE_FINDREPLDLG" = yes; then
6881 echo "$ac_t""yes" 1>&6
6883 echo "$ac_t""no" 1>&6
6887 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6888 echo "configure:6889: checking for --enable-fontdlg" >&5
6890 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6891 if test "${enable_fontdlg+set}" = set; then
6892 enableval
="$enable_fontdlg"
6894 if test "$enableval" = yes; then
6895 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6897 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6902 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6903 if test "x$LINE" != x
; then
6904 eval "DEFAULT_$LINE"
6909 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6914 eval "$ac_cv_use_fontdlg"
6915 if test "$no_cache" != 1; then
6916 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6919 if test "$wxUSE_FONTDLG" = yes; then
6920 echo "$ac_t""yes" 1>&6
6922 echo "$ac_t""no" 1>&6
6926 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6927 echo "configure:6928: checking for --enable-dirdlg" >&5
6929 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6930 if test "${enable_dirdlg+set}" = set; then
6931 enableval
="$enable_dirdlg"
6933 if test "$enableval" = yes; then
6934 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6936 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6941 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x
; then
6943 eval "DEFAULT_$LINE"
6948 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6953 eval "$ac_cv_use_dirdlg"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6958 if test "$wxUSE_DIRDLG" = yes; then
6959 echo "$ac_t""yes" 1>&6
6961 echo "$ac_t""no" 1>&6
6965 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6966 echo "configure:6967: checking for --enable-msgdlg" >&5
6968 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6969 if test "${enable_msgdlg+set}" = set; then
6970 enableval
="$enable_msgdlg"
6972 if test "$enableval" = yes; then
6973 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6975 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6980 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x
; then
6982 eval "DEFAULT_$LINE"
6987 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6992 eval "$ac_cv_use_msgdlg"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_MSGDLG" = yes; then
6998 echo "$ac_t""yes" 1>&6
7000 echo "$ac_t""no" 1>&6
7004 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7005 echo "configure:7006: checking for --enable-numberdlg" >&5
7007 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7008 if test "${enable_numberdlg+set}" = set; then
7009 enableval
="$enable_numberdlg"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7014 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7019 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7031 eval "$ac_cv_use_numberdlg"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_NUMBERDLG" = yes; then
7037 echo "$ac_t""yes" 1>&6
7039 echo "$ac_t""no" 1>&6
7043 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7044 echo "configure:7045: checking for --enable-splash" >&5
7046 # Check whether --enable-splash or --disable-splash was given.
7047 if test "${enable_splash+set}" = set; then
7048 enableval
="$enable_splash"
7050 if test "$enableval" = yes; then
7051 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7053 ac_cv_use_splash
='wxUSE_SPLASH=no'
7058 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7059 if test "x$LINE" != x
; then
7060 eval "DEFAULT_$LINE"
7065 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7070 eval "$ac_cv_use_splash"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7075 if test "$wxUSE_SPLASH" = yes; then
7076 echo "$ac_t""yes" 1>&6
7078 echo "$ac_t""no" 1>&6
7082 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7083 echo "configure:7084: checking for --enable-textdlg" >&5
7085 # Check whether --enable-textdlg or --disable-textdlg was given.
7086 if test "${enable_textdlg+set}" = set; then
7087 enableval
="$enable_textdlg"
7089 if test "$enableval" = yes; then
7090 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7092 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7097 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7098 if test "x$LINE" != x
; then
7099 eval "DEFAULT_$LINE"
7104 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7109 eval "$ac_cv_use_textdlg"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7114 if test "$wxUSE_TEXTDLG" = yes; then
7115 echo "$ac_t""yes" 1>&6
7117 echo "$ac_t""no" 1>&6
7121 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7122 echo "configure:7123: checking for --enable-tipdlg" >&5
7124 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7125 if test "${enable_tipdlg+set}" = set; then
7126 enableval
="$enable_tipdlg"
7128 if test "$enableval" = yes; then
7129 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7131 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7136 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x
; then
7138 eval "DEFAULT_$LINE"
7143 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7148 eval "$ac_cv_use_tipdlg"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7153 if test "$wxUSE_STARTUP_TIPS" = yes; then
7154 echo "$ac_t""yes" 1>&6
7156 echo "$ac_t""no" 1>&6
7160 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7161 echo "configure:7162: checking for --enable-progressdlg" >&5
7163 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7164 if test "${enable_progressdlg+set}" = set; then
7165 enableval
="$enable_progressdlg"
7167 if test "$enableval" = yes; then
7168 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7170 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7175 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x
; then
7177 eval "DEFAULT_$LINE"
7182 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7187 eval "$ac_cv_use_progressdlg"
7188 if test "$no_cache" != 1; then
7189 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7192 if test "$wxUSE_PROGRESSDLG" = yes; then
7193 echo "$ac_t""yes" 1>&6
7195 echo "$ac_t""no" 1>&6
7199 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7200 echo "configure:7201: checking for --enable-wizarddlg" >&5
7202 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7203 if test "${enable_wizarddlg+set}" = set; then
7204 enableval
="$enable_wizarddlg"
7206 if test "$enableval" = yes; then
7207 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7209 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7214 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x
; then
7216 eval "DEFAULT_$LINE"
7221 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7226 eval "$ac_cv_use_wizarddlg"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7231 if test "$wxUSE_WIZARDDLG" = yes; then
7232 echo "$ac_t""yes" 1>&6
7234 echo "$ac_t""no" 1>&6
7240 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7241 echo "configure:7242: checking for --enable-menus" >&5
7243 # Check whether --enable-menus or --disable-menus was given.
7244 if test "${enable_menus+set}" = set; then
7245 enableval
="$enable_menus"
7247 if test "$enableval" = yes; then
7248 ac_cv_use_menus
='wxUSE_MENUS=yes'
7250 ac_cv_use_menus
='wxUSE_MENUS=no'
7255 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x
; then
7257 eval "DEFAULT_$LINE"
7262 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7267 eval "$ac_cv_use_menus"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7272 if test "$wxUSE_MENUS" = yes; then
7273 echo "$ac_t""yes" 1>&6
7275 echo "$ac_t""no" 1>&6
7279 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7280 echo "configure:7281: checking for --enable-miniframe" >&5
7282 # Check whether --enable-miniframe or --disable-miniframe was given.
7283 if test "${enable_miniframe+set}" = set; then
7284 enableval
="$enable_miniframe"
7286 if test "$enableval" = yes; then
7287 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7289 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7294 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x
; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7306 eval "$ac_cv_use_miniframe"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_MINIFRAME" = yes; then
7312 echo "$ac_t""yes" 1>&6
7314 echo "$ac_t""no" 1>&6
7318 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7319 echo "configure:7320: checking for --enable-tooltips" >&5
7321 # Check whether --enable-tooltips or --disable-tooltips was given.
7322 if test "${enable_tooltips+set}" = set; then
7323 enableval
="$enable_tooltips"
7325 if test "$enableval" = yes; then
7326 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7328 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7333 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x
; then
7335 eval "DEFAULT_$LINE"
7340 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7345 eval "$ac_cv_use_tooltips"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_TOOLTIPS" = yes; then
7351 echo "$ac_t""yes" 1>&6
7353 echo "$ac_t""no" 1>&6
7357 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7358 echo "configure:7359: checking for --enable-splines" >&5
7360 # Check whether --enable-splines or --disable-splines was given.
7361 if test "${enable_splines+set}" = set; then
7362 enableval
="$enable_splines"
7364 if test "$enableval" = yes; then
7365 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7367 ac_cv_use_splines
='wxUSE_SPLINES=no'
7372 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x
; then
7374 eval "DEFAULT_$LINE"
7379 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7384 eval "$ac_cv_use_splines"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7389 if test "$wxUSE_SPLINES" = yes; then
7390 echo "$ac_t""yes" 1>&6
7392 echo "$ac_t""no" 1>&6
7396 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7397 echo "configure:7398: checking for --enable-validators" >&5
7399 # Check whether --enable-validators or --disable-validators was given.
7400 if test "${enable_validators+set}" = set; then
7401 enableval
="$enable_validators"
7403 if test "$enableval" = yes; then
7404 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7406 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7411 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x
; then
7413 eval "DEFAULT_$LINE"
7418 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7423 eval "$ac_cv_use_validators"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7428 if test "$wxUSE_VALIDATORS" = yes; then
7429 echo "$ac_t""yes" 1>&6
7431 echo "$ac_t""no" 1>&6
7435 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7436 echo "configure:7437: checking for --enable-busyinfo" >&5
7438 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7439 if test "${enable_busyinfo+set}" = set; then
7440 enableval
="$enable_busyinfo"
7442 if test "$enableval" = yes; then
7443 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7445 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7450 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7451 if test "x$LINE" != x
; then
7452 eval "DEFAULT_$LINE"
7457 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7462 eval "$ac_cv_use_busyinfo"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7467 if test "$wxUSE_BUSYINFO" = yes; then
7468 echo "$ac_t""yes" 1>&6
7470 echo "$ac_t""no" 1>&6
7474 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7475 echo "configure:7476: checking for --enable-joystick" >&5
7477 # Check whether --enable-joystick or --disable-joystick was given.
7478 if test "${enable_joystick+set}" = set; then
7479 enableval
="$enable_joystick"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7484 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7489 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7501 eval "$ac_cv_use_joystick"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7506 if test "$wxUSE_JOYSTICK" = yes; then
7507 echo "$ac_t""yes" 1>&6
7509 echo "$ac_t""no" 1>&6
7513 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7514 echo "configure:7515: checking for --enable-metafile" >&5
7516 # Check whether --enable-metafile or --disable-metafile was given.
7517 if test "${enable_metafile+set}" = set; then
7518 enableval
="$enable_metafile"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7523 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7528 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x
; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7540 eval "$ac_cv_use_metafile"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7545 if test "$wxUSE_METAFILE" = yes; then
7546 echo "$ac_t""yes" 1>&6
7548 echo "$ac_t""no" 1>&6
7552 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7553 echo "configure:7554: checking for --enable-dragimage" >&5
7555 # Check whether --enable-dragimage or --disable-dragimage was given.
7556 if test "${enable_dragimage+set}" = set; then
7557 enableval
="$enable_dragimage"
7559 if test "$enableval" = yes; then
7560 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7562 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7567 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x
; then
7569 eval "DEFAULT_$LINE"
7574 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7579 eval "$ac_cv_use_dragimage"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_DRAGIMAGE" = yes; then
7585 echo "$ac_t""yes" 1>&6
7587 echo "$ac_t""no" 1>&6
7593 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7594 echo "configure:7595: checking for --enable-palette" >&5
7596 # Check whether --enable-palette or --disable-palette was given.
7597 if test "${enable_palette+set}" = set; then
7598 enableval
="$enable_palette"
7600 if test "$enableval" = yes; then
7601 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7603 ac_cv_use_palette
='wxUSE_PALETTE=no'
7608 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x
; then
7610 eval "DEFAULT_$LINE"
7615 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7620 eval "$ac_cv_use_palette"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_PALETTE" = yes; then
7626 echo "$ac_t""yes" 1>&6
7628 echo "$ac_t""no" 1>&6
7632 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7633 echo "configure:7634: checking for --enable-image" >&5
7635 # Check whether --enable-image or --disable-image was given.
7636 if test "${enable_image+set}" = set; then
7637 enableval
="$enable_image"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_image
='wxUSE_IMAGE=yes'
7642 ac_cv_use_image
='wxUSE_IMAGE=no'
7647 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x
; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7659 eval "$ac_cv_use_image"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_IMAGE" = yes; then
7665 echo "$ac_t""yes" 1>&6
7667 echo "$ac_t""no" 1>&6
7671 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7672 echo "configure:7673: checking for --enable-gif" >&5
7674 # Check whether --enable-gif or --disable-gif was given.
7675 if test "${enable_gif+set}" = set; then
7676 enableval
="$enable_gif"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_gif
='wxUSE_GIF=yes'
7681 ac_cv_use_gif
='wxUSE_GIF=no'
7686 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x
; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7698 eval "$ac_cv_use_gif"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_GIF" = yes; then
7704 echo "$ac_t""yes" 1>&6
7706 echo "$ac_t""no" 1>&6
7710 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7711 echo "configure:7712: checking for --enable-pcx" >&5
7713 # Check whether --enable-pcx or --disable-pcx was given.
7714 if test "${enable_pcx+set}" = set; then
7715 enableval
="$enable_pcx"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_pcx
='wxUSE_PCX=yes'
7720 ac_cv_use_pcx
='wxUSE_PCX=no'
7725 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7737 eval "$ac_cv_use_pcx"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7742 if test "$wxUSE_PCX" = yes; then
7743 echo "$ac_t""yes" 1>&6
7745 echo "$ac_t""no" 1>&6
7749 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7750 echo "configure:7751: checking for --enable-pnm" >&5
7752 # Check whether --enable-pnm or --disable-pnm was given.
7753 if test "${enable_pnm+set}" = set; then
7754 enableval
="$enable_pnm"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_pnm
='wxUSE_PNM=yes'
7759 ac_cv_use_pnm
='wxUSE_PNM=no'
7764 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7776 eval "$ac_cv_use_pnm"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_PNM" = yes; then
7782 echo "$ac_t""yes" 1>&6
7784 echo "$ac_t""no" 1>&6
7788 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7789 echo "configure:7790: checking for --enable-pnm" >&5
7791 # Check whether --enable-pnm or --disable-pnm was given.
7792 if test "${enable_pnm+set}" = set; then
7793 enableval
="$enable_pnm"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_pnm
='wxUSE_XPM=yes'
7798 ac_cv_use_pnm
='wxUSE_XPM=no'
7803 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7815 eval "$ac_cv_use_pnm"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_XPM" = yes; then
7821 echo "$ac_t""yes" 1>&6
7823 echo "$ac_t""no" 1>&6
7830 echo "saving argument cache $wx_arg_cache_file"
7831 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7835 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7836 echo "configure:7837: checking for toolkit" >&5
7838 if test "$wxUSE_GUI" = "yes"; then
7840 if test "$USE_BEOS" = 1; then
7841 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7844 if test "$TOOLKIT_GIVEN" = 1; then
7845 for toolkit
in `echo $ALL_TOOLKITS`; do
7847 eval "value=\$${var}"
7848 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7851 for toolkit
in `echo $ALL_TOOLKITS`; do
7852 if test "$has_toolkit_in_cache" != 1; then
7853 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7855 var
=DEFAULT_wxUSE_
$toolkit
7857 eval "wxUSE_$toolkit=\$${var}"
7861 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7862 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7865 *-pc-os2_emx | *-pc-os2-emx )
7866 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7867 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7876 case "$NUM_TOOLKITS" in
7880 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7883 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7886 for toolkit
in `echo $ALL_TOOLKITS`; do
7888 eval "value=\$${var}"
7889 if test "x$value" != x
; then
7890 cache_var
=CACHE_
$toolkit
7891 eval "cache=\$${cache_var}"
7892 if test "$cache" = 1; then
7893 echo "$var=$value" >> ${wx_arg_cache_file}
7895 if test "$value" = 1; then
7896 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7897 echo "$ac_t""$toolkit_echo" 1>&6
7903 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7907 cat > confcache
<<\EOF
7908 # This file is a shell script that caches the results of configure
7909 # tests run on this system so they can be shared between configure
7910 # scripts and configure runs. It is not useful on other systems.
7911 # If it contains results you don't want to keep, you may remove or edit it.
7913 # By default, configure uses ./config.cache as the cache file,
7914 # creating it if it does not exist already. You can give configure
7915 # the --cache-file=FILE option to use a different cache file; that is
7916 # what configure does when it calls configure scripts in
7917 # subdirectories, so they share the cache.
7918 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7919 # config.status only pays attention to the cache file if you give it the
7920 # --recheck option to rerun configure.
7923 # The following way of writing the cache mishandles newlines in values,
7924 # but we know of no workaround that is simple, portable, and efficient.
7925 # So, don't put newlines in cache variables' values.
7926 # Ultrix sh set writes to stderr and can't be redirected directly,
7927 # and sets the high bit in the cache file unless we assign to the vars.
7929 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7931 # `set' does not quote correctly, so add quotes (double-quote substitution
7932 # turns \\\\ into \\, and sed turns \\ into \).
7934 -e "s/'/'\\\\''/g" \
7935 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7938 # `set' quotes correctly as required by POSIX, so do not add quotes.
7939 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7942 if cmp -s $cache_file confcache
; then
7945 if test -w $cache_file; then
7946 echo "updating cache $cache_file"
7947 cat confcache
> $cache_file
7949 echo "not updating unwritable cache $cache_file"
7955 if test "$build" != "$host" ; then
7956 if test "$USE_WIN32" = 1 ; then
7960 RANLIB
=$host_alias-ranlib
7961 DLLTOOL
=$host_alias-dlltool
7962 RESCOMP
=$host_alias-windres
7965 STRIP
=$host_alias-strip
7967 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7971 # Extract the first word of "gcc", so it can be a program name with args.
7972 set dummy gcc
; ac_word
=$2
7973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7974 echo "configure:7975: checking for $ac_word" >&5
7975 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7976 echo $ac_n "(cached) $ac_c" 1>&6
7978 if test -n "$CC"; then
7979 ac_cv_prog_CC
="$CC" # Let the user override the test.
7981 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7983 for ac_dir
in $ac_dummy; do
7984 test -z "$ac_dir" && ac_dir
=.
7985 if test -f $ac_dir/$ac_word; then
7994 if test -n "$CC"; then
7995 echo "$ac_t""$CC" 1>&6
7997 echo "$ac_t""no" 1>&6
8000 if test -z "$CC"; then
8001 # Extract the first word of "cc", so it can be a program name with args.
8002 set dummy cc
; ac_word
=$2
8003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8004 echo "configure:8005: checking for $ac_word" >&5
8005 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8006 echo $ac_n "(cached) $ac_c" 1>&6
8008 if test -n "$CC"; then
8009 ac_cv_prog_CC
="$CC" # Let the user override the test.
8011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8014 for ac_dir
in $ac_dummy; do
8015 test -z "$ac_dir" && ac_dir
=.
8016 if test -f $ac_dir/$ac_word; then
8017 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8018 ac_prog_rejected
=yes
8026 if test $ac_prog_rejected = yes; then
8027 # We found a bogon in the path, so make sure we never use it.
8028 set dummy
$ac_cv_prog_CC
8030 if test $# -gt 0; then
8031 # We chose a different compiler from the bogus one.
8032 # However, it has the same basename, so the bogon will be chosen
8033 # first if we set CC to just the basename; use the full file name.
8035 set dummy
"$ac_dir/$ac_word" "$@"
8043 if test -n "$CC"; then
8044 echo "$ac_t""$CC" 1>&6
8046 echo "$ac_t""no" 1>&6
8049 if test -z "$CC"; then
8050 case "`uname -s`" in
8052 # Extract the first word of "cl", so it can be a program name with args.
8053 set dummy cl
; ac_word
=$2
8054 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8055 echo "configure:8056: checking for $ac_word" >&5
8056 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8057 echo $ac_n "(cached) $ac_c" 1>&6
8059 if test -n "$CC"; then
8060 ac_cv_prog_CC
="$CC" # Let the user override the test.
8062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8064 for ac_dir
in $ac_dummy; do
8065 test -z "$ac_dir" && ac_dir
=.
8066 if test -f $ac_dir/$ac_word; then
8075 if test -n "$CC"; then
8076 echo "$ac_t""$CC" 1>&6
8078 echo "$ac_t""no" 1>&6
8083 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8086 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8087 echo "configure:8088: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8091 ac_cpp
='$CPP $CPPFLAGS'
8092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8094 cross_compiling
=$ac_cv_prog_cc_cross
8096 cat > conftest.
$ac_ext << EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8103 if { (eval echo configure
:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8104 ac_cv_prog_cc_works
=yes
8105 # If we can't run a trivial program, we are probably using a cross compiler.
8106 if (.
/conftest
; exit) 2>/dev
/null
; then
8107 ac_cv_prog_cc_cross
=no
8109 ac_cv_prog_cc_cross
=yes
8112 echo "configure: failed program was:" >&5
8113 cat conftest.
$ac_ext >&5
8114 ac_cv_prog_cc_works
=no
8118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8119 ac_cpp
='$CPP $CPPFLAGS'
8120 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8121 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8122 cross_compiling
=$ac_cv_prog_cc_cross
8124 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8125 if test $ac_cv_prog_cc_works = no
; then
8126 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8128 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8129 echo "configure:8130: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8130 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8131 cross_compiling
=$ac_cv_prog_cc_cross
8133 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8134 echo "configure:8135: checking whether we are using GNU C" >&5
8135 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8136 echo $ac_n "(cached) $ac_c" 1>&6
8138 cat > conftest.c
<<EOF
8143 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8150 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8152 if test $ac_cv_prog_gcc = yes; then
8158 ac_test_CFLAGS
="${CFLAGS+set}"
8159 ac_save_CFLAGS
="$CFLAGS"
8161 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8162 echo "configure:8163: checking whether ${CC-cc} accepts -g" >&5
8163 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8164 echo $ac_n "(cached) $ac_c" 1>&6
8166 echo 'void f(){}' > conftest.c
8167 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8176 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8177 if test "$ac_test_CFLAGS" = set; then
8178 CFLAGS
="$ac_save_CFLAGS"
8179 elif test $ac_cv_prog_cc_g = yes; then
8180 if test "$GCC" = yes; then
8186 if test "$GCC" = yes; then
8194 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8196 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8197 echo "configure:8198: checking how to run the C preprocessor" >&5
8198 # On Suns, sometimes $CPP names a directory.
8199 if test -n "$CPP" && test -d "$CPP"; then
8202 if test -z "$CPP"; then
8203 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8204 echo $ac_n "(cached) $ac_c" 1>&6
8206 # This must be in double quotes, not single quotes, because CPP may get
8207 # substituted into the Makefile and "${CC-cc}" will confuse make.
8209 # On the NeXT, cc -E runs the code through the compiler's parser,
8210 # not just through cpp.
8211 cat > conftest.
$ac_ext <<EOF
8212 #line 8213 "configure"
8213 #include "confdefs.h"
8217 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8218 { (eval echo configure
:8219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8219 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8220 if test -z "$ac_err"; then
8224 echo "configure: failed program was:" >&5
8225 cat conftest.
$ac_ext >&5
8227 CPP
="${CC-cc} -E -traditional-cpp"
8228 cat > conftest.
$ac_ext <<EOF
8229 #line 8230 "configure"
8230 #include "confdefs.h"
8234 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8235 { (eval echo configure
:8236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8236 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8237 if test -z "$ac_err"; then
8241 echo "configure: failed program was:" >&5
8242 cat conftest.
$ac_ext >&5
8244 CPP
="${CC-cc} -nologo -E"
8245 cat > conftest.
$ac_ext <<EOF
8246 #line 8247 "configure"
8247 #include "confdefs.h"
8251 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8252 { (eval echo configure
:8253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8253 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8254 if test -z "$ac_err"; then
8258 echo "configure: failed program was:" >&5
8259 cat conftest.
$ac_ext >&5
8268 ac_cv_prog_CPP
="$CPP"
8270 CPP
="$ac_cv_prog_CPP"
8272 ac_cv_prog_CPP
="$CPP"
8274 echo "$ac_t""$CPP" 1>&6
8276 if test $ac_cv_prog_gcc = yes; then
8277 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8278 echo "configure:8279: checking whether ${CC-cc} needs -traditional" >&5
8279 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8280 echo $ac_n "(cached) $ac_c" 1>&6
8282 ac_pattern
="Autoconf.*'x'"
8283 cat > conftest.
$ac_ext <<EOF
8284 #line 8285 "configure"
8285 #include "confdefs.h"
8289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8290 egrep "$ac_pattern" >/dev
/null
2>&1; then
8292 ac_cv_prog_gcc_traditional
=yes
8295 ac_cv_prog_gcc_traditional
=no
8300 if test $ac_cv_prog_gcc_traditional = no
; then
8301 cat > conftest.
$ac_ext <<EOF
8302 #line 8303 "configure"
8303 #include "confdefs.h"
8307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8308 egrep "$ac_pattern" >/dev
/null
2>&1; then
8310 ac_cv_prog_gcc_traditional
=yes
8317 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8318 if test $ac_cv_prog_gcc_traditional = yes; then
8319 CC
="$CC -traditional"
8326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8327 ac_cpp
='$CXXCPP $CPPFLAGS'
8328 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8329 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8330 cross_compiling
=$ac_cv_prog_cxx_cross
8333 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8335 # Extract the first word of "$ac_prog", so it can be a program name with args.
8336 set dummy
$ac_prog; ac_word
=$2
8337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8338 echo "configure:8339: checking for $ac_word" >&5
8339 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8340 echo $ac_n "(cached) $ac_c" 1>&6
8342 if test -n "$CXX"; then
8343 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8345 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8347 for ac_dir
in $ac_dummy; do
8348 test -z "$ac_dir" && ac_dir
=.
8349 if test -f $ac_dir/$ac_word; then
8350 ac_cv_prog_CXX
="$ac_prog"
8357 CXX
="$ac_cv_prog_CXX"
8358 if test -n "$CXX"; then
8359 echo "$ac_t""$CXX" 1>&6
8361 echo "$ac_t""no" 1>&6
8364 test -n "$CXX" && break
8366 test -n "$CXX" || CXX
="gcc"
8369 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8370 echo "configure:8371: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8374 ac_cpp
='$CXXCPP $CPPFLAGS'
8375 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8376 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8377 cross_compiling
=$ac_cv_prog_cxx_cross
8379 cat > conftest.
$ac_ext << EOF
8381 #line 8382 "configure"
8382 #include "confdefs.h"
8384 int main(){return(0);}
8386 if { (eval echo configure
:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8387 ac_cv_prog_cxx_works
=yes
8388 # If we can't run a trivial program, we are probably using a cross compiler.
8389 if (.
/conftest
; exit) 2>/dev
/null
; then
8390 ac_cv_prog_cxx_cross
=no
8392 ac_cv_prog_cxx_cross
=yes
8395 echo "configure: failed program was:" >&5
8396 cat conftest.
$ac_ext >&5
8397 ac_cv_prog_cxx_works
=no
8401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8402 ac_cpp
='$CXXCPP $CPPFLAGS'
8403 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8404 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8405 cross_compiling
=$ac_cv_prog_cxx_cross
8407 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8408 if test $ac_cv_prog_cxx_works = no
; then
8409 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8411 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8412 echo "configure:8413: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8413 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8414 cross_compiling
=$ac_cv_prog_cxx_cross
8416 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8417 echo "configure:8418: checking whether we are using GNU C++" >&5
8418 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8419 echo $ac_n "(cached) $ac_c" 1>&6
8421 cat > conftest.C
<<EOF
8426 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8433 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8435 if test $ac_cv_prog_gxx = yes; then
8441 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8442 ac_save_CXXFLAGS
="$CXXFLAGS"
8444 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8445 echo "configure:8446: checking whether ${CXX-g++} accepts -g" >&5
8446 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8447 echo $ac_n "(cached) $ac_c" 1>&6
8449 echo 'void f(){}' > conftest.cc
8450 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8451 ac_cv_prog_cxx_g
=yes
8459 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8460 if test "$ac_test_CXXFLAGS" = set; then
8461 CXXFLAGS
="$ac_save_CXXFLAGS"
8462 elif test $ac_cv_prog_cxx_g = yes; then
8463 if test "$GXX" = yes; then
8469 if test "$GXX" = yes; then
8477 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8481 ac_cpp
='$CPP $CPPFLAGS'
8482 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8483 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8484 cross_compiling
=$ac_cv_prog_cc_cross
8487 # Extract the first word of "ranlib", so it can be a program name with args.
8488 set dummy ranlib
; ac_word
=$2
8489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8490 echo "configure:8491: checking for $ac_word" >&5
8491 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8492 echo $ac_n "(cached) $ac_c" 1>&6
8494 if test -n "$RANLIB"; then
8495 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8497 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8499 for ac_dir
in $ac_dummy; do
8500 test -z "$ac_dir" && ac_dir
=.
8501 if test -f $ac_dir/$ac_word; then
8502 ac_cv_prog_RANLIB
="ranlib"
8507 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8510 RANLIB
="$ac_cv_prog_RANLIB"
8511 if test -n "$RANLIB"; then
8512 echo "$ac_t""$RANLIB" 1>&6
8514 echo "$ac_t""no" 1>&6
8518 # Extract the first word of "ar", so it can be a program name with args.
8519 set dummy
ar; ac_word
=$2
8520 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8521 echo "configure:8522: checking for $ac_word" >&5
8522 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8523 echo $ac_n "(cached) $ac_c" 1>&6
8525 if test -n "$AR"; then
8526 ac_cv_prog_AR
="$AR" # Let the user override the test.
8528 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8530 for ac_dir
in $ac_dummy; do
8531 test -z "$ac_dir" && ac_dir
=.
8532 if test -f $ac_dir/$ac_word; then
8538 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8542 if test -n "$AR"; then
8543 echo "$ac_t""$AR" 1>&6
8545 echo "$ac_t""no" 1>&6
8549 # Find a good install program. We prefer a C program (faster),
8550 # so one script is as good as another. But avoid the broken or
8551 # incompatible versions:
8552 # SysV /etc/install, /usr/sbin/install
8553 # SunOS /usr/etc/install
8554 # IRIX /sbin/install
8556 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8557 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8558 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8559 # ./install, which can be erroneously created by make from ./install.sh.
8560 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8561 echo "configure:8562: checking for a BSD compatible install" >&5
8562 if test -z "$INSTALL"; then
8563 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8564 echo $ac_n "(cached) $ac_c" 1>&6
8566 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8567 for ac_dir
in $PATH; do
8568 # Account for people who put trailing slashes in PATH elements.
8570 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8572 # OSF1 and SCO ODT 3.0 have their own names for install.
8573 # Don't use installbsd from OSF since it installs stuff as root
8575 for ac_prog
in ginstall scoinst
install; do
8576 if test -f $ac_dir/$ac_prog; then
8577 if test $ac_prog = install &&
8578 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8579 # AIX install. It has an incompatible calling convention.
8582 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8593 if test "${ac_cv_path_install+set}" = set; then
8594 INSTALL
="$ac_cv_path_install"
8596 # As a last resort, use the slow shell script. We don't cache a
8597 # path for INSTALL within a source directory, because that will
8598 # break other packages using the cache if that directory is
8599 # removed, or if the path is relative.
8600 INSTALL
="$ac_install_sh"
8603 echo "$ac_t""$INSTALL" 1>&6
8605 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8606 # It thinks the first close brace ends the variable substitution.
8607 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8609 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8611 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8616 INSTALL_PROGRAM
="cp -fp"
8617 INSTALL_DATA
="cp -fp"
8623 # Extract the first word of "strip", so it can be a program name with args.
8624 set dummy strip
; ac_word
=$2
8625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8626 echo "configure:8627: checking for $ac_word" >&5
8627 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8630 if test -n "$STRIP"; then
8631 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8633 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8635 for ac_dir
in $ac_dummy; do
8636 test -z "$ac_dir" && ac_dir
=.
8637 if test -f $ac_dir/$ac_word; then
8638 ac_cv_prog_STRIP
="strip"
8643 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8646 STRIP
="$ac_cv_prog_STRIP"
8647 if test -n "$STRIP"; then
8648 echo "$ac_t""$STRIP" 1>&6
8650 echo "$ac_t""no" 1>&6
8654 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8655 echo "configure:8656: checking make for VPATH support" >&5
8656 cat - << EOF > confMake
8662 if test ! -d sub
; then
8665 echo dummy
> sub
/file
8666 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8668 rm -f sub
/file check final_file confMake
8670 if test "$RESULT" = 0; then
8671 echo "$ac_t""yes" 1>&6
8673 echo "$ac_t""no" 1>&6
8674 { echo "configure: error:
8675 You need a make-utility that is able to use the variable
8677 If your version of make does not support VPATH correctly,
8678 please install GNU-make (possibly as gmake), and start
8679 configure with the following command:
8680 export MAKE=gmake; ./configure for sh-type shells
8681 setenv MAKE gmake; ./configure for csh-type shells
8682 Also please do remember to use gmake in this case every time
8683 you are trying to compile.
8687 for ac_prog
in 'bison -y' byacc
8689 # Extract the first word of "$ac_prog", so it can be a program name with args.
8690 set dummy
$ac_prog; ac_word
=$2
8691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8692 echo "configure:8693: checking for $ac_word" >&5
8693 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8694 echo $ac_n "(cached) $ac_c" 1>&6
8696 if test -n "$YACC"; then
8697 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8699 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8701 for ac_dir
in $ac_dummy; do
8702 test -z "$ac_dir" && ac_dir
=.
8703 if test -f $ac_dir/$ac_word; then
8704 ac_cv_prog_YACC
="$ac_prog"
8711 YACC
="$ac_cv_prog_YACC"
8712 if test -n "$YACC"; then
8713 echo "$ac_t""$YACC" 1>&6
8715 echo "$ac_t""no" 1>&6
8718 test -n "$YACC" && break
8720 test -n "$YACC" || YACC
="yacc"
8723 # Extract the first word of "flex", so it can be a program name with args.
8724 set dummy flex
; ac_word
=$2
8725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8726 echo "configure:8727: checking for $ac_word" >&5
8727 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8730 if test -n "$LEX"; then
8731 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8733 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8735 for ac_dir
in $ac_dummy; do
8736 test -z "$ac_dir" && ac_dir
=.
8737 if test -f $ac_dir/$ac_word; then
8738 ac_cv_prog_LEX
="flex"
8743 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8746 LEX
="$ac_cv_prog_LEX"
8747 if test -n "$LEX"; then
8748 echo "$ac_t""$LEX" 1>&6
8750 echo "$ac_t""no" 1>&6
8753 if test -z "$LEXLIB"
8759 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8760 echo "configure:8761: checking for yywrap in -l$ac_lib" >&5
8761 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8765 ac_save_LIBS
="$LIBS"
8766 LIBS
="-l$ac_lib $LIBS"
8767 cat > conftest.
$ac_ext <<EOF
8768 #line 8769 "configure"
8769 #include "confdefs.h"
8770 /* Override any gcc2 internal prototype to avoid an error. */
8771 /* We use char because int might match the return type of a gcc2
8772 builtin and then its argument prototype would still apply. */
8779 if { (eval echo configure
:8780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8781 eval "ac_cv_lib_$ac_lib_var=yes"
8783 echo "configure: failed program was:" >&5
8784 cat conftest.
$ac_ext >&5
8786 eval "ac_cv_lib_$ac_lib_var=no"
8789 LIBS
="$ac_save_LIBS"
8792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8793 echo "$ac_t""yes" 1>&6
8796 echo "$ac_t""no" 1>&6
8802 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8803 echo "configure:8804: checking whether ln -s works" >&5
8804 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8808 if ln -s X conftestdata
2>/dev
/null
8811 ac_cv_prog_LN_S
="ln -s"
8816 LN_S
="$ac_cv_prog_LN_S"
8817 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8818 echo "$ac_t""yes" 1>&6
8820 echo "$ac_t""no" 1>&6
8826 /usr/local/include \
8828 /usr/Motif-1.2/include \
8829 /usr/Motif-2.1/include \
8831 /usr/include/Motif1.2 \
8832 /opt/xpm/include/X11 \
8833 /opt/GBxpm/include/ \
8834 /opt/GBxpm/X11/include/ \
8836 /usr/Motif1.2/include \
8838 /usr/openwin/include \
8842 /usr/X11R6/include \
8843 /usr/X11R6.4/include \
8844 /usr/X11R5/include \
8845 /usr/X11R4/include \
8847 /usr/include/X11R6 \
8848 /usr/include/X11R5 \
8849 /usr/include/X11R4 \
8851 /usr/local/X11R6/include \
8852 /usr/local/X11R5/include \
8853 /usr/local/X11R4/include \
8855 /usr/local/include/X11R6 \
8856 /usr/local/include/X11R5 \
8857 /usr/local/include/X11R4 \
8861 /usr/local/X11/include \
8862 /usr/local/include/X11 \
8866 /usr/XFree86/include/X11 \
8868 X:/XFree86/include \
8869 X:/XFree86/include/X11 \
8872 /usr/local/include/gtk \
8874 /usr/local/include/glib \
8877 /usr/local/include/qt \
8879 /usr/include/windows \
8881 /usr/local/include/wine \
8883 /usr/unsupported/include \
8884 /usr/athena/include \
8885 /usr/local/x11r5/include \
8886 /usr/lpp/Xamples/include \
8888 /usr/openwin/share/include \
8892 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8895 cat > confcache
<<\EOF
8896 # This file is a shell script that caches the results of configure
8897 # tests run on this system so they can be shared between configure
8898 # scripts and configure runs. It is not useful on other systems.
8899 # If it contains results you don't want to keep, you may remove or edit it.
8901 # By default, configure uses ./config.cache as the cache file,
8902 # creating it if it does not exist already. You can give configure
8903 # the --cache-file=FILE option to use a different cache file; that is
8904 # what configure does when it calls configure scripts in
8905 # subdirectories, so they share the cache.
8906 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8907 # config.status only pays attention to the cache file if you give it the
8908 # --recheck option to rerun configure.
8911 # The following way of writing the cache mishandles newlines in values,
8912 # but we know of no workaround that is simple, portable, and efficient.
8913 # So, don't put newlines in cache variables' values.
8914 # Ultrix sh set writes to stderr and can't be redirected directly,
8915 # and sets the high bit in the cache file unless we assign to the vars.
8917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8919 # `set' does not quote correctly, so add quotes (double-quote substitution
8920 # turns \\\\ into \\, and sed turns \\ into \).
8922 -e "s/'/'\\\\''/g" \
8923 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8926 # `set' quotes correctly as required by POSIX, so do not add quotes.
8927 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8930 if cmp -s $cache_file confcache
; then
8933 if test -w $cache_file; then
8934 echo "updating cache $cache_file"
8935 cat confcache
> $cache_file
8937 echo "not updating unwritable cache $cache_file"
8946 if test "$wxUSE_REGEX" != "no"; then
8947 cat >> confdefs.h
<<\EOF
8948 #define wxUSE_REGEX 1
8952 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
8953 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8954 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8955 echo "configure:8956: checking for regex.h" >&5
8956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8957 echo $ac_n "(cached) $ac_c" 1>&6
8959 cat > conftest.
$ac_ext <<EOF
8960 #line 8961 "configure"
8961 #include "confdefs.h"
8964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8965 { (eval echo configure
:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8966 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8967 if test -z "$ac_err"; then
8969 eval "ac_cv_header_$ac_safe=yes"
8972 echo "configure: failed program was:" >&5
8973 cat conftest.
$ac_ext >&5
8975 eval "ac_cv_header_$ac_safe=no"
8979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8980 echo "$ac_t""yes" 1>&6
8981 for ac_func
in regcomp
8983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8984 echo "configure:8985: checking for $ac_func" >&5
8985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8986 echo $ac_n "(cached) $ac_c" 1>&6
8988 cat > conftest.
$ac_ext <<EOF
8989 #line 8990 "configure"
8990 #include "confdefs.h"
8991 /* System header to define __stub macros and hopefully few prototypes,
8992 which can conflict with char $ac_func(); below. */
8994 /* Override any gcc2 internal prototype to avoid an error. */
8995 /* We use char because int might match the return type of a gcc2
8996 builtin and then its argument prototype would still apply. */
9001 /* The GNU C library defines this for functions which it implements
9002 to always fail with ENOSYS. Some functions are actually named
9003 something starting with __ and the normal name is an alias. */
9004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9012 if { (eval echo configure
:9013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9014 eval "ac_cv_func_$ac_func=yes"
9016 echo "configure: failed program was:" >&5
9017 cat conftest.
$ac_ext >&5
9019 eval "ac_cv_func_$ac_func=no"
9024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9025 echo "$ac_t""yes" 1>&6
9026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9027 cat >> confdefs.h
<<EOF
9028 #define $ac_tr_func 1
9032 echo "$ac_t""no" 1>&6
9037 echo "$ac_t""no" 1>&6
9041 if test "x$ac_cv_func_regcomp" != "xyes"; then
9042 if test "$wxUSE_REGEX" = "sys" ; then
9043 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9045 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9053 if test "$wxUSE_REGEX" = "builtin" ; then
9054 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9061 if test "$wxUSE_ZLIB" != "no" ; then
9062 cat >> confdefs.h
<<\EOF
9063 #define wxUSE_ZLIB 1
9067 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9068 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9069 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9070 echo "configure:9071: checking for zlib.h" >&5
9071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9072 echo $ac_n "(cached) $ac_c" 1>&6
9074 cat > conftest.
$ac_ext <<EOF
9075 #line 9076 "configure"
9076 #include "confdefs.h"
9079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9080 { (eval echo configure
:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9082 if test -z "$ac_err"; then
9084 eval "ac_cv_header_$ac_safe=yes"
9087 echo "configure: failed program was:" >&5
9088 cat conftest.
$ac_ext >&5
9090 eval "ac_cv_header_$ac_safe=no"
9094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9095 echo "$ac_t""yes" 1>&6
9096 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9097 echo "configure:9098: checking for deflate in -lz" >&5
9098 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9100 echo $ac_n "(cached) $ac_c" 1>&6
9102 ac_save_LIBS
="$LIBS"
9104 cat > conftest.
$ac_ext <<EOF
9105 #line 9106 "configure"
9106 #include "confdefs.h"
9107 /* Override any gcc2 internal prototype to avoid an error. */
9108 /* We use char because int might match the return type of a gcc2
9109 builtin and then its argument prototype would still apply. */
9116 if { (eval echo configure
:9117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9118 eval "ac_cv_lib_$ac_lib_var=yes"
9120 echo "configure: failed program was:" >&5
9121 cat conftest.
$ac_ext >&5
9123 eval "ac_cv_lib_$ac_lib_var=no"
9126 LIBS
="$ac_save_LIBS"
9129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9130 echo "$ac_t""yes" 1>&6
9133 echo "$ac_t""no" 1>&6
9137 echo "$ac_t""no" 1>&6
9141 if test "x$ZLIB_LINK" = "x" ; then
9142 if test "$wxUSE_ZLIB" = "sys" ; then
9143 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9145 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9153 if test "$wxUSE_ZLIB" = "builtin" ; then
9154 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9161 if test "$wxUSE_LIBPNG" != "no" ; then
9162 cat >> confdefs.h
<<\EOF
9163 #define wxUSE_LIBPNG 1
9167 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9168 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9169 wxUSE_LIBPNG
=builtin
9172 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9173 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9174 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9175 echo "configure:9176: checking for png.h" >&5
9176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9177 echo $ac_n "(cached) $ac_c" 1>&6
9179 cat > conftest.
$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9184 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9185 { (eval echo configure
:9186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9186 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9187 if test -z "$ac_err"; then
9189 eval "ac_cv_header_$ac_safe=yes"
9192 echo "configure: failed program was:" >&5
9193 cat conftest.
$ac_ext >&5
9195 eval "ac_cv_header_$ac_safe=no"
9199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9200 echo "$ac_t""yes" 1>&6
9201 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9202 echo "configure:9203: checking for png_check_sig in -lpng" >&5
9203 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9205 echo $ac_n "(cached) $ac_c" 1>&6
9207 ac_save_LIBS
="$LIBS"
9208 LIBS
="-lpng -lz -lm $LIBS"
9209 cat > conftest.
$ac_ext <<EOF
9210 #line 9211 "configure"
9211 #include "confdefs.h"
9212 /* Override any gcc2 internal prototype to avoid an error. */
9213 /* We use char because int might match the return type of a gcc2
9214 builtin and then its argument prototype would still apply. */
9215 char png_check_sig();
9221 if { (eval echo configure
:9222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9223 eval "ac_cv_lib_$ac_lib_var=yes"
9225 echo "configure: failed program was:" >&5
9226 cat conftest.
$ac_ext >&5
9228 eval "ac_cv_lib_$ac_lib_var=no"
9231 LIBS
="$ac_save_LIBS"
9234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9235 echo "$ac_t""yes" 1>&6
9238 echo "$ac_t""no" 1>&6
9243 echo "$ac_t""no" 1>&6
9247 if test "x$PNG_LINK" = "x" ; then
9248 if test "$wxUSE_LIBPNG" = "sys" ; then
9249 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9251 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9252 wxUSE_LIBPNG
=builtin
9259 if test "$wxUSE_LIBPNG" = "builtin" ; then
9260 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9269 if test "$wxUSE_LIBJPEG" != "no" ; then
9270 cat >> confdefs.h
<<\EOF
9271 #define wxUSE_LIBJPEG 1
9275 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9276 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9277 echo "configure:9278: checking for jpeglib.h" >&5
9278 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9279 echo $ac_n "(cached) $ac_c" 1>&6
9281 cat > conftest.
$ac_ext <<EOF
9282 #line 9283 "configure"
9283 #include "confdefs.h"
9285 #undef HAVE_STDLIB_H
9287 #include <jpeglib.h>
9294 if { (eval echo configure
:9295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9296 ac_cv_header_jpeglib_h
=yes
9298 echo "configure: failed program was:" >&5
9299 cat conftest.
$ac_ext >&5
9301 ac_cv_header_jpeglib_h
=no
9308 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9310 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9311 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9312 echo "configure:9313: checking for jpeg_read_header in -ljpeg" >&5
9313 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9317 ac_save_LIBS
="$LIBS"
9319 cat > conftest.
$ac_ext <<EOF
9320 #line 9321 "configure"
9321 #include "confdefs.h"
9322 /* Override any gcc2 internal prototype to avoid an error. */
9323 /* We use char because int might match the return type of a gcc2
9324 builtin and then its argument prototype would still apply. */
9325 char jpeg_read_header();
9331 if { (eval echo configure
:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9333 eval "ac_cv_lib_$ac_lib_var=yes"
9335 echo "configure: failed program was:" >&5
9336 cat conftest.
$ac_ext >&5
9338 eval "ac_cv_lib_$ac_lib_var=no"
9341 LIBS
="$ac_save_LIBS"
9344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9345 echo "$ac_t""yes" 1>&6
9348 echo "$ac_t""no" 1>&6
9353 if test "x$JPEG_LINK" = "x" ; then
9354 if test "$wxUSE_LIBJPEG" = "sys" ; then
9355 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9357 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9358 wxUSE_LIBJPEG
=builtin
9365 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9366 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9373 if test "$wxUSE_LIBTIFF" != "no" ; then
9374 cat >> confdefs.h
<<\EOF
9375 #define wxUSE_LIBTIFF 1
9379 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9380 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9381 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9382 echo "configure:9383: checking for tiffio.h" >&5
9383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9384 echo $ac_n "(cached) $ac_c" 1>&6
9386 cat > conftest.
$ac_ext <<EOF
9387 #line 9388 "configure"
9388 #include "confdefs.h"
9391 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9392 { (eval echo configure
:9393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9393 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9394 if test -z "$ac_err"; then
9396 eval "ac_cv_header_$ac_safe=yes"
9399 echo "configure: failed program was:" >&5
9400 cat conftest.
$ac_ext >&5
9402 eval "ac_cv_header_$ac_safe=no"
9406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9407 echo "$ac_t""yes" 1>&6
9408 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9409 echo "configure:9410: checking for TIFFError in -ltiff" >&5
9410 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9412 echo $ac_n "(cached) $ac_c" 1>&6
9414 ac_save_LIBS
="$LIBS"
9415 LIBS
="-ltiff -lm $LIBS"
9416 cat > conftest.
$ac_ext <<EOF
9417 #line 9418 "configure"
9418 #include "confdefs.h"
9419 /* Override any gcc2 internal prototype to avoid an error. */
9420 /* We use char because int might match the return type of a gcc2
9421 builtin and then its argument prototype would still apply. */
9428 if { (eval echo configure
:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9430 eval "ac_cv_lib_$ac_lib_var=yes"
9432 echo "configure: failed program was:" >&5
9433 cat conftest.
$ac_ext >&5
9435 eval "ac_cv_lib_$ac_lib_var=no"
9438 LIBS
="$ac_save_LIBS"
9441 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9442 echo "$ac_t""yes" 1>&6
9445 echo "$ac_t""no" 1>&6
9450 echo "$ac_t""no" 1>&6
9454 if test "x$TIFF_LINK" = "x" ; then
9455 if test "$wxUSE_LIBTIFF" = "sys" ; then
9456 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9458 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9459 wxUSE_LIBTIFF
=builtin
9466 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9467 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9474 if test "$wxUSE_FREETYPE" != "no" ; then
9475 cat >> confdefs.h
<<\EOF
9476 #define wxUSE_FREETYPE 1
9480 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9481 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9482 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9483 echo "configure:9484: checking for freetype.h" >&5
9484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9485 echo $ac_n "(cached) $ac_c" 1>&6
9487 cat > conftest.
$ac_ext <<EOF
9488 #line 9489 "configure"
9489 #include "confdefs.h"
9490 #include <freetype.h>
9492 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9493 { (eval echo configure
:9494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9494 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9495 if test -z "$ac_err"; then
9497 eval "ac_cv_header_$ac_safe=yes"
9500 echo "configure: failed program was:" >&5
9501 cat conftest.
$ac_ext >&5
9503 eval "ac_cv_header_$ac_safe=no"
9507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9508 echo "$ac_t""yes" 1>&6
9509 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9510 echo "configure:9511: checking for FT_Render_Glyph in -lfreetype" >&5
9511 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9513 echo $ac_n "(cached) $ac_c" 1>&6
9515 ac_save_LIBS
="$LIBS"
9516 LIBS
="-lfreetype -lm $LIBS"
9517 cat > conftest.
$ac_ext <<EOF
9518 #line 9519 "configure"
9519 #include "confdefs.h"
9520 /* Override any gcc2 internal prototype to avoid an error. */
9521 /* We use char because int might match the return type of a gcc2
9522 builtin and then its argument prototype would still apply. */
9523 char FT_Render_Glyph();
9529 if { (eval echo configure
:9530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9531 eval "ac_cv_lib_$ac_lib_var=yes"
9533 echo "configure: failed program was:" >&5
9534 cat conftest.
$ac_ext >&5
9536 eval "ac_cv_lib_$ac_lib_var=no"
9539 LIBS
="$ac_save_LIBS"
9542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9543 echo "$ac_t""yes" 1>&6
9544 FREETYPE_LINK
=" -lfreetype"
9546 echo "$ac_t""no" 1>&6
9551 echo "$ac_t""no" 1>&6
9555 if test "x$FREETYPE_LINK" = "x" ; then
9556 if test "$wxUSE_FREETYPE" = "sys" ; then
9557 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9559 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9560 wxUSE_FREETYPE
=builtin
9567 if test "$wxUSE_FREETYPE" = "builtin" ; then
9568 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9579 if test "$USE_WIN32" = 1 ; then
9580 for ac_hdr
in w32api.h
9582 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9584 echo "configure:9585: checking for $ac_hdr" >&5
9585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9586 echo $ac_n "(cached) $ac_c" 1>&6
9588 cat > conftest.
$ac_ext <<EOF
9589 #line 9590 "configure"
9590 #include "confdefs.h"
9593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9594 { (eval echo configure
:9595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9596 if test -z "$ac_err"; then
9598 eval "ac_cv_header_$ac_safe=yes"
9601 echo "configure: failed program was:" >&5
9602 cat conftest.
$ac_ext >&5
9604 eval "ac_cv_header_$ac_safe=no"
9608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9611 cat >> confdefs.h
<<EOF
9612 #define $ac_tr_hdr 1
9616 echo "$ac_t""no" 1>&6
9620 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9621 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9622 echo "configure:9623: checking for windows.h" >&5
9623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9624 echo $ac_n "(cached) $ac_c" 1>&6
9626 cat > conftest.
$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9629 #include <windows.h>
9631 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9632 { (eval echo configure
:9633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9633 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9634 if test -z "$ac_err"; then
9636 eval "ac_cv_header_$ac_safe=yes"
9639 echo "configure: failed program was:" >&5
9640 cat conftest.
$ac_ext >&5
9642 eval "ac_cv_header_$ac_safe=no"
9646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9647 echo "$ac_t""yes" 1>&6
9650 echo "$ac_t""no" 1>&6
9652 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9657 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9658 echo "configure:9659: checking if w32api has good enough MSIE support" >&5
9659 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9660 echo $ac_n "(cached) $ac_c" 1>&6
9663 cat > conftest.
$ac_ext <<EOF
9664 #line 9665 "configure"
9665 #include "confdefs.h"
9669 #define wxCHECK_W32API_VERSION( major, minor ) \
9670 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9671 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9672 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9674 #if !wxCHECK_W32API_VERSION(1,1)
9675 #error You need w32api 1.1 or newer
9680 if { (eval echo configure
:9681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9683 wx_cv_w32api_win32_ie
=yes
9686 echo "configure: failed program was:" >&5
9687 cat conftest.
$ac_ext >&5
9690 wx_cv_w32api_win32_ie
=no
9697 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9698 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9699 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9702 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9706 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9707 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9710 if test "$wxUSE_ODBC" = "yes" ; then
9711 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9714 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9715 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9718 if test "$wxUSE_GUI" = "yes"; then
9727 if test "$wxUSE_MSW" = 1 ; then
9733 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9737 if test "$wxUSE_GTK" = 1; then
9738 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9739 echo "configure:9740: checking for GTK+ version" >&5
9741 gtk_version_cached
=1
9742 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9743 echo $ac_n "(cached) $ac_c" 1>&6
9746 gtk_version_cached
=0
9750 if test "x$wxUSE_GTK2" = "xyes"; then
9751 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9752 if test "${with_gtk_prefix+set}" = set; then
9753 withval
="$with_gtk_prefix"
9754 gtk_config_prefix
="$withval"
9756 gtk_config_prefix
=""
9759 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9760 if test "${with_gtk_exec_prefix+set}" = set; then
9761 withval
="$with_gtk_exec_prefix"
9762 gtk_config_exec_prefix
="$withval"
9764 gtk_config_exec_prefix
=""
9767 # Check whether --enable-gtktest or --disable-gtktest was given.
9768 if test "${enable_gtktest+set}" = set; then
9769 enableval
="$enable_gtktest"
9780 gtk_config_args
="$gtk_config_args gthread"
9785 if test x
$gtk_config_exec_prefix != x
; then
9786 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9787 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9788 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9791 if test x
$gtk_config_prefix != x
; then
9792 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9793 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9794 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9798 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9799 set dummy gtk
-config-2.0
; ac_word
=$2
9800 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9801 echo "configure:9802: checking for $ac_word" >&5
9802 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 case "$GTK_CONFIG_2_0" in
9807 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9810 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9815 for ac_dir
in $ac_dummy; do
9816 test -z "$ac_dir" && ac_dir
=.
9817 if test -f $ac_dir/$ac_word; then
9818 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9823 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9827 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9828 if test -n "$GTK_CONFIG_2_0"; then
9829 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9831 echo "$ac_t""no" 1>&6
9834 min_gtk_version
=1.3.1
9835 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9836 echo "configure:9837: checking for GTK - version >= $min_gtk_version" >&5
9838 if test "$GTK_CONFIG_2_0" = "no" ; then
9841 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9842 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9843 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9845 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9847 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9849 if test "x$enable_gtktest" = "xyes" ; then
9850 ac_save_CFLAGS
="$CFLAGS"
9851 ac_save_LIBS
="$LIBS"
9852 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9853 LIBS
="$GTK_LIBS $LIBS"
9855 if test "$cross_compiling" = yes; then
9856 echo $ac_n "cross compiling; assumed OK... $ac_c"
9858 cat > conftest.
$ac_ext <<EOF
9859 #line 9860 "configure"
9860 #include "confdefs.h"
9862 #include <gtk/gtk.h>
9869 int major, minor, micro;
9872 system ("touch conf.gtktest");
9874 /* HP/UX 9 (%@#!) writes to sscanf strings */
9875 tmp_version = g_strdup("$min_gtk_version");
9876 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9877 printf("%s, bad version string\n", "$min_gtk_version");
9881 if ((gtk_major_version != $gtk_config_major_version) ||
9882 (gtk_minor_version != $gtk_config_minor_version) ||
9883 (gtk_micro_version != $gtk_config_micro_version))
9885 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9886 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9887 gtk_major_version, gtk_minor_version, gtk_micro_version);
9888 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9889 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9890 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9891 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9892 printf("*** required on your system.\n");
9893 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9894 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9895 printf("*** before re-running configure\n");
9897 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9898 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9899 (gtk_minor_version != GTK_MINOR_VERSION) ||
9900 (gtk_micro_version != GTK_MICRO_VERSION))
9902 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9903 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9904 printf("*** library (version %d.%d.%d)\n",
9905 gtk_major_version, gtk_minor_version, gtk_micro_version);
9907 #endif /* defined (GTK_MAJOR_VERSION) ... */
9910 if ((gtk_major_version > major) ||
9911 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9912 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9918 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9919 gtk_major_version, gtk_minor_version, gtk_micro_version);
9920 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9921 major, minor, micro);
9922 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9924 printf("*** If you have already installed a sufficiently new version, this error\n");
9925 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9926 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9927 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9928 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9929 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9930 printf("*** so that the correct libraries are found at run-time))\n");
9937 if { (eval echo configure
:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9941 echo "configure: failed program was:" >&5
9942 cat conftest.
$ac_ext >&5
9949 CFLAGS
="$ac_save_CFLAGS"
9950 LIBS
="$ac_save_LIBS"
9953 if test "x$no_gtk" = x
; then
9954 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9957 echo "$ac_t""no" 1>&6
9958 if test "$GTK_CONFIG_2_0" = "no" ; then
9959 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9960 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9961 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9962 echo "*** full path to gtk-config-2.0."
9964 if test -f conf.gtktest
; then
9967 echo "*** Could not run GTK test program, checking why..."
9968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9969 LIBS
="$LIBS $GTK_LIBS"
9970 cat > conftest.
$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9974 #include <gtk/gtk.h>
9978 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9981 if { (eval echo configure
:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9983 echo "*** The test program compiled, but did not run. This usually means"
9984 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9985 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9988 echo "*** is required on your system"
9990 echo "*** If you have an old version installed, it is best to remove it, although"
9991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9993 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9994 echo "*** came with the system with the command"
9996 echo "*** rpm --erase --nodeps gtk gtk-devel"
9998 echo "configure: failed program was:" >&5
9999 cat conftest.
$ac_ext >&5
10001 echo "*** The test program failed to compile or link. See the file config.log for the"
10002 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10003 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10004 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10007 CFLAGS
="$ac_save_CFLAGS"
10008 LIBS
="$ac_save_LIBS"
10021 if test -z "$wx_cv_lib_gtk"; then
10023 if test x
$gtk_config_exec_prefix != x
; then
10024 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10025 if test x
${GTK_CONFIG+set} != xset
; then
10026 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10029 if test x
$gtk_config_prefix != x
; then
10030 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10031 if test x
${GTK_CONFIG+set} != xset
; then
10032 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10036 # Extract the first word of "gtk-config", so it can be a program name with args.
10037 set dummy gtk
-config; ac_word
=$2
10038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10039 echo "configure:10040: checking for $ac_word" >&5
10040 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10041 echo $ac_n "(cached) $ac_c" 1>&6
10043 case "$GTK_CONFIG" in
10045 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10048 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10051 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10053 for ac_dir
in $ac_dummy; do
10054 test -z "$ac_dir" && ac_dir
=.
10055 if test -f $ac_dir/$ac_word; then
10056 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10061 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10065 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10066 if test -n "$GTK_CONFIG"; then
10067 echo "$ac_t""$GTK_CONFIG" 1>&6
10069 echo "$ac_t""no" 1>&6
10072 min_gtk_version
=1.2.7
10073 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10074 echo "configure:10075: checking for GTK - version >= $min_gtk_version" >&5
10076 if test "$GTK_CONFIG" != "no" ; then
10077 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10078 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10079 ac_save_CFLAGS
="$CFLAGS"
10080 ac_save_LIBS
="$LIBS"
10081 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10082 LIBS
="$LIBS $GTK_LIBS"
10083 if test "$cross_compiling" = yes; then
10084 echo $ac_n "cross compiling; assumed OK... $ac_c"
10086 cat > conftest.
$ac_ext <<EOF
10087 #line 10088 "configure"
10088 #include "confdefs.h"
10090 #include <gtk/gtk.h>
10091 #include <gtk/gtkfeatures.h>
10093 #include <stdlib.h>
10098 int major, minor, micro;
10100 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10101 printf("%s, bad version string\n", "$min_gtk_version");
10105 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10106 (GTK_MINOR_VERSION != gtk_minor_version) ||
10107 (GTK_MICRO_VERSION != gtk_micro_version)) {
10108 printf("Headers vs. library version mismatch!\n");
10112 if (gtk_minor_version == 1) return FALSE;
10114 return !((gtk_major_version > major) ||
10115 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10116 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10120 if { (eval echo configure
:10121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10124 echo "configure: failed program was:" >&5
10125 cat conftest.
$ac_ext >&5
10132 CFLAGS
="$ac_save_CFLAGS"
10133 LIBS
="$ac_save_LIBS"
10137 if test "x$no_gtk" = x
; then
10138 echo "$ac_t""yes" 1>&6
10139 wx_cv_lib_gtk
=1.2.7
10141 echo "$ac_t""no" 1>&6
10151 if test -z "$wx_cv_lib_gtk"; then
10153 if test x
$gtk_config_exec_prefix != x
; then
10154 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10155 if test x
${GTK_CONFIG+set} != xset
; then
10156 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10159 if test x
$gtk_config_prefix != x
; then
10160 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10161 if test x
${GTK_CONFIG+set} != xset
; then
10162 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10166 # Extract the first word of "gtk-config", so it can be a program name with args.
10167 set dummy gtk
-config; ac_word
=$2
10168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10169 echo "configure:10170: checking for $ac_word" >&5
10170 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10171 echo $ac_n "(cached) $ac_c" 1>&6
10173 case "$GTK_CONFIG" in
10175 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10178 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10181 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10183 for ac_dir
in $ac_dummy; do
10184 test -z "$ac_dir" && ac_dir
=.
10185 if test -f $ac_dir/$ac_word; then
10186 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10191 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10195 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10196 if test -n "$GTK_CONFIG"; then
10197 echo "$ac_t""$GTK_CONFIG" 1>&6
10199 echo "$ac_t""no" 1>&6
10202 min_gtk_version
=1.2.3
10203 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10204 echo "configure:10205: checking for GTK - version >= $min_gtk_version" >&5
10206 if test "$GTK_CONFIG" != "no" ; then
10207 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10208 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10209 ac_save_CFLAGS
="$CFLAGS"
10210 ac_save_LIBS
="$LIBS"
10211 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10212 LIBS
="$LIBS $GTK_LIBS"
10213 if test "$cross_compiling" = yes; then
10214 echo $ac_n "cross compiling; assumed OK... $ac_c"
10216 cat > conftest.
$ac_ext <<EOF
10217 #line 10218 "configure"
10218 #include "confdefs.h"
10220 #include <gtk/gtk.h>
10221 #include <gtk/gtkfeatures.h>
10223 #include <stdlib.h>
10228 int major, minor, micro;
10230 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10231 printf("%s, bad version string\n", "$min_gtk_version");
10235 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10236 (GTK_MINOR_VERSION != gtk_minor_version) ||
10237 (GTK_MICRO_VERSION != gtk_micro_version)) {
10238 printf("Headers vs. library version mismatch!\n");
10242 if (gtk_minor_version == 1) return FALSE;
10244 return !((gtk_major_version > major) ||
10245 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10246 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10250 if { (eval echo configure
:10251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10254 echo "configure: failed program was:" >&5
10255 cat conftest.
$ac_ext >&5
10262 CFLAGS
="$ac_save_CFLAGS"
10263 LIBS
="$ac_save_LIBS"
10267 if test "x$no_gtk" = x
; then
10268 echo "$ac_t""yes" 1>&6
10269 wx_cv_lib_gtk
=1.2.3
10271 echo "$ac_t""no" 1>&6
10281 if test -z "$wx_cv_lib_gtk"; then
10284 wx_cv_cflags_gtk
=$GTK_CFLAGS
10285 wx_cv_libs_gtk
=$GTK_LIBS
10292 if test "$gtk_version_cached" = 1; then
10293 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10296 case "$wx_cv_lib_gtk" in
10304 *) { echo "configure: error:
10305 Please check that gtk-config is in path, the directory
10306 where GTK+ libraries are installed (returned by
10307 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10308 equivalent variable and GTK+ is version 1.2.3 or above.
10313 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10314 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10316 AFMINSTALL
=afminstall
10320 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10321 echo "configure:10322: checking for gdk_im_open in -lgdk" >&5
10322 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10324 echo $ac_n "(cached) $ac_c" 1>&6
10326 ac_save_LIBS
="$LIBS"
10328 cat > conftest.
$ac_ext <<EOF
10329 #line 10330 "configure"
10330 #include "confdefs.h"
10331 /* Override any gcc2 internal prototype to avoid an error. */
10332 /* We use char because int might match the return type of a gcc2
10333 builtin and then its argument prototype would still apply. */
10334 char gdk_im_open();
10340 if { (eval echo configure
:10341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10342 eval "ac_cv_lib_$ac_lib_var=yes"
10344 echo "configure: failed program was:" >&5
10345 cat conftest.
$ac_ext >&5
10347 eval "ac_cv_lib_$ac_lib_var=no"
10350 LIBS
="$ac_save_LIBS"
10353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10354 echo "$ac_t""yes" 1>&6
10355 cat >> confdefs.h
<<\EOF
10360 echo "$ac_t""no" 1>&6
10365 if test "$wxUSE_MGL" = 1; then
10367 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10368 echo "configure:10369: checking for SciTech MGL library" >&5
10369 if test "x$MGL_ROOT" = x
; then
10370 echo "$ac_t""not found" 1>&6
10371 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10373 echo "$ac_t""$MGL_ROOT" 1>&6
10376 mgl_os
=linux
/gcc
/glibc
10379 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10380 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10381 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10385 if test "x$mgl_lib_type" = x
; then
10386 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10387 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10388 mgl_lib_type
=release
10390 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10394 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10395 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10397 AFMINSTALL
=afminstall
10402 if test "$wxUSE_WINE" = 1; then
10403 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10404 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10405 echo "configure:10406: checking for windows.h" >&5
10406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10409 cat > conftest.
$ac_ext <<EOF
10410 #line 10411 "configure"
10411 #include "confdefs.h"
10412 #include <windows.h>
10414 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10415 { (eval echo configure
:10416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10416 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10417 if test -z "$ac_err"; then
10419 eval "ac_cv_header_$ac_safe=yes"
10422 echo "configure: failed program was:" >&5
10423 cat conftest.
$ac_ext >&5
10425 eval "ac_cv_header_$ac_safe=no"
10429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10430 echo "$ac_t""yes" 1>&6
10433 echo "$ac_t""no" 1>&6
10435 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10441 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10442 echo "configure:10443: checking for Xpm library" >&5
10445 for ac_dir
in $SEARCH_LIB;
10447 for ac_extension
in a so sl dylib
; do
10448 if test -f "$ac_dir/libXpm.$ac_extension"; then
10449 ac_find_libraries
=$ac_dir
10455 if test "$ac_find_libraries" != "" ; then
10456 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10458 cat >> confdefs.h
<<\EOF
10459 #define wxHAVE_LIB_XPM 1
10462 echo "$ac_t""found at $ac_find_libraries" 1>&6
10464 echo "$ac_t""no" 1>&6
10465 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10469 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10470 echo "configure:10471: checking for Mesa library" >&5
10473 for ac_dir
in $SEARCH_LIB;
10475 for ac_extension
in a so sl dylib
; do
10476 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10477 ac_find_libraries
=$ac_dir
10483 if test "$ac_find_libraries" != "" ; then
10484 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10485 mesa_link
=" -lMesaGL"
10486 echo "$ac_t""found at $ac_find_libraries" 1>&6
10488 { echo "configure: error: no" 1>&2; exit 1; }
10491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10494 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10497 if test "$wxUSE_MOTIF" = 1; then
10498 # If we find X, set shell vars x_includes and x_libraries to the
10499 # paths, otherwise set no_x=yes.
10500 # Uses ac_ vars as temps to allow command line to override cache and checks.
10501 # --without-x overrides everything else, but does not touch the cache.
10502 echo $ac_n "checking for X""... $ac_c" 1>&6
10503 echo "configure:10504: checking for X" >&5
10505 # Check whether --with-x or --without-x was given.
10506 if test "${with_x+set}" = set; then
10511 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10512 if test "x$with_x" = xno
; then
10513 # The user explicitly disabled X.
10516 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10517 # Both variables are already set.
10520 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10521 echo $ac_n "(cached) $ac_c" 1>&6
10523 # One or both of the vars are not set, and there is no cached value.
10524 ac_x_includes
=NO ac_x_libraries
=NO
10526 if mkdir conftestdir
; then
10528 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10529 cat > Imakefile
<<'EOF'
10531 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10533 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10534 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10535 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10536 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10537 for ac_extension
in a so sl
; do
10538 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10539 test -f $ac_im_libdir/libX11.
$ac_extension; then
10540 ac_im_usrlibdir
=$ac_im_libdir; break
10543 # Screen out bogus values from the imake configuration. They are
10544 # bogus both because they are the default anyway, and because
10545 # using them would break gcc on systems where it needs fixed includes.
10546 case "$ac_im_incroot" in
10548 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10550 case "$ac_im_usrlibdir" in
10551 /usr
/lib
| /lib
) ;;
10552 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10559 if test "$ac_x_includes" = NO
; then
10560 # Guess where to find include files, by looking for this one X11 .h file.
10561 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10563 # First, try using that file with no special directory specified.
10564 cat > conftest.
$ac_ext <<EOF
10565 #line 10566 "configure"
10566 #include "confdefs.h"
10567 #include <$x_direct_test_include>
10569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10570 { (eval echo configure
:10571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10572 if test -z "$ac_err"; then
10574 # We can compile using X headers with no special include directory.
10578 echo "configure: failed program was:" >&5
10579 cat conftest.
$ac_ext >&5
10581 # Look for the header file in a standard set of common directories.
10582 # Check X11 before X11Rn because it is often a symlink to the current release.
10585 /usr
/X
11R
6/include \
10586 /usr
/X
11R
5/include \
10587 /usr
/X
11R
4/include \
10590 /usr
/include
/X11R6 \
10591 /usr
/include
/X11R5 \
10592 /usr
/include
/X11R4 \
10594 /usr
/local
/X
11/include \
10595 /usr
/local
/X
11R
6/include \
10596 /usr
/local
/X
11R
5/include \
10597 /usr
/local
/X
11R
4/include \
10599 /usr
/local
/include
/X11 \
10600 /usr
/local
/include
/X11R6 \
10601 /usr
/local
/include
/X11R5 \
10602 /usr
/local
/include
/X11R4 \
10604 /usr
/X
386/include \
10605 /usr
/x
386/include \
10606 /usr
/XFree
86/include
/X11 \
10609 /usr
/local
/include \
10610 /usr
/unsupported
/include \
10611 /usr
/athena
/include \
10612 /usr
/local
/x
11r
5/include \
10613 /usr
/lpp
/Xamples
/include \
10615 /usr
/openwin
/include \
10616 /usr
/openwin
/share
/include \
10619 if test -r "$ac_dir/$x_direct_test_include"; then
10620 ac_x_includes
=$ac_dir
10626 fi # $ac_x_includes = NO
10628 if test "$ac_x_libraries" = NO
; then
10629 # Check for the libraries.
10631 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10632 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10634 # See if we find them without any special options.
10635 # Don't add to $LIBS permanently.
10636 ac_save_LIBS
="$LIBS"
10637 LIBS
="-l$x_direct_test_library $LIBS"
10638 cat > conftest.
$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10643 ${x_direct_test_function}()
10646 if { (eval echo configure
:10647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10648 LIBS
="$ac_save_LIBS"
10649 # We can link X programs with no special library path.
10652 echo "configure: failed program was:" >&5
10653 cat conftest.
$ac_ext >&5
10655 LIBS
="$ac_save_LIBS"
10656 # First see if replacing the include by lib works.
10657 # Check X11 before X11Rn because it is often a symlink to the current release.
10658 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10669 /usr
/local
/X
11/lib \
10670 /usr
/local
/X
11R
6/lib \
10671 /usr
/local
/X
11R
5/lib \
10672 /usr
/local
/X
11R
4/lib \
10674 /usr
/local
/lib
/X11 \
10675 /usr
/local
/lib
/X11R6 \
10676 /usr
/local
/lib
/X11R5 \
10677 /usr
/local
/lib
/X11R4 \
10681 /usr
/XFree
86/lib
/X11 \
10685 /usr
/unsupported
/lib \
10687 /usr
/local
/x
11r
5/lib \
10688 /usr
/lpp
/Xamples
/lib \
10692 /usr
/openwin
/share
/lib \
10695 for ac_extension
in a so sl
; do
10696 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10697 ac_x_libraries
=$ac_dir
10704 fi # $ac_x_libraries = NO
10706 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10707 # Didn't find X anywhere. Cache the known absence of X.
10708 ac_cv_have_x
="have_x=no"
10710 # Record where we found X for the cache.
10711 ac_cv_have_x
="have_x=yes \
10712 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10716 eval "$ac_cv_have_x"
10719 if test "$have_x" != yes; then
10720 echo "$ac_t""$have_x" 1>&6
10723 # If each of the values was on the command line, it overrides each guess.
10724 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10725 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10726 # Update the cache value to reflect the command line values.
10727 ac_cv_have_x
="have_x=yes \
10728 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10729 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10732 if test "$no_x" = yes; then
10733 # Not all programs may use this symbol, but it does not hurt to define it.
10734 cat >> confdefs.h
<<\EOF
10735 #define X_DISPLAY_MISSING 1
10738 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10740 if test -n "$x_includes"; then
10741 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10744 # It would also be nice to do this for all -L options, not just this one.
10745 if test -n "$x_libraries"; then
10746 X_LIBS
="$X_LIBS -L$x_libraries"
10747 # For Solaris; some versions of Sun CC require a space after -R and
10748 # others require no space. Words are not sufficient . . . .
10749 case "`(uname -sr) 2>/dev/null`" in
10751 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10752 echo "configure:10753: checking whether -R must be followed by a space" >&5
10753 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10754 cat > conftest.
$ac_ext <<EOF
10755 #line 10756 "configure"
10756 #include "confdefs.h"
10762 if { (eval echo configure
:10763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10766 echo "configure: failed program was:" >&5
10767 cat conftest.
$ac_ext >&5
10772 if test $ac_R_nospace = yes; then
10773 echo "$ac_t""no" 1>&6
10774 X_LIBS
="$X_LIBS -R$x_libraries"
10776 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10777 cat > conftest.
$ac_ext <<EOF
10778 #line 10779 "configure"
10779 #include "confdefs.h"
10785 if { (eval echo configure
:10786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10789 echo "configure: failed program was:" >&5
10790 cat conftest.
$ac_ext >&5
10795 if test $ac_R_space = yes; then
10796 echo "$ac_t""yes" 1>&6
10797 X_LIBS
="$X_LIBS -R $x_libraries"
10799 echo "$ac_t""neither works" 1>&6
10802 LIBS
="$ac_xsave_LIBS"
10806 # Check for system-dependent libraries X programs must link with.
10807 # Do this before checking for the system-independent R6 libraries
10808 # (-lICE), since we may need -lsocket or whatever for X linking.
10810 if test "$ISC" = yes; then
10811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10813 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10814 # libraries were built with DECnet support. And karl@cs.umb.edu says
10815 # the Alpha needs dnet_stub (dnet does not exist).
10816 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10817 echo "configure:10818: checking for dnet_ntoa in -ldnet" >&5
10818 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10820 echo $ac_n "(cached) $ac_c" 1>&6
10822 ac_save_LIBS
="$LIBS"
10823 LIBS
="-ldnet $LIBS"
10824 cat > conftest.
$ac_ext <<EOF
10825 #line 10826 "configure"
10826 #include "confdefs.h"
10827 /* Override any gcc2 internal prototype to avoid an error. */
10828 /* We use char because int might match the return type of a gcc2
10829 builtin and then its argument prototype would still apply. */
10836 if { (eval echo configure
:10837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10838 eval "ac_cv_lib_$ac_lib_var=yes"
10840 echo "configure: failed program was:" >&5
10841 cat conftest.
$ac_ext >&5
10843 eval "ac_cv_lib_$ac_lib_var=no"
10846 LIBS
="$ac_save_LIBS"
10849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10850 echo "$ac_t""yes" 1>&6
10851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10853 echo "$ac_t""no" 1>&6
10856 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10857 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10858 echo "configure:10859: checking for dnet_ntoa in -ldnet_stub" >&5
10859 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10863 ac_save_LIBS
="$LIBS"
10864 LIBS
="-ldnet_stub $LIBS"
10865 cat > conftest.
$ac_ext <<EOF
10866 #line 10867 "configure"
10867 #include "confdefs.h"
10868 /* Override any gcc2 internal prototype to avoid an error. */
10869 /* We use char because int might match the return type of a gcc2
10870 builtin and then its argument prototype would still apply. */
10877 if { (eval echo configure
:10878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10879 eval "ac_cv_lib_$ac_lib_var=yes"
10881 echo "configure: failed program was:" >&5
10882 cat conftest.
$ac_ext >&5
10884 eval "ac_cv_lib_$ac_lib_var=no"
10887 LIBS
="$ac_save_LIBS"
10890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10891 echo "$ac_t""yes" 1>&6
10892 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10894 echo "$ac_t""no" 1>&6
10899 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10900 # to get the SysV transport functions.
10901 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10903 # The nsl library prevents programs from opening the X display
10904 # on Irix 5.2, according to dickey@clark.net.
10905 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10906 echo "configure:10907: checking for gethostbyname" >&5
10907 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10908 echo $ac_n "(cached) $ac_c" 1>&6
10910 cat > conftest.
$ac_ext <<EOF
10911 #line 10912 "configure"
10912 #include "confdefs.h"
10913 /* System header to define __stub macros and hopefully few prototypes,
10914 which can conflict with char gethostbyname(); below. */
10915 #include <assert.h>
10916 /* Override any gcc2 internal prototype to avoid an error. */
10917 /* We use char because int might match the return type of a gcc2
10918 builtin and then its argument prototype would still apply. */
10919 char gethostbyname();
10923 /* The GNU C library defines this for functions which it implements
10924 to always fail with ENOSYS. Some functions are actually named
10925 something starting with __ and the normal name is an alias. */
10926 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10934 if { (eval echo configure
:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10936 eval "ac_cv_func_gethostbyname=yes"
10938 echo "configure: failed program was:" >&5
10939 cat conftest.
$ac_ext >&5
10941 eval "ac_cv_func_gethostbyname=no"
10946 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10947 echo "$ac_t""yes" 1>&6
10950 echo "$ac_t""no" 1>&6
10953 if test $ac_cv_func_gethostbyname = no
; then
10954 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10955 echo "configure:10956: checking for gethostbyname in -lnsl" >&5
10956 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10958 echo $ac_n "(cached) $ac_c" 1>&6
10960 ac_save_LIBS
="$LIBS"
10962 cat > conftest.
$ac_ext <<EOF
10963 #line 10964 "configure"
10964 #include "confdefs.h"
10965 /* Override any gcc2 internal prototype to avoid an error. */
10966 /* We use char because int might match the return type of a gcc2
10967 builtin and then its argument prototype would still apply. */
10968 char gethostbyname();
10974 if { (eval echo configure
:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10976 eval "ac_cv_lib_$ac_lib_var=yes"
10978 echo "configure: failed program was:" >&5
10979 cat conftest.
$ac_ext >&5
10981 eval "ac_cv_lib_$ac_lib_var=no"
10984 LIBS
="$ac_save_LIBS"
10987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10988 echo "$ac_t""yes" 1>&6
10989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10991 echo "$ac_t""no" 1>&6
10996 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10997 # socket/setsockopt and other routines are undefined under SCO ODT
10998 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10999 # on later versions), says simon@lia.di.epfl.ch: it contains
11000 # gethostby* variants that don't use the nameserver (or something).
11001 # -lsocket must be given before -lnsl if both are needed.
11002 # We assume that if connect needs -lnsl, so does gethostbyname.
11003 echo $ac_n "checking for connect""... $ac_c" 1>&6
11004 echo "configure:11005: checking for connect" >&5
11005 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11006 echo $ac_n "(cached) $ac_c" 1>&6
11008 cat > conftest.
$ac_ext <<EOF
11009 #line 11010 "configure"
11010 #include "confdefs.h"
11011 /* System header to define __stub macros and hopefully few prototypes,
11012 which can conflict with char connect(); below. */
11013 #include <assert.h>
11014 /* Override any gcc2 internal prototype to avoid an error. */
11015 /* We use char because int might match the return type of a gcc2
11016 builtin and then its argument prototype would still apply. */
11021 /* The GNU C library defines this for functions which it implements
11022 to always fail with ENOSYS. Some functions are actually named
11023 something starting with __ and the normal name is an alias. */
11024 #if defined (__stub_connect) || defined (__stub___connect)
11032 if { (eval echo configure
:11033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11034 eval "ac_cv_func_connect=yes"
11036 echo "configure: failed program was:" >&5
11037 cat conftest.
$ac_ext >&5
11039 eval "ac_cv_func_connect=no"
11044 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11045 echo "$ac_t""yes" 1>&6
11048 echo "$ac_t""no" 1>&6
11051 if test $ac_cv_func_connect = no
; then
11052 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11053 echo "configure:11054: checking for connect in -lsocket" >&5
11054 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11056 echo $ac_n "(cached) $ac_c" 1>&6
11058 ac_save_LIBS
="$LIBS"
11059 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11060 cat > conftest.
$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11063 /* Override any gcc2 internal prototype to avoid an error. */
11064 /* We use char because int might match the return type of a gcc2
11065 builtin and then its argument prototype would still apply. */
11072 if { (eval echo configure
:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11074 eval "ac_cv_lib_$ac_lib_var=yes"
11076 echo "configure: failed program was:" >&5
11077 cat conftest.
$ac_ext >&5
11079 eval "ac_cv_lib_$ac_lib_var=no"
11082 LIBS
="$ac_save_LIBS"
11085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11086 echo "$ac_t""yes" 1>&6
11087 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11089 echo "$ac_t""no" 1>&6
11094 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11095 echo $ac_n "checking for remove""... $ac_c" 1>&6
11096 echo "configure:11097: checking for remove" >&5
11097 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11098 echo $ac_n "(cached) $ac_c" 1>&6
11100 cat > conftest.
$ac_ext <<EOF
11101 #line 11102 "configure"
11102 #include "confdefs.h"
11103 /* System header to define __stub macros and hopefully few prototypes,
11104 which can conflict with char remove(); below. */
11105 #include <assert.h>
11106 /* Override any gcc2 internal prototype to avoid an error. */
11107 /* We use char because int might match the return type of a gcc2
11108 builtin and then its argument prototype would still apply. */
11113 /* The GNU C library defines this for functions which it implements
11114 to always fail with ENOSYS. Some functions are actually named
11115 something starting with __ and the normal name is an alias. */
11116 #if defined (__stub_remove) || defined (__stub___remove)
11124 if { (eval echo configure
:11125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11126 eval "ac_cv_func_remove=yes"
11128 echo "configure: failed program was:" >&5
11129 cat conftest.
$ac_ext >&5
11131 eval "ac_cv_func_remove=no"
11136 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11137 echo "$ac_t""yes" 1>&6
11140 echo "$ac_t""no" 1>&6
11143 if test $ac_cv_func_remove = no
; then
11144 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11145 echo "configure:11146: checking for remove in -lposix" >&5
11146 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11148 echo $ac_n "(cached) $ac_c" 1>&6
11150 ac_save_LIBS
="$LIBS"
11151 LIBS
="-lposix $LIBS"
11152 cat > conftest.
$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11155 /* Override any gcc2 internal prototype to avoid an error. */
11156 /* We use char because int might match the return type of a gcc2
11157 builtin and then its argument prototype would still apply. */
11164 if { (eval echo configure
:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11166 eval "ac_cv_lib_$ac_lib_var=yes"
11168 echo "configure: failed program was:" >&5
11169 cat conftest.
$ac_ext >&5
11171 eval "ac_cv_lib_$ac_lib_var=no"
11174 LIBS
="$ac_save_LIBS"
11177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11178 echo "$ac_t""yes" 1>&6
11179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11181 echo "$ac_t""no" 1>&6
11186 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11187 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11188 echo "configure:11189: checking for shmat" >&5
11189 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11192 cat > conftest.
$ac_ext <<EOF
11193 #line 11194 "configure"
11194 #include "confdefs.h"
11195 /* System header to define __stub macros and hopefully few prototypes,
11196 which can conflict with char shmat(); below. */
11197 #include <assert.h>
11198 /* Override any gcc2 internal prototype to avoid an error. */
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11205 /* The GNU C library defines this for functions which it implements
11206 to always fail with ENOSYS. Some functions are actually named
11207 something starting with __ and the normal name is an alias. */
11208 #if defined (__stub_shmat) || defined (__stub___shmat)
11216 if { (eval echo configure
:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11218 eval "ac_cv_func_shmat=yes"
11220 echo "configure: failed program was:" >&5
11221 cat conftest.
$ac_ext >&5
11223 eval "ac_cv_func_shmat=no"
11228 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11229 echo "$ac_t""yes" 1>&6
11232 echo "$ac_t""no" 1>&6
11235 if test $ac_cv_func_shmat = no
; then
11236 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11237 echo "configure:11238: checking for shmat in -lipc" >&5
11238 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11240 echo $ac_n "(cached) $ac_c" 1>&6
11242 ac_save_LIBS
="$LIBS"
11244 cat > conftest.
$ac_ext <<EOF
11245 #line 11246 "configure"
11246 #include "confdefs.h"
11247 /* Override any gcc2 internal prototype to avoid an error. */
11248 /* We use char because int might match the return type of a gcc2
11249 builtin and then its argument prototype would still apply. */
11256 if { (eval echo configure
:11257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11258 eval "ac_cv_lib_$ac_lib_var=yes"
11260 echo "configure: failed program was:" >&5
11261 cat conftest.
$ac_ext >&5
11263 eval "ac_cv_lib_$ac_lib_var=no"
11266 LIBS
="$ac_save_LIBS"
11269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11270 echo "$ac_t""yes" 1>&6
11271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11273 echo "$ac_t""no" 1>&6
11279 # Check for libraries that X11R6 Xt/Xaw programs need.
11280 ac_save_LDFLAGS
="$LDFLAGS"
11281 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11283 # check for ICE first), but we must link in the order -lSM -lICE or
11284 # we get undefined symbols. So assume we have SM if we have ICE.
11285 # These have to be linked with before -lX11, unlike the other
11286 # libraries we check for below, so use a different variable.
11287 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11288 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11289 echo "configure:11290: checking for IceConnectionNumber in -lICE" >&5
11290 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11294 ac_save_LIBS
="$LIBS"
11295 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11296 cat > conftest.
$ac_ext <<EOF
11297 #line 11298 "configure"
11298 #include "confdefs.h"
11299 /* Override any gcc2 internal prototype to avoid an error. */
11300 /* We use char because int might match the return type of a gcc2
11301 builtin and then its argument prototype would still apply. */
11302 char IceConnectionNumber();
11305 IceConnectionNumber()
11308 if { (eval echo configure
:11309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11310 eval "ac_cv_lib_$ac_lib_var=yes"
11312 echo "configure: failed program was:" >&5
11313 cat conftest.
$ac_ext >&5
11315 eval "ac_cv_lib_$ac_lib_var=no"
11318 LIBS
="$ac_save_LIBS"
11321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11322 echo "$ac_t""yes" 1>&6
11323 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11325 echo "$ac_t""no" 1>&6
11328 LDFLAGS
="$ac_save_LDFLAGS"
11333 if test "$no_x" = "yes"; then
11334 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11337 GUI_TK_LIBRARY
="$X_LIBS"
11338 TOOLKIT_INCLUDE
="$X_CFLAGS"
11339 AFMINSTALL
=afminstall
11340 COMPILED_X_PROGRAM
=0
11342 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11343 echo "configure:11344: checking for Motif/Lesstif headers" >&5
11346 for ac_dir
in $SEARCH_INCLUDE;
11348 if test -f "$ac_dir/Xm/Xm.h"; then
11349 ac_find_includes
=$ac_dir
11354 if test "$ac_find_includes" != "" ; then
11355 echo "$ac_t""found $ac_find_includes" 1>&6
11357 cat > conftest.
$ac_ext <<EOF
11358 #line 11359 "configure"
11359 #include "confdefs.h"
11366 version = xmUseVersion;
11370 if { (eval echo configure
:11371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11373 echo "$ac_t""found in default search path" 1>&6
11374 COMPILED_X_PROGRAM
=1
11377 echo "configure: failed program was:" >&5
11378 cat conftest.
$ac_ext >&5
11381 echo "$ac_t""no" 1>&6
11382 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11389 if test "$COMPILED_X_PROGRAM" = 0; then
11390 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11391 echo "configure:11392: checking for Motif/Lesstif library" >&5
11394 for ac_dir
in $SEARCH_LIB;
11396 for ac_extension
in a so sl dylib
; do
11397 if test -f "$ac_dir/libXm.$ac_extension"; then
11398 ac_find_libraries
=$ac_dir
11404 if test "$ac_find_libraries" != "" ; then
11406 ac_path_to_include
=$ac_find_includes
11407 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11409 if test $result = 0; then
11410 ac_path_to_include
=""
11412 ac_path_to_include
="-I$ac_find_includes"
11416 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11418 if test $result = 0; then
11421 ac_path_to_link
="-L$ac_find_libraries"
11425 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11426 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
11427 echo "$ac_t""found at $ac_find_libraries" 1>&6
11429 cat > conftest.
$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11438 version = xmUseVersion;
11442 if { (eval echo configure
:11443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11445 echo "$ac_t""found in default search path" 1>&6
11446 COMPILED_X_PROGRAM
=1
11449 echo "configure: failed program was:" >&5
11450 cat conftest.
$ac_ext >&5
11453 echo "$ac_t""no" 1>&6
11454 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11463 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11464 echo "configure:11465: checking for Xpm library" >&5
11467 for ac_dir
in $SEARCH_LIB;
11469 for ac_extension
in a so sl dylib
; do
11470 if test -f "$ac_dir/libXpm.$ac_extension"; then
11471 ac_find_libraries
=$ac_dir
11477 if test "$ac_find_libraries" != "" ; then
11479 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11481 if test $result = 0; then
11484 ac_path_to_link
="-L$ac_find_libraries"
11487 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11489 cat >> confdefs.h
<<\EOF
11490 #define wxHAVE_LIB_XPM 1
11493 echo "$ac_t""found at $ac_find_libraries" 1>&6
11495 cat > conftest.
$ac_ext <<EOF
11496 #line 11497 "configure"
11497 #include "confdefs.h"
11499 #include <X11/xpm.h>
11504 version = XpmLibraryVersion();
11508 if { (eval echo configure
:11509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11512 cat >> confdefs.h
<<\EOF
11513 #define wxHAVE_LIB_XPM 1
11516 echo "$ac_t""found in default search path" 1>&6
11517 COMPILED_X_PROGRAM
=0
11520 echo "configure: failed program was:" >&5
11521 cat conftest.
$ac_ext >&5
11524 echo "$ac_t""no" 1>&6
11525 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11532 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11533 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11538 if test "$wxUSE_MAC" = 1; then
11539 if test "$wxUSE_PRECOMP" = "yes"; then
11540 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11542 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11543 CFLAGS
="$CFLAGS -fpascal-strings"
11544 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11545 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11547 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11552 if test "$wxUSE_PM" = 1; then
11557 if test "$TOOLKIT" = "PM" ; then
11560 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11563 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11565 if test "$wxUSE_UNIVERSAL" = "yes"; then
11566 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11567 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11568 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11569 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11572 ALL_OBJECTS
="\$(GUIOBJS)"
11575 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11577 if test "$TOOLKIT" != "MSW"; then
11578 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11581 if test "$wxUSE_HTML" = "yes"; then
11582 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11585 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11586 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11588 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11589 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11591 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11592 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11594 if test "$wxUSE_LIBPNG" = "builtin" ; then
11595 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11597 if test "$wxUSE_FREETYPE" = "builtin" ; then
11598 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11601 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
11602 RPM_SPEC
="wx\$(TOOLKIT).spec"
11604 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11605 DISTDIR
="wx\$(TOOLKIT)"
11611 if test "$USE_WIN32" = 1 ; then
11612 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11613 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11617 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11618 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11621 PORT_FILES
="\${top_srcdir}/src/files.lst"
11622 RPM_FILES
="src/rpmfiles.lst"
11623 RPM_SPEC
="wxBase.spec"
11625 GUIDIST
="BASE_DIST"
11629 if test "$wxUSE_REGEX" = "builtin" ; then
11630 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11632 if test "$wxUSE_ZLIB" = "builtin" ; then
11633 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11636 if test "$wxUSE_OPENGL" = "yes"; then
11637 if test "$wxUSE_MAC" = 1; then
11638 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11642 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11643 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11644 echo "configure:11645: checking for GL/gl.h" >&5
11645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11646 echo $ac_n "(cached) $ac_c" 1>&6
11648 cat > conftest.
$ac_ext <<EOF
11649 #line 11650 "configure"
11650 #include "confdefs.h"
11653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11654 { (eval echo configure
:11655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11656 if test -z "$ac_err"; then
11658 eval "ac_cv_header_$ac_safe=yes"
11661 echo "configure: failed program was:" >&5
11662 cat conftest.
$ac_ext >&5
11664 eval "ac_cv_header_$ac_safe=no"
11668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11669 echo "$ac_t""yes" 1>&6
11671 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11672 echo "configure:11673: checking for glFlush in -lGL" >&5
11673 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 ac_save_LIBS
="$LIBS"
11678 LIBS
="-lGL -lm $LIBS"
11679 cat > conftest.
$ac_ext <<EOF
11680 #line 11681 "configure"
11681 #include "confdefs.h"
11682 /* Override any gcc2 internal prototype to avoid an error. */
11683 /* We use char because int might match the return type of a gcc2
11684 builtin and then its argument prototype would still apply. */
11691 if { (eval echo configure
:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11693 eval "ac_cv_lib_$ac_lib_var=yes"
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11698 eval "ac_cv_lib_$ac_lib_var=no"
11701 LIBS
="$ac_save_LIBS"
11704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11705 echo "$ac_t""yes" 1>&6
11707 OPENGL_LIBS
="-lGL -lGLU"
11710 echo "$ac_t""no" 1>&6
11712 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11713 echo "configure:11714: checking for glFlush in -lMesaGL" >&5
11714 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11718 ac_save_LIBS
="$LIBS"
11719 LIBS
="-lMesaGL -lm $LIBS"
11720 cat > conftest.
$ac_ext <<EOF
11721 #line 11722 "configure"
11722 #include "confdefs.h"
11723 /* Override any gcc2 internal prototype to avoid an error. */
11724 /* We use char because int might match the return type of a gcc2
11725 builtin and then its argument prototype would still apply. */
11732 if { (eval echo configure
:11733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11734 eval "ac_cv_lib_$ac_lib_var=yes"
11736 echo "configure: failed program was:" >&5
11737 cat conftest.
$ac_ext >&5
11739 eval "ac_cv_lib_$ac_lib_var=no"
11742 LIBS
="$ac_save_LIBS"
11745 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11746 echo "$ac_t""yes" 1>&6
11748 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11751 echo "$ac_t""no" 1>&6
11759 echo "$ac_t""no" 1>&6
11763 if test "x$OPENGL_LIBS" = "x"; then
11764 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11768 if test "$wxUSE_OPENGL" = "yes"; then
11769 cat >> confdefs.h
<<\EOF
11770 #define wxUSE_OPENGL 1
11773 cat >> confdefs.h
<<\EOF
11774 #define wxUSE_GLCANVAS 1
11777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11781 if test -z "$TOOLKIT_VPATH" ; then
11782 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11785 if test -n "$TOOLKIT" ; then
11786 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11789 lib_unicode_suffix
=
11790 if test "$wxUSE_UNICODE" = "yes"; then
11791 lib_unicode_suffix
=u
11795 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11799 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11800 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11802 if test "$cross_compiling" = "yes"; then
11803 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11804 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11807 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11808 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11810 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11811 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11813 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11814 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11815 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11816 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11818 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11819 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11822 *-*-cygwin* | *-*-mingw32* )
11826 if test "$cross_compiling" != "yes"; then
11827 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11828 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11829 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11830 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11832 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11833 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11838 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11839 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11841 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11843 if test "$wxUSE_OPENGL" = "yes"; then
11844 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11849 if test "$wxUSE_SHARED" = "yes"; then
11851 if test "$wxUSE_OPENGL" = "yes"; then
11852 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11853 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11855 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11856 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11859 if test "$GCC" = "yes"; then
11863 SHARED_LD
="${CXX} -shared -o"
11867 if test "$GCC" != "yes"; then
11868 LDFLAGS
="$LDFLAGS -L/usr/lib"
11870 SHARED_LD
="${CXX} -b -o"
11874 if test "$wxUSE_OPENGL" = "yes"; then
11875 WX_ALL_INSTALLED
="preinstall_gl"
11876 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11878 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11883 if test "$GCC" != "yes"; then
11884 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11885 echo "configure:11886: checking for Intel compiler" >&5
11886 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11887 echo $ac_n "(cached) $ac_c" 1>&6
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11896 #ifndef __INTEL_COMPILER
11902 if { (eval echo configure
:11903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11906 echo "configure: failed program was:" >&5
11907 cat conftest.
$ac_ext >&5
11916 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11917 if test "$wx_cv_prog_icc" = "yes"; then
11922 if test "$wxUSE_SONAME" = "yes" ; then
11923 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11924 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11925 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11930 if test "$GCC" = yes ; then
11931 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11933 SHARED_LD
="${CXX} -G -o"
11935 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11936 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11941 CFLAGS
="$CFLAGS -fno-common"
11942 CXXFLAGS
="$CXXFLAGS -fno-common"
11943 SHARED_LD
="$CXX -dynamiclib -o"
11944 PIC_FLAG
="-dynamic -fPIC"
11948 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11951 *-*-cygwin* | *-*-mingw32* )
11953 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
11955 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
11956 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
11958 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11960 if test "$wxUSE_OPENGL" = "yes"; then
11961 WX_ALL_INSTALLED
="preinstall_gl"
11962 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11964 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11968 *-pc-os2_emx | *-pc-os2-emx )
11973 SHARED_LD
="${LD} -shared -o"
11976 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11978 *-*-irix5* | *-*-irix6* | \
11985 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11988 if test "x$WX_TARGET_LIBRARY" = "x"; then
11989 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11990 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11993 WX_TARGET_LIBRARY_TYPE
="so"
11996 if test "$wxUSE_SHARED" = "no"; then
11998 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11999 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12002 if test "$wxUSE_MAC" = 1; then
12003 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12006 if test "$wxUSE_OPENGL" = "yes"; then
12007 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12008 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12010 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12013 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12014 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12016 WX_TARGET_LIBRARY_TYPE
="a"
12019 if test "$wxUSE_MAC" = 1; then
12020 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12021 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12022 # Extract the first word of "Rez", so it can be a program name with args.
12023 set dummy Rez
; ac_word
=$2
12024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12025 echo "configure:12026: checking for $ac_word" >&5
12026 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12027 echo $ac_n "(cached) $ac_c" 1>&6
12029 if test -n "$RESCOMP"; then
12030 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12032 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12034 for ac_dir
in $ac_dummy; do
12035 test -z "$ac_dir" && ac_dir
=.
12036 if test -f $ac_dir/$ac_word; then
12037 ac_cv_prog_RESCOMP
="Rez"
12042 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12045 RESCOMP
="$ac_cv_prog_RESCOMP"
12046 if test -n "$RESCOMP"; then
12047 echo "$ac_t""$RESCOMP" 1>&6
12049 echo "$ac_t""no" 1>&6
12052 # Extract the first word of "Derez", so it can be a program name with args.
12053 set dummy Derez
; ac_word
=$2
12054 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12055 echo "configure:12056: checking for $ac_word" >&5
12056 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12059 if test -n "$DEREZ"; then
12060 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12064 for ac_dir
in $ac_dummy; do
12065 test -z "$ac_dir" && ac_dir
=.
12066 if test -f $ac_dir/$ac_word; then
12067 ac_cv_prog_DEREZ
="Derez"
12072 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
12075 DEREZ
="$ac_cv_prog_DEREZ"
12076 if test -n "$DEREZ"; then
12077 echo "$ac_t""$DEREZ" 1>&6
12079 echo "$ac_t""no" 1>&6
12082 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12083 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12084 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12088 if test "$wxUSE_MAC" != 1; then
12089 for ac_hdr
in strings.h
12091 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12092 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12093 echo "configure:12094: checking for $ac_hdr" >&5
12094 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12095 echo $ac_n "(cached) $ac_c" 1>&6
12097 cat > conftest.
$ac_ext <<EOF
12098 #line 12099 "configure"
12099 #include "confdefs.h"
12102 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12103 { (eval echo configure
:12104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12104 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12105 if test -z "$ac_err"; then
12107 eval "ac_cv_header_$ac_safe=yes"
12110 echo "configure: failed program was:" >&5
12111 cat conftest.
$ac_ext >&5
12113 eval "ac_cv_header_$ac_safe=no"
12117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12118 echo "$ac_t""yes" 1>&6
12119 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12120 cat >> confdefs.h
<<EOF
12121 #define $ac_tr_hdr 1
12125 echo "$ac_t""no" 1>&6
12131 for ac_hdr
in stdlib.h
12133 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12134 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12135 echo "configure:12136: checking for $ac_hdr" >&5
12136 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12137 echo $ac_n "(cached) $ac_c" 1>&6
12139 cat > conftest.
$ac_ext <<EOF
12140 #line 12141 "configure"
12141 #include "confdefs.h"
12144 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12145 { (eval echo configure
:12146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12146 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12147 if test -z "$ac_err"; then
12149 eval "ac_cv_header_$ac_safe=yes"
12152 echo "configure: failed program was:" >&5
12153 cat conftest.
$ac_ext >&5
12155 eval "ac_cv_header_$ac_safe=no"
12159 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12160 echo "$ac_t""yes" 1>&6
12161 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12162 cat >> confdefs.h
<<EOF
12163 #define $ac_tr_hdr 1
12167 echo "$ac_t""no" 1>&6
12171 for ac_hdr
in unistd.h
12173 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12175 echo "configure:12176: checking for $ac_hdr" >&5
12176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12177 echo $ac_n "(cached) $ac_c" 1>&6
12179 cat > conftest.
$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12184 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12185 { (eval echo configure
:12186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12186 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12187 if test -z "$ac_err"; then
12189 eval "ac_cv_header_$ac_safe=yes"
12192 echo "configure: failed program was:" >&5
12193 cat conftest.
$ac_ext >&5
12195 eval "ac_cv_header_$ac_safe=no"
12199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12200 echo "$ac_t""yes" 1>&6
12201 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12202 cat >> confdefs.h
<<EOF
12203 #define $ac_tr_hdr 1
12207 echo "$ac_t""no" 1>&6
12211 for ac_hdr
in wchar.h
12213 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12215 echo "configure:12216: checking for $ac_hdr" >&5
12216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12217 echo $ac_n "(cached) $ac_c" 1>&6
12219 cat > conftest.
$ac_ext <<EOF
12220 #line 12221 "configure"
12221 #include "confdefs.h"
12224 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12225 { (eval echo configure
:12226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12226 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12227 if test -z "$ac_err"; then
12229 eval "ac_cv_header_$ac_safe=yes"
12232 echo "configure: failed program was:" >&5
12233 cat conftest.
$ac_ext >&5
12235 eval "ac_cv_header_$ac_safe=no"
12239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12240 echo "$ac_t""yes" 1>&6
12241 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12242 cat >> confdefs.h
<<EOF
12243 #define $ac_tr_hdr 1
12247 echo "$ac_t""no" 1>&6
12251 for ac_hdr
in wcstr.h
12253 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12254 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12255 echo "configure:12256: checking for $ac_hdr" >&5
12256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12257 echo $ac_n "(cached) $ac_c" 1>&6
12259 cat > conftest.
$ac_ext <<EOF
12260 #line 12261 "configure"
12261 #include "confdefs.h"
12264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12265 { (eval echo configure
:12266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12267 if test -z "$ac_err"; then
12269 eval "ac_cv_header_$ac_safe=yes"
12272 echo "configure: failed program was:" >&5
12273 cat conftest.
$ac_ext >&5
12275 eval "ac_cv_header_$ac_safe=no"
12279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12280 echo "$ac_t""yes" 1>&6
12281 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12282 cat >> confdefs.h
<<EOF
12283 #define $ac_tr_hdr 1
12287 echo "$ac_t""no" 1>&6
12291 for ac_hdr
in fnmatch.h
12293 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12295 echo "configure:12296: checking for $ac_hdr" >&5
12296 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12297 echo $ac_n "(cached) $ac_c" 1>&6
12299 cat > conftest.
$ac_ext <<EOF
12300 #line 12301 "configure"
12301 #include "confdefs.h"
12304 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12305 { (eval echo configure
:12306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12306 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12307 if test -z "$ac_err"; then
12309 eval "ac_cv_header_$ac_safe=yes"
12312 echo "configure: failed program was:" >&5
12313 cat conftest.
$ac_ext >&5
12315 eval "ac_cv_header_$ac_safe=no"
12319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12320 echo "$ac_t""yes" 1>&6
12321 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12322 cat >> confdefs.h
<<EOF
12323 #define $ac_tr_hdr 1
12327 echo "$ac_t""no" 1>&6
12331 for ac_hdr
in iconv.h
12333 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12335 echo "configure:12336: checking for $ac_hdr" >&5
12336 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12337 echo $ac_n "(cached) $ac_c" 1>&6
12339 cat > conftest.
$ac_ext <<EOF
12340 #line 12341 "configure"
12341 #include "confdefs.h"
12344 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12345 { (eval echo configure
:12346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12346 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12347 if test -z "$ac_err"; then
12349 eval "ac_cv_header_$ac_safe=yes"
12352 echo "configure: failed program was:" >&5
12353 cat conftest.
$ac_ext >&5
12355 eval "ac_cv_header_$ac_safe=no"
12359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12360 echo "$ac_t""yes" 1>&6
12361 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12362 cat >> confdefs.h
<<EOF
12363 #define $ac_tr_hdr 1
12367 echo "$ac_t""no" 1>&6
12371 for ac_hdr
in langinfo.h
12373 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12374 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12375 echo "configure:12376: checking for $ac_hdr" >&5
12376 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12377 echo $ac_n "(cached) $ac_c" 1>&6
12379 cat > conftest.
$ac_ext <<EOF
12380 #line 12381 "configure"
12381 #include "confdefs.h"
12384 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12385 { (eval echo configure
:12386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12386 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12387 if test -z "$ac_err"; then
12389 eval "ac_cv_header_$ac_safe=yes"
12392 echo "configure: failed program was:" >&5
12393 cat conftest.
$ac_ext >&5
12395 eval "ac_cv_header_$ac_safe=no"
12399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12400 echo "$ac_t""yes" 1>&6
12401 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12402 cat >> confdefs.h
<<EOF
12403 #define $ac_tr_hdr 1
12407 echo "$ac_t""no" 1>&6
12412 if test "$wxUSE_GUI" = "yes"; then
12413 if test "$wxUSE_UNIX" = "yes"; then
12414 for ac_hdr
in X
11/XKBlib.h
12416 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12417 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12418 echo "configure:12419: checking for $ac_hdr" >&5
12419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12420 echo $ac_n "(cached) $ac_c" 1>&6
12422 cat > conftest.
$ac_ext <<EOF
12423 #line 12424 "configure"
12424 #include "confdefs.h"
12427 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12428 { (eval echo configure
:12429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12429 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12430 if test -z "$ac_err"; then
12432 eval "ac_cv_header_$ac_safe=yes"
12435 echo "configure: failed program was:" >&5
12436 cat conftest.
$ac_ext >&5
12438 eval "ac_cv_header_$ac_safe=no"
12442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12443 echo "$ac_t""yes" 1>&6
12444 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12445 cat >> confdefs.h
<<EOF
12446 #define $ac_tr_hdr 1
12450 echo "$ac_t""no" 1>&6
12458 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12459 echo "configure:12460: checking for ANSI C header files" >&5
12460 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12461 echo $ac_n "(cached) $ac_c" 1>&6
12463 cat > conftest.
$ac_ext <<EOF
12464 #line 12465 "configure"
12465 #include "confdefs.h"
12466 #include <stdlib.h>
12467 #include <stdarg.h>
12468 #include <string.h>
12471 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12472 { (eval echo configure
:12473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12473 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12474 if test -z "$ac_err"; then
12476 ac_cv_header_stdc
=yes
12479 echo "configure: failed program was:" >&5
12480 cat conftest.
$ac_ext >&5
12482 ac_cv_header_stdc
=no
12486 if test $ac_cv_header_stdc = yes; then
12487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12488 cat > conftest.
$ac_ext <<EOF
12489 #line 12490 "configure"
12490 #include "confdefs.h"
12491 #include <string.h>
12493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12494 egrep "memchr" >/dev
/null
2>&1; then
12498 ac_cv_header_stdc
=no
12504 if test $ac_cv_header_stdc = yes; then
12505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12506 cat > conftest.
$ac_ext <<EOF
12507 #line 12508 "configure"
12508 #include "confdefs.h"
12509 #include <stdlib.h>
12511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12512 egrep "free" >/dev
/null
2>&1; then
12516 ac_cv_header_stdc
=no
12522 if test $ac_cv_header_stdc = yes; then
12523 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12524 if test "$cross_compiling" = yes; then
12527 cat > conftest.
$ac_ext <<EOF
12528 #line 12529 "configure"
12529 #include "confdefs.h"
12531 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12532 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12534 int main () { int i; for (i = 0; i < 256; i++)
12535 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12539 if { (eval echo configure
:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12543 echo "configure: failed program was:" >&5
12544 cat conftest.
$ac_ext >&5
12546 ac_cv_header_stdc
=no
12554 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12555 if test $ac_cv_header_stdc = yes; then
12556 cat >> confdefs.h
<<\EOF
12557 #define STDC_HEADERS 1
12562 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12563 echo "configure:12564: checking for mode_t" >&5
12564 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12565 echo $ac_n "(cached) $ac_c" 1>&6
12567 cat > conftest.
$ac_ext <<EOF
12568 #line 12569 "configure"
12569 #include "confdefs.h"
12570 #include <sys/types.h>
12572 #include <stdlib.h>
12573 #include <stddef.h>
12576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12577 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12579 ac_cv_type_mode_t
=yes
12582 ac_cv_type_mode_t
=no
12587 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12588 if test $ac_cv_type_mode_t = no
; then
12589 cat >> confdefs.h
<<\EOF
12595 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12596 echo "configure:12597: checking for off_t" >&5
12597 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12598 echo $ac_n "(cached) $ac_c" 1>&6
12600 cat > conftest.
$ac_ext <<EOF
12601 #line 12602 "configure"
12602 #include "confdefs.h"
12603 #include <sys/types.h>
12605 #include <stdlib.h>
12606 #include <stddef.h>
12609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12610 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12612 ac_cv_type_off_t
=yes
12615 ac_cv_type_off_t
=no
12620 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12621 if test $ac_cv_type_off_t = no
; then
12622 cat >> confdefs.h
<<\EOF
12628 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12629 echo "configure:12630: checking for pid_t" >&5
12630 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12631 echo $ac_n "(cached) $ac_c" 1>&6
12633 cat > conftest.
$ac_ext <<EOF
12634 #line 12635 "configure"
12635 #include "confdefs.h"
12636 #include <sys/types.h>
12638 #include <stdlib.h>
12639 #include <stddef.h>
12642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12643 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12645 ac_cv_type_pid_t
=yes
12648 ac_cv_type_pid_t
=no
12653 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12654 if test $ac_cv_type_pid_t = no
; then
12655 cat >> confdefs.h
<<\EOF
12661 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12662 echo "configure:12663: checking for size_t" >&5
12663 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12664 echo $ac_n "(cached) $ac_c" 1>&6
12666 cat > conftest.
$ac_ext <<EOF
12667 #line 12668 "configure"
12668 #include "confdefs.h"
12669 #include <sys/types.h>
12671 #include <stdlib.h>
12672 #include <stddef.h>
12675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12676 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12678 ac_cv_type_size_t
=yes
12681 ac_cv_type_size_t
=no
12686 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12687 if test $ac_cv_type_size_t = no
; then
12688 cat >> confdefs.h
<<\EOF
12689 #define size_t unsigned
12694 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12695 echo "configure:12696: checking for uid_t in sys/types.h" >&5
12696 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12697 echo $ac_n "(cached) $ac_c" 1>&6
12699 cat > conftest.
$ac_ext <<EOF
12700 #line 12701 "configure"
12701 #include "confdefs.h"
12702 #include <sys/types.h>
12704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12705 egrep "uid_t" >/dev
/null
2>&1; then
12707 ac_cv_type_uid_t
=yes
12710 ac_cv_type_uid_t
=no
12716 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12717 if test $ac_cv_type_uid_t = no
; then
12718 cat >> confdefs.h
<<\EOF
12722 cat >> confdefs.h
<<\EOF
12729 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12730 echo "configure:12731: checking for wchar_t" >&5
12731 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12732 echo $ac_n "(cached) $ac_c" 1>&6
12735 cat > conftest.
$ac_ext <<EOF
12736 #line 12737 "configure"
12737 #include "confdefs.h"
12739 #ifdef HAVE_WCHAR_H
12740 # include <wchar.h>
12742 #ifdef HAVE_STDLIB_H
12743 # include <stdlib.h>
12750 ws = L"Hello, world!";
12754 if { (eval echo configure
:12755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12756 wx_cv_type_wchar_t
=yes
12758 echo "configure: failed program was:" >&5
12759 cat conftest.
$ac_ext >&5
12761 wx_cv_type_wchar_t
=no
12768 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12770 if test "$wx_cv_type_wchar_t" = "yes"; then
12771 cat >> confdefs.h
<<\EOF
12772 #define wxUSE_WCHAR_T 1
12779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12780 ac_cpp
='$CXXCPP $CPPFLAGS'
12781 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12782 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12783 cross_compiling
=$ac_cv_prog_cxx_cross
12785 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12786 echo "configure:12787: checking if size_t is unsigned int" >&5
12787 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12788 echo $ac_n "(cached) $ac_c" 1>&6
12790 cat > conftest.
$ac_ext <<EOF
12791 #line 12792 "configure"
12792 #include "confdefs.h"
12793 #include <stddef.h>
12798 struct Foo { void foo(size_t); void foo(unsigned int); };
12804 if { (eval echo configure
:12805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12806 wx_cv_size_t_is_uint
=no
12808 echo "configure: failed program was:" >&5
12809 cat conftest.
$ac_ext >&5
12811 wx_cv_size_t_is_uint
=yes
12818 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12820 if test "$wx_cv_size_t_is_uint" = "yes"; then
12821 cat >> confdefs.h
<<\EOF
12822 #define wxSIZE_T_IS_UINT 1
12826 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12827 echo "configure:12828: checking if size_t is unsigned long" >&5
12828 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12829 echo $ac_n "(cached) $ac_c" 1>&6
12831 cat > conftest.
$ac_ext <<EOF
12832 #line 12833 "configure"
12833 #include "confdefs.h"
12834 #include <stddef.h>
12839 struct Foo { void foo(size_t); void foo(unsigned long); };
12845 if { (eval echo configure
:12846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12847 wx_cv_size_t_is_ulong
=no
12849 echo "configure: failed program was:" >&5
12850 cat conftest.
$ac_ext >&5
12852 wx_cv_size_t_is_ulong
=yes
12859 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12861 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12862 cat >> confdefs.h
<<\EOF
12863 #define wxSIZE_T_IS_ULONG 1
12870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12871 ac_cpp
='$CPP $CPPFLAGS'
12872 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12873 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12874 cross_compiling
=$ac_cv_prog_cc_cross
12878 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12879 echo "configure:12880: checking for pw_gecos in struct passwd" >&5
12880 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12881 echo $ac_n "(cached) $ac_c" 1>&6
12884 cat > conftest.
$ac_ext <<EOF
12885 #line 12886 "configure"
12886 #include "confdefs.h"
12896 if { (eval echo configure
:12897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12899 wx_cv_struct_pw_gecos
=yes
12902 echo "configure: failed program was:" >&5
12903 cat conftest.
$ac_ext >&5
12906 wx_cv_struct_pw_gecos
=no
12915 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12917 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12918 cat >> confdefs.h
<<\EOF
12919 #define HAVE_PW_GECOS 1
12925 echo $ac_n "checking for working const""... $ac_c" 1>&6
12926 echo "configure:12927: checking for working const" >&5
12927 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12930 cat > conftest.
$ac_ext <<EOF
12931 #line 12932 "configure"
12932 #include "confdefs.h"
12936 /* Ultrix mips cc rejects this. */
12937 typedef int charset[2]; const charset x;
12938 /* SunOS 4.1.1 cc rejects this. */
12939 char const *const *ccp;
12941 /* NEC SVR4.0.2 mips cc rejects this. */
12942 struct point {int x, y;};
12943 static struct point const zero = {0,0};
12944 /* AIX XL C 1.02.0.0 rejects this.
12945 It does not let you subtract one const X* pointer from another in an arm
12946 of an if-expression whose if-part is not a constant expression */
12947 const char *g = "string";
12948 ccp = &g + (g ? g-g : 0);
12949 /* HPUX 7.0 cc rejects these. */
12952 ccp = (char const *const *) p;
12953 { /* SCO 3.2v4 cc rejects this. */
12955 char const *s = 0 ? (char *) 0 : (char const *) 0;
12959 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12960 int x[] = {25, 17};
12961 const int *foo = &x[0];
12964 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12965 typedef const int *iptr;
12969 { /* AIX XL C 1.02.0.0 rejects this saying
12970 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12971 struct s { int j; const int *ap[3]; };
12972 struct s *b; b->j = 5;
12974 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12975 const int foo = 10;
12980 if { (eval echo configure
:12981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12984 echo "configure: failed program was:" >&5
12985 cat conftest.
$ac_ext >&5
12992 echo "$ac_t""$ac_cv_c_const" 1>&6
12993 if test $ac_cv_c_const = no
; then
12994 cat >> confdefs.h
<<\EOF
13000 echo $ac_n "checking for inline""... $ac_c" 1>&6
13001 echo "configure:13002: checking for inline" >&5
13002 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13003 echo $ac_n "(cached) $ac_c" 1>&6
13006 for ac_kw
in inline __inline__ __inline
; do
13007 cat > conftest.
$ac_ext <<EOF
13008 #line 13009 "configure"
13009 #include "confdefs.h"
13015 if { (eval echo configure
:13016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13017 ac_cv_c_inline
=$ac_kw; break
13019 echo "configure: failed program was:" >&5
13020 cat conftest.
$ac_ext >&5
13027 echo "$ac_t""$ac_cv_c_inline" 1>&6
13028 case "$ac_cv_c_inline" in
13030 no
) cat >> confdefs.h
<<\EOF
13034 *) cat >> confdefs.h
<<EOF
13035 #define inline $ac_cv_c_inline
13041 echo $ac_n "checking size of char""... $ac_c" 1>&6
13042 echo "configure:13043: checking size of char" >&5
13043 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13044 echo $ac_n "(cached) $ac_c" 1>&6
13046 if test "$cross_compiling" = yes; then
13047 ac_cv_sizeof_char
=1
13049 cat > conftest.
$ac_ext <<EOF
13050 #line 13051 "configure"
13051 #include "confdefs.h"
13053 #include <sys/types.h>
13056 FILE *f=fopen("conftestval", "w");
13058 fprintf(f, "%d\n", sizeof(char));
13062 if { (eval echo configure
:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13064 ac_cv_sizeof_char
=`cat conftestval`
13066 echo "configure: failed program was:" >&5
13067 cat conftest.
$ac_ext >&5
13069 ac_cv_sizeof_char
=0
13075 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13076 cat >> confdefs.h
<<EOF
13077 #define SIZEOF_CHAR $ac_cv_sizeof_char
13081 echo $ac_n "checking size of short""... $ac_c" 1>&6
13082 echo "configure:13083: checking size of short" >&5
13083 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13084 echo $ac_n "(cached) $ac_c" 1>&6
13086 if test "$cross_compiling" = yes; then
13087 ac_cv_sizeof_short
=2
13089 cat > conftest.
$ac_ext <<EOF
13090 #line 13091 "configure"
13091 #include "confdefs.h"
13093 #include <sys/types.h>
13096 FILE *f=fopen("conftestval", "w");
13098 fprintf(f, "%d\n", sizeof(short));
13102 if { (eval echo configure
:13103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13104 ac_cv_sizeof_short
=`cat conftestval`
13106 echo "configure: failed program was:" >&5
13107 cat conftest.
$ac_ext >&5
13109 ac_cv_sizeof_short
=0
13115 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13116 cat >> confdefs.h
<<EOF
13117 #define SIZEOF_SHORT $ac_cv_sizeof_short
13121 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13122 echo "configure:13123: checking size of int *" >&5
13123 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13124 echo $ac_n "(cached) $ac_c" 1>&6
13126 if test "$cross_compiling" = yes; then
13127 ac_cv_sizeof_int_p
=4
13129 cat > conftest.
$ac_ext <<EOF
13130 #line 13131 "configure"
13131 #include "confdefs.h"
13133 #include <sys/types.h>
13136 FILE *f=fopen("conftestval", "w");
13138 fprintf(f, "%d\n", sizeof(int *));
13142 if { (eval echo configure
:13143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13144 ac_cv_sizeof_int_p
=`cat conftestval`
13146 echo "configure: failed program was:" >&5
13147 cat conftest.
$ac_ext >&5
13149 ac_cv_sizeof_int_p
=0
13155 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13156 cat >> confdefs.h
<<EOF
13157 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13161 echo $ac_n "checking size of int""... $ac_c" 1>&6
13162 echo "configure:13163: checking size of int" >&5
13163 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13164 echo $ac_n "(cached) $ac_c" 1>&6
13166 if test "$cross_compiling" = yes; then
13169 cat > conftest.
$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13173 #include <sys/types.h>
13176 FILE *f=fopen("conftestval", "w");
13178 fprintf(f, "%d\n", sizeof(int));
13182 if { (eval echo configure
:13183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13184 ac_cv_sizeof_int
=`cat conftestval`
13186 echo "configure: failed program was:" >&5
13187 cat conftest.
$ac_ext >&5
13195 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13196 cat >> confdefs.h
<<EOF
13197 #define SIZEOF_INT $ac_cv_sizeof_int
13201 echo $ac_n "checking size of long""... $ac_c" 1>&6
13202 echo "configure:13203: checking size of long" >&5
13203 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13204 echo $ac_n "(cached) $ac_c" 1>&6
13206 if test "$cross_compiling" = yes; then
13207 ac_cv_sizeof_long
=4
13209 cat > conftest.
$ac_ext <<EOF
13210 #line 13211 "configure"
13211 #include "confdefs.h"
13213 #include <sys/types.h>
13216 FILE *f=fopen("conftestval", "w");
13218 fprintf(f, "%d\n", sizeof(long));
13222 if { (eval echo configure
:13223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13224 ac_cv_sizeof_long
=`cat conftestval`
13226 echo "configure: failed program was:" >&5
13227 cat conftest.
$ac_ext >&5
13229 ac_cv_sizeof_long
=0
13235 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13236 cat >> confdefs.h
<<EOF
13237 #define SIZEOF_LONG $ac_cv_sizeof_long
13241 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13242 echo "configure:13243: checking size of long long" >&5
13243 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13244 echo $ac_n "(cached) $ac_c" 1>&6
13246 if test "$cross_compiling" = yes; then
13247 ac_cv_sizeof_long_long
=0
13249 cat > conftest.
$ac_ext <<EOF
13250 #line 13251 "configure"
13251 #include "confdefs.h"
13253 #include <sys/types.h>
13256 FILE *f=fopen("conftestval", "w");
13258 fprintf(f, "%d\n", sizeof(long long));
13262 if { (eval echo configure
:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13264 ac_cv_sizeof_long_long
=`cat conftestval`
13266 echo "configure: failed program was:" >&5
13267 cat conftest.
$ac_ext >&5
13269 ac_cv_sizeof_long_long
=0
13275 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13276 cat >> confdefs.h
<<EOF
13277 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13282 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13283 echo "configure:13284: checking size of wchar_t" >&5
13284 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13288 if test "$cross_compiling" = yes; then
13289 wx_cv_sizeof_wchar_t
=4
13292 cat > conftest.
$ac_ext <<EOF
13293 #line 13294 "configure"
13294 #include "confdefs.h"
13296 #ifdef HAVE_WCHAR_H
13297 # include <wchar.h>
13299 #ifdef HAVE_STDLIB_H
13300 # include <stdlib.h>
13305 FILE *f=fopen("conftestval", "w");
13307 fprintf(f, "%i", sizeof(wchar_t));
13312 if { (eval echo configure
:13313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13314 wx_cv_sizeof_wchar_t
=`cat conftestval`
13316 echo "configure: failed program was:" >&5
13317 cat conftest.
$ac_ext >&5
13319 wx_cv_sizeof_wchar_t
=0
13327 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13329 cat >> confdefs.h
<<EOF
13330 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13334 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13335 echo "configure:13336: checking whether byte ordering is bigendian" >&5
13336 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13337 echo $ac_n "(cached) $ac_c" 1>&6
13339 ac_cv_c_bigendian
=unknown
13340 # See if sys/param.h defines the BYTE_ORDER macro.
13341 cat > conftest.
$ac_ext <<EOF
13342 #line 13343 "configure"
13343 #include "confdefs.h"
13344 #include <sys/types.h>
13345 #include <sys/param.h>
13348 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13349 bogus endian macros
13353 if { (eval echo configure
:13354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13355 # It does; now see whether it defined to BIG_ENDIAN or not.
13356 cat > conftest.
$ac_ext <<EOF
13357 #line 13358 "configure"
13358 #include "confdefs.h"
13359 #include <sys/types.h>
13360 #include <sys/param.h>
13363 #if BYTE_ORDER != BIG_ENDIAN
13368 if { (eval echo configure
:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13370 ac_cv_c_bigendian
=yes
13372 echo "configure: failed program was:" >&5
13373 cat conftest.
$ac_ext >&5
13375 ac_cv_c_bigendian
=no
13379 echo "configure: failed program was:" >&5
13380 cat conftest.
$ac_ext >&5
13383 if test $ac_cv_c_bigendian = unknown
; then
13384 if test "$cross_compiling" = yes; then
13385 ac_cv_c_bigendian
=unknown
13387 cat > conftest.
$ac_ext <<EOF
13388 #line 13389 "configure"
13389 #include "confdefs.h"
13391 /* Are we little or big endian? From Harbison&Steele. */
13395 char c[sizeof (long)];
13398 exit (u.c[sizeof (long) - 1] == 1);
13401 if { (eval echo configure
:13402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13403 ac_cv_c_bigendian
=no
13405 echo "configure: failed program was:" >&5
13406 cat conftest.
$ac_ext >&5
13408 ac_cv_c_bigendian
=yes
13416 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13417 if test $ac_cv_c_bigendian = unknown
; then
13418 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
13420 if test $ac_cv_c_bigendian = yes; then
13421 cat >> confdefs.h
<<\EOF
13422 #define WORDS_BIGENDIAN 1
13428 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13429 echo "configure:13430: checking how to run the C++ preprocessor" >&5
13430 if test -z "$CXXCPP"; then
13431 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13432 echo $ac_n "(cached) $ac_c" 1>&6
13435 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13436 ac_cpp
='$CXXCPP $CPPFLAGS'
13437 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13438 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13439 cross_compiling
=$ac_cv_prog_cxx_cross
13440 CXXCPP
="${CXX-g++} -E"
13441 cat > conftest.
$ac_ext <<EOF
13442 #line 13443 "configure"
13443 #include "confdefs.h"
13444 #include <stdlib.h>
13446 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13447 { (eval echo configure
:13448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13448 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13449 if test -z "$ac_err"; then
13453 echo "configure: failed program was:" >&5
13454 cat conftest.
$ac_ext >&5
13459 ac_cv_prog_CXXCPP
="$CXXCPP"
13461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13462 ac_cpp
='$CXXCPP $CPPFLAGS'
13463 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13464 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13465 cross_compiling
=$ac_cv_prog_cxx_cross
13468 CXXCPP
="$ac_cv_prog_CXXCPP"
13469 echo "$ac_t""$CXXCPP" 1>&6
13472 if test "$cross_compiling" = "yes"; then
13473 cat >> confdefs.h
<<\EOF
13474 #define wxUSE_IOSTREAMH 1
13480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13481 ac_cpp
='$CXXCPP $CPPFLAGS'
13482 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13483 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13484 cross_compiling
=$ac_cv_prog_cxx_cross
13487 for ac_hdr
in iostream
13489 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13490 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13491 echo "configure:13492: checking for $ac_hdr" >&5
13492 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13493 echo $ac_n "(cached) $ac_c" 1>&6
13495 cat > conftest.
$ac_ext <<EOF
13496 #line 13497 "configure"
13497 #include "confdefs.h"
13500 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13501 { (eval echo configure
:13502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13502 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13503 if test -z "$ac_err"; then
13505 eval "ac_cv_header_$ac_safe=yes"
13508 echo "configure: failed program was:" >&5
13509 cat conftest.
$ac_ext >&5
13511 eval "ac_cv_header_$ac_safe=no"
13515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13516 echo "$ac_t""yes" 1>&6
13517 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13518 cat >> confdefs.h
<<EOF
13519 #define $ac_tr_hdr 1
13523 echo "$ac_t""no" 1>&6
13528 if test "$ac_cv_header_iostream" = "yes" ; then
13531 cat >> confdefs.h
<<\EOF
13532 #define wxUSE_IOSTREAMH 1
13538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13539 ac_cpp
='$CPP $CPPFLAGS'
13540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13542 cross_compiling
=$ac_cv_prog_cc_cross
13548 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13549 echo "configure:13550: checking if C++ compiler supports bool" >&5
13550 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13551 echo $ac_n "(cached) $ac_c" 1>&6
13556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13557 ac_cpp
='$CXXCPP $CPPFLAGS'
13558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13560 cross_compiling
=$ac_cv_prog_cxx_cross
13563 cat > conftest.
$ac_ext <<EOF
13564 #line 13565 "configure"
13565 #include "confdefs.h"
13576 if { (eval echo configure
:13577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13582 echo "configure: failed program was:" >&5
13583 cat conftest.
$ac_ext >&5
13593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13594 ac_cpp
='$CPP $CPPFLAGS'
13595 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13596 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13597 cross_compiling
=$ac_cv_prog_cc_cross
13602 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13604 if test "$wx_cv_cpp_bool" = "yes"; then
13605 cat >> confdefs.h
<<\EOF
13606 #define HAVE_BOOL 1
13613 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13614 echo "configure:13615: checking for wcslen in -lc" >&5
13615 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13617 echo $ac_n "(cached) $ac_c" 1>&6
13619 ac_save_LIBS
="$LIBS"
13621 cat > conftest.
$ac_ext <<EOF
13622 #line 13623 "configure"
13623 #include "confdefs.h"
13624 /* Override any gcc2 internal prototype to avoid an error. */
13625 /* We use char because int might match the return type of a gcc2
13626 builtin and then its argument prototype would still apply. */
13633 if { (eval echo configure
:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13635 eval "ac_cv_lib_$ac_lib_var=yes"
13637 echo "configure: failed program was:" >&5
13638 cat conftest.
$ac_ext >&5
13640 eval "ac_cv_lib_$ac_lib_var=no"
13643 LIBS
="$ac_save_LIBS"
13646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13647 echo "$ac_t""yes" 1>&6
13649 cat >> confdefs.h
<<\EOF
13650 #define HAVE_WCSLEN 1
13656 echo "$ac_t""no" 1>&6
13658 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13659 echo "configure:13660: checking for wcslen in -lw" >&5
13660 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13662 echo $ac_n "(cached) $ac_c" 1>&6
13664 ac_save_LIBS
="$LIBS"
13666 cat > conftest.
$ac_ext <<EOF
13667 #line 13668 "configure"
13668 #include "confdefs.h"
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 /* We use char because int might match the return type of a gcc2
13671 builtin and then its argument prototype would still apply. */
13678 if { (eval echo configure
:13679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13680 eval "ac_cv_lib_$ac_lib_var=yes"
13682 echo "configure: failed program was:" >&5
13683 cat conftest.
$ac_ext >&5
13685 eval "ac_cv_lib_$ac_lib_var=no"
13688 LIBS
="$ac_save_LIBS"
13691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13692 echo "$ac_t""yes" 1>&6
13694 cat >> confdefs.h
<<\EOF
13695 #define HAVE_WCSLEN 1
13701 echo "$ac_t""no" 1>&6
13703 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13704 echo "configure:13705: checking for wcslen in -lmsvcrt" >&5
13705 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13707 echo $ac_n "(cached) $ac_c" 1>&6
13709 ac_save_LIBS
="$LIBS"
13710 LIBS
="-lmsvcrt $LIBS"
13711 cat > conftest.
$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13723 if { (eval echo configure
:13724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13725 eval "ac_cv_lib_$ac_lib_var=yes"
13727 echo "configure: failed program was:" >&5
13728 cat conftest.
$ac_ext >&5
13730 eval "ac_cv_lib_$ac_lib_var=no"
13733 LIBS
="$ac_save_LIBS"
13736 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13737 echo "$ac_t""yes" 1>&6
13739 cat >> confdefs.h
<<\EOF
13740 #define HAVE_WCSLEN 1
13746 echo "$ac_t""no" 1>&6
13756 for ac_func
in wcsrtombs
13758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13759 echo "configure:13760: checking for $ac_func" >&5
13760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13761 echo $ac_n "(cached) $ac_c" 1>&6
13763 cat > conftest.
$ac_ext <<EOF
13764 #line 13765 "configure"
13765 #include "confdefs.h"
13766 /* System header to define __stub macros and hopefully few prototypes,
13767 which can conflict with char $ac_func(); below. */
13768 #include <assert.h>
13769 /* Override any gcc2 internal prototype to avoid an error. */
13770 /* We use char because int might match the return type of a gcc2
13771 builtin and then its argument prototype would still apply. */
13776 /* The GNU C library defines this for functions which it implements
13777 to always fail with ENOSYS. Some functions are actually named
13778 something starting with __ and the normal name is an alias. */
13779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13787 if { (eval echo configure
:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13789 eval "ac_cv_func_$ac_func=yes"
13791 echo "configure: failed program was:" >&5
13792 cat conftest.
$ac_ext >&5
13794 eval "ac_cv_func_$ac_func=no"
13799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13800 echo "$ac_t""yes" 1>&6
13801 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13802 cat >> confdefs.h
<<EOF
13803 #define $ac_tr_func 1
13807 echo "$ac_t""no" 1>&6
13812 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13813 echo "configure:13814: checking for vprintf" >&5
13814 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 cat > conftest.
$ac_ext <<EOF
13818 #line 13819 "configure"
13819 #include "confdefs.h"
13820 /* System header to define __stub macros and hopefully few prototypes,
13821 which can conflict with char vprintf(); below. */
13822 #include <assert.h>
13823 /* Override any gcc2 internal prototype to avoid an error. */
13824 /* We use char because int might match the return type of a gcc2
13825 builtin and then its argument prototype would still apply. */
13830 /* The GNU C library defines this for functions which it implements
13831 to always fail with ENOSYS. Some functions are actually named
13832 something starting with __ and the normal name is an alias. */
13833 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13841 if { (eval echo configure
:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13843 eval "ac_cv_func_vprintf=yes"
13845 echo "configure: failed program was:" >&5
13846 cat conftest.
$ac_ext >&5
13848 eval "ac_cv_func_vprintf=no"
13853 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13854 echo "$ac_t""yes" 1>&6
13855 cat >> confdefs.h
<<\EOF
13856 #define HAVE_VPRINTF 1
13860 echo "$ac_t""no" 1>&6
13863 if test "$ac_cv_func_vprintf" != yes; then
13864 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13865 echo "configure:13866: checking for _doprnt" >&5
13866 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13867 echo $ac_n "(cached) $ac_c" 1>&6
13869 cat > conftest.
$ac_ext <<EOF
13870 #line 13871 "configure"
13871 #include "confdefs.h"
13872 /* System header to define __stub macros and hopefully few prototypes,
13873 which can conflict with char _doprnt(); below. */
13874 #include <assert.h>
13875 /* Override any gcc2 internal prototype to avoid an error. */
13876 /* We use char because int might match the return type of a gcc2
13877 builtin and then its argument prototype would still apply. */
13882 /* The GNU C library defines this for functions which it implements
13883 to always fail with ENOSYS. Some functions are actually named
13884 something starting with __ and the normal name is an alias. */
13885 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13893 if { (eval echo configure
:13894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13895 eval "ac_cv_func__doprnt=yes"
13897 echo "configure: failed program was:" >&5
13898 cat conftest.
$ac_ext >&5
13900 eval "ac_cv_func__doprnt=no"
13905 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13906 echo "$ac_t""yes" 1>&6
13907 cat >> confdefs.h
<<\EOF
13908 #define HAVE_DOPRNT 1
13912 echo "$ac_t""no" 1>&6
13922 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13923 echo "configure:13924: checking for vsnprintf" >&5
13924 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13925 echo $ac_n "(cached) $ac_c" 1>&6
13928 cat > conftest.
$ac_ext <<EOF
13929 #line 13930 "configure"
13930 #include "confdefs.h"
13933 #include <stdarg.h>
13937 int wx_test_vsnprintf(const char *, ...);
13939 wx_test_vsnprintf("%s");
13943 int wx_test_vsnprintf(const char *fmt, ...)
13948 va_start(argp, fmt);
13949 vsnprintf(s, 42, fmt, argp);
13954 if { (eval echo configure
:13955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13957 wx_cv_func_vsnprintf
=yes
13960 echo "configure: failed program was:" >&5
13961 cat conftest.
$ac_ext >&5
13964 cat > conftest.
$ac_ext <<EOF
13965 #line 13966 "configure"
13966 #include "confdefs.h"
13969 #include <stdarg.h>
13973 int wx_test_vsnprintf(const char *, ...);
13975 wx_test_vsnprintf("%s");
13979 int wx_test_vsnprintf(const char *fmt, ...)
13984 va_start(argp, fmt);
13985 _vsnprintf(s, 42, fmt, argp);
13990 if { (eval echo configure
:13991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13993 wx_cv_func_vsnprintf
=yes
13996 echo "configure: failed program was:" >&5
13997 cat conftest.
$ac_ext >&5
14000 wx_cv_func_vsnprintf
=no
14010 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14012 if test "$wx_cv_func_vsnprintf" = yes; then
14013 cat >> confdefs.h
<<\EOF
14014 #define HAVE_VSNPRINTF 1
14018 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14021 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14022 echo "configure:14023: checking for vsscanf" >&5
14023 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14024 echo $ac_n "(cached) $ac_c" 1>&6
14027 cat > conftest.
$ac_ext <<EOF
14028 #line 14029 "configure"
14029 #include "confdefs.h"
14032 #include <stdarg.h>
14036 int wx_test_vsscanf(const char *, ...);
14038 wx_test_vsscanf("%d");
14042 int wx_test_vsscanf(const char *fmt, ...)
14045 va_start(argp, fmt);
14046 vsscanf("42", fmt, argp);
14051 if { (eval echo configure
:14052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14054 wx_cv_func_vsscanf
=yes
14057 echo "configure: failed program was:" >&5
14058 cat conftest.
$ac_ext >&5
14061 wx_cv_func_vsscanf
=no
14068 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14070 if test "$wx_cv_func_vsscanf" = yes; then
14071 cat >> confdefs.h
<<\EOF
14072 #define HAVE_VSSCANF 1
14077 if test "$TOOLKIT" != "MSW"; then
14082 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14083 ac_cpp
='$CXXCPP $CPPFLAGS'
14084 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14085 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14086 cross_compiling
=$ac_cv_prog_cxx_cross
14088 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14089 echo "configure:14090: checking if iconv() takes char**" >&5
14090 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14091 echo $ac_n "(cached) $ac_c" 1>&6
14094 cat > conftest.
$ac_ext <<EOF
14095 #line 14096 "configure"
14096 #include "confdefs.h"
14100 char **inbuf, **outbuf;
14102 size_t insz, outsz;
14103 iconv(cd, inbuf, &insz, outbuf, &outsz);
14107 if { (eval echo configure
:14108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14109 wx_cv_iconv_takes_char
=yes
14111 echo "configure: failed program was:" >&5
14112 cat conftest.
$ac_ext >&5
14114 wx_cv_iconv_takes_char
=no
14120 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14123 ac_cpp
='$CPP $CPPFLAGS'
14124 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14125 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14126 cross_compiling
=$ac_cv_prog_cc_cross
14128 if test "$wx_cv_iconv_takes_char" = yes ; then
14129 cat >> confdefs.h
<<\EOF
14130 #define WX_ICONV_TAKES_CHAR 1
14136 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14137 for ac_func
in sigaction
14139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14140 echo "configure:14141: checking for $ac_func" >&5
14141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14142 echo $ac_n "(cached) $ac_c" 1>&6
14144 cat > conftest.
$ac_ext <<EOF
14145 #line 14146 "configure"
14146 #include "confdefs.h"
14147 /* System header to define __stub macros and hopefully few prototypes,
14148 which can conflict with char $ac_func(); below. */
14149 #include <assert.h>
14150 /* Override any gcc2 internal prototype to avoid an error. */
14151 /* We use char because int might match the return type of a gcc2
14152 builtin and then its argument prototype would still apply. */
14157 /* The GNU C library defines this for functions which it implements
14158 to always fail with ENOSYS. Some functions are actually named
14159 something starting with __ and the normal name is an alias. */
14160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14168 if { (eval echo configure
:14169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14170 eval "ac_cv_func_$ac_func=yes"
14172 echo "configure: failed program was:" >&5
14173 cat conftest.
$ac_ext >&5
14175 eval "ac_cv_func_$ac_func=no"
14180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14181 echo "$ac_t""yes" 1>&6
14182 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14183 cat >> confdefs.h
<<EOF
14184 #define $ac_tr_func 1
14188 echo "$ac_t""no" 1>&6
14193 if test "$ac_cv_func_sigaction" = "no"; then
14194 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14195 wxUSE_ON_FATAL_EXCEPTION
=no
14198 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14202 ac_cpp
='$CXXCPP $CPPFLAGS'
14203 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14204 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14205 cross_compiling
=$ac_cv_prog_cxx_cross
14208 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14209 echo "configure:14210: checking for sa_handler type" >&5
14210 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14214 cat > conftest.
$ac_ext <<EOF
14215 #line 14216 "configure"
14216 #include "confdefs.h"
14217 #include <signal.h>
14220 extern void testSigHandler(int);
14222 struct sigaction sa;
14223 sa.sa_handler = testSigHandler;
14227 if { (eval echo configure
:14228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14230 wx_cv_type_sa_handler
=int
14233 echo "configure: failed program was:" >&5
14234 cat conftest.
$ac_ext >&5
14237 wx_cv_type_sa_handler
=void
14244 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14248 ac_cpp
='$CPP $CPPFLAGS'
14249 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14250 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14251 cross_compiling
=$ac_cv_prog_cc_cross
14254 cat >> confdefs.h
<<EOF
14255 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14261 for ac_func
in vfork
14263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14264 echo "configure:14265: checking for $ac_func" >&5
14265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14266 echo $ac_n "(cached) $ac_c" 1>&6
14268 cat > conftest.
$ac_ext <<EOF
14269 #line 14270 "configure"
14270 #include "confdefs.h"
14271 /* System header to define __stub macros and hopefully few prototypes,
14272 which can conflict with char $ac_func(); below. */
14273 #include <assert.h>
14274 /* Override any gcc2 internal prototype to avoid an error. */
14275 /* We use char because int might match the return type of a gcc2
14276 builtin and then its argument prototype would still apply. */
14281 /* The GNU C library defines this for functions which it implements
14282 to always fail with ENOSYS. Some functions are actually named
14283 something starting with __ and the normal name is an alias. */
14284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14292 if { (eval echo configure
:14293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14294 eval "ac_cv_func_$ac_func=yes"
14296 echo "configure: failed program was:" >&5
14297 cat conftest.
$ac_ext >&5
14299 eval "ac_cv_func_$ac_func=no"
14304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14305 echo "$ac_t""yes" 1>&6
14306 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14307 cat >> confdefs.h
<<EOF
14308 #define $ac_tr_func 1
14312 echo "$ac_t""no" 1>&6
14317 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14318 echo "configure:14319: checking for statfs" >&5
14319 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14320 echo $ac_n "(cached) $ac_c" 1>&6
14322 cat > conftest.
$ac_ext <<EOF
14323 #line 14324 "configure"
14324 #include "confdefs.h"
14326 #if defined(__BSD__)
14327 #include <sys/param.h>
14328 #include <sys/mount.h>
14330 #include <sys/vfs.h>
14344 if { (eval echo configure
:14345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14347 wx_cv_func_statfs
=yes
14350 echo "configure: failed program was:" >&5
14351 cat conftest.
$ac_ext >&5
14354 wx_cv_func_statfs
=no
14362 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14364 if test "$wx_cv_func_statfs" = "yes"; then
14365 cat >> confdefs.h
<<\EOF
14366 #define HAVE_STATFS 1
14370 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14371 echo "configure:14372: checking for statvfs" >&5
14372 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14373 echo $ac_n "(cached) $ac_c" 1>&6
14375 cat > conftest.
$ac_ext <<EOF
14376 #line 14377 "configure"
14377 #include "confdefs.h"
14379 #include <sys/statvfs.h>
14392 if { (eval echo configure
:14393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14395 wx_cv_func_statvfs
=yes
14398 echo "configure: failed program was:" >&5
14399 cat conftest.
$ac_ext >&5
14402 wx_cv_func_statvfs
=no
14410 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14412 if test "$wx_cv_func_statvfs" = "yes"; then
14413 cat >> confdefs.h
<<\EOF
14414 #define HAVE_STATVFS 1
14418 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14422 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14423 for ac_func
in fcntl flock
14425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14426 echo "configure:14427: checking for $ac_func" >&5
14427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14428 echo $ac_n "(cached) $ac_c" 1>&6
14430 cat > conftest.
$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14433 /* System header to define __stub macros and hopefully few prototypes,
14434 which can conflict with char $ac_func(); below. */
14435 #include <assert.h>
14436 /* Override any gcc2 internal prototype to avoid an error. */
14437 /* We use char because int might match the return type of a gcc2
14438 builtin and then its argument prototype would still apply. */
14443 /* The GNU C library defines this for functions which it implements
14444 to always fail with ENOSYS. Some functions are actually named
14445 something starting with __ and the normal name is an alias. */
14446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14454 if { (eval echo configure
:14455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14456 eval "ac_cv_func_$ac_func=yes"
14458 echo "configure: failed program was:" >&5
14459 cat conftest.
$ac_ext >&5
14461 eval "ac_cv_func_$ac_func=no"
14466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14467 echo "$ac_t""yes" 1>&6
14468 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14469 cat >> confdefs.h
<<EOF
14470 #define $ac_tr_func 1
14474 echo "$ac_t""no" 1>&6
14479 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14480 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14481 wxUSE_SNGLINST_CHECKER
=no
14485 for ac_func
in timegm
14487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14488 echo "configure:14489: checking for $ac_func" >&5
14489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14490 echo $ac_n "(cached) $ac_c" 1>&6
14492 cat > conftest.
$ac_ext <<EOF
14493 #line 14494 "configure"
14494 #include "confdefs.h"
14495 /* System header to define __stub macros and hopefully few prototypes,
14496 which can conflict with char $ac_func(); below. */
14497 #include <assert.h>
14498 /* Override any gcc2 internal prototype to avoid an error. */
14499 /* We use char because int might match the return type of a gcc2
14500 builtin and then its argument prototype would still apply. */
14505 /* The GNU C library defines this for functions which it implements
14506 to always fail with ENOSYS. Some functions are actually named
14507 something starting with __ and the normal name is an alias. */
14508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14516 if { (eval echo configure
:14517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14518 eval "ac_cv_func_$ac_func=yes"
14520 echo "configure: failed program was:" >&5
14521 cat conftest.
$ac_ext >&5
14523 eval "ac_cv_func_$ac_func=no"
14528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14529 echo "$ac_t""yes" 1>&6
14530 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14531 cat >> confdefs.h
<<EOF
14532 #define $ac_tr_func 1
14536 echo "$ac_t""no" 1>&6
14541 for ac_func
in putenv setenv
14543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14544 echo "configure:14545: checking for $ac_func" >&5
14545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14546 echo $ac_n "(cached) $ac_c" 1>&6
14548 cat > conftest.
$ac_ext <<EOF
14549 #line 14550 "configure"
14550 #include "confdefs.h"
14551 /* System header to define __stub macros and hopefully few prototypes,
14552 which can conflict with char $ac_func(); below. */
14553 #include <assert.h>
14554 /* Override any gcc2 internal prototype to avoid an error. */
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14561 /* The GNU C library defines this for functions which it implements
14562 to always fail with ENOSYS. Some functions are actually named
14563 something starting with __ and the normal name is an alias. */
14564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14572 if { (eval echo configure
:14573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14574 eval "ac_cv_func_$ac_func=yes"
14576 echo "configure: failed program was:" >&5
14577 cat conftest.
$ac_ext >&5
14579 eval "ac_cv_func_$ac_func=no"
14584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14585 echo "$ac_t""yes" 1>&6
14586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14587 cat >> confdefs.h
<<EOF
14588 #define $ac_tr_func 1
14592 echo "$ac_t""no" 1>&6
14597 HAVE_SOME_SLEEP_FUNC
=0
14598 if test "$USE_BEOS" = 1; then
14599 cat >> confdefs.h
<<\EOF
14600 #define HAVE_SLEEP 1
14603 HAVE_SOME_SLEEP_FUNC
=1
14606 if test "$USE_DARWIN" = 1; then
14607 cat >> confdefs.h
<<\EOF
14608 #define HAVE_USLEEP 1
14611 HAVE_SOME_SLEEP_FUNC
=1
14614 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14616 for ac_func
in nanosleep
14618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14619 echo "configure:14620: checking for $ac_func" >&5
14620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14621 echo $ac_n "(cached) $ac_c" 1>&6
14623 cat > conftest.
$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14626 /* System header to define __stub macros and hopefully few prototypes,
14627 which can conflict with char $ac_func(); below. */
14628 #include <assert.h>
14629 /* Override any gcc2 internal prototype to avoid an error. */
14630 /* We use char because int might match the return type of a gcc2
14631 builtin and then its argument prototype would still apply. */
14636 /* The GNU C library defines this for functions which it implements
14637 to always fail with ENOSYS. Some functions are actually named
14638 something starting with __ and the normal name is an alias. */
14639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14647 if { (eval echo configure
:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14649 eval "ac_cv_func_$ac_func=yes"
14651 echo "configure: failed program was:" >&5
14652 cat conftest.
$ac_ext >&5
14654 eval "ac_cv_func_$ac_func=no"
14659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14660 echo "$ac_t""yes" 1>&6
14661 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14662 cat >> confdefs.h
<<EOF
14663 #define $ac_tr_func 1
14665 cat >> confdefs.h
<<\EOF
14666 #define HAVE_NANOSLEEP 1
14670 echo "$ac_t""no" 1>&6
14671 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14672 echo "configure:14673: checking for nanosleep in -lposix4" >&5
14673 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14675 echo $ac_n "(cached) $ac_c" 1>&6
14677 ac_save_LIBS
="$LIBS"
14678 LIBS
="-lposix4 $LIBS"
14679 cat > conftest.
$ac_ext <<EOF
14680 #line 14681 "configure"
14681 #include "confdefs.h"
14682 /* Override any gcc2 internal prototype to avoid an error. */
14683 /* We use char because int might match the return type of a gcc2
14684 builtin and then its argument prototype would still apply. */
14691 if { (eval echo configure
:14692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14693 eval "ac_cv_lib_$ac_lib_var=yes"
14695 echo "configure: failed program was:" >&5
14696 cat conftest.
$ac_ext >&5
14698 eval "ac_cv_lib_$ac_lib_var=no"
14701 LIBS
="$ac_save_LIBS"
14704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14705 echo "$ac_t""yes" 1>&6
14707 cat >> confdefs.h
<<\EOF
14708 #define HAVE_NANOSLEEP 1
14711 POSIX4_LINK
=" -lposix4"
14714 echo "$ac_t""no" 1>&6
14716 for ac_func
in usleep
14718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14719 echo "configure:14720: checking for $ac_func" >&5
14720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14721 echo $ac_n "(cached) $ac_c" 1>&6
14723 cat > conftest.
$ac_ext <<EOF
14724 #line 14725 "configure"
14725 #include "confdefs.h"
14726 /* System header to define __stub macros and hopefully few prototypes,
14727 which can conflict with char $ac_func(); below. */
14728 #include <assert.h>
14729 /* Override any gcc2 internal prototype to avoid an error. */
14730 /* We use char because int might match the return type of a gcc2
14731 builtin and then its argument prototype would still apply. */
14736 /* The GNU C library defines this for functions which it implements
14737 to always fail with ENOSYS. Some functions are actually named
14738 something starting with __ and the normal name is an alias. */
14739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14747 if { (eval echo configure
:14748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14749 eval "ac_cv_func_$ac_func=yes"
14751 echo "configure: failed program was:" >&5
14752 cat conftest.
$ac_ext >&5
14754 eval "ac_cv_func_$ac_func=no"
14759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14760 echo "$ac_t""yes" 1>&6
14761 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14762 cat >> confdefs.h
<<EOF
14763 #define $ac_tr_func 1
14765 cat >> confdefs.h
<<\EOF
14766 #define HAVE_USLEEP 1
14770 echo "$ac_t""no" 1>&6
14771 echo "configure: warning: wxSleep() function will not work" 1>&2
14787 for ac_func
in uname gethostname
14789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14790 echo "configure:14791: checking for $ac_func" >&5
14791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 cat > conftest.
$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 /* System header to define __stub macros and hopefully few prototypes,
14798 which can conflict with char $ac_func(); below. */
14799 #include <assert.h>
14800 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14807 /* The GNU C library defines this for functions which it implements
14808 to always fail with ENOSYS. Some functions are actually named
14809 something starting with __ and the normal name is an alias. */
14810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14818 if { (eval echo configure
:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14820 eval "ac_cv_func_$ac_func=yes"
14822 echo "configure: failed program was:" >&5
14823 cat conftest.
$ac_ext >&5
14825 eval "ac_cv_func_$ac_func=no"
14830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14831 echo "$ac_t""yes" 1>&6
14832 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14833 cat >> confdefs.h
<<EOF
14834 #define $ac_tr_func 1
14838 echo "$ac_t""no" 1>&6
14845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14846 ac_cpp
='$CXXCPP $CPPFLAGS'
14847 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14848 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14849 cross_compiling
=$ac_cv_prog_cxx_cross
14852 for ac_func
in strtok_r
14854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14855 echo "configure:14856: checking for $ac_func" >&5
14856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14857 echo $ac_n "(cached) $ac_c" 1>&6
14859 cat > conftest.
$ac_ext <<EOF
14860 #line 14861 "configure"
14861 #include "confdefs.h"
14862 /* System header to define __stub macros and hopefully few prototypes,
14863 which can conflict with char $ac_func(); below. */
14864 #include <assert.h>
14865 /* Override any gcc2 internal prototype to avoid an error. */
14869 /* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */
14875 /* The GNU C library defines this for functions which it implements
14876 to always fail with ENOSYS. Some functions are actually named
14877 something starting with __ and the normal name is an alias. */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14886 if { (eval echo configure
:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14888 eval "ac_cv_func_$ac_func=yes"
14890 echo "configure: failed program was:" >&5
14891 cat conftest.
$ac_ext >&5
14893 eval "ac_cv_func_$ac_func=no"
14898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14899 echo "$ac_t""yes" 1>&6
14900 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14901 cat >> confdefs.h
<<EOF
14902 #define $ac_tr_func 1
14906 echo "$ac_t""no" 1>&6
14912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14913 ac_cpp
='$CPP $CPPFLAGS'
14914 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14915 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14916 cross_compiling
=$ac_cv_prog_cc_cross
14920 for ac_func
in inet_addr
14922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14923 echo "configure:14924: checking for $ac_func" >&5
14924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14925 echo $ac_n "(cached) $ac_c" 1>&6
14927 cat > conftest.
$ac_ext <<EOF
14928 #line 14929 "configure"
14929 #include "confdefs.h"
14930 /* System header to define __stub macros and hopefully few prototypes,
14931 which can conflict with char $ac_func(); below. */
14932 #include <assert.h>
14933 /* Override any gcc2 internal prototype to avoid an error. */
14934 /* We use char because int might match the return type of a gcc2
14935 builtin and then its argument prototype would still apply. */
14940 /* The GNU C library defines this for functions which it implements
14941 to always fail with ENOSYS. Some functions are actually named
14942 something starting with __ and the normal name is an alias. */
14943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14951 if { (eval echo configure
:14952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14953 eval "ac_cv_func_$ac_func=yes"
14955 echo "configure: failed program was:" >&5
14956 cat conftest.
$ac_ext >&5
14958 eval "ac_cv_func_$ac_func=no"
14963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14964 echo "$ac_t""yes" 1>&6
14965 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14966 cat >> confdefs.h
<<EOF
14967 #define $ac_tr_func 1
14969 cat >> confdefs.h
<<\EOF
14970 #define HAVE_INET_ADDR 1
14974 echo "$ac_t""no" 1>&6
14975 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14976 echo "configure:14977: checking for inet_addr in -lnsl" >&5
14977 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14979 echo $ac_n "(cached) $ac_c" 1>&6
14981 ac_save_LIBS
="$LIBS"
14983 cat > conftest.
$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14986 /* Override any gcc2 internal prototype to avoid an error. */
14987 /* We use char because int might match the return type of a gcc2
14988 builtin and then its argument prototype would still apply. */
14995 if { (eval echo configure
:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14997 eval "ac_cv_lib_$ac_lib_var=yes"
14999 echo "configure: failed program was:" >&5
15000 cat conftest.
$ac_ext >&5
15002 eval "ac_cv_lib_$ac_lib_var=no"
15005 LIBS
="$ac_save_LIBS"
15008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15009 echo "$ac_t""yes" 1>&6
15012 echo "$ac_t""no" 1>&6
15013 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15014 echo "configure:15015: checking for inet_addr in -lresolv" >&5
15015 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15017 echo $ac_n "(cached) $ac_c" 1>&6
15019 ac_save_LIBS
="$LIBS"
15020 LIBS
="-lresolv $LIBS"
15021 cat > conftest.
$ac_ext <<EOF
15022 #line 15023 "configure"
15023 #include "confdefs.h"
15024 /* Override any gcc2 internal prototype to avoid an error. */
15025 /* We use char because int might match the return type of a gcc2
15026 builtin and then its argument prototype would still apply. */
15033 if { (eval echo configure
:15034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15035 eval "ac_cv_lib_$ac_lib_var=yes"
15037 echo "configure: failed program was:" >&5
15038 cat conftest.
$ac_ext >&5
15040 eval "ac_cv_lib_$ac_lib_var=no"
15043 LIBS
="$ac_save_LIBS"
15046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15047 echo "$ac_t""yes" 1>&6
15051 echo "$ac_t""no" 1>&6
15063 for ac_func
in inet_aton
15065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15066 echo "configure:15067: checking for $ac_func" >&5
15067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15068 echo $ac_n "(cached) $ac_c" 1>&6
15070 cat > conftest.
$ac_ext <<EOF
15071 #line 15072 "configure"
15072 #include "confdefs.h"
15073 /* System header to define __stub macros and hopefully few prototypes,
15074 which can conflict with char $ac_func(); below. */
15075 #include <assert.h>
15076 /* Override any gcc2 internal prototype to avoid an error. */
15077 /* We use char because int might match the return type of a gcc2
15078 builtin and then its argument prototype would still apply. */
15083 /* The GNU C library defines this for functions which it implements
15084 to always fail with ENOSYS. Some functions are actually named
15085 something starting with __ and the normal name is an alias. */
15086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15094 if { (eval echo configure
:15095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15096 eval "ac_cv_func_$ac_func=yes"
15098 echo "configure: failed program was:" >&5
15099 cat conftest.
$ac_ext >&5
15101 eval "ac_cv_func_$ac_func=no"
15106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15107 echo "$ac_t""yes" 1>&6
15108 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15109 cat >> confdefs.h
<<EOF
15110 #define $ac_tr_func 1
15112 cat >> confdefs.h
<<\EOF
15113 #define HAVE_INET_ATON 1
15117 echo "$ac_t""no" 1>&6
15118 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15119 echo "configure:15120: checking for inet_aton in -l$INET_LINK" >&5
15120 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15122 echo $ac_n "(cached) $ac_c" 1>&6
15124 ac_save_LIBS
="$LIBS"
15125 LIBS
="-l$INET_LINK $LIBS"
15126 cat > conftest.
$ac_ext <<EOF
15127 #line 15128 "configure"
15128 #include "confdefs.h"
15129 /* Override any gcc2 internal prototype to avoid an error. */
15130 /* We use char because int might match the return type of a gcc2
15131 builtin and then its argument prototype would still apply. */
15138 if { (eval echo configure
:15139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15140 eval "ac_cv_lib_$ac_lib_var=yes"
15142 echo "configure: failed program was:" >&5
15143 cat conftest.
$ac_ext >&5
15145 eval "ac_cv_lib_$ac_lib_var=no"
15148 LIBS
="$ac_save_LIBS"
15151 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15152 echo "$ac_t""yes" 1>&6
15153 cat >> confdefs.h
<<\EOF
15154 #define HAVE_INET_ATON 1
15158 echo "$ac_t""no" 1>&6
15166 if test "x$INET_LINK" != "x"; then
15167 cat >> confdefs.h
<<\EOF
15168 #define HAVE_INET_ADDR 1
15171 INET_LINK
=" -l$INET_LINK"
15177 cat > confcache
<<\EOF
15178 # This file is a shell script that caches the results of configure
15179 # tests run on this system so they can be shared between configure
15180 # scripts and configure runs. It is not useful on other systems.
15181 # If it contains results you don't want to keep, you may remove or edit it.
15183 # By default, configure uses ./config.cache as the cache file,
15184 # creating it if it does not exist already. You can give configure
15185 # the --cache-file=FILE option to use a different cache file; that is
15186 # what configure does when it calls configure scripts in
15187 # subdirectories, so they share the cache.
15188 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15189 # config.status only pays attention to the cache file if you give it the
15190 # --recheck option to rerun configure.
15193 # The following way of writing the cache mishandles newlines in values,
15194 # but we know of no workaround that is simple, portable, and efficient.
15195 # So, don't put newlines in cache variables' values.
15196 # Ultrix sh set writes to stderr and can't be redirected directly,
15197 # and sets the high bit in the cache file unless we assign to the vars.
15199 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15201 # `set' does not quote correctly, so add quotes (double-quote substitution
15202 # turns \\\\ into \\, and sed turns \\ into \).
15204 -e "s/'/'\\\\''/g" \
15205 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15208 # `set' quotes correctly as required by POSIX, so do not add quotes.
15209 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15212 if cmp -s $cache_file confcache
; then
15215 if test -w $cache_file; then
15216 echo "updating cache $cache_file"
15217 cat confcache
> $cache_file
15219 echo "not updating unwritable cache $cache_file"
15226 if test "$TOOLKIT" != "MSW"; then
15232 CODE_GEN_FLAGS_CXX
=
15234 if test "$wxUSE_THREADS" = "yes" ; then
15235 if test "$wxUSE_WINE" = 1 ; then
15236 echo "configure: warning: Threads are not supported under WINE" 1>&2
15238 elif test "$USE_BEOS" = 1; then
15239 echo "configure: warning: BeOS threads are not yet supported" 1>&2
15244 if test "$wxUSE_THREADS" = "yes" ; then
15246 if test "$USE_AIX" = 1; then
15247 THREADS_LIB
=pthreads
15249 THREADS_LIB
=pthread
15252 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15253 echo "configure:15254: checking for pthread_create in -l$THREADS_LIB" >&5
15254 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15256 echo $ac_n "(cached) $ac_c" 1>&6
15258 ac_save_LIBS
="$LIBS"
15259 LIBS
="-l$THREADS_LIB $LIBS"
15260 cat > conftest.
$ac_ext <<EOF
15261 #line 15262 "configure"
15262 #include "confdefs.h"
15263 /* Override any gcc2 internal prototype to avoid an error. */
15264 /* We use char because int might match the return type of a gcc2
15265 builtin and then its argument prototype would still apply. */
15266 char pthread_create();
15272 if { (eval echo configure
:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15274 eval "ac_cv_lib_$ac_lib_var=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.
$ac_ext >&5
15279 eval "ac_cv_lib_$ac_lib_var=no"
15282 LIBS
="$ac_save_LIBS"
15285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15286 echo "$ac_t""yes" 1>&6
15288 THREADS_OBJ
="threadpsx.lo"
15289 THREADS_LINK
=$THREADS_LIB
15292 echo "$ac_t""no" 1>&6
15294 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15295 echo "configure:15296: checking for pthread_create in -lc_r" >&5
15296 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15300 ac_save_LIBS
="$LIBS"
15302 cat > conftest.
$ac_ext <<EOF
15303 #line 15304 "configure"
15304 #include "confdefs.h"
15305 /* Override any gcc2 internal prototype to avoid an error. */
15306 /* We use char because int might match the return type of a gcc2
15307 builtin and then its argument prototype would still apply. */
15308 char pthread_create();
15314 if { (eval echo configure
:15315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15316 eval "ac_cv_lib_$ac_lib_var=yes"
15318 echo "configure: failed program was:" >&5
15319 cat conftest.
$ac_ext >&5
15321 eval "ac_cv_lib_$ac_lib_var=no"
15324 LIBS
="$ac_save_LIBS"
15327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15328 echo "$ac_t""yes" 1>&6
15330 THREADS_OBJ
="threadpsx.lo"
15334 echo "$ac_t""no" 1>&6
15336 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15337 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15338 echo "configure:15339: checking for sys/prctl.h" >&5
15339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15340 echo $ac_n "(cached) $ac_c" 1>&6
15342 cat > conftest.
$ac_ext <<EOF
15343 #line 15344 "configure"
15344 #include "confdefs.h"
15345 #include <sys/prctl.h>
15347 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15348 { (eval echo configure
:15349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15349 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15350 if test -z "$ac_err"; then
15352 eval "ac_cv_header_$ac_safe=yes"
15355 echo "configure: failed program was:" >&5
15356 cat conftest.
$ac_ext >&5
15358 eval "ac_cv_header_$ac_safe=no"
15362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15363 echo "$ac_t""yes" 1>&6
15365 THREADS_OBJ
="threadsgi.lo"
15368 echo "$ac_t""no" 1>&6
15378 if test -z "$THREADS_OBJ" ; then
15380 echo "configure: warning: No thread support on this system" 1>&2
15384 if test "$wxUSE_THREADS" = "yes" ; then
15385 for ac_func
in thr_setconcurrency
15387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15388 echo "configure:15389: checking for $ac_func" >&5
15389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15390 echo $ac_n "(cached) $ac_c" 1>&6
15392 cat > conftest.
$ac_ext <<EOF
15393 #line 15394 "configure"
15394 #include "confdefs.h"
15395 /* System header to define __stub macros and hopefully few prototypes,
15396 which can conflict with char $ac_func(); below. */
15397 #include <assert.h>
15398 /* Override any gcc2 internal prototype to avoid an error. */
15399 /* We use char because int might match the return type of a gcc2
15400 builtin and then its argument prototype would still apply. */
15405 /* The GNU C library defines this for functions which it implements
15406 to always fail with ENOSYS. Some functions are actually named
15407 something starting with __ and the normal name is an alias. */
15408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15416 if { (eval echo configure
:15417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15418 eval "ac_cv_func_$ac_func=yes"
15420 echo "configure: failed program was:" >&5
15421 cat conftest.
$ac_ext >&5
15423 eval "ac_cv_func_$ac_func=no"
15428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15429 echo "$ac_t""yes" 1>&6
15430 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15431 cat >> confdefs.h
<<EOF
15432 #define $ac_tr_func 1
15436 echo "$ac_t""no" 1>&6
15442 for ac_hdr
in sched.h
15444 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15445 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15446 echo "configure:15447: checking for $ac_hdr" >&5
15447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15448 echo $ac_n "(cached) $ac_c" 1>&6
15450 cat > conftest.
$ac_ext <<EOF
15451 #line 15452 "configure"
15452 #include "confdefs.h"
15455 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15456 { (eval echo configure
:15457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15457 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15458 if test -z "$ac_err"; then
15460 eval "ac_cv_header_$ac_safe=yes"
15463 echo "configure: failed program was:" >&5
15464 cat conftest.
$ac_ext >&5
15466 eval "ac_cv_header_$ac_safe=no"
15470 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15471 echo "$ac_t""yes" 1>&6
15472 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15473 cat >> confdefs.h
<<EOF
15474 #define $ac_tr_hdr 1
15478 echo "$ac_t""no" 1>&6
15483 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15484 echo "configure:15485: checking for sched_yield in -l$THREADS_LINK" >&5
15485 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15487 echo $ac_n "(cached) $ac_c" 1>&6
15489 ac_save_LIBS
="$LIBS"
15490 LIBS
="-l$THREADS_LINK $LIBS"
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15494 /* Override any gcc2 internal prototype to avoid an error. */
15495 /* We use char because int might match the return type of a gcc2
15496 builtin and then its argument prototype would still apply. */
15497 char sched_yield();
15503 if { (eval echo configure
:15504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15505 eval "ac_cv_lib_$ac_lib_var=yes"
15507 echo "configure: failed program was:" >&5
15508 cat conftest.
$ac_ext >&5
15510 eval "ac_cv_lib_$ac_lib_var=no"
15513 LIBS
="$ac_save_LIBS"
15516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15517 echo "$ac_t""yes" 1>&6
15518 cat >> confdefs.h
<<\EOF
15519 #define HAVE_SCHED_YIELD 1
15523 echo "$ac_t""no" 1>&6
15524 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15525 echo "configure:15526: checking for sched_yield in -lposix4" >&5
15526 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15528 echo $ac_n "(cached) $ac_c" 1>&6
15530 ac_save_LIBS
="$LIBS"
15531 LIBS
="-lposix4 $LIBS"
15532 cat > conftest.
$ac_ext <<EOF
15533 #line 15534 "configure"
15534 #include "confdefs.h"
15535 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15538 char sched_yield();
15544 if { (eval echo configure
:15545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15546 eval "ac_cv_lib_$ac_lib_var=yes"
15548 echo "configure: failed program was:" >&5
15549 cat conftest.
$ac_ext >&5
15551 eval "ac_cv_lib_$ac_lib_var=no"
15554 LIBS
="$ac_save_LIBS"
15557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15558 echo "$ac_t""yes" 1>&6
15559 cat >> confdefs.h
<<\EOF
15560 #define HAVE_SCHED_YIELD 1
15562 POSIX4_LINK
=" -lposix4"
15564 echo "$ac_t""no" 1>&6
15565 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15574 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15575 echo "configure:15576: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15576 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15578 echo $ac_n "(cached) $ac_c" 1>&6
15580 ac_save_LIBS
="$LIBS"
15581 LIBS
="-l$THREADS_LINK $LIBS"
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15585 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15588 char pthread_attr_getschedpolicy();
15591 pthread_attr_getschedpolicy()
15594 if { (eval echo configure
:15595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15596 eval "ac_cv_lib_$ac_lib_var=yes"
15598 echo "configure: failed program was:" >&5
15599 cat conftest.
$ac_ext >&5
15601 eval "ac_cv_lib_$ac_lib_var=no"
15604 LIBS
="$ac_save_LIBS"
15607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15608 echo "$ac_t""yes" 1>&6
15609 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15610 echo "configure:15611: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15611 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15612 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15613 echo $ac_n "(cached) $ac_c" 1>&6
15615 ac_save_LIBS
="$LIBS"
15616 LIBS
="-l$THREADS_LINK $LIBS"
15617 cat > conftest.
$ac_ext <<EOF
15618 #line 15619 "configure"
15619 #include "confdefs.h"
15620 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15623 char pthread_attr_setschedparam();
15626 pthread_attr_setschedparam()
15629 if { (eval echo configure
:15630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15631 eval "ac_cv_lib_$ac_lib_var=yes"
15633 echo "configure: failed program was:" >&5
15634 cat conftest.
$ac_ext >&5
15636 eval "ac_cv_lib_$ac_lib_var=no"
15639 LIBS
="$ac_save_LIBS"
15642 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15643 echo "$ac_t""yes" 1>&6
15644 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15645 echo "configure:15646: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15646 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15647 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15648 echo $ac_n "(cached) $ac_c" 1>&6
15650 ac_save_LIBS
="$LIBS"
15651 LIBS
="-l$THREADS_LINK $LIBS"
15652 cat > conftest.
$ac_ext <<EOF
15653 #line 15654 "configure"
15654 #include "confdefs.h"
15655 /* Override any gcc2 internal prototype to avoid an error. */
15656 /* We use char because int might match the return type of a gcc2
15657 builtin and then its argument prototype would still apply. */
15658 char sched_get_priority_max();
15661 sched_get_priority_max()
15664 if { (eval echo configure
:15665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15666 eval "ac_cv_lib_$ac_lib_var=yes"
15668 echo "configure: failed program was:" >&5
15669 cat conftest.
$ac_ext >&5
15671 eval "ac_cv_lib_$ac_lib_var=no"
15674 LIBS
="$ac_save_LIBS"
15677 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15678 echo "$ac_t""yes" 1>&6
15681 echo "$ac_t""no" 1>&6
15682 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15683 echo "configure:15684: checking for sched_get_priority_max in -lposix4" >&5
15684 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15686 echo $ac_n "(cached) $ac_c" 1>&6
15688 ac_save_LIBS
="$LIBS"
15689 LIBS
="-lposix4 $LIBS"
15690 cat > conftest.
$ac_ext <<EOF
15691 #line 15692 "configure"
15692 #include "confdefs.h"
15693 /* Override any gcc2 internal prototype to avoid an error. */
15694 /* We use char because int might match the return type of a gcc2
15695 builtin and then its argument prototype would still apply. */
15696 char sched_get_priority_max();
15699 sched_get_priority_max()
15702 if { (eval echo configure
:15703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15704 eval "ac_cv_lib_$ac_lib_var=yes"
15706 echo "configure: failed program was:" >&5
15707 cat conftest.
$ac_ext >&5
15709 eval "ac_cv_lib_$ac_lib_var=no"
15712 LIBS
="$ac_save_LIBS"
15715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15716 echo "$ac_t""yes" 1>&6
15719 POSIX4_LINK
=" -lposix4"
15722 echo "$ac_t""no" 1>&6
15730 echo "$ac_t""no" 1>&6
15735 echo "$ac_t""no" 1>&6
15739 if test "$HAVE_PRIOR_FUNCS" = 1; then
15740 cat >> confdefs.h
<<\EOF
15741 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15745 echo "configure: warning: Setting thread priority will not work" 1>&2
15748 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15749 echo "configure:15750: checking for pthread_cancel in -l$THREADS_LINK" >&5
15750 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15751 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15752 echo $ac_n "(cached) $ac_c" 1>&6
15754 ac_save_LIBS
="$LIBS"
15755 LIBS
="-l$THREADS_LINK $LIBS"
15756 cat > conftest.
$ac_ext <<EOF
15757 #line 15758 "configure"
15758 #include "confdefs.h"
15759 /* Override any gcc2 internal prototype to avoid an error. */
15760 /* We use char because int might match the return type of a gcc2
15761 builtin and then its argument prototype would still apply. */
15762 char pthread_cancel();
15768 if { (eval echo configure
:15769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15770 eval "ac_cv_lib_$ac_lib_var=yes"
15772 echo "configure: failed program was:" >&5
15773 cat conftest.
$ac_ext >&5
15775 eval "ac_cv_lib_$ac_lib_var=no"
15778 LIBS
="$ac_save_LIBS"
15781 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15782 echo "$ac_t""yes" 1>&6
15783 cat >> confdefs.h
<<\EOF
15784 #define HAVE_PTHREAD_CANCEL 1
15788 echo "$ac_t""no" 1>&6
15789 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15793 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15794 echo "configure:15795: checking for pthread_cleanup_push/pop" >&5
15795 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15796 echo $ac_n "(cached) $ac_c" 1>&6
15799 cat > conftest.
$ac_ext <<EOF
15800 #line 15801 "configure"
15801 #include "confdefs.h"
15802 #include <pthread.h>
15805 pthread_cleanup_push(NULL, NULL);
15806 pthread_cleanup_pop(0);
15810 if { (eval echo configure
:15811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15813 wx_cv_func_pthread_cleanup_push
=yes
15816 echo "configure: failed program was:" >&5
15817 cat conftest.
$ac_ext >&5
15820 wx_cv_func_pthread_cleanup_push
=no
15827 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15829 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15830 cat >> confdefs.h
<<\EOF
15831 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15837 if test "x$wx_lib_glibc21" = "xyes"; then
15838 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15841 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15842 echo "configure:15843: checking for pthread_mutexattr_t" >&5
15843 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15844 echo $ac_n "(cached) $ac_c" 1>&6
15847 cat > conftest.
$ac_ext <<EOF
15848 #line 15849 "configure"
15849 #include "confdefs.h"
15850 #include <pthread.h>
15853 pthread_mutexattr_t attr;
15854 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15858 if { (eval echo configure
:15859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15861 wx_cv_type_pthread_mutexattr_t
=yes
15864 echo "configure: failed program was:" >&5
15865 cat conftest.
$ac_ext >&5
15868 wx_cv_type_pthread_mutexattr_t
=no
15876 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15878 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15879 cat >> confdefs.h
<<\EOF
15880 #define HAVE_PTHREAD_MUTEXATTR_T 1
15884 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15885 echo "configure:15886: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15886 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15887 echo $ac_n "(cached) $ac_c" 1>&6
15890 cat > conftest.
$ac_ext <<EOF
15891 #line 15892 "configure"
15892 #include "confdefs.h"
15893 #include <pthread.h>
15896 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15900 if { (eval echo configure
:15901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15903 wx_cv_type_pthread_rec_mutex_init
=yes
15906 echo "configure: failed program was:" >&5
15907 cat conftest.
$ac_ext >&5
15910 wx_cv_type_pthread_rec_mutex_init
=no
15918 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15919 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15920 cat >> confdefs.h
<<\EOF
15921 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15925 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15929 THREADS_LINK
=" -l$THREADS_LINK"
15931 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15932 CPPFLAGS
="$CFLAGS -mt"
15933 CXXFLAGS
="$CXXFLAGS -mt"
15934 LDFLAGS
="$LDFLAGS -mt"
15940 if test "$wxUSE_THREADS" = "yes"; then
15941 cat >> confdefs.h
<<\EOF
15942 #define wxUSE_THREADS 1
15946 if test "$USE_DARWIN" != 1; then
15947 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -D_REENTRANT"
15950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15952 if test "$ac_cv_func_strtok_r" = "yes"; then
15953 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15954 echo "configure:15955: checking if -D_REENTRANT is needed" >&5
15955 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15956 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15957 echo "$ac_t""yes" 1>&6
15959 echo "$ac_t""no" 1>&6
15964 if test "$WXGTK20" = 1 ; then
15965 cat >> confdefs.h
<<EOF
15966 #define __WXGTK20__ $WXGTK20
15972 if test "$WXGTK12" = 1 ; then
15973 cat >> confdefs.h
<<EOF
15974 #define __WXGTK12__ $WXGTK12
15979 if test "$WXGTK127" = 1 ; then
15980 cat >> confdefs.h
<<EOF
15981 #define __WXGTK127__ $WXGTK127
15988 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15993 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15994 wxUSE_DEBUG_INFO
=yes
15998 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15999 cat >> confdefs.h
<<\EOF
16003 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16005 if test "$wxUSE_GTK" = 1 ; then
16006 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16010 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16011 cat >> confdefs.h
<<\EOF
16012 #define wxUSE_MEMORY_TRACING 1
16015 cat >> confdefs.h
<<\EOF
16016 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16019 cat >> confdefs.h
<<\EOF
16020 #define wxUSE_DEBUG_NEW_ALWAYS 1
16023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16026 if test "$wxUSE_DMALLOC" = "yes" ; then
16027 DMALLOC_LIBS
="-ldmalloc"
16031 if test "$wxUSE_PROFILE" = "yes" ; then
16035 if test "$GCC" = yes ; then
16036 if test "$wxUSE_NO_RTTI" = "yes" ; then
16037 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16039 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16040 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16042 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16043 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16045 if test "$wxUSE_NO_DEPS" = "no" ; then
16046 CFLAGS
="-MMD $CFLAGS"
16047 CXXFLAGS
="-MMD $CXXFLAGS"
16049 if test "$USE_WIN32" = 1 ; then
16050 # I'm not even really sure what this was ever added to solve,
16051 # but someone added it for mingw native builds, so I guess
16052 # they had a reason, right??
16053 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16058 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16059 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16060 if test "$wxUSE_OPTIMISE" = "no" ; then
16063 if test "$GCC" = yes ; then
16066 i586
-*-*|i686
-*-* )
16067 OPTIMISE
="${OPTIMISE} "
16075 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16076 cat >> confdefs.h
<<\EOF
16077 #define WXWIN_COMPATIBILITY_2 1
16081 WXWIN_COMPATIBILITY_2_2
="yes"
16084 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16085 cat >> confdefs.h
<<\EOF
16086 #define WXWIN_COMPATIBILITY_2_2 1
16092 if test "$wxUSE_GUI" = "yes"; then
16093 cat >> confdefs.h
<<\EOF
16094 #define wxUSE_GUI 1
16099 cat >> confdefs.h
<<\EOF
16100 #define wxUSE_NOGUI 1
16106 if test "$wxUSE_UNIX" = "yes"; then
16107 cat >> confdefs.h
<<\EOF
16108 #define wxUSE_UNIX 1
16114 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16115 cat >> confdefs.h
<<\EOF
16116 #define wxUSE_APPLE_IEEE 1
16121 if test "$wxUSE_TIMER" = "yes"; then
16122 cat >> confdefs.h
<<\EOF
16123 #define wxUSE_TIMER 1
16128 if test "$wxUSE_WAVE" = "yes"; then
16129 cat >> confdefs.h
<<\EOF
16130 #define wxUSE_WAVE 1
16135 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16136 cat >> confdefs.h
<<\EOF
16137 #define wxUSE_CMDLINE_PARSER 1
16142 if test "$wxUSE_STOPWATCH" = "yes"; then
16143 cat >> confdefs.h
<<\EOF
16144 #define wxUSE_STOPWATCH 1
16149 if test "$wxUSE_DATETIME" = "yes"; then
16150 cat >> confdefs.h
<<\EOF
16151 #define wxUSE_DATETIME 1
16156 if test "$wxUSE_TIMEDATE" = "yes"; then
16157 cat >> confdefs.h
<<\EOF
16158 #define wxUSE_TIMEDATE 1
16163 if test "$wxUSE_FILE" = "yes"; then
16164 cat >> confdefs.h
<<\EOF
16165 #define wxUSE_FILE 1
16170 if test "$wxUSE_FFILE" = "yes"; then
16171 cat >> confdefs.h
<<\EOF
16172 #define wxUSE_FFILE 1
16177 if test "$wxUSE_FILESYSTEM" = "yes"; then
16178 cat >> confdefs.h
<<\EOF
16179 #define wxUSE_FILESYSTEM 1
16184 if test "$wxUSE_FS_INET" = "yes"; then
16185 cat >> confdefs.h
<<\EOF
16186 #define wxUSE_FS_INET 1
16191 if test "$wxUSE_FS_ZIP" = "yes"; then
16192 cat >> confdefs.h
<<\EOF
16193 #define wxUSE_FS_ZIP 1
16198 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16199 cat >> confdefs.h
<<\EOF
16200 #define wxUSE_ZIPSTREAM 1
16205 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16206 cat >> confdefs.h
<<\EOF
16207 #define wxUSE_ON_FATAL_EXCEPTION 1
16212 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16213 cat >> confdefs.h
<<\EOF
16214 #define wxUSE_SNGLINST_CHECKER 1
16219 if test "$wxUSE_BUSYINFO" = "yes"; then
16220 cat >> confdefs.h
<<\EOF
16221 #define wxUSE_BUSYINFO 1
16226 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16227 cat >> confdefs.h
<<\EOF
16228 #define wxUSE_STD_IOSTREAM 1
16233 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16234 cat >> confdefs.h
<<\EOF
16235 #define wxUSE_TEXTBUFFER 1
16240 if test "$wxUSE_TEXTFILE" = "yes"; then
16241 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16242 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer and won't be compiled without them" 1>&2
16244 cat >> confdefs.h
<<\EOF
16245 #define wxUSE_TEXTFILE 1
16251 if test "$wxUSE_CONFIG" = "yes" ; then
16252 if test "$wxUSE_TEXTFILE" != "yes"; then
16253 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16255 cat >> confdefs.h
<<\EOF
16256 #define wxUSE_CONFIG 1
16259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16263 if test "$wxUSE_INTL" = "yes" ; then
16264 if test "$wxUSE_FILE" != "yes"; then
16265 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16267 cat >> confdefs.h
<<\EOF
16268 #define wxUSE_INTL 1
16271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16272 GUIDIST
="$GUIDIST INTL_DIST"
16276 if test "$wxUSE_LOG" = "yes"; then
16277 cat >> confdefs.h
<<\EOF
16278 #define wxUSE_LOG 1
16282 if test "$wxUSE_LOGGUI" = "yes"; then
16283 cat >> confdefs.h
<<\EOF
16284 #define wxUSE_LOGGUI 1
16289 if test "$wxUSE_LOGWINDOW" = "yes"; then
16290 cat >> confdefs.h
<<\EOF
16291 #define wxUSE_LOGWINDOW 1
16297 if test "$wxUSE_LONGLONG" = "yes"; then
16298 cat >> confdefs.h
<<\EOF
16299 #define wxUSE_LONGLONG 1
16304 if test "$wxUSE_GEOMETRY" = "yes"; then
16305 cat >> confdefs.h
<<\EOF
16306 #define wxUSE_GEOMETRY 1
16311 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16312 cat >> confdefs.h
<<\EOF
16313 #define wxUSE_DIALUP_MANAGER 1
16316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16319 if test "$wxUSE_STREAMS" = "yes" ; then
16320 cat >> confdefs.h
<<\EOF
16321 #define wxUSE_STREAMS 1
16327 if test "$wxUSE_DATETIME" = "yes"; then
16328 for ac_func
in strptime
16330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16331 echo "configure:16332: checking for $ac_func" >&5
16332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16333 echo $ac_n "(cached) $ac_c" 1>&6
16335 cat > conftest.
$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16338 /* System header to define __stub macros and hopefully few prototypes,
16339 which can conflict with char $ac_func(); below. */
16340 #include <assert.h>
16341 /* Override any gcc2 internal prototype to avoid an error. */
16342 /* We use char because int might match the return type of a gcc2
16343 builtin and then its argument prototype would still apply. */
16348 /* The GNU C library defines this for functions which it implements
16349 to always fail with ENOSYS. Some functions are actually named
16350 something starting with __ and the normal name is an alias. */
16351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16359 if { (eval echo configure
:16360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16361 eval "ac_cv_func_$ac_func=yes"
16363 echo "configure: failed program was:" >&5
16364 cat conftest.
$ac_ext >&5
16366 eval "ac_cv_func_$ac_func=no"
16371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16372 echo "$ac_t""yes" 1>&6
16373 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16374 cat >> confdefs.h
<<EOF
16375 #define $ac_tr_func 1
16379 echo "$ac_t""no" 1>&6
16384 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16385 echo "configure:16386: checking for timezone variable in <time.h>" >&5
16386 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16387 echo $ac_n "(cached) $ac_c" 1>&6
16390 cat > conftest.
$ac_ext <<EOF
16391 #line 16392 "configure"
16392 #include "confdefs.h"
16403 if { (eval echo configure
:16404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16406 wx_cv_var_timezone
=timezone
16409 echo "configure: failed program was:" >&5
16410 cat conftest.
$ac_ext >&5
16413 cat > conftest.
$ac_ext <<EOF
16414 #line 16415 "configure"
16415 #include "confdefs.h"
16426 if { (eval echo configure
:16427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16429 wx_cv_var_timezone
=_timezone
16432 echo "configure: failed program was:" >&5
16433 cat conftest.
$ac_ext >&5
16436 cat > conftest.
$ac_ext <<EOF
16437 #line 16438 "configure"
16438 #include "confdefs.h"
16449 if { (eval echo configure
:16450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16452 wx_cv_var_timezone
=__timezone
16455 echo "configure: failed program was:" >&5
16456 cat conftest.
$ac_ext >&5
16458 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16474 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16476 cat >> confdefs.h
<<EOF
16477 #define WX_TIMEZONE $wx_cv_var_timezone
16481 for ac_func
in localtime
16483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16484 echo "configure:16485: checking for $ac_func" >&5
16485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16486 echo $ac_n "(cached) $ac_c" 1>&6
16488 cat > conftest.
$ac_ext <<EOF
16489 #line 16490 "configure"
16490 #include "confdefs.h"
16491 /* System header to define __stub macros and hopefully few prototypes,
16492 which can conflict with char $ac_func(); below. */
16493 #include <assert.h>
16494 /* Override any gcc2 internal prototype to avoid an error. */
16495 /* We use char because int might match the return type of a gcc2
16496 builtin and then its argument prototype would still apply. */
16501 /* The GNU C library defines this for functions which it implements
16502 to always fail with ENOSYS. Some functions are actually named
16503 something starting with __ and the normal name is an alias. */
16504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16512 if { (eval echo configure
:16513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16514 eval "ac_cv_func_$ac_func=yes"
16516 echo "configure: failed program was:" >&5
16517 cat conftest.
$ac_ext >&5
16519 eval "ac_cv_func_$ac_func=no"
16524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16525 echo "$ac_t""yes" 1>&6
16526 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16527 cat >> confdefs.h
<<EOF
16528 #define $ac_tr_func 1
16532 echo "$ac_t""no" 1>&6
16537 if test "$ac_cv_func_localtime" = "yes"; then
16538 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16539 echo "configure:16540: checking for tm_gmtoff in struct tm" >&5
16540 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16541 echo $ac_n "(cached) $ac_c" 1>&6
16544 cat > conftest.
$ac_ext <<EOF
16545 #line 16546 "configure"
16546 #include "confdefs.h"
16557 if { (eval echo configure
:16558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16560 wx_cv_struct_tm_has_gmtoff
=yes
16563 echo "configure: failed program was:" >&5
16564 cat conftest.
$ac_ext >&5
16566 wx_cv_struct_tm_has_gmtoff
=no
16573 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16576 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16577 cat >> confdefs.h
<<\EOF
16578 #define WX_GMTOFF_IN_TM 1
16583 for ac_func
in gettimeofday ftime
16585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16586 echo "configure:16587: checking for $ac_func" >&5
16587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16588 echo $ac_n "(cached) $ac_c" 1>&6
16590 cat > conftest.
$ac_ext <<EOF
16591 #line 16592 "configure"
16592 #include "confdefs.h"
16593 /* System header to define __stub macros and hopefully few prototypes,
16594 which can conflict with char $ac_func(); below. */
16595 #include <assert.h>
16596 /* Override any gcc2 internal prototype to avoid an error. */
16597 /* We use char because int might match the return type of a gcc2
16598 builtin and then its argument prototype would still apply. */
16603 /* The GNU C library defines this for functions which it implements
16604 to always fail with ENOSYS. Some functions are actually named
16605 something starting with __ and the normal name is an alias. */
16606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16614 if { (eval echo configure
:16615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16616 eval "ac_cv_func_$ac_func=yes"
16618 echo "configure: failed program was:" >&5
16619 cat conftest.
$ac_ext >&5
16621 eval "ac_cv_func_$ac_func=no"
16626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16627 echo "$ac_t""yes" 1>&6
16628 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16629 cat >> confdefs.h
<<EOF
16630 #define $ac_tr_func 1
16634 echo "$ac_t""no" 1>&6
16639 if test "$ac_cv_func_gettimeofday" = "yes"; then
16640 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16641 echo "configure:16642: checking whether gettimeofday takes two arguments" >&5
16642 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16643 echo $ac_n "(cached) $ac_c" 1>&6
16648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16649 ac_cpp
='$CXXCPP $CPPFLAGS'
16650 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16651 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16652 cross_compiling
=$ac_cv_prog_cxx_cross
16655 cat > conftest.
$ac_ext <<EOF
16656 #line 16657 "configure"
16657 #include "confdefs.h"
16659 #include <sys/time.h>
16660 #include <unistd.h>
16665 gettimeofday(&tv, NULL);
16669 if { (eval echo configure
:16670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16671 wx_cv_func_gettimeofday_has_2_args
=yes
16673 echo "configure: failed program was:" >&5
16674 cat conftest.
$ac_ext >&5
16676 cat > conftest.
$ac_ext <<EOF
16677 #line 16678 "configure"
16678 #include "confdefs.h"
16680 #include <sys/time.h>
16681 #include <unistd.h>
16690 if { (eval echo configure
:16691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16692 wx_cv_func_gettimeofday_has_2_args
=no
16694 echo "configure: failed program was:" >&5
16695 cat conftest.
$ac_ext >&5
16698 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16699 wx_cv_func_gettimeofday_has_2_args
=unknown
16708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16709 ac_cpp
='$CPP $CPPFLAGS'
16710 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16711 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16712 cross_compiling
=$ac_cv_prog_cc_cross
16717 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16719 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16720 cat >> confdefs.h
<<\EOF
16721 #define WX_GETTIMEOFDAY_NO_TZ 1
16727 cat >> confdefs.h
<<\EOF
16728 #define wxUSE_TIMEDATE 1
16731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16735 if test "$TOOLKIT" != "MSW"; then
16737 if test "$wxUSE_SOCKETS" = "yes"; then
16738 echo $ac_n "checking for socket""... $ac_c" 1>&6
16739 echo "configure:16740: checking for socket" >&5
16740 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 cat > conftest.
$ac_ext <<EOF
16744 #line 16745 "configure"
16745 #include "confdefs.h"
16746 /* System header to define __stub macros and hopefully few prototypes,
16747 which can conflict with char socket(); below. */
16748 #include <assert.h>
16749 /* Override any gcc2 internal prototype to avoid an error. */
16750 /* We use char because int might match the return type of a gcc2
16751 builtin and then its argument prototype would still apply. */
16756 /* The GNU C library defines this for functions which it implements
16757 to always fail with ENOSYS. Some functions are actually named
16758 something starting with __ and the normal name is an alias. */
16759 #if defined (__stub_socket) || defined (__stub___socket)
16767 if { (eval echo configure
:16768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16769 eval "ac_cv_func_socket=yes"
16771 echo "configure: failed program was:" >&5
16772 cat conftest.
$ac_ext >&5
16774 eval "ac_cv_func_socket=no"
16779 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16780 echo "$ac_t""yes" 1>&6
16783 echo "$ac_t""no" 1>&6
16784 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16785 echo "configure:16786: checking for socket in -lsocket" >&5
16786 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16788 echo $ac_n "(cached) $ac_c" 1>&6
16790 ac_save_LIBS
="$LIBS"
16791 LIBS
="-lsocket $LIBS"
16792 cat > conftest.
$ac_ext <<EOF
16793 #line 16794 "configure"
16794 #include "confdefs.h"
16795 /* Override any gcc2 internal prototype to avoid an error. */
16796 /* We use char because int might match the return type of a gcc2
16797 builtin and then its argument prototype would still apply. */
16804 if { (eval echo configure
:16805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16806 eval "ac_cv_lib_$ac_lib_var=yes"
16808 echo "configure: failed program was:" >&5
16809 cat conftest.
$ac_ext >&5
16811 eval "ac_cv_lib_$ac_lib_var=no"
16814 LIBS
="$ac_save_LIBS"
16817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16818 echo "$ac_t""yes" 1>&6
16819 INET_LINK
="$INET_LINK -lsocket"
16821 echo "$ac_t""no" 1>&6
16823 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16835 if test "$wxUSE_SOCKETS" = "yes" ; then
16836 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16837 echo "configure:16838: checking what is the type of the third argument of getsockname" >&5
16838 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16839 echo $ac_n "(cached) $ac_c" 1>&6
16844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16845 ac_cpp
='$CXXCPP $CPPFLAGS'
16846 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16847 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16848 cross_compiling
=$ac_cv_prog_cxx_cross
16851 cat > conftest.
$ac_ext <<EOF
16852 #line 16853 "configure"
16853 #include "confdefs.h"
16855 #include <sys/types.h>
16856 #include <sys/socket.h>
16861 getsockname(0, 0, &len);
16865 if { (eval echo configure
:16866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16867 wx_cv_type_getsockname3
=socklen_t
16869 echo "configure: failed program was:" >&5
16870 cat conftest.
$ac_ext >&5
16872 cat > conftest.
$ac_ext <<EOF
16873 #line 16874 "configure"
16874 #include "confdefs.h"
16876 #include <sys/types.h>
16877 #include <sys/socket.h>
16882 getsockname(0, 0, &len);
16886 if { (eval echo configure
:16887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16888 wx_cv_type_getsockname3
=size_t
16890 echo "configure: failed program was:" >&5
16891 cat conftest.
$ac_ext >&5
16893 cat > conftest.
$ac_ext <<EOF
16894 #line 16895 "configure"
16895 #include "confdefs.h"
16897 #include <sys/types.h>
16898 #include <sys/socket.h>
16903 getsockname(0, 0, &len);
16907 if { (eval echo configure
:16908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16909 wx_cv_type_getsockname3
=int
16911 echo "configure: failed program was:" >&5
16912 cat conftest.
$ac_ext >&5
16914 wx_cv_type_getsockname3
=unknown
16926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16927 ac_cpp
='$CPP $CPPFLAGS'
16928 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16929 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16930 cross_compiling
=$ac_cv_prog_cc_cross
16935 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16937 if test "$wx_cv_type_getsockname3" = "unknown"; then
16939 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16941 cat >> confdefs.h
<<EOF
16942 #define SOCKLEN_T $wx_cv_type_getsockname3
16949 if test "$wxUSE_SOCKETS" = "yes" ; then
16950 cat >> confdefs.h
<<\EOF
16951 #define wxUSE_SOCKETS 1
16954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16958 if test "$wxUSE_GUI" = "yes"; then
16960 if test "$TOOLKIT" != "MSW"; then
16961 if test "$wxUSE_JOYSTICK" = "yes"; then
16962 for ac_hdr
in linux
/joystick.h
16964 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16966 echo "configure:16967: checking for $ac_hdr" >&5
16967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16968 echo $ac_n "(cached) $ac_c" 1>&6
16970 cat > conftest.
$ac_ext <<EOF
16971 #line 16972 "configure"
16972 #include "confdefs.h"
16975 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16976 { (eval echo configure
:16977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16977 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16978 if test -z "$ac_err"; then
16980 eval "ac_cv_header_$ac_safe=yes"
16983 echo "configure: failed program was:" >&5
16984 cat conftest.
$ac_ext >&5
16986 eval "ac_cv_header_$ac_safe=no"
16990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16991 echo "$ac_t""yes" 1>&6
16992 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16993 cat >> confdefs.h
<<EOF
16994 #define $ac_tr_hdr 1
16998 echo "$ac_t""no" 1>&6
17002 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17004 echo "configure: warning: Joystick not supported by this system" 1>&2
17009 if test "$wxUSE_JOYSTICK" = "yes"; then
17010 cat >> confdefs.h
<<\EOF
17011 #define wxUSE_JOYSTICK 1
17014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17019 if test "$TOOLKIT" != "MSW"; then
17023 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17024 if test "$USE_DARWIN" = 1; then
17027 for ac_func
in dlopen
17029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17030 echo "configure:17031: checking for $ac_func" >&5
17031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17032 echo $ac_n "(cached) $ac_c" 1>&6
17034 cat > conftest.
$ac_ext <<EOF
17035 #line 17036 "configure"
17036 #include "confdefs.h"
17037 /* System header to define __stub macros and hopefully few prototypes,
17038 which can conflict with char $ac_func(); below. */
17039 #include <assert.h>
17040 /* Override any gcc2 internal prototype to avoid an error. */
17041 /* We use char because int might match the return type of a gcc2
17042 builtin and then its argument prototype would still apply. */
17047 /* The GNU C library defines this for functions which it implements
17048 to always fail with ENOSYS. Some functions are actually named
17049 something starting with __ and the normal name is an alias. */
17050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17058 if { (eval echo configure
:17059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17060 eval "ac_cv_func_$ac_func=yes"
17062 echo "configure: failed program was:" >&5
17063 cat conftest.
$ac_ext >&5
17065 eval "ac_cv_func_$ac_func=no"
17070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17071 echo "$ac_t""yes" 1>&6
17072 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17073 cat >> confdefs.h
<<EOF
17074 #define $ac_tr_func 1
17077 cat >> confdefs.h
<<\EOF
17078 #define HAVE_DLOPEN 1
17084 echo "$ac_t""no" 1>&6
17085 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17086 echo "configure:17087: checking for dlopen in -ldl" >&5
17087 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17089 echo $ac_n "(cached) $ac_c" 1>&6
17091 ac_save_LIBS
="$LIBS"
17093 cat > conftest.
$ac_ext <<EOF
17094 #line 17095 "configure"
17095 #include "confdefs.h"
17096 /* Override any gcc2 internal prototype to avoid an error. */
17097 /* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17105 if { (eval echo configure
:17106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17107 eval "ac_cv_lib_$ac_lib_var=yes"
17109 echo "configure: failed program was:" >&5
17110 cat conftest.
$ac_ext >&5
17112 eval "ac_cv_lib_$ac_lib_var=no"
17115 LIBS
="$ac_save_LIBS"
17118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17119 echo "$ac_t""yes" 1>&6
17121 cat >> confdefs.h
<<\EOF
17122 #define HAVE_DLOPEN 1
17126 DL_LINK
=" -ldl$DL_LINK"
17129 echo "$ac_t""no" 1>&6
17131 for ac_func
in shl_load
17133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17134 echo "configure:17135: checking for $ac_func" >&5
17135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17136 echo $ac_n "(cached) $ac_c" 1>&6
17138 cat > conftest.
$ac_ext <<EOF
17139 #line 17140 "configure"
17140 #include "confdefs.h"
17141 /* System header to define __stub macros and hopefully few prototypes,
17142 which can conflict with char $ac_func(); below. */
17143 #include <assert.h>
17144 /* Override any gcc2 internal prototype to avoid an error. */
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17151 /* The GNU C library defines this for functions which it implements
17152 to always fail with ENOSYS. Some functions are actually named
17153 something starting with __ and the normal name is an alias. */
17154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17162 if { (eval echo configure
:17163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17164 eval "ac_cv_func_$ac_func=yes"
17166 echo "configure: failed program was:" >&5
17167 cat conftest.
$ac_ext >&5
17169 eval "ac_cv_func_$ac_func=no"
17174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17175 echo "$ac_t""yes" 1>&6
17176 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17177 cat >> confdefs.h
<<EOF
17178 #define $ac_tr_func 1
17181 cat >> confdefs.h
<<\EOF
17182 #define HAVE_SHL_LOAD 1
17188 echo "$ac_t""no" 1>&6
17189 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17190 echo "configure:17191: checking for dld in -lshl_load" >&5
17191 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17193 echo $ac_n "(cached) $ac_c" 1>&6
17195 ac_save_LIBS
="$LIBS"
17196 LIBS
="-lshl_load $LIBS"
17197 cat > conftest.
$ac_ext <<EOF
17198 #line 17199 "configure"
17199 #include "confdefs.h"
17200 /* Override any gcc2 internal prototype to avoid an error. */
17201 /* We use char because int might match the return type of a gcc2
17202 builtin and then its argument prototype would still apply. */
17209 if { (eval echo configure
:17210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17211 eval "ac_cv_lib_$ac_lib_var=yes"
17213 echo "configure: failed program was:" >&5
17214 cat conftest.
$ac_ext >&5
17216 eval "ac_cv_lib_$ac_lib_var=no"
17219 LIBS
="$ac_save_LIBS"
17222 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17223 echo "$ac_t""yes" 1>&6
17226 DL_LINK
=" -ldld$DL_LINK"
17229 echo "$ac_t""no" 1>&6
17244 if test "$HAVE_DL_FUNCS" = 1; then
17245 for ac_func
in dlerror
17247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17248 echo "configure:17249: checking for $ac_func" >&5
17249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17250 echo $ac_n "(cached) $ac_c" 1>&6
17252 cat > conftest.
$ac_ext <<EOF
17253 #line 17254 "configure"
17254 #include "confdefs.h"
17255 /* System header to define __stub macros and hopefully few prototypes,
17256 which can conflict with char $ac_func(); below. */
17257 #include <assert.h>
17258 /* Override any gcc2 internal prototype to avoid an error. */
17259 /* We use char because int might match the return type of a gcc2
17260 builtin and then its argument prototype would still apply. */
17265 /* The GNU C library defines this for functions which it implements
17266 to always fail with ENOSYS. Some functions are actually named
17267 something starting with __ and the normal name is an alias. */
17268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17276 if { (eval echo configure
:17277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17278 eval "ac_cv_func_$ac_func=yes"
17280 echo "configure: failed program was:" >&5
17281 cat conftest.
$ac_ext >&5
17283 eval "ac_cv_func_$ac_func=no"
17288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17289 echo "$ac_t""yes" 1>&6
17290 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17291 cat >> confdefs.h
<<EOF
17292 #define $ac_tr_func 1
17294 cat >> confdefs.h
<<\EOF
17295 #define HAVE_DLERROR 1
17299 echo "$ac_t""no" 1>&6
17300 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17301 echo "configure:17302: checking for dlerror in -ldl" >&5
17302 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17304 echo $ac_n "(cached) $ac_c" 1>&6
17306 ac_save_LIBS
="$LIBS"
17308 cat > conftest.
$ac_ext <<EOF
17309 #line 17310 "configure"
17310 #include "confdefs.h"
17311 /* Override any gcc2 internal prototype to avoid an error. */
17312 /* We use char because int might match the return type of a gcc2
17313 builtin and then its argument prototype would still apply. */
17320 if { (eval echo configure
:17321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17322 eval "ac_cv_lib_$ac_lib_var=yes"
17324 echo "configure: failed program was:" >&5
17325 cat conftest.
$ac_ext >&5
17327 eval "ac_cv_lib_$ac_lib_var=no"
17330 LIBS
="$ac_save_LIBS"
17333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17334 echo "$ac_t""yes" 1>&6
17335 cat >> confdefs.h
<<\EOF
17336 #define HAVE_DLERROR 1
17340 echo "$ac_t""no" 1>&6
17349 if test "$HAVE_DL_FUNCS" = 0; then
17350 if test "$HAVE_SHL_FUNCS" = 0; then
17351 if test "$USE_UNIX" = 1; then
17352 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17353 wxUSE_DYNLIB_CLASS
=no
17355 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17362 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17363 cat >> confdefs.h
<<\EOF
17364 #define wxUSE_DYNLIB_CLASS 1
17373 if test "$wxUSE_FONTMAP" = "yes" ; then
17374 cat >> confdefs.h
<<\EOF
17375 #define wxUSE_FONTMAP 1
17380 if test "$wxUSE_UNICODE" = "yes" ; then
17381 cat >> confdefs.h
<<\EOF
17382 #define wxUSE_UNICODE 1
17387 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17388 cat >> confdefs.h
<<\EOF
17389 #define wxUSE_EXPERIMENTAL_PRINTF 1
17395 if test "$wxUSE_SERIAL" = "yes" ; then
17396 cat >> confdefs.h
<<\EOF
17397 #define wxUSE_SERIAL 1
17404 if test "$wxUSE_ODBC" = "yes" ; then
17405 cat >> confdefs.h
<<\EOF
17406 #define wxUSE_ODBC 1
17409 WXODBCFLAG
="-D_IODBC_"
17410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17414 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17415 cat >> confdefs.h
<<\EOF
17416 #define wxUSE_POSTSCRIPT 1
17421 cat >> confdefs.h
<<\EOF
17422 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17426 cat >> confdefs.h
<<\EOF
17427 #define wxUSE_NORMALIZED_PS_FONTS 1
17432 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17433 cat >> confdefs.h
<<\EOF
17434 #define wxUSE_CONSTRAINTS 1
17437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17440 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17441 if test "$wxUSE_UNIVERSAL" = "yes"; then
17442 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17443 wxUSE_MDI_ARCHITECTURE
=no
17446 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17447 cat >> confdefs.h
<<\EOF
17448 #define wxUSE_MDI_ARCHITECTURE 1
17451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17455 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17456 cat >> confdefs.h
<<\EOF
17457 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17461 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17466 if test "$wxUSE_HELP" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_HELP 1
17471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17473 if test "$wxUSE_MSW" = 1; then
17474 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17475 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17476 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17477 echo "configure:17478: checking for htmlhelp.h" >&5
17478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17479 echo $ac_n "(cached) $ac_c" 1>&6
17481 cat > conftest.
$ac_ext <<EOF
17482 #line 17483 "configure"
17483 #include "confdefs.h"
17484 #include <htmlhelp.h>
17486 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17487 { (eval echo configure
:17488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17488 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17489 if test -z "$ac_err"; then
17491 eval "ac_cv_header_$ac_safe=yes"
17494 echo "configure: failed program was:" >&5
17495 cat conftest.
$ac_ext >&5
17497 eval "ac_cv_header_$ac_safe=no"
17501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17502 echo "$ac_t""yes" 1>&6
17504 cat >> confdefs.h
<<\EOF
17505 #define wxUSE_MS_HTML_HELP 1
17510 echo "$ac_t""no" 1>&6
17512 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17513 wxUSE_MS_HTML_HELP
=no
17520 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17521 if test "$wxUSE_HTML" = "yes"; then
17522 cat >> confdefs.h
<<\EOF
17523 #define wxUSE_WXHTML_HELP 1
17527 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17528 wxUSE_WXHTML_HELP
=no
17533 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17534 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17535 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17537 cat >> confdefs.h
<<\EOF
17538 #define wxUSE_PRINTING_ARCHITECTURE 1
17542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17545 if test "$wxUSE_PROLOGIO" = "yes" ; then
17546 cat >> confdefs.h
<<\EOF
17547 #define wxUSE_PROLOGIO 1
17552 if test "$wxUSE_RESOURCES" = "yes" ; then
17553 cat >> confdefs.h
<<\EOF
17554 #define wxUSE_RESOURCES 1
17557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17560 if test "$wxUSE_X_RESOURCES" = "yes"; then
17561 cat >> confdefs.h
<<\EOF
17562 #define wxUSE_X_RESOURCES 1
17568 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17569 -o "$wxUSE_CLIPBOARD" = "yes" \
17570 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17571 for ac_hdr
in ole2.h
17573 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17575 echo "configure:17576: checking for $ac_hdr" >&5
17576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17577 echo $ac_n "(cached) $ac_c" 1>&6
17579 cat > conftest.
$ac_ext <<EOF
17580 #line 17581 "configure"
17581 #include "confdefs.h"
17584 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17585 { (eval echo configure
:17586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17586 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17587 if test -z "$ac_err"; then
17589 eval "ac_cv_header_$ac_safe=yes"
17592 echo "configure: failed program was:" >&5
17593 cat conftest.
$ac_ext >&5
17595 eval "ac_cv_header_$ac_safe=no"
17599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17600 echo "$ac_t""yes" 1>&6
17601 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17602 cat >> confdefs.h
<<EOF
17603 #define $ac_tr_hdr 1
17607 echo "$ac_t""no" 1>&6
17612 if test "$ac_cv_header_ole2_h" = "yes" ; then
17613 if test "$GCC" = yes ; then
17614 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17615 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17616 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
17617 cat >> confdefs.h
<<\EOF
17618 #define wxUSE_OLE 1
17624 cat >> confdefs.h
<<\EOF
17625 #define wxUSE_DATAOBJ 1
17629 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17632 wxUSE_DRAG_AND_DROP
=no
17636 if test "$wxUSE_METAFILE" = "yes"; then
17637 cat >> confdefs.h
<<\EOF
17638 #define wxUSE_METAFILE 1
17642 cat >> confdefs.h
<<\EOF
17643 #define wxUSE_ENH_METAFILE 1
17649 if test "$wxUSE_IPC" = "yes"; then
17650 if test "$wxUSE_SOCKETS" != "yes"; then
17651 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17654 cat >> confdefs.h
<<\EOF
17655 #define wxUSE_IPC 1
17660 if test "$wxUSE_CLIPBOARD" = "yes"; then
17661 cat >> confdefs.h
<<\EOF
17662 #define wxUSE_CLIPBOARD 1
17666 cat >> confdefs.h
<<\EOF
17667 #define wxUSE_DATAOBJ 1
17672 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17673 if test "$wxUSE_GTK" = 1; then
17674 if test "$WXGTK12" != 1; then
17675 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17676 wxUSE_DRAG_AND_DROP
=no
17680 if test "$wxUSE_MOTIF" = 1; then
17681 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17682 wxUSE_DRAG_AND_DROP
=no
17685 if test "$wxUSE_MAC" = 1; then
17686 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17687 wxUSE_DRAG_AND_DROP
=no
17690 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17691 cat >> confdefs.h
<<\EOF
17692 #define wxUSE_DRAG_AND_DROP 1
17695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17700 if test "$wxUSE_SPLINES" = "yes" ; then
17701 cat >> confdefs.h
<<\EOF
17702 #define wxUSE_SPLINES 1
17709 if test "$wxUSE_CONTROLS" = "yes"; then
17713 if test "$wxUSE_ACCEL" = "yes"; then
17714 cat >> confdefs.h
<<\EOF
17715 #define wxUSE_ACCEL 1
17721 if test "$wxUSE_BUTTON" = "yes"; then
17722 cat >> confdefs.h
<<\EOF
17723 #define wxUSE_BUTTON 1
17729 if test "$wxUSE_BMPBUTTON" = "yes"; then
17730 cat >> confdefs.h
<<\EOF
17731 #define wxUSE_BMPBUTTON 1
17737 if test "$wxUSE_CALCTRL" = "yes"; then
17738 cat >> confdefs.h
<<\EOF
17739 #define wxUSE_CALENDARCTRL 1
17743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17746 if test "$wxUSE_CARET" = "yes"; then
17747 cat >> confdefs.h
<<\EOF
17748 #define wxUSE_CARET 1
17752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17755 if test "$wxUSE_COMBOBOX" = "yes"; then
17756 cat >> confdefs.h
<<\EOF
17757 #define wxUSE_COMBOBOX 1
17763 if test "$wxUSE_CHOICE" = "yes"; then
17764 cat >> confdefs.h
<<\EOF
17765 #define wxUSE_CHOICE 1
17771 if test "$wxUSE_CHECKBOX" = "yes"; then
17772 cat >> confdefs.h
<<\EOF
17773 #define wxUSE_CHECKBOX 1
17779 if test "$wxUSE_CHECKLST" = "yes"; then
17780 cat >> confdefs.h
<<\EOF
17781 #define wxUSE_CHECKLISTBOX 1
17785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17788 if test "$wxUSE_GAUGE" = "yes"; then
17789 cat >> confdefs.h
<<\EOF
17790 #define wxUSE_GAUGE 1
17796 if test "$wxUSE_NEW_GRID" = "yes"; then
17798 cat >> confdefs.h
<<\EOF
17799 #define wxUSE_NEW_GRID 1
17803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17806 if test "$wxUSE_GRID" = "yes"; then
17807 cat >> confdefs.h
<<\EOF
17808 #define wxUSE_GRID 1
17812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17815 if test "$wxUSE_IMAGLIST" = "yes"; then
17816 cat >> confdefs.h
<<\EOF
17817 #define wxUSE_IMAGLIST 1
17822 if test "$wxUSE_LISTBOX" = "yes"; then
17823 cat >> confdefs.h
<<\EOF
17824 #define wxUSE_LISTBOX 1
17830 if test "$wxUSE_LISTCTRL" = "yes"; then
17831 if test "$wxUSE_IMAGLIST" = "yes"; then
17832 cat >> confdefs.h
<<\EOF
17833 #define wxUSE_LISTCTRL 1
17837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17839 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17843 if test "$wxUSE_NOTEBOOK" = "yes"; then
17844 cat >> confdefs.h
<<\EOF
17845 #define wxUSE_NOTEBOOK 1
17849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17852 if test "$wxUSE_PROPSHEET" = "yes"; then
17853 cat >> confdefs.h
<<\EOF
17854 #define wxUSE_PROPSHEET 1
17858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17861 if test "$wxUSE_RADIOBOX" = "yes"; then
17862 cat >> confdefs.h
<<\EOF
17863 #define wxUSE_RADIOBOX 1
17869 if test "$wxUSE_RADIOBTN" = "yes"; then
17870 cat >> confdefs.h
<<\EOF
17871 #define wxUSE_RADIOBTN 1
17877 if test "$wxUSE_SASH" = "yes"; then
17878 cat >> confdefs.h
<<\EOF
17879 #define wxUSE_SASH 1
17882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17885 if test "$wxUSE_SCROLLBAR" = "yes"; then
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_SCROLLBAR 1
17891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17894 if test "$wxUSE_SLIDER" = "yes"; then
17895 cat >> confdefs.h
<<\EOF
17896 #define wxUSE_SLIDER 1
17902 if test "$wxUSE_SPINBTN" = "yes"; then
17903 cat >> confdefs.h
<<\EOF
17904 #define wxUSE_SPINBTN 1
17910 if test "$wxUSE_SPINCTRL" = "yes"; then
17911 cat >> confdefs.h
<<\EOF
17912 #define wxUSE_SPINCTRL 1
17918 if test "$wxUSE_SPLITTER" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_SPLITTER 1
17923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17926 if test "$wxUSE_STATBMP" = "yes"; then
17927 cat >> confdefs.h
<<\EOF
17928 #define wxUSE_STATBMP 1
17934 if test "$wxUSE_STATBOX" = "yes"; then
17935 cat >> confdefs.h
<<\EOF
17936 #define wxUSE_STATBOX 1
17942 if test "$wxUSE_STATTEXT" = "yes"; then
17943 cat >> confdefs.h
<<\EOF
17944 #define wxUSE_STATTEXT 1
17950 if test "$wxUSE_STATLINE" = "yes"; then
17951 if test "$wxUSE_WINE" = 1 ; then
17952 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17954 cat >> confdefs.h
<<\EOF
17955 #define wxUSE_STATLINE 1
17962 if test "$wxUSE_STATUSBAR" = "yes"; then
17963 cat >> confdefs.h
<<\EOF
17964 #define wxUSE_STATUSBAR 1
17969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17972 if test "$wxUSE_TABDIALOG" = "yes"; then
17973 cat >> confdefs.h
<<\EOF
17974 #define wxUSE_TAB_DIALOG 1
17977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17980 if test "$wxUSE_TEXTCTRL" = "yes"; then
17981 cat >> confdefs.h
<<\EOF
17982 #define wxUSE_TEXTCTRL 1
17986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17990 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17991 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17995 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17996 cat >> confdefs.h
<<\EOF
17997 #define wxUSE_TOGGLEBTN 1
18004 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18005 cat >> confdefs.h
<<\EOF
18006 #define wxUSE_TOOLBAR_SIMPLE 1
18009 wxUSE_TOOLBAR
="yes"
18013 if test "$wxUSE_TOOLBAR" = "yes"; then
18014 cat >> confdefs.h
<<\EOF
18015 #define wxUSE_TOOLBAR 1
18020 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18021 wxUSE_TOOLBAR_NATIVE
="yes"
18024 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18025 cat >> confdefs.h
<<\EOF
18026 #define wxUSE_TOOLBAR_NATIVE 1
18032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18035 if test "$wxUSE_TOOLTIPS" = "yes"; then
18036 if test "$wxUSE_MOTIF" = 1; then
18037 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
18039 if test "$wxUSE_WINE" = 1; then
18040 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
18042 cat >> confdefs.h
<<\EOF
18043 #define wxUSE_TOOLTIPS 1
18050 if test "$wxUSE_TREECTRL" = "yes"; then
18051 if test "$wxUSE_IMAGLIST" = "yes"; then
18052 cat >> confdefs.h
<<\EOF
18053 #define wxUSE_TREECTRL 1
18057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18059 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18063 if test "$wxUSE_POPUPWIN" = "yes"; then
18064 if test "$wxUSE_MAC" = 1; then
18065 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
18067 cat >> confdefs.h
<<\EOF
18068 #define wxUSE_POPUPWIN 1
18075 if test "$USES_CONTROLS" = 1; then
18076 cat >> confdefs.h
<<\EOF
18077 #define wxUSE_CONTROLS 1
18083 if test "$wxUSE_TREELAYOUT" = "yes"; then
18084 cat >> confdefs.h
<<\EOF
18085 #define wxUSE_TREELAYOUT 1
18088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18091 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18092 cat >> confdefs.h
<<\EOF
18093 #define wxUSE_DRAGIMAGE 1
18096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18099 if test "$wxUSE_MENUS" = "yes"; then
18100 cat >> confdefs.h
<<\EOF
18101 #define wxUSE_MENUS 1
18104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18107 if test "$wxUSE_METAFILE" = "yes"; then
18108 cat >> confdefs.h
<<\EOF
18109 #define wxUSE_METAFILE 1
18114 if test "$wxUSE_MIMETYPE" = "yes"; then
18115 cat >> confdefs.h
<<\EOF
18116 #define wxUSE_MIMETYPE 1
18121 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18122 cat >> confdefs.h
<<\EOF
18123 #define wxUSE_SYSTEM_OPTIONS 1
18128 if test "$wxUSE_MINIFRAME" = "yes"; then
18129 cat >> confdefs.h
<<\EOF
18130 #define wxUSE_MINIFRAME 1
18133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18136 if test "$wxUSE_HTML" = "yes"; then
18137 cat >> confdefs.h
<<\EOF
18138 #define wxUSE_HTML 1
18141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18144 if test "$wxUSE_VALIDATORS" = "yes"; then
18145 cat >> confdefs.h
<<\EOF
18146 #define wxUSE_VALIDATORS 1
18149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18152 if test "$wxUSE_PALETTE" = "yes" ; then
18153 cat >> confdefs.h
<<\EOF
18154 #define wxUSE_PALETTE 1
18159 if test "$wxUSE_IMAGE" = "yes" ; then
18160 cat >> confdefs.h
<<\EOF
18161 #define wxUSE_IMAGE 1
18166 if test "$wxUSE_GIF" = "yes" ; then
18167 cat >> confdefs.h
<<\EOF
18168 #define wxUSE_GIF 1
18173 if test "$wxUSE_PCX" = "yes" ; then
18174 cat >> confdefs.h
<<\EOF
18175 #define wxUSE_PCX 1
18180 if test "$wxUSE_PNM" = "yes" ; then
18181 cat >> confdefs.h
<<\EOF
18182 #define wxUSE_PNM 1
18187 if test "$wxUSE_XPM" = "yes" ; then
18188 cat >> confdefs.h
<<\EOF
18189 #define wxUSE_XPM 1
18195 if test "$wxUSE_CHOICEDLG" = "yes"; then
18196 cat >> confdefs.h
<<\EOF
18197 #define wxUSE_CHOICEDLG 1
18202 if test "$wxUSE_COLOURDLG" = "yes"; then
18203 cat >> confdefs.h
<<\EOF
18204 #define wxUSE_COLOURDLG 1
18209 if test "$wxUSE_FILEDLG" = "yes"; then
18210 cat >> confdefs.h
<<\EOF
18211 #define wxUSE_FILEDLG 1
18216 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18217 cat >> confdefs.h
<<\EOF
18218 #define wxUSE_FINDREPLDLG 1
18223 if test "$wxUSE_FONTDLG" = "yes"; then
18224 cat >> confdefs.h
<<\EOF
18225 #define wxUSE_FONTDLG 1
18230 if test "$wxUSE_DIRDLG" = "yes"; then
18231 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18232 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18234 if test "$wxUSE_TREECTRL" != "yes"; then
18235 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18237 cat >> confdefs.h
<<\EOF
18238 #define wxUSE_DIRDLG 1
18245 if test "$wxUSE_MSGDLG" = "yes"; then
18246 cat >> confdefs.h
<<\EOF
18247 #define wxUSE_MSGDLG 1
18252 if test "$wxUSE_NUMBERDLG" = "yes"; then
18253 cat >> confdefs.h
<<\EOF
18254 #define wxUSE_NUMBERDLG 1
18259 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18260 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18261 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18263 cat >> confdefs.h
<<\EOF
18264 #define wxUSE_PROGRESSDLG 1
18270 if test "$wxUSE_SPLASH" = "yes"; then
18271 cat >> confdefs.h
<<\EOF
18272 #define wxUSE_SPLASH 1
18277 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18278 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18279 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18281 cat >> confdefs.h
<<\EOF
18282 #define wxUSE_STARTUP_TIPS 1
18288 if test "$wxUSE_TEXTDLG" = "yes"; then
18289 cat >> confdefs.h
<<\EOF
18290 #define wxUSE_TEXTDLG 1
18295 if test "$wxUSE_WIZARDDLG" = "yes"; then
18296 cat >> confdefs.h
<<\EOF
18297 #define wxUSE_WIZARDDLG 1
18300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18304 if test "$cross_compiling" = "yes"; then
18307 OSINFO
=`uname -s -r -m`
18308 OSINFO
="\"$OSINFO\""
18311 cat >> confdefs.h
<<EOF
18312 #define WXWIN_OS_DESCRIPTION $OSINFO
18317 if test "x$prefix" != "xNONE"; then
18320 wxPREFIX
=$ac_default_prefix
18323 cat >> confdefs.h
<<EOF
18324 #define wxINSTALL_PREFIX "$wxPREFIX"
18331 if test "$wxUSE_MAC" = 1 ; then
18332 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18336 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18338 if test "$wxUSE_GUI" = "yes"; then
18340 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18344 drawing dynamic erase event exec font image \
18345 minimal richedit rotate widgets"
18347 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18349 SAMPLES_SUBDIRS
="console"
18353 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18354 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18355 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18357 if test "$wxUSE_GTK" = 1; then
18360 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18363 if test "$GXX" = yes ; then
18364 CXXWARNINGS
="-Wall"
18366 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18368 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18369 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18371 LDFLAGS
="$LDFLAGS$PROFILE"
18373 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18458 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18459 echo "configure:18460: checking whether ${MAKE-make} sets \${MAKE}" >&5
18460 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18461 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18462 echo $ac_n "(cached) $ac_c" 1>&6
18464 cat > conftestmake
<<\EOF
18466 @
echo 'ac_maketemp="${MAKE}"'
18468 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18469 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18470 if test -n "$ac_maketemp"; then
18471 eval ac_cv_prog_make_
${ac_make}_set
=yes
18473 eval ac_cv_prog_make_
${ac_make}_set
=no
18477 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18478 echo "$ac_t""yes" 1>&6
18481 echo "$ac_t""no" 1>&6
18482 SET_MAKE
="MAKE=${MAKE-make}"
18486 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18487 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18492 if test "$wxUSE_GUI" = "yes"; then
18493 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18494 wx_cv_path_ifs
=$PATH_IFS
18495 wx_cv_program_ext
=$PROGRAM_EXT
18496 wx_cv_target_library
=$WX_TARGET_LIBRARY
18497 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18498 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18499 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18500 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18501 subdirs
="demos samples utils contrib"
18506 cat > confcache
<<\EOF
18507 # This file is a shell script that caches the results of configure
18508 # tests run on this system so they can be shared between configure
18509 # scripts and configure runs. It is not useful on other systems.
18510 # If it contains results you don't want to keep, you may remove or edit it.
18512 # By default, configure uses ./config.cache as the cache file,
18513 # creating it if it does not exist already. You can give configure
18514 # the --cache-file=FILE option to use a different cache file; that is
18515 # what configure does when it calls configure scripts in
18516 # subdirectories, so they share the cache.
18517 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18518 # config.status only pays attention to the cache file if you give it the
18519 # --recheck option to rerun configure.
18522 # The following way of writing the cache mishandles newlines in values,
18523 # but we know of no workaround that is simple, portable, and efficient.
18524 # So, don't put newlines in cache variables' values.
18525 # Ultrix sh set writes to stderr and can't be redirected directly,
18526 # and sets the high bit in the cache file unless we assign to the vars.
18528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18530 # `set' does not quote correctly, so add quotes (double-quote substitution
18531 # turns \\\\ into \\, and sed turns \\ into \).
18533 -e "s/'/'\\\\''/g" \
18534 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18537 # `set' quotes correctly as required by POSIX, so do not add quotes.
18538 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18541 if cmp -s $cache_file confcache
; then
18544 if test -w $cache_file; then
18545 echo "updating cache $cache_file"
18546 cat confcache
> $cache_file
18548 echo "not updating unwritable cache $cache_file"
18553 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18555 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18556 # Let make expand exec_prefix.
18557 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18559 # Any assignment to VPATH causes Sun make to only execute
18560 # the first set of double-colon rules, so remove it if not needed.
18561 # If there is a colon in the path, we need to keep it.
18562 if test "x$srcdir" = x.
; then
18563 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18566 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18568 DEFS
=-DHAVE_CONFIG_H
18570 # Without the "./", some shells look in PATH for config.status.
18571 : ${CONFIG_STATUS=./config.status}
18573 echo creating
$CONFIG_STATUS
18574 rm -f $CONFIG_STATUS
18575 cat > $CONFIG_STATUS <<EOF
18577 # Generated automatically by configure.
18578 # Run this file to recreate the current configuration.
18579 # This directory was configured as follows,
18580 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18582 # $0 $ac_configure_args
18584 # Compiler output produced by configure, useful for debugging
18585 # configure, is in ./config.log if it exists.
18587 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18590 case "\$ac_option" in
18591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18592 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18593 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18594 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18595 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18597 -help | --help | --hel | --he | --h)
18598 echo "\$ac_cs_usage"; exit 0 ;;
18599 *) echo "\$ac_cs_usage"; exit 1 ;;
18603 ac_given_srcdir=$srcdir
18604 ac_given_INSTALL="$INSTALL"
18606 trap 'rm -fr `echo "
18612 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18614 cat >> $CONFIG_STATUS <<EOF
18616 # Protect against being on the right side of a sed subst in config.status.
18617 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18618 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18622 s%@CFLAGS@%$CFLAGS%g
18623 s%@CPPFLAGS@%$CPPFLAGS%g
18624 s%@CXXFLAGS@%$CXXFLAGS%g
18625 s%@FFLAGS@%$FFLAGS%g
18627 s%@LDFLAGS@%$LDFLAGS%g
18629 s%@exec_prefix@%$exec_prefix%g
18630 s%@prefix@%$prefix%g
18631 s%@program_transform_name@%$program_transform_name%g
18632 s%@bindir@%$bindir%g
18633 s%@sbindir@%$sbindir%g
18634 s%@libexecdir@%$libexecdir%g
18635 s%@datadir@%$datadir%g
18636 s%@sysconfdir@%$sysconfdir%g
18637 s%@sharedstatedir@%$sharedstatedir%g
18638 s%@localstatedir@%$localstatedir%g
18639 s%@libdir@%$libdir%g
18640 s%@includedir@%$includedir%g
18641 s%@oldincludedir@%$oldincludedir%g
18642 s%@infodir@%$infodir%g
18643 s%@mandir@%$mandir%g
18645 s%@host_alias@%$host_alias%g
18646 s%@host_cpu@%$host_cpu%g
18647 s%@host_vendor@%$host_vendor%g
18648 s%@host_os@%$host_os%g
18649 s%@target@%$target%g
18650 s%@target_alias@%$target_alias%g
18651 s%@target_cpu@%$target_cpu%g
18652 s%@target_vendor@%$target_vendor%g
18653 s%@target_os@%$target_os%g
18655 s%@build_alias@%$build_alias%g
18656 s%@build_cpu@%$build_cpu%g
18657 s%@build_vendor@%$build_vendor%g
18658 s%@build_os@%$build_os%g
18662 s%@RANLIB@%$RANLIB%g
18664 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18665 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18666 s%@INSTALL_DATA@%$INSTALL_DATA%g
18670 s%@LEXLIB@%$LEXLIB%g
18672 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18673 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18674 s%@GTK_LIBS@%$GTK_LIBS%g
18675 s%@GTK_CONFIG@%$GTK_CONFIG%g
18676 s%@X_CFLAGS@%$X_CFLAGS%g
18677 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18678 s%@X_LIBS@%$X_LIBS%g
18679 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18680 s%@RESCOMP@%$RESCOMP%g
18682 s%@CXXCPP@%$CXXCPP%g
18683 s%@LEX_STEM@%$LEX_STEM%g
18684 s%@PATH_IFS@%$PATH_IFS%g
18685 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18686 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18687 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18688 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18689 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18690 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18691 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18692 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18693 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18694 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18695 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18696 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18697 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18698 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18699 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18700 s%@WX_ALL@%$WX_ALL%g
18701 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18702 s%@SHARED_LD@%$SHARED_LD%g
18703 s%@PIC_FLAG@%$PIC_FLAG%g
18704 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18705 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18706 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18707 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18708 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18709 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18710 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18711 s%@USE_GUI@%$USE_GUI%g
18712 s%@AFMINSTALL@%$AFMINSTALL%g
18713 s%@TOOLKIT@%$TOOLKIT%g
18714 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18715 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18716 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18717 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18718 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
18719 s%@cross_compiling@%$cross_compiling%g
18720 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18721 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18722 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18723 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18724 s%@GUIDIST@%$GUIDIST%g
18725 s%@PORT_FILES@%$PORT_FILES%g
18726 s%@DISTDIR@%$DISTDIR%g
18727 s%@RPM_SPEC@%$RPM_SPEC%g
18728 s%@RPM_FILES@%$RPM_FILES%g
18729 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18730 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18731 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
18732 s%@EXTRADEFS@%$EXTRADEFS%g
18733 s%@RESFLAGS@%$RESFLAGS%g
18734 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18735 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18736 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18737 s%@LIBWXMACRES@%$LIBWXMACRES%g
18738 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18739 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18740 s%@DLLTOOL@%$DLLTOOL%g
18744 s%@MAKEINFO@%$MAKEINFO%g
18745 s%@SET_MAKE@%$SET_MAKE%g
18746 s%@subdirs@%$subdirs%g
18751 cat >> $CONFIG_STATUS <<\EOF
18753 # Split the substitutions into bite-sized pieces for seds with
18754 # small command number limits, like on Digital OSF/1 and HP-UX.
18755 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18756 ac_file
=1 # Number of current file.
18757 ac_beg
=1 # First line for current file.
18758 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18761 while $ac_more_lines; do
18762 if test $ac_beg -gt 1; then
18763 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18765 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18767 if test ! -s conftest.s
$ac_file; then
18768 ac_more_lines
=false
18769 rm -f conftest.s
$ac_file
18771 if test -z "$ac_sed_cmds"; then
18772 ac_sed_cmds
="sed -f conftest.s$ac_file"
18774 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18776 ac_file
=`expr $ac_file + 1`
18778 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18781 if test -z "$ac_sed_cmds"; then
18786 cat >> $CONFIG_STATUS <<EOF
18788 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18795 cat >> $CONFIG_STATUS <<\EOF
18796 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18799 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18800 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18801 *) ac_file_in
="${ac_file}.in" ;;
18804 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18806 # Remove last slash and all that follows it. Not all systems have dirname.
18807 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18808 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18809 # The file is in a subdirectory.
18810 test ! -d "$ac_dir" && mkdir "$ac_dir"
18811 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18812 # A "../" for each directory in $ac_dir_suffix.
18813 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18815 ac_dir_suffix
= ac_dots
=
18818 case "$ac_given_srcdir" in
18820 if test -z "$ac_dots"; then top_srcdir
=.
18821 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18822 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18823 *) # Relative path.
18824 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18825 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18828 case "$ac_given_INSTALL" in
18829 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18830 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18833 echo creating
"$ac_file"
18835 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18837 *Makefile
*) ac_comsub
="1i\\
18838 # $configure_input" ;;
18842 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18844 s%@configure_input@%$configure_input%g
18845 s%@srcdir@%$srcdir%g
18846 s%@top_srcdir@%$top_srcdir%g
18847 s%@INSTALL@%$INSTALL%g
18848 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18852 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18853 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18855 # ac_d sets the value in "#define NAME VALUE" lines.
18856 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18857 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18860 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18861 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18862 ac_uB
='\([ ]\)%\1#\2define\3'
18865 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18866 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18867 ac_eB
='$%\1#\2define\3'
18871 if test "${CONFIG_HEADERS+set}" != set; then
18873 cat >> $CONFIG_STATUS <<EOF
18874 CONFIG_HEADERS="setup.h:setup.h.in"
18876 cat >> $CONFIG_STATUS <<\EOF
18878 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18879 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18881 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18882 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18883 *) ac_file_in
="${ac_file}.in" ;;
18886 echo creating
$ac_file
18888 rm -f conftest.frag conftest.
in conftest.out
18889 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18890 cat $ac_file_inputs > conftest.
in
18894 # Transform confdefs.h into a sed script conftest.vals that substitutes
18895 # the proper values into config.h.in to produce config.h. And first:
18896 # Protect against being on the right side of a sed subst in config.status.
18897 # Protect against being in an unquoted here document in config.status.
18898 rm -f conftest.vals
18899 cat > conftest.hdr
<<\EOF
18902 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18906 sed -n -f conftest.hdr confdefs.h > conftest.vals
18909 # This sed command replaces #undef with comments. This is necessary, for
18910 # example, in the case of _POSIX_SOURCE, which is predefined and required
18911 # on some systems where configure will not decide to define it.
18912 cat >> conftest.vals <<\EOF
18913 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18916 # Break up conftest.vals because some shells have a limit on
18917 # the size of here documents, and old seds have small limits too.
18919 rm -f conftest.tail
18922 ac_lines=`grep -c . conftest.vals
`
18923 # grep -c gives empty output for an empty file on some AIX systems.
18924 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18925 # Write a limited-size here document to conftest.frag.
18926 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18927 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18929 sed -f conftest.frag conftest.in > conftest.out
18931 mv conftest.out conftest.in
18932 ' >> $CONFIG_STATUS
18933 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18934 rm -f conftest.vals
18935 mv conftest.tail conftest.vals
18937 rm -f conftest.vals
18939 cat >> $CONFIG_STATUS <<\EOF
18940 rm -f conftest.frag conftest.h
18941 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18942 cat conftest.in >> conftest.h
18944 if cmp -s $ac_file conftest.h 2>/dev/null; then
18945 echo "$ac_file is unchanged"
18948 # Remove last slash and all that follows it. Not all systems have dirname.
18949 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18950 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18951 # The file is in a subdirectory.
18952 test ! -d "$ac_dir" && mkdir "$ac_dir"
18955 mv conftest.h $ac_file
18960 cat >> $CONFIG_STATUS <<EOF
18962 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18967 cat >> $CONFIG_STATUS <<\EOF
18969 if test ! -h wx-config; then
18971 mv wx-config wx${TOOLCHAIN_NAME}-config
18972 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18975 if test ! -d lib; then
18978 if test ! -d lib/wx; then
18981 if test ! -d lib/wx/include; then
18982 mkdir lib/wx/include
18984 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18985 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18987 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18988 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18990 if test -f setup.h; then
18991 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18996 chmod +x $CONFIG_STATUS
18997 rm -fr confdefs* $ac_clean_files
18998 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19000 if test "$no_recursion" != yes; then
19002 # Remove --cache-file and --srcdir arguments so they do not pile up.
19003 ac_sub_configure_args=
19005 for ac_arg in $ac_configure_args; do
19006 if test -n "$ac_prev"; then
19011 -cache-file | --cache-file | --cache-fil | --cache-fi \
19012 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19013 ac_prev=cache_file ;;
19014 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19015 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19021 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19025 for ac_config_dir in demos samples utils contrib; do
19027 # Do not complain, so a configure script can configure whichever
19028 # parts of a large source tree are present.
19029 if test ! -d $srcdir/$ac_config_dir; then
19033 echo configuring in $ac_config_dir
19038 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19040 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19048 # A "../" for each directory in /$ac_config_dir.
19049 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19052 .) # No --srcdir option. We are building in place.
19053 ac_sub_srcdir=$srcdir ;;
19054 /*) # Absolute path.
19055 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19056 *) # Relative path.
19057 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19060 # Check for guested configure; otherwise get Cygnus style configure.
19061 if test -f $ac_sub_srcdir/configure; then
19062 ac_sub_configure=$ac_sub_srcdir/configure
19063 elif test -f $ac_sub_srcdir/configure.in; then
19064 ac_sub_configure=$ac_configure
19066 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19070 # The recursion is here.
19071 if test -n "$ac_sub_configure"; then
19073 # Make the cache file name correct relative to the subdirectory.
19074 case "$cache_file" in
19075 /*) ac_sub_cache_file=$cache_file ;;
19076 *) # Relative path.
19077 ac_sub_cache_file="$ac_dots$cache_file" ;;
19079 case "$ac_given_INSTALL" in
19080 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19081 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19084 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19085 # The eval makes quoting arguments work.
19086 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19089 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }