3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-burnt_name create set name in shared library "
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-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 compile in joystick support (Linux only)"
359 --enable-metafiles use wxMetaFile (Windows only)"
361 --enable-dragimage use wxDragImage"
363 --enable-image use wxImage class"
365 --enable-gif use gif images (GIF file format)"
367 --enable-pcx use pcx images (PCX file format)"
369 --enable-pnm use pnm images (PNM file format)"
371 --enable-xpm use xpm images (XPM file format)"
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
377 --disable-gtktest Do not try to compile and run a test GTK program"
379 --with-x use the X Window System"
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
385 cache_file
=.
/config.cache
394 program_transform_name
=s
,x
,x
,
402 bindir
='${exec_prefix}/bin'
403 sbindir
='${exec_prefix}/sbin'
404 libexecdir
='${exec_prefix}/libexec'
405 datadir
='${prefix}/share'
406 sysconfdir
='${prefix}/etc'
407 sharedstatedir
='${prefix}/com'
408 localstatedir
='${prefix}/var'
409 libdir
='${exec_prefix}/lib'
410 includedir
='${prefix}/include'
411 oldincludedir
='/usr/include'
412 infodir
='${prefix}/info'
413 mandir
='${prefix}/man'
415 # Initialize some other variables.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
434 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
438 # Accept the important Cygnus configure options, so we can diagnose typos.
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir
="$ac_optarg" ;;
447 -build | --build | --buil | --bui | --bu)
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build
="$ac_optarg" ;;
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev
=cache_file
;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file
="$ac_optarg" ;;
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
463 datadir
="$ac_optarg" ;;
465 -disable-* | --disable-*)
466 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
471 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
474 -enable-* | --enable-*)
475 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
480 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev
=exec_prefix
;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix
="$ac_optarg" ;;
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
555 -host | --host | --hos | --ho)
557 -host=* | --host=* | --hos=* | --ho=*)
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev
=includedir
;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir
="$ac_optarg" ;;
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir
="$ac_optarg" ;;
572 -libdir | --libdir | --libdi | --libd)
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir
="$ac_optarg" ;;
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev
=libexecdir
;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir
="$ac_optarg" ;;
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev
=localstatedir
;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir
="$ac_optarg" ;;
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir
="$ac_optarg" ;;
599 # Obsolete; use --without-fp.
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev
=oldincludedir
;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir
="$ac_optarg" ;;
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix
="$ac_optarg" ;;
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev
=program_prefix
;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix
="$ac_optarg" ;;
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev
=program_suffix
;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix
="$ac_optarg" ;;
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev
=program_transform_name
;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name
="$ac_optarg" ;;
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
663 sbindir
="$ac_optarg" ;;
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
669 ac_prev
=sharedstatedir
;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
674 sharedstatedir
="$ac_optarg" ;;
676 -site | --site | --sit)
678 -site=* | --site=* | --sit=*)
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir
="$ac_optarg" ;;
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev
=sysconfdir
;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir
="$ac_optarg" ;;
693 -target | --target | --targe | --targ | --tar | --ta | --t)
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target
="$ac_optarg" ;;
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
706 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
711 ac_package
=`echo $ac_package| sed 's/-/_/g'`
716 eval "with_${ac_package}='$ac_optarg'" ;;
718 -without-* | --without-*)
719 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
724 ac_package
=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
728 # Obsolete; use --with-x.
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev
=x_includes
;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes
="$ac_optarg" ;;
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev
=x_libraries
;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries
="$ac_optarg" ;;
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
752 if test "x$nonopt" != xNONE
; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
767 # File descriptor usage:
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest
* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file
=wx
-config.
in
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted
=yes
825 # Try the directory containing this script, then its parent.
827 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
830 if test ! -r $srcdir/$ac_unique_file; then
834 ac_srcdir_defaulted
=no
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE
; then
848 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file
in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
864 echo "creating cache $cache_file"
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp
='$CPP $CPPFLAGS'
871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling
=$ac_cv_prog_cc_cross
877 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
886 ac_n
= ac_c
='\c' ac_t
=
892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
893 if test -f $ac_dir/install-sh; then
895 ac_install_sh
="$ac_aux_dir/install-sh -c"
897 elif test -f $ac_dir/install.sh
; then
899 ac_install_sh
="$ac_aux_dir/install.sh -c"
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
906 ac_config_guess
=$ac_aux_dir/config.guess
907 ac_config_sub
=$ac_aux_dir/config.sub
908 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
911 # Do some error checking and defaulting for the host and target type.
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
941 case "$host_alias" in
945 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
948 *) host_alias
=$nonopt ;;
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
962 case "$target_alias" in
965 NONE
) target_alias
=$host_alias ;;
966 *) target_alias
=$nonopt ;;
970 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
980 case "$build_alias" in
983 NONE
) build_alias
=$host_alias ;;
984 *) build_alias
=$nonopt ;;
988 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
997 program_prefix
=${target_alias}-
1001 WX_MAJOR_VERSION_NUMBER
=2
1002 WX_MINOR_VERSION_NUMBER
=3
1005 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1006 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1043 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1048 DEFAULT_wxUSE_MOTIF
=0
1051 DEFAULT_wxUSE_WINE
=0
1053 DEFAULT_DEFAULT_wxUSE_GTK
=0
1054 DEFAULT_DEFAULT_wxUSE_MAC
=0
1055 DEFAULT_DEFAULT_wxUSE_MGL
=0
1056 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1057 DEFAULT_DEFAULT_wxUSE_MSW
=0
1058 DEFAULT_DEFAULT_wxUSE_PM
=0
1059 DEFAULT_DEFAULT_wxUSE_WINE
=0
1066 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1068 cat >> confdefs.h
<<\EOF
1075 cat >> confdefs.h
<<\EOF
1080 if test "x$TMP" = "xalpha"; then
1082 cat >> confdefs.h
<<\EOF
1087 DEFAULT_DEFAULT_wxUSE_GTK
=1
1089 *-*-irix5* | *-*-irix6* )
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1111 #define __SOLARIS__ 1
1114 cat >> confdefs.h
<<\EOF
1118 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1119 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1142 cat >> confdefs.h
<<\EOF
1143 #define __FREEBSD__ 1
1146 cat >> confdefs.h
<<\EOF
1150 DEFAULT_DEFAULT_wxUSE_GTK
=1
1155 cat >> confdefs.h
<<\EOF
1156 #define __FREEBSD__ 1
1159 cat >> confdefs.h
<<\EOF
1160 #define __OPENBSD__ 1
1163 DEFAULT_DEFAULT_wxUSE_GTK
=1
1168 cat >> confdefs.h
<<\EOF
1169 #define __FREEBSD__ 1
1172 cat >> confdefs.h
<<\EOF
1173 #define __NETBSD__ 1
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1190 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1203 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 cat >> confdefs.h
<<\EOF
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1222 cat >> confdefs.h
<<\EOF
1226 cat >> confdefs.h
<<\EOF
1230 cat >> confdefs.h
<<\EOF
1234 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1237 *-*-cygwin* | *-*-mingw32* )
1240 cat >> confdefs.h
<<\EOF
1244 cat >> confdefs.h
<<\EOF
1248 cat >> confdefs.h
<<\EOF
1249 #define __WINDOWS__ 1
1252 cat >> confdefs.h
<<\EOF
1253 #define __GNUWIN32__ 1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1261 #define WINVER 0x0400
1265 DEFAULT_DEFAULT_wxUSE_MSW
=1
1269 cat >> confdefs.h
<<\EOF
1274 DEFAULT_DEFAULT_wxUSE_PM
=1
1280 cat >> confdefs.h
<<\EOF
1284 cat >> confdefs.h
<<\EOF
1285 #define __DARWIN__ 1
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MAC
=1
1297 cat >> confdefs.h
<<\EOF
1304 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1307 if test "$USE_UNIX" = 1 ; then
1309 cat >> confdefs.h
<<\EOF
1314 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1315 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1318 if test "$USE_BEOS" = 1; then
1319 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1320 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1323 if test "$USE_LINUX" = 1; then
1324 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1325 echo "configure:1326: checking for glibc 2.1 or later" >&5
1326 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1327 echo $ac_n "(cached) $ac_c" 1>&6
1329 cat > conftest.
$ac_ext <<EOF
1330 #line 1331 "configure"
1331 #include "confdefs.h"
1332 #include <features.h>
1335 #if !__GLIBC_PREREQ(2, 1)
1341 if { (eval echo configure
:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1347 echo "configure: failed program was:" >&5
1348 cat conftest.
$ac_ext >&5
1359 echo "$ac_t""$wx_lib_glibc21" 1>&6
1361 if test "$wx_lib_glibc21" = "yes"; then
1362 cat >> confdefs.h
<<\EOF
1363 #define wxHAVE_GLIBC2 1
1372 wx_arg_cache_file
="configarg.cache"
1373 echo "loading argument cache $wx_arg_cache_file"
1374 rm -f ${wx_arg_cache_file}.tmp
1375 touch ${wx_arg_cache_file}.tmp
1376 touch ${wx_arg_cache_file}
1380 if test $DEBUG_CONFIGURE = 1; then
1381 DEFAULT_wxUSE_UNIVERSAL
=no
1383 DEFAULT_wxUSE_THREADS
=yes
1385 DEFAULT_wxUSE_SHARED
=yes
1386 DEFAULT_wxUSE_BURNT_NAME
=no
1387 DEFAULT_wxUSE_OPTIMISE
=no
1388 DEFAULT_wxUSE_PROFILE
=no
1389 DEFAULT_wxUSE_NO_DEPS
=no
1390 DEFAULT_wxUSE_NO_RTTI
=no
1391 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1392 DEFAULT_wxUSE_PERMISSIVE
=no
1393 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1394 DEFAULT_wxUSE_DEBUG_INFO
=yes
1395 DEFAULT_wxUSE_DEBUG_GDB
=yes
1396 DEFAULT_wxUSE_MEM_TRACING
=no
1397 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1398 DEFAULT_wxUSE_DMALLOC
=no
1399 DEFAULT_wxUSE_APPLE_IEEE
=no
1401 DEFAULT_wxUSE_LOG
=yes
1402 DEFAULT_wxUSE_LOGWINDOW
=no
1403 DEFAULT_wxUSE_LOGGUI
=no
1405 DEFAULT_wxUSE_GUI
=yes
1406 DEFAULT_wxUSE_CONTROLS
=no
1408 DEFAULT_wxUSE_REGEX
=no
1409 DEFAULT_wxUSE_ZLIB
=no
1410 DEFAULT_wxUSE_LIBPNG
=no
1411 DEFAULT_wxUSE_LIBJPEG
=no
1412 DEFAULT_wxUSE_LIBTIFF
=no
1413 DEFAULT_wxUSE_ODBC
=no
1414 DEFAULT_wxUSE_FREETYPE
=no
1415 DEFAULT_wxUSE_OPENGL
=no
1417 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1418 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1419 DEFAULT_wxUSE_STD_IOSTREAM
=no
1420 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1421 DEFAULT_wxUSE_DATETIME
=no
1422 DEFAULT_wxUSE_TIMEDATE
=no
1423 DEFAULT_wxUSE_TIMER
=no
1424 DEFAULT_wxUSE_STOPWATCH
=no
1425 DEFAULT_wxUSE_FILE
=no
1426 DEFAULT_wxUSE_FFILE
=no
1427 DEFAULT_wxUSE_TEXTFILE
=no
1428 DEFAULT_wxUSE_WAVE
=no
1429 DEFAULT_wxUSE_INTL
=no
1430 DEFAULT_wxUSE_CONFIG
=no
1431 DEFAULT_wxUSE_FONTMAP
=no
1432 DEFAULT_wxUSE_STREAMS
=no
1433 DEFAULT_wxUSE_SOCKETS
=no
1434 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1435 DEFAULT_wxUSE_SERIAL
=no
1436 DEFAULT_wxUSE_JOYSTICK
=no
1437 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1438 DEFAULT_wxUSE_LONGLONG
=no
1439 DEFAULT_wxUSE_GEOMETRY
=no
1441 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1442 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1443 DEFAULT_wxUSE_POSTSCRIPT
=no
1445 DEFAULT_wxUSE_X_RESOURCES
=no
1446 DEFAULT_wxUSE_CLIPBOARD
=no
1447 DEFAULT_wxUSE_TOOLTIPS
=no
1448 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1449 DEFAULT_wxUSE_DRAGIMAGE
=no
1450 DEFAULT_wxUSE_SPLINES
=no
1452 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1453 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1454 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1456 DEFAULT_wxUSE_PROLOGIO
=no
1457 DEFAULT_wxUSE_RESOURCES
=no
1458 DEFAULT_wxUSE_CONSTRAINTS
=no
1459 DEFAULT_wxUSE_IPC
=no
1460 DEFAULT_wxUSE_HELP
=no
1461 DEFAULT_wxUSE_MS_HTML_HELP
=no
1462 DEFAULT_wxUSE_WXHTML_HELP
=no
1463 DEFAULT_wxUSE_TREELAYOUT
=no
1464 DEFAULT_wxUSE_METAFILE
=no
1465 DEFAULT_wxUSE_MIMETYPE
=no
1466 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1468 DEFAULT_wxUSE_COMMONDLGS
=no
1469 DEFAULT_wxUSE_CHOICEDLG
=no
1470 DEFAULT_wxUSE_COLOURDLG
=no
1471 DEFAULT_wxUSE_DIRDLG
=no
1472 DEFAULT_wxUSE_FILEDLG
=no
1473 DEFAULT_wxUSE_FINDREPLDLG
=no
1474 DEFAULT_wxUSE_FONTDLG
=no
1475 DEFAULT_wxUSE_MSGDLG
=no
1476 DEFAULT_wxUSE_NUMBERDLG
=no
1477 DEFAULT_wxUSE_TEXTDLG
=no
1478 DEFAULT_wxUSE_SPLASH
=no
1479 DEFAULT_wxUSE_STARTUP_TIPS
=no
1480 DEFAULT_wxUSE_PROGRESSDLG
=no
1481 DEFAULT_wxUSE_WIZARDDLG
=no
1483 DEFAULT_wxUSE_MENUS
=no
1484 DEFAULT_wxUSE_MINIFRAME
=no
1485 DEFAULT_wxUSE_HTML
=no
1486 DEFAULT_wxUSE_FILESYSTEM
=no
1487 DEFAULT_wxUSE_FS_INET
=no
1488 DEFAULT_wxUSE_FS_ZIP
=no
1489 DEFAULT_wxUSE_BUSYINFO
=no
1490 DEFAULT_wxUSE_ZIPSTREAM
=no
1491 DEFAULT_wxUSE_VALIDATORS
=no
1493 DEFAULT_wxUSE_ACCEL
=no
1494 DEFAULT_wxUSE_BUTTON
=no
1495 DEFAULT_wxUSE_BMPBUTTON
=no
1496 DEFAULT_wxUSE_CALCTRL
=no
1497 DEFAULT_wxUSE_CARET
=no
1498 DEFAULT_wxUSE_CHECKBOX
=no
1499 DEFAULT_wxUSE_CHECKLST
=no
1500 DEFAULT_wxUSE_CHOICE
=no
1501 DEFAULT_wxUSE_COMBOBOX
=no
1502 DEFAULT_wxUSE_GAUGE
=no
1503 DEFAULT_wxUSE_GRID
=no
1504 DEFAULT_wxUSE_NEW_GRID
=no
1505 DEFAULT_wxUSE_IMAGLIST
=no
1506 DEFAULT_wxUSE_LISTBOX
=no
1507 DEFAULT_wxUSE_LISTCTRL
=no
1508 DEFAULT_wxUSE_NOTEBOOK
=no
1509 DEFAULT_wxUSE_PROPSHEET
=no
1510 DEFAULT_wxUSE_RADIOBOX
=no
1511 DEFAULT_wxUSE_RADIOBTN
=no
1512 DEFAULT_wxUSE_SASH
=no
1513 DEFAULT_wxUSE_SCROLLBAR
=no
1514 DEFAULT_wxUSE_SLIDER
=no
1515 DEFAULT_wxUSE_SPINBTN
=no
1516 DEFAULT_wxUSE_SPINCTRL
=no
1517 DEFAULT_wxUSE_SPLITTER
=no
1518 DEFAULT_wxUSE_STATBMP
=no
1519 DEFAULT_wxUSE_STATBOX
=no
1520 DEFAULT_wxUSE_STATLINE
=no
1521 DEFAULT_wxUSE_STATTEXT
=no
1522 DEFAULT_wxUSE_STATUSBAR
=yes
1523 DEFAULT_wxUSE_TABDIALOG
=no
1524 DEFAULT_wxUSE_TEXTCTRL
=no
1525 DEFAULT_wxUSE_TOGGLEBTN
=no
1526 DEFAULT_wxUSE_TOOLBAR
=no
1527 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1528 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1529 DEFAULT_wxUSE_TREECTRL
=no
1530 DEFAULT_wxUSE_POPUPWIN
=no
1532 DEFAULT_wxUSE_UNICODE
=no
1533 DEFAULT_wxUSE_WCSRTOMBS
=no
1535 DEFAULT_wxUSE_IMAGE
=no
1536 DEFAULT_wxUSE_GIF
=no
1537 DEFAULT_wxUSE_PCX
=no
1538 DEFAULT_wxUSE_PNM
=no
1539 DEFAULT_wxUSE_XPM
=no
1541 DEFAULT_wxUSE_UNIVERSAL
=no
1543 DEFAULT_wxUSE_THREADS
=yes
1545 DEFAULT_wxUSE_SHARED
=yes
1546 DEFAULT_wxUSE_BURNT_NAME
=no
1547 DEFAULT_wxUSE_OPTIMISE
=yes
1548 DEFAULT_wxUSE_PROFILE
=no
1549 DEFAULT_wxUSE_NO_DEPS
=no
1550 DEFAULT_wxUSE_NO_RTTI
=no
1551 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1552 DEFAULT_wxUSE_PERMISSIVE
=no
1553 DEFAULT_wxUSE_DEBUG_FLAG
=no
1554 DEFAULT_wxUSE_DEBUG_INFO
=no
1555 DEFAULT_wxUSE_DEBUG_GDB
=no
1556 DEFAULT_wxUSE_MEM_TRACING
=no
1557 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1558 DEFAULT_wxUSE_DMALLOC
=no
1559 DEFAULT_wxUSE_APPLE_IEEE
=yes
1561 DEFAULT_wxUSE_LOG
=yes
1562 DEFAULT_wxUSE_LOGWINDOW
=yes
1563 DEFAULT_wxUSE_LOGGUI
=yes
1565 DEFAULT_wxUSE_GUI
=yes
1567 DEFAULT_wxUSE_REGEX
=yes
1568 DEFAULT_wxUSE_ZLIB
=yes
1569 DEFAULT_wxUSE_LIBPNG
=yes
1570 DEFAULT_wxUSE_LIBJPEG
=yes
1571 DEFAULT_wxUSE_LIBTIFF
=yes
1572 DEFAULT_wxUSE_ODBC
=no
1573 DEFAULT_wxUSE_FREETYPE
=no
1574 DEFAULT_wxUSE_OPENGL
=no
1576 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1577 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1578 DEFAULT_wxUSE_STD_IOSTREAM
=no
1579 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1580 DEFAULT_wxUSE_DATETIME
=yes
1581 DEFAULT_wxUSE_TIMEDATE
=no
1582 DEFAULT_wxUSE_TIMER
=yes
1583 DEFAULT_wxUSE_STOPWATCH
=yes
1584 DEFAULT_wxUSE_FILE
=yes
1585 DEFAULT_wxUSE_FFILE
=yes
1586 DEFAULT_wxUSE_TEXTFILE
=yes
1587 DEFAULT_wxUSE_WAVE
=no
1588 DEFAULT_wxUSE_INTL
=yes
1589 DEFAULT_wxUSE_CONFIG
=yes
1590 DEFAULT_wxUSE_FONTMAP
=yes
1591 DEFAULT_wxUSE_STREAMS
=yes
1592 DEFAULT_wxUSE_SOCKETS
=yes
1593 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1594 DEFAULT_wxUSE_SERIAL
=yes
1595 DEFAULT_wxUSE_JOYSTICK
=yes
1596 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1597 DEFAULT_wxUSE_LONGLONG
=yes
1598 DEFAULT_wxUSE_GEOMETRY
=yes
1600 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1601 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1602 DEFAULT_wxUSE_POSTSCRIPT
=yes
1604 DEFAULT_wxUSE_X_RESOURCES
=no
1605 DEFAULT_wxUSE_CLIPBOARD
=yes
1606 DEFAULT_wxUSE_TOOLTIPS
=yes
1607 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1608 DEFAULT_wxUSE_DRAGIMAGE
=yes
1609 DEFAULT_wxUSE_SPLINES
=yes
1611 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1612 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1613 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1615 DEFAULT_wxUSE_PROLOGIO
=yes
1616 DEFAULT_wxUSE_RESOURCES
=yes
1617 DEFAULT_wxUSE_CONSTRAINTS
=yes
1618 DEFAULT_wxUSE_IPC
=yes
1619 DEFAULT_wxUSE_HELP
=yes
1620 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1621 DEFAULT_wxUSE_WXHTML_HELP
=yes
1622 DEFAULT_wxUSE_TREELAYOUT
=yes
1623 DEFAULT_wxUSE_METAFILE
=yes
1624 DEFAULT_wxUSE_MIMETYPE
=yes
1625 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1627 DEFAULT_wxUSE_COMMONDLGS
=yes
1628 DEFAULT_wxUSE_CHOICEDLG
=yes
1629 DEFAULT_wxUSE_COLOURDLG
=yes
1630 DEFAULT_wxUSE_DIRDLG
=yes
1631 DEFAULT_wxUSE_FILEDLG
=yes
1632 DEFAULT_wxUSE_FINDREPLDLG
=yes
1633 DEFAULT_wxUSE_FONTDLG
=yes
1634 DEFAULT_wxUSE_MSGDLG
=yes
1635 DEFAULT_wxUSE_NUMBERDLG
=yes
1636 DEFAULT_wxUSE_TEXTDLG
=yes
1637 DEFAULT_wxUSE_SPLASH
=yes
1638 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1639 DEFAULT_wxUSE_PROGRESSDLG
=yes
1640 DEFAULT_wxUSE_WIZARDDLG
=yes
1642 DEFAULT_wxUSE_MENUS
=yes
1643 DEFAULT_wxUSE_MINIFRAME
=yes
1644 DEFAULT_wxUSE_HTML
=yes
1645 DEFAULT_wxUSE_FILESYSTEM
=yes
1646 DEFAULT_wxUSE_FS_INET
=yes
1647 DEFAULT_wxUSE_FS_ZIP
=yes
1648 DEFAULT_wxUSE_BUSYINFO
=yes
1649 DEFAULT_wxUSE_ZIPSTREAM
=yes
1650 DEFAULT_wxUSE_VALIDATORS
=yes
1652 DEFAULT_wxUSE_ACCEL
=yes
1653 DEFAULT_wxUSE_BUTTON
=yes
1654 DEFAULT_wxUSE_BMPBUTTON
=yes
1655 DEFAULT_wxUSE_CALCTRL
=yes
1656 DEFAULT_wxUSE_CARET
=yes
1657 DEFAULT_wxUSE_CHECKBOX
=yes
1658 DEFAULT_wxUSE_CHECKLST
=yes
1659 DEFAULT_wxUSE_CHOICE
=yes
1660 DEFAULT_wxUSE_COMBOBOX
=yes
1661 DEFAULT_wxUSE_GAUGE
=yes
1662 DEFAULT_wxUSE_GRID
=yes
1663 DEFAULT_wxUSE_NEW_GRID
=yes
1664 DEFAULT_wxUSE_IMAGLIST
=yes
1665 DEFAULT_wxUSE_LISTBOX
=yes
1666 DEFAULT_wxUSE_LISTCTRL
=yes
1667 DEFAULT_wxUSE_NOTEBOOK
=yes
1668 DEFAULT_wxUSE_PROPSHEET
=yes
1669 DEFAULT_wxUSE_RADIOBOX
=yes
1670 DEFAULT_wxUSE_RADIOBTN
=yes
1671 DEFAULT_wxUSE_SASH
=yes
1672 DEFAULT_wxUSE_SCROLLBAR
=yes
1673 DEFAULT_wxUSE_SLIDER
=yes
1674 DEFAULT_wxUSE_SPINBTN
=yes
1675 DEFAULT_wxUSE_SPINCTRL
=yes
1676 DEFAULT_wxUSE_SPLITTER
=yes
1677 DEFAULT_wxUSE_STATBMP
=yes
1678 DEFAULT_wxUSE_STATBOX
=yes
1679 DEFAULT_wxUSE_STATLINE
=yes
1680 DEFAULT_wxUSE_STATTEXT
=yes
1681 DEFAULT_wxUSE_STATUSBAR
=yes
1682 DEFAULT_wxUSE_TABDIALOG
=no
1683 DEFAULT_wxUSE_TEXTCTRL
=yes
1684 DEFAULT_wxUSE_TOGGLEBTN
=yes
1685 DEFAULT_wxUSE_TOOLBAR
=yes
1686 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1687 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1688 DEFAULT_wxUSE_TREECTRL
=yes
1689 DEFAULT_wxUSE_POPUPWIN
=yes
1691 DEFAULT_wxUSE_UNICODE
=no
1692 DEFAULT_wxUSE_WCSRTOMBS
=no
1694 DEFAULT_wxUSE_IMAGE
=yes
1695 DEFAULT_wxUSE_GIF
=yes
1696 DEFAULT_wxUSE_PCX
=yes
1697 DEFAULT_wxUSE_PNM
=yes
1698 DEFAULT_wxUSE_XPM
=yes
1703 for toolkit
in `echo $ALL_TOOLKITS`; do
1704 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1705 if test "x$LINE" != x
; then
1706 has_toolkit_in_cache
=1
1707 eval "DEFAULT_$LINE"
1708 eval "CACHE_$toolkit=1"
1714 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1715 echo "configure:1716: checking for --enable-gui" >&5
1717 # Check whether --enable-gui or --disable-gui was given.
1718 if test "${enable_gui+set}" = set; then
1719 enableval
="$enable_gui"
1721 if test "$enableval" = yes; then
1722 ac_cv_use_gui
='wxUSE_GUI=yes'
1724 ac_cv_use_gui
='wxUSE_GUI=no'
1729 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1730 if test "x$LINE" != x
; then
1731 eval "DEFAULT_$LINE"
1736 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1741 eval "$ac_cv_use_gui"
1742 if test "$no_cache" != 1; then
1743 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1746 if test "$wxUSE_GUI" = yes; then
1747 echo "$ac_t""yes" 1>&6
1749 echo "$ac_t""no" 1>&6
1753 if test "$wxUSE_GUI" = "yes"; then
1756 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1757 echo "configure:1758: checking for --enable-universal" >&5
1759 # Check whether --enable-universal or --disable-universal was given.
1760 if test "${enable_universal+set}" = set; then
1761 enableval
="$enable_universal"
1763 if test "$enableval" = yes; then
1764 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1766 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1771 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1772 if test "x$LINE" != x
; then
1773 eval "DEFAULT_$LINE"
1778 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1783 eval "$ac_cv_use_universal"
1784 if test "$no_cache" != 1; then
1785 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1788 if test "$wxUSE_UNIVERSAL" = yes; then
1789 echo "$ac_t""yes" 1>&6
1791 echo "$ac_t""no" 1>&6
1794 # Check whether --with-gtk or --without-gtk was given.
1795 if test "${with_gtk+set}" = set; then
1797 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1800 # Check whether --with-motif or --without-motif was given.
1801 if test "${with_motif+set}" = set; then
1802 withval
="$with_motif"
1803 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1806 # Check whether --with-mac or --without-mac was given.
1807 if test "${with_mac+set}" = set; then
1809 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1812 # Check whether --with-wine or --without-wine was given.
1813 if test "${with_wine+set}" = set; then
1814 withval
="$with_wine"
1815 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --with-cygwin or --without-cygwin was given.
1819 if test "${with_cygwin+set}" = set; then
1820 withval
="$with_cygwin"
1821 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1824 # Check whether --with-mingw or --without-mingw was given.
1825 if test "${with_mingw+set}" = set; then
1826 withval
="$with_mingw"
1827 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1830 # Check whether --with-pm or --without-pm was given.
1831 if test "${with_pm+set}" = set; then
1833 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1836 # Check whether --with-mgl or --without-mgl was given.
1837 if test "${with_mgl+set}" = set; then
1839 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1843 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1844 if test "${enable_gtk2+set}" = set; then
1845 enableval
="$enable_gtk2"
1853 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1854 echo "configure:1855: checking for --with-libpng" >&5
1856 # Check whether --with-libpng or --without-libpng was given.
1857 if test "${with_libpng+set}" = set; then
1858 withval
="$with_libpng"
1860 if test "$withval" = yes; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1862 elif test "$withval" = no
; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1864 elif test "$withval" = sys
; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1867 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1872 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1873 if test "x$LINE" != x
; then
1874 eval "DEFAULT_$LINE"
1879 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1884 eval "$ac_cv_use_libpng"
1885 if test "$no_cache" != 1; then
1886 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1889 if test "$wxUSE_LIBPNG" = yes; then
1890 echo "$ac_t""yes" 1>&6
1891 elif test "$wxUSE_LIBPNG" = no
; then
1892 echo "$ac_t""no" 1>&6
1893 elif test "$wxUSE_LIBPNG" = sys
; then
1894 echo "$ac_t""system version" 1>&6
1896 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1900 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1901 echo "configure:1902: checking for --with-libjpeg" >&5
1903 # Check whether --with-libjpeg or --without-libjpeg was given.
1904 if test "${with_libjpeg+set}" = set; then
1905 withval
="$with_libjpeg"
1907 if test "$withval" = yes; then
1908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1909 elif test "$withval" = no
; then
1910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1911 elif test "$withval" = sys
; then
1912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1914 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1919 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1920 if test "x$LINE" != x
; then
1921 eval "DEFAULT_$LINE"
1926 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1931 eval "$ac_cv_use_libjpeg"
1932 if test "$no_cache" != 1; then
1933 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1936 if test "$wxUSE_LIBJPEG" = yes; then
1937 echo "$ac_t""yes" 1>&6
1938 elif test "$wxUSE_LIBJPEG" = no
; then
1939 echo "$ac_t""no" 1>&6
1940 elif test "$wxUSE_LIBJPEG" = sys
; then
1941 echo "$ac_t""system version" 1>&6
1943 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1947 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1948 echo "configure:1949: checking for --with-libtiff" >&5
1950 # Check whether --with-libtiff or --without-libtiff was given.
1951 if test "${with_libtiff+set}" = set; then
1952 withval
="$with_libtiff"
1954 if test "$withval" = yes; then
1955 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1956 elif test "$withval" = no
; then
1957 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1958 elif test "$withval" = sys
; then
1959 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1961 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1966 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1967 if test "x$LINE" != x
; then
1968 eval "DEFAULT_$LINE"
1973 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1978 eval "$ac_cv_use_libtiff"
1979 if test "$no_cache" != 1; then
1980 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1983 if test "$wxUSE_LIBTIFF" = yes; then
1984 echo "$ac_t""yes" 1>&6
1985 elif test "$wxUSE_LIBTIFF" = no
; then
1986 echo "$ac_t""no" 1>&6
1987 elif test "$wxUSE_LIBTIFF" = sys
; then
1988 echo "$ac_t""system version" 1>&6
1990 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1994 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1995 echo "configure:1996: checking for --with-freetype" >&5
1997 # Check whether --with-freetype or --without-freetype was given.
1998 if test "${with_freetype+set}" = set; then
1999 withval
="$with_freetype"
2001 if test "$withval" = yes; then
2002 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2003 elif test "$withval" = no
; then
2004 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2005 elif test "$withval" = sys
; then
2006 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2008 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2013 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2014 if test "x$LINE" != x
; then
2015 eval "DEFAULT_$LINE"
2020 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2025 eval "$ac_cv_use_freetype"
2026 if test "$no_cache" != 1; then
2027 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2030 if test "$wxUSE_FREETYPE" = yes; then
2031 echo "$ac_t""yes" 1>&6
2032 elif test "$wxUSE_FREETYPE" = no
; then
2033 echo "$ac_t""no" 1>&6
2034 elif test "$wxUSE_FREETYPE" = sys
; then
2035 echo "$ac_t""system version" 1>&6
2037 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2041 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2042 echo "configure:2043: checking for --with-opengl" >&5
2044 # Check whether --with-opengl or --without-opengl was given.
2045 if test "${with_opengl+set}" = set; then
2046 withval
="$with_opengl"
2048 if test "$withval" = yes; then
2049 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2051 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2056 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2057 if test "x$LINE" != x
; then
2058 eval "DEFAULT_$LINE"
2063 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2068 eval "$ac_cv_use_opengl"
2069 if test "$no_cache" != 1; then
2070 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2073 if test "$wxUSE_OPENGL" = yes; then
2074 echo "$ac_t""yes" 1>&6
2076 echo "$ac_t""no" 1>&6
2083 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2084 echo "configure:2085: checking for --with-dmalloc" >&5
2086 # Check whether --with-dmalloc or --without-dmalloc was given.
2087 if test "${with_dmalloc+set}" = set; then
2088 withval
="$with_dmalloc"
2090 if test "$withval" = yes; then
2091 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2093 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2098 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x
; then
2100 eval "DEFAULT_$LINE"
2105 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2110 eval "$ac_cv_use_dmalloc"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2115 if test "$wxUSE_DMALLOC" = yes; then
2116 echo "$ac_t""yes" 1>&6
2118 echo "$ac_t""no" 1>&6
2122 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2123 echo "configure:2124: checking for --with-regex" >&5
2125 # Check whether --with-regex or --without-regex was given.
2126 if test "${with_regex+set}" = set; then
2127 withval
="$with_regex"
2129 if test "$withval" = yes; then
2130 ac_cv_use_regex
='wxUSE_REGEX=yes'
2131 elif test "$withval" = no
; then
2132 ac_cv_use_regex
='wxUSE_REGEX=no'
2133 elif test "$withval" = sys
; then
2134 ac_cv_use_regex
='wxUSE_REGEX=sys'
2136 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2141 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2142 if test "x$LINE" != x
; then
2143 eval "DEFAULT_$LINE"
2148 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2153 eval "$ac_cv_use_regex"
2154 if test "$no_cache" != 1; then
2155 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2158 if test "$wxUSE_REGEX" = yes; then
2159 echo "$ac_t""yes" 1>&6
2160 elif test "$wxUSE_REGEX" = no
; then
2161 echo "$ac_t""no" 1>&6
2162 elif test "$wxUSE_REGEX" = sys
; then
2163 echo "$ac_t""system version" 1>&6
2165 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2169 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2170 echo "configure:2171: checking for --with-zlib" >&5
2172 # Check whether --with-zlib or --without-zlib was given.
2173 if test "${with_zlib+set}" = set; then
2174 withval
="$with_zlib"
2176 if test "$withval" = yes; then
2177 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2178 elif test "$withval" = no
; then
2179 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2180 elif test "$withval" = sys
; then
2181 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2183 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2188 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2189 if test "x$LINE" != x
; then
2190 eval "DEFAULT_$LINE"
2195 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2200 eval "$ac_cv_use_zlib"
2201 if test "$no_cache" != 1; then
2202 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2205 if test "$wxUSE_ZLIB" = yes; then
2206 echo "$ac_t""yes" 1>&6
2207 elif test "$wxUSE_ZLIB" = no
; then
2208 echo "$ac_t""no" 1>&6
2209 elif test "$wxUSE_ZLIB" = sys
; then
2210 echo "$ac_t""system version" 1>&6
2212 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2216 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2217 echo "configure:2218: checking for --with-odbc" >&5
2219 # Check whether --with-odbc or --without-odbc was given.
2220 if test "${with_odbc+set}" = set; then
2221 withval
="$with_odbc"
2223 if test "$withval" = yes; then
2224 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2226 ac_cv_use_odbc
='wxUSE_ODBC=no'
2231 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2232 if test "x$LINE" != x
; then
2233 eval "DEFAULT_$LINE"
2238 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2243 eval "$ac_cv_use_odbc"
2244 if test "$no_cache" != 1; then
2245 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2248 if test "$wxUSE_ODBC" = yes; then
2249 echo "$ac_t""yes" 1>&6
2251 echo "$ac_t""no" 1>&6
2258 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2259 echo "configure:2260: checking for --enable-shared" >&5
2261 # Check whether --enable-shared or --disable-shared was given.
2262 if test "${enable_shared+set}" = set; then
2263 enableval
="$enable_shared"
2265 if test "$enableval" = yes; then
2266 ac_cv_use_shared
='wxUSE_SHARED=yes'
2268 ac_cv_use_shared
='wxUSE_SHARED=no'
2273 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2274 if test "x$LINE" != x
; then
2275 eval "DEFAULT_$LINE"
2280 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2285 eval "$ac_cv_use_shared"
2286 if test "$no_cache" != 1; then
2287 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2290 if test "$wxUSE_SHARED" = yes; then
2291 echo "$ac_t""yes" 1>&6
2293 echo "$ac_t""no" 1>&6
2297 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2298 echo "configure:2299: checking for --enable-burnt_name" >&5
2300 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2301 if test "${enable_burnt_name+set}" = set; then
2302 enableval
="$enable_burnt_name"
2304 if test "$enableval" = yes; then
2305 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2307 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2312 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2313 if test "x$LINE" != x
; then
2314 eval "DEFAULT_$LINE"
2319 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2324 eval "$ac_cv_use_burnt_name"
2325 if test "$no_cache" != 1; then
2326 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2329 if test "$wxUSE_BURNT_NAME" = yes; then
2330 echo "$ac_t""yes" 1>&6
2332 echo "$ac_t""no" 1>&6
2336 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --enable-optimise" >&5
2339 # Check whether --enable-optimise or --disable-optimise was given.
2340 if test "${enable_optimise+set}" = set; then
2341 enableval
="$enable_optimise"
2343 if test "$enableval" = yes; then
2344 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2346 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2351 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2363 eval "$ac_cv_use_optimise"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_OPTIMISE" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2376 echo "configure:2377: checking for --enable-debug" >&5
2378 # Check whether --enable-debug or --disable-debug was given.
2379 if test "${enable_debug+set}" = set; then
2380 enableval
="$enable_debug"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2385 ac_cv_use_debug
='wxUSE_DEBUG=no'
2390 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x
; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2402 eval "$ac_cv_use_debug"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2407 if test "$wxUSE_DEBUG" = yes; then
2408 echo "$ac_t""yes" 1>&6
2410 echo "$ac_t""no" 1>&6
2414 if test "$wxUSE_DEBUG" = "yes"; then
2415 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2416 DEFAULT_wxUSE_DEBUG_INFO
=yes
2417 elif test "$wxUSE_DEBUG" = "no"; then
2418 DEFAULT_wxUSE_DEBUG_FLAG
=no
2419 DEFAULT_wxUSE_DEBUG_INFO
=no
2423 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2424 echo "configure:2425: checking for --enable-debug_flag" >&5
2426 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2427 if test "${enable_debug_flag+set}" = set; then
2428 enableval
="$enable_debug_flag"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2433 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2438 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2450 eval "$ac_cv_use_debug_flag"
2451 if test "$no_cache" != 1; then
2452 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2455 if test "$wxUSE_DEBUG_FLAG" = yes; then
2456 echo "$ac_t""yes" 1>&6
2458 echo "$ac_t""no" 1>&6
2462 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2463 echo "configure:2464: checking for --enable-debug_info" >&5
2465 # Check whether --enable-debug_info or --disable-debug_info was given.
2466 if test "${enable_debug_info+set}" = set; then
2467 enableval
="$enable_debug_info"
2469 if test "$enableval" = yes; then
2470 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2472 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2477 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2478 if test "x$LINE" != x
; then
2479 eval "DEFAULT_$LINE"
2484 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2489 eval "$ac_cv_use_debug_info"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2494 if test "$wxUSE_DEBUG_INFO" = yes; then
2495 echo "$ac_t""yes" 1>&6
2497 echo "$ac_t""no" 1>&6
2501 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2502 echo "configure:2503: checking for --enable-debug_gdb" >&5
2504 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2505 if test "${enable_debug_gdb+set}" = set; then
2506 enableval
="$enable_debug_gdb"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2511 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2516 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x
; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2528 eval "$ac_cv_use_debug_gdb"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2533 if test "$wxUSE_DEBUG_GDB" = yes; then
2534 echo "$ac_t""yes" 1>&6
2536 echo "$ac_t""no" 1>&6
2540 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2541 echo "configure:2542: checking for --enable-debug_cntxt" >&5
2543 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2544 if test "${enable_debug_cntxt+set}" = set; then
2545 enableval
="$enable_debug_cntxt"
2547 if test "$enableval" = yes; then
2548 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2550 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2555 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2556 if test "x$LINE" != x
; then
2557 eval "DEFAULT_$LINE"
2562 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2567 eval "$ac_cv_use_debug_cntxt"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2573 echo "$ac_t""yes" 1>&6
2575 echo "$ac_t""no" 1>&6
2579 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2580 echo "configure:2581: checking for --enable-mem_tracing" >&5
2582 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2583 if test "${enable_mem_tracing+set}" = set; then
2584 enableval
="$enable_mem_tracing"
2586 if test "$enableval" = yes; then
2587 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2589 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2594 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x
; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2606 eval "$ac_cv_use_mem_tracing"
2607 if test "$no_cache" != 1; then
2608 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2611 if test "$wxUSE_MEM_TRACING" = yes; then
2612 echo "$ac_t""yes" 1>&6
2614 echo "$ac_t""no" 1>&6
2618 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2619 echo "configure:2620: checking for --enable-profile" >&5
2621 # Check whether --enable-profile or --disable-profile was given.
2622 if test "${enable_profile+set}" = set; then
2623 enableval
="$enable_profile"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2628 ac_cv_use_profile
='wxUSE_PROFILE=no'
2633 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2645 eval "$ac_cv_use_profile"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_PROFILE" = yes; then
2651 echo "$ac_t""yes" 1>&6
2653 echo "$ac_t""no" 1>&6
2657 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2658 echo "configure:2659: checking for --enable-no_rtti" >&5
2660 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2661 if test "${enable_no_rtti+set}" = set; then
2662 enableval
="$enable_no_rtti"
2664 if test "$enableval" = yes; then
2665 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2667 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2672 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2673 if test "x$LINE" != x
; then
2674 eval "DEFAULT_$LINE"
2679 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2684 eval "$ac_cv_use_no_rtti"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_NO_RTTI" = yes; then
2690 echo "$ac_t""yes" 1>&6
2692 echo "$ac_t""no" 1>&6
2696 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2697 echo "configure:2698: checking for --enable-no_exceptions" >&5
2699 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2700 if test "${enable_no_exceptions+set}" = set; then
2701 enableval
="$enable_no_exceptions"
2703 if test "$enableval" = yes; then
2704 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2706 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2711 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x
; then
2713 eval "DEFAULT_$LINE"
2718 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2723 eval "$ac_cv_use_no_exceptions"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2729 echo "$ac_t""yes" 1>&6
2731 echo "$ac_t""no" 1>&6
2735 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2736 echo "configure:2737: checking for --enable-permissive" >&5
2738 # Check whether --enable-permissive or --disable-permissive was given.
2739 if test "${enable_permissive+set}" = set; then
2740 enableval
="$enable_permissive"
2742 if test "$enableval" = yes; then
2743 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2745 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2750 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2751 if test "x$LINE" != x
; then
2752 eval "DEFAULT_$LINE"
2757 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2762 eval "$ac_cv_use_permissive"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_PERMISSIVE" = yes; then
2768 echo "$ac_t""yes" 1>&6
2770 echo "$ac_t""no" 1>&6
2774 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2775 echo "configure:2776: checking for --enable-no_deps" >&5
2777 # Check whether --enable-no_deps or --disable-no_deps was given.
2778 if test "${enable_no_deps+set}" = set; then
2779 enableval
="$enable_no_deps"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2784 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2789 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2801 eval "$ac_cv_use_no_deps"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_NO_DEPS" = yes; then
2807 echo "$ac_t""yes" 1>&6
2809 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --enable-compat20" >&5
2817 # Check whether --enable-compat20 or --disable-compat20 was given.
2818 if test "${enable_compat20+set}" = set; then
2819 enableval
="$enable_compat20"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2824 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2829 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2841 eval "$ac_cv_use_compat20"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2846 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2847 echo "$ac_t""yes" 1>&6
2849 echo "$ac_t""no" 1>&6
2853 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2854 echo "configure:2855: checking for --enable-compat22" >&5
2856 # Check whether --enable-compat22 or --disable-compat22 was given.
2857 if test "${enable_compat22+set}" = set; then
2858 enableval
="$enable_compat22"
2860 if test "$enableval" = yes; then
2861 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2863 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2868 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2880 eval "$ac_cv_use_compat22"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2885 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2886 echo "$ac_t""yes" 1>&6
2888 echo "$ac_t""no" 1>&6
2894 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2895 echo "configure:2896: checking for --enable-intl" >&5
2897 # Check whether --enable-intl or --disable-intl was given.
2898 if test "${enable_intl+set}" = set; then
2899 enableval
="$enable_intl"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_intl
='wxUSE_INTL=yes'
2904 ac_cv_use_intl
='wxUSE_INTL=no'
2909 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2921 eval "$ac_cv_use_intl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_INTL" = yes; then
2927 echo "$ac_t""yes" 1>&6
2929 echo "$ac_t""no" 1>&6
2933 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2934 echo "configure:2935: checking for --enable-config" >&5
2936 # Check whether --enable-config or --disable-config was given.
2937 if test "${enable_config+set}" = set; then
2938 enableval
="$enable_config"
2940 if test "$enableval" = yes; then
2941 ac_cv_use_config
='wxUSE_CONFIG=yes'
2943 ac_cv_use_config
='wxUSE_CONFIG=no'
2948 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x
; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2960 eval "$ac_cv_use_config"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2965 if test "$wxUSE_CONFIG" = yes; then
2966 echo "$ac_t""yes" 1>&6
2968 echo "$ac_t""no" 1>&6
2973 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2974 echo "configure:2975: checking for --enable-sockets" >&5
2976 # Check whether --enable-sockets or --disable-sockets was given.
2977 if test "${enable_sockets+set}" = set; then
2978 enableval
="$enable_sockets"
2980 if test "$enableval" = yes; then
2981 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2983 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2988 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x
; then
2990 eval "DEFAULT_$LINE"
2995 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3000 eval "$ac_cv_use_sockets"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3005 if test "$wxUSE_SOCKETS" = yes; then
3006 echo "$ac_t""yes" 1>&6
3008 echo "$ac_t""no" 1>&6
3013 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3014 echo "configure:3015: checking for --enable-ipc" >&5
3016 # Check whether --enable-ipc or --disable-ipc was given.
3017 if test "${enable_ipc+set}" = set; then
3018 enableval
="$enable_ipc"
3020 if test "$enableval" = yes; then
3021 ac_cv_use_ipc
='wxUSE_IPC=yes'
3023 ac_cv_use_ipc
='wxUSE_IPC=no'
3028 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x
; then
3030 eval "DEFAULT_$LINE"
3035 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3040 eval "$ac_cv_use_ipc"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3045 if test "$wxUSE_IPC" = yes; then
3046 echo "$ac_t""yes" 1>&6
3048 echo "$ac_t""no" 1>&6
3053 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3054 echo "configure:3055: checking for --enable-cmdline" >&5
3056 # Check whether --enable-cmdline or --disable-cmdline was given.
3057 if test "${enable_cmdline+set}" = set; then
3058 enableval
="$enable_cmdline"
3060 if test "$enableval" = yes; then
3061 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3063 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3068 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x
; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3080 eval "$ac_cv_use_cmdline"
3081 if test "$no_cache" != 1; then
3082 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3085 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3086 echo "$ac_t""yes" 1>&6
3088 echo "$ac_t""no" 1>&6
3092 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3093 echo "configure:3094: checking for --enable-datetime" >&5
3095 # Check whether --enable-datetime or --disable-datetime was given.
3096 if test "${enable_datetime+set}" = set; then
3097 enableval
="$enable_datetime"
3099 if test "$enableval" = yes; then
3100 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3102 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3107 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x
; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3119 eval "$ac_cv_use_datetime"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3124 if test "$wxUSE_DATETIME" = yes; then
3125 echo "$ac_t""yes" 1>&6
3127 echo "$ac_t""no" 1>&6
3131 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3132 echo "configure:3133: checking for --enable-timedate" >&5
3134 # Check whether --enable-timedate or --disable-timedate was given.
3135 if test "${enable_timedate+set}" = set; then
3136 enableval
="$enable_timedate"
3138 if test "$enableval" = yes; then
3139 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3141 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3146 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x
; then
3148 eval "DEFAULT_$LINE"
3153 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3158 eval "$ac_cv_use_timedate"
3159 if test "$no_cache" != 1; then
3160 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3163 if test "$wxUSE_TIMEDATE" = yes; then
3164 echo "$ac_t""yes" 1>&6
3166 echo "$ac_t""no" 1>&6
3170 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3171 echo "configure:3172: checking for --enable-stopwatch" >&5
3173 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3174 if test "${enable_stopwatch+set}" = set; then
3175 enableval
="$enable_stopwatch"
3177 if test "$enableval" = yes; then
3178 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3180 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3185 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3197 eval "$ac_cv_use_stopwatch"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_STOPWATCH" = yes; then
3203 echo "$ac_t""yes" 1>&6
3205 echo "$ac_t""no" 1>&6
3209 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3210 echo "configure:3211: checking for --enable-dialupman" >&5
3212 # Check whether --enable-dialupman or --disable-dialupman was given.
3213 if test "${enable_dialupman+set}" = set; then
3214 enableval
="$enable_dialupman"
3216 if test "$enableval" = yes; then
3217 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3219 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3224 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x
; then
3226 eval "DEFAULT_$LINE"
3231 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3236 eval "$ac_cv_use_dialupman"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3242 echo "$ac_t""yes" 1>&6
3244 echo "$ac_t""no" 1>&6
3248 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3249 echo "configure:3250: checking for --enable-apple_ieee" >&5
3251 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3252 if test "${enable_apple_ieee+set}" = set; then
3253 enableval
="$enable_apple_ieee"
3255 if test "$enableval" = yes; then
3256 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3258 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3263 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3275 eval "$ac_cv_use_apple_ieee"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_APPLE_IEEE" = yes; then
3281 echo "$ac_t""yes" 1>&6
3283 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --enable-timer" >&5
3290 # Check whether --enable-timer or --disable-timer was given.
3291 if test "${enable_timer+set}" = set; then
3292 enableval
="$enable_timer"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_timer
='wxUSE_TIMER=yes'
3297 ac_cv_use_timer
='wxUSE_TIMER=no'
3302 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3314 eval "$ac_cv_use_timer"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_TIMER" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3326 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3327 echo "configure:3328: checking for --enable-wave" >&5
3329 # Check whether --enable-wave or --disable-wave was given.
3330 if test "${enable_wave+set}" = set; then
3331 enableval
="$enable_wave"
3333 if test "$enableval" = yes; then
3334 ac_cv_use_wave
='wxUSE_WAVE=yes'
3336 ac_cv_use_wave
='wxUSE_WAVE=no'
3341 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x
; then
3343 eval "DEFAULT_$LINE"
3348 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3353 eval "$ac_cv_use_wave"
3354 if test "$no_cache" != 1; then
3355 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3358 if test "$wxUSE_WAVE" = yes; then
3359 echo "$ac_t""yes" 1>&6
3361 echo "$ac_t""no" 1>&6
3365 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3366 echo "configure:3367: checking for --enable-fraction" >&5
3368 # Check whether --enable-fraction or --disable-fraction was given.
3369 if test "${enable_fraction+set}" = set; then
3370 enableval
="$enable_fraction"
3372 if test "$enableval" = yes; then
3373 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3375 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3380 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3381 if test "x$LINE" != x
; then
3382 eval "DEFAULT_$LINE"
3387 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3392 eval "$ac_cv_use_fraction"
3393 if test "$no_cache" != 1; then
3394 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3397 if test "$wxUSE_FRACTION" = yes; then
3398 echo "$ac_t""yes" 1>&6
3400 echo "$ac_t""no" 1>&6
3404 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3405 echo "configure:3406: checking for --enable-dynlib" >&5
3407 # Check whether --enable-dynlib or --disable-dynlib was given.
3408 if test "${enable_dynlib+set}" = set; then
3409 enableval
="$enable_dynlib"
3411 if test "$enableval" = yes; then
3412 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3414 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3419 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3431 eval "$ac_cv_use_dynlib"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3437 echo "$ac_t""yes" 1>&6
3439 echo "$ac_t""no" 1>&6
3443 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3444 echo "configure:3445: checking for --enable-longlong" >&5
3446 # Check whether --enable-longlong or --disable-longlong was given.
3447 if test "${enable_longlong+set}" = set; then
3448 enableval
="$enable_longlong"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3453 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3458 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3470 eval "$ac_cv_use_longlong"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_LONGLONG" = yes; then
3476 echo "$ac_t""yes" 1>&6
3478 echo "$ac_t""no" 1>&6
3482 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3483 echo "configure:3484: checking for --enable-geometry" >&5
3485 # Check whether --enable-geometry or --disable-geometry was given.
3486 if test "${enable_geometry+set}" = set; then
3487 enableval
="$enable_geometry"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3492 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3497 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x
; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3509 eval "$ac_cv_use_geometry"
3510 if test "$no_cache" != 1; then
3511 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3514 if test "$wxUSE_GEOMETRY" = yes; then
3515 echo "$ac_t""yes" 1>&6
3517 echo "$ac_t""no" 1>&6
3521 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3522 echo "configure:3523: checking for --enable-log" >&5
3524 # Check whether --enable-log or --disable-log was given.
3525 if test "${enable_log+set}" = set; then
3526 enableval
="$enable_log"
3528 if test "$enableval" = yes; then
3529 ac_cv_use_log
='wxUSE_LOG=yes'
3531 ac_cv_use_log
='wxUSE_LOG=no'
3536 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3537 if test "x$LINE" != x
; then
3538 eval "DEFAULT_$LINE"
3543 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3548 eval "$ac_cv_use_log"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3553 if test "$wxUSE_LOG" = yes; then
3554 echo "$ac_t""yes" 1>&6
3556 echo "$ac_t""no" 1>&6
3560 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3561 echo "configure:3562: checking for --enable-streams" >&5
3563 # Check whether --enable-streams or --disable-streams was given.
3564 if test "${enable_streams+set}" = set; then
3565 enableval
="$enable_streams"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3570 ac_cv_use_streams
='wxUSE_STREAMS=no'
3575 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3587 eval "$ac_cv_use_streams"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_STREAMS" = yes; then
3593 echo "$ac_t""yes" 1>&6
3595 echo "$ac_t""no" 1>&6
3599 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3600 echo "configure:3601: checking for --enable-file" >&5
3602 # Check whether --enable-file or --disable-file was given.
3603 if test "${enable_file+set}" = set; then
3604 enableval
="$enable_file"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_file
='wxUSE_FILE=yes'
3609 ac_cv_use_file
='wxUSE_FILE=no'
3614 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3626 eval "$ac_cv_use_file"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_FILE" = yes; then
3632 echo "$ac_t""yes" 1>&6
3634 echo "$ac_t""no" 1>&6
3638 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3639 echo "configure:3640: checking for --enable-ffile" >&5
3641 # Check whether --enable-ffile or --disable-ffile was given.
3642 if test "${enable_ffile+set}" = set; then
3643 enableval
="$enable_ffile"
3645 if test "$enableval" = yes; then
3646 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3648 ac_cv_use_ffile
='wxUSE_FFILE=no'
3653 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x
; then
3655 eval "DEFAULT_$LINE"
3660 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3665 eval "$ac_cv_use_ffile"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_FFILE" = yes; then
3671 echo "$ac_t""yes" 1>&6
3673 echo "$ac_t""no" 1>&6
3677 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3678 echo "configure:3679: checking for --enable-textfile" >&5
3680 # Check whether --enable-textfile or --disable-textfile was given.
3681 if test "${enable_textfile+set}" = set; then
3682 enableval
="$enable_textfile"
3684 if test "$enableval" = yes; then
3685 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3687 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3692 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x
; then
3694 eval "DEFAULT_$LINE"
3699 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3704 eval "$ac_cv_use_textfile"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_TEXTFILE" = yes; then
3710 echo "$ac_t""yes" 1>&6
3712 echo "$ac_t""no" 1>&6
3716 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3717 echo "configure:3718: checking for --enable-fontmap" >&5
3719 # Check whether --enable-fontmap or --disable-fontmap was given.
3720 if test "${enable_fontmap+set}" = set; then
3721 enableval
="$enable_fontmap"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3726 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3731 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3743 eval "$ac_cv_use_fontmap"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_FONTMAP" = yes; then
3749 echo "$ac_t""yes" 1>&6
3751 echo "$ac_t""no" 1>&6
3755 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3756 echo "configure:3757: checking for --enable-unicode" >&5
3758 # Check whether --enable-unicode or --disable-unicode was given.
3759 if test "${enable_unicode+set}" = set; then
3760 enableval
="$enable_unicode"
3762 if test "$enableval" = yes; then
3763 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3765 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3770 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x
; then
3772 eval "DEFAULT_$LINE"
3777 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3782 eval "$ac_cv_use_unicode"
3783 if test "$no_cache" != 1; then
3784 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3787 if test "$wxUSE_UNICODE" = yes; then
3788 echo "$ac_t""yes" 1>&6
3790 echo "$ac_t""no" 1>&6
3794 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3795 echo "configure:3796: checking for --enable-wcsrtombs" >&5
3797 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3798 if test "${enable_wcsrtombs+set}" = set; then
3799 enableval
="$enable_wcsrtombs"
3801 if test "$enableval" = yes; then
3802 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3804 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3809 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x
; then
3811 eval "DEFAULT_$LINE"
3816 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3821 eval "$ac_cv_use_wcsrtombs"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3826 if test "$wxUSE_WCSRTOMBS" = yes; then
3827 echo "$ac_t""yes" 1>&6
3829 echo "$ac_t""no" 1>&6
3833 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3834 echo "configure:3835: checking for --enable-wxprintfv" >&5
3836 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3837 if test "${enable_wxprintfv+set}" = set; then
3838 enableval
="$enable_wxprintfv"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3843 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3848 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3860 eval "$ac_cv_use_wxprintfv"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3865 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3866 echo "$ac_t""yes" 1>&6
3868 echo "$ac_t""no" 1>&6
3872 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3873 echo "configure:3874: checking for --enable-std_iostreams" >&5
3875 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3876 if test "${enable_std_iostreams+set}" = set; then
3877 enableval
="$enable_std_iostreams"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3882 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3887 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3899 eval "$ac_cv_use_std_iostreams"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3904 if test "$wxUSE_STD_IOSTREAM" = yes; then
3905 echo "$ac_t""yes" 1>&6
3907 echo "$ac_t""no" 1>&6
3911 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3912 echo "configure:3913: checking for --enable-filesystem" >&5
3914 # Check whether --enable-filesystem or --disable-filesystem was given.
3915 if test "${enable_filesystem+set}" = set; then
3916 enableval
="$enable_filesystem"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3921 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3926 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3938 eval "$ac_cv_use_filesystem"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_FILESYSTEM" = yes; then
3944 echo "$ac_t""yes" 1>&6
3946 echo "$ac_t""no" 1>&6
3950 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3951 echo "configure:3952: checking for --enable-fs_inet" >&5
3953 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3954 if test "${enable_fs_inet+set}" = set; then
3955 enableval
="$enable_fs_inet"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3960 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3965 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3977 eval "$ac_cv_use_fs_inet"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_FS_INET" = yes; then
3983 echo "$ac_t""yes" 1>&6
3985 echo "$ac_t""no" 1>&6
3989 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3990 echo "configure:3991: checking for --enable-fs_zip" >&5
3992 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3993 if test "${enable_fs_zip+set}" = set; then
3994 enableval
="$enable_fs_zip"
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3999 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4004 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x
; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4016 eval "$ac_cv_use_fs_zip"
4017 if test "$no_cache" != 1; then
4018 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4021 if test "$wxUSE_FS_ZIP" = yes; then
4022 echo "$ac_t""yes" 1>&6
4024 echo "$ac_t""no" 1>&6
4028 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4029 echo "configure:4030: checking for --enable-zipstream" >&5
4031 # Check whether --enable-zipstream or --disable-zipstream was given.
4032 if test "${enable_zipstream+set}" = set; then
4033 enableval
="$enable_zipstream"
4035 if test "$enableval" = yes; then
4036 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4038 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4043 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x
; then
4045 eval "DEFAULT_$LINE"
4050 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4055 eval "$ac_cv_use_zipstream"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4060 if test "$wxUSE_ZIPSTREAM" = yes; then
4061 echo "$ac_t""yes" 1>&6
4063 echo "$ac_t""no" 1>&6
4068 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --enable-catch_segvs" >&5
4071 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4072 if test "${enable_catch_segvs+set}" = set; then
4073 enableval
="$enable_catch_segvs"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4078 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4083 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x
; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4095 eval "$ac_cv_use_catch_segvs"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4101 echo "$ac_t""yes" 1>&6
4103 echo "$ac_t""no" 1>&6
4107 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4108 echo "configure:4109: checking for --enable-snglinst" >&5
4110 # Check whether --enable-snglinst or --disable-snglinst was given.
4111 if test "${enable_snglinst+set}" = set; then
4112 enableval
="$enable_snglinst"
4114 if test "$enableval" = yes; then
4115 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4117 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4122 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x
; then
4124 eval "DEFAULT_$LINE"
4129 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4134 eval "$ac_cv_use_snglinst"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4140 echo "$ac_t""yes" 1>&6
4142 echo "$ac_t""no" 1>&6
4147 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4148 echo "configure:4149: checking for --enable-mimetype" >&5
4150 # Check whether --enable-mimetype or --disable-mimetype was given.
4151 if test "${enable_mimetype+set}" = set; then
4152 enableval
="$enable_mimetype"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4157 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4162 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x
; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4174 eval "$ac_cv_use_mimetype"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_MIMETYPE" = yes; then
4180 echo "$ac_t""yes" 1>&6
4182 echo "$ac_t""no" 1>&6
4186 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --enable-system_options" >&5
4189 # Check whether --enable-system_options or --disable-system_options was given.
4190 if test "${enable_system_options+set}" = set; then
4191 enableval
="$enable_system_options"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4196 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4201 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4213 eval "$ac_cv_use_system_options"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4219 echo "$ac_t""yes" 1>&6
4221 echo "$ac_t""no" 1>&6
4227 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4228 echo "configure:4229: checking for --enable-threads" >&5
4230 # Check whether --enable-threads or --disable-threads was given.
4231 if test "${enable_threads+set}" = set; then
4232 enableval
="$enable_threads"
4234 if test "$enableval" = yes; then
4235 ac_cv_use_threads
='wxUSE_THREADS=yes'
4237 ac_cv_use_threads
='wxUSE_THREADS=no'
4242 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x
; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4254 eval "$ac_cv_use_threads"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_THREADS" = yes; then
4260 echo "$ac_t""yes" 1>&6
4262 echo "$ac_t""no" 1>&6
4266 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4267 echo "configure:4268: checking for --enable-serial" >&5
4269 # Check whether --enable-serial or --disable-serial was given.
4270 if test "${enable_serial+set}" = set; then
4271 enableval
="$enable_serial"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4276 ac_cv_use_serial
='wxUSE_SERIAL=no'
4281 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4293 eval "$ac_cv_use_serial"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_SERIAL" = yes; then
4299 echo "$ac_t""yes" 1>&6
4301 echo "$ac_t""no" 1>&6
4305 if test "$wxUSE_GUI" = "yes"; then
4309 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4310 echo "configure:4311: checking for --enable-docview" >&5
4312 # Check whether --enable-docview or --disable-docview was given.
4313 if test "${enable_docview+set}" = set; then
4314 enableval
="$enable_docview"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4319 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4324 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x
; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4336 eval "$ac_cv_use_docview"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4342 echo "$ac_t""yes" 1>&6
4344 echo "$ac_t""no" 1>&6
4348 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --enable-help" >&5
4351 # Check whether --enable-help or --disable-help was given.
4352 if test "${enable_help+set}" = set; then
4353 enableval
="$enable_help"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_help
='wxUSE_HELP=yes'
4358 ac_cv_use_help
='wxUSE_HELP=no'
4363 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4375 eval "$ac_cv_use_help"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_HELP" = yes; then
4381 echo "$ac_t""yes" 1>&6
4383 echo "$ac_t""no" 1>&6
4387 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4388 echo "configure:4389: checking for --enable-mshtmlhelp" >&5
4390 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4391 if test "${enable_mshtmlhelp+set}" = set; then
4392 enableval
="$enable_mshtmlhelp"
4394 if test "$enableval" = yes; then
4395 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4397 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4402 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x
; then
4404 eval "DEFAULT_$LINE"
4409 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4414 eval "$ac_cv_use_mshtmlhelp"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4419 if test "$wxUSE_MS_HTML_HELP" = yes; then
4420 echo "$ac_t""yes" 1>&6
4422 echo "$ac_t""no" 1>&6
4426 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4427 echo "configure:4428: checking for --enable-html" >&5
4429 # Check whether --enable-html or --disable-html was given.
4430 if test "${enable_html+set}" = set; then
4431 enableval
="$enable_html"
4433 if test "$enableval" = yes; then
4434 ac_cv_use_html
='wxUSE_HTML=yes'
4436 ac_cv_use_html
='wxUSE_HTML=no'
4441 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4442 if test "x$LINE" != x
; then
4443 eval "DEFAULT_$LINE"
4448 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4453 eval "$ac_cv_use_html"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4458 if test "$wxUSE_HTML" = yes; then
4459 echo "$ac_t""yes" 1>&6
4461 echo "$ac_t""no" 1>&6
4465 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4466 echo "configure:4467: checking for --enable-htmlhelp" >&5
4468 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4469 if test "${enable_htmlhelp+set}" = set; then
4470 enableval
="$enable_htmlhelp"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4475 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4480 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4492 eval "$ac_cv_use_htmlhelp"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_WXHTML_HELP" = yes; then
4498 echo "$ac_t""yes" 1>&6
4500 echo "$ac_t""no" 1>&6
4504 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4505 echo "configure:4506: checking for --enable-constraints" >&5
4507 # Check whether --enable-constraints or --disable-constraints was given.
4508 if test "${enable_constraints+set}" = set; then
4509 enableval
="$enable_constraints"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4514 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4519 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4531 eval "$ac_cv_use_constraints"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_CONSTRAINTS" = yes; then
4537 echo "$ac_t""yes" 1>&6
4539 echo "$ac_t""no" 1>&6
4543 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4544 echo "configure:4545: checking for --enable-printarch" >&5
4546 # Check whether --enable-printarch or --disable-printarch was given.
4547 if test "${enable_printarch+set}" = set; then
4548 enableval
="$enable_printarch"
4550 if test "$enableval" = yes; then
4551 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4553 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4558 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x
; then
4560 eval "DEFAULT_$LINE"
4565 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4570 eval "$ac_cv_use_printarch"
4571 if test "$no_cache" != 1; then
4572 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4575 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4576 echo "$ac_t""yes" 1>&6
4578 echo "$ac_t""no" 1>&6
4582 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4583 echo "configure:4584: checking for --enable-mdi" >&5
4585 # Check whether --enable-mdi or --disable-mdi was given.
4586 if test "${enable_mdi+set}" = set; then
4587 enableval
="$enable_mdi"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4592 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4597 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x
; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4609 eval "$ac_cv_use_mdi"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4614 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4615 echo "$ac_t""yes" 1>&6
4617 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4622 echo "configure:4623: checking for --enable-loggui" >&5
4624 # Check whether --enable-loggui or --disable-loggui was given.
4625 if test "${enable_loggui+set}" = set; then
4626 enableval
="$enable_loggui"
4628 if test "$enableval" = yes; then
4629 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4631 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4636 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4643 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4648 eval "$ac_cv_use_loggui"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4653 if test "$wxUSE_LOGGUI" = yes; then
4654 echo "$ac_t""yes" 1>&6
4656 echo "$ac_t""no" 1>&6
4660 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4661 echo "configure:4662: checking for --enable-logwin" >&5
4663 # Check whether --enable-logwin or --disable-logwin was given.
4664 if test "${enable_logwin+set}" = set; then
4665 enableval
="$enable_logwin"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4670 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4675 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4687 eval "$ac_cv_use_logwin"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_LOGWINDOW" = yes; then
4693 echo "$ac_t""yes" 1>&6
4695 echo "$ac_t""no" 1>&6
4700 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4701 echo "configure:4702: checking for --enable-postscript" >&5
4703 # Check whether --enable-postscript or --disable-postscript was given.
4704 if test "${enable_postscript+set}" = set; then
4705 enableval
="$enable_postscript"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4710 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4715 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4727 eval "$ac_cv_use_postscript"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_POSTSCRIPT" = yes; then
4733 echo "$ac_t""yes" 1>&6
4735 echo "$ac_t""no" 1>&6
4742 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4743 echo "configure:4744: checking for --enable-prologio" >&5
4745 # Check whether --enable-prologio or --disable-prologio was given.
4746 if test "${enable_prologio+set}" = set; then
4747 enableval
="$enable_prologio"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4752 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4757 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4769 eval "$ac_cv_use_prologio"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_PROLOGIO" = yes; then
4775 echo "$ac_t""yes" 1>&6
4777 echo "$ac_t""no" 1>&6
4781 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4782 echo "configure:4783: checking for --enable-resources" >&5
4784 # Check whether --enable-resources or --disable-resources was given.
4785 if test "${enable_resources+set}" = set; then
4786 enableval
="$enable_resources"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4791 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4796 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4808 eval "$ac_cv_use_resources"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_RESOURCES" = yes; then
4814 echo "$ac_t""yes" 1>&6
4816 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --enable-xresources" >&5
4824 # Check whether --enable-xresources or --disable-xresources was given.
4825 if test "${enable_xresources+set}" = set; then
4826 enableval
="$enable_xresources"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4831 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4836 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4848 eval "$ac_cv_use_xresources"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_X_RESOURCES" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4862 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4863 echo "configure:4864: checking for --enable-clipboard" >&5
4865 # Check whether --enable-clipboard or --disable-clipboard was given.
4866 if test "${enable_clipboard+set}" = set; then
4867 enableval
="$enable_clipboard"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4872 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4877 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4889 eval "$ac_cv_use_clipboard"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_CLIPBOARD" = yes; then
4895 echo "$ac_t""yes" 1>&6
4897 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --enable-dnd" >&5
4904 # Check whether --enable-dnd or --disable-dnd was given.
4905 if test "${enable_dnd+set}" = set; then
4906 enableval
="$enable_dnd"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4911 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4916 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4928 eval "$ac_cv_use_dnd"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4936 echo "$ac_t""no" 1>&6
4940 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4941 echo "configure:4942: checking for --enable-metafile" >&5
4943 # Check whether --enable-metafile or --disable-metafile was given.
4944 if test "${enable_metafile+set}" = set; then
4945 enableval
="$enable_metafile"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4950 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4955 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4967 eval "$ac_cv_use_metafile"
4968 if test "$no_cache" != 1; then
4969 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4972 if test "$wxUSE_METAFILE" = yes; then
4973 echo "$ac_t""yes" 1>&6
4975 echo "$ac_t""no" 1>&6
4980 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4981 echo "configure:4982: checking for --enable-treelayout" >&5
4983 # Check whether --enable-treelayout or --disable-treelayout was given.
4984 if test "${enable_treelayout+set}" = set; then
4985 enableval
="$enable_treelayout"
4987 if test "$enableval" = yes; then
4988 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4990 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4995 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5007 eval "$ac_cv_use_treelayout"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_TREELAYOUT" = yes; then
5013 echo "$ac_t""yes" 1>&6
5015 echo "$ac_t""no" 1>&6
5021 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5022 echo "configure:5023: checking for --enable-controls" >&5
5024 # Check whether --enable-controls or --disable-controls was given.
5025 if test "${enable_controls+set}" = set; then
5026 enableval
="$enable_controls"
5028 if test "$enableval" = yes; then
5029 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5031 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5036 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5048 eval "$ac_cv_use_controls"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_CONTROLS" = yes; then
5054 echo "$ac_t""yes" 1>&6
5056 echo "$ac_t""no" 1>&6
5060 if test "$wxUSE_CONTROLS" = "yes"; then
5061 DEFAULT_wxUSE_ACCEL
=yes
5062 DEFAULT_wxUSE_BMPBUTTON
=yes
5063 DEFAULT_wxUSE_BUTTON
=yes
5064 DEFAULT_wxUSE_CALCTRL
=no
5065 DEFAULT_wxUSE_CARET
=yes
5066 DEFAULT_wxUSE_COMBOBOX
=yes
5067 DEFAULT_wxUSE_CHECKBOX
=yes
5068 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5069 DEFAULT_wxUSE_CHOICE
=yes
5070 DEFAULT_wxUSE_GAUGE
=yes
5071 DEFAULT_wxUSE_GRID
=yes
5072 DEFAULT_wxUSE_NEW_GRID
=yes
5073 DEFAULT_wxUSE_IMAGLIST
=yes
5074 DEFAULT_wxUSE_LISTBOX
=yes
5075 DEFAULT_wxUSE_LISTCTRL
=yes
5076 DEFAULT_wxUSE_NOTEBOOK
=yes
5077 DEFAULT_wxUSE_PROPSHEET
=yes
5078 DEFAULT_wxUSE_RADIOBOX
=yes
5079 DEFAULT_wxUSE_RADIOBTN
=yes
5080 DEFAULT_wxUSE_SASH
=yes
5081 DEFAULT_wxUSE_SCROLLBAR
=yes
5082 DEFAULT_wxUSE_SLIDER
=yes
5083 DEFAULT_wxUSE_SPINBTN
=yes
5084 DEFAULT_wxUSE_SPINCTRL
=yes
5085 DEFAULT_wxUSE_SPLITTER
=yes
5086 DEFAULT_wxUSE_STATBMP
=yes
5087 DEFAULT_wxUSE_STATBOX
=yes
5088 DEFAULT_wxUSE_STATLINE
=yes
5089 DEFAULT_wxUSE_STATUSBAR
=yes
5090 DEFAULT_wxUSE_TAB_DIALOG
=yes
5091 DEFAULT_wxUSE_TOGGLEBTN
=yes
5092 DEFAULT_wxUSE_TOOLBAR
=yes
5093 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5094 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5095 DEFAULT_wxUSE_TOOLTIPS
=yes
5096 DEFAULT_wxUSE_TREECTRL
=yes
5097 DEFAULT_wxUSE_POPUPWIN
=yes
5098 elif test "$wxUSE_CONTROLS" = "no"; then
5099 DEFAULT_wxUSE_ACCEL
=no
5100 DEFAULT_wxUSE_BMPBUTTON
=no
5101 DEFAULT_wxUSE_BUTTON
=no
5102 DEFAULT_wxUSE_CALCTRL
=no
5103 DEFAULT_wxUSE_CARET
=no
5104 DEFAULT_wxUSE_COMBOBOX
=no
5105 DEFAULT_wxUSE_CHECKBOX
=no
5106 DEFAULT_wxUSE_CHECKLISTBOX
=no
5107 DEFAULT_wxUSE_CHOICE
=no
5108 DEFAULT_wxUSE_GAUGE
=no
5109 DEFAULT_wxUSE_GRID
=no
5110 DEFAULT_wxUSE_NEW_GRID
=no
5111 DEFAULT_wxUSE_IMAGLIST
=no
5112 DEFAULT_wxUSE_LISTBOX
=no
5113 DEFAULT_wxUSE_LISTCTRL
=no
5114 DEFAULT_wxUSE_NOTEBOOK
=no
5115 DEFAULT_wxUSE_PROPSHEET
=no
5116 DEFAULT_wxUSE_RADIOBOX
=no
5117 DEFAULT_wxUSE_RADIOBTN
=no
5118 DEFAULT_wxUSE_SASH
=no
5119 DEFAULT_wxUSE_SCROLLBAR
=no
5120 DEFAULT_wxUSE_SLIDER
=no
5121 DEFAULT_wxUSE_SPINBTN
=no
5122 DEFAULT_wxUSE_SPINCTRL
=no
5123 DEFAULT_wxUSE_SPLITTER
=no
5124 DEFAULT_wxUSE_STATBMP
=no
5125 DEFAULT_wxUSE_STATBOX
=no
5126 DEFAULT_wxUSE_STATLINE
=no
5127 DEFAULT_wxUSE_STATUSBAR
=no
5128 DEFAULT_wxUSE_TAB_DIALOG
=no
5129 DEFAULT_wxUSE_TOGGLEBTN
=no
5130 DEFAULT_wxUSE_TOOLBAR
=no
5131 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5132 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5133 DEFAULT_wxUSE_TOOLTIPS
=no
5134 DEFAULT_wxUSE_TREECTRL
=no
5135 DEFAULT_wxUSE_POPUPWIN
=no
5139 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5140 echo "configure:5141: checking for --enable-accel" >&5
5142 # Check whether --enable-accel or --disable-accel was given.
5143 if test "${enable_accel+set}" = set; then
5144 enableval
="$enable_accel"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5149 ac_cv_use_accel
='wxUSE_ACCEL=no'
5154 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x
; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5166 eval "$ac_cv_use_accel"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_ACCEL" = yes; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5178 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5179 echo "configure:5180: checking for --enable-button" >&5
5181 # Check whether --enable-button or --disable-button was given.
5182 if test "${enable_button+set}" = set; then
5183 enableval
="$enable_button"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_button
='wxUSE_BUTTON=yes'
5188 ac_cv_use_button
='wxUSE_BUTTON=no'
5193 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5205 eval "$ac_cv_use_button"
5206 if test "$no_cache" != 1; then
5207 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5210 if test "$wxUSE_BUTTON" = yes; then
5211 echo "$ac_t""yes" 1>&6
5213 echo "$ac_t""no" 1>&6
5217 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5218 echo "configure:5219: checking for --enable-bmpbutton" >&5
5220 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5221 if test "${enable_bmpbutton+set}" = set; then
5222 enableval
="$enable_bmpbutton"
5224 if test "$enableval" = yes; then
5225 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5227 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5232 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5244 eval "$ac_cv_use_bmpbutton"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_BMPBUTTON" = yes; then
5250 echo "$ac_t""yes" 1>&6
5252 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5257 echo "configure:5258: checking for --enable-calendar" >&5
5259 # Check whether --enable-calendar or --disable-calendar was given.
5260 if test "${enable_calendar+set}" = set; then
5261 enableval
="$enable_calendar"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5266 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5271 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5283 eval "$ac_cv_use_calendar"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_CALCTRL" = yes; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-caret" >&5
5298 # Check whether --enable-caret or --disable-caret was given.
5299 if test "${enable_caret+set}" = set; then
5300 enableval
="$enable_caret"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_caret
='wxUSE_CARET=yes'
5305 ac_cv_use_caret
='wxUSE_CARET=no'
5310 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5322 eval "$ac_cv_use_caret"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_CARET" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-checkbox" >&5
5337 # Check whether --enable-checkbox or --disable-checkbox was given.
5338 if test "${enable_checkbox+set}" = set; then
5339 enableval
="$enable_checkbox"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5344 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5349 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5361 eval "$ac_cv_use_checkbox"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_CHECKBOX" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-checklst" >&5
5376 # Check whether --enable-checklst or --disable-checklst was given.
5377 if test "${enable_checklst+set}" = set; then
5378 enableval
="$enable_checklst"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5383 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5388 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5400 eval "$ac_cv_use_checklst"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_CHECKLST" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-choice" >&5
5415 # Check whether --enable-choice or --disable-choice was given.
5416 if test "${enable_choice+set}" = set; then
5417 enableval
="$enable_choice"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5422 ac_cv_use_choice
='wxUSE_CHOICE=no'
5427 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5439 eval "$ac_cv_use_choice"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_CHOICE" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5451 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5452 echo "configure:5453: checking for --enable-combobox" >&5
5454 # Check whether --enable-combobox or --disable-combobox was given.
5455 if test "${enable_combobox+set}" = set; then
5456 enableval
="$enable_combobox"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5461 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5466 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x
; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5478 eval "$ac_cv_use_combobox"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_COMBOBOX" = yes; then
5484 echo "$ac_t""yes" 1>&6
5486 echo "$ac_t""no" 1>&6
5490 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --enable-gauge" >&5
5493 # Check whether --enable-gauge or --disable-gauge was given.
5494 if test "${enable_gauge+set}" = set; then
5495 enableval
="$enable_gauge"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5500 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5505 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5517 eval "$ac_cv_use_gauge"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_GAUGE" = yes; then
5523 echo "$ac_t""yes" 1>&6
5525 echo "$ac_t""no" 1>&6
5529 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5530 echo "configure:5531: checking for --enable-grid" >&5
5532 # Check whether --enable-grid or --disable-grid was given.
5533 if test "${enable_grid+set}" = set; then
5534 enableval
="$enable_grid"
5536 if test "$enableval" = yes; then
5537 ac_cv_use_grid
='wxUSE_GRID=yes'
5539 ac_cv_use_grid
='wxUSE_GRID=no'
5544 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x
; then
5546 eval "DEFAULT_$LINE"
5551 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5556 eval "$ac_cv_use_grid"
5557 if test "$no_cache" != 1; then
5558 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5561 if test "$wxUSE_GRID" = yes; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5568 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5569 echo "configure:5570: checking for --enable-newgrid" >&5
5571 # Check whether --enable-newgrid or --disable-newgrid was given.
5572 if test "${enable_newgrid+set}" = set; then
5573 enableval
="$enable_newgrid"
5575 if test "$enableval" = yes; then
5576 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5578 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5583 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x
; then
5585 eval "DEFAULT_$LINE"
5590 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5595 eval "$ac_cv_use_newgrid"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_NEW_GRID" = yes; then
5601 echo "$ac_t""yes" 1>&6
5603 echo "$ac_t""no" 1>&6
5607 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5608 echo "configure:5609: checking for --enable-imaglist" >&5
5610 # Check whether --enable-imaglist or --disable-imaglist was given.
5611 if test "${enable_imaglist+set}" = set; then
5612 enableval
="$enable_imaglist"
5614 if test "$enableval" = yes; then
5615 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5617 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5622 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x
; then
5624 eval "DEFAULT_$LINE"
5629 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5634 eval "$ac_cv_use_imaglist"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5639 if test "$wxUSE_IMAGLIST" = yes; then
5640 echo "$ac_t""yes" 1>&6
5642 echo "$ac_t""no" 1>&6
5646 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5647 echo "configure:5648: checking for --enable-listbox" >&5
5649 # Check whether --enable-listbox or --disable-listbox was given.
5650 if test "${enable_listbox+set}" = set; then
5651 enableval
="$enable_listbox"
5653 if test "$enableval" = yes; then
5654 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5656 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5661 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5673 eval "$ac_cv_use_listbox"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5678 if test "$wxUSE_LISTBOX" = yes; then
5679 echo "$ac_t""yes" 1>&6
5681 echo "$ac_t""no" 1>&6
5685 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5686 echo "configure:5687: checking for --enable-listctrl" >&5
5688 # Check whether --enable-listctrl or --disable-listctrl was given.
5689 if test "${enable_listctrl+set}" = set; then
5690 enableval
="$enable_listctrl"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5695 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5700 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5712 eval "$ac_cv_use_listctrl"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_LISTCTRL" = yes; then
5718 echo "$ac_t""yes" 1>&6
5720 echo "$ac_t""no" 1>&6
5724 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5725 echo "configure:5726: checking for --enable-notebook" >&5
5727 # Check whether --enable-notebook or --disable-notebook was given.
5728 if test "${enable_notebook+set}" = set; then
5729 enableval
="$enable_notebook"
5731 if test "$enableval" = yes; then
5732 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5734 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5739 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x
; then
5741 eval "DEFAULT_$LINE"
5746 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5751 eval "$ac_cv_use_notebook"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5756 if test "$wxUSE_NOTEBOOK" = yes; then
5757 echo "$ac_t""yes" 1>&6
5759 echo "$ac_t""no" 1>&6
5763 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5764 echo "configure:5765: checking for --enable-propsheet" >&5
5766 # Check whether --enable-propsheet or --disable-propsheet was given.
5767 if test "${enable_propsheet+set}" = set; then
5768 enableval
="$enable_propsheet"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5773 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5778 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5790 eval "$ac_cv_use_propsheet"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5795 if test "$wxUSE_PROPSHEET" = yes; then
5796 echo "$ac_t""yes" 1>&6
5798 echo "$ac_t""no" 1>&6
5802 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5803 echo "configure:5804: checking for --enable-radiobox" >&5
5805 # Check whether --enable-radiobox or --disable-radiobox was given.
5806 if test "${enable_radiobox+set}" = set; then
5807 enableval
="$enable_radiobox"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5812 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5817 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x
; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5829 eval "$ac_cv_use_radiobox"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_RADIOBOX" = yes; then
5835 echo "$ac_t""yes" 1>&6
5837 echo "$ac_t""no" 1>&6
5841 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5842 echo "configure:5843: checking for --enable-radiobtn" >&5
5844 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5845 if test "${enable_radiobtn+set}" = set; then
5846 enableval
="$enable_radiobtn"
5848 if test "$enableval" = yes; then
5849 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5851 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5856 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x
; then
5858 eval "DEFAULT_$LINE"
5863 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5868 eval "$ac_cv_use_radiobtn"
5869 if test "$no_cache" != 1; then
5870 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5873 if test "$wxUSE_RADIOBTN" = yes; then
5874 echo "$ac_t""yes" 1>&6
5876 echo "$ac_t""no" 1>&6
5880 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5881 echo "configure:5882: checking for --enable-sash" >&5
5883 # Check whether --enable-sash or --disable-sash was given.
5884 if test "${enable_sash+set}" = set; then
5885 enableval
="$enable_sash"
5887 if test "$enableval" = yes; then
5888 ac_cv_use_sash
='wxUSE_SASH=yes'
5890 ac_cv_use_sash
='wxUSE_SASH=no'
5895 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5896 if test "x$LINE" != x
; then
5897 eval "DEFAULT_$LINE"
5902 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5907 eval "$ac_cv_use_sash"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_SASH" = yes; then
5913 echo "$ac_t""yes" 1>&6
5915 echo "$ac_t""no" 1>&6
5919 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5920 echo "configure:5921: checking for --enable-scrollbar" >&5
5922 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5923 if test "${enable_scrollbar+set}" = set; then
5924 enableval
="$enable_scrollbar"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5929 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5934 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x
; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5946 eval "$ac_cv_use_scrollbar"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_SCROLLBAR" = yes; then
5952 echo "$ac_t""yes" 1>&6
5954 echo "$ac_t""no" 1>&6
5958 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5959 echo "configure:5960: checking for --enable-slider" >&5
5961 # Check whether --enable-slider or --disable-slider was given.
5962 if test "${enable_slider+set}" = set; then
5963 enableval
="$enable_slider"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5968 ac_cv_use_slider
='wxUSE_SLIDER=no'
5973 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x
; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5985 eval "$ac_cv_use_slider"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5990 if test "$wxUSE_SLIDER" = yes; then
5991 echo "$ac_t""yes" 1>&6
5993 echo "$ac_t""no" 1>&6
5997 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5998 echo "configure:5999: checking for --enable-spinbtn" >&5
6000 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6001 if test "${enable_spinbtn+set}" = set; then
6002 enableval
="$enable_spinbtn"
6004 if test "$enableval" = yes; then
6005 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6007 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6012 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6013 if test "x$LINE" != x
; then
6014 eval "DEFAULT_$LINE"
6019 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6024 eval "$ac_cv_use_spinbtn"
6025 if test "$no_cache" != 1; then
6026 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6029 if test "$wxUSE_SPINBTN" = yes; then
6030 echo "$ac_t""yes" 1>&6
6032 echo "$ac_t""no" 1>&6
6036 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6037 echo "configure:6038: checking for --enable-spinctrl" >&5
6039 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6040 if test "${enable_spinctrl+set}" = set; then
6041 enableval
="$enable_spinctrl"
6043 if test "$enableval" = yes; then
6044 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6046 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6051 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x
; then
6053 eval "DEFAULT_$LINE"
6058 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6063 eval "$ac_cv_use_spinctrl"
6064 if test "$no_cache" != 1; then
6065 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6068 if test "$wxUSE_SPINCTRL" = yes; then
6069 echo "$ac_t""yes" 1>&6
6071 echo "$ac_t""no" 1>&6
6075 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6076 echo "configure:6077: checking for --enable-splitter" >&5
6078 # Check whether --enable-splitter or --disable-splitter was given.
6079 if test "${enable_splitter+set}" = set; then
6080 enableval
="$enable_splitter"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6085 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6090 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x
; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6102 eval "$ac_cv_use_splitter"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6107 if test "$wxUSE_SPLITTER" = yes; then
6108 echo "$ac_t""yes" 1>&6
6110 echo "$ac_t""no" 1>&6
6114 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6115 echo "configure:6116: checking for --enable-statbmp" >&5
6117 # Check whether --enable-statbmp or --disable-statbmp was given.
6118 if test "${enable_statbmp+set}" = set; then
6119 enableval
="$enable_statbmp"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6124 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6129 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x
; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6141 eval "$ac_cv_use_statbmp"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6146 if test "$wxUSE_STATBMP" = yes; then
6147 echo "$ac_t""yes" 1>&6
6149 echo "$ac_t""no" 1>&6
6153 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6154 echo "configure:6155: checking for --enable-statbox" >&5
6156 # Check whether --enable-statbox or --disable-statbox was given.
6157 if test "${enable_statbox+set}" = set; then
6158 enableval
="$enable_statbox"
6160 if test "$enableval" = yes; then
6161 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6163 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6168 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x
; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6180 eval "$ac_cv_use_statbox"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_STATBOX" = yes; then
6186 echo "$ac_t""yes" 1>&6
6188 echo "$ac_t""no" 1>&6
6192 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6193 echo "configure:6194: checking for --enable-statline" >&5
6195 # Check whether --enable-statline or --disable-statline was given.
6196 if test "${enable_statline+set}" = set; then
6197 enableval
="$enable_statline"
6199 if test "$enableval" = yes; then
6200 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6202 ac_cv_use_statline
='wxUSE_STATLINE=no'
6207 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x
; then
6209 eval "DEFAULT_$LINE"
6214 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6219 eval "$ac_cv_use_statline"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_STATLINE" = yes; then
6225 echo "$ac_t""yes" 1>&6
6227 echo "$ac_t""no" 1>&6
6231 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6232 echo "configure:6233: checking for --enable-stattext" >&5
6234 # Check whether --enable-stattext or --disable-stattext was given.
6235 if test "${enable_stattext+set}" = set; then
6236 enableval
="$enable_stattext"
6238 if test "$enableval" = yes; then
6239 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6241 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6246 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x
; then
6248 eval "DEFAULT_$LINE"
6253 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6258 eval "$ac_cv_use_stattext"
6259 if test "$no_cache" != 1; then
6260 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6263 if test "$wxUSE_STATTEXT" = yes; then
6264 echo "$ac_t""yes" 1>&6
6266 echo "$ac_t""no" 1>&6
6270 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6271 echo "configure:6272: checking for --enable-statusbar" >&5
6273 # Check whether --enable-statusbar or --disable-statusbar was given.
6274 if test "${enable_statusbar+set}" = set; then
6275 enableval
="$enable_statusbar"
6277 if test "$enableval" = yes; then
6278 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6280 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6285 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x
; then
6287 eval "DEFAULT_$LINE"
6292 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6297 eval "$ac_cv_use_statusbar"
6298 if test "$no_cache" != 1; then
6299 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6302 if test "$wxUSE_STATUSBAR" = yes; then
6303 echo "$ac_t""yes" 1>&6
6305 echo "$ac_t""no" 1>&6
6309 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6310 echo "configure:6311: checking for --enable-tabdialog" >&5
6312 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6313 if test "${enable_tabdialog+set}" = set; then
6314 enableval
="$enable_tabdialog"
6316 if test "$enableval" = yes; then
6317 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6319 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6324 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x
; then
6326 eval "DEFAULT_$LINE"
6331 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6336 eval "$ac_cv_use_tabdialog"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6341 if test "$wxUSE_TABDIALOG" = yes; then
6342 echo "$ac_t""yes" 1>&6
6344 echo "$ac_t""no" 1>&6
6348 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6349 echo "configure:6350: checking for --enable-textctrl" >&5
6351 # Check whether --enable-textctrl or --disable-textctrl was given.
6352 if test "${enable_textctrl+set}" = set; then
6353 enableval
="$enable_textctrl"
6355 if test "$enableval" = yes; then
6356 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6358 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6363 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x
; then
6365 eval "DEFAULT_$LINE"
6370 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6375 eval "$ac_cv_use_textctrl"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_TEXTCTRL" = yes; then
6381 echo "$ac_t""yes" 1>&6
6383 echo "$ac_t""no" 1>&6
6387 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6388 echo "configure:6389: checking for --enable-togglebtn" >&5
6390 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6391 if test "${enable_togglebtn+set}" = set; then
6392 enableval
="$enable_togglebtn"
6394 if test "$enableval" = yes; then
6395 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6397 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6402 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x
; then
6404 eval "DEFAULT_$LINE"
6409 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6414 eval "$ac_cv_use_togglebtn"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_TOGGLEBTN" = yes; then
6420 echo "$ac_t""yes" 1>&6
6422 echo "$ac_t""no" 1>&6
6426 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6427 echo "configure:6428: checking for --enable-toolbar" >&5
6429 # Check whether --enable-toolbar or --disable-toolbar was given.
6430 if test "${enable_toolbar+set}" = set; then
6431 enableval
="$enable_toolbar"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6436 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6441 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6453 eval "$ac_cv_use_toolbar"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_TOOLBAR" = yes; then
6459 echo "$ac_t""yes" 1>&6
6461 echo "$ac_t""no" 1>&6
6465 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6466 echo "configure:6467: checking for --enable-tbarnative" >&5
6468 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6469 if test "${enable_tbarnative+set}" = set; then
6470 enableval
="$enable_tbarnative"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6475 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6480 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6492 eval "$ac_cv_use_tbarnative"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6498 echo "$ac_t""yes" 1>&6
6500 echo "$ac_t""no" 1>&6
6504 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6505 echo "configure:6506: checking for --enable-tbarsmpl" >&5
6507 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6508 if test "${enable_tbarsmpl+set}" = set; then
6509 enableval
="$enable_tbarsmpl"
6511 if test "$enableval" = yes; then
6512 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6514 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6519 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x
; then
6521 eval "DEFAULT_$LINE"
6526 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6531 eval "$ac_cv_use_tbarsmpl"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6536 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6537 echo "$ac_t""yes" 1>&6
6539 echo "$ac_t""no" 1>&6
6543 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6544 echo "configure:6545: checking for --enable-treectrl" >&5
6546 # Check whether --enable-treectrl or --disable-treectrl was given.
6547 if test "${enable_treectrl+set}" = set; then
6548 enableval
="$enable_treectrl"
6550 if test "$enableval" = yes; then
6551 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6553 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6558 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x
; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6570 eval "$ac_cv_use_treectrl"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6575 if test "$wxUSE_TREECTRL" = yes; then
6576 echo "$ac_t""yes" 1>&6
6578 echo "$ac_t""no" 1>&6
6582 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6583 echo "configure:6584: checking for --enable-popupwin" >&5
6585 # Check whether --enable-popupwin or --disable-popupwin was given.
6586 if test "${enable_popupwin+set}" = set; then
6587 enableval
="$enable_popupwin"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6592 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6597 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x
; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6609 eval "$ac_cv_use_popupwin"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_POPUPWIN" = yes; then
6615 echo "$ac_t""yes" 1>&6
6617 echo "$ac_t""no" 1>&6
6623 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6624 echo "configure:6625: checking for --enable-commondlg" >&5
6626 # Check whether --enable-commondlg or --disable-commondlg was given.
6627 if test "${enable_commondlg+set}" = set; then
6628 enableval
="$enable_commondlg"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6633 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6638 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x
; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6650 eval "$ac_cv_use_commondlg"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_COMMONDLGS" = yes; then
6656 echo "$ac_t""yes" 1>&6
6658 echo "$ac_t""no" 1>&6
6662 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6663 echo "configure:6664: checking for --enable-choicedlg" >&5
6665 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6666 if test "${enable_choicedlg+set}" = set; then
6667 enableval
="$enable_choicedlg"
6669 if test "$enableval" = yes; then
6670 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6672 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6677 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6678 if test "x$LINE" != x
; then
6679 eval "DEFAULT_$LINE"
6684 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6689 eval "$ac_cv_use_choicedlg"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6694 if test "$wxUSE_CHOICEDLG" = yes; then
6695 echo "$ac_t""yes" 1>&6
6697 echo "$ac_t""no" 1>&6
6701 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6702 echo "configure:6703: checking for --enable-coldlg" >&5
6704 # Check whether --enable-coldlg or --disable-coldlg was given.
6705 if test "${enable_coldlg+set}" = set; then
6706 enableval
="$enable_coldlg"
6708 if test "$enableval" = yes; then
6709 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6711 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6716 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x
; then
6718 eval "DEFAULT_$LINE"
6723 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6728 eval "$ac_cv_use_coldlg"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6733 if test "$wxUSE_COLOURDLG" = yes; then
6734 echo "$ac_t""yes" 1>&6
6736 echo "$ac_t""no" 1>&6
6740 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6741 echo "configure:6742: checking for --enable-filedlg" >&5
6743 # Check whether --enable-filedlg or --disable-filedlg was given.
6744 if test "${enable_filedlg+set}" = set; then
6745 enableval
="$enable_filedlg"
6747 if test "$enableval" = yes; then
6748 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6750 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6755 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x
; then
6757 eval "DEFAULT_$LINE"
6762 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6767 eval "$ac_cv_use_filedlg"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6772 if test "$wxUSE_FILEDLG" = yes; then
6773 echo "$ac_t""yes" 1>&6
6775 echo "$ac_t""no" 1>&6
6779 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6780 echo "configure:6781: checking for --enable-filedlg" >&5
6782 # Check whether --enable-filedlg or --disable-filedlg was given.
6783 if test "${enable_filedlg+set}" = set; then
6784 enableval
="$enable_filedlg"
6786 if test "$enableval" = yes; then
6787 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6789 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6794 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6795 if test "x$LINE" != x
; then
6796 eval "DEFAULT_$LINE"
6801 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6806 eval "$ac_cv_use_filedlg"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6811 if test "$wxUSE_FINDREPLDLG" = yes; then
6812 echo "$ac_t""yes" 1>&6
6814 echo "$ac_t""no" 1>&6
6818 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6819 echo "configure:6820: checking for --enable-fontdlg" >&5
6821 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6822 if test "${enable_fontdlg+set}" = set; then
6823 enableval
="$enable_fontdlg"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6828 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6833 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x
; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6845 eval "$ac_cv_use_fontdlg"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6850 if test "$wxUSE_FONTDLG" = yes; then
6851 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6857 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6858 echo "configure:6859: checking for --enable-dirdlg" >&5
6860 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6861 if test "${enable_dirdlg+set}" = set; then
6862 enableval
="$enable_dirdlg"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6867 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6872 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6884 eval "$ac_cv_use_dirdlg"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_DIRDLG" = yes; then
6890 echo "$ac_t""yes" 1>&6
6892 echo "$ac_t""no" 1>&6
6896 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6897 echo "configure:6898: checking for --enable-msgdlg" >&5
6899 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6900 if test "${enable_msgdlg+set}" = set; then
6901 enableval
="$enable_msgdlg"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6906 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6911 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6923 eval "$ac_cv_use_msgdlg"
6924 if test "$no_cache" != 1; then
6925 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6928 if test "$wxUSE_MSGDLG" = yes; then
6929 echo "$ac_t""yes" 1>&6
6931 echo "$ac_t""no" 1>&6
6935 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6936 echo "configure:6937: checking for --enable-numberdlg" >&5
6938 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6939 if test "${enable_numberdlg+set}" = set; then
6940 enableval
="$enable_numberdlg"
6942 if test "$enableval" = yes; then
6943 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6945 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6950 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x
; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6962 eval "$ac_cv_use_numberdlg"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_NUMBERDLG" = yes; then
6968 echo "$ac_t""yes" 1>&6
6970 echo "$ac_t""no" 1>&6
6974 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6975 echo "configure:6976: checking for --enable-splash" >&5
6977 # Check whether --enable-splash or --disable-splash was given.
6978 if test "${enable_splash+set}" = set; then
6979 enableval
="$enable_splash"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6984 ac_cv_use_splash
='wxUSE_SPLASH=no'
6989 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7001 eval "$ac_cv_use_splash"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7006 if test "$wxUSE_SPLASH" = yes; then
7007 echo "$ac_t""yes" 1>&6
7009 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --enable-textdlg" >&5
7016 # Check whether --enable-textdlg or --disable-textdlg was given.
7017 if test "${enable_textdlg+set}" = set; then
7018 enableval
="$enable_textdlg"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7023 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7028 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7040 eval "$ac_cv_use_textdlg"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_TEXTDLG" = yes; then
7046 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no" 1>&6
7052 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7053 echo "configure:7054: checking for --enable-tipdlg" >&5
7055 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7056 if test "${enable_tipdlg+set}" = set; then
7057 enableval
="$enable_tipdlg"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7062 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7067 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x
; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7079 eval "$ac_cv_use_tipdlg"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_STARTUP_TIPS" = yes; then
7085 echo "$ac_t""yes" 1>&6
7087 echo "$ac_t""no" 1>&6
7091 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7092 echo "configure:7093: checking for --enable-progressdlg" >&5
7094 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7095 if test "${enable_progressdlg+set}" = set; then
7096 enableval
="$enable_progressdlg"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7101 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7106 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7118 eval "$ac_cv_use_progressdlg"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_PROGRESSDLG" = yes; then
7124 echo "$ac_t""yes" 1>&6
7126 echo "$ac_t""no" 1>&6
7130 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7131 echo "configure:7132: checking for --enable-wizarddlg" >&5
7133 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7134 if test "${enable_wizarddlg+set}" = set; then
7135 enableval
="$enable_wizarddlg"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7140 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7145 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7157 eval "$ac_cv_use_wizarddlg"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7162 if test "$wxUSE_WIZARDDLG" = yes; then
7163 echo "$ac_t""yes" 1>&6
7165 echo "$ac_t""no" 1>&6
7171 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7172 echo "configure:7173: checking for --enable-menus" >&5
7174 # Check whether --enable-menus or --disable-menus was given.
7175 if test "${enable_menus+set}" = set; then
7176 enableval
="$enable_menus"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_menus
='wxUSE_MENUS=yes'
7181 ac_cv_use_menus
='wxUSE_MENUS=no'
7186 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7198 eval "$ac_cv_use_menus"
7199 if test "$no_cache" != 1; then
7200 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7203 if test "$wxUSE_MENUS" = yes; then
7204 echo "$ac_t""yes" 1>&6
7206 echo "$ac_t""no" 1>&6
7210 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7211 echo "configure:7212: checking for --enable-miniframe" >&5
7213 # Check whether --enable-miniframe or --disable-miniframe was given.
7214 if test "${enable_miniframe+set}" = set; then
7215 enableval
="$enable_miniframe"
7217 if test "$enableval" = yes; then
7218 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7220 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7225 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x
; then
7227 eval "DEFAULT_$LINE"
7232 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7237 eval "$ac_cv_use_miniframe"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_MINIFRAME" = yes; then
7243 echo "$ac_t""yes" 1>&6
7245 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --enable-tooltips" >&5
7252 # Check whether --enable-tooltips or --disable-tooltips was given.
7253 if test "${enable_tooltips+set}" = set; then
7254 enableval
="$enable_tooltips"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7259 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7264 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7276 eval "$ac_cv_use_tooltips"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_TOOLTIPS" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7288 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7289 echo "configure:7290: checking for --enable-splines" >&5
7291 # Check whether --enable-splines or --disable-splines was given.
7292 if test "${enable_splines+set}" = set; then
7293 enableval
="$enable_splines"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7298 ac_cv_use_splines
='wxUSE_SPLINES=no'
7303 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7315 eval "$ac_cv_use_splines"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7320 if test "$wxUSE_SPLINES" = yes; then
7321 echo "$ac_t""yes" 1>&6
7323 echo "$ac_t""no" 1>&6
7327 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7328 echo "configure:7329: checking for --enable-validators" >&5
7330 # Check whether --enable-validators or --disable-validators was given.
7331 if test "${enable_validators+set}" = set; then
7332 enableval
="$enable_validators"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7337 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7342 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x
; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7354 eval "$ac_cv_use_validators"
7355 if test "$no_cache" != 1; then
7356 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7359 if test "$wxUSE_VALIDATORS" = yes; then
7360 echo "$ac_t""yes" 1>&6
7362 echo "$ac_t""no" 1>&6
7366 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7367 echo "configure:7368: checking for --enable-busyinfo" >&5
7369 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7370 if test "${enable_busyinfo+set}" = set; then
7371 enableval
="$enable_busyinfo"
7373 if test "$enableval" = yes; then
7374 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7376 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7381 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x
; then
7383 eval "DEFAULT_$LINE"
7388 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7393 eval "$ac_cv_use_busyinfo"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7398 if test "$wxUSE_BUSYINFO" = yes; then
7399 echo "$ac_t""yes" 1>&6
7401 echo "$ac_t""no" 1>&6
7405 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7406 echo "configure:7407: checking for --enable-joystick" >&5
7408 # Check whether --enable-joystick or --disable-joystick was given.
7409 if test "${enable_joystick+set}" = set; then
7410 enableval
="$enable_joystick"
7412 if test "$enableval" = yes; then
7413 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7415 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7420 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x
; then
7422 eval "DEFAULT_$LINE"
7427 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7432 eval "$ac_cv_use_joystick"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_JOYSTICK" = yes; then
7438 echo "$ac_t""yes" 1>&6
7440 echo "$ac_t""no" 1>&6
7444 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7445 echo "configure:7446: checking for --enable-metafile" >&5
7447 # Check whether --enable-metafile or --disable-metafile was given.
7448 if test "${enable_metafile+set}" = set; then
7449 enableval
="$enable_metafile"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7454 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7459 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x
; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7471 eval "$ac_cv_use_metafile"
7472 if test "$no_cache" != 1; then
7473 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7476 if test "$wxUSE_METAFILE" = yes; then
7477 echo "$ac_t""yes" 1>&6
7479 echo "$ac_t""no" 1>&6
7483 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7484 echo "configure:7485: checking for --enable-dragimage" >&5
7486 # Check whether --enable-dragimage or --disable-dragimage was given.
7487 if test "${enable_dragimage+set}" = set; then
7488 enableval
="$enable_dragimage"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7493 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7498 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x
; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7510 eval "$ac_cv_use_dragimage"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_DRAGIMAGE" = yes; then
7516 echo "$ac_t""yes" 1>&6
7518 echo "$ac_t""no" 1>&6
7524 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7525 echo "configure:7526: checking for --enable-image" >&5
7527 # Check whether --enable-image or --disable-image was given.
7528 if test "${enable_image+set}" = set; then
7529 enableval
="$enable_image"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_image
='wxUSE_IMAGE=yes'
7534 ac_cv_use_image
='wxUSE_IMAGE=no'
7539 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x
; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7551 eval "$ac_cv_use_image"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_IMAGE" = yes; then
7557 echo "$ac_t""yes" 1>&6
7559 echo "$ac_t""no" 1>&6
7563 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7564 echo "configure:7565: checking for --enable-gif" >&5
7566 # Check whether --enable-gif or --disable-gif was given.
7567 if test "${enable_gif+set}" = set; then
7568 enableval
="$enable_gif"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_gif
='wxUSE_GIF=yes'
7573 ac_cv_use_gif
='wxUSE_GIF=no'
7578 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7590 eval "$ac_cv_use_gif"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7595 if test "$wxUSE_GIF" = yes; then
7596 echo "$ac_t""yes" 1>&6
7598 echo "$ac_t""no" 1>&6
7602 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7603 echo "configure:7604: checking for --enable-pcx" >&5
7605 # Check whether --enable-pcx or --disable-pcx was given.
7606 if test "${enable_pcx+set}" = set; then
7607 enableval
="$enable_pcx"
7609 if test "$enableval" = yes; then
7610 ac_cv_use_pcx
='wxUSE_PCX=yes'
7612 ac_cv_use_pcx
='wxUSE_PCX=no'
7617 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x
; then
7619 eval "DEFAULT_$LINE"
7624 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7629 eval "$ac_cv_use_pcx"
7630 if test "$no_cache" != 1; then
7631 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7634 if test "$wxUSE_PCX" = yes; then
7635 echo "$ac_t""yes" 1>&6
7637 echo "$ac_t""no" 1>&6
7641 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7642 echo "configure:7643: checking for --enable-pnm" >&5
7644 # Check whether --enable-pnm or --disable-pnm was given.
7645 if test "${enable_pnm+set}" = set; then
7646 enableval
="$enable_pnm"
7648 if test "$enableval" = yes; then
7649 ac_cv_use_pnm
='wxUSE_PNM=yes'
7651 ac_cv_use_pnm
='wxUSE_PNM=no'
7656 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x
; then
7658 eval "DEFAULT_$LINE"
7663 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7668 eval "$ac_cv_use_pnm"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_PNM" = yes; then
7674 echo "$ac_t""yes" 1>&6
7676 echo "$ac_t""no" 1>&6
7680 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7681 echo "configure:7682: checking for --enable-pnm" >&5
7683 # Check whether --enable-pnm or --disable-pnm was given.
7684 if test "${enable_pnm+set}" = set; then
7685 enableval
="$enable_pnm"
7687 if test "$enableval" = yes; then
7688 ac_cv_use_pnm
='wxUSE_XPM=yes'
7690 ac_cv_use_pnm
='wxUSE_XPM=no'
7695 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x
; then
7697 eval "DEFAULT_$LINE"
7702 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7707 eval "$ac_cv_use_pnm"
7708 if test "$no_cache" != 1; then
7709 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7712 if test "$wxUSE_XPM" = yes; then
7713 echo "$ac_t""yes" 1>&6
7715 echo "$ac_t""no" 1>&6
7722 echo "saving argument cache $wx_arg_cache_file"
7723 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7727 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7728 echo "configure:7729: checking for toolkit" >&5
7730 if test "$wxUSE_GUI" = "yes"; then
7732 if test "$USE_BEOS" = 1; then
7733 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7736 if test "$TOOLKIT_GIVEN" = 1; then
7737 for toolkit
in `echo $ALL_TOOLKITS`; do
7739 eval "value=\$${var}"
7740 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7743 for toolkit
in `echo $ALL_TOOLKITS`; do
7744 if test "$has_toolkit_in_cache" != 1; then
7745 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7747 var
=DEFAULT_wxUSE_
$toolkit
7749 eval "wxUSE_$toolkit=\$${var}"
7753 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7757 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7758 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7767 case "$NUM_TOOLKITS" in
7771 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7774 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7777 for toolkit
in `echo $ALL_TOOLKITS`; do
7779 eval "value=\$${var}"
7780 if test "x$value" != x
; then
7781 cache_var
=CACHE_
$toolkit
7782 eval "cache=\$${cache_var}"
7783 if test "$cache" = 1; then
7784 echo "$var=$value" >> ${wx_arg_cache_file}
7786 if test "$value" = 1; then
7787 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7788 echo "$ac_t""$toolkit_echo" 1>&6
7795 echo "$ac_t""base only" 1>&6
7799 cat > confcache
<<\EOF
7800 # This file is a shell script that caches the results of configure
7801 # tests run on this system so they can be shared between configure
7802 # scripts and configure runs. It is not useful on other systems.
7803 # If it contains results you don't want to keep, you may remove or edit it.
7805 # By default, configure uses ./config.cache as the cache file,
7806 # creating it if it does not exist already. You can give configure
7807 # the --cache-file=FILE option to use a different cache file; that is
7808 # what configure does when it calls configure scripts in
7809 # subdirectories, so they share the cache.
7810 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7811 # config.status only pays attention to the cache file if you give it the
7812 # --recheck option to rerun configure.
7815 # The following way of writing the cache mishandles newlines in values,
7816 # but we know of no workaround that is simple, portable, and efficient.
7817 # So, don't put newlines in cache variables' values.
7818 # Ultrix sh set writes to stderr and can't be redirected directly,
7819 # and sets the high bit in the cache file unless we assign to the vars.
7821 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7823 # `set' does not quote correctly, so add quotes (double-quote substitution
7824 # turns \\\\ into \\, and sed turns \\ into \).
7826 -e "s/'/'\\\\''/g" \
7827 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7830 # `set' quotes correctly as required by POSIX, so do not add quotes.
7831 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7834 if cmp -s $cache_file confcache
; then
7837 if test -w $cache_file; then
7838 echo "updating cache $cache_file"
7839 cat confcache
> $cache_file
7841 echo "not updating unwritable cache $cache_file"
7847 if test "$build" != "$host" ; then
7851 RANLIB
=$host_alias-ranlib
7852 DLLTOOL
=$host_alias-dlltool
7853 RESCOMP
=$host_alias-windres
7856 STRIP
=$host_alias-strip
7859 # Extract the first word of "gcc", so it can be a program name with args.
7860 set dummy gcc
; ac_word
=$2
7861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7862 echo "configure:7863: checking for $ac_word" >&5
7863 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7864 echo $ac_n "(cached) $ac_c" 1>&6
7866 if test -n "$CC"; then
7867 ac_cv_prog_CC
="$CC" # Let the user override the test.
7869 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7871 for ac_dir
in $ac_dummy; do
7872 test -z "$ac_dir" && ac_dir
=.
7873 if test -f $ac_dir/$ac_word; then
7882 if test -n "$CC"; then
7883 echo "$ac_t""$CC" 1>&6
7885 echo "$ac_t""no" 1>&6
7888 if test -z "$CC"; then
7889 # Extract the first word of "cc", so it can be a program name with args.
7890 set dummy cc
; ac_word
=$2
7891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7892 echo "configure:7893: checking for $ac_word" >&5
7893 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7894 echo $ac_n "(cached) $ac_c" 1>&6
7896 if test -n "$CC"; then
7897 ac_cv_prog_CC
="$CC" # Let the user override the test.
7899 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7902 for ac_dir
in $ac_dummy; do
7903 test -z "$ac_dir" && ac_dir
=.
7904 if test -f $ac_dir/$ac_word; then
7905 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7906 ac_prog_rejected
=yes
7914 if test $ac_prog_rejected = yes; then
7915 # We found a bogon in the path, so make sure we never use it.
7916 set dummy
$ac_cv_prog_CC
7918 if test $# -gt 0; then
7919 # We chose a different compiler from the bogus one.
7920 # However, it has the same basename, so the bogon will be chosen
7921 # first if we set CC to just the basename; use the full file name.
7923 set dummy
"$ac_dir/$ac_word" "$@"
7931 if test -n "$CC"; then
7932 echo "$ac_t""$CC" 1>&6
7934 echo "$ac_t""no" 1>&6
7937 if test -z "$CC"; then
7938 case "`uname -s`" in
7940 # Extract the first word of "cl", so it can be a program name with args.
7941 set dummy cl
; ac_word
=$2
7942 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7943 echo "configure:7944: checking for $ac_word" >&5
7944 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7945 echo $ac_n "(cached) $ac_c" 1>&6
7947 if test -n "$CC"; then
7948 ac_cv_prog_CC
="$CC" # Let the user override the test.
7950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7952 for ac_dir
in $ac_dummy; do
7953 test -z "$ac_dir" && ac_dir
=.
7954 if test -f $ac_dir/$ac_word; then
7963 if test -n "$CC"; then
7964 echo "$ac_t""$CC" 1>&6
7966 echo "$ac_t""no" 1>&6
7971 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7975 echo "configure:7976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7979 ac_cpp
='$CPP $CPPFLAGS'
7980 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7981 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7982 cross_compiling
=$ac_cv_prog_cc_cross
7984 cat > conftest.
$ac_ext << EOF
7986 #line 7987 "configure"
7987 #include "confdefs.h"
7991 if { (eval echo configure
:7992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7992 ac_cv_prog_cc_works
=yes
7993 # If we can't run a trivial program, we are probably using a cross compiler.
7994 if (.
/conftest
; exit) 2>/dev
/null
; then
7995 ac_cv_prog_cc_cross
=no
7997 ac_cv_prog_cc_cross
=yes
8000 echo "configure: failed program was:" >&5
8001 cat conftest.
$ac_ext >&5
8002 ac_cv_prog_cc_works
=no
8006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8007 ac_cpp
='$CPP $CPPFLAGS'
8008 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8009 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8010 cross_compiling
=$ac_cv_prog_cc_cross
8012 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8013 if test $ac_cv_prog_cc_works = no
; then
8014 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8016 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8017 echo "configure:8018: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8018 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8019 cross_compiling
=$ac_cv_prog_cc_cross
8021 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8022 echo "configure:8023: checking whether we are using GNU C" >&5
8023 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8024 echo $ac_n "(cached) $ac_c" 1>&6
8026 cat > conftest.c
<<EOF
8031 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8038 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8040 if test $ac_cv_prog_gcc = yes; then
8046 ac_test_CFLAGS
="${CFLAGS+set}"
8047 ac_save_CFLAGS
="$CFLAGS"
8049 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8050 echo "configure:8051: checking whether ${CC-cc} accepts -g" >&5
8051 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8052 echo $ac_n "(cached) $ac_c" 1>&6
8054 echo 'void f(){}' > conftest.c
8055 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8064 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8065 if test "$ac_test_CFLAGS" = set; then
8066 CFLAGS
="$ac_save_CFLAGS"
8067 elif test $ac_cv_prog_cc_g = yes; then
8068 if test "$GCC" = yes; then
8074 if test "$GCC" = yes; then
8082 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8084 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8085 echo "configure:8086: checking how to run the C preprocessor" >&5
8086 # On Suns, sometimes $CPP names a directory.
8087 if test -n "$CPP" && test -d "$CPP"; then
8090 if test -z "$CPP"; then
8091 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8092 echo $ac_n "(cached) $ac_c" 1>&6
8094 # This must be in double quotes, not single quotes, because CPP may get
8095 # substituted into the Makefile and "${CC-cc}" will confuse make.
8097 # On the NeXT, cc -E runs the code through the compiler's parser,
8098 # not just through cpp.
8099 cat > conftest.
$ac_ext <<EOF
8100 #line 8101 "configure"
8101 #include "confdefs.h"
8105 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8106 { (eval echo configure
:8107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8107 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8108 if test -z "$ac_err"; then
8112 echo "configure: failed program was:" >&5
8113 cat conftest.
$ac_ext >&5
8115 CPP
="${CC-cc} -E -traditional-cpp"
8116 cat > conftest.
$ac_ext <<EOF
8117 #line 8118 "configure"
8118 #include "confdefs.h"
8122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8123 { (eval echo configure
:8124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8124 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8125 if test -z "$ac_err"; then
8129 echo "configure: failed program was:" >&5
8130 cat conftest.
$ac_ext >&5
8132 CPP
="${CC-cc} -nologo -E"
8133 cat > conftest.
$ac_ext <<EOF
8134 #line 8135 "configure"
8135 #include "confdefs.h"
8139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8140 { (eval echo configure
:8141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8142 if test -z "$ac_err"; then
8146 echo "configure: failed program was:" >&5
8147 cat conftest.
$ac_ext >&5
8156 ac_cv_prog_CPP
="$CPP"
8158 CPP
="$ac_cv_prog_CPP"
8160 ac_cv_prog_CPP
="$CPP"
8162 echo "$ac_t""$CPP" 1>&6
8165 if test $ac_cv_prog_gcc = yes; then
8166 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8167 echo "configure:8168: checking whether ${CC-cc} needs -traditional" >&5
8168 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8169 echo $ac_n "(cached) $ac_c" 1>&6
8171 ac_pattern
="Autoconf.*'x'"
8172 cat > conftest.
$ac_ext <<EOF
8173 #line 8174 "configure"
8174 #include "confdefs.h"
8178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8179 egrep "$ac_pattern" >/dev
/null
2>&1; then
8181 ac_cv_prog_gcc_traditional
=yes
8184 ac_cv_prog_gcc_traditional
=no
8189 if test $ac_cv_prog_gcc_traditional = no
; then
8190 cat > conftest.
$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8197 egrep "$ac_pattern" >/dev
/null
2>&1; then
8199 ac_cv_prog_gcc_traditional
=yes
8206 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8207 if test $ac_cv_prog_gcc_traditional = yes; then
8208 CC
="$CC -traditional"
8215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8216 ac_cpp
='$CXXCPP $CPPFLAGS'
8217 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8218 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8219 cross_compiling
=$ac_cv_prog_cxx_cross
8222 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8224 # Extract the first word of "$ac_prog", so it can be a program name with args.
8225 set dummy
$ac_prog; ac_word
=$2
8226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8227 echo "configure:8228: checking for $ac_word" >&5
8228 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8229 echo $ac_n "(cached) $ac_c" 1>&6
8231 if test -n "$CXX"; then
8232 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8234 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8236 for ac_dir
in $ac_dummy; do
8237 test -z "$ac_dir" && ac_dir
=.
8238 if test -f $ac_dir/$ac_word; then
8239 ac_cv_prog_CXX
="$ac_prog"
8246 CXX
="$ac_cv_prog_CXX"
8247 if test -n "$CXX"; then
8248 echo "$ac_t""$CXX" 1>&6
8250 echo "$ac_t""no" 1>&6
8253 test -n "$CXX" && break
8255 test -n "$CXX" || CXX
="gcc"
8258 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8259 echo "configure:8260: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8262 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8263 ac_cpp
='$CXXCPP $CPPFLAGS'
8264 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8265 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8266 cross_compiling
=$ac_cv_prog_cxx_cross
8268 cat > conftest.
$ac_ext << EOF
8270 #line 8271 "configure"
8271 #include "confdefs.h"
8273 int main(){return(0);}
8275 if { (eval echo configure
:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8276 ac_cv_prog_cxx_works
=yes
8277 # If we can't run a trivial program, we are probably using a cross compiler.
8278 if (.
/conftest
; exit) 2>/dev
/null
; then
8279 ac_cv_prog_cxx_cross
=no
8281 ac_cv_prog_cxx_cross
=yes
8284 echo "configure: failed program was:" >&5
8285 cat conftest.
$ac_ext >&5
8286 ac_cv_prog_cxx_works
=no
8290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8291 ac_cpp
='$CXXCPP $CPPFLAGS'
8292 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8293 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8294 cross_compiling
=$ac_cv_prog_cxx_cross
8296 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8297 if test $ac_cv_prog_cxx_works = no
; then
8298 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8300 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8301 echo "configure:8302: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8302 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8303 cross_compiling
=$ac_cv_prog_cxx_cross
8305 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8306 echo "configure:8307: checking whether we are using GNU C++" >&5
8307 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8308 echo $ac_n "(cached) $ac_c" 1>&6
8310 cat > conftest.C
<<EOF
8315 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8322 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8324 if test $ac_cv_prog_gxx = yes; then
8330 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8331 ac_save_CXXFLAGS
="$CXXFLAGS"
8333 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8334 echo "configure:8335: checking whether ${CXX-g++} accepts -g" >&5
8335 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8336 echo $ac_n "(cached) $ac_c" 1>&6
8338 echo 'void f(){}' > conftest.cc
8339 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8340 ac_cv_prog_cxx_g
=yes
8348 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8349 if test "$ac_test_CXXFLAGS" = set; then
8350 CXXFLAGS
="$ac_save_CXXFLAGS"
8351 elif test $ac_cv_prog_cxx_g = yes; then
8352 if test "$GXX" = yes; then
8358 if test "$GXX" = yes; then
8366 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8367 echo "configure:8368: checking how to run the C++ preprocessor" >&5
8368 if test -z "$CXXCPP"; then
8369 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6
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
8378 CXXCPP
="${CXX-g++} -E"
8379 cat > conftest.
$ac_ext <<EOF
8380 #line 8381 "configure"
8381 #include "confdefs.h"
8384 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8385 { (eval echo configure
:8386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8386 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8387 if test -z "$ac_err"; then
8391 echo "configure: failed program was:" >&5
8392 cat conftest.
$ac_ext >&5
8397 ac_cv_prog_CXXCPP
="$CXXCPP"
8399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8400 ac_cpp
='$CXXCPP $CPPFLAGS'
8401 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8402 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8403 cross_compiling
=$ac_cv_prog_cxx_cross
8406 CXXCPP
="$ac_cv_prog_CXXCPP"
8407 echo "$ac_t""$CXXCPP" 1>&6
8410 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8414 ac_cpp
='$CPP $CPPFLAGS'
8415 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8416 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8417 cross_compiling
=$ac_cv_prog_cc_cross
8420 # Extract the first word of "ranlib", so it can be a program name with args.
8421 set dummy ranlib
; ac_word
=$2
8422 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8423 echo "configure:8424: checking for $ac_word" >&5
8424 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8425 echo $ac_n "(cached) $ac_c" 1>&6
8427 if test -n "$RANLIB"; then
8428 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8430 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8432 for ac_dir
in $ac_dummy; do
8433 test -z "$ac_dir" && ac_dir
=.
8434 if test -f $ac_dir/$ac_word; then
8435 ac_cv_prog_RANLIB
="ranlib"
8440 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8443 RANLIB
="$ac_cv_prog_RANLIB"
8444 if test -n "$RANLIB"; then
8445 echo "$ac_t""$RANLIB" 1>&6
8447 echo "$ac_t""no" 1>&6
8451 # Extract the first word of "ar", so it can be a program name with args.
8452 set dummy
ar; ac_word
=$2
8453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8454 echo "configure:8455: checking for $ac_word" >&5
8455 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8456 echo $ac_n "(cached) $ac_c" 1>&6
8458 if test -n "$AR"; then
8459 ac_cv_prog_AR
="$AR" # Let the user override the test.
8461 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8463 for ac_dir
in $ac_dummy; do
8464 test -z "$ac_dir" && ac_dir
=.
8465 if test -f $ac_dir/$ac_word; then
8471 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8475 if test -n "$AR"; then
8476 echo "$ac_t""$AR" 1>&6
8478 echo "$ac_t""no" 1>&6
8482 # Find a good install program. We prefer a C program (faster),
8483 # so one script is as good as another. But avoid the broken or
8484 # incompatible versions:
8485 # SysV /etc/install, /usr/sbin/install
8486 # SunOS /usr/etc/install
8487 # IRIX /sbin/install
8489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8492 # ./install, which can be erroneously created by make from ./install.sh.
8493 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8494 echo "configure:8495: checking for a BSD compatible install" >&5
8495 if test -z "$INSTALL"; then
8496 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8497 echo $ac_n "(cached) $ac_c" 1>&6
8499 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8500 for ac_dir
in $PATH; do
8501 # Account for people who put trailing slashes in PATH elements.
8503 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8505 # OSF1 and SCO ODT 3.0 have their own names for install.
8506 # Don't use installbsd from OSF since it installs stuff as root
8508 for ac_prog
in ginstall scoinst
install; do
8509 if test -f $ac_dir/$ac_prog; then
8510 if test $ac_prog = install &&
8511 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8512 # AIX install. It has an incompatible calling convention.
8515 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8526 if test "${ac_cv_path_install+set}" = set; then
8527 INSTALL
="$ac_cv_path_install"
8529 # As a last resort, use the slow shell script. We don't cache a
8530 # path for INSTALL within a source directory, because that will
8531 # break other packages using the cache if that directory is
8532 # removed, or if the path is relative.
8533 INSTALL
="$ac_install_sh"
8536 echo "$ac_t""$INSTALL" 1>&6
8538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8539 # It thinks the first close brace ends the variable substitution.
8540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8544 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8547 # Extract the first word of "strip", so it can be a program name with args.
8548 set dummy strip
; ac_word
=$2
8549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8550 echo "configure:8551: checking for $ac_word" >&5
8551 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8552 echo $ac_n "(cached) $ac_c" 1>&6
8554 if test -n "$STRIP"; then
8555 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8557 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8559 for ac_dir
in $ac_dummy; do
8560 test -z "$ac_dir" && ac_dir
=.
8561 if test -f $ac_dir/$ac_word; then
8562 ac_cv_prog_STRIP
="strip"
8567 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8570 STRIP
="$ac_cv_prog_STRIP"
8571 if test -n "$STRIP"; then
8572 echo "$ac_t""$STRIP" 1>&6
8574 echo "$ac_t""no" 1>&6
8578 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8579 echo "configure:8580: checking make for VPATH support" >&5
8580 cat - << EOF > confMake
8586 if test ! -d sub
; then
8589 echo dummy
> sub
/file
8590 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8592 rm -f sub
/file check final_file confMake
8594 if test "$RESULT" = 0; then
8595 echo "$ac_t""yes" 1>&6
8597 echo "$ac_t""no" 1>&6
8598 { echo "configure: error:
8599 You need a make-utility that is able to use the variable
8601 If your version of make does not support VPATH correctly,
8602 please install GNU-make (possibly as gmake), and start
8603 configure with the following command:
8604 export MAKE=gmake; ./configure for sh-type shells
8605 setenv MAKE gmake; ./configure for csh-type shells
8606 Also please do remember to use gmake in this case every time
8607 you are trying to compile.
8611 for ac_prog
in 'bison -y' byacc
8613 # Extract the first word of "$ac_prog", so it can be a program name with args.
8614 set dummy
$ac_prog; ac_word
=$2
8615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8616 echo "configure:8617: checking for $ac_word" >&5
8617 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8618 echo $ac_n "(cached) $ac_c" 1>&6
8620 if test -n "$YACC"; then
8621 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8625 for ac_dir
in $ac_dummy; do
8626 test -z "$ac_dir" && ac_dir
=.
8627 if test -f $ac_dir/$ac_word; then
8628 ac_cv_prog_YACC
="$ac_prog"
8635 YACC
="$ac_cv_prog_YACC"
8636 if test -n "$YACC"; then
8637 echo "$ac_t""$YACC" 1>&6
8639 echo "$ac_t""no" 1>&6
8642 test -n "$YACC" && break
8644 test -n "$YACC" || YACC
="yacc"
8647 # Extract the first word of "flex", so it can be a program name with args.
8648 set dummy flex
; ac_word
=$2
8649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8650 echo "configure:8651: checking for $ac_word" >&5
8651 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8652 echo $ac_n "(cached) $ac_c" 1>&6
8654 if test -n "$LEX"; then
8655 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8657 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8659 for ac_dir
in $ac_dummy; do
8660 test -z "$ac_dir" && ac_dir
=.
8661 if test -f $ac_dir/$ac_word; then
8662 ac_cv_prog_LEX
="flex"
8667 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8670 LEX
="$ac_cv_prog_LEX"
8671 if test -n "$LEX"; then
8672 echo "$ac_t""$LEX" 1>&6
8674 echo "$ac_t""no" 1>&6
8677 if test -z "$LEXLIB"
8683 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8684 echo "configure:8685: checking for yywrap in -l$ac_lib" >&5
8685 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8687 echo $ac_n "(cached) $ac_c" 1>&6
8689 ac_save_LIBS
="$LIBS"
8690 LIBS
="-l$ac_lib $LIBS"
8691 cat > conftest.
$ac_ext <<EOF
8692 #line 8693 "configure"
8693 #include "confdefs.h"
8694 /* Override any gcc2 internal prototype to avoid an error. */
8695 /* We use char because int might match the return type of a gcc2
8696 builtin and then its argument prototype would still apply. */
8703 if { (eval echo configure
:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8705 eval "ac_cv_lib_$ac_lib_var=yes"
8707 echo "configure: failed program was:" >&5
8708 cat conftest.
$ac_ext >&5
8710 eval "ac_cv_lib_$ac_lib_var=no"
8713 LIBS
="$ac_save_LIBS"
8716 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8717 echo "$ac_t""yes" 1>&6
8720 echo "$ac_t""no" 1>&6
8726 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8727 echo "configure:8728: checking whether ln -s works" >&5
8728 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8729 echo $ac_n "(cached) $ac_c" 1>&6
8732 if ln -s X conftestdata
2>/dev
/null
8735 ac_cv_prog_LN_S
="ln -s"
8740 LN_S
="$ac_cv_prog_LN_S"
8741 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8742 echo "$ac_t""yes" 1>&6
8744 echo "$ac_t""no" 1>&6
8750 /usr/local/include \
8752 /usr/Motif-1.2/include \
8753 /usr/Motif-2.1/include \
8755 /usr/include/Motif1.2 \
8756 /opt/xpm/include/X11 \
8757 /opt/GBxpm/include/ \
8758 /opt/GBxpm/X11/include/ \
8760 /usr/Motif1.2/include \
8762 /usr/openwin/include \
8766 /usr/X11R6/include \
8767 /usr/X11R6.4/include \
8768 /usr/X11R5/include \
8769 /usr/X11R4/include \
8771 /usr/include/X11R6 \
8772 /usr/include/X11R5 \
8773 /usr/include/X11R4 \
8775 /usr/local/X11R6/include \
8776 /usr/local/X11R5/include \
8777 /usr/local/X11R4/include \
8779 /usr/local/include/X11R6 \
8780 /usr/local/include/X11R5 \
8781 /usr/local/include/X11R4 \
8785 /usr/local/X11/include \
8786 /usr/local/include/X11 \
8790 /usr/XFree86/include/X11 \
8792 X:/XFree86/include \
8793 X:/XFree86/include/X11 \
8796 /usr/local/include/gtk \
8798 /usr/local/include/glib \
8801 /usr/local/include/qt \
8803 /usr/include/windows \
8805 /usr/local/include/wine \
8807 /usr/unsupported/include \
8808 /usr/athena/include \
8809 /usr/local/x11r5/include \
8810 /usr/lpp/Xamples/include \
8812 /usr/openwin/share/include \
8816 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8819 cat > confcache
<<\EOF
8820 # This file is a shell script that caches the results of configure
8821 # tests run on this system so they can be shared between configure
8822 # scripts and configure runs. It is not useful on other systems.
8823 # If it contains results you don't want to keep, you may remove or edit it.
8825 # By default, configure uses ./config.cache as the cache file,
8826 # creating it if it does not exist already. You can give configure
8827 # the --cache-file=FILE option to use a different cache file; that is
8828 # what configure does when it calls configure scripts in
8829 # subdirectories, so they share the cache.
8830 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8831 # config.status only pays attention to the cache file if you give it the
8832 # --recheck option to rerun configure.
8835 # The following way of writing the cache mishandles newlines in values,
8836 # but we know of no workaround that is simple, portable, and efficient.
8837 # So, don't put newlines in cache variables' values.
8838 # Ultrix sh set writes to stderr and can't be redirected directly,
8839 # and sets the high bit in the cache file unless we assign to the vars.
8841 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8843 # `set' does not quote correctly, so add quotes (double-quote substitution
8844 # turns \\\\ into \\, and sed turns \\ into \).
8846 -e "s/'/'\\\\''/g" \
8847 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8850 # `set' quotes correctly as required by POSIX, so do not add quotes.
8851 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8854 if cmp -s $cache_file confcache
; then
8857 if test -w $cache_file; then
8858 echo "updating cache $cache_file"
8859 cat confcache
> $cache_file
8861 echo "not updating unwritable cache $cache_file"
8869 if test "$wxUSE_REGEX" != "no"; then
8870 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8871 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8872 echo "configure:8873: checking for regex.h" >&5
8873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8874 echo $ac_n "(cached) $ac_c" 1>&6
8876 cat > conftest.
$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8882 { (eval echo configure
:8883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8883 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8884 if test -z "$ac_err"; then
8886 eval "ac_cv_header_$ac_safe=yes"
8889 echo "configure: failed program was:" >&5
8890 cat conftest.
$ac_ext >&5
8892 eval "ac_cv_header_$ac_safe=no"
8896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8897 echo "$ac_t""yes" 1>&6
8898 for ac_func
in regcomp
8900 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8901 echo "configure:8902: checking for $ac_func" >&5
8902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8903 echo $ac_n "(cached) $ac_c" 1>&6
8905 cat > conftest.
$ac_ext <<EOF
8906 #line 8907 "configure"
8907 #include "confdefs.h"
8908 /* System header to define __stub macros and hopefully few prototypes,
8909 which can conflict with char $ac_func(); below. */
8911 /* Override any gcc2 internal prototype to avoid an error. */
8912 /* We use char because int might match the return type of a gcc2
8913 builtin and then its argument prototype would still apply. */
8918 /* The GNU C library defines this for functions which it implements
8919 to always fail with ENOSYS. Some functions are actually named
8920 something starting with __ and the normal name is an alias. */
8921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8929 if { (eval echo configure
:8930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8931 eval "ac_cv_func_$ac_func=yes"
8933 echo "configure: failed program was:" >&5
8934 cat conftest.
$ac_ext >&5
8936 eval "ac_cv_func_$ac_func=no"
8941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8942 echo "$ac_t""yes" 1>&6
8943 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8944 cat >> confdefs.h
<<EOF
8945 #define $ac_tr_func 1
8949 echo "$ac_t""no" 1>&6
8954 echo "$ac_t""no" 1>&6
8958 if test "x$ac_cv_func_regcomp" != "xyes"; then
8959 if test "$wxUSE_REGEX" = "sys"; then
8960 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8963 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8966 cat >> confdefs.h
<<\EOF
8967 #define wxUSE_REGEX 1
8975 if test "$wxUSE_GUI" = "yes"; then
8990 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8991 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8992 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8993 echo "configure:8994: checking for windows.h" >&5
8994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
8997 cat > conftest.
$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9000 #include <windows.h>
9002 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9003 { (eval echo configure
:9004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9004 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9005 if test -z "$ac_err"; then
9007 eval "ac_cv_header_$ac_safe=yes"
9010 echo "configure: failed program was:" >&5
9011 cat conftest.
$ac_ext >&5
9013 eval "ac_cv_header_$ac_safe=no"
9017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9018 echo "$ac_t""yes" 1>&6
9021 echo "$ac_t""no" 1>&6
9023 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9028 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
9030 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9032 if test "$wxUSE_ODBC" = "yes" ; then
9033 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9036 if test "$wxUSE_MINGW" = 1; then
9037 LDFLAGS
="$LDFLAGS -mwindows"
9043 RCINCSWITCH
="--include-dir"
9044 RCDEFSWITCH
="--define"
9045 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9048 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9050 RESPROGRAM
="\$(RES_PROGRAM)"
9053 if test "$wxUSE_GTK" = 1; then
9054 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9055 echo "configure:9056: checking for GTK+ version" >&5
9057 gtk_version_cached
=1
9058 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9059 echo $ac_n "(cached) $ac_c" 1>&6
9062 gtk_version_cached
=0
9063 echo "$ac_t""""" 1>&6
9066 if test "x$wxUSE_GTK2" = "xyes"; then
9067 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9068 if test "${with_gtk_prefix+set}" = set; then
9069 withval
="$with_gtk_prefix"
9070 gtk_config_prefix
="$withval"
9072 gtk_config_prefix
=""
9075 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9076 if test "${with_gtk_exec_prefix+set}" = set; then
9077 withval
="$with_gtk_exec_prefix"
9078 gtk_config_exec_prefix
="$withval"
9080 gtk_config_exec_prefix
=""
9083 # Check whether --enable-gtktest or --disable-gtktest was given.
9084 if test "${enable_gtktest+set}" = set; then
9085 enableval
="$enable_gtktest"
9096 gtk_config_args
="$gtk_config_args gthread"
9101 if test x
$gtk_config_exec_prefix != x
; then
9102 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9103 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9104 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9107 if test x
$gtk_config_prefix != x
; then
9108 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9109 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9110 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9114 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9115 set dummy gtk
-config-2.0
; ac_word
=$2
9116 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9117 echo "configure:9118: checking for $ac_word" >&5
9118 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9119 echo $ac_n "(cached) $ac_c" 1>&6
9121 case "$GTK_CONFIG_2_0" in
9123 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9126 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9131 for ac_dir
in $ac_dummy; do
9132 test -z "$ac_dir" && ac_dir
=.
9133 if test -f $ac_dir/$ac_word; then
9134 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9139 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9143 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9144 if test -n "$GTK_CONFIG_2_0"; then
9145 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9147 echo "$ac_t""no" 1>&6
9150 min_gtk_version
=1.3.1
9151 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9152 echo "configure:9153: checking for GTK - version >= $min_gtk_version" >&5
9154 if test "$GTK_CONFIG_2_0" = "no" ; then
9157 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9158 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9159 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9161 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9163 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9165 if test "x$enable_gtktest" = "xyes" ; then
9166 ac_save_CFLAGS
="$CFLAGS"
9167 ac_save_LIBS
="$LIBS"
9168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9169 LIBS
="$GTK_LIBS $LIBS"
9171 if test "$cross_compiling" = yes; then
9172 echo $ac_n "cross compiling; assumed OK... $ac_c"
9174 cat > conftest.
$ac_ext <<EOF
9175 #line 9176 "configure"
9176 #include "confdefs.h"
9178 #include <gtk/gtk.h>
9185 int major, minor, micro;
9188 system ("touch conf.gtktest");
9190 /* HP/UX 9 (%@#!) writes to sscanf strings */
9191 tmp_version = g_strdup("$min_gtk_version");
9192 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9193 printf("%s, bad version string\n", "$min_gtk_version");
9197 if ((gtk_major_version != $gtk_config_major_version) ||
9198 (gtk_minor_version != $gtk_config_minor_version) ||
9199 (gtk_micro_version != $gtk_config_micro_version))
9201 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9202 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9203 gtk_major_version, gtk_minor_version, gtk_micro_version);
9204 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9205 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9206 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9207 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9208 printf("*** required on your system.\n");
9209 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9210 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9211 printf("*** before re-running configure\n");
9213 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9214 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9215 (gtk_minor_version != GTK_MINOR_VERSION) ||
9216 (gtk_micro_version != GTK_MICRO_VERSION))
9218 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9219 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9220 printf("*** library (version %d.%d.%d)\n",
9221 gtk_major_version, gtk_minor_version, gtk_micro_version);
9223 #endif /* defined (GTK_MAJOR_VERSION) ... */
9226 if ((gtk_major_version > major) ||
9227 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9228 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9234 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9235 gtk_major_version, gtk_minor_version, gtk_micro_version);
9236 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9237 major, minor, micro);
9238 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9240 printf("*** If you have already installed a sufficiently new version, this error\n");
9241 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9242 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9243 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9244 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9245 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9246 printf("*** so that the correct libraries are found at run-time))\n");
9253 if { (eval echo configure
:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9257 echo "configure: failed program was:" >&5
9258 cat conftest.
$ac_ext >&5
9265 CFLAGS
="$ac_save_CFLAGS"
9266 LIBS
="$ac_save_LIBS"
9269 if test "x$no_gtk" = x
; then
9270 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9273 echo "$ac_t""no" 1>&6
9274 if test "$GTK_CONFIG_2_0" = "no" ; then
9275 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9276 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9277 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9278 echo "*** full path to gtk-config-2.0."
9280 if test -f conf.gtktest
; then
9283 echo "*** Could not run GTK test program, checking why..."
9284 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9285 LIBS
="$LIBS $GTK_LIBS"
9286 cat > conftest.
$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9290 #include <gtk/gtk.h>
9294 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9297 if { (eval echo configure
:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9299 echo "*** The test program compiled, but did not run. This usually means"
9300 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9301 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9304 echo "*** is required on your system"
9306 echo "*** If you have an old version installed, it is best to remove it, although"
9307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9309 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9310 echo "*** came with the system with the command"
9312 echo "*** rpm --erase --nodeps gtk gtk-devel"
9314 echo "configure: failed program was:" >&5
9315 cat conftest.
$ac_ext >&5
9317 echo "*** The test program failed to compile or link. See the file config.log for the"
9318 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9319 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9320 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9323 CFLAGS
="$ac_save_CFLAGS"
9324 LIBS
="$ac_save_LIBS"
9337 if test -z "$wx_cv_lib_gtk"; then
9339 if test x
$gtk_config_exec_prefix != x
; then
9340 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9341 if test x
${GTK_CONFIG+set} != xset
; then
9342 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9345 if test x
$gtk_config_prefix != x
; then
9346 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9347 if test x
${GTK_CONFIG+set} != xset
; then
9348 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9352 # Extract the first word of "gtk-config", so it can be a program name with args.
9353 set dummy gtk
-config; ac_word
=$2
9354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9355 echo "configure:9356: checking for $ac_word" >&5
9356 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9357 echo $ac_n "(cached) $ac_c" 1>&6
9359 case "$GTK_CONFIG" in
9361 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9364 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9369 for ac_dir
in $ac_dummy; do
9370 test -z "$ac_dir" && ac_dir
=.
9371 if test -f $ac_dir/$ac_word; then
9372 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9377 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9381 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9382 if test -n "$GTK_CONFIG"; then
9383 echo "$ac_t""$GTK_CONFIG" 1>&6
9385 echo "$ac_t""no" 1>&6
9388 min_gtk_version
=1.2.7
9389 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9390 echo "configure:9391: checking for GTK - version >= $min_gtk_version" >&5
9392 if test "$GTK_CONFIG" != "no" ; then
9393 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9394 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9395 ac_save_CFLAGS
="$CFLAGS"
9396 ac_save_LIBS
="$LIBS"
9397 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9398 LIBS
="$LIBS $GTK_LIBS"
9399 if test "$cross_compiling" = yes; then
9400 echo $ac_n "cross compiling; assumed OK... $ac_c"
9402 cat > conftest.
$ac_ext <<EOF
9403 #line 9404 "configure"
9404 #include "confdefs.h"
9406 #include <gtk/gtk.h>
9407 #include <gtk/gtkfeatures.h>
9414 int major, minor, micro;
9416 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9417 printf("%s, bad version string\n", "$min_gtk_version");
9421 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9422 (GTK_MINOR_VERSION != gtk_minor_version) ||
9423 (GTK_MICRO_VERSION != gtk_micro_version)) {
9424 printf("Headers vs. library version mismatch!\n");
9428 if (gtk_minor_version == 1) return FALSE;
9430 return !((gtk_major_version > major) ||
9431 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9432 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9436 if { (eval echo configure
:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9440 echo "configure: failed program was:" >&5
9441 cat conftest.
$ac_ext >&5
9448 CFLAGS
="$ac_save_CFLAGS"
9449 LIBS
="$ac_save_LIBS"
9453 if test "x$no_gtk" = x
; then
9454 echo "$ac_t""yes" 1>&6
9457 echo "$ac_t""no" 1>&6
9467 if test -z "$wx_cv_lib_gtk"; then
9469 if test x
$gtk_config_exec_prefix != x
; then
9470 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9471 if test x
${GTK_CONFIG+set} != xset
; then
9472 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9475 if test x
$gtk_config_prefix != x
; then
9476 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9477 if test x
${GTK_CONFIG+set} != xset
; then
9478 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9482 # Extract the first word of "gtk-config", so it can be a program name with args.
9483 set dummy gtk
-config; ac_word
=$2
9484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9485 echo "configure:9486: checking for $ac_word" >&5
9486 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9489 case "$GTK_CONFIG" in
9491 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9494 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9497 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9499 for ac_dir
in $ac_dummy; do
9500 test -z "$ac_dir" && ac_dir
=.
9501 if test -f $ac_dir/$ac_word; then
9502 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9507 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9511 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9512 if test -n "$GTK_CONFIG"; then
9513 echo "$ac_t""$GTK_CONFIG" 1>&6
9515 echo "$ac_t""no" 1>&6
9518 min_gtk_version
=1.2.3
9519 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9520 echo "configure:9521: checking for GTK - version >= $min_gtk_version" >&5
9522 if test "$GTK_CONFIG" != "no" ; then
9523 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9524 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9525 ac_save_CFLAGS
="$CFLAGS"
9526 ac_save_LIBS
="$LIBS"
9527 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9528 LIBS
="$LIBS $GTK_LIBS"
9529 if test "$cross_compiling" = yes; then
9530 echo $ac_n "cross compiling; assumed OK... $ac_c"
9532 cat > conftest.
$ac_ext <<EOF
9533 #line 9534 "configure"
9534 #include "confdefs.h"
9536 #include <gtk/gtk.h>
9537 #include <gtk/gtkfeatures.h>
9544 int major, minor, micro;
9546 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9547 printf("%s, bad version string\n", "$min_gtk_version");
9551 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9552 (GTK_MINOR_VERSION != gtk_minor_version) ||
9553 (GTK_MICRO_VERSION != gtk_micro_version)) {
9554 printf("Headers vs. library version mismatch!\n");
9558 if (gtk_minor_version == 1) return FALSE;
9560 return !((gtk_major_version > major) ||
9561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9566 if { (eval echo configure
:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9570 echo "configure: failed program was:" >&5
9571 cat conftest.
$ac_ext >&5
9578 CFLAGS
="$ac_save_CFLAGS"
9579 LIBS
="$ac_save_LIBS"
9583 if test "x$no_gtk" = x
; then
9584 echo "$ac_t""yes" 1>&6
9587 echo "$ac_t""no" 1>&6
9597 if test -z "$wx_cv_lib_gtk"; then
9600 wx_cv_cflags_gtk
=$GTK_CFLAGS
9601 wx_cv_libs_gtk
=$GTK_LIBS
9608 if test "$gtk_version_cached" = 1; then
9609 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9612 case "$wx_cv_lib_gtk" in
9620 *) { echo "configure: error:
9621 Please check that gtk-config is in path, the directory
9622 where GTK+ libraries are installed (returned by
9623 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9624 equivalent variable and GTK+ is version 1.2.3 or above.
9629 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9630 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9632 AFMINSTALL
=afminstall
9636 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9637 echo "configure:9638: checking for gdk_im_open in -lgdk" >&5
9638 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9642 ac_save_LIBS
="$LIBS"
9644 cat > conftest.
$ac_ext <<EOF
9645 #line 9646 "configure"
9646 #include "confdefs.h"
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 /* We use char because int might match the return type of a gcc2
9649 builtin and then its argument prototype would still apply. */
9656 if { (eval echo configure
:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9658 eval "ac_cv_lib_$ac_lib_var=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_lib_$ac_lib_var=no"
9666 LIBS
="$ac_save_LIBS"
9669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9670 echo "$ac_t""yes" 1>&6
9671 cat >> confdefs.h
<<\EOF
9676 echo "$ac_t""no" 1>&6
9681 if test "$wxUSE_MGL" = 1; then
9683 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9684 echo "configure:9685: checking for SciTech MGL library" >&5
9685 if test "x$MGL_ROOT" = x
; then
9686 echo "$ac_t""not found" 1>&6
9687 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9689 echo "$ac_t""$MGL_ROOT" 1>&6
9692 MGL_OS
=linux
/gcc
/glibc
9695 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9696 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9700 if test "x$MGL_LIB_TYPE" = x
; then
9701 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9702 MGL_LIB_TYPE
=release
9704 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9708 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9709 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9711 AFMINSTALL
=afminstall
9716 if test "$wxUSE_WINE" = 1; then
9717 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9718 echo "configure:9719: checking for WINE includes" >&5
9721 for ac_dir
in $SEARCH_INCLUDE;
9723 if test -f "$ac_dir/windows.h"; then
9724 ac_find_includes
=$ac_dir
9729 if test "$ac_find_includes" != "" ; then
9730 echo "$ac_t""found $ac_find_includes" 1>&6
9731 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9733 echo "$ac_t""no" 1>&6
9734 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9738 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9739 echo "configure:9740: checking for Xpm library" >&5
9742 for ac_dir
in $SEARCH_LIB;
9744 for ac_extension
in a so sl dylib
; do
9745 if test -f "$ac_dir/libXpm.$ac_extension"; then
9746 ac_find_libraries
=$ac_dir
9752 if test "$ac_find_libraries" != "" ; then
9753 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9755 cat >> confdefs.h
<<\EOF
9756 #define wxHAVE_LIB_XPM 1
9759 echo "$ac_t""found at $ac_find_libraries" 1>&6
9761 echo "$ac_t""no" 1>&6
9762 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9766 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9767 echo "configure:9768: checking for Mesa library" >&5
9770 for ac_dir
in $SEARCH_LIB;
9772 for ac_extension
in a so sl dylib
; do
9773 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9774 ac_find_libraries
=$ac_dir
9780 if test "$ac_find_libraries" != "" ; then
9781 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9782 MESA_LINK
="-lMesaGL"
9783 echo "$ac_t""found at $ac_find_libraries" 1>&6
9785 { echo "configure: error: no" 1>&2; exit 1; }
9788 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9789 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9796 # If we find X, set shell vars x_includes and x_libraries to the
9797 # paths, otherwise set no_x=yes.
9798 # Uses ac_ vars as temps to allow command line to override cache and checks.
9799 # --without-x overrides everything else, but does not touch the cache.
9800 echo $ac_n "checking for X""... $ac_c" 1>&6
9801 echo "configure:9802: checking for X" >&5
9803 # Check whether --with-x or --without-x was given.
9804 if test "${with_x+set}" = set; then
9809 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9810 if test "x$with_x" = xno
; then
9811 # The user explicitly disabled X.
9814 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9815 # Both variables are already set.
9818 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9819 echo $ac_n "(cached) $ac_c" 1>&6
9821 # One or both of the vars are not set, and there is no cached value.
9822 ac_x_includes
=NO ac_x_libraries
=NO
9824 if mkdir conftestdir
; then
9826 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9827 cat > Imakefile
<<'EOF'
9829 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9831 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9833 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9834 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9835 for ac_extension
in a so sl
; do
9836 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9837 test -f $ac_im_libdir/libX11.
$ac_extension; then
9838 ac_im_usrlibdir
=$ac_im_libdir; break
9841 # Screen out bogus values from the imake configuration. They are
9842 # bogus both because they are the default anyway, and because
9843 # using them would break gcc on systems where it needs fixed includes.
9844 case "$ac_im_incroot" in
9846 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9848 case "$ac_im_usrlibdir" in
9850 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9857 if test "$ac_x_includes" = NO
; then
9858 # Guess where to find include files, by looking for this one X11 .h file.
9859 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9861 # First, try using that file with no special directory specified.
9862 cat > conftest.
$ac_ext <<EOF
9863 #line 9864 "configure"
9864 #include "confdefs.h"
9865 #include <$x_direct_test_include>
9867 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9868 { (eval echo configure
:9869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9869 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9870 if test -z "$ac_err"; then
9872 # We can compile using X headers with no special include directory.
9876 echo "configure: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9879 # Look for the header file in a standard set of common directories.
9880 # Check X11 before X11Rn because it is often a symlink to the current release.
9883 /usr
/X
11R
6/include \
9884 /usr
/X
11R
5/include \
9885 /usr
/X
11R
4/include \
9888 /usr
/include
/X11R6 \
9889 /usr
/include
/X11R5 \
9890 /usr
/include
/X11R4 \
9892 /usr
/local
/X
11/include \
9893 /usr
/local
/X
11R
6/include \
9894 /usr
/local
/X
11R
5/include \
9895 /usr
/local
/X
11R
4/include \
9897 /usr
/local
/include
/X11 \
9898 /usr
/local
/include
/X11R6 \
9899 /usr
/local
/include
/X11R5 \
9900 /usr
/local
/include
/X11R4 \
9904 /usr
/XFree
86/include
/X11 \
9907 /usr
/local
/include \
9908 /usr
/unsupported
/include \
9909 /usr
/athena
/include \
9910 /usr
/local
/x
11r
5/include \
9911 /usr
/lpp
/Xamples
/include \
9913 /usr
/openwin
/include \
9914 /usr
/openwin
/share
/include \
9917 if test -r "$ac_dir/$x_direct_test_include"; then
9918 ac_x_includes
=$ac_dir
9924 fi # $ac_x_includes = NO
9926 if test "$ac_x_libraries" = NO
; then
9927 # Check for the libraries.
9929 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9930 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9932 # See if we find them without any special options.
9933 # Don't add to $LIBS permanently.
9934 ac_save_LIBS
="$LIBS"
9935 LIBS
="-l$x_direct_test_library $LIBS"
9936 cat > conftest.
$ac_ext <<EOF
9937 #line 9938 "configure"
9938 #include "confdefs.h"
9941 ${x_direct_test_function}()
9944 if { (eval echo configure
:9945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9946 LIBS
="$ac_save_LIBS"
9947 # We can link X programs with no special library path.
9950 echo "configure: failed program was:" >&5
9951 cat conftest.
$ac_ext >&5
9953 LIBS
="$ac_save_LIBS"
9954 # First see if replacing the include by lib works.
9955 # Check X11 before X11Rn because it is often a symlink to the current release.
9956 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9967 /usr
/local
/X
11/lib \
9968 /usr
/local
/X
11R
6/lib \
9969 /usr
/local
/X
11R
5/lib \
9970 /usr
/local
/X
11R
4/lib \
9972 /usr
/local
/lib
/X11 \
9973 /usr
/local
/lib
/X11R6 \
9974 /usr
/local
/lib
/X11R5 \
9975 /usr
/local
/lib
/X11R4 \
9979 /usr
/XFree
86/lib
/X11 \
9983 /usr
/unsupported
/lib \
9985 /usr
/local
/x
11r
5/lib \
9986 /usr
/lpp
/Xamples
/lib \
9990 /usr
/openwin
/share
/lib \
9993 for ac_extension
in a so sl
; do
9994 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9995 ac_x_libraries
=$ac_dir
10002 fi # $ac_x_libraries = NO
10004 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10005 # Didn't find X anywhere. Cache the known absence of X.
10006 ac_cv_have_x
="have_x=no"
10008 # Record where we found X for the cache.
10009 ac_cv_have_x
="have_x=yes \
10010 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10014 eval "$ac_cv_have_x"
10017 if test "$have_x" != yes; then
10018 echo "$ac_t""$have_x" 1>&6
10021 # If each of the values was on the command line, it overrides each guess.
10022 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10023 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10024 # Update the cache value to reflect the command line values.
10025 ac_cv_have_x
="have_x=yes \
10026 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10027 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10030 if test "$no_x" = yes; then
10031 # Not all programs may use this symbol, but it does not hurt to define it.
10032 cat >> confdefs.h
<<\EOF
10033 #define X_DISPLAY_MISSING 1
10036 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10038 if test -n "$x_includes"; then
10039 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10042 # It would also be nice to do this for all -L options, not just this one.
10043 if test -n "$x_libraries"; then
10044 X_LIBS
="$X_LIBS -L$x_libraries"
10045 # For Solaris; some versions of Sun CC require a space after -R and
10046 # others require no space. Words are not sufficient . . . .
10047 case "`(uname -sr) 2>/dev/null`" in
10049 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10050 echo "configure:10051: checking whether -R must be followed by a space" >&5
10051 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10052 cat > conftest.
$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10060 if { (eval echo configure
:10061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10064 echo "configure: failed program was:" >&5
10065 cat conftest.
$ac_ext >&5
10070 if test $ac_R_nospace = yes; then
10071 echo "$ac_t""no" 1>&6
10072 X_LIBS
="$X_LIBS -R$x_libraries"
10074 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10075 cat > conftest.
$ac_ext <<EOF
10076 #line 10077 "configure"
10077 #include "confdefs.h"
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10087 echo "configure: failed program was:" >&5
10088 cat conftest.
$ac_ext >&5
10093 if test $ac_R_space = yes; then
10094 echo "$ac_t""yes" 1>&6
10095 X_LIBS
="$X_LIBS -R $x_libraries"
10097 echo "$ac_t""neither works" 1>&6
10100 LIBS
="$ac_xsave_LIBS"
10104 # Check for system-dependent libraries X programs must link with.
10105 # Do this before checking for the system-independent R6 libraries
10106 # (-lICE), since we may need -lsocket or whatever for X linking.
10108 if test "$ISC" = yes; then
10109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10111 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10112 # libraries were built with DECnet support. And karl@cs.umb.edu says
10113 # the Alpha needs dnet_stub (dnet does not exist).
10114 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10115 echo "configure:10116: checking for dnet_ntoa in -ldnet" >&5
10116 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10118 echo $ac_n "(cached) $ac_c" 1>&6
10120 ac_save_LIBS
="$LIBS"
10121 LIBS
="-ldnet $LIBS"
10122 cat > conftest.
$ac_ext <<EOF
10123 #line 10124 "configure"
10124 #include "confdefs.h"
10125 /* Override any gcc2 internal prototype to avoid an error. */
10126 /* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10134 if { (eval echo configure
:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10136 eval "ac_cv_lib_$ac_lib_var=yes"
10138 echo "configure: failed program was:" >&5
10139 cat conftest.
$ac_ext >&5
10141 eval "ac_cv_lib_$ac_lib_var=no"
10144 LIBS
="$ac_save_LIBS"
10147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10148 echo "$ac_t""yes" 1>&6
10149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10151 echo "$ac_t""no" 1>&6
10154 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10155 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10156 echo "configure:10157: checking for dnet_ntoa in -ldnet_stub" >&5
10157 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10158 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10159 echo $ac_n "(cached) $ac_c" 1>&6
10161 ac_save_LIBS
="$LIBS"
10162 LIBS
="-ldnet_stub $LIBS"
10163 cat > conftest.
$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10175 if { (eval echo configure
:10176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10177 eval "ac_cv_lib_$ac_lib_var=yes"
10179 echo "configure: failed program was:" >&5
10180 cat conftest.
$ac_ext >&5
10182 eval "ac_cv_lib_$ac_lib_var=no"
10185 LIBS
="$ac_save_LIBS"
10188 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10189 echo "$ac_t""yes" 1>&6
10190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10192 echo "$ac_t""no" 1>&6
10197 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10198 # to get the SysV transport functions.
10199 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10201 # The nsl library prevents programs from opening the X display
10202 # on Irix 5.2, according to dickey@clark.net.
10203 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10204 echo "configure:10205: checking for gethostbyname" >&5
10205 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10211 /* System header to define __stub macros and hopefully few prototypes,
10212 which can conflict with char gethostbyname(); below. */
10213 #include <assert.h>
10214 /* Override any gcc2 internal prototype to avoid an error. */
10215 /* We use char because int might match the return type of a gcc2
10216 builtin and then its argument prototype would still apply. */
10217 char gethostbyname();
10221 /* The GNU C library defines this for functions which it implements
10222 to always fail with ENOSYS. Some functions are actually named
10223 something starting with __ and the normal name is an alias. */
10224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10232 if { (eval echo configure
:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10234 eval "ac_cv_func_gethostbyname=yes"
10236 echo "configure: failed program was:" >&5
10237 cat conftest.
$ac_ext >&5
10239 eval "ac_cv_func_gethostbyname=no"
10244 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10245 echo "$ac_t""yes" 1>&6
10248 echo "$ac_t""no" 1>&6
10251 if test $ac_cv_func_gethostbyname = no
; then
10252 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10253 echo "configure:10254: checking for gethostbyname in -lnsl" >&5
10254 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10256 echo $ac_n "(cached) $ac_c" 1>&6
10258 ac_save_LIBS
="$LIBS"
10260 cat > conftest.
$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10263 /* Override any gcc2 internal prototype to avoid an error. */
10264 /* We use char because int might match the return type of a gcc2
10265 builtin and then its argument prototype would still apply. */
10266 char gethostbyname();
10272 if { (eval echo configure
:10273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10274 eval "ac_cv_lib_$ac_lib_var=yes"
10276 echo "configure: failed program was:" >&5
10277 cat conftest.
$ac_ext >&5
10279 eval "ac_cv_lib_$ac_lib_var=no"
10282 LIBS
="$ac_save_LIBS"
10285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10286 echo "$ac_t""yes" 1>&6
10287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10289 echo "$ac_t""no" 1>&6
10294 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10295 # socket/setsockopt and other routines are undefined under SCO ODT
10296 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10297 # on later versions), says simon@lia.di.epfl.ch: it contains
10298 # gethostby* variants that don't use the nameserver (or something).
10299 # -lsocket must be given before -lnsl if both are needed.
10300 # We assume that if connect needs -lnsl, so does gethostbyname.
10301 echo $ac_n "checking for connect""... $ac_c" 1>&6
10302 echo "configure:10303: checking for connect" >&5
10303 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10306 cat > conftest.
$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10309 /* System header to define __stub macros and hopefully few prototypes,
10310 which can conflict with char connect(); below. */
10311 #include <assert.h>
10312 /* Override any gcc2 internal prototype to avoid an error. */
10313 /* We use char because int might match the return type of a gcc2
10314 builtin and then its argument prototype would still apply. */
10319 /* The GNU C library defines this for functions which it implements
10320 to always fail with ENOSYS. Some functions are actually named
10321 something starting with __ and the normal name is an alias. */
10322 #if defined (__stub_connect) || defined (__stub___connect)
10330 if { (eval echo configure
:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10332 eval "ac_cv_func_connect=yes"
10334 echo "configure: failed program was:" >&5
10335 cat conftest.
$ac_ext >&5
10337 eval "ac_cv_func_connect=no"
10342 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10343 echo "$ac_t""yes" 1>&6
10346 echo "$ac_t""no" 1>&6
10349 if test $ac_cv_func_connect = no
; then
10350 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10351 echo "configure:10352: checking for connect in -lsocket" >&5
10352 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10354 echo $ac_n "(cached) $ac_c" 1>&6
10356 ac_save_LIBS
="$LIBS"
10357 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10358 cat > conftest.
$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10370 if { (eval echo configure
:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10372 eval "ac_cv_lib_$ac_lib_var=yes"
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10377 eval "ac_cv_lib_$ac_lib_var=no"
10380 LIBS
="$ac_save_LIBS"
10383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10384 echo "$ac_t""yes" 1>&6
10385 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10387 echo "$ac_t""no" 1>&6
10392 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10393 echo $ac_n "checking for remove""... $ac_c" 1>&6
10394 echo "configure:10395: checking for remove" >&5
10395 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10396 echo $ac_n "(cached) $ac_c" 1>&6
10398 cat > conftest.
$ac_ext <<EOF
10399 #line 10400 "configure"
10400 #include "confdefs.h"
10401 /* System header to define __stub macros and hopefully few prototypes,
10402 which can conflict with char remove(); below. */
10403 #include <assert.h>
10404 /* Override any gcc2 internal prototype to avoid an error. */
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10411 /* The GNU C library defines this for functions which it implements
10412 to always fail with ENOSYS. Some functions are actually named
10413 something starting with __ and the normal name is an alias. */
10414 #if defined (__stub_remove) || defined (__stub___remove)
10422 if { (eval echo configure
:10423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10424 eval "ac_cv_func_remove=yes"
10426 echo "configure: failed program was:" >&5
10427 cat conftest.
$ac_ext >&5
10429 eval "ac_cv_func_remove=no"
10434 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10435 echo "$ac_t""yes" 1>&6
10438 echo "$ac_t""no" 1>&6
10441 if test $ac_cv_func_remove = no
; then
10442 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10443 echo "configure:10444: checking for remove in -lposix" >&5
10444 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10446 echo $ac_n "(cached) $ac_c" 1>&6
10448 ac_save_LIBS
="$LIBS"
10449 LIBS
="-lposix $LIBS"
10450 cat > conftest.
$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10453 /* Override any gcc2 internal prototype to avoid an error. */
10454 /* We use char because int might match the return type of a gcc2
10455 builtin and then its argument prototype would still apply. */
10462 if { (eval echo configure
:10463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10464 eval "ac_cv_lib_$ac_lib_var=yes"
10466 echo "configure: failed program was:" >&5
10467 cat conftest.
$ac_ext >&5
10469 eval "ac_cv_lib_$ac_lib_var=no"
10472 LIBS
="$ac_save_LIBS"
10475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10476 echo "$ac_t""yes" 1>&6
10477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10479 echo "$ac_t""no" 1>&6
10484 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10485 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10486 echo "configure:10487: checking for shmat" >&5
10487 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10488 echo $ac_n "(cached) $ac_c" 1>&6
10490 cat > conftest.
$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10493 /* System header to define __stub macros and hopefully few prototypes,
10494 which can conflict with char shmat(); below. */
10495 #include <assert.h>
10496 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10503 /* The GNU C library defines this for functions which it implements
10504 to always fail with ENOSYS. Some functions are actually named
10505 something starting with __ and the normal name is an alias. */
10506 #if defined (__stub_shmat) || defined (__stub___shmat)
10514 if { (eval echo configure
:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10516 eval "ac_cv_func_shmat=yes"
10518 echo "configure: failed program was:" >&5
10519 cat conftest.
$ac_ext >&5
10521 eval "ac_cv_func_shmat=no"
10526 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10527 echo "$ac_t""yes" 1>&6
10530 echo "$ac_t""no" 1>&6
10533 if test $ac_cv_func_shmat = no
; then
10534 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10535 echo "configure:10536: checking for shmat in -lipc" >&5
10536 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10540 ac_save_LIBS
="$LIBS"
10542 cat > conftest.
$ac_ext <<EOF
10543 #line 10544 "configure"
10544 #include "confdefs.h"
10545 /* Override any gcc2 internal prototype to avoid an error. */
10546 /* We use char because int might match the return type of a gcc2
10547 builtin and then its argument prototype would still apply. */
10554 if { (eval echo configure
:10555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10556 eval "ac_cv_lib_$ac_lib_var=yes"
10558 echo "configure: failed program was:" >&5
10559 cat conftest.
$ac_ext >&5
10561 eval "ac_cv_lib_$ac_lib_var=no"
10564 LIBS
="$ac_save_LIBS"
10567 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10568 echo "$ac_t""yes" 1>&6
10569 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10571 echo "$ac_t""no" 1>&6
10577 # Check for libraries that X11R6 Xt/Xaw programs need.
10578 ac_save_LDFLAGS
="$LDFLAGS"
10579 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10580 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10581 # check for ICE first), but we must link in the order -lSM -lICE or
10582 # we get undefined symbols. So assume we have SM if we have ICE.
10583 # These have to be linked with before -lX11, unlike the other
10584 # libraries we check for below, so use a different variable.
10585 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10586 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10587 echo "configure:10588: checking for IceConnectionNumber in -lICE" >&5
10588 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10590 echo $ac_n "(cached) $ac_c" 1>&6
10592 ac_save_LIBS
="$LIBS"
10593 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10594 cat > conftest.
$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* Override any gcc2 internal prototype to avoid an error. */
10598 /* We use char because int might match the return type of a gcc2
10599 builtin and then its argument prototype would still apply. */
10600 char IceConnectionNumber();
10603 IceConnectionNumber()
10606 if { (eval echo configure
:10607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10608 eval "ac_cv_lib_$ac_lib_var=yes"
10610 echo "configure: failed program was:" >&5
10611 cat conftest.
$ac_ext >&5
10613 eval "ac_cv_lib_$ac_lib_var=no"
10616 LIBS
="$ac_save_LIBS"
10619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10620 echo "$ac_t""yes" 1>&6
10621 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10623 echo "$ac_t""no" 1>&6
10626 LDFLAGS
="$ac_save_LDFLAGS"
10630 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10631 LDFLAGS
="$LDFLAGS $X_LIBS"
10633 if test "$wxUSE_MOTIF" = 1; then
10634 if test "$no_x" = "yes"; then
10635 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10638 GUI_TK_LIBRARY
="$X_LIBS"
10639 TOOLKIT_INCLUDE
="$X_CFLAGS"
10641 AFMINSTALL
=afminstall
10644 COMPILED_X_PROGRAM
=0
10646 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10647 echo "configure:10648: checking for Motif/Lesstif headers" >&5
10650 for ac_dir
in $SEARCH_INCLUDE;
10652 if test -f "$ac_dir/Xm/Xm.h"; then
10653 ac_find_includes
=$ac_dir
10658 if test "$ac_find_includes" != "" ; then
10659 echo "$ac_t""found $ac_find_includes" 1>&6
10661 cat > conftest.
$ac_ext <<EOF
10662 #line 10663 "configure"
10663 #include "confdefs.h"
10671 version = xmUseVersion;
10675 if { (eval echo configure
:10676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10678 echo "$ac_t""found in default search path" 1>&6
10679 COMPILED_X_PROGRAM
=1
10682 echo "configure: failed program was:" >&5
10683 cat conftest.
$ac_ext >&5
10686 echo "$ac_t""no" 1>&6
10687 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10694 if test "$COMPILED_X_PROGRAM" = 0; then
10695 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10696 echo "configure:10697: checking for Motif/Lesstif library" >&5
10699 for ac_dir
in $SEARCH_LIB;
10701 for ac_extension
in a so sl dylib
; do
10702 if test -f "$ac_dir/libXm.$ac_extension"; then
10703 ac_find_libraries
=$ac_dir
10709 if test "$ac_find_libraries" != "" ; then
10711 ac_path_to_include
=$ac_find_includes
10712 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10714 if test $result = 0; then
10715 ac_path_to_include
=""
10717 ac_path_to_include
="-I$ac_find_includes"
10721 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10723 if test $result = 0; then
10726 ac_path_to_link
="-L$ac_find_libraries"
10730 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10731 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10732 echo "$ac_t""found at $ac_find_libraries" 1>&6
10734 cat > conftest.
$ac_ext <<EOF
10735 #line 10736 "configure"
10736 #include "confdefs.h"
10744 version = xmUseVersion;
10748 if { (eval echo configure
:10749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10751 echo "$ac_t""found in default search path" 1>&6
10752 COMPILED_X_PROGRAM
=1
10755 echo "configure: failed program was:" >&5
10756 cat conftest.
$ac_ext >&5
10759 echo "$ac_t""no" 1>&6
10760 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10770 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10771 echo "configure:10772: checking for Xpm library" >&5
10774 for ac_dir
in $SEARCH_LIB;
10776 for ac_extension
in a so sl dylib
; do
10777 if test -f "$ac_dir/libXpm.$ac_extension"; then
10778 ac_find_libraries
=$ac_dir
10784 if test "$ac_find_libraries" != "" ; then
10786 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10788 if test $result = 0; then
10791 ac_path_to_link
="-L$ac_find_libraries"
10794 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10796 cat >> confdefs.h
<<\EOF
10797 #define wxHAVE_LIB_XPM 1
10800 echo "$ac_t""found at $ac_find_libraries" 1>&6
10802 cat > conftest.
$ac_ext <<EOF
10803 #line 10804 "configure"
10804 #include "confdefs.h"
10806 #include <X11/xpm.h>
10812 version = XpmLibraryVersion();
10816 if { (eval echo configure
:10817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10820 cat >> confdefs.h
<<\EOF
10821 #define wxHAVE_LIB_XPM 1
10824 echo "$ac_t""found in default search path" 1>&6
10825 COMPILED_X_PROGRAM
=0
10828 echo "configure: failed program was:" >&5
10829 cat conftest.
$ac_ext >&5
10832 echo "$ac_t""no" 1>&6
10833 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10840 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10841 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10846 if test "$wxUSE_MAC" = 1; then
10851 if test "$wxUSE_PM" = 1; then
10856 if test "$TOOLKIT" != "PM" ; then
10857 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10862 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10864 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10866 if test "$TOOLKIT_NAME" = "motif"; then
10867 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10870 if test "$wxUSE_UNIVERSAL" = "yes"; then
10871 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10872 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10873 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10876 SETUPH_DIR
="${TOOLKIT_DIR}"
10879 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10880 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10883 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10884 if test "$wxUSE_UNIVERSAL" = "yes"; then
10885 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10888 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10890 if test "$wxUSE_UNIVERSAL" = "yes"; then
10891 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10893 ALL_OBJECTS
="\$(GUIOBJS)"
10896 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10898 if test "$TOOLKIT" != "MSW"; then
10899 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10902 if test "$wxUSE_HTML" = "yes"; then
10903 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10906 if test "$TOOLKIT" != "MSW"; then
10907 if test "$wxUSE_ODBC" = "yes" ; then
10908 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10912 if test "x$REGEX_INCLUDE" != "x" ; then
10913 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10916 if test "$wxUSE_LIBJPEG" = "yes" ; then
10917 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10919 if test "$wxUSE_LIBTIFF" = "yes" ; then
10920 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10922 if test "$wxUSE_LIBPNG" = "yes" ; then
10923 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10925 if test "$wxUSE_ZLIB" = "yes" ; then
10926 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10928 if test "$wxUSE_FREETYPE" = "yes" ; then
10929 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10932 if test "$wxUSE_UNIVERSAL" = "yes"; then
10933 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10935 ALL_DEPFILES
="\$(GUIDEPS)"
10938 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10940 if test "$TOOLKIT" != "MSW"; then
10941 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10944 if test "$wxUSE_HTML" = "yes"; then
10945 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10948 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10949 if test "$wxUSE_UNIVERSAL" = "yes"; then
10950 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10952 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10953 RPM_SPEC
="wx\$(TOOLKIT).spec"
10955 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10956 DISTDIR
="wx\$(TOOLKIT)"
10964 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10965 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10967 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10970 TOOLKIT_DEF
="-D__WXBASE__"
10972 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10973 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10975 if test "x$REGEX_INCLUDE" != "x" ; then
10976 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10979 if test "$wxUSE_ZLIB" = "yes" ; then
10980 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10983 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10985 PORT_FILES
="\${top_srcdir}/src/files.lst"
10986 RPM_FILES
="src/rpmfiles.lst"
10987 RPM_SPEC
="wxBase.spec"
10989 GUIDIST
="BASE_DIST"
10993 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10994 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10996 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10997 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
11001 WX_LIBRARY_NAME_SHARED
="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
11004 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11005 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11009 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
11010 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
11011 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
11012 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
11013 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
11014 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
11020 BURNT_LIBRARY_NAME
=
11021 WX_TARGET_LIBRARY_SONAME
=
11024 if test "$wxUSE_SHARED" = "yes"; then
11027 if test "$GCC" = yes ; then
11028 SHARED_LD
="${CXX} -shared -fPIC -o"
11031 LDFLAGS
="-L/usr/lib"
11033 SHARED_LD
="${CXX} -b -o"
11036 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
11037 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
11038 if test "$wxUSE_OPENGL" = "yes"; then
11039 WX_ALL_INSTALLED
="preinstall_gl"
11040 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11042 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11047 SHARED_LD
="${CXX} -shared -o"
11049 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11050 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11051 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11052 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11054 if test "$wxUSE_OPENGL" = "yes"; then
11055 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11056 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11058 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11059 WX_ALL
="CREATE_LINKS"
11062 *-*-irix5* | *-*-irix6* )
11063 if test "$GCC" = yes ; then
11064 SHARED_LD
="${CXX} -shared -o"
11067 SHARED_LD
="${CXX} -shared -o"
11069 if test "$wxUSE_OPENGL" = "yes"; then
11070 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11071 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11073 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11074 WX_ALL
="CREATE_LINKS"
11078 if test "$GCC" = yes ; then
11079 SHARED_LD
="${CXX} -shared -o"
11082 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11084 SHARED_LD
="${CXX} -G -o"
11087 if test "$wxUSE_OPENGL" = "yes"; then
11088 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11089 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11091 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11092 WX_ALL
="CREATE_LINKS"
11096 SHARED_LD
="${CXX} -shared -o"
11098 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11099 WX_ALL
="CREATE_LINKS"
11101 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11102 SHARED_LD
="${CXX} -shared -o"
11104 if test "$wxUSE_OPENGL" = "yes"; then
11105 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11106 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11108 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11109 WX_ALL
="CREATE_LINKS"
11113 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11114 CPPFLAGS
="${CPPFLAGS} -fno-common"
11115 SHARED_LD
="${CXX} -dynamiclib -o"
11116 PIC_FLAG
="-dynamic -fPIC"
11117 if test "$wxUSE_OPENGL" = "yes"; then
11118 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11119 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11121 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11122 WX_ALL
="CREATE_LINKS"
11124 if test "$wxUSE_MAC" = 1 ; then
11125 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11127 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11128 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11129 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11130 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11131 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
11132 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11133 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11134 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
11137 SHARED_LD
="${CXX} -shared -o"
11139 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11140 WX_ALL
="CREATE_LINKS"
11143 SHARED_LD
="${CXX} -shared -o"
11145 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11146 WX_ALL
="CREATE_LINKS"
11149 SHARED_LD
="${CXX} -shared -o"
11151 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11152 WX_ALL
="CREATE_LINKS"
11155 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11156 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
11159 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11160 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11161 if test "$wxUSE_OPENGL" = "yes"; then
11162 WX_ALL_INSTALLED
="preinstall_gl"
11163 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11165 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11169 WX_LIBRARY_NAME_STATIC
="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11170 SHARED_LD
="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11171 TOOLKIT_DEF
="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11172 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11173 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11174 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11175 if test "$wxUSE_OPENGL" = "yes"; then
11176 WX_ALL_INSTALLED
="preinstall_gl"
11177 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11179 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11183 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11184 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11187 SHARED_LD
="${LD} -shared -o"
11189 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11190 WX_ALL
="CREATE_LINKS"
11193 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11196 if test "x$WX_TARGET_LIBRARY" = "x"; then
11197 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11198 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11200 WX_TARGET_LIBRARY_TYPE
="so"
11202 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11203 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11205 if test "$wxUSE_OPENGL" = "yes"; then
11206 WX_ALL_INSTALLED
="preinstall_gl"
11207 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11209 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11212 if test "$wxUSE_GUI" = "no"; then
11213 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11216 WX_TARGET_LIBRARY_TYPE
="a"
11220 for ac_hdr
in strings.h
11222 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11224 echo "configure:11225: checking for $ac_hdr" >&5
11225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11226 echo $ac_n "(cached) $ac_c" 1>&6
11228 cat > conftest.
$ac_ext <<EOF
11229 #line 11230 "configure"
11230 #include "confdefs.h"
11233 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11234 { (eval echo configure
:11235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11235 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11236 if test -z "$ac_err"; then
11238 eval "ac_cv_header_$ac_safe=yes"
11241 echo "configure: failed program was:" >&5
11242 cat conftest.
$ac_ext >&5
11244 eval "ac_cv_header_$ac_safe=no"
11248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11249 echo "$ac_t""yes" 1>&6
11250 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11251 cat >> confdefs.h
<<EOF
11252 #define $ac_tr_hdr 1
11256 echo "$ac_t""no" 1>&6
11260 for ac_hdr
in stdlib.h
11262 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11263 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11264 echo "configure:11265: checking for $ac_hdr" >&5
11265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11266 echo $ac_n "(cached) $ac_c" 1>&6
11268 cat > conftest.
$ac_ext <<EOF
11269 #line 11270 "configure"
11270 #include "confdefs.h"
11273 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11274 { (eval echo configure
:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11275 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11276 if test -z "$ac_err"; then
11278 eval "ac_cv_header_$ac_safe=yes"
11281 echo "configure: failed program was:" >&5
11282 cat conftest.
$ac_ext >&5
11284 eval "ac_cv_header_$ac_safe=no"
11288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11289 echo "$ac_t""yes" 1>&6
11290 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11291 cat >> confdefs.h
<<EOF
11292 #define $ac_tr_hdr 1
11296 echo "$ac_t""no" 1>&6
11300 for ac_hdr
in unistd.h
11302 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11304 echo "configure:11305: checking for $ac_hdr" >&5
11305 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11306 echo $ac_n "(cached) $ac_c" 1>&6
11308 cat > conftest.
$ac_ext <<EOF
11309 #line 11310 "configure"
11310 #include "confdefs.h"
11313 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11314 { (eval echo configure
:11315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11315 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11316 if test -z "$ac_err"; then
11318 eval "ac_cv_header_$ac_safe=yes"
11321 echo "configure: failed program was:" >&5
11322 cat conftest.
$ac_ext >&5
11324 eval "ac_cv_header_$ac_safe=no"
11328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11329 echo "$ac_t""yes" 1>&6
11330 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11331 cat >> confdefs.h
<<EOF
11332 #define $ac_tr_hdr 1
11336 echo "$ac_t""no" 1>&6
11340 for ac_hdr
in wchar.h
11342 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11344 echo "configure:11345: checking for $ac_hdr" >&5
11345 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11346 echo $ac_n "(cached) $ac_c" 1>&6
11348 cat > conftest.
$ac_ext <<EOF
11349 #line 11350 "configure"
11350 #include "confdefs.h"
11353 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11354 { (eval echo configure
:11355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11355 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11356 if test -z "$ac_err"; then
11358 eval "ac_cv_header_$ac_safe=yes"
11361 echo "configure: failed program was:" >&5
11362 cat conftest.
$ac_ext >&5
11364 eval "ac_cv_header_$ac_safe=no"
11368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11369 echo "$ac_t""yes" 1>&6
11370 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11371 cat >> confdefs.h
<<EOF
11372 #define $ac_tr_hdr 1
11376 echo "$ac_t""no" 1>&6
11380 for ac_hdr
in wcstr.h
11382 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11383 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11384 echo "configure:11385: checking for $ac_hdr" >&5
11385 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11388 cat > conftest.
$ac_ext <<EOF
11389 #line 11390 "configure"
11390 #include "confdefs.h"
11393 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11394 { (eval echo configure
:11395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11395 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11396 if test -z "$ac_err"; then
11398 eval "ac_cv_header_$ac_safe=yes"
11401 echo "configure: failed program was:" >&5
11402 cat conftest.
$ac_ext >&5
11404 eval "ac_cv_header_$ac_safe=no"
11408 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11409 echo "$ac_t""yes" 1>&6
11410 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11411 cat >> confdefs.h
<<EOF
11412 #define $ac_tr_hdr 1
11416 echo "$ac_t""no" 1>&6
11420 for ac_hdr
in fnmatch.h
11422 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11424 echo "configure:11425: checking for $ac_hdr" >&5
11425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11426 echo $ac_n "(cached) $ac_c" 1>&6
11428 cat > conftest.
$ac_ext <<EOF
11429 #line 11430 "configure"
11430 #include "confdefs.h"
11433 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11434 { (eval echo configure
:11435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11435 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11436 if test -z "$ac_err"; then
11438 eval "ac_cv_header_$ac_safe=yes"
11441 echo "configure: failed program was:" >&5
11442 cat conftest.
$ac_ext >&5
11444 eval "ac_cv_header_$ac_safe=no"
11448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11449 echo "$ac_t""yes" 1>&6
11450 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11451 cat >> confdefs.h
<<EOF
11452 #define $ac_tr_hdr 1
11456 echo "$ac_t""no" 1>&6
11460 for ac_hdr
in iconv.h
11462 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11464 echo "configure:11465: checking for $ac_hdr" >&5
11465 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11466 echo $ac_n "(cached) $ac_c" 1>&6
11468 cat > conftest.
$ac_ext <<EOF
11469 #line 11470 "configure"
11470 #include "confdefs.h"
11473 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11474 { (eval echo configure
:11475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11475 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11476 if test -z "$ac_err"; then
11478 eval "ac_cv_header_$ac_safe=yes"
11481 echo "configure: failed program was:" >&5
11482 cat conftest.
$ac_ext >&5
11484 eval "ac_cv_header_$ac_safe=no"
11488 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11489 echo "$ac_t""yes" 1>&6
11490 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11491 cat >> confdefs.h
<<EOF
11492 #define $ac_tr_hdr 1
11496 echo "$ac_t""no" 1>&6
11500 for ac_hdr
in langinfo.h
11502 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11504 echo "configure:11505: checking for $ac_hdr" >&5
11505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11506 echo $ac_n "(cached) $ac_c" 1>&6
11508 cat > conftest.
$ac_ext <<EOF
11509 #line 11510 "configure"
11510 #include "confdefs.h"
11513 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11514 { (eval echo configure
:11515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11515 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11516 if test -z "$ac_err"; then
11518 eval "ac_cv_header_$ac_safe=yes"
11521 echo "configure: failed program was:" >&5
11522 cat conftest.
$ac_ext >&5
11524 eval "ac_cv_header_$ac_safe=no"
11528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11529 echo "$ac_t""yes" 1>&6
11530 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11531 cat >> confdefs.h
<<EOF
11532 #define $ac_tr_hdr 1
11536 echo "$ac_t""no" 1>&6
11541 if test "$wxUSE_GUI" = "yes"; then
11542 if test "$wxUSE_UNIX" = "yes"; then
11543 for ac_hdr
in X
11/XKBlib.h
11545 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11547 echo "configure:11548: checking for $ac_hdr" >&5
11548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11556 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11557 { (eval echo configure
:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11558 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11559 if test -z "$ac_err"; then
11561 eval "ac_cv_header_$ac_safe=yes"
11564 echo "configure: failed program was:" >&5
11565 cat conftest.
$ac_ext >&5
11567 eval "ac_cv_header_$ac_safe=no"
11571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11572 echo "$ac_t""yes" 1>&6
11573 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11574 cat >> confdefs.h
<<EOF
11575 #define $ac_tr_hdr 1
11579 echo "$ac_t""no" 1>&6
11586 if test "$USE_WIN32" = 1; then
11587 for ac_hdr
in w32api.h
11589 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11591 echo "configure:11592: checking for $ac_hdr" >&5
11592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11595 cat > conftest.
$ac_ext <<EOF
11596 #line 11597 "configure"
11597 #include "confdefs.h"
11600 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11601 { (eval echo configure
:11602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11602 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11603 if test -z "$ac_err"; then
11605 eval "ac_cv_header_$ac_safe=yes"
11608 echo "configure: failed program was:" >&5
11609 cat conftest.
$ac_ext >&5
11611 eval "ac_cv_header_$ac_safe=no"
11615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11618 cat >> confdefs.h
<<EOF
11619 #define $ac_tr_hdr 1
11623 echo "$ac_t""no" 1>&6
11630 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11631 echo "configure:11632: checking for ANSI C header files" >&5
11632 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11635 cat > conftest.
$ac_ext <<EOF
11636 #line 11637 "configure"
11637 #include "confdefs.h"
11638 #include <stdlib.h>
11639 #include <stdarg.h>
11640 #include <string.h>
11643 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11644 { (eval echo configure
:11645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11645 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11646 if test -z "$ac_err"; then
11648 ac_cv_header_stdc
=yes
11651 echo "configure: failed program was:" >&5
11652 cat conftest.
$ac_ext >&5
11654 ac_cv_header_stdc
=no
11658 if test $ac_cv_header_stdc = yes; then
11659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11663 #include <string.h>
11665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11666 egrep "memchr" >/dev
/null
2>&1; then
11670 ac_cv_header_stdc
=no
11676 if test $ac_cv_header_stdc = yes; then
11677 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11678 cat > conftest.
$ac_ext <<EOF
11679 #line 11680 "configure"
11680 #include "confdefs.h"
11681 #include <stdlib.h>
11683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11684 egrep "free" >/dev
/null
2>&1; then
11688 ac_cv_header_stdc
=no
11694 if test $ac_cv_header_stdc = yes; then
11695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11696 if test "$cross_compiling" = yes; then
11699 cat > conftest.
$ac_ext <<EOF
11700 #line 11701 "configure"
11701 #include "confdefs.h"
11703 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11704 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11705 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11706 int main () { int i; for (i = 0; i < 256; i++)
11707 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11711 if { (eval echo configure
:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11715 echo "configure: failed program was:" >&5
11716 cat conftest.
$ac_ext >&5
11718 ac_cv_header_stdc
=no
11726 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11727 if test $ac_cv_header_stdc = yes; then
11728 cat >> confdefs.h
<<\EOF
11729 #define STDC_HEADERS 1
11734 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11735 echo "configure:11736: checking for mode_t" >&5
11736 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11737 echo $ac_n "(cached) $ac_c" 1>&6
11739 cat > conftest.
$ac_ext <<EOF
11740 #line 11741 "configure"
11741 #include "confdefs.h"
11742 #include <sys/types.h>
11744 #include <stdlib.h>
11745 #include <stddef.h>
11748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11749 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11751 ac_cv_type_mode_t
=yes
11754 ac_cv_type_mode_t
=no
11759 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11760 if test $ac_cv_type_mode_t = no
; then
11761 cat >> confdefs.h
<<\EOF
11767 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11768 echo "configure:11769: checking for off_t" >&5
11769 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11770 echo $ac_n "(cached) $ac_c" 1>&6
11772 cat > conftest.
$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 #include <sys/types.h>
11777 #include <stdlib.h>
11778 #include <stddef.h>
11781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11782 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11784 ac_cv_type_off_t
=yes
11787 ac_cv_type_off_t
=no
11792 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11793 if test $ac_cv_type_off_t = no
; then
11794 cat >> confdefs.h
<<\EOF
11800 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11801 echo "configure:11802: checking for pid_t" >&5
11802 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11803 echo $ac_n "(cached) $ac_c" 1>&6
11805 cat > conftest.
$ac_ext <<EOF
11806 #line 11807 "configure"
11807 #include "confdefs.h"
11808 #include <sys/types.h>
11810 #include <stdlib.h>
11811 #include <stddef.h>
11814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11815 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11817 ac_cv_type_pid_t
=yes
11820 ac_cv_type_pid_t
=no
11825 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11826 if test $ac_cv_type_pid_t = no
; then
11827 cat >> confdefs.h
<<\EOF
11833 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11834 echo "configure:11835: checking for size_t" >&5
11835 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11838 cat > conftest.
$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 #include <sys/types.h>
11843 #include <stdlib.h>
11844 #include <stddef.h>
11847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11848 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11850 ac_cv_type_size_t
=yes
11853 ac_cv_type_size_t
=no
11858 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11859 if test $ac_cv_type_size_t = no
; then
11860 cat >> confdefs.h
<<\EOF
11861 #define size_t unsigned
11866 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11867 echo "configure:11868: checking for uid_t in sys/types.h" >&5
11868 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11869 echo $ac_n "(cached) $ac_c" 1>&6
11871 cat > conftest.
$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11874 #include <sys/types.h>
11876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11877 egrep "uid_t" >/dev
/null
2>&1; then
11879 ac_cv_type_uid_t
=yes
11882 ac_cv_type_uid_t
=no
11888 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11889 if test $ac_cv_type_uid_t = no
; then
11890 cat >> confdefs.h
<<\EOF
11894 cat >> confdefs.h
<<\EOF
11901 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11902 echo "configure:11903: checking for wchar_t" >&5
11903 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11904 echo $ac_n "(cached) $ac_c" 1>&6
11907 cat > conftest.
$ac_ext <<EOF
11908 #line 11909 "configure"
11909 #include "confdefs.h"
11915 ws = L"Hello, world!";
11919 if { (eval echo configure
:11920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11921 wx_cv_type_wchar_t
=yes
11923 echo "configure: failed program was:" >&5
11924 cat conftest.
$ac_ext >&5
11926 cat > conftest.
$ac_ext <<EOF
11927 #line 11928 "configure"
11928 #include "confdefs.h"
11929 #include <stdlib.h>
11934 ws = L"Hello, world!";
11938 if { (eval echo configure
:11939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11940 wx_cv_type_wchar_t
=yes
11942 echo "configure: failed program was:" >&5
11943 cat conftest.
$ac_ext >&5
11945 wx_cv_type_wchar_t
=no
11954 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11956 if test "$wx_cv_type_wchar_t" = "yes"; then
11957 cat >> confdefs.h
<<\EOF
11958 #define wxUSE_WCHAR_T 1
11965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11966 ac_cpp
='$CXXCPP $CPPFLAGS'
11967 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11968 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11969 cross_compiling
=$ac_cv_prog_cxx_cross
11971 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11972 echo "configure:11973: checking if size_t is unsigned int" >&5
11973 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11974 echo $ac_n "(cached) $ac_c" 1>&6
11976 cat > conftest.
$ac_ext <<EOF
11977 #line 11978 "configure"
11978 #include "confdefs.h"
11979 #include <stddef.h>
11984 struct Foo { void foo(size_t); void foo(unsigned int); };
11990 if { (eval echo configure
:11991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11992 wx_cv_size_t_is_uint
=no
11994 echo "configure: failed program was:" >&5
11995 cat conftest.
$ac_ext >&5
11997 wx_cv_size_t_is_uint
=yes
12004 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12006 if test "$wx_cv_size_t_is_uint" = "yes"; then
12007 cat >> confdefs.h
<<\EOF
12008 #define wxSIZE_T_IS_UINT 1
12012 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12013 echo "configure:12014: checking if size_t is unsigned long" >&5
12014 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12015 echo $ac_n "(cached) $ac_c" 1>&6
12017 cat > conftest.
$ac_ext <<EOF
12018 #line 12019 "configure"
12019 #include "confdefs.h"
12020 #include <stddef.h>
12025 struct Foo { void foo(size_t); void foo(unsigned long); };
12031 if { (eval echo configure
:12032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12033 wx_cv_size_t_is_ulong
=no
12035 echo "configure: failed program was:" >&5
12036 cat conftest.
$ac_ext >&5
12038 wx_cv_size_t_is_ulong
=yes
12045 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12047 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12048 cat >> confdefs.h
<<\EOF
12049 #define wxSIZE_T_IS_ULONG 1
12056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12057 ac_cpp
='$CPP $CPPFLAGS'
12058 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12059 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12060 cross_compiling
=$ac_cv_prog_cc_cross
12064 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12065 echo "configure:12066: checking for pw_gecos in struct passwd" >&5
12066 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12070 cat > conftest.
$ac_ext <<EOF
12071 #line 12072 "configure"
12072 #include "confdefs.h"
12082 if { (eval echo configure
:12083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12085 wx_cv_struct_pw_gecos
=yes
12088 echo "configure: failed program was:" >&5
12089 cat conftest.
$ac_ext >&5
12092 wx_cv_struct_pw_gecos
=no
12101 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12103 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12104 cat >> confdefs.h
<<\EOF
12105 #define HAVE_PW_GECOS 1
12111 echo $ac_n "checking for working const""... $ac_c" 1>&6
12112 echo "configure:12113: checking for working const" >&5
12113 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12122 /* Ultrix mips cc rejects this. */
12123 typedef int charset[2]; const charset x;
12124 /* SunOS 4.1.1 cc rejects this. */
12125 char const *const *ccp;
12127 /* NEC SVR4.0.2 mips cc rejects this. */
12128 struct point {int x, y;};
12129 static struct point const zero = {0,0};
12130 /* AIX XL C 1.02.0.0 rejects this.
12131 It does not let you subtract one const X* pointer from another in an arm
12132 of an if-expression whose if-part is not a constant expression */
12133 const char *g = "string";
12134 ccp = &g + (g ? g-g : 0);
12135 /* HPUX 7.0 cc rejects these. */
12138 ccp = (char const *const *) p;
12139 { /* SCO 3.2v4 cc rejects this. */
12141 char const *s = 0 ? (char *) 0 : (char const *) 0;
12145 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12146 int x[] = {25, 17};
12147 const int *foo = &x[0];
12150 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12151 typedef const int *iptr;
12155 { /* AIX XL C 1.02.0.0 rejects this saying
12156 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12157 struct s { int j; const int *ap[3]; };
12158 struct s *b; b->j = 5;
12160 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12161 const int foo = 10;
12166 if { (eval echo configure
:12167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12170 echo "configure: failed program was:" >&5
12171 cat conftest.
$ac_ext >&5
12178 echo "$ac_t""$ac_cv_c_const" 1>&6
12179 if test $ac_cv_c_const = no
; then
12180 cat >> confdefs.h
<<\EOF
12186 echo $ac_n "checking for inline""... $ac_c" 1>&6
12187 echo "configure:12188: checking for inline" >&5
12188 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12189 echo $ac_n "(cached) $ac_c" 1>&6
12192 for ac_kw
in inline __inline__ __inline
; do
12193 cat > conftest.
$ac_ext <<EOF
12194 #line 12195 "configure"
12195 #include "confdefs.h"
12201 if { (eval echo configure
:12202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12203 ac_cv_c_inline
=$ac_kw; break
12205 echo "configure: failed program was:" >&5
12206 cat conftest.
$ac_ext >&5
12213 echo "$ac_t""$ac_cv_c_inline" 1>&6
12214 case "$ac_cv_c_inline" in
12216 no
) cat >> confdefs.h
<<\EOF
12220 *) cat >> confdefs.h
<<EOF
12221 #define inline $ac_cv_c_inline
12227 echo $ac_n "checking size of char""... $ac_c" 1>&6
12228 echo "configure:12229: checking size of char" >&5
12229 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12230 echo $ac_n "(cached) $ac_c" 1>&6
12232 if test "$cross_compiling" = yes; then
12233 ac_cv_sizeof_char
=1
12235 cat > conftest.
$ac_ext <<EOF
12236 #line 12237 "configure"
12237 #include "confdefs.h"
12241 FILE *f=fopen("conftestval", "w");
12243 fprintf(f, "%d\n", sizeof(char));
12247 if { (eval echo configure
:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12249 ac_cv_sizeof_char
=`cat conftestval`
12251 echo "configure: failed program was:" >&5
12252 cat conftest.
$ac_ext >&5
12254 ac_cv_sizeof_char
=0
12260 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12261 cat >> confdefs.h
<<EOF
12262 #define SIZEOF_CHAR $ac_cv_sizeof_char
12266 echo $ac_n "checking size of short""... $ac_c" 1>&6
12267 echo "configure:12268: checking size of short" >&5
12268 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12269 echo $ac_n "(cached) $ac_c" 1>&6
12271 if test "$cross_compiling" = yes; then
12272 ac_cv_sizeof_short
=2
12274 cat > conftest.
$ac_ext <<EOF
12275 #line 12276 "configure"
12276 #include "confdefs.h"
12280 FILE *f=fopen("conftestval", "w");
12282 fprintf(f, "%d\n", sizeof(short));
12286 if { (eval echo configure
:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12288 ac_cv_sizeof_short
=`cat conftestval`
12290 echo "configure: failed program was:" >&5
12291 cat conftest.
$ac_ext >&5
12293 ac_cv_sizeof_short
=0
12299 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12300 cat >> confdefs.h
<<EOF
12301 #define SIZEOF_SHORT $ac_cv_sizeof_short
12305 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12306 echo "configure:12307: checking size of int *" >&5
12307 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 if test "$cross_compiling" = yes; then
12311 ac_cv_sizeof_int_p
=4
12313 cat > conftest.
$ac_ext <<EOF
12314 #line 12315 "configure"
12315 #include "confdefs.h"
12319 FILE *f=fopen("conftestval", "w");
12321 fprintf(f, "%d\n", sizeof(int *));
12325 if { (eval echo configure
:12326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12327 ac_cv_sizeof_int_p
=`cat conftestval`
12329 echo "configure: failed program was:" >&5
12330 cat conftest.
$ac_ext >&5
12332 ac_cv_sizeof_int_p
=0
12338 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12339 cat >> confdefs.h
<<EOF
12340 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12344 echo $ac_n "checking size of int""... $ac_c" 1>&6
12345 echo "configure:12346: checking size of int" >&5
12346 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12347 echo $ac_n "(cached) $ac_c" 1>&6
12349 if test "$cross_compiling" = yes; then
12352 cat > conftest.
$ac_ext <<EOF
12353 #line 12354 "configure"
12354 #include "confdefs.h"
12358 FILE *f=fopen("conftestval", "w");
12360 fprintf(f, "%d\n", sizeof(int));
12364 if { (eval echo configure
:12365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12366 ac_cv_sizeof_int
=`cat conftestval`
12368 echo "configure: failed program was:" >&5
12369 cat conftest.
$ac_ext >&5
12377 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12378 cat >> confdefs.h
<<EOF
12379 #define SIZEOF_INT $ac_cv_sizeof_int
12383 echo $ac_n "checking size of long""... $ac_c" 1>&6
12384 echo "configure:12385: checking size of long" >&5
12385 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12386 echo $ac_n "(cached) $ac_c" 1>&6
12388 if test "$cross_compiling" = yes; then
12389 ac_cv_sizeof_long
=4
12391 cat > conftest.
$ac_ext <<EOF
12392 #line 12393 "configure"
12393 #include "confdefs.h"
12397 FILE *f=fopen("conftestval", "w");
12399 fprintf(f, "%d\n", sizeof(long));
12403 if { (eval echo configure
:12404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12405 ac_cv_sizeof_long
=`cat conftestval`
12407 echo "configure: failed program was:" >&5
12408 cat conftest.
$ac_ext >&5
12410 ac_cv_sizeof_long
=0
12416 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12417 cat >> confdefs.h
<<EOF
12418 #define SIZEOF_LONG $ac_cv_sizeof_long
12422 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12423 echo "configure:12424: checking size of long long" >&5
12424 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12425 echo $ac_n "(cached) $ac_c" 1>&6
12427 if test "$cross_compiling" = yes; then
12428 ac_cv_sizeof_long_long
=0
12430 cat > conftest.
$ac_ext <<EOF
12431 #line 12432 "configure"
12432 #include "confdefs.h"
12436 FILE *f=fopen("conftestval", "w");
12438 fprintf(f, "%d\n", sizeof(long long));
12442 if { (eval echo configure
:12443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12444 ac_cv_sizeof_long_long
=`cat conftestval`
12446 echo "configure: failed program was:" >&5
12447 cat conftest.
$ac_ext >&5
12449 ac_cv_sizeof_long_long
=0
12455 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12456 cat >> confdefs.h
<<EOF
12457 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12462 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12463 echo "configure:12464: checking size of wchar_t" >&5
12464 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12465 echo $ac_n "(cached) $ac_c" 1>&6
12468 if test "$cross_compiling" = yes; then
12469 wx_cv_sizeof_wchar_t
=4
12472 cat > conftest.
$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12476 #ifdef HAVE_WCHAR_H
12477 # include <wchar.h>
12479 #ifdef HAVE_STDLIB_H
12480 # include <stdlib.h>
12485 FILE *f=fopen("conftestval", "w");
12487 fprintf(f, "%i", sizeof(wchar_t));
12492 if { (eval echo configure
:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12494 wx_cv_sizeof_wchar_t
=`cat conftestval`
12496 echo "configure: failed program was:" >&5
12497 cat conftest.
$ac_ext >&5
12499 wx_cv_sizeof_wchar_t
=0
12507 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12509 cat >> confdefs.h
<<EOF
12510 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12514 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12515 echo "configure:12516: checking whether byte ordering is bigendian" >&5
12516 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12517 echo $ac_n "(cached) $ac_c" 1>&6
12519 ac_cv_c_bigendian
=unknown
12520 # See if sys/param.h defines the BYTE_ORDER macro.
12521 cat > conftest.
$ac_ext <<EOF
12522 #line 12523 "configure"
12523 #include "confdefs.h"
12524 #include <sys/types.h>
12525 #include <sys/param.h>
12528 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12529 bogus endian macros
12533 if { (eval echo configure
:12534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12535 # It does; now see whether it defined to BIG_ENDIAN or not.
12536 cat > conftest.
$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12539 #include <sys/types.h>
12540 #include <sys/param.h>
12543 #if BYTE_ORDER != BIG_ENDIAN
12548 if { (eval echo configure
:12549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12550 ac_cv_c_bigendian
=yes
12552 echo "configure: failed program was:" >&5
12553 cat conftest.
$ac_ext >&5
12555 ac_cv_c_bigendian
=no
12559 echo "configure: failed program was:" >&5
12560 cat conftest.
$ac_ext >&5
12563 if test $ac_cv_c_bigendian = unknown
; then
12564 if test "$cross_compiling" = yes; then
12565 ac_cv_c_bigendian
=unknown
12567 cat > conftest.
$ac_ext <<EOF
12568 #line 12569 "configure"
12569 #include "confdefs.h"
12571 /* Are we little or big endian? From Harbison&Steele. */
12575 char c[sizeof (long)];
12578 exit (u.c[sizeof (long) - 1] == 1);
12581 if { (eval echo configure
:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12583 ac_cv_c_bigendian
=no
12585 echo "configure: failed program was:" >&5
12586 cat conftest.
$ac_ext >&5
12588 ac_cv_c_bigendian
=yes
12596 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12597 if test $ac_cv_c_bigendian = unknown
; then
12598 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
12600 if test $ac_cv_c_bigendian = yes; then
12601 cat >> confdefs.h
<<\EOF
12602 #define WORDS_BIGENDIAN 1
12609 if test "$cross_compiling" = "yes"; then
12610 cat >> confdefs.h
<<\EOF
12611 #define wxUSE_IOSTREAMH 1
12617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12618 ac_cpp
='$CXXCPP $CPPFLAGS'
12619 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12620 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12621 cross_compiling
=$ac_cv_prog_cxx_cross
12624 for ac_hdr
in iostream
12626 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12628 echo "configure:12629: checking for $ac_hdr" >&5
12629 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12630 echo $ac_n "(cached) $ac_c" 1>&6
12632 cat > conftest.
$ac_ext <<EOF
12633 #line 12634 "configure"
12634 #include "confdefs.h"
12637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12638 { (eval echo configure
:12639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12640 if test -z "$ac_err"; then
12642 eval "ac_cv_header_$ac_safe=yes"
12645 echo "configure: failed program was:" >&5
12646 cat conftest.
$ac_ext >&5
12648 eval "ac_cv_header_$ac_safe=no"
12652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12653 echo "$ac_t""yes" 1>&6
12654 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12655 cat >> confdefs.h
<<EOF
12656 #define $ac_tr_hdr 1
12660 echo "$ac_t""no" 1>&6
12665 if test "$ac_cv_header_iostream" = "yes" ; then
12668 cat >> confdefs.h
<<\EOF
12669 #define wxUSE_IOSTREAMH 1
12675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12676 ac_cpp
='$CPP $CPPFLAGS'
12677 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12678 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12679 cross_compiling
=$ac_cv_prog_cc_cross
12685 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12686 echo "configure:12687: checking if C++ compiler supports bool" >&5
12687 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12688 echo $ac_n "(cached) $ac_c" 1>&6
12693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12694 ac_cpp
='$CXXCPP $CPPFLAGS'
12695 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12696 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12697 cross_compiling
=$ac_cv_prog_cxx_cross
12700 cat > conftest.
$ac_ext <<EOF
12701 #line 12702 "configure"
12702 #include "confdefs.h"
12713 if { (eval echo configure
:12714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12719 echo "configure: failed program was:" >&5
12720 cat conftest.
$ac_ext >&5
12730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12731 ac_cpp
='$CPP $CPPFLAGS'
12732 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12733 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12734 cross_compiling
=$ac_cv_prog_cc_cross
12739 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12741 if test "$wx_cv_cpp_bool" = "yes"; then
12742 cat >> confdefs.h
<<\EOF
12743 #define HAVE_BOOL 1
12750 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12751 echo "configure:12752: checking for wcslen in -lc" >&5
12752 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12754 echo $ac_n "(cached) $ac_c" 1>&6
12756 ac_save_LIBS
="$LIBS"
12758 cat > conftest.
$ac_ext <<EOF
12759 #line 12760 "configure"
12760 #include "confdefs.h"
12761 /* Override any gcc2 internal prototype to avoid an error. */
12762 /* We use char because int might match the return type of a gcc2
12763 builtin and then its argument prototype would still apply. */
12770 if { (eval echo configure
:12771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12772 eval "ac_cv_lib_$ac_lib_var=yes"
12774 echo "configure: failed program was:" >&5
12775 cat conftest.
$ac_ext >&5
12777 eval "ac_cv_lib_$ac_lib_var=no"
12780 LIBS
="$ac_save_LIBS"
12783 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12786 cat >> confdefs.h
<<\EOF
12787 #define HAVE_WCSLEN 1
12793 echo "$ac_t""no" 1>&6
12795 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12796 echo "configure:12797: checking for wcslen in -lw" >&5
12797 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12799 echo $ac_n "(cached) $ac_c" 1>&6
12801 ac_save_LIBS
="$LIBS"
12803 cat > conftest.
$ac_ext <<EOF
12804 #line 12805 "configure"
12805 #include "confdefs.h"
12806 /* Override any gcc2 internal prototype to avoid an error. */
12807 /* We use char because int might match the return type of a gcc2
12808 builtin and then its argument prototype would still apply. */
12815 if { (eval echo configure
:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12817 eval "ac_cv_lib_$ac_lib_var=yes"
12819 echo "configure: failed program was:" >&5
12820 cat conftest.
$ac_ext >&5
12822 eval "ac_cv_lib_$ac_lib_var=no"
12825 LIBS
="$ac_save_LIBS"
12828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12829 echo "$ac_t""yes" 1>&6
12831 cat >> confdefs.h
<<\EOF
12832 #define HAVE_WCSLEN 1
12838 echo "$ac_t""no" 1>&6
12840 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12841 echo "configure:12842: checking for wcslen in -lmsvcrt" >&5
12842 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12843 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12844 echo $ac_n "(cached) $ac_c" 1>&6
12846 ac_save_LIBS
="$LIBS"
12847 LIBS
="-lmsvcrt $LIBS"
12848 cat > conftest.
$ac_ext <<EOF
12849 #line 12850 "configure"
12850 #include "confdefs.h"
12851 /* Override any gcc2 internal prototype to avoid an error. */
12852 /* We use char because int might match the return type of a gcc2
12853 builtin and then its argument prototype would still apply. */
12860 if { (eval echo configure
:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12862 eval "ac_cv_lib_$ac_lib_var=yes"
12864 echo "configure: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12867 eval "ac_cv_lib_$ac_lib_var=no"
12870 LIBS
="$ac_save_LIBS"
12873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12874 echo "$ac_t""yes" 1>&6
12876 cat >> confdefs.h
<<\EOF
12877 #define HAVE_WCSLEN 1
12883 echo "$ac_t""no" 1>&6
12893 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12894 echo "configure:12895: checking for vprintf" >&5
12895 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12896 echo $ac_n "(cached) $ac_c" 1>&6
12898 cat > conftest.
$ac_ext <<EOF
12899 #line 12900 "configure"
12900 #include "confdefs.h"
12901 /* System header to define __stub macros and hopefully few prototypes,
12902 which can conflict with char vprintf(); below. */
12903 #include <assert.h>
12904 /* Override any gcc2 internal prototype to avoid an error. */
12905 /* We use char because int might match the return type of a gcc2
12906 builtin and then its argument prototype would still apply. */
12911 /* The GNU C library defines this for functions which it implements
12912 to always fail with ENOSYS. Some functions are actually named
12913 something starting with __ and the normal name is an alias. */
12914 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12922 if { (eval echo configure
:12923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12924 eval "ac_cv_func_vprintf=yes"
12926 echo "configure: failed program was:" >&5
12927 cat conftest.
$ac_ext >&5
12929 eval "ac_cv_func_vprintf=no"
12934 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12935 echo "$ac_t""yes" 1>&6
12936 cat >> confdefs.h
<<\EOF
12937 #define HAVE_VPRINTF 1
12941 echo "$ac_t""no" 1>&6
12944 if test "$ac_cv_func_vprintf" != yes; then
12945 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12946 echo "configure:12947: checking for _doprnt" >&5
12947 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12950 cat > conftest.
$ac_ext <<EOF
12951 #line 12952 "configure"
12952 #include "confdefs.h"
12953 /* System header to define __stub macros and hopefully few prototypes,
12954 which can conflict with char _doprnt(); below. */
12955 #include <assert.h>
12956 /* Override any gcc2 internal prototype to avoid an error. */
12957 /* We use char because int might match the return type of a gcc2
12958 builtin and then its argument prototype would still apply. */
12963 /* The GNU C library defines this for functions which it implements
12964 to always fail with ENOSYS. Some functions are actually named
12965 something starting with __ and the normal name is an alias. */
12966 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12974 if { (eval echo configure
:12975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12976 eval "ac_cv_func__doprnt=yes"
12978 echo "configure: failed program was:" >&5
12979 cat conftest.
$ac_ext >&5
12981 eval "ac_cv_func__doprnt=no"
12986 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12987 echo "$ac_t""yes" 1>&6
12988 cat >> confdefs.h
<<\EOF
12989 #define HAVE_DOPRNT 1
12993 echo "$ac_t""no" 1>&6
13004 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13005 echo "configure:13006: checking for vsnprintf" >&5
13006 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13007 echo $ac_n "(cached) $ac_c" 1>&6
13010 cat > conftest.
$ac_ext <<EOF
13011 #line 13012 "configure"
13012 #include "confdefs.h"
13015 #include <stdarg.h>
13019 int wx_test_vsnprintf(const char *, ...);
13021 wx_test_vsnprintf("%s");
13025 int wx_test_vsnprintf(const char *fmt, ...)
13030 va_start(argp, fmt);
13031 vsnprintf(s, 42, fmt, argp);
13036 if { (eval echo configure
:13037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13039 wx_cv_func_vsnprintf
=yes
13042 echo "configure: failed program was:" >&5
13043 cat conftest.
$ac_ext >&5
13046 cat > conftest.
$ac_ext <<EOF
13047 #line 13048 "configure"
13048 #include "confdefs.h"
13051 #include <stdarg.h>
13055 int wx_test_vsnprintf(const char *, ...);
13057 wx_test_vsnprintf("%s");
13061 int wx_test_vsnprintf(const char *fmt, ...)
13066 va_start(argp, fmt);
13067 _vsnprintf(s, 42, fmt, argp);
13072 if { (eval echo configure
:13073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13075 wx_cv_func_vsnprintf
=yes
13078 echo "configure: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13082 wx_cv_func_vsnprintf
=no
13092 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13094 if test "$wx_cv_func_vsnprintf" = yes; then
13095 cat >> confdefs.h
<<\EOF
13096 #define HAVE_VSNPRINTF 1
13100 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13103 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13104 echo "configure:13105: checking for vsscanf" >&5
13105 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13106 echo $ac_n "(cached) $ac_c" 1>&6
13109 cat > conftest.
$ac_ext <<EOF
13110 #line 13111 "configure"
13111 #include "confdefs.h"
13114 #include <stdarg.h>
13118 int wx_test_vsscanf(const char *, ...);
13120 wx_test_vsscanf("%d");
13124 int wx_test_vsscanf(const char *fmt, ...)
13127 va_start(argp, fmt);
13128 vsscanf("42", fmt, argp);
13133 if { (eval echo configure
:13134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13136 wx_cv_func_vsscanf
=yes
13139 echo "configure: failed program was:" >&5
13140 cat conftest.
$ac_ext >&5
13143 wx_cv_func_vsscanf
=no
13150 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13152 if test "$wx_cv_func_vsscanf" = yes; then
13153 cat >> confdefs.h
<<\EOF
13154 #define HAVE_VSSCANF 1
13159 if test "$TOOLKIT" != "MSW"; then
13164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13165 ac_cpp
='$CXXCPP $CPPFLAGS'
13166 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13167 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13168 cross_compiling
=$ac_cv_prog_cxx_cross
13170 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13171 echo "configure:13172: checking if iconv() takes char**" >&5
13172 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13173 echo $ac_n "(cached) $ac_c" 1>&6
13176 cat > conftest.
$ac_ext <<EOF
13177 #line 13178 "configure"
13178 #include "confdefs.h"
13182 char **inbuf, **outbuf;
13184 size_t insz, outsz;
13185 iconv(cd, inbuf, &insz, outbuf, &outsz);
13189 if { (eval echo configure
:13190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13191 wx_cv_iconv_takes_char
=yes
13193 echo "configure: failed program was:" >&5
13194 cat conftest.
$ac_ext >&5
13196 wx_cv_iconv_takes_char
=no
13202 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13205 ac_cpp
='$CPP $CPPFLAGS'
13206 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13207 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13208 cross_compiling
=$ac_cv_prog_cc_cross
13210 if test "$wx_cv_iconv_takes_char" = yes ; then
13211 cat >> confdefs.h
<<\EOF
13212 #define WX_ICONV_TAKES_CHAR 1
13218 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13219 for ac_func
in sigaction
13221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13222 echo "configure:13223: checking for $ac_func" >&5
13223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13224 echo $ac_n "(cached) $ac_c" 1>&6
13226 cat > conftest.
$ac_ext <<EOF
13227 #line 13228 "configure"
13228 #include "confdefs.h"
13229 /* System header to define __stub macros and hopefully few prototypes,
13230 which can conflict with char $ac_func(); below. */
13231 #include <assert.h>
13232 /* Override any gcc2 internal prototype to avoid an error. */
13233 /* We use char because int might match the return type of a gcc2
13234 builtin and then its argument prototype would still apply. */
13239 /* The GNU C library defines this for functions which it implements
13240 to always fail with ENOSYS. Some functions are actually named
13241 something starting with __ and the normal name is an alias. */
13242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13250 if { (eval echo configure
:13251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13252 eval "ac_cv_func_$ac_func=yes"
13254 echo "configure: failed program was:" >&5
13255 cat conftest.
$ac_ext >&5
13257 eval "ac_cv_func_$ac_func=no"
13262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13263 echo "$ac_t""yes" 1>&6
13264 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13265 cat >> confdefs.h
<<EOF
13266 #define $ac_tr_func 1
13270 echo "$ac_t""no" 1>&6
13275 if test "$ac_cv_func_sigaction" = "no"; then
13276 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13277 wxUSE_ON_FATAL_EXCEPTION
=no
13280 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13284 ac_cpp
='$CXXCPP $CPPFLAGS'
13285 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13286 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13287 cross_compiling
=$ac_cv_prog_cxx_cross
13290 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13291 echo "configure:13292: checking for sa_handler type" >&5
13292 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13293 echo $ac_n "(cached) $ac_c" 1>&6
13296 cat > conftest.
$ac_ext <<EOF
13297 #line 13298 "configure"
13298 #include "confdefs.h"
13299 #include <signal.h>
13302 extern void testSigHandler(int);
13304 struct sigaction sa;
13305 sa.sa_handler = testSigHandler;
13309 if { (eval echo configure
:13310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13312 wx_cv_type_sa_handler
=int
13315 echo "configure: failed program was:" >&5
13316 cat conftest.
$ac_ext >&5
13319 wx_cv_type_sa_handler
=void
13326 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13330 ac_cpp
='$CPP $CPPFLAGS'
13331 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13332 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13333 cross_compiling
=$ac_cv_prog_cc_cross
13336 cat >> confdefs.h
<<EOF
13337 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13343 for ac_func
in vfork
13345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13346 echo "configure:13347: checking for $ac_func" >&5
13347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13348 echo $ac_n "(cached) $ac_c" 1>&6
13350 cat > conftest.
$ac_ext <<EOF
13351 #line 13352 "configure"
13352 #include "confdefs.h"
13353 /* System header to define __stub macros and hopefully few prototypes,
13354 which can conflict with char $ac_func(); below. */
13355 #include <assert.h>
13356 /* Override any gcc2 internal prototype to avoid an error. */
13357 /* We use char because int might match the return type of a gcc2
13358 builtin and then its argument prototype would still apply. */
13363 /* The GNU C library defines this for functions which it implements
13364 to always fail with ENOSYS. Some functions are actually named
13365 something starting with __ and the normal name is an alias. */
13366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13374 if { (eval echo configure
:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13376 eval "ac_cv_func_$ac_func=yes"
13378 echo "configure: failed program was:" >&5
13379 cat conftest.
$ac_ext >&5
13381 eval "ac_cv_func_$ac_func=no"
13386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13387 echo "$ac_t""yes" 1>&6
13388 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13389 cat >> confdefs.h
<<EOF
13390 #define $ac_tr_func 1
13394 echo "$ac_t""no" 1>&6
13399 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13400 echo "configure:13401: checking for statfs" >&5
13401 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13402 echo $ac_n "(cached) $ac_c" 1>&6
13404 cat > conftest.
$ac_ext <<EOF
13405 #line 13406 "configure"
13406 #include "confdefs.h"
13408 #include <sys/vfs.h>
13421 if { (eval echo configure
:13422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13424 wx_cv_func_statfs
=yes
13427 echo "configure: failed program was:" >&5
13428 cat conftest.
$ac_ext >&5
13431 wx_cv_func_statfs
=no
13439 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13441 if test "$wx_cv_func_statfs" = "yes"; then
13442 cat >> confdefs.h
<<\EOF
13443 #define HAVE_STATFS 1
13447 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13451 for ac_func
in fcntl flock
13453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13454 echo "configure:13455: checking for $ac_func" >&5
13455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13458 cat > conftest.
$ac_ext <<EOF
13459 #line 13460 "configure"
13460 #include "confdefs.h"
13461 /* System header to define __stub macros and hopefully few prototypes,
13462 which can conflict with char $ac_func(); below. */
13463 #include <assert.h>
13464 /* Override any gcc2 internal prototype to avoid an error. */
13465 /* We use char because int might match the return type of a gcc2
13466 builtin and then its argument prototype would still apply. */
13471 /* The GNU C library defines this for functions which it implements
13472 to always fail with ENOSYS. Some functions are actually named
13473 something starting with __ and the normal name is an alias. */
13474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13482 if { (eval echo configure
:13483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13484 eval "ac_cv_func_$ac_func=yes"
13486 echo "configure: failed program was:" >&5
13487 cat conftest.
$ac_ext >&5
13489 eval "ac_cv_func_$ac_func=no"
13494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13495 echo "$ac_t""yes" 1>&6
13496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13497 cat >> confdefs.h
<<EOF
13498 #define $ac_tr_func 1
13502 echo "$ac_t""no" 1>&6
13507 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13508 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13509 wxUSE_SNGLINST_CHECKER
=no
13513 for ac_func
in timegm
13515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13516 echo "configure:13517: checking for $ac_func" >&5
13517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13518 echo $ac_n "(cached) $ac_c" 1>&6
13520 cat > conftest.
$ac_ext <<EOF
13521 #line 13522 "configure"
13522 #include "confdefs.h"
13523 /* System header to define __stub macros and hopefully few prototypes,
13524 which can conflict with char $ac_func(); below. */
13525 #include <assert.h>
13526 /* Override any gcc2 internal prototype to avoid an error. */
13527 /* We use char because int might match the return type of a gcc2
13528 builtin and then its argument prototype would still apply. */
13533 /* The GNU C library defines this for functions which it implements
13534 to always fail with ENOSYS. Some functions are actually named
13535 something starting with __ and the normal name is an alias. */
13536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13544 if { (eval echo configure
:13545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13546 eval "ac_cv_func_$ac_func=yes"
13548 echo "configure: failed program was:" >&5
13549 cat conftest.
$ac_ext >&5
13551 eval "ac_cv_func_$ac_func=no"
13556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13557 echo "$ac_t""yes" 1>&6
13558 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13559 cat >> confdefs.h
<<EOF
13560 #define $ac_tr_func 1
13564 echo "$ac_t""no" 1>&6
13569 for ac_func
in putenv setenv
13571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13572 echo "configure:13573: checking for $ac_func" >&5
13573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13574 echo $ac_n "(cached) $ac_c" 1>&6
13576 cat > conftest.
$ac_ext <<EOF
13577 #line 13578 "configure"
13578 #include "confdefs.h"
13579 /* System header to define __stub macros and hopefully few prototypes,
13580 which can conflict with char $ac_func(); below. */
13581 #include <assert.h>
13582 /* Override any gcc2 internal prototype to avoid an error. */
13583 /* We use char because int might match the return type of a gcc2
13584 builtin and then its argument prototype would still apply. */
13589 /* The GNU C library defines this for functions which it implements
13590 to always fail with ENOSYS. Some functions are actually named
13591 something starting with __ and the normal name is an alias. */
13592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13600 if { (eval echo configure
:13601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13602 eval "ac_cv_func_$ac_func=yes"
13604 echo "configure: failed program was:" >&5
13605 cat conftest.
$ac_ext >&5
13607 eval "ac_cv_func_$ac_func=no"
13612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13613 echo "$ac_t""yes" 1>&6
13614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13615 cat >> confdefs.h
<<EOF
13616 #define $ac_tr_func 1
13620 echo "$ac_t""no" 1>&6
13625 HAVE_SOME_SLEEP_FUNC
=0
13626 if test "$USE_BEOS" = 1; then
13627 cat >> confdefs.h
<<\EOF
13628 #define HAVE_SLEEP 1
13631 HAVE_SOME_SLEEP_FUNC
=1
13634 if test "$USE_DARWIN" = 1; then
13635 cat >> confdefs.h
<<\EOF
13636 #define HAVE_USLEEP 1
13639 HAVE_SOME_SLEEP_FUNC
=1
13642 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13644 for ac_func
in nanosleep
13646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13647 echo "configure:13648: checking for $ac_func" >&5
13648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13649 echo $ac_n "(cached) $ac_c" 1>&6
13651 cat > conftest.
$ac_ext <<EOF
13652 #line 13653 "configure"
13653 #include "confdefs.h"
13654 /* System header to define __stub macros and hopefully few prototypes,
13655 which can conflict with char $ac_func(); below. */
13656 #include <assert.h>
13657 /* Override any gcc2 internal prototype to avoid an error. */
13658 /* We use char because int might match the return type of a gcc2
13659 builtin and then its argument prototype would still apply. */
13664 /* The GNU C library defines this for functions which it implements
13665 to always fail with ENOSYS. Some functions are actually named
13666 something starting with __ and the normal name is an alias. */
13667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13675 if { (eval echo configure
:13676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13677 eval "ac_cv_func_$ac_func=yes"
13679 echo "configure: failed program was:" >&5
13680 cat conftest.
$ac_ext >&5
13682 eval "ac_cv_func_$ac_func=no"
13687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13688 echo "$ac_t""yes" 1>&6
13689 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13690 cat >> confdefs.h
<<EOF
13691 #define $ac_tr_func 1
13693 cat >> confdefs.h
<<\EOF
13694 #define HAVE_NANOSLEEP 1
13698 echo "$ac_t""no" 1>&6
13699 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13700 echo "configure:13701: checking for nanosleep in -lposix4" >&5
13701 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13703 echo $ac_n "(cached) $ac_c" 1>&6
13705 ac_save_LIBS
="$LIBS"
13706 LIBS
="-lposix4 $LIBS"
13707 cat > conftest.
$ac_ext <<EOF
13708 #line 13709 "configure"
13709 #include "confdefs.h"
13710 /* Override any gcc2 internal prototype to avoid an error. */
13711 /* We use char because int might match the return type of a gcc2
13712 builtin and then its argument prototype would still apply. */
13719 if { (eval echo configure
:13720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13721 eval "ac_cv_lib_$ac_lib_var=yes"
13723 echo "configure: failed program was:" >&5
13724 cat conftest.
$ac_ext >&5
13726 eval "ac_cv_lib_$ac_lib_var=no"
13729 LIBS
="$ac_save_LIBS"
13732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13733 echo "$ac_t""yes" 1>&6
13735 cat >> confdefs.h
<<\EOF
13736 #define HAVE_NANOSLEEP 1
13739 POSIX4_LINK
="-lposix4"
13742 echo "$ac_t""no" 1>&6
13744 for ac_func
in usleep
13746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13747 echo "configure:13748: checking for $ac_func" >&5
13748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13749 echo $ac_n "(cached) $ac_c" 1>&6
13751 cat > conftest.
$ac_ext <<EOF
13752 #line 13753 "configure"
13753 #include "confdefs.h"
13754 /* System header to define __stub macros and hopefully few prototypes,
13755 which can conflict with char $ac_func(); below. */
13756 #include <assert.h>
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13764 /* The GNU C library defines this for functions which it implements
13765 to always fail with ENOSYS. Some functions are actually named
13766 something starting with __ and the normal name is an alias. */
13767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13775 if { (eval echo configure
:13776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13777 eval "ac_cv_func_$ac_func=yes"
13779 echo "configure: failed program was:" >&5
13780 cat conftest.
$ac_ext >&5
13782 eval "ac_cv_func_$ac_func=no"
13787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13788 echo "$ac_t""yes" 1>&6
13789 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13790 cat >> confdefs.h
<<EOF
13791 #define $ac_tr_func 1
13793 cat >> confdefs.h
<<\EOF
13794 #define HAVE_USLEEP 1
13798 echo "$ac_t""no" 1>&6
13799 echo "configure: warning: wxSleep() function will not work" 1>&2
13815 for ac_func
in uname gethostname
13817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13818 echo "configure:13819: checking for $ac_func" >&5
13819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13820 echo $ac_n "(cached) $ac_c" 1>&6
13822 cat > conftest.
$ac_ext <<EOF
13823 #line 13824 "configure"
13824 #include "confdefs.h"
13825 /* System header to define __stub macros and hopefully few prototypes,
13826 which can conflict with char $ac_func(); below. */
13827 #include <assert.h>
13828 /* Override any gcc2 internal prototype to avoid an error. */
13829 /* We use char because int might match the return type of a gcc2
13830 builtin and then its argument prototype would still apply. */
13835 /* The GNU C library defines this for functions which it implements
13836 to always fail with ENOSYS. Some functions are actually named
13837 something starting with __ and the normal name is an alias. */
13838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13846 if { (eval echo configure
:13847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13848 eval "ac_cv_func_$ac_func=yes"
13850 echo "configure: failed program was:" >&5
13851 cat conftest.
$ac_ext >&5
13853 eval "ac_cv_func_$ac_func=no"
13858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13859 echo "$ac_t""yes" 1>&6
13860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13861 cat >> confdefs.h
<<EOF
13862 #define $ac_tr_func 1
13866 echo "$ac_t""no" 1>&6
13873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13874 ac_cpp
='$CXXCPP $CPPFLAGS'
13875 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13876 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13877 cross_compiling
=$ac_cv_prog_cxx_cross
13880 for ac_func
in strtok_r
13882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13883 echo "configure:13884: checking for $ac_func" >&5
13884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13885 echo $ac_n "(cached) $ac_c" 1>&6
13887 cat > conftest.
$ac_ext <<EOF
13888 #line 13889 "configure"
13889 #include "confdefs.h"
13890 /* System header to define __stub macros and hopefully few prototypes,
13891 which can conflict with char $ac_func(); below. */
13892 #include <assert.h>
13893 /* Override any gcc2 internal prototype to avoid an error. */
13897 /* We use char because int might match the return type of a gcc2
13898 builtin and then its argument prototype would still apply. */
13903 /* The GNU C library defines this for functions which it implements
13904 to always fail with ENOSYS. Some functions are actually named
13905 something starting with __ and the normal name is an alias. */
13906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13914 if { (eval echo configure
:13915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13916 eval "ac_cv_func_$ac_func=yes"
13918 echo "configure: failed program was:" >&5
13919 cat conftest.
$ac_ext >&5
13921 eval "ac_cv_func_$ac_func=no"
13926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13927 echo "$ac_t""yes" 1>&6
13928 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13929 cat >> confdefs.h
<<EOF
13930 #define $ac_tr_func 1
13934 echo "$ac_t""no" 1>&6
13940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13941 ac_cpp
='$CPP $CPPFLAGS'
13942 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13943 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13944 cross_compiling
=$ac_cv_prog_cc_cross
13948 for ac_func
in inet_addr
13950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13951 echo "configure:13952: checking for $ac_func" >&5
13952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13953 echo $ac_n "(cached) $ac_c" 1>&6
13955 cat > conftest.
$ac_ext <<EOF
13956 #line 13957 "configure"
13957 #include "confdefs.h"
13958 /* System header to define __stub macros and hopefully few prototypes,
13959 which can conflict with char $ac_func(); below. */
13960 #include <assert.h>
13961 /* Override any gcc2 internal prototype to avoid an error. */
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13968 /* The GNU C library defines this for functions which it implements
13969 to always fail with ENOSYS. Some functions are actually named
13970 something starting with __ and the normal name is an alias. */
13971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13979 if { (eval echo configure
:13980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13981 eval "ac_cv_func_$ac_func=yes"
13983 echo "configure: failed program was:" >&5
13984 cat conftest.
$ac_ext >&5
13986 eval "ac_cv_func_$ac_func=no"
13991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13992 echo "$ac_t""yes" 1>&6
13993 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13994 cat >> confdefs.h
<<EOF
13995 #define $ac_tr_func 1
13997 cat >> confdefs.h
<<\EOF
13998 #define HAVE_INET_ADDR 1
14002 echo "$ac_t""no" 1>&6
14003 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14004 echo "configure:14005: checking for inet_addr in -lnsl" >&5
14005 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 ac_save_LIBS
="$LIBS"
14011 cat > conftest.
$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14014 /* Override any gcc2 internal prototype to avoid an error. */
14015 /* We use char because int might match the return type of a gcc2
14016 builtin and then its argument prototype would still apply. */
14023 if { (eval echo configure
:14024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14025 eval "ac_cv_lib_$ac_lib_var=yes"
14027 echo "configure: failed program was:" >&5
14028 cat conftest.
$ac_ext >&5
14030 eval "ac_cv_lib_$ac_lib_var=no"
14033 LIBS
="$ac_save_LIBS"
14036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14037 echo "$ac_t""yes" 1>&6
14040 echo "$ac_t""no" 1>&6
14041 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14042 echo "configure:14043: checking for inet_addr in -lresolv" >&5
14043 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14045 echo $ac_n "(cached) $ac_c" 1>&6
14047 ac_save_LIBS
="$LIBS"
14048 LIBS
="-lresolv $LIBS"
14049 cat > conftest.
$ac_ext <<EOF
14050 #line 14051 "configure"
14051 #include "confdefs.h"
14052 /* Override any gcc2 internal prototype to avoid an error. */
14053 /* We use char because int might match the return type of a gcc2
14054 builtin and then its argument prototype would still apply. */
14061 if { (eval echo configure
:14062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14063 eval "ac_cv_lib_$ac_lib_var=yes"
14065 echo "configure: failed program was:" >&5
14066 cat conftest.
$ac_ext >&5
14068 eval "ac_cv_lib_$ac_lib_var=no"
14071 LIBS
="$ac_save_LIBS"
14074 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14075 echo "$ac_t""yes" 1>&6
14079 echo "$ac_t""no" 1>&6
14091 for ac_func
in inet_aton
14093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14094 echo "configure:14095: checking for $ac_func" >&5
14095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14096 echo $ac_n "(cached) $ac_c" 1>&6
14098 cat > conftest.
$ac_ext <<EOF
14099 #line 14100 "configure"
14100 #include "confdefs.h"
14101 /* System header to define __stub macros and hopefully few prototypes,
14102 which can conflict with char $ac_func(); below. */
14103 #include <assert.h>
14104 /* Override any gcc2 internal prototype to avoid an error. */
14105 /* We use char because int might match the return type of a gcc2
14106 builtin and then its argument prototype would still apply. */
14111 /* The GNU C library defines this for functions which it implements
14112 to always fail with ENOSYS. Some functions are actually named
14113 something starting with __ and the normal name is an alias. */
14114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14122 if { (eval echo configure
:14123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14124 eval "ac_cv_func_$ac_func=yes"
14126 echo "configure: failed program was:" >&5
14127 cat conftest.
$ac_ext >&5
14129 eval "ac_cv_func_$ac_func=no"
14134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14135 echo "$ac_t""yes" 1>&6
14136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14137 cat >> confdefs.h
<<EOF
14138 #define $ac_tr_func 1
14140 cat >> confdefs.h
<<\EOF
14141 #define HAVE_INET_ATON 1
14145 echo "$ac_t""no" 1>&6
14146 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14147 echo "configure:14148: checking for inet_aton in -l$INET_LINK" >&5
14148 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14150 echo $ac_n "(cached) $ac_c" 1>&6
14152 ac_save_LIBS
="$LIBS"
14153 LIBS
="-l$INET_LINK $LIBS"
14154 cat > conftest.
$ac_ext <<EOF
14155 #line 14156 "configure"
14156 #include "confdefs.h"
14157 /* Override any gcc2 internal prototype to avoid an error. */
14158 /* We use char because int might match the return type of a gcc2
14159 builtin and then its argument prototype would still apply. */
14166 if { (eval echo configure
:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14168 eval "ac_cv_lib_$ac_lib_var=yes"
14170 echo "configure: failed program was:" >&5
14171 cat conftest.
$ac_ext >&5
14173 eval "ac_cv_lib_$ac_lib_var=no"
14176 LIBS
="$ac_save_LIBS"
14179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14180 echo "$ac_t""yes" 1>&6
14181 cat >> confdefs.h
<<\EOF
14182 #define HAVE_INET_ATON 1
14186 echo "$ac_t""no" 1>&6
14194 if test "x$INET_LINK" != "x"; then
14195 cat >> confdefs.h
<<\EOF
14196 #define HAVE_INET_ADDR 1
14199 INET_LINK
="-l$INET_LINK"
14205 cat > confcache
<<\EOF
14206 # This file is a shell script that caches the results of configure
14207 # tests run on this system so they can be shared between configure
14208 # scripts and configure runs. It is not useful on other systems.
14209 # If it contains results you don't want to keep, you may remove or edit it.
14211 # By default, configure uses ./config.cache as the cache file,
14212 # creating it if it does not exist already. You can give configure
14213 # the --cache-file=FILE option to use a different cache file; that is
14214 # what configure does when it calls configure scripts in
14215 # subdirectories, so they share the cache.
14216 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14217 # config.status only pays attention to the cache file if you give it the
14218 # --recheck option to rerun configure.
14221 # The following way of writing the cache mishandles newlines in values,
14222 # but we know of no workaround that is simple, portable, and efficient.
14223 # So, don't put newlines in cache variables' values.
14224 # Ultrix sh set writes to stderr and can't be redirected directly,
14225 # and sets the high bit in the cache file unless we assign to the vars.
14227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14229 # `set' does not quote correctly, so add quotes (double-quote substitution
14230 # turns \\\\ into \\, and sed turns \\ into \).
14232 -e "s/'/'\\\\''/g" \
14233 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14236 # `set' quotes correctly as required by POSIX, so do not add quotes.
14237 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14240 if cmp -s $cache_file confcache
; then
14243 if test -w $cache_file; then
14244 echo "updating cache $cache_file"
14245 cat confcache
> $cache_file
14247 echo "not updating unwritable cache $cache_file"
14254 if test "$TOOLKIT" != "MSW"; then
14260 if test "$wxUSE_THREADS" = "yes" ; then
14261 if test "$wxUSE_WINE" = 1 ; then
14262 echo "configure: warning: Threads are not supported under WINE" 1>&2
14264 elif test "$USE_BEOS" = 1; then
14265 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14270 if test "$wxUSE_THREADS" = "yes" ; then
14272 if test "$USE_AIX" = 1; then
14273 THREADS_LIB
=pthreads
14275 THREADS_LIB
=pthread
14278 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14279 echo "configure:14280: checking for pthread_create in -l$THREADS_LIB" >&5
14280 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14282 echo $ac_n "(cached) $ac_c" 1>&6
14284 ac_save_LIBS
="$LIBS"
14285 LIBS
="-l$THREADS_LIB $LIBS"
14286 cat > conftest.
$ac_ext <<EOF
14287 #line 14288 "configure"
14288 #include "confdefs.h"
14289 /* Override any gcc2 internal prototype to avoid an error. */
14290 /* We use char because int might match the return type of a gcc2
14291 builtin and then its argument prototype would still apply. */
14292 char pthread_create();
14298 if { (eval echo configure
:14299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14300 eval "ac_cv_lib_$ac_lib_var=yes"
14302 echo "configure: failed program was:" >&5
14303 cat conftest.
$ac_ext >&5
14305 eval "ac_cv_lib_$ac_lib_var=no"
14308 LIBS
="$ac_save_LIBS"
14311 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14312 echo "$ac_t""yes" 1>&6
14314 THREADS_OBJ
="threadpsx.lo"
14315 THREADS_LINK
=$THREADS_LIB
14318 echo "$ac_t""no" 1>&6
14320 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14321 echo "configure:14322: checking for pthread_create in -lc_r" >&5
14322 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14324 echo $ac_n "(cached) $ac_c" 1>&6
14326 ac_save_LIBS
="$LIBS"
14328 cat > conftest.
$ac_ext <<EOF
14329 #line 14330 "configure"
14330 #include "confdefs.h"
14331 /* Override any gcc2 internal prototype to avoid an error. */
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14334 char pthread_create();
14340 if { (eval echo configure
:14341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14342 eval "ac_cv_lib_$ac_lib_var=yes"
14344 echo "configure: failed program was:" >&5
14345 cat conftest.
$ac_ext >&5
14347 eval "ac_cv_lib_$ac_lib_var=no"
14350 LIBS
="$ac_save_LIBS"
14353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14354 echo "$ac_t""yes" 1>&6
14356 THREADS_OBJ
="threadpsx.lo"
14360 echo "$ac_t""no" 1>&6
14362 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14363 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14364 echo "configure:14365: checking for sys/prctl.h" >&5
14365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14366 echo $ac_n "(cached) $ac_c" 1>&6
14368 cat > conftest.
$ac_ext <<EOF
14369 #line 14370 "configure"
14370 #include "confdefs.h"
14371 #include <sys/prctl.h>
14373 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14374 { (eval echo configure
:14375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14375 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14376 if test -z "$ac_err"; then
14378 eval "ac_cv_header_$ac_safe=yes"
14381 echo "configure: failed program was:" >&5
14382 cat conftest.
$ac_ext >&5
14384 eval "ac_cv_header_$ac_safe=no"
14388 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14389 echo "$ac_t""yes" 1>&6
14391 THREADS_OBJ
="threadsgi.lo"
14394 echo "$ac_t""no" 1>&6
14404 if test -z "$THREADS_OBJ" ; then
14406 echo "configure: warning: No thread support on this system" 1>&2
14410 if test "$wxUSE_THREADS" = "yes" ; then
14411 for ac_func
in thr_setconcurrency
14413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14414 echo "configure:14415: checking for $ac_func" >&5
14415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14416 echo $ac_n "(cached) $ac_c" 1>&6
14418 cat > conftest.
$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14421 /* System header to define __stub macros and hopefully few prototypes,
14422 which can conflict with char $ac_func(); below. */
14423 #include <assert.h>
14424 /* Override any gcc2 internal prototype to avoid an error. */
14425 /* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14431 /* The GNU C library defines this for functions which it implements
14432 to always fail with ENOSYS. Some functions are actually named
14433 something starting with __ and the normal name is an alias. */
14434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14442 if { (eval echo configure
:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14444 eval "ac_cv_func_$ac_func=yes"
14446 echo "configure: failed program was:" >&5
14447 cat conftest.
$ac_ext >&5
14449 eval "ac_cv_func_$ac_func=no"
14454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14455 echo "$ac_t""yes" 1>&6
14456 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14457 cat >> confdefs.h
<<EOF
14458 #define $ac_tr_func 1
14462 echo "$ac_t""no" 1>&6
14468 for ac_hdr
in sched.h
14470 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14472 echo "configure:14473: checking for $ac_hdr" >&5
14473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14474 echo $ac_n "(cached) $ac_c" 1>&6
14476 cat > conftest.
$ac_ext <<EOF
14477 #line 14478 "configure"
14478 #include "confdefs.h"
14481 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14482 { (eval echo configure
:14483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14483 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14484 if test -z "$ac_err"; then
14486 eval "ac_cv_header_$ac_safe=yes"
14489 echo "configure: failed program was:" >&5
14490 cat conftest.
$ac_ext >&5
14492 eval "ac_cv_header_$ac_safe=no"
14496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14499 cat >> confdefs.h
<<EOF
14500 #define $ac_tr_hdr 1
14504 echo "$ac_t""no" 1>&6
14509 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14510 echo "configure:14511: checking for sched_yield in -l$THREADS_LINK" >&5
14511 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14513 echo $ac_n "(cached) $ac_c" 1>&6
14515 ac_save_LIBS
="$LIBS"
14516 LIBS
="-l$THREADS_LINK $LIBS"
14517 cat > conftest.
$ac_ext <<EOF
14518 #line 14519 "configure"
14519 #include "confdefs.h"
14520 /* Override any gcc2 internal prototype to avoid an error. */
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14523 char sched_yield();
14529 if { (eval echo configure
:14530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14531 eval "ac_cv_lib_$ac_lib_var=yes"
14533 echo "configure: failed program was:" >&5
14534 cat conftest.
$ac_ext >&5
14536 eval "ac_cv_lib_$ac_lib_var=no"
14539 LIBS
="$ac_save_LIBS"
14542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14543 echo "$ac_t""yes" 1>&6
14544 cat >> confdefs.h
<<\EOF
14545 #define HAVE_SCHED_YIELD 1
14549 echo "$ac_t""no" 1>&6
14550 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14551 echo "configure:14552: checking for sched_yield in -lposix4" >&5
14552 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14553 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14554 echo $ac_n "(cached) $ac_c" 1>&6
14556 ac_save_LIBS
="$LIBS"
14557 LIBS
="-lposix4 $LIBS"
14558 cat > conftest.
$ac_ext <<EOF
14559 #line 14560 "configure"
14560 #include "confdefs.h"
14561 /* Override any gcc2 internal prototype to avoid an error. */
14562 /* We use char because int might match the return type of a gcc2
14563 builtin and then its argument prototype would still apply. */
14564 char sched_yield();
14570 if { (eval echo configure
:14571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14572 eval "ac_cv_lib_$ac_lib_var=yes"
14574 echo "configure: failed program was:" >&5
14575 cat conftest.
$ac_ext >&5
14577 eval "ac_cv_lib_$ac_lib_var=no"
14580 LIBS
="$ac_save_LIBS"
14583 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14584 echo "$ac_t""yes" 1>&6
14585 cat >> confdefs.h
<<\EOF
14586 #define HAVE_SCHED_YIELD 1
14588 POSIX4_LINK
="-lposix4"
14590 echo "$ac_t""no" 1>&6
14591 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14600 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14601 echo "configure:14602: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14602 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14604 echo $ac_n "(cached) $ac_c" 1>&6
14606 ac_save_LIBS
="$LIBS"
14607 LIBS
="-l$THREADS_LINK $LIBS"
14608 cat > conftest.
$ac_ext <<EOF
14609 #line 14610 "configure"
14610 #include "confdefs.h"
14611 /* Override any gcc2 internal prototype to avoid an error. */
14612 /* We use char because int might match the return type of a gcc2
14613 builtin and then its argument prototype would still apply. */
14614 char pthread_attr_getschedpolicy();
14617 pthread_attr_getschedpolicy()
14620 if { (eval echo configure
:14621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14622 eval "ac_cv_lib_$ac_lib_var=yes"
14624 echo "configure: failed program was:" >&5
14625 cat conftest.
$ac_ext >&5
14627 eval "ac_cv_lib_$ac_lib_var=no"
14630 LIBS
="$ac_save_LIBS"
14633 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14634 echo "$ac_t""yes" 1>&6
14635 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14636 echo "configure:14637: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14637 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14639 echo $ac_n "(cached) $ac_c" 1>&6
14641 ac_save_LIBS
="$LIBS"
14642 LIBS
="-l$THREADS_LINK $LIBS"
14643 cat > conftest.
$ac_ext <<EOF
14644 #line 14645 "configure"
14645 #include "confdefs.h"
14646 /* Override any gcc2 internal prototype to avoid an error. */
14647 /* We use char because int might match the return type of a gcc2
14648 builtin and then its argument prototype would still apply. */
14649 char pthread_attr_setschedparam();
14652 pthread_attr_setschedparam()
14655 if { (eval echo configure
:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14657 eval "ac_cv_lib_$ac_lib_var=yes"
14659 echo "configure: failed program was:" >&5
14660 cat conftest.
$ac_ext >&5
14662 eval "ac_cv_lib_$ac_lib_var=no"
14665 LIBS
="$ac_save_LIBS"
14668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14669 echo "$ac_t""yes" 1>&6
14670 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14671 echo "configure:14672: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14672 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14674 echo $ac_n "(cached) $ac_c" 1>&6
14676 ac_save_LIBS
="$LIBS"
14677 LIBS
="-l$THREADS_LINK $LIBS"
14678 cat > conftest.
$ac_ext <<EOF
14679 #line 14680 "configure"
14680 #include "confdefs.h"
14681 /* Override any gcc2 internal prototype to avoid an error. */
14682 /* We use char because int might match the return type of a gcc2
14683 builtin and then its argument prototype would still apply. */
14684 char sched_get_priority_max();
14687 sched_get_priority_max()
14690 if { (eval echo configure
:14691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14692 eval "ac_cv_lib_$ac_lib_var=yes"
14694 echo "configure: failed program was:" >&5
14695 cat conftest.
$ac_ext >&5
14697 eval "ac_cv_lib_$ac_lib_var=no"
14700 LIBS
="$ac_save_LIBS"
14703 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14704 echo "$ac_t""yes" 1>&6
14707 echo "$ac_t""no" 1>&6
14708 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14709 echo "configure:14710: checking for sched_get_priority_max in -lposix4" >&5
14710 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14712 echo $ac_n "(cached) $ac_c" 1>&6
14714 ac_save_LIBS
="$LIBS"
14715 LIBS
="-lposix4 $LIBS"
14716 cat > conftest.
$ac_ext <<EOF
14717 #line 14718 "configure"
14718 #include "confdefs.h"
14719 /* Override any gcc2 internal prototype to avoid an error. */
14720 /* We use char because int might match the return type of a gcc2
14721 builtin and then its argument prototype would still apply. */
14722 char sched_get_priority_max();
14725 sched_get_priority_max()
14728 if { (eval echo configure
:14729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14730 eval "ac_cv_lib_$ac_lib_var=yes"
14732 echo "configure: failed program was:" >&5
14733 cat conftest.
$ac_ext >&5
14735 eval "ac_cv_lib_$ac_lib_var=no"
14738 LIBS
="$ac_save_LIBS"
14741 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14742 echo "$ac_t""yes" 1>&6
14745 POSIX4_LINK
="-lposix4"
14748 echo "$ac_t""no" 1>&6
14756 echo "$ac_t""no" 1>&6
14761 echo "$ac_t""no" 1>&6
14765 if test "$HAVE_PRIOR_FUNCS" = 1; then
14766 cat >> confdefs.h
<<\EOF
14767 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14771 echo "configure: warning: Setting thread priority will not work" 1>&2
14774 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14775 echo "configure:14776: checking for pthread_cancel in -l$THREADS_LINK" >&5
14776 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14777 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14778 echo $ac_n "(cached) $ac_c" 1>&6
14780 ac_save_LIBS
="$LIBS"
14781 LIBS
="-l$THREADS_LINK $LIBS"
14782 cat > conftest.
$ac_ext <<EOF
14783 #line 14784 "configure"
14784 #include "confdefs.h"
14785 /* Override any gcc2 internal prototype to avoid an error. */
14786 /* We use char because int might match the return type of a gcc2
14787 builtin and then its argument prototype would still apply. */
14788 char pthread_cancel();
14794 if { (eval echo configure
:14795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14796 eval "ac_cv_lib_$ac_lib_var=yes"
14798 echo "configure: failed program was:" >&5
14799 cat conftest.
$ac_ext >&5
14801 eval "ac_cv_lib_$ac_lib_var=no"
14804 LIBS
="$ac_save_LIBS"
14807 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14808 echo "$ac_t""yes" 1>&6
14809 cat >> confdefs.h
<<\EOF
14810 #define HAVE_PTHREAD_CANCEL 1
14814 echo "$ac_t""no" 1>&6
14815 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14819 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14820 echo "configure:14821: checking for pthread_cleanup_push/pop" >&5
14821 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14822 echo $ac_n "(cached) $ac_c" 1>&6
14825 cat > conftest.
$ac_ext <<EOF
14826 #line 14827 "configure"
14827 #include "confdefs.h"
14828 #include <pthread.h>
14831 pthread_cleanup_push(NULL, NULL);
14832 pthread_cleanup_pop(0);
14836 if { (eval echo configure
:14837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14839 wx_cv_func_pthread_cleanup_push
=yes
14842 echo "configure: failed program was:" >&5
14843 cat conftest.
$ac_ext >&5
14846 wx_cv_func_pthread_cleanup_push
=no
14853 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14855 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14856 cat >> confdefs.h
<<\EOF
14857 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14863 if test "x$wx_lib_glibc21" = "xyes"; then
14864 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
14867 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14868 echo "configure:14869: checking for pthread_mutexattr_t" >&5
14869 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14870 echo $ac_n "(cached) $ac_c" 1>&6
14873 cat > conftest.
$ac_ext <<EOF
14874 #line 14875 "configure"
14875 #include "confdefs.h"
14876 #include <pthread.h>
14879 pthread_mutexattr_t attr;
14880 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14884 if { (eval echo configure
:14885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14887 wx_cv_type_pthread_mutexattr_t
=yes
14890 echo "configure: failed program was:" >&5
14891 cat conftest.
$ac_ext >&5
14894 wx_cv_type_pthread_mutexattr_t
=no
14902 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14904 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14905 cat >> confdefs.h
<<\EOF
14906 #define HAVE_PTHREAD_MUTEXATTR_T 1
14910 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14911 echo "configure:14912: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14912 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14913 echo $ac_n "(cached) $ac_c" 1>&6
14916 cat > conftest.
$ac_ext <<EOF
14917 #line 14918 "configure"
14918 #include "confdefs.h"
14919 #include <pthread.h>
14922 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14926 if { (eval echo configure
:14927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14929 wx_cv_type_pthread_rec_mutex_init
=yes
14932 echo "configure: failed program was:" >&5
14933 cat conftest.
$ac_ext >&5
14936 wx_cv_type_pthread_rec_mutex_init
=no
14944 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14945 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14946 cat >> confdefs.h
<<\EOF
14947 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14951 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14955 THREADS_LINK
="-l$THREADS_LINK"
14957 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14958 CPPFLAGS
="${CFLAGS} -mt"
14959 CXXFLAGS
="${CXXFLAGS} -mt"
14960 LDFLAGS
="${LDFLAGS} -mt"
14966 if test "$wxUSE_THREADS" = "yes"; then
14967 cat >> confdefs.h
<<\EOF
14968 #define wxUSE_THREADS 1
14972 if test "$USE_DARWIN" != 1; then
14973 CPPFLAGS
="${CPPFLAGS} -D_REENTRANT"
14976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14978 if test "$ac_cv_func_strtok_r" = "yes"; then
14979 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14980 echo "configure:14981: checking if -D_REENTRANT is needed" >&5
14981 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14982 CPPFLAGS
="${CPPFLAGS} -D_REENTRANT"
14983 echo "$ac_t""yes" 1>&6
14985 echo "$ac_t""no" 1>&6
14990 if test "$WXGTK20" = 1 ; then
14991 cat >> confdefs.h
<<EOF
14992 #define __WXGTK20__ $WXGTK20
14998 if test "$WXGTK12" = 1 ; then
14999 cat >> confdefs.h
<<EOF
15000 #define __WXGTK12__ $WXGTK12
15005 if test "$WXGTK127" = 1 ; then
15006 cat >> confdefs.h
<<EOF
15007 #define __WXGTK127__ $WXGTK127
15012 if test "$WXWINE" = 1 ; then
15013 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
15016 if test "$wxUSE_MAC" = 1 ; then
15017 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
15018 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
15019 CXXFLAGS
="${CXXFLAGS} -cpp-precomp"
15020 # Extract the first word of "Rez", so it can be a program name with args.
15021 set dummy Rez
; ac_word
=$2
15022 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15023 echo "configure:15024: checking for $ac_word" >&5
15024 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
15025 echo $ac_n "(cached) $ac_c" 1>&6
15027 if test -n "$REZ"; then
15028 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
15030 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15032 for ac_dir
in $ac_dummy; do
15033 test -z "$ac_dir" && ac_dir
=.
15034 if test -f $ac_dir/$ac_word; then
15035 ac_cv_prog_REZ
="Rez"
15040 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
15043 REZ
="$ac_cv_prog_REZ"
15044 if test -n "$REZ"; then
15045 echo "$ac_t""$REZ" 1>&6
15047 echo "$ac_t""no" 1>&6
15050 # Extract the first word of "Derez", so it can be a program name with args.
15051 set dummy Derez
; ac_word
=$2
15052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15053 echo "configure:15054: checking for $ac_word" >&5
15054 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15055 echo $ac_n "(cached) $ac_c" 1>&6
15057 if test -n "$DEREZ"; then
15058 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15060 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15062 for ac_dir
in $ac_dummy; do
15063 test -z "$ac_dir" && ac_dir
=.
15064 if test -f $ac_dir/$ac_word; then
15065 ac_cv_prog_DEREZ
="Derez"
15070 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
15073 DEREZ
="$ac_cv_prog_DEREZ"
15074 if test -n "$DEREZ"; then
15075 echo "$ac_t""$DEREZ" 1>&6
15077 echo "$ac_t""no" 1>&6
15081 REZFLAGS
="-d __UNIX__ -useDF"
15082 DEREZFLAGS
="Carbon.r -useDF"
15083 RESFLAGS
="Carbon.r -t APPL"
15084 LIBWXMACRES
="\$(LIBWX_MACRES)"
15085 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
15088 if test "$wxUSE_CYGWIN" = 1 ; then
15089 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
15094 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15099 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15100 wxUSE_DEBUG_INFO
=yes
15104 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15105 cat >> confdefs.h
<<\EOF
15109 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15111 if test "$wxUSE_GTK" = 1 ; then
15112 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15116 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15117 cat >> confdefs.h
<<\EOF
15118 #define wxUSE_MEMORY_TRACING 1
15121 cat >> confdefs.h
<<\EOF
15122 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15125 cat >> confdefs.h
<<\EOF
15126 #define wxUSE_DEBUG_NEW_ALWAYS 1
15129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15132 if test "$wxUSE_DMALLOC" = "yes" ; then
15133 DMALLOC_LINK
="-ldmalloc"
15137 if test "$wxUSE_PROFILE" = "yes" ; then
15143 CODE_GEN_FLAGS_CXX
=
15144 if test "$GCC" = yes ; then
15145 if test "$wxUSE_NO_RTTI" = "yes" ; then
15146 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
15148 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15149 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
15151 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15152 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15154 if test "$wxUSE_NO_DEPS" = "no" ; then
15155 DEP_INFO_FLAGS
="-MMD"
15160 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15161 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15162 if test "$wxUSE_OPTIMISE" = "no" ; then
15165 if test "$GCC" = yes ; then
15168 i586
-*-*|i686
-*-* )
15169 OPTIMISE
="${OPTIMISE} "
15177 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15178 cat >> confdefs.h
<<\EOF
15179 #define WXWIN_COMPATIBILITY_2 1
15183 WXWIN_COMPATIBILITY_2_2
="yes"
15186 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15187 cat >> confdefs.h
<<\EOF
15188 #define WXWIN_COMPATIBILITY_2_2 1
15195 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15196 cat >> confdefs.h
<<\EOF
15197 #define wxUSE_ZLIB 1
15200 if test "$wxUSE_ZLIB" = "yes" ; then
15201 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15204 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15205 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15206 echo "configure:15207: checking for zlib.h" >&5
15207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15208 echo $ac_n "(cached) $ac_c" 1>&6
15210 cat > conftest.
$ac_ext <<EOF
15211 #line 15212 "configure"
15212 #include "confdefs.h"
15215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15216 { (eval echo configure
:15217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15218 if test -z "$ac_err"; then
15220 eval "ac_cv_header_$ac_safe=yes"
15223 echo "configure: failed program was:" >&5
15224 cat conftest.
$ac_ext >&5
15226 eval "ac_cv_header_$ac_safe=no"
15230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15231 echo "$ac_t""yes" 1>&6
15232 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15233 echo "configure:15234: checking for deflate in -lz" >&5
15234 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15236 echo $ac_n "(cached) $ac_c" 1>&6
15238 ac_save_LIBS
="$LIBS"
15240 cat > conftest.
$ac_ext <<EOF
15241 #line 15242 "configure"
15242 #include "confdefs.h"
15243 /* Override any gcc2 internal prototype to avoid an error. */
15244 /* We use char because int might match the return type of a gcc2
15245 builtin and then its argument prototype would still apply. */
15252 if { (eval echo configure
:15253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15254 eval "ac_cv_lib_$ac_lib_var=yes"
15256 echo "configure: failed program was:" >&5
15257 cat conftest.
$ac_ext >&5
15259 eval "ac_cv_lib_$ac_lib_var=no"
15262 LIBS
="$ac_save_LIBS"
15265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15269 echo "$ac_t""no" 1>&6
15273 echo "$ac_t""no" 1>&6
15276 if test "x$ZLIB_LINK" = "x" ; then
15277 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15283 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15284 cat >> confdefs.h
<<\EOF
15285 #define wxUSE_LIBPNG 1
15288 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15289 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15293 if test "$wxUSE_LIBPNG" = "yes" ; then
15294 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15297 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15298 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15299 echo "configure:15300: checking for png.h" >&5
15300 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15301 echo $ac_n "(cached) $ac_c" 1>&6
15303 cat > conftest.
$ac_ext <<EOF
15304 #line 15305 "configure"
15305 #include "confdefs.h"
15308 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15309 { (eval echo configure
:15310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15310 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15311 if test -z "$ac_err"; then
15313 eval "ac_cv_header_$ac_safe=yes"
15316 echo "configure: failed program was:" >&5
15317 cat conftest.
$ac_ext >&5
15319 eval "ac_cv_header_$ac_safe=no"
15323 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15324 echo "$ac_t""yes" 1>&6
15325 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15326 echo "configure:15327: checking for png_check_sig in -lpng" >&5
15327 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15329 echo $ac_n "(cached) $ac_c" 1>&6
15331 ac_save_LIBS
="$LIBS"
15332 LIBS
="-lpng -lz -lm $LIBS"
15333 cat > conftest.
$ac_ext <<EOF
15334 #line 15335 "configure"
15335 #include "confdefs.h"
15336 /* Override any gcc2 internal prototype to avoid an error. */
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15339 char png_check_sig();
15345 if { (eval echo configure
:15346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15347 eval "ac_cv_lib_$ac_lib_var=yes"
15349 echo "configure: failed program was:" >&5
15350 cat conftest.
$ac_ext >&5
15352 eval "ac_cv_lib_$ac_lib_var=no"
15355 LIBS
="$ac_save_LIBS"
15358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15359 echo "$ac_t""yes" 1>&6
15362 echo "$ac_t""no" 1>&6
15367 echo "$ac_t""no" 1>&6
15370 if test "x$PNG_LINK" = "x" ; then
15371 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15379 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15380 cat >> confdefs.h
<<\EOF
15381 #define wxUSE_LIBJPEG 1
15384 if test "$wxUSE_LIBJPEG" = "yes" ; then
15385 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15388 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15389 echo "configure:15390: checking for jpeglib.h" >&5
15390 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15391 echo $ac_n "(cached) $ac_c" 1>&6
15393 cat > conftest.
$ac_ext <<EOF
15394 #line 15395 "configure"
15395 #include "confdefs.h"
15397 #undef HAVE_STDLIB_H
15399 #include <jpeglib.h>
15406 if { (eval echo configure
:15407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15408 ac_cv_header_jpeglib_h
=yes
15410 echo "configure: failed program was:" >&5
15411 cat conftest.
$ac_ext >&5
15413 ac_cv_header_jpeglib_h
=no
15420 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15422 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15423 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15424 echo "configure:15425: checking for jpeg_read_header in -ljpeg" >&5
15425 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15427 echo $ac_n "(cached) $ac_c" 1>&6
15429 ac_save_LIBS
="$LIBS"
15430 LIBS
="-ljpeg $LIBS"
15431 cat > conftest.
$ac_ext <<EOF
15432 #line 15433 "configure"
15433 #include "confdefs.h"
15434 /* Override any gcc2 internal prototype to avoid an error. */
15435 /* We use char because int might match the return type of a gcc2
15436 builtin and then its argument prototype would still apply. */
15437 char jpeg_read_header();
15443 if { (eval echo configure
:15444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15445 eval "ac_cv_lib_$ac_lib_var=yes"
15447 echo "configure: failed program was:" >&5
15448 cat conftest.
$ac_ext >&5
15450 eval "ac_cv_lib_$ac_lib_var=no"
15453 LIBS
="$ac_save_LIBS"
15456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15460 echo "$ac_t""no" 1>&6
15465 if test "x$JPEG_LINK" = "x" ; then
15466 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15472 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15473 cat >> confdefs.h
<<\EOF
15474 #define wxUSE_LIBTIFF 1
15477 if test "$wxUSE_LIBTIFF" = "yes" ; then
15478 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15481 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15482 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15483 echo "configure:15484: checking for tiffio.h" >&5
15484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15485 echo $ac_n "(cached) $ac_c" 1>&6
15487 cat > conftest.
$ac_ext <<EOF
15488 #line 15489 "configure"
15489 #include "confdefs.h"
15490 #include <tiffio.h>
15492 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15493 { (eval echo configure
:15494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15494 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15495 if test -z "$ac_err"; then
15497 eval "ac_cv_header_$ac_safe=yes"
15500 echo "configure: failed program was:" >&5
15501 cat conftest.
$ac_ext >&5
15503 eval "ac_cv_header_$ac_safe=no"
15507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15509 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15510 echo "configure:15511: checking for TIFFError in -ltiff" >&5
15511 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15515 ac_save_LIBS
="$LIBS"
15516 LIBS
="-ltiff -lm $LIBS"
15517 cat > conftest.
$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15520 /* Override any gcc2 internal prototype to avoid an error. */
15521 /* We use char because int might match the return type of a gcc2
15522 builtin and then its argument prototype would still apply. */
15529 if { (eval echo configure
:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15531 eval "ac_cv_lib_$ac_lib_var=yes"
15533 echo "configure: failed program was:" >&5
15534 cat conftest.
$ac_ext >&5
15536 eval "ac_cv_lib_$ac_lib_var=no"
15539 LIBS
="$ac_save_LIBS"
15542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15543 echo "$ac_t""yes" 1>&6
15546 echo "$ac_t""no" 1>&6
15550 echo "$ac_t""no" 1>&6
15553 if test "x$TIFF_LINK" = "x" ; then
15554 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15560 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15561 cat >> confdefs.h
<<\EOF
15562 #define wxUSE_FREETYPE 1
15565 if test "$wxUSE_FREETYPE" = "yes" ; then
15566 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15569 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15570 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15571 echo "configure:15572: checking for freetype.h" >&5
15572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15573 echo $ac_n "(cached) $ac_c" 1>&6
15575 cat > conftest.
$ac_ext <<EOF
15576 #line 15577 "configure"
15577 #include "confdefs.h"
15578 #include <freetype.h>
15580 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15581 { (eval echo configure
:15582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15582 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15583 if test -z "$ac_err"; then
15585 eval "ac_cv_header_$ac_safe=yes"
15588 echo "configure: failed program was:" >&5
15589 cat conftest.
$ac_ext >&5
15591 eval "ac_cv_header_$ac_safe=no"
15595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15596 echo "$ac_t""yes" 1>&6
15597 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15598 echo "configure:15599: checking for FT_Render_Glyph in -lfreetype" >&5
15599 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15601 echo $ac_n "(cached) $ac_c" 1>&6
15603 ac_save_LIBS
="$LIBS"
15604 LIBS
="-lfreetype -lm $LIBS"
15605 cat > conftest.
$ac_ext <<EOF
15606 #line 15607 "configure"
15607 #include "confdefs.h"
15608 /* Override any gcc2 internal prototype to avoid an error. */
15609 /* We use char because int might match the return type of a gcc2
15610 builtin and then its argument prototype would still apply. */
15611 char FT_Render_Glyph();
15617 if { (eval echo configure
:15618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15619 eval "ac_cv_lib_$ac_lib_var=yes"
15621 echo "configure: failed program was:" >&5
15622 cat conftest.
$ac_ext >&5
15624 eval "ac_cv_lib_$ac_lib_var=no"
15627 LIBS
="$ac_save_LIBS"
15630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15631 echo "$ac_t""yes" 1>&6
15632 FREETYPE_LINK
="-lfreetype"
15634 echo "$ac_t""no" 1>&6
15639 echo "$ac_t""no" 1>&6
15642 if test "x$FREETYPE_LINK" = "x" ; then
15643 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15648 if test "$wxUSE_OPENGL" = "yes"; then
15649 if test "$wxUSE_MAC" = 1; then
15650 cat >> confdefs.h
<<\EOF
15651 #define wxUSE_OPENGL 1
15654 cat >> confdefs.h
<<\EOF
15655 #define wxUSE_GLCANVAS 1
15658 OPENGL_LINK
="-framework OpenGL -framework AGL"
15659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15661 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15662 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15663 echo "configure:15664: checking for GL/gl.h" >&5
15664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15665 echo $ac_n "(cached) $ac_c" 1>&6
15667 cat > conftest.
$ac_ext <<EOF
15668 #line 15669 "configure"
15669 #include "confdefs.h"
15672 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15673 { (eval echo configure
:15674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15674 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15675 if test -z "$ac_err"; then
15677 eval "ac_cv_header_$ac_safe=yes"
15680 echo "configure: failed program was:" >&5
15681 cat conftest.
$ac_ext >&5
15683 eval "ac_cv_header_$ac_safe=no"
15687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15688 echo "$ac_t""yes" 1>&6
15690 cat >> confdefs.h
<<\EOF
15691 #define wxUSE_OPENGL 1
15694 cat >> confdefs.h
<<\EOF
15695 #define wxUSE_GLCANVAS 1
15698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15699 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15700 echo "configure:15701: checking for glFlush in -lGL" >&5
15701 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15703 echo $ac_n "(cached) $ac_c" 1>&6
15705 ac_save_LIBS
="$LIBS"
15707 cat > conftest.
$ac_ext <<EOF
15708 #line 15709 "configure"
15709 #include "confdefs.h"
15710 /* Override any gcc2 internal prototype to avoid an error. */
15711 /* We use char because int might match the return type of a gcc2
15712 builtin and then its argument prototype would still apply. */
15719 if { (eval echo configure
:15720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15721 eval "ac_cv_lib_$ac_lib_var=yes"
15723 echo "configure: failed program was:" >&5
15724 cat conftest.
$ac_ext >&5
15726 eval "ac_cv_lib_$ac_lib_var=no"
15729 LIBS
="$ac_save_LIBS"
15732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15733 echo "$ac_t""yes" 1>&6
15735 OPENGL_LINK
="-lGL -lGLU"
15738 echo "$ac_t""no" 1>&6
15740 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15741 echo "configure:15742: checking for glFlush in -lMesaGL" >&5
15742 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15743 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15744 echo $ac_n "(cached) $ac_c" 1>&6
15746 ac_save_LIBS
="$LIBS"
15747 LIBS
="-lMesaGL $LIBS"
15748 cat > conftest.
$ac_ext <<EOF
15749 #line 15750 "configure"
15750 #include "confdefs.h"
15751 /* Override any gcc2 internal prototype to avoid an error. */
15752 /* We use char because int might match the return type of a gcc2
15753 builtin and then its argument prototype would still apply. */
15760 if { (eval echo configure
:15761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15762 eval "ac_cv_lib_$ac_lib_var=yes"
15764 echo "configure: failed program was:" >&5
15765 cat conftest.
$ac_ext >&5
15767 eval "ac_cv_lib_$ac_lib_var=no"
15770 LIBS
="$ac_save_LIBS"
15773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15774 echo "$ac_t""yes" 1>&6
15776 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15779 echo "$ac_t""no" 1>&6
15787 echo "$ac_t""no" 1>&6
15795 if test "$wxUSE_GUI" = "yes"; then
15796 cat >> confdefs.h
<<\EOF
15797 #define wxUSE_GUI 1
15802 cat >> confdefs.h
<<\EOF
15803 #define wxUSE_NOGUI 1
15809 if test "$wxUSE_UNIX" = "yes"; then
15810 cat >> confdefs.h
<<\EOF
15811 #define wxUSE_UNIX 1
15817 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15818 cat >> confdefs.h
<<\EOF
15819 #define wxUSE_APPLE_IEEE 1
15824 if test "$wxUSE_TIMER" = "yes"; then
15825 cat >> confdefs.h
<<\EOF
15826 #define wxUSE_TIMER 1
15831 if test "$wxUSE_WAVE" = "yes"; then
15832 cat >> confdefs.h
<<\EOF
15833 #define wxUSE_WAVE 1
15838 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15839 cat >> confdefs.h
<<\EOF
15840 #define wxUSE_CMDLINE_PARSER 1
15845 if test "$wxUSE_STOPWATCH" = "yes"; then
15846 cat >> confdefs.h
<<\EOF
15847 #define wxUSE_STOPWATCH 1
15852 if test "$wxUSE_DATETIME" = "yes"; then
15853 cat >> confdefs.h
<<\EOF
15854 #define wxUSE_DATETIME 1
15859 if test "$wxUSE_TIMEDATE" = "yes"; then
15860 cat >> confdefs.h
<<\EOF
15861 #define wxUSE_TIMEDATE 1
15866 if test "$wxUSE_FILE" = "yes"; then
15867 cat >> confdefs.h
<<\EOF
15868 #define wxUSE_FILE 1
15873 if test "$wxUSE_FFILE" = "yes"; then
15874 cat >> confdefs.h
<<\EOF
15875 #define wxUSE_FFILE 1
15880 if test "$wxUSE_FILESYSTEM" = "yes"; then
15881 cat >> confdefs.h
<<\EOF
15882 #define wxUSE_FILESYSTEM 1
15887 if test "$wxUSE_FS_INET" = "yes"; then
15888 cat >> confdefs.h
<<\EOF
15889 #define wxUSE_FS_INET 1
15894 if test "$wxUSE_FS_ZIP" = "yes"; then
15895 cat >> confdefs.h
<<\EOF
15896 #define wxUSE_FS_ZIP 1
15901 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15902 cat >> confdefs.h
<<\EOF
15903 #define wxUSE_ZIPSTREAM 1
15908 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15909 cat >> confdefs.h
<<\EOF
15910 #define wxUSE_ON_FATAL_EXCEPTION 1
15915 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15916 cat >> confdefs.h
<<\EOF
15917 #define wxUSE_SNGLINST_CHECKER 1
15922 if test "$wxUSE_BUSYINFO" = "yes"; then
15923 cat >> confdefs.h
<<\EOF
15924 #define wxUSE_BUSYINFO 1
15929 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15930 cat >> confdefs.h
<<\EOF
15931 #define wxUSE_STD_IOSTREAM 1
15936 if test "$wxUSE_TEXTFILE" = "yes"; then
15937 if test "$wxUSE_FILE" != "yes"; then
15938 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15940 cat >> confdefs.h
<<\EOF
15941 #define wxUSE_TEXTFILE 1
15947 if test "$wxUSE_CONFIG" = "yes" ; then
15948 if test "$wxUSE_TEXTFILE" != "yes"; then
15949 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15951 cat >> confdefs.h
<<\EOF
15952 #define wxUSE_CONFIG 1
15955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15959 if test "$wxUSE_INTL" = "yes" ; then
15960 if test "$wxUSE_FILE" != "yes"; then
15961 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15963 cat >> confdefs.h
<<\EOF
15964 #define wxUSE_INTL 1
15967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15968 GUIDIST
="$GUIDIST INTL_DIST"
15972 if test "$wxUSE_LOG" = "yes"; then
15973 cat >> confdefs.h
<<\EOF
15974 #define wxUSE_LOG 1
15978 if test "$wxUSE_LOGGUI" = "yes"; then
15979 cat >> confdefs.h
<<\EOF
15980 #define wxUSE_LOGGUI 1
15985 if test "$wxUSE_LOGWINDOW" = "yes"; then
15986 cat >> confdefs.h
<<\EOF
15987 #define wxUSE_LOGWINDOW 1
15993 if test "$wxUSE_LONGLONG" = "yes"; then
15994 cat >> confdefs.h
<<\EOF
15995 #define wxUSE_LONGLONG 1
16000 if test "$wxUSE_GEOMETRY" = "yes"; then
16001 cat >> confdefs.h
<<\EOF
16002 #define wxUSE_GEOMETRY 1
16007 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16008 cat >> confdefs.h
<<\EOF
16009 #define wxUSE_DIALUP_MANAGER 1
16012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16015 if test "$wxUSE_STREAMS" = "yes" ; then
16016 cat >> confdefs.h
<<\EOF
16017 #define wxUSE_STREAMS 1
16023 if test "$wxUSE_DATETIME" = "yes"; then
16024 for ac_func
in strptime
16026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16027 echo "configure:16028: checking for $ac_func" >&5
16028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16029 echo $ac_n "(cached) $ac_c" 1>&6
16031 cat > conftest.
$ac_ext <<EOF
16032 #line 16033 "configure"
16033 #include "confdefs.h"
16034 /* System header to define __stub macros and hopefully few prototypes,
16035 which can conflict with char $ac_func(); below. */
16036 #include <assert.h>
16037 /* Override any gcc2 internal prototype to avoid an error. */
16038 /* We use char because int might match the return type of a gcc2
16039 builtin and then its argument prototype would still apply. */
16044 /* The GNU C library defines this for functions which it implements
16045 to always fail with ENOSYS. Some functions are actually named
16046 something starting with __ and the normal name is an alias. */
16047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16055 if { (eval echo configure
:16056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16057 eval "ac_cv_func_$ac_func=yes"
16059 echo "configure: failed program was:" >&5
16060 cat conftest.
$ac_ext >&5
16062 eval "ac_cv_func_$ac_func=no"
16067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16068 echo "$ac_t""yes" 1>&6
16069 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16070 cat >> confdefs.h
<<EOF
16071 #define $ac_tr_func 1
16075 echo "$ac_t""no" 1>&6
16080 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16081 echo "configure:16082: checking for timezone variable in <time.h>" >&5
16082 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16083 echo $ac_n "(cached) $ac_c" 1>&6
16086 cat > conftest.
$ac_ext <<EOF
16087 #line 16088 "configure"
16088 #include "confdefs.h"
16099 if { (eval echo configure
:16100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16102 wx_cv_var_timezone
=timezone
16105 echo "configure: failed program was:" >&5
16106 cat conftest.
$ac_ext >&5
16109 cat > conftest.
$ac_ext <<EOF
16110 #line 16111 "configure"
16111 #include "confdefs.h"
16122 if { (eval echo configure
:16123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16125 wx_cv_var_timezone
=_timezone
16128 echo "configure: failed program was:" >&5
16129 cat conftest.
$ac_ext >&5
16132 cat > conftest.
$ac_ext <<EOF
16133 #line 16134 "configure"
16134 #include "confdefs.h"
16145 if { (eval echo configure
:16146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16148 wx_cv_var_timezone
=__timezone
16151 echo "configure: failed program was:" >&5
16152 cat conftest.
$ac_ext >&5
16154 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16170 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16172 cat >> confdefs.h
<<EOF
16173 #define WX_TIMEZONE $wx_cv_var_timezone
16177 for ac_func
in localtime
16179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16180 echo "configure:16181: checking for $ac_func" >&5
16181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16182 echo $ac_n "(cached) $ac_c" 1>&6
16184 cat > conftest.
$ac_ext <<EOF
16185 #line 16186 "configure"
16186 #include "confdefs.h"
16187 /* System header to define __stub macros and hopefully few prototypes,
16188 which can conflict with char $ac_func(); below. */
16189 #include <assert.h>
16190 /* Override any gcc2 internal prototype to avoid an error. */
16191 /* We use char because int might match the return type of a gcc2
16192 builtin and then its argument prototype would still apply. */
16197 /* The GNU C library defines this for functions which it implements
16198 to always fail with ENOSYS. Some functions are actually named
16199 something starting with __ and the normal name is an alias. */
16200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16208 if { (eval echo configure
:16209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16210 eval "ac_cv_func_$ac_func=yes"
16212 echo "configure: failed program was:" >&5
16213 cat conftest.
$ac_ext >&5
16215 eval "ac_cv_func_$ac_func=no"
16220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16221 echo "$ac_t""yes" 1>&6
16222 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16223 cat >> confdefs.h
<<EOF
16224 #define $ac_tr_func 1
16228 echo "$ac_t""no" 1>&6
16233 if test "$ac_cv_func_localtime" = "yes"; then
16234 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16235 echo "configure:16236: checking for tm_gmtoff in struct tm" >&5
16236 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16237 echo $ac_n "(cached) $ac_c" 1>&6
16240 cat > conftest.
$ac_ext <<EOF
16241 #line 16242 "configure"
16242 #include "confdefs.h"
16253 if { (eval echo configure
:16254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16256 wx_cv_struct_tm_has_gmtoff
=yes
16259 echo "configure: failed program was:" >&5
16260 cat conftest.
$ac_ext >&5
16262 wx_cv_struct_tm_has_gmtoff
=no
16269 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16272 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16273 cat >> confdefs.h
<<\EOF
16274 #define WX_GMTOFF_IN_TM 1
16279 for ac_func
in gettimeofday ftime
16281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16282 echo "configure:16283: checking for $ac_func" >&5
16283 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16284 echo $ac_n "(cached) $ac_c" 1>&6
16286 cat > conftest.
$ac_ext <<EOF
16287 #line 16288 "configure"
16288 #include "confdefs.h"
16289 /* System header to define __stub macros and hopefully few prototypes,
16290 which can conflict with char $ac_func(); below. */
16291 #include <assert.h>
16292 /* Override any gcc2 internal prototype to avoid an error. */
16293 /* We use char because int might match the return type of a gcc2
16294 builtin and then its argument prototype would still apply. */
16299 /* The GNU C library defines this for functions which it implements
16300 to always fail with ENOSYS. Some functions are actually named
16301 something starting with __ and the normal name is an alias. */
16302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16310 if { (eval echo configure
:16311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16312 eval "ac_cv_func_$ac_func=yes"
16314 echo "configure: failed program was:" >&5
16315 cat conftest.
$ac_ext >&5
16317 eval "ac_cv_func_$ac_func=no"
16322 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16323 echo "$ac_t""yes" 1>&6
16324 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16325 cat >> confdefs.h
<<EOF
16326 #define $ac_tr_func 1
16330 echo "$ac_t""no" 1>&6
16335 if test "$ac_cv_func_gettimeofday" = "yes"; then
16336 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16337 echo "configure:16338: checking whether gettimeofday takes two arguments" >&5
16338 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16339 echo $ac_n "(cached) $ac_c" 1>&6
16344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16345 ac_cpp
='$CXXCPP $CPPFLAGS'
16346 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16347 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16348 cross_compiling
=$ac_cv_prog_cxx_cross
16351 cat > conftest.
$ac_ext <<EOF
16352 #line 16353 "configure"
16353 #include "confdefs.h"
16355 #include <sys/time.h>
16356 #include <unistd.h>
16361 gettimeofday(&tv, NULL);
16365 if { (eval echo configure
:16366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16367 wx_cv_func_gettimeofday_has_2_args
=yes
16369 echo "configure: failed program was:" >&5
16370 cat conftest.
$ac_ext >&5
16372 cat > conftest.
$ac_ext <<EOF
16373 #line 16374 "configure"
16374 #include "confdefs.h"
16376 #include <sys/time.h>
16377 #include <unistd.h>
16386 if { (eval echo configure
:16387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16388 wx_cv_func_gettimeofday_has_2_args
=no
16390 echo "configure: failed program was:" >&5
16391 cat conftest.
$ac_ext >&5
16394 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16395 wx_cv_func_gettimeofday_has_2_args
=unknown
16404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16405 ac_cpp
='$CPP $CPPFLAGS'
16406 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16407 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16408 cross_compiling
=$ac_cv_prog_cc_cross
16413 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16415 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16416 cat >> confdefs.h
<<\EOF
16417 #define WX_GETTIMEOFDAY_NO_TZ 1
16423 cat >> confdefs.h
<<\EOF
16424 #define wxUSE_TIMEDATE 1
16427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16431 if test "$TOOLKIT" != "MSW"; then
16433 if test "$wxUSE_SOCKETS" = "yes"; then
16434 echo $ac_n "checking for socket""... $ac_c" 1>&6
16435 echo "configure:16436: checking for socket" >&5
16436 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16437 echo $ac_n "(cached) $ac_c" 1>&6
16439 cat > conftest.
$ac_ext <<EOF
16440 #line 16441 "configure"
16441 #include "confdefs.h"
16442 /* System header to define __stub macros and hopefully few prototypes,
16443 which can conflict with char socket(); below. */
16444 #include <assert.h>
16445 /* Override any gcc2 internal prototype to avoid an error. */
16446 /* We use char because int might match the return type of a gcc2
16447 builtin and then its argument prototype would still apply. */
16452 /* The GNU C library defines this for functions which it implements
16453 to always fail with ENOSYS. Some functions are actually named
16454 something starting with __ and the normal name is an alias. */
16455 #if defined (__stub_socket) || defined (__stub___socket)
16463 if { (eval echo configure
:16464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16465 eval "ac_cv_func_socket=yes"
16467 echo "configure: failed program was:" >&5
16468 cat conftest.
$ac_ext >&5
16470 eval "ac_cv_func_socket=no"
16475 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16476 echo "$ac_t""yes" 1>&6
16479 echo "$ac_t""no" 1>&6
16480 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16481 echo "configure:16482: checking for socket in -lsocket" >&5
16482 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16483 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16484 echo $ac_n "(cached) $ac_c" 1>&6
16486 ac_save_LIBS
="$LIBS"
16487 LIBS
="-lsocket $LIBS"
16488 cat > conftest.
$ac_ext <<EOF
16489 #line 16490 "configure"
16490 #include "confdefs.h"
16491 /* Override any gcc2 internal prototype to avoid an error. */
16492 /* We use char because int might match the return type of a gcc2
16493 builtin and then its argument prototype would still apply. */
16500 if { (eval echo configure
:16501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16502 eval "ac_cv_lib_$ac_lib_var=yes"
16504 echo "configure: failed program was:" >&5
16505 cat conftest.
$ac_ext >&5
16507 eval "ac_cv_lib_$ac_lib_var=no"
16510 LIBS
="$ac_save_LIBS"
16513 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16514 echo "$ac_t""yes" 1>&6
16515 INET_LINK
="$INET_LINK -lsocket"
16517 echo "$ac_t""no" 1>&6
16519 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16531 if test "$wxUSE_SOCKETS" = "yes" ; then
16532 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16533 echo "configure:16534: checking what is the type of the third argument of getsockname" >&5
16534 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16535 echo $ac_n "(cached) $ac_c" 1>&6
16540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16541 ac_cpp
='$CXXCPP $CPPFLAGS'
16542 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16543 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16544 cross_compiling
=$ac_cv_prog_cxx_cross
16547 cat > conftest.
$ac_ext <<EOF
16548 #line 16549 "configure"
16549 #include "confdefs.h"
16551 #include <sys/types.h>
16552 #include <sys/socket.h>
16557 getsockname(0, 0, &len);
16561 if { (eval echo configure
:16562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16563 wx_cv_type_getsockname3
=socklen_t
16565 echo "configure: failed program was:" >&5
16566 cat conftest.
$ac_ext >&5
16568 cat > conftest.
$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16572 #include <sys/types.h>
16573 #include <sys/socket.h>
16578 getsockname(0, 0, &len);
16582 if { (eval echo configure
:16583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16584 wx_cv_type_getsockname3
=size_t
16586 echo "configure: failed program was:" >&5
16587 cat conftest.
$ac_ext >&5
16589 cat > conftest.
$ac_ext <<EOF
16590 #line 16591 "configure"
16591 #include "confdefs.h"
16593 #include <sys/types.h>
16594 #include <sys/socket.h>
16599 getsockname(0, 0, &len);
16603 if { (eval echo configure
:16604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16605 wx_cv_type_getsockname3
=int
16607 echo "configure: failed program was:" >&5
16608 cat conftest.
$ac_ext >&5
16610 wx_cv_type_getsockname3
=unknown
16622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16623 ac_cpp
='$CPP $CPPFLAGS'
16624 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16625 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16626 cross_compiling
=$ac_cv_prog_cc_cross
16631 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16633 if test "$wx_cv_type_getsockname3" = "unknown"; then
16635 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16637 cat >> confdefs.h
<<EOF
16638 #define SOCKLEN_T $wx_cv_type_getsockname3
16646 if test "$wxUSE_SOCKETS" = "yes" ; then
16647 cat >> confdefs.h
<<\EOF
16648 #define wxUSE_SOCKETS 1
16651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16652 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16656 if test "$wxUSE_GUI" = "yes"; then
16658 if test "$TOOLKIT" != "MSW"; then
16660 if test "$wxUSE_JOYSTICK" = "yes"; then
16661 for ac_hdr
in linux
/joystick.h
16663 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16664 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16665 echo "configure:16666: checking for $ac_hdr" >&5
16666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16667 echo $ac_n "(cached) $ac_c" 1>&6
16669 cat > conftest.
$ac_ext <<EOF
16670 #line 16671 "configure"
16671 #include "confdefs.h"
16674 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16675 { (eval echo configure
:16676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16676 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16677 if test -z "$ac_err"; then
16679 eval "ac_cv_header_$ac_safe=yes"
16682 echo "configure: failed program was:" >&5
16683 cat conftest.
$ac_ext >&5
16685 eval "ac_cv_header_$ac_safe=no"
16689 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16690 echo "$ac_t""yes" 1>&6
16691 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16692 cat >> confdefs.h
<<EOF
16693 #define $ac_tr_hdr 1
16697 echo "$ac_t""no" 1>&6
16701 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16703 echo "configure: warning: Joystick not supported by this system" 1>&2
16709 if test "$wxUSE_JOYSTICK" = "yes"; then
16710 cat >> confdefs.h
<<\EOF
16711 #define wxUSE_JOYSTICK 1
16714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16720 if test "$TOOLKIT" != "MSW"; then
16724 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16725 if test "$USE_DARWIN" = 1; then
16728 for ac_func
in dlopen
16730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16731 echo "configure:16732: checking for $ac_func" >&5
16732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16733 echo $ac_n "(cached) $ac_c" 1>&6
16735 cat > conftest.
$ac_ext <<EOF
16736 #line 16737 "configure"
16737 #include "confdefs.h"
16738 /* System header to define __stub macros and hopefully few prototypes,
16739 which can conflict with char $ac_func(); below. */
16740 #include <assert.h>
16741 /* Override any gcc2 internal prototype to avoid an error. */
16742 /* We use char because int might match the return type of a gcc2
16743 builtin and then its argument prototype would still apply. */
16748 /* The GNU C library defines this for functions which it implements
16749 to always fail with ENOSYS. Some functions are actually named
16750 something starting with __ and the normal name is an alias. */
16751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16759 if { (eval echo configure
:16760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16761 eval "ac_cv_func_$ac_func=yes"
16763 echo "configure: failed program was:" >&5
16764 cat conftest.
$ac_ext >&5
16766 eval "ac_cv_func_$ac_func=no"
16771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16772 echo "$ac_t""yes" 1>&6
16773 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16774 cat >> confdefs.h
<<EOF
16775 #define $ac_tr_func 1
16778 cat >> confdefs.h
<<\EOF
16779 #define HAVE_DLOPEN 1
16785 echo "$ac_t""no" 1>&6
16786 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16787 echo "configure:16788: checking for dlopen in -ldl" >&5
16788 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16789 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16790 echo $ac_n "(cached) $ac_c" 1>&6
16792 ac_save_LIBS
="$LIBS"
16794 cat > conftest.
$ac_ext <<EOF
16795 #line 16796 "configure"
16796 #include "confdefs.h"
16797 /* Override any gcc2 internal prototype to avoid an error. */
16798 /* We use char because int might match the return type of a gcc2
16799 builtin and then its argument prototype would still apply. */
16806 if { (eval echo configure
:16807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16808 eval "ac_cv_lib_$ac_lib_var=yes"
16810 echo "configure: failed program was:" >&5
16811 cat conftest.
$ac_ext >&5
16813 eval "ac_cv_lib_$ac_lib_var=no"
16816 LIBS
="$ac_save_LIBS"
16819 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16820 echo "$ac_t""yes" 1>&6
16822 cat >> confdefs.h
<<\EOF
16823 #define HAVE_DLOPEN 1
16830 echo "$ac_t""no" 1>&6
16832 for ac_func
in shl_load
16834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16835 echo "configure:16836: checking for $ac_func" >&5
16836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16837 echo $ac_n "(cached) $ac_c" 1>&6
16839 cat > conftest.
$ac_ext <<EOF
16840 #line 16841 "configure"
16841 #include "confdefs.h"
16842 /* System header to define __stub macros and hopefully few prototypes,
16843 which can conflict with char $ac_func(); below. */
16844 #include <assert.h>
16845 /* Override any gcc2 internal prototype to avoid an error. */
16846 /* We use char because int might match the return type of a gcc2
16847 builtin and then its argument prototype would still apply. */
16852 /* The GNU C library defines this for functions which it implements
16853 to always fail with ENOSYS. Some functions are actually named
16854 something starting with __ and the normal name is an alias. */
16855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16863 if { (eval echo configure
:16864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16865 eval "ac_cv_func_$ac_func=yes"
16867 echo "configure: failed program was:" >&5
16868 cat conftest.
$ac_ext >&5
16870 eval "ac_cv_func_$ac_func=no"
16875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16876 echo "$ac_t""yes" 1>&6
16877 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16878 cat >> confdefs.h
<<EOF
16879 #define $ac_tr_func 1
16882 cat >> confdefs.h
<<\EOF
16883 #define HAVE_SHL_LOAD 1
16889 echo "$ac_t""no" 1>&6
16890 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16891 echo "configure:16892: checking for dld in -lshl_load" >&5
16892 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16896 ac_save_LIBS
="$LIBS"
16897 LIBS
="-lshl_load $LIBS"
16898 cat > conftest.
$ac_ext <<EOF
16899 #line 16900 "configure"
16900 #include "confdefs.h"
16901 /* Override any gcc2 internal prototype to avoid an error. */
16902 /* We use char because int might match the return type of a gcc2
16903 builtin and then its argument prototype would still apply. */
16910 if { (eval echo configure
:16911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16912 eval "ac_cv_lib_$ac_lib_var=yes"
16914 echo "configure: failed program was:" >&5
16915 cat conftest.
$ac_ext >&5
16917 eval "ac_cv_lib_$ac_lib_var=no"
16920 LIBS
="$ac_save_LIBS"
16923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16924 echo "$ac_t""yes" 1>&6
16930 echo "$ac_t""no" 1>&6
16945 if test "$HAVE_DL_FUNCS" = 1; then
16946 for ac_func
in dlerror
16948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16949 echo "configure:16950: checking for $ac_func" >&5
16950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16951 echo $ac_n "(cached) $ac_c" 1>&6
16953 cat > conftest.
$ac_ext <<EOF
16954 #line 16955 "configure"
16955 #include "confdefs.h"
16956 /* System header to define __stub macros and hopefully few prototypes,
16957 which can conflict with char $ac_func(); below. */
16958 #include <assert.h>
16959 /* Override any gcc2 internal prototype to avoid an error. */
16960 /* We use char because int might match the return type of a gcc2
16961 builtin and then its argument prototype would still apply. */
16966 /* The GNU C library defines this for functions which it implements
16967 to always fail with ENOSYS. Some functions are actually named
16968 something starting with __ and the normal name is an alias. */
16969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16977 if { (eval echo configure
:16978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16979 eval "ac_cv_func_$ac_func=yes"
16981 echo "configure: failed program was:" >&5
16982 cat conftest.
$ac_ext >&5
16984 eval "ac_cv_func_$ac_func=no"
16989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16990 echo "$ac_t""yes" 1>&6
16991 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16992 cat >> confdefs.h
<<EOF
16993 #define $ac_tr_func 1
16995 cat >> confdefs.h
<<\EOF
16996 #define HAVE_DLERROR 1
17000 echo "$ac_t""no" 1>&6
17001 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17002 echo "configure:17003: checking for dlerror in -ldl" >&5
17003 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17005 echo $ac_n "(cached) $ac_c" 1>&6
17007 ac_save_LIBS
="$LIBS"
17009 cat > conftest.
$ac_ext <<EOF
17010 #line 17011 "configure"
17011 #include "confdefs.h"
17012 /* Override any gcc2 internal prototype to avoid an error. */
17013 /* We use char because int might match the return type of a gcc2
17014 builtin and then its argument prototype would still apply. */
17021 if { (eval echo configure
:17022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17023 eval "ac_cv_lib_$ac_lib_var=yes"
17025 echo "configure: failed program was:" >&5
17026 cat conftest.
$ac_ext >&5
17028 eval "ac_cv_lib_$ac_lib_var=no"
17031 LIBS
="$ac_save_LIBS"
17034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17035 echo "$ac_t""yes" 1>&6
17036 cat >> confdefs.h
<<\EOF
17037 #define HAVE_DLERROR 1
17041 echo "$ac_t""no" 1>&6
17050 if test "$HAVE_DL_FUNCS" = 0; then
17051 if test "$HAVE_SHL_FUNCS" = 0; then
17052 if test "$USE_UNIX" = 1; then
17053 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17054 wxUSE_DYNLIB_CLASS
=no
17056 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17064 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17065 cat >> confdefs.h
<<\EOF
17066 #define wxUSE_DYNLIB_CLASS 1
17075 if test "$wxUSE_FONTMAP" = "yes" ; then
17076 cat >> confdefs.h
<<\EOF
17077 #define wxUSE_FONTMAP 1
17082 if test "$wxUSE_UNICODE" = "yes" ; then
17083 cat >> confdefs.h
<<\EOF
17084 #define wxUSE_UNICODE 1
17089 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
17090 cat >> confdefs.h
<<\EOF
17091 #define wxUSE_WCSRTOMBS 1
17096 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17097 cat >> confdefs.h
<<\EOF
17098 #define wxUSE_EXPERIMENTAL_PRINTF 1
17104 if test "$wxUSE_SERIAL" = "yes" ; then
17105 cat >> confdefs.h
<<\EOF
17106 #define wxUSE_SERIAL 1
17113 if test "$wxUSE_ODBC" = "yes" ; then
17114 cat >> confdefs.h
<<\EOF
17115 #define wxUSE_ODBC 1
17118 WXODBCFLAG
="-D_IODBC_"
17119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17123 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17124 cat >> confdefs.h
<<\EOF
17125 #define wxUSE_POSTSCRIPT 1
17130 cat >> confdefs.h
<<\EOF
17131 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17135 cat >> confdefs.h
<<\EOF
17136 #define wxUSE_NORMALIZED_PS_FONTS 1
17141 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17142 cat >> confdefs.h
<<\EOF
17143 #define wxUSE_CONSTRAINTS 1
17146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17149 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17150 cat >> confdefs.h
<<\EOF
17151 #define wxUSE_MDI_ARCHITECTURE 1
17154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17157 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17158 cat >> confdefs.h
<<\EOF
17159 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17163 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17168 if test "$wxUSE_HELP" = "yes"; then
17169 cat >> confdefs.h
<<\EOF
17170 #define wxUSE_HELP 1
17173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17175 if test "$USE_WIN32" = 1; then
17176 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17177 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17178 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17179 echo "configure:17180: checking for htmlhelp.h" >&5
17180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17181 echo $ac_n "(cached) $ac_c" 1>&6
17183 cat > conftest.
$ac_ext <<EOF
17184 #line 17185 "configure"
17185 #include "confdefs.h"
17186 #include <htmlhelp.h>
17188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17189 { (eval echo configure
:17190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17190 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17191 if test -z "$ac_err"; then
17193 eval "ac_cv_header_$ac_safe=yes"
17196 echo "configure: failed program was:" >&5
17197 cat conftest.
$ac_ext >&5
17199 eval "ac_cv_header_$ac_safe=no"
17203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17204 echo "$ac_t""yes" 1>&6
17206 cat >> confdefs.h
<<\EOF
17207 #define wxUSE_MS_HTML_HELP 1
17212 echo "$ac_t""no" 1>&6
17214 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17215 wxUSE_MS_HTML_HELP
=no
17222 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17223 if test "$wxUSE_HTML" = "yes"; then
17224 cat >> confdefs.h
<<\EOF
17225 #define wxUSE_WXHTML_HELP 1
17229 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17230 wxUSE_WXHTML_HELP
=no
17235 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17236 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17237 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17239 cat >> confdefs.h
<<\EOF
17240 #define wxUSE_PRINTING_ARCHITECTURE 1
17244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17247 if test "$wxUSE_PROLOGIO" = "yes" ; then
17248 cat >> confdefs.h
<<\EOF
17249 #define wxUSE_PROLOGIO 1
17254 if test "$wxUSE_RESOURCES" = "yes" ; then
17255 cat >> confdefs.h
<<\EOF
17256 #define wxUSE_RESOURCES 1
17259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17262 if test "$wxUSE_X_RESOURCES" = "yes"; then
17263 cat >> confdefs.h
<<\EOF
17264 #define wxUSE_X_RESOURCES 1
17270 if test "$USE_WIN32" = 1; then
17271 for ac_hdr
in ole2.h
17273 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17274 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17275 echo "configure:17276: checking for $ac_hdr" >&5
17276 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17277 echo $ac_n "(cached) $ac_c" 1>&6
17279 cat > conftest.
$ac_ext <<EOF
17280 #line 17281 "configure"
17281 #include "confdefs.h"
17284 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17285 { (eval echo configure
:17286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17286 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17287 if test -z "$ac_err"; then
17289 eval "ac_cv_header_$ac_safe=yes"
17292 echo "configure: failed program was:" >&5
17293 cat conftest.
$ac_ext >&5
17295 eval "ac_cv_header_$ac_safe=no"
17299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17300 echo "$ac_t""yes" 1>&6
17301 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17302 cat >> confdefs.h
<<EOF
17303 #define $ac_tr_hdr 1
17307 echo "$ac_t""no" 1>&6
17312 if test "$ac_cv_header_ole2_h" = "yes" ; then
17313 if test "$GCC" = yes ; then
17314 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17315 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17316 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17317 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_OLE 1
17325 cat >> confdefs.h
<<\EOF
17326 #define wxUSE_DATAOBJ 1
17330 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17333 wxUSE_DRAG_AND_DROP
=no
17337 if test "$wxUSE_METAFILE" = "yes"; then
17338 cat >> confdefs.h
<<\EOF
17339 #define wxUSE_METAFILE 1
17343 cat >> confdefs.h
<<\EOF
17344 #define wxUSE_ENH_METAFILE 1
17350 if test "$wxUSE_IPC" = "yes"; then
17351 if test "$wxUSE_SOCKETS" != "yes"; then
17352 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17355 cat >> confdefs.h
<<\EOF
17356 #define wxUSE_IPC 1
17361 if test "$wxUSE_CLIPBOARD" = "yes"; then
17362 cat >> confdefs.h
<<\EOF
17363 #define wxUSE_CLIPBOARD 1
17367 cat >> confdefs.h
<<\EOF
17368 #define wxUSE_DATAOBJ 1
17373 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17374 if test "$wxUSE_GTK" = 1; then
17375 if test "$WXGTK12" != 1; then
17376 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17377 wxUSE_DRAG_AND_DROP
=no
17381 if test "$wxUSE_MOTIF" = 1; then
17382 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17383 wxUSE_DRAG_AND_DROP
=no
17386 if test "$wxUSE_MAC" = 1; then
17387 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17388 wxUSE_DRAG_AND_DROP
=no
17391 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17392 cat >> confdefs.h
<<\EOF
17393 #define wxUSE_DRAG_AND_DROP 1
17396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17401 if test "$wxUSE_SPLINES" = "yes" ; then
17402 cat >> confdefs.h
<<\EOF
17403 #define wxUSE_SPLINES 1
17410 if test "$wxUSE_CONTROLS" = "yes"; then
17414 if test "$wxUSE_ACCEL" = "yes"; then
17415 cat >> confdefs.h
<<\EOF
17416 #define wxUSE_ACCEL 1
17422 if test "$wxUSE_BUTTON" = "yes"; then
17423 cat >> confdefs.h
<<\EOF
17424 #define wxUSE_BUTTON 1
17430 if test "$wxUSE_BMPBUTTON" = "yes"; then
17431 cat >> confdefs.h
<<\EOF
17432 #define wxUSE_BMPBUTTON 1
17438 if test "$wxUSE_CALCTRL" = "yes"; then
17439 cat >> confdefs.h
<<\EOF
17440 #define wxUSE_CALENDARCTRL 1
17444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17447 if test "$wxUSE_CARET" = "yes"; then
17448 cat >> confdefs.h
<<\EOF
17449 #define wxUSE_CARET 1
17453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17456 if test "$wxUSE_COMBOBOX" = "yes"; then
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_COMBOBOX 1
17464 if test "$wxUSE_CHOICE" = "yes"; then
17465 cat >> confdefs.h
<<\EOF
17466 #define wxUSE_CHOICE 1
17472 if test "$wxUSE_CHECKBOX" = "yes"; then
17473 cat >> confdefs.h
<<\EOF
17474 #define wxUSE_CHECKBOX 1
17480 if test "$wxUSE_CHECKLST" = "yes"; then
17481 cat >> confdefs.h
<<\EOF
17482 #define wxUSE_CHECKLISTBOX 1
17486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17489 if test "$wxUSE_GAUGE" = "yes"; then
17490 cat >> confdefs.h
<<\EOF
17491 #define wxUSE_GAUGE 1
17497 if test "$wxUSE_NEW_GRID" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define wxUSE_NEW_GRID 1
17504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17507 if test "$wxUSE_GRID" = "yes"; then
17508 cat >> confdefs.h
<<\EOF
17509 #define wxUSE_GRID 1
17513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17516 if test "$wxUSE_IMAGLIST" = "yes"; then
17517 cat >> confdefs.h
<<\EOF
17518 #define wxUSE_IMAGLIST 1
17523 if test "$wxUSE_LISTBOX" = "yes"; then
17524 cat >> confdefs.h
<<\EOF
17525 #define wxUSE_LISTBOX 1
17531 if test "$wxUSE_LISTCTRL" = "yes"; then
17532 if test "$wxUSE_IMAGLIST" = "yes"; then
17533 cat >> confdefs.h
<<\EOF
17534 #define wxUSE_LISTCTRL 1
17538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17540 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17544 if test "$wxUSE_NOTEBOOK" = "yes"; then
17545 cat >> confdefs.h
<<\EOF
17546 #define wxUSE_NOTEBOOK 1
17550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17553 if test "$wxUSE_PROPSHEET" = "yes"; then
17554 cat >> confdefs.h
<<\EOF
17555 #define wxUSE_PROPSHEET 1
17559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17562 if test "$wxUSE_RADIOBOX" = "yes"; then
17563 cat >> confdefs.h
<<\EOF
17564 #define wxUSE_RADIOBOX 1
17570 if test "$wxUSE_RADIOBTN" = "yes"; then
17571 cat >> confdefs.h
<<\EOF
17572 #define wxUSE_RADIOBTN 1
17578 if test "$wxUSE_SASH" = "yes"; then
17579 cat >> confdefs.h
<<\EOF
17580 #define wxUSE_SASH 1
17583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17586 if test "$wxUSE_SCROLLBAR" = "yes"; then
17587 cat >> confdefs.h
<<\EOF
17588 #define wxUSE_SCROLLBAR 1
17592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17595 if test "$wxUSE_SLIDER" = "yes"; then
17596 cat >> confdefs.h
<<\EOF
17597 #define wxUSE_SLIDER 1
17603 if test "$wxUSE_SPINBTN" = "yes"; then
17604 cat >> confdefs.h
<<\EOF
17605 #define wxUSE_SPINBTN 1
17611 if test "$wxUSE_SPINCTRL" = "yes"; then
17612 cat >> confdefs.h
<<\EOF
17613 #define wxUSE_SPINCTRL 1
17619 if test "$wxUSE_SPLITTER" = "yes"; then
17620 cat >> confdefs.h
<<\EOF
17621 #define wxUSE_SPLITTER 1
17624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17627 if test "$wxUSE_STATBMP" = "yes"; then
17628 cat >> confdefs.h
<<\EOF
17629 #define wxUSE_STATBMP 1
17635 if test "$wxUSE_STATBOX" = "yes"; then
17636 cat >> confdefs.h
<<\EOF
17637 #define wxUSE_STATBOX 1
17643 if test "$wxUSE_STATTEXT" = "yes"; then
17644 cat >> confdefs.h
<<\EOF
17645 #define wxUSE_STATTEXT 1
17651 if test "$wxUSE_STATLINE" = "yes"; then
17652 if test "$wxUSE_WINE" = 1 ; then
17653 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17655 cat >> confdefs.h
<<\EOF
17656 #define wxUSE_STATLINE 1
17663 if test "$wxUSE_STATUSBAR" = "yes"; then
17664 cat >> confdefs.h
<<\EOF
17665 #define wxUSE_STATUSBAR 1
17670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17673 if test "$wxUSE_TABDIALOG" = "yes"; then
17674 cat >> confdefs.h
<<\EOF
17675 #define wxUSE_TAB_DIALOG 1
17678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17681 if test "$wxUSE_TEXTCTRL" = "yes"; then
17682 cat >> confdefs.h
<<\EOF
17683 #define wxUSE_TEXTCTRL 1
17687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17690 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17691 if test "$wxUSE_MAC" = 1; then
17692 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17696 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17697 cat >> confdefs.h
<<\EOF
17698 #define wxUSE_TOGGLEBTN 1
17705 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17706 cat >> confdefs.h
<<\EOF
17707 #define wxUSE_TOOLBAR_SIMPLE 1
17710 wxUSE_TOOLBAR
="yes"
17714 if test "$wxUSE_TOOLBAR" = "yes"; then
17715 cat >> confdefs.h
<<\EOF
17716 #define wxUSE_TOOLBAR 1
17721 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17722 wxUSE_TOOLBAR_NATIVE
="yes"
17725 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17726 cat >> confdefs.h
<<\EOF
17727 #define wxUSE_TOOLBAR_NATIVE 1
17733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17736 if test "$wxUSE_TOOLTIPS" = "yes"; then
17737 if test "$wxUSE_MOTIF" = 1; then
17738 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17740 if test "$wxUSE_WINE" = 1; then
17741 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17743 cat >> confdefs.h
<<\EOF
17744 #define wxUSE_TOOLTIPS 1
17751 if test "$wxUSE_TREECTRL" = "yes"; then
17752 if test "$wxUSE_IMAGLIST" = "yes"; then
17753 cat >> confdefs.h
<<\EOF
17754 #define wxUSE_TREECTRL 1
17758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17760 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17764 if test "$wxUSE_POPUPWIN" = "yes"; then
17765 if test "$wxUSE_MAC" = 1; then
17766 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17768 cat >> confdefs.h
<<\EOF
17769 #define wxUSE_POPUPWIN 1
17776 if test "$USES_CONTROLS" = 1; then
17777 cat >> confdefs.h
<<\EOF
17778 #define wxUSE_CONTROLS 1
17784 if test "$wxUSE_TREELAYOUT" = "yes"; then
17785 cat >> confdefs.h
<<\EOF
17786 #define wxUSE_TREELAYOUT 1
17789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17792 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17793 cat >> confdefs.h
<<\EOF
17794 #define wxUSE_DRAGIMAGE 1
17797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17800 if test "$wxUSE_MENUS" = "yes"; then
17801 cat >> confdefs.h
<<\EOF
17802 #define wxUSE_MENUS 1
17805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17808 if test "$wxUSE_METAFILE" = "yes"; then
17809 cat >> confdefs.h
<<\EOF
17810 #define wxUSE_METAFILE 1
17815 if test "$wxUSE_MIMETYPE" = "yes"; then
17816 cat >> confdefs.h
<<\EOF
17817 #define wxUSE_MIMETYPE 1
17822 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17823 cat >> confdefs.h
<<\EOF
17824 #define wxUSE_SYSTEM_OPTIONS 1
17829 if test "$wxUSE_MINIFRAME" = "yes"; then
17830 cat >> confdefs.h
<<\EOF
17831 #define wxUSE_MINIFRAME 1
17834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17837 if test "$wxUSE_HTML" = "yes"; then
17838 cat >> confdefs.h
<<\EOF
17839 #define wxUSE_HTML 1
17842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17843 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17846 if test "$wxUSE_VALIDATORS" = "yes"; then
17847 cat >> confdefs.h
<<\EOF
17848 #define wxUSE_VALIDATORS 1
17851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17854 if test "$wxUSE_IMAGE" = "yes" ; then
17855 cat >> confdefs.h
<<\EOF
17856 #define wxUSE_IMAGE 1
17861 if test "$wxUSE_GIF" = "yes" ; then
17862 cat >> confdefs.h
<<\EOF
17863 #define wxUSE_GIF 1
17868 if test "$wxUSE_PCX" = "yes" ; then
17869 cat >> confdefs.h
<<\EOF
17870 #define wxUSE_PCX 1
17875 if test "$wxUSE_PNM" = "yes" ; then
17876 cat >> confdefs.h
<<\EOF
17877 #define wxUSE_PNM 1
17882 if test "$wxUSE_XPM" = "yes" ; then
17883 cat >> confdefs.h
<<\EOF
17884 #define wxUSE_XPM 1
17890 if test "$wxUSE_CHOICEDLG" = "yes"; then
17891 cat >> confdefs.h
<<\EOF
17892 #define wxUSE_CHOICEDLG 1
17897 if test "$wxUSE_COLOURDLG" = "yes"; then
17898 cat >> confdefs.h
<<\EOF
17899 #define wxUSE_COLOURDLG 1
17904 if test "$wxUSE_FILEDLG" = "yes"; then
17905 cat >> confdefs.h
<<\EOF
17906 #define wxUSE_FILEDLG 1
17911 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17912 cat >> confdefs.h
<<\EOF
17913 #define wxUSE_FINDREPLDLG 1
17918 if test "$wxUSE_FONTDLG" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_FONTDLG 1
17925 if test "$wxUSE_DIRDLG" = "yes"; then
17926 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17927 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17929 if test "$wxUSE_TREECTRL" != "yes"; then
17930 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17932 cat >> confdefs.h
<<\EOF
17933 #define wxUSE_DIRDLG 1
17940 if test "$wxUSE_MSGDLG" = "yes"; then
17941 cat >> confdefs.h
<<\EOF
17942 #define wxUSE_MSGDLG 1
17947 if test "$wxUSE_NUMBERDLG" = "yes"; then
17948 cat >> confdefs.h
<<\EOF
17949 #define wxUSE_NUMBERDLG 1
17954 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17955 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17956 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17958 cat >> confdefs.h
<<\EOF
17959 #define wxUSE_PROGRESSDLG 1
17965 if test "$wxUSE_SPLASH" = "yes"; then
17966 cat >> confdefs.h
<<\EOF
17967 #define wxUSE_SPLASH 1
17972 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17973 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17974 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17976 cat >> confdefs.h
<<\EOF
17977 #define wxUSE_STARTUP_TIPS 1
17983 if test "$wxUSE_TEXTDLG" = "yes"; then
17984 cat >> confdefs.h
<<\EOF
17985 #define wxUSE_TEXTDLG 1
17990 if test "$wxUSE_WIZARDDLG" = "yes"; then
17991 cat >> confdefs.h
<<\EOF
17992 #define wxUSE_WIZARDDLG 1
17995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17999 if test "$cross_compiling" = "yes"; then
18002 OSINFO
=`uname -s -r -m`
18003 OSINFO
="\"$OSINFO\""
18006 cat >> confdefs.h
<<EOF
18007 #define WXWIN_OS_DESCRIPTION $OSINFO
18012 if test "x$prefix" != "xNONE"; then
18015 wxPREFIX
=$ac_default_prefix
18018 cat >> confdefs.h
<<EOF
18019 #define wxINSTALL_PREFIX "$wxPREFIX"
18024 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18025 OPENGL_LIBS
="$OPENGL_LINK"
18027 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18028 if test "$wxUSE_MAC" = 1 ; then
18029 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18031 if test "$wxUSE_GUI" = "yes"; then
18032 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18035 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18037 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
18038 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18039 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18041 if test "$wxUSE_GTK" = 1; then
18042 WXCONFIG_INCLUDE
=""
18044 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18047 if test "$GXX" = yes ; then
18048 CXXWARNINGS
="-Wall"
18050 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18052 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18053 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18055 LDFLAGS
="$LDFLAGS $PROFILE"
18057 if test "$wxUSE_GUI" = "yes"; then
18059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18060 drawing dynamic erase event exec font image \
18061 minimal richedit rotate widgets"
18063 if test "$wxUSE_UNIVERSAL" = "yes" ; then
18064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
18067 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18069 SAMPLES_SUBDIRS
="console"
18072 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18168 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18169 echo "configure:18170: checking whether ${MAKE-make} sets \${MAKE}" >&5
18170 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18171 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18172 echo $ac_n "(cached) $ac_c" 1>&6
18174 cat > conftestmake
<<\EOF
18176 @
echo 'ac_maketemp="${MAKE}"'
18178 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18179 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18180 if test -n "$ac_maketemp"; then
18181 eval ac_cv_prog_make_
${ac_make}_set
=yes
18183 eval ac_cv_prog_make_
${ac_make}_set
=no
18187 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18188 echo "$ac_t""yes" 1>&6
18191 echo "$ac_t""no" 1>&6
18192 SET_MAKE
="MAKE=${MAKE-make}"
18196 if test -d include
; then
18197 if test -d include
/wx
; then
18198 if test -d include
/wx
/${SETUPH_DIR}; then
18199 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
18200 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
18208 if test "$wxUSE_GUI" = "yes"; then
18209 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18210 wx_cv_path_ifs
=$PATH_IFS
18211 wx_cv_program_ext
=$PROGRAM_EXT
18212 wx_cv_target_library
=$WX_TARGET_LIBRARY
18213 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18214 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18215 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18216 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18217 subdirs
="demos samples utils contrib"
18222 cat > confcache
<<\EOF
18223 # This file is a shell script that caches the results of configure
18224 # tests run on this system so they can be shared between configure
18225 # scripts and configure runs. It is not useful on other systems.
18226 # If it contains results you don't want to keep, you may remove or edit it.
18228 # By default, configure uses ./config.cache as the cache file,
18229 # creating it if it does not exist already. You can give configure
18230 # the --cache-file=FILE option to use a different cache file; that is
18231 # what configure does when it calls configure scripts in
18232 # subdirectories, so they share the cache.
18233 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18234 # config.status only pays attention to the cache file if you give it the
18235 # --recheck option to rerun configure.
18238 # The following way of writing the cache mishandles newlines in values,
18239 # but we know of no workaround that is simple, portable, and efficient.
18240 # So, don't put newlines in cache variables' values.
18241 # Ultrix sh set writes to stderr and can't be redirected directly,
18242 # and sets the high bit in the cache file unless we assign to the vars.
18244 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18246 # `set' does not quote correctly, so add quotes (double-quote substitution
18247 # turns \\\\ into \\, and sed turns \\ into \).
18249 -e "s/'/'\\\\''/g" \
18250 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18253 # `set' quotes correctly as required by POSIX, so do not add quotes.
18254 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18257 if cmp -s $cache_file confcache
; then
18260 if test -w $cache_file; then
18261 echo "updating cache $cache_file"
18262 cat confcache
> $cache_file
18264 echo "not updating unwritable cache $cache_file"
18269 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18271 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18272 # Let make expand exec_prefix.
18273 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18275 # Any assignment to VPATH causes Sun make to only execute
18276 # the first set of double-colon rules, so remove it if not needed.
18277 # If there is a colon in the path, we need to keep it.
18278 if test "x$srcdir" = x.
; then
18279 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18282 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18284 DEFS
=-DHAVE_CONFIG_H
18286 # Without the "./", some shells look in PATH for config.status.
18287 : ${CONFIG_STATUS=./config.status}
18289 echo creating
$CONFIG_STATUS
18290 rm -f $CONFIG_STATUS
18291 cat > $CONFIG_STATUS <<EOF
18293 # Generated automatically by configure.
18294 # Run this file to recreate the current configuration.
18295 # This directory was configured as follows,
18296 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18298 # $0 $ac_configure_args
18300 # Compiler output produced by configure, useful for debugging
18301 # configure, is in ./config.log if it exists.
18303 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18306 case "\$ac_option" in
18307 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18308 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18309 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18310 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18311 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18313 -help | --help | --hel | --he | --h)
18314 echo "\$ac_cs_usage"; exit 0 ;;
18315 *) echo "\$ac_cs_usage"; exit 1 ;;
18319 ac_given_srcdir=$srcdir
18320 ac_given_INSTALL="$INSTALL"
18322 trap 'rm -fr `echo "
18328 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18330 cat >> $CONFIG_STATUS <<EOF
18332 # Protect against being on the right side of a sed subst in config.status.
18333 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18334 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18338 s%@CFLAGS@%$CFLAGS%g
18339 s%@CPPFLAGS@%$CPPFLAGS%g
18340 s%@CXXFLAGS@%$CXXFLAGS%g
18341 s%@FFLAGS@%$FFLAGS%g
18343 s%@LDFLAGS@%$LDFLAGS%g
18345 s%@exec_prefix@%$exec_prefix%g
18346 s%@prefix@%$prefix%g
18347 s%@program_transform_name@%$program_transform_name%g
18348 s%@bindir@%$bindir%g
18349 s%@sbindir@%$sbindir%g
18350 s%@libexecdir@%$libexecdir%g
18351 s%@datadir@%$datadir%g
18352 s%@sysconfdir@%$sysconfdir%g
18353 s%@sharedstatedir@%$sharedstatedir%g
18354 s%@localstatedir@%$localstatedir%g
18355 s%@libdir@%$libdir%g
18356 s%@includedir@%$includedir%g
18357 s%@oldincludedir@%$oldincludedir%g
18358 s%@infodir@%$infodir%g
18359 s%@mandir@%$mandir%g
18361 s%@host_alias@%$host_alias%g
18362 s%@host_cpu@%$host_cpu%g
18363 s%@host_vendor@%$host_vendor%g
18364 s%@host_os@%$host_os%g
18365 s%@target@%$target%g
18366 s%@target_alias@%$target_alias%g
18367 s%@target_cpu@%$target_cpu%g
18368 s%@target_vendor@%$target_vendor%g
18369 s%@target_os@%$target_os%g
18371 s%@build_alias@%$build_alias%g
18372 s%@build_cpu@%$build_cpu%g
18373 s%@build_vendor@%$build_vendor%g
18374 s%@build_os@%$build_os%g
18378 s%@CXXCPP@%$CXXCPP%g
18379 s%@RANLIB@%$RANLIB%g
18381 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18382 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18383 s%@INSTALL_DATA@%$INSTALL_DATA%g
18387 s%@LEXLIB@%$LEXLIB%g
18389 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18390 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18391 s%@GTK_LIBS@%$GTK_LIBS%g
18392 s%@GTK_CONFIG@%$GTK_CONFIG%g
18393 s%@X_CFLAGS@%$X_CFLAGS%g
18394 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18395 s%@X_LIBS@%$X_LIBS%g
18396 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18399 s%@LEX_STEM@%$LEX_STEM%g
18400 s%@PATH_IFS@%$PATH_IFS%g
18401 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18402 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18403 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18404 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18405 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18406 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18407 s%@WX_LIBRARY@%$WX_LIBRARY%g
18408 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18409 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18410 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18411 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18412 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18413 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18414 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18415 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18416 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18417 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18418 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18419 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18420 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18421 s%@WX_ALL@%$WX_ALL%g
18422 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18423 s%@SHARED_LD@%$SHARED_LD%g
18424 s%@PIC_FLAG@%$PIC_FLAG%g
18425 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18426 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18427 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18428 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18429 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18430 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18431 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18432 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18433 s%@USE_GUI@%$USE_GUI%g
18434 s%@AFMINSTALL@%$AFMINSTALL%g
18435 s%@SETUPH_DIR@%$SETUPH_DIR%g
18436 s%@TOOLKIT@%$TOOLKIT%g
18437 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18438 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18439 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18440 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18441 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18442 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18443 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18444 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18445 s%@GUIDIST@%$GUIDIST%g
18446 s%@PORT_FILES@%$PORT_FILES%g
18447 s%@DISTDIR@%$DISTDIR%g
18448 s%@RPM_SPEC@%$RPM_SPEC%g
18449 s%@RPM_FILES@%$RPM_FILES%g
18450 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18451 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18452 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18453 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18454 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18455 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18456 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18457 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18458 s%@EXTRADEFS@%$EXTRADEFS%g
18459 s%@LD_LIBS@%$LD_LIBS%g
18460 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18461 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18462 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18463 s%@RESPROGRAM@%$RESPROGRAM%g
18464 s%@RESCOMP@%$RESCOMP%g
18465 s%@RESFLAGS@%$RESFLAGS%g
18466 s%@REZFLAGS@%$REZFLAGS%g
18467 s%@DEREZFLAGS@%$DEREZFLAGS%g
18468 s%@LIBWXMACRES@%$LIBWXMACRES%g
18469 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18470 s%@DLLTOOL@%$DLLTOOL%g
18474 s%@MAKEINFO@%$MAKEINFO%g
18475 s%@SET_MAKE@%$SET_MAKE%g
18476 s%@subdirs@%$subdirs%g
18481 cat >> $CONFIG_STATUS <<\EOF
18483 # Split the substitutions into bite-sized pieces for seds with
18484 # small command number limits, like on Digital OSF/1 and HP-UX.
18485 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18486 ac_file
=1 # Number of current file.
18487 ac_beg
=1 # First line for current file.
18488 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18491 while $ac_more_lines; do
18492 if test $ac_beg -gt 1; then
18493 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18495 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18497 if test ! -s conftest.s
$ac_file; then
18498 ac_more_lines
=false
18499 rm -f conftest.s
$ac_file
18501 if test -z "$ac_sed_cmds"; then
18502 ac_sed_cmds
="sed -f conftest.s$ac_file"
18504 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18506 ac_file
=`expr $ac_file + 1`
18508 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18511 if test -z "$ac_sed_cmds"; then
18516 cat >> $CONFIG_STATUS <<EOF
18518 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18525 cat >> $CONFIG_STATUS <<\EOF
18526 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18527 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18529 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18530 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18531 *) ac_file_in
="${ac_file}.in" ;;
18534 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18536 # Remove last slash and all that follows it. Not all systems have dirname.
18537 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18538 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18539 # The file is in a subdirectory.
18540 test ! -d "$ac_dir" && mkdir "$ac_dir"
18541 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18542 # A "../" for each directory in $ac_dir_suffix.
18543 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18545 ac_dir_suffix
= ac_dots
=
18548 case "$ac_given_srcdir" in
18550 if test -z "$ac_dots"; then top_srcdir
=.
18551 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18552 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18553 *) # Relative path.
18554 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18555 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18558 case "$ac_given_INSTALL" in
18559 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18560 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18563 echo creating
"$ac_file"
18565 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18567 *Makefile
*) ac_comsub
="1i\\
18568 # $configure_input" ;;
18572 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18574 s%@configure_input@%$configure_input%g
18575 s%@srcdir@%$srcdir%g
18576 s%@top_srcdir@%$top_srcdir%g
18577 s%@INSTALL@%$INSTALL%g
18578 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18582 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18583 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18585 # ac_d sets the value in "#define NAME VALUE" lines.
18586 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18587 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18590 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18591 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18592 ac_uB
='\([ ]\)%\1#\2define\3'
18595 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18596 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18597 ac_eB
='$%\1#\2define\3'
18601 if test "${CONFIG_HEADERS+set}" != set; then
18603 cat >> $CONFIG_STATUS <<EOF
18604 CONFIG_HEADERS="setup.h:setup.h.in"
18606 cat >> $CONFIG_STATUS <<\EOF
18608 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18609 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18611 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18612 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18613 *) ac_file_in
="${ac_file}.in" ;;
18616 echo creating
$ac_file
18618 rm -f conftest.frag conftest.
in conftest.out
18619 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18620 cat $ac_file_inputs > conftest.
in
18624 # Transform confdefs.h into a sed script conftest.vals that substitutes
18625 # the proper values into config.h.in to produce config.h. And first:
18626 # Protect against being on the right side of a sed subst in config.status.
18627 # Protect against being in an unquoted here document in config.status.
18628 rm -f conftest.vals
18629 cat > conftest.hdr
<<\EOF
18632 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18636 sed -n -f conftest.hdr confdefs.h > conftest.vals
18639 # This sed command replaces #undef with comments. This is necessary, for
18640 # example, in the case of _POSIX_SOURCE, which is predefined and required
18641 # on some systems where configure will not decide to define it.
18642 cat >> conftest.vals <<\EOF
18643 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18646 # Break up conftest.vals because some shells have a limit on
18647 # the size of here documents, and old seds have small limits too.
18649 rm -f conftest.tail
18652 ac_lines=`grep -c . conftest.vals
`
18653 # grep -c gives empty output for an empty file on some AIX systems.
18654 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18655 # Write a limited-size here document to conftest.frag.
18656 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18657 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18659 sed -f conftest.frag conftest.in > conftest.out
18661 mv conftest.out conftest.in
18662 ' >> $CONFIG_STATUS
18663 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18664 rm -f conftest.vals
18665 mv conftest.tail conftest.vals
18667 rm -f conftest.vals
18669 cat >> $CONFIG_STATUS <<\EOF
18670 rm -f conftest.frag conftest.h
18671 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18672 cat conftest.in >> conftest.h
18674 if cmp -s $ac_file conftest.h 2>/dev/null; then
18675 echo "$ac_file is unchanged"
18678 # Remove last slash and all that follows it. Not all systems have dirname.
18679 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18680 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18681 # The file is in a subdirectory.
18682 test ! -d "$ac_dir" && mkdir "$ac_dir"
18685 mv conftest.h $ac_file
18690 cat >> $CONFIG_STATUS <<EOF
18692 SETUPH_DIR="${SETUPH_DIR}"
18693 TOOLKIT_NAME="${TOOLKIT_NAME}"
18698 cat >> $CONFIG_STATUS <<\EOF
18700 if test ! -f wx${TOOLKIT_NAME}-config; then
18702 mv wx-config wx${TOOLKIT_NAME}-config
18703 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18707 if test ! -d lib; then
18710 if test ! -d lib/wx; then
18713 if test ! -d lib/wx/include; then
18714 mkdir lib/wx/include
18716 if test ! -d lib/wx/include/wx; then
18717 mkdir lib/wx/include/wx
18719 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18720 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18722 if test -f setup.h; then
18723 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18727 if test ! -d include; then
18730 if test ! -d include/wx; then
18733 if test ! -d include/wx/${SETUPH_DIR}; then
18734 mkdir include/wx/${SETUPH_DIR}
18736 if test -f setup.h; then
18737 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18743 chmod +x $CONFIG_STATUS
18744 rm -fr confdefs* $ac_clean_files
18745 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18747 if test "$no_recursion" != yes; then
18749 # Remove --cache-file and --srcdir arguments so they do not pile up.
18750 ac_sub_configure_args=
18752 for ac_arg in $ac_configure_args; do
18753 if test -n "$ac_prev"; then
18758 -cache-file | --cache-file | --cache-fil | --cache-fi \
18759 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18760 ac_prev=cache_file ;;
18761 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18762 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18764 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18766 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18768 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18772 for ac_config_dir in demos samples utils contrib; do
18774 # Do not complain, so a configure script can configure whichever
18775 # parts of a large source tree are present.
18776 if test ! -d $srcdir/$ac_config_dir; then
18780 echo configuring in $ac_config_dir
18785 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18787 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18795 # A "../" for each directory in /$ac_config_dir.
18796 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18799 .) # No --srcdir option. We are building in place.
18800 ac_sub_srcdir=$srcdir ;;
18801 /*) # Absolute path.
18802 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18803 *) # Relative path.
18804 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18807 # Check for guested configure; otherwise get Cygnus style configure.
18808 if test -f $ac_sub_srcdir/configure; then
18809 ac_sub_configure=$ac_sub_srcdir/configure
18810 elif test -f $ac_sub_srcdir/configure.in; then
18811 ac_sub_configure=$ac_configure
18813 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18817 # The recursion is here.
18818 if test -n "$ac_sub_configure"; then
18820 # Make the cache file name correct relative to the subdirectory.
18821 case "$cache_file" in
18822 /*) ac_sub_cache_file=$cache_file ;;
18823 *) # Relative path.
18824 ac_sub_cache_file="$ac_dots$cache_file" ;;
18826 case "$ac_given_INSTALL" in
18827 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18828 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18831 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18832 # The eval makes quoting arguments work.
18833 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18836 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }