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 version""... $ac_c" 1>&6
1325 echo "configure:1326: checking for glibc version" >&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
1344 echo "$ac_t""2.1 or later" 1>&6
1347 echo "$ac_t""$wx_lib_glibc21" 1>&6
1349 if test "$wx_lib_glibc21" = "yes"; then
1350 cat >> confdefs.h
<<\EOF
1351 #define wxHAVE_GLIBC2 1
1360 wx_arg_cache_file
="configarg.cache"
1361 echo "loading argument cache $wx_arg_cache_file"
1362 rm -f ${wx_arg_cache_file}.tmp
1363 touch ${wx_arg_cache_file}.tmp
1364 touch ${wx_arg_cache_file}
1368 if test $DEBUG_CONFIGURE = 1; then
1369 DEFAULT_wxUSE_UNIVERSAL
=no
1371 DEFAULT_wxUSE_THREADS
=yes
1373 DEFAULT_wxUSE_SHARED
=yes
1374 DEFAULT_wxUSE_BURNT_NAME
=no
1375 DEFAULT_wxUSE_OPTIMISE
=no
1376 DEFAULT_wxUSE_PROFILE
=no
1377 DEFAULT_wxUSE_NO_DEPS
=no
1378 DEFAULT_wxUSE_NO_RTTI
=no
1379 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1380 DEFAULT_wxUSE_PERMISSIVE
=no
1381 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1382 DEFAULT_wxUSE_DEBUG_INFO
=yes
1383 DEFAULT_wxUSE_DEBUG_GDB
=yes
1384 DEFAULT_wxUSE_MEM_TRACING
=no
1385 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1386 DEFAULT_wxUSE_DMALLOC
=no
1387 DEFAULT_wxUSE_APPLE_IEEE
=no
1389 DEFAULT_wxUSE_LOG
=yes
1390 DEFAULT_wxUSE_LOGWINDOW
=no
1391 DEFAULT_wxUSE_LOGGUI
=no
1393 DEFAULT_wxUSE_GUI
=yes
1394 DEFAULT_wxUSE_CONTROLS
=no
1396 DEFAULT_wxUSE_REGEX
=no
1397 DEFAULT_wxUSE_ZLIB
=no
1398 DEFAULT_wxUSE_LIBPNG
=no
1399 DEFAULT_wxUSE_LIBJPEG
=no
1400 DEFAULT_wxUSE_LIBTIFF
=no
1401 DEFAULT_wxUSE_ODBC
=no
1402 DEFAULT_wxUSE_FREETYPE
=no
1403 DEFAULT_wxUSE_OPENGL
=no
1405 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1406 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1407 DEFAULT_wxUSE_STD_IOSTREAM
=no
1408 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1409 DEFAULT_wxUSE_DATETIME
=no
1410 DEFAULT_wxUSE_TIMEDATE
=no
1411 DEFAULT_wxUSE_TIMER
=no
1412 DEFAULT_wxUSE_STOPWATCH
=no
1413 DEFAULT_wxUSE_FILE
=no
1414 DEFAULT_wxUSE_FFILE
=no
1415 DEFAULT_wxUSE_TEXTFILE
=no
1416 DEFAULT_wxUSE_WAVE
=no
1417 DEFAULT_wxUSE_INTL
=no
1418 DEFAULT_wxUSE_CONFIG
=no
1419 DEFAULT_wxUSE_FONTMAP
=no
1420 DEFAULT_wxUSE_STREAMS
=no
1421 DEFAULT_wxUSE_SOCKETS
=no
1422 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1423 DEFAULT_wxUSE_SERIAL
=no
1424 DEFAULT_wxUSE_JOYSTICK
=no
1425 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1426 DEFAULT_wxUSE_LONGLONG
=no
1427 DEFAULT_wxUSE_GEOMETRY
=no
1429 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1430 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1431 DEFAULT_wxUSE_POSTSCRIPT
=no
1433 DEFAULT_wxUSE_X_RESOURCES
=no
1434 DEFAULT_wxUSE_CLIPBOARD
=no
1435 DEFAULT_wxUSE_TOOLTIPS
=no
1436 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1437 DEFAULT_wxUSE_DRAGIMAGE
=no
1438 DEFAULT_wxUSE_SPLINES
=no
1440 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1441 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1442 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1444 DEFAULT_wxUSE_PROLOGIO
=no
1445 DEFAULT_wxUSE_RESOURCES
=no
1446 DEFAULT_wxUSE_CONSTRAINTS
=no
1447 DEFAULT_wxUSE_IPC
=no
1448 DEFAULT_wxUSE_HELP
=no
1449 DEFAULT_wxUSE_MS_HTML_HELP
=no
1450 DEFAULT_wxUSE_WXHTML_HELP
=no
1451 DEFAULT_wxUSE_TREELAYOUT
=no
1452 DEFAULT_wxUSE_METAFILE
=no
1453 DEFAULT_wxUSE_MIMETYPE
=no
1454 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1456 DEFAULT_wxUSE_COMMONDLGS
=no
1457 DEFAULT_wxUSE_CHOICEDLG
=no
1458 DEFAULT_wxUSE_COLOURDLG
=no
1459 DEFAULT_wxUSE_DIRDLG
=no
1460 DEFAULT_wxUSE_FILEDLG
=no
1461 DEFAULT_wxUSE_FINDREPLDLG
=no
1462 DEFAULT_wxUSE_FONTDLG
=no
1463 DEFAULT_wxUSE_MSGDLG
=no
1464 DEFAULT_wxUSE_NUMBERDLG
=no
1465 DEFAULT_wxUSE_TEXTDLG
=no
1466 DEFAULT_wxUSE_SPLASH
=no
1467 DEFAULT_wxUSE_STARTUP_TIPS
=no
1468 DEFAULT_wxUSE_PROGRESSDLG
=no
1469 DEFAULT_wxUSE_WIZARDDLG
=no
1471 DEFAULT_wxUSE_MENUS
=no
1472 DEFAULT_wxUSE_MINIFRAME
=no
1473 DEFAULT_wxUSE_HTML
=no
1474 DEFAULT_wxUSE_FILESYSTEM
=no
1475 DEFAULT_wxUSE_FS_INET
=no
1476 DEFAULT_wxUSE_FS_ZIP
=no
1477 DEFAULT_wxUSE_BUSYINFO
=no
1478 DEFAULT_wxUSE_ZIPSTREAM
=no
1479 DEFAULT_wxUSE_VALIDATORS
=no
1481 DEFAULT_wxUSE_ACCEL
=no
1482 DEFAULT_wxUSE_BUTTON
=no
1483 DEFAULT_wxUSE_BMPBUTTON
=no
1484 DEFAULT_wxUSE_CALCTRL
=no
1485 DEFAULT_wxUSE_CARET
=no
1486 DEFAULT_wxUSE_CHECKBOX
=no
1487 DEFAULT_wxUSE_CHECKLST
=no
1488 DEFAULT_wxUSE_CHOICE
=no
1489 DEFAULT_wxUSE_COMBOBOX
=no
1490 DEFAULT_wxUSE_GAUGE
=no
1491 DEFAULT_wxUSE_GRID
=no
1492 DEFAULT_wxUSE_NEW_GRID
=no
1493 DEFAULT_wxUSE_IMAGLIST
=no
1494 DEFAULT_wxUSE_LISTBOX
=no
1495 DEFAULT_wxUSE_LISTCTRL
=no
1496 DEFAULT_wxUSE_NOTEBOOK
=no
1497 DEFAULT_wxUSE_PROPSHEET
=no
1498 DEFAULT_wxUSE_RADIOBOX
=no
1499 DEFAULT_wxUSE_RADIOBTN
=no
1500 DEFAULT_wxUSE_SASH
=no
1501 DEFAULT_wxUSE_SCROLLBAR
=no
1502 DEFAULT_wxUSE_SLIDER
=no
1503 DEFAULT_wxUSE_SPINBTN
=no
1504 DEFAULT_wxUSE_SPINCTRL
=no
1505 DEFAULT_wxUSE_SPLITTER
=no
1506 DEFAULT_wxUSE_STATBMP
=no
1507 DEFAULT_wxUSE_STATBOX
=no
1508 DEFAULT_wxUSE_STATLINE
=no
1509 DEFAULT_wxUSE_STATTEXT
=no
1510 DEFAULT_wxUSE_STATUSBAR
=yes
1511 DEFAULT_wxUSE_TABDIALOG
=no
1512 DEFAULT_wxUSE_TEXTCTRL
=no
1513 DEFAULT_wxUSE_TOGGLEBTN
=no
1514 DEFAULT_wxUSE_TOOLBAR
=no
1515 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1516 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1517 DEFAULT_wxUSE_TREECTRL
=no
1518 DEFAULT_wxUSE_POPUPWIN
=no
1520 DEFAULT_wxUSE_UNICODE
=no
1521 DEFAULT_wxUSE_WCSRTOMBS
=no
1523 DEFAULT_wxUSE_IMAGE
=no
1524 DEFAULT_wxUSE_GIF
=no
1525 DEFAULT_wxUSE_PCX
=no
1526 DEFAULT_wxUSE_PNM
=no
1527 DEFAULT_wxUSE_XPM
=no
1529 DEFAULT_wxUSE_UNIVERSAL
=no
1531 DEFAULT_wxUSE_THREADS
=yes
1533 DEFAULT_wxUSE_SHARED
=yes
1534 DEFAULT_wxUSE_BURNT_NAME
=no
1535 DEFAULT_wxUSE_OPTIMISE
=yes
1536 DEFAULT_wxUSE_PROFILE
=no
1537 DEFAULT_wxUSE_NO_DEPS
=no
1538 DEFAULT_wxUSE_NO_RTTI
=no
1539 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1540 DEFAULT_wxUSE_PERMISSIVE
=no
1541 DEFAULT_wxUSE_DEBUG_FLAG
=no
1542 DEFAULT_wxUSE_DEBUG_INFO
=no
1543 DEFAULT_wxUSE_DEBUG_GDB
=no
1544 DEFAULT_wxUSE_MEM_TRACING
=no
1545 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1546 DEFAULT_wxUSE_DMALLOC
=no
1547 DEFAULT_wxUSE_APPLE_IEEE
=yes
1549 DEFAULT_wxUSE_LOG
=yes
1550 DEFAULT_wxUSE_LOGWINDOW
=yes
1551 DEFAULT_wxUSE_LOGGUI
=yes
1553 DEFAULT_wxUSE_GUI
=yes
1555 DEFAULT_wxUSE_REGEX
=yes
1556 DEFAULT_wxUSE_ZLIB
=yes
1557 DEFAULT_wxUSE_LIBPNG
=yes
1558 DEFAULT_wxUSE_LIBJPEG
=yes
1559 DEFAULT_wxUSE_LIBTIFF
=yes
1560 DEFAULT_wxUSE_ODBC
=no
1561 DEFAULT_wxUSE_FREETYPE
=no
1562 DEFAULT_wxUSE_OPENGL
=no
1564 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1565 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1566 DEFAULT_wxUSE_STD_IOSTREAM
=no
1567 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1568 DEFAULT_wxUSE_DATETIME
=yes
1569 DEFAULT_wxUSE_TIMEDATE
=no
1570 DEFAULT_wxUSE_TIMER
=yes
1571 DEFAULT_wxUSE_STOPWATCH
=yes
1572 DEFAULT_wxUSE_FILE
=yes
1573 DEFAULT_wxUSE_FFILE
=yes
1574 DEFAULT_wxUSE_TEXTFILE
=yes
1575 DEFAULT_wxUSE_WAVE
=no
1576 DEFAULT_wxUSE_INTL
=yes
1577 DEFAULT_wxUSE_CONFIG
=yes
1578 DEFAULT_wxUSE_FONTMAP
=yes
1579 DEFAULT_wxUSE_STREAMS
=yes
1580 DEFAULT_wxUSE_SOCKETS
=yes
1581 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1582 DEFAULT_wxUSE_SERIAL
=yes
1583 DEFAULT_wxUSE_JOYSTICK
=yes
1584 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1585 DEFAULT_wxUSE_LONGLONG
=yes
1586 DEFAULT_wxUSE_GEOMETRY
=yes
1588 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1589 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1590 DEFAULT_wxUSE_POSTSCRIPT
=yes
1592 DEFAULT_wxUSE_X_RESOURCES
=no
1593 DEFAULT_wxUSE_CLIPBOARD
=yes
1594 DEFAULT_wxUSE_TOOLTIPS
=yes
1595 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1596 DEFAULT_wxUSE_DRAGIMAGE
=yes
1597 DEFAULT_wxUSE_SPLINES
=yes
1599 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1600 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1601 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1603 DEFAULT_wxUSE_PROLOGIO
=yes
1604 DEFAULT_wxUSE_RESOURCES
=yes
1605 DEFAULT_wxUSE_CONSTRAINTS
=yes
1606 DEFAULT_wxUSE_IPC
=yes
1607 DEFAULT_wxUSE_HELP
=yes
1608 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1609 DEFAULT_wxUSE_WXHTML_HELP
=yes
1610 DEFAULT_wxUSE_TREELAYOUT
=yes
1611 DEFAULT_wxUSE_METAFILE
=yes
1612 DEFAULT_wxUSE_MIMETYPE
=yes
1613 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1615 DEFAULT_wxUSE_COMMONDLGS
=yes
1616 DEFAULT_wxUSE_CHOICEDLG
=yes
1617 DEFAULT_wxUSE_COLOURDLG
=yes
1618 DEFAULT_wxUSE_DIRDLG
=yes
1619 DEFAULT_wxUSE_FILEDLG
=yes
1620 DEFAULT_wxUSE_FINDREPLDLG
=yes
1621 DEFAULT_wxUSE_FONTDLG
=yes
1622 DEFAULT_wxUSE_MSGDLG
=yes
1623 DEFAULT_wxUSE_NUMBERDLG
=yes
1624 DEFAULT_wxUSE_TEXTDLG
=yes
1625 DEFAULT_wxUSE_SPLASH
=yes
1626 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1627 DEFAULT_wxUSE_PROGRESSDLG
=yes
1628 DEFAULT_wxUSE_WIZARDDLG
=yes
1630 DEFAULT_wxUSE_MENUS
=yes
1631 DEFAULT_wxUSE_MINIFRAME
=yes
1632 DEFAULT_wxUSE_HTML
=yes
1633 DEFAULT_wxUSE_FILESYSTEM
=yes
1634 DEFAULT_wxUSE_FS_INET
=yes
1635 DEFAULT_wxUSE_FS_ZIP
=yes
1636 DEFAULT_wxUSE_BUSYINFO
=yes
1637 DEFAULT_wxUSE_ZIPSTREAM
=yes
1638 DEFAULT_wxUSE_VALIDATORS
=yes
1640 DEFAULT_wxUSE_ACCEL
=yes
1641 DEFAULT_wxUSE_BUTTON
=yes
1642 DEFAULT_wxUSE_BMPBUTTON
=yes
1643 DEFAULT_wxUSE_CALCTRL
=yes
1644 DEFAULT_wxUSE_CARET
=yes
1645 DEFAULT_wxUSE_CHECKBOX
=yes
1646 DEFAULT_wxUSE_CHECKLST
=yes
1647 DEFAULT_wxUSE_CHOICE
=yes
1648 DEFAULT_wxUSE_COMBOBOX
=yes
1649 DEFAULT_wxUSE_GAUGE
=yes
1650 DEFAULT_wxUSE_GRID
=yes
1651 DEFAULT_wxUSE_NEW_GRID
=yes
1652 DEFAULT_wxUSE_IMAGLIST
=yes
1653 DEFAULT_wxUSE_LISTBOX
=yes
1654 DEFAULT_wxUSE_LISTCTRL
=yes
1655 DEFAULT_wxUSE_NOTEBOOK
=yes
1656 DEFAULT_wxUSE_PROPSHEET
=yes
1657 DEFAULT_wxUSE_RADIOBOX
=yes
1658 DEFAULT_wxUSE_RADIOBTN
=yes
1659 DEFAULT_wxUSE_SASH
=yes
1660 DEFAULT_wxUSE_SCROLLBAR
=yes
1661 DEFAULT_wxUSE_SLIDER
=yes
1662 DEFAULT_wxUSE_SPINBTN
=yes
1663 DEFAULT_wxUSE_SPINCTRL
=yes
1664 DEFAULT_wxUSE_SPLITTER
=yes
1665 DEFAULT_wxUSE_STATBMP
=yes
1666 DEFAULT_wxUSE_STATBOX
=yes
1667 DEFAULT_wxUSE_STATLINE
=yes
1668 DEFAULT_wxUSE_STATTEXT
=yes
1669 DEFAULT_wxUSE_STATUSBAR
=yes
1670 DEFAULT_wxUSE_TABDIALOG
=no
1671 DEFAULT_wxUSE_TEXTCTRL
=yes
1672 DEFAULT_wxUSE_TOGGLEBTN
=yes
1673 DEFAULT_wxUSE_TOOLBAR
=yes
1674 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1675 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1676 DEFAULT_wxUSE_TREECTRL
=yes
1677 DEFAULT_wxUSE_POPUPWIN
=yes
1679 DEFAULT_wxUSE_UNICODE
=no
1680 DEFAULT_wxUSE_WCSRTOMBS
=no
1682 DEFAULT_wxUSE_IMAGE
=yes
1683 DEFAULT_wxUSE_GIF
=yes
1684 DEFAULT_wxUSE_PCX
=yes
1685 DEFAULT_wxUSE_PNM
=yes
1686 DEFAULT_wxUSE_XPM
=yes
1691 for toolkit
in `echo $ALL_TOOLKITS`; do
1692 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1693 if test "x$LINE" != x
; then
1694 has_toolkit_in_cache
=1
1695 eval "DEFAULT_$LINE"
1696 eval "CACHE_$toolkit=1"
1702 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1703 echo "configure:1704: checking for --enable-gui" >&5
1705 # Check whether --enable-gui or --disable-gui was given.
1706 if test "${enable_gui+set}" = set; then
1707 enableval
="$enable_gui"
1709 if test "$enableval" = yes; then
1710 ac_cv_use_gui
='wxUSE_GUI=yes'
1712 ac_cv_use_gui
='wxUSE_GUI=no'
1717 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1718 if test "x$LINE" != x
; then
1719 eval "DEFAULT_$LINE"
1724 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1729 eval "$ac_cv_use_gui"
1730 if test "$no_cache" != 1; then
1731 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1734 if test "$wxUSE_GUI" = yes; then
1735 echo "$ac_t""yes" 1>&6
1737 echo "$ac_t""no" 1>&6
1741 if test "$wxUSE_GUI" = "yes"; then
1744 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1745 echo "configure:1746: checking for --enable-universal" >&5
1747 # Check whether --enable-universal or --disable-universal was given.
1748 if test "${enable_universal+set}" = set; then
1749 enableval
="$enable_universal"
1751 if test "$enableval" = yes; then
1752 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1754 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1759 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1760 if test "x$LINE" != x
; then
1761 eval "DEFAULT_$LINE"
1766 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1771 eval "$ac_cv_use_universal"
1772 if test "$no_cache" != 1; then
1773 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1776 if test "$wxUSE_UNIVERSAL" = yes; then
1777 echo "$ac_t""yes" 1>&6
1779 echo "$ac_t""no" 1>&6
1782 # Check whether --with-gtk or --without-gtk was given.
1783 if test "${with_gtk+set}" = set; then
1785 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1788 # Check whether --with-motif or --without-motif was given.
1789 if test "${with_motif+set}" = set; then
1790 withval
="$with_motif"
1791 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1794 # Check whether --with-mac or --without-mac was given.
1795 if test "${with_mac+set}" = set; then
1797 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1800 # Check whether --with-wine or --without-wine was given.
1801 if test "${with_wine+set}" = set; then
1802 withval
="$with_wine"
1803 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1806 # Check whether --with-cygwin or --without-cygwin was given.
1807 if test "${with_cygwin+set}" = set; then
1808 withval
="$with_cygwin"
1809 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1812 # Check whether --with-mingw or --without-mingw was given.
1813 if test "${with_mingw+set}" = set; then
1814 withval
="$with_mingw"
1815 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --with-pm or --without-pm was given.
1819 if test "${with_pm+set}" = set; then
1821 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1824 # Check whether --with-mgl or --without-mgl was given.
1825 if test "${with_mgl+set}" = set; then
1827 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1831 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1832 if test "${enable_gtk2+set}" = set; then
1833 enableval
="$enable_gtk2"
1841 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1842 echo "configure:1843: checking for --with-libpng" >&5
1844 # Check whether --with-libpng or --without-libpng was given.
1845 if test "${with_libpng+set}" = set; then
1846 withval
="$with_libpng"
1848 if test "$withval" = yes; then
1849 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1850 elif test "$withval" = no
; then
1851 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1852 elif test "$withval" = sys
; then
1853 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1855 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1860 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1861 if test "x$LINE" != x
; then
1862 eval "DEFAULT_$LINE"
1867 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1872 eval "$ac_cv_use_libpng"
1873 if test "$no_cache" != 1; then
1874 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1877 if test "$wxUSE_LIBPNG" = yes; then
1878 echo "$ac_t""yes" 1>&6
1879 elif test "$wxUSE_LIBPNG" = no
; then
1880 echo "$ac_t""no" 1>&6
1881 elif test "$wxUSE_LIBPNG" = sys
; then
1882 echo "$ac_t""system version" 1>&6
1884 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1888 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1889 echo "configure:1890: checking for --with-libjpeg" >&5
1891 # Check whether --with-libjpeg or --without-libjpeg was given.
1892 if test "${with_libjpeg+set}" = set; then
1893 withval
="$with_libjpeg"
1895 if test "$withval" = yes; then
1896 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1897 elif test "$withval" = no
; then
1898 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1899 elif test "$withval" = sys
; then
1900 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1902 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1907 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1908 if test "x$LINE" != x
; then
1909 eval "DEFAULT_$LINE"
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1919 eval "$ac_cv_use_libjpeg"
1920 if test "$no_cache" != 1; then
1921 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1924 if test "$wxUSE_LIBJPEG" = yes; then
1925 echo "$ac_t""yes" 1>&6
1926 elif test "$wxUSE_LIBJPEG" = no
; then
1927 echo "$ac_t""no" 1>&6
1928 elif test "$wxUSE_LIBJPEG" = sys
; then
1929 echo "$ac_t""system version" 1>&6
1931 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1935 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1936 echo "configure:1937: checking for --with-libtiff" >&5
1938 # Check whether --with-libtiff or --without-libtiff was given.
1939 if test "${with_libtiff+set}" = set; then
1940 withval
="$with_libtiff"
1942 if test "$withval" = yes; then
1943 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1944 elif test "$withval" = no
; then
1945 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1946 elif test "$withval" = sys
; then
1947 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1949 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1954 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1955 if test "x$LINE" != x
; then
1956 eval "DEFAULT_$LINE"
1961 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1966 eval "$ac_cv_use_libtiff"
1967 if test "$no_cache" != 1; then
1968 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1971 if test "$wxUSE_LIBTIFF" = yes; then
1972 echo "$ac_t""yes" 1>&6
1973 elif test "$wxUSE_LIBTIFF" = no
; then
1974 echo "$ac_t""no" 1>&6
1975 elif test "$wxUSE_LIBTIFF" = sys
; then
1976 echo "$ac_t""system version" 1>&6
1978 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1982 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1983 echo "configure:1984: checking for --with-freetype" >&5
1985 # Check whether --with-freetype or --without-freetype was given.
1986 if test "${with_freetype+set}" = set; then
1987 withval
="$with_freetype"
1989 if test "$withval" = yes; then
1990 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1991 elif test "$withval" = no
; then
1992 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1993 elif test "$withval" = sys
; then
1994 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1996 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2001 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2002 if test "x$LINE" != x
; then
2003 eval "DEFAULT_$LINE"
2008 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2013 eval "$ac_cv_use_freetype"
2014 if test "$no_cache" != 1; then
2015 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2018 if test "$wxUSE_FREETYPE" = yes; then
2019 echo "$ac_t""yes" 1>&6
2020 elif test "$wxUSE_FREETYPE" = no
; then
2021 echo "$ac_t""no" 1>&6
2022 elif test "$wxUSE_FREETYPE" = sys
; then
2023 echo "$ac_t""system version" 1>&6
2025 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2029 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2030 echo "configure:2031: checking for --with-opengl" >&5
2032 # Check whether --with-opengl or --without-opengl was given.
2033 if test "${with_opengl+set}" = set; then
2034 withval
="$with_opengl"
2036 if test "$withval" = yes; then
2037 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2039 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2044 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2045 if test "x$LINE" != x
; then
2046 eval "DEFAULT_$LINE"
2051 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2056 eval "$ac_cv_use_opengl"
2057 if test "$no_cache" != 1; then
2058 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2061 if test "$wxUSE_OPENGL" = yes; then
2062 echo "$ac_t""yes" 1>&6
2064 echo "$ac_t""no" 1>&6
2071 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2072 echo "configure:2073: checking for --with-dmalloc" >&5
2074 # Check whether --with-dmalloc or --without-dmalloc was given.
2075 if test "${with_dmalloc+set}" = set; then
2076 withval
="$with_dmalloc"
2078 if test "$withval" = yes; then
2079 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2081 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2086 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2087 if test "x$LINE" != x
; then
2088 eval "DEFAULT_$LINE"
2093 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2098 eval "$ac_cv_use_dmalloc"
2099 if test "$no_cache" != 1; then
2100 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2103 if test "$wxUSE_DMALLOC" = yes; then
2104 echo "$ac_t""yes" 1>&6
2106 echo "$ac_t""no" 1>&6
2110 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2111 echo "configure:2112: checking for --with-regex" >&5
2113 # Check whether --with-regex or --without-regex was given.
2114 if test "${with_regex+set}" = set; then
2115 withval
="$with_regex"
2117 if test "$withval" = yes; then
2118 ac_cv_use_regex
='wxUSE_REGEX=yes'
2119 elif test "$withval" = no
; then
2120 ac_cv_use_regex
='wxUSE_REGEX=no'
2121 elif test "$withval" = sys
; then
2122 ac_cv_use_regex
='wxUSE_REGEX=sys'
2124 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2129 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2130 if test "x$LINE" != x
; then
2131 eval "DEFAULT_$LINE"
2136 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2141 eval "$ac_cv_use_regex"
2142 if test "$no_cache" != 1; then
2143 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2146 if test "$wxUSE_REGEX" = yes; then
2147 echo "$ac_t""yes" 1>&6
2148 elif test "$wxUSE_REGEX" = no
; then
2149 echo "$ac_t""no" 1>&6
2150 elif test "$wxUSE_REGEX" = sys
; then
2151 echo "$ac_t""system version" 1>&6
2153 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2157 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2158 echo "configure:2159: checking for --with-zlib" >&5
2160 # Check whether --with-zlib or --without-zlib was given.
2161 if test "${with_zlib+set}" = set; then
2162 withval
="$with_zlib"
2164 if test "$withval" = yes; then
2165 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2166 elif test "$withval" = no
; then
2167 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2168 elif test "$withval" = sys
; then
2169 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2171 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2176 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2177 if test "x$LINE" != x
; then
2178 eval "DEFAULT_$LINE"
2183 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2188 eval "$ac_cv_use_zlib"
2189 if test "$no_cache" != 1; then
2190 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2193 if test "$wxUSE_ZLIB" = yes; then
2194 echo "$ac_t""yes" 1>&6
2195 elif test "$wxUSE_ZLIB" = no
; then
2196 echo "$ac_t""no" 1>&6
2197 elif test "$wxUSE_ZLIB" = sys
; then
2198 echo "$ac_t""system version" 1>&6
2200 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2204 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2205 echo "configure:2206: checking for --with-odbc" >&5
2207 # Check whether --with-odbc or --without-odbc was given.
2208 if test "${with_odbc+set}" = set; then
2209 withval
="$with_odbc"
2211 if test "$withval" = yes; then
2212 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2214 ac_cv_use_odbc
='wxUSE_ODBC=no'
2219 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x
; then
2221 eval "DEFAULT_$LINE"
2226 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2231 eval "$ac_cv_use_odbc"
2232 if test "$no_cache" != 1; then
2233 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2236 if test "$wxUSE_ODBC" = yes; then
2237 echo "$ac_t""yes" 1>&6
2239 echo "$ac_t""no" 1>&6
2246 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --enable-shared" >&5
2249 # Check whether --enable-shared or --disable-shared was given.
2250 if test "${enable_shared+set}" = set; then
2251 enableval
="$enable_shared"
2253 if test "$enableval" = yes; then
2254 ac_cv_use_shared
='wxUSE_SHARED=yes'
2256 ac_cv_use_shared
='wxUSE_SHARED=no'
2261 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2273 eval "$ac_cv_use_shared"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_SHARED" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2285 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2286 echo "configure:2287: checking for --enable-burnt_name" >&5
2288 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2289 if test "${enable_burnt_name+set}" = set; then
2290 enableval
="$enable_burnt_name"
2292 if test "$enableval" = yes; then
2293 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2295 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2300 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2301 if test "x$LINE" != x
; then
2302 eval "DEFAULT_$LINE"
2307 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2312 eval "$ac_cv_use_burnt_name"
2313 if test "$no_cache" != 1; then
2314 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2317 if test "$wxUSE_BURNT_NAME" = yes; then
2318 echo "$ac_t""yes" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2325 echo "configure:2326: checking for --enable-optimise" >&5
2327 # Check whether --enable-optimise or --disable-optimise was given.
2328 if test "${enable_optimise+set}" = set; then
2329 enableval
="$enable_optimise"
2331 if test "$enableval" = yes; then
2332 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2334 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2339 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2340 if test "x$LINE" != x
; then
2341 eval "DEFAULT_$LINE"
2346 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2351 eval "$ac_cv_use_optimise"
2352 if test "$no_cache" != 1; then
2353 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2356 if test "$wxUSE_OPTIMISE" = yes; then
2357 echo "$ac_t""yes" 1>&6
2359 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2364 echo "configure:2365: checking for --enable-debug" >&5
2366 # Check whether --enable-debug or --disable-debug was given.
2367 if test "${enable_debug+set}" = set; then
2368 enableval
="$enable_debug"
2370 if test "$enableval" = yes; then
2371 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2373 ac_cv_use_debug
='wxUSE_DEBUG=no'
2378 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2379 if test "x$LINE" != x
; then
2380 eval "DEFAULT_$LINE"
2385 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2390 eval "$ac_cv_use_debug"
2391 if test "$no_cache" != 1; then
2392 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2395 if test "$wxUSE_DEBUG" = yes; then
2396 echo "$ac_t""yes" 1>&6
2398 echo "$ac_t""no" 1>&6
2402 if test "$wxUSE_DEBUG" = "yes"; then
2403 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2404 DEFAULT_wxUSE_DEBUG_INFO
=yes
2405 elif test "$wxUSE_DEBUG" = "no"; then
2406 DEFAULT_wxUSE_DEBUG_FLAG
=no
2407 DEFAULT_wxUSE_DEBUG_INFO
=no
2411 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2412 echo "configure:2413: checking for --enable-debug_flag" >&5
2414 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2415 if test "${enable_debug_flag+set}" = set; then
2416 enableval
="$enable_debug_flag"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2421 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2426 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2438 eval "$ac_cv_use_debug_flag"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_DEBUG_FLAG" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2451 echo "configure:2452: checking for --enable-debug_info" >&5
2453 # Check whether --enable-debug_info or --disable-debug_info was given.
2454 if test "${enable_debug_info+set}" = set; then
2455 enableval
="$enable_debug_info"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2460 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2465 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2477 eval "$ac_cv_use_debug_info"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_DEBUG_INFO" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2490 echo "configure:2491: checking for --enable-debug_gdb" >&5
2492 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2493 if test "${enable_debug_gdb+set}" = set; then
2494 enableval
="$enable_debug_gdb"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2499 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2504 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2516 eval "$ac_cv_use_debug_gdb"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_DEBUG_GDB" = yes; then
2522 echo "$ac_t""yes" 1>&6
2524 echo "$ac_t""no" 1>&6
2528 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2529 echo "configure:2530: checking for --enable-debug_cntxt" >&5
2531 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2532 if test "${enable_debug_cntxt+set}" = set; then
2533 enableval
="$enable_debug_cntxt"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2538 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2543 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2555 eval "$ac_cv_use_debug_cntxt"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2568 echo "configure:2569: checking for --enable-mem_tracing" >&5
2570 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2571 if test "${enable_mem_tracing+set}" = set; then
2572 enableval
="$enable_mem_tracing"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2577 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2582 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2594 eval "$ac_cv_use_mem_tracing"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_MEM_TRACING" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2607 echo "configure:2608: checking for --enable-profile" >&5
2609 # Check whether --enable-profile or --disable-profile was given.
2610 if test "${enable_profile+set}" = set; then
2611 enableval
="$enable_profile"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2616 ac_cv_use_profile
='wxUSE_PROFILE=no'
2621 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2633 eval "$ac_cv_use_profile"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_PROFILE" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2646 echo "configure:2647: checking for --enable-no_rtti" >&5
2648 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2649 if test "${enable_no_rtti+set}" = set; then
2650 enableval
="$enable_no_rtti"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2655 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2660 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2672 eval "$ac_cv_use_no_rtti"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_NO_RTTI" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2685 echo "configure:2686: checking for --enable-no_exceptions" >&5
2687 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2688 if test "${enable_no_exceptions+set}" = set; then
2689 enableval
="$enable_no_exceptions"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2694 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2699 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2711 eval "$ac_cv_use_no_exceptions"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2723 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2724 echo "configure:2725: checking for --enable-permissive" >&5
2726 # Check whether --enable-permissive or --disable-permissive was given.
2727 if test "${enable_permissive+set}" = set; then
2728 enableval
="$enable_permissive"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2733 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2738 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2750 eval "$ac_cv_use_permissive"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_PERMISSIVE" = yes; then
2756 echo "$ac_t""yes" 1>&6
2758 echo "$ac_t""no" 1>&6
2762 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2763 echo "configure:2764: checking for --enable-no_deps" >&5
2765 # Check whether --enable-no_deps or --disable-no_deps was given.
2766 if test "${enable_no_deps+set}" = set; then
2767 enableval
="$enable_no_deps"
2769 if test "$enableval" = yes; then
2770 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2772 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2777 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2789 eval "$ac_cv_use_no_deps"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_NO_DEPS" = yes; then
2795 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2802 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2803 echo "configure:2804: checking for --enable-compat20" >&5
2805 # Check whether --enable-compat20 or --disable-compat20 was given.
2806 if test "${enable_compat20+set}" = set; then
2807 enableval
="$enable_compat20"
2809 if test "$enableval" = yes; then
2810 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2812 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2817 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2829 eval "$ac_cv_use_compat20"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2834 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2835 echo "$ac_t""yes" 1>&6
2837 echo "$ac_t""no" 1>&6
2841 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2842 echo "configure:2843: checking for --enable-compat22" >&5
2844 # Check whether --enable-compat22 or --disable-compat22 was given.
2845 if test "${enable_compat22+set}" = set; then
2846 enableval
="$enable_compat22"
2848 if test "$enableval" = yes; then
2849 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2851 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2856 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2868 eval "$ac_cv_use_compat22"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2873 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2874 echo "$ac_t""yes" 1>&6
2876 echo "$ac_t""no" 1>&6
2882 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2883 echo "configure:2884: checking for --enable-intl" >&5
2885 # Check whether --enable-intl or --disable-intl was given.
2886 if test "${enable_intl+set}" = set; then
2887 enableval
="$enable_intl"
2889 if test "$enableval" = yes; then
2890 ac_cv_use_intl
='wxUSE_INTL=yes'
2892 ac_cv_use_intl
='wxUSE_INTL=no'
2897 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2898 if test "x$LINE" != x
; then
2899 eval "DEFAULT_$LINE"
2904 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2909 eval "$ac_cv_use_intl"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2914 if test "$wxUSE_INTL" = yes; then
2915 echo "$ac_t""yes" 1>&6
2917 echo "$ac_t""no" 1>&6
2921 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2922 echo "configure:2923: checking for --enable-config" >&5
2924 # Check whether --enable-config or --disable-config was given.
2925 if test "${enable_config+set}" = set; then
2926 enableval
="$enable_config"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_config
='wxUSE_CONFIG=yes'
2931 ac_cv_use_config
='wxUSE_CONFIG=no'
2936 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2948 eval "$ac_cv_use_config"
2949 if test "$no_cache" != 1; then
2950 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2953 if test "$wxUSE_CONFIG" = yes; then
2954 echo "$ac_t""yes" 1>&6
2956 echo "$ac_t""no" 1>&6
2961 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2962 echo "configure:2963: checking for --enable-sockets" >&5
2964 # Check whether --enable-sockets or --disable-sockets was given.
2965 if test "${enable_sockets+set}" = set; then
2966 enableval
="$enable_sockets"
2968 if test "$enableval" = yes; then
2969 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2971 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2976 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2977 if test "x$LINE" != x
; then
2978 eval "DEFAULT_$LINE"
2983 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2988 eval "$ac_cv_use_sockets"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2993 if test "$wxUSE_SOCKETS" = yes; then
2994 echo "$ac_t""yes" 1>&6
2996 echo "$ac_t""no" 1>&6
3001 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3002 echo "configure:3003: checking for --enable-ipc" >&5
3004 # Check whether --enable-ipc or --disable-ipc was given.
3005 if test "${enable_ipc+set}" = set; then
3006 enableval
="$enable_ipc"
3008 if test "$enableval" = yes; then
3009 ac_cv_use_ipc
='wxUSE_IPC=yes'
3011 ac_cv_use_ipc
='wxUSE_IPC=no'
3016 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3028 eval "$ac_cv_use_ipc"
3029 if test "$no_cache" != 1; then
3030 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3033 if test "$wxUSE_IPC" = yes; then
3034 echo "$ac_t""yes" 1>&6
3036 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3042 echo "configure:3043: checking for --enable-cmdline" >&5
3044 # Check whether --enable-cmdline or --disable-cmdline was given.
3045 if test "${enable_cmdline+set}" = set; then
3046 enableval
="$enable_cmdline"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3051 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3056 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3068 eval "$ac_cv_use_cmdline"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3081 echo "configure:3082: checking for --enable-datetime" >&5
3083 # Check whether --enable-datetime or --disable-datetime was given.
3084 if test "${enable_datetime+set}" = set; then
3085 enableval
="$enable_datetime"
3087 if test "$enableval" = yes; then
3088 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3090 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3095 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3107 eval "$ac_cv_use_datetime"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_DATETIME" = yes; then
3113 echo "$ac_t""yes" 1>&6
3115 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --enable-timedate" >&5
3122 # Check whether --enable-timedate or --disable-timedate was given.
3123 if test "${enable_timedate+set}" = set; then
3124 enableval
="$enable_timedate"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3129 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3134 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3146 eval "$ac_cv_use_timedate"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_TIMEDATE" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-stopwatch" >&5
3161 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3162 if test "${enable_stopwatch+set}" = set; then
3163 enableval
="$enable_stopwatch"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3168 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3173 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3185 eval "$ac_cv_use_stopwatch"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_STOPWATCH" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-dialupman" >&5
3200 # Check whether --enable-dialupman or --disable-dialupman was given.
3201 if test "${enable_dialupman+set}" = set; then
3202 enableval
="$enable_dialupman"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3207 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3212 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3224 eval "$ac_cv_use_dialupman"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-apple_ieee" >&5
3239 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3240 if test "${enable_apple_ieee+set}" = set; then
3241 enableval
="$enable_apple_ieee"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3246 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3251 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3263 eval "$ac_cv_use_apple_ieee"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_APPLE_IEEE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-timer" >&5
3278 # Check whether --enable-timer or --disable-timer was given.
3279 if test "${enable_timer+set}" = set; then
3280 enableval
="$enable_timer"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_timer
='wxUSE_TIMER=yes'
3285 ac_cv_use_timer
='wxUSE_TIMER=no'
3290 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3302 eval "$ac_cv_use_timer"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_TIMER" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-wave" >&5
3317 # Check whether --enable-wave or --disable-wave was given.
3318 if test "${enable_wave+set}" = set; then
3319 enableval
="$enable_wave"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_wave
='wxUSE_WAVE=yes'
3324 ac_cv_use_wave
='wxUSE_WAVE=no'
3329 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3341 eval "$ac_cv_use_wave"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_WAVE" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-fraction" >&5
3356 # Check whether --enable-fraction or --disable-fraction was given.
3357 if test "${enable_fraction+set}" = set; then
3358 enableval
="$enable_fraction"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3363 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3368 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3380 eval "$ac_cv_use_fraction"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_FRACTION" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3393 echo "configure:3394: checking for --enable-dynlib" >&5
3395 # Check whether --enable-dynlib or --disable-dynlib was given.
3396 if test "${enable_dynlib+set}" = set; then
3397 enableval
="$enable_dynlib"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3402 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3407 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3419 eval "$ac_cv_use_dynlib"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3432 echo "configure:3433: checking for --enable-longlong" >&5
3434 # Check whether --enable-longlong or --disable-longlong was given.
3435 if test "${enable_longlong+set}" = set; then
3436 enableval
="$enable_longlong"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3441 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3446 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3458 eval "$ac_cv_use_longlong"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_LONGLONG" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --enable-geometry" >&5
3473 # Check whether --enable-geometry or --disable-geometry was given.
3474 if test "${enable_geometry+set}" = set; then
3475 enableval
="$enable_geometry"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3480 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3485 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3497 eval "$ac_cv_use_geometry"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_GEOMETRY" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3510 echo "configure:3511: checking for --enable-log" >&5
3512 # Check whether --enable-log or --disable-log was given.
3513 if test "${enable_log+set}" = set; then
3514 enableval
="$enable_log"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_log
='wxUSE_LOG=yes'
3519 ac_cv_use_log
='wxUSE_LOG=no'
3524 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3536 eval "$ac_cv_use_log"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_LOG" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --enable-streams" >&5
3551 # Check whether --enable-streams or --disable-streams was given.
3552 if test "${enable_streams+set}" = set; then
3553 enableval
="$enable_streams"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3558 ac_cv_use_streams
='wxUSE_STREAMS=no'
3563 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3575 eval "$ac_cv_use_streams"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_STREAMS" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3588 echo "configure:3589: checking for --enable-file" >&5
3590 # Check whether --enable-file or --disable-file was given.
3591 if test "${enable_file+set}" = set; then
3592 enableval
="$enable_file"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_file
='wxUSE_FILE=yes'
3597 ac_cv_use_file
='wxUSE_FILE=no'
3602 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3614 eval "$ac_cv_use_file"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_FILE" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --enable-ffile" >&5
3629 # Check whether --enable-ffile or --disable-ffile was given.
3630 if test "${enable_ffile+set}" = set; then
3631 enableval
="$enable_ffile"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3636 ac_cv_use_ffile
='wxUSE_FFILE=no'
3641 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3653 eval "$ac_cv_use_ffile"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_FFILE" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3666 echo "configure:3667: checking for --enable-textfile" >&5
3668 # Check whether --enable-textfile or --disable-textfile was given.
3669 if test "${enable_textfile+set}" = set; then
3670 enableval
="$enable_textfile"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3675 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3680 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3692 eval "$ac_cv_use_textfile"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_TEXTFILE" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3705 echo "configure:3706: checking for --enable-fontmap" >&5
3707 # Check whether --enable-fontmap or --disable-fontmap was given.
3708 if test "${enable_fontmap+set}" = set; then
3709 enableval
="$enable_fontmap"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3714 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3719 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3731 eval "$ac_cv_use_fontmap"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_FONTMAP" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3744 echo "configure:3745: checking for --enable-unicode" >&5
3746 # Check whether --enable-unicode or --disable-unicode was given.
3747 if test "${enable_unicode+set}" = set; then
3748 enableval
="$enable_unicode"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3753 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3758 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3770 eval "$ac_cv_use_unicode"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_UNICODE" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3783 echo "configure:3784: checking for --enable-wcsrtombs" >&5
3785 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3786 if test "${enable_wcsrtombs+set}" = set; then
3787 enableval
="$enable_wcsrtombs"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3792 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3797 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3809 eval "$ac_cv_use_wcsrtombs"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_WCSRTOMBS" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3821 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3822 echo "configure:3823: checking for --enable-wxprintfv" >&5
3824 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3825 if test "${enable_wxprintfv+set}" = set; then
3826 enableval
="$enable_wxprintfv"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3831 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3836 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3848 eval "$ac_cv_use_wxprintfv"
3849 if test "$no_cache" != 1; then
3850 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3853 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3854 echo "$ac_t""yes" 1>&6
3856 echo "$ac_t""no" 1>&6
3860 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3861 echo "configure:3862: checking for --enable-std_iostreams" >&5
3863 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3864 if test "${enable_std_iostreams+set}" = set; then
3865 enableval
="$enable_std_iostreams"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3870 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3875 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3887 eval "$ac_cv_use_std_iostreams"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_STD_IOSTREAM" = yes; then
3893 echo "$ac_t""yes" 1>&6
3895 echo "$ac_t""no" 1>&6
3899 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3900 echo "configure:3901: checking for --enable-filesystem" >&5
3902 # Check whether --enable-filesystem or --disable-filesystem was given.
3903 if test "${enable_filesystem+set}" = set; then
3904 enableval
="$enable_filesystem"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3909 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3914 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x
; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3926 eval "$ac_cv_use_filesystem"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_FILESYSTEM" = yes; then
3932 echo "$ac_t""yes" 1>&6
3934 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --enable-fs_inet" >&5
3941 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3942 if test "${enable_fs_inet+set}" = set; then
3943 enableval
="$enable_fs_inet"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3948 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3953 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3965 eval "$ac_cv_use_fs_inet"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_FS_INET" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3977 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3978 echo "configure:3979: checking for --enable-fs_zip" >&5
3980 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3981 if test "${enable_fs_zip+set}" = set; then
3982 enableval
="$enable_fs_zip"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3987 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3992 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4004 eval "$ac_cv_use_fs_zip"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_FS_ZIP" = yes; then
4010 echo "$ac_t""yes" 1>&6
4012 echo "$ac_t""no" 1>&6
4016 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4017 echo "configure:4018: checking for --enable-zipstream" >&5
4019 # Check whether --enable-zipstream or --disable-zipstream was given.
4020 if test "${enable_zipstream+set}" = set; then
4021 enableval
="$enable_zipstream"
4023 if test "$enableval" = yes; then
4024 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4026 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4031 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x
; then
4033 eval "DEFAULT_$LINE"
4038 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4043 eval "$ac_cv_use_zipstream"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_ZIPSTREAM" = yes; then
4049 echo "$ac_t""yes" 1>&6
4051 echo "$ac_t""no" 1>&6
4056 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4057 echo "configure:4058: checking for --enable-catch_segvs" >&5
4059 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4060 if test "${enable_catch_segvs+set}" = set; then
4061 enableval
="$enable_catch_segvs"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4066 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4071 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4083 eval "$ac_cv_use_catch_segvs"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4089 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4095 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4096 echo "configure:4097: checking for --enable-snglinst" >&5
4098 # Check whether --enable-snglinst or --disable-snglinst was given.
4099 if test "${enable_snglinst+set}" = set; then
4100 enableval
="$enable_snglinst"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4105 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4110 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4122 eval "$ac_cv_use_snglinst"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4128 echo "$ac_t""yes" 1>&6
4130 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4136 echo "configure:4137: checking for --enable-mimetype" >&5
4138 # Check whether --enable-mimetype or --disable-mimetype was given.
4139 if test "${enable_mimetype+set}" = set; then
4140 enableval
="$enable_mimetype"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4145 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4150 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4162 eval "$ac_cv_use_mimetype"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_MIMETYPE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4175 echo "configure:4176: checking for --enable-system_options" >&5
4177 # Check whether --enable-system_options or --disable-system_options was given.
4178 if test "${enable_system_options+set}" = set; then
4179 enableval
="$enable_system_options"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4184 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4189 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4201 eval "$ac_cv_use_system_options"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4207 echo "$ac_t""yes" 1>&6
4209 echo "$ac_t""no" 1>&6
4215 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4216 echo "configure:4217: checking for --enable-threads" >&5
4218 # Check whether --enable-threads or --disable-threads was given.
4219 if test "${enable_threads+set}" = set; then
4220 enableval
="$enable_threads"
4222 if test "$enableval" = yes; then
4223 ac_cv_use_threads
='wxUSE_THREADS=yes'
4225 ac_cv_use_threads
='wxUSE_THREADS=no'
4230 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4231 if test "x$LINE" != x
; then
4232 eval "DEFAULT_$LINE"
4237 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4242 eval "$ac_cv_use_threads"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_THREADS" = yes; then
4248 echo "$ac_t""yes" 1>&6
4250 echo "$ac_t""no" 1>&6
4254 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4255 echo "configure:4256: checking for --enable-serial" >&5
4257 # Check whether --enable-serial or --disable-serial was given.
4258 if test "${enable_serial+set}" = set; then
4259 enableval
="$enable_serial"
4261 if test "$enableval" = yes; then
4262 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4264 ac_cv_use_serial
='wxUSE_SERIAL=no'
4269 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x
; then
4271 eval "DEFAULT_$LINE"
4276 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4281 eval "$ac_cv_use_serial"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4286 if test "$wxUSE_SERIAL" = yes; then
4287 echo "$ac_t""yes" 1>&6
4289 echo "$ac_t""no" 1>&6
4293 if test "$wxUSE_GUI" = "yes"; then
4297 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4298 echo "configure:4299: checking for --enable-docview" >&5
4300 # Check whether --enable-docview or --disable-docview was given.
4301 if test "${enable_docview+set}" = set; then
4302 enableval
="$enable_docview"
4304 if test "$enableval" = yes; then
4305 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4307 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4312 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x
; then
4314 eval "DEFAULT_$LINE"
4319 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4324 eval "$ac_cv_use_docview"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4330 echo "$ac_t""yes" 1>&6
4332 echo "$ac_t""no" 1>&6
4336 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4337 echo "configure:4338: checking for --enable-help" >&5
4339 # Check whether --enable-help or --disable-help was given.
4340 if test "${enable_help+set}" = set; then
4341 enableval
="$enable_help"
4343 if test "$enableval" = yes; then
4344 ac_cv_use_help
='wxUSE_HELP=yes'
4346 ac_cv_use_help
='wxUSE_HELP=no'
4351 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x
; then
4353 eval "DEFAULT_$LINE"
4358 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4363 eval "$ac_cv_use_help"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_HELP" = yes; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4375 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4376 echo "configure:4377: checking for --enable-mshtmlhelp" >&5
4378 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4379 if test "${enable_mshtmlhelp+set}" = set; then
4380 enableval
="$enable_mshtmlhelp"
4382 if test "$enableval" = yes; then
4383 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4385 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4390 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x
; then
4392 eval "DEFAULT_$LINE"
4397 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4402 eval "$ac_cv_use_mshtmlhelp"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_MS_HTML_HELP" = yes; then
4408 echo "$ac_t""yes" 1>&6
4410 echo "$ac_t""no" 1>&6
4414 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4415 echo "configure:4416: checking for --enable-html" >&5
4417 # Check whether --enable-html or --disable-html was given.
4418 if test "${enable_html+set}" = set; then
4419 enableval
="$enable_html"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_html
='wxUSE_HTML=yes'
4424 ac_cv_use_html
='wxUSE_HTML=no'
4429 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x
; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4441 eval "$ac_cv_use_html"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_HTML" = yes; then
4447 echo "$ac_t""yes" 1>&6
4449 echo "$ac_t""no" 1>&6
4453 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4454 echo "configure:4455: checking for --enable-htmlhelp" >&5
4456 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4457 if test "${enable_htmlhelp+set}" = set; then
4458 enableval
="$enable_htmlhelp"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4463 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4468 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4480 eval "$ac_cv_use_htmlhelp"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_WXHTML_HELP" = yes; then
4486 echo "$ac_t""yes" 1>&6
4488 echo "$ac_t""no" 1>&6
4492 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4493 echo "configure:4494: checking for --enable-constraints" >&5
4495 # Check whether --enable-constraints or --disable-constraints was given.
4496 if test "${enable_constraints+set}" = set; then
4497 enableval
="$enable_constraints"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4502 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4507 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4519 eval "$ac_cv_use_constraints"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4524 if test "$wxUSE_CONSTRAINTS" = yes; then
4525 echo "$ac_t""yes" 1>&6
4527 echo "$ac_t""no" 1>&6
4531 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4532 echo "configure:4533: checking for --enable-printarch" >&5
4534 # Check whether --enable-printarch or --disable-printarch was given.
4535 if test "${enable_printarch+set}" = set; then
4536 enableval
="$enable_printarch"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4541 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4546 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4558 eval "$ac_cv_use_printarch"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4564 echo "$ac_t""yes" 1>&6
4566 echo "$ac_t""no" 1>&6
4570 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4571 echo "configure:4572: checking for --enable-mdi" >&5
4573 # Check whether --enable-mdi or --disable-mdi was given.
4574 if test "${enable_mdi+set}" = set; then
4575 enableval
="$enable_mdi"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4580 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4585 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4597 eval "$ac_cv_use_mdi"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4603 echo "$ac_t""yes" 1>&6
4605 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --enable-loggui" >&5
4612 # Check whether --enable-loggui or --disable-loggui was given.
4613 if test "${enable_loggui+set}" = set; then
4614 enableval
="$enable_loggui"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4619 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4624 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4636 eval "$ac_cv_use_loggui"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_LOGGUI" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4648 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4649 echo "configure:4650: checking for --enable-logwin" >&5
4651 # Check whether --enable-logwin or --disable-logwin was given.
4652 if test "${enable_logwin+set}" = set; then
4653 enableval
="$enable_logwin"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4658 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4663 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4675 eval "$ac_cv_use_logwin"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_LOGWINDOW" = yes; then
4681 echo "$ac_t""yes" 1>&6
4683 echo "$ac_t""no" 1>&6
4688 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4689 echo "configure:4690: checking for --enable-postscript" >&5
4691 # Check whether --enable-postscript or --disable-postscript was given.
4692 if test "${enable_postscript+set}" = set; then
4693 enableval
="$enable_postscript"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4698 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4703 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4715 eval "$ac_cv_use_postscript"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_POSTSCRIPT" = yes; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4730 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4731 echo "configure:4732: checking for --enable-prologio" >&5
4733 # Check whether --enable-prologio or --disable-prologio was given.
4734 if test "${enable_prologio+set}" = set; then
4735 enableval
="$enable_prologio"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4740 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4745 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4757 eval "$ac_cv_use_prologio"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_PROLOGIO" = yes; then
4763 echo "$ac_t""yes" 1>&6
4765 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4770 echo "configure:4771: checking for --enable-resources" >&5
4772 # Check whether --enable-resources or --disable-resources was given.
4773 if test "${enable_resources+set}" = set; then
4774 enableval
="$enable_resources"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4779 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4784 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4796 eval "$ac_cv_use_resources"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_RESOURCES" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4810 echo "configure:4811: checking for --enable-xresources" >&5
4812 # Check whether --enable-xresources or --disable-xresources was given.
4813 if test "${enable_xresources+set}" = set; then
4814 enableval
="$enable_xresources"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4819 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4824 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4836 eval "$ac_cv_use_xresources"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_X_RESOURCES" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4850 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4851 echo "configure:4852: checking for --enable-clipboard" >&5
4853 # Check whether --enable-clipboard or --disable-clipboard was given.
4854 if test "${enable_clipboard+set}" = set; then
4855 enableval
="$enable_clipboard"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4860 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4865 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4877 eval "$ac_cv_use_clipboard"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4882 if test "$wxUSE_CLIPBOARD" = yes; then
4883 echo "$ac_t""yes" 1>&6
4885 echo "$ac_t""no" 1>&6
4889 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4890 echo "configure:4891: checking for --enable-dnd" >&5
4892 # Check whether --enable-dnd or --disable-dnd was given.
4893 if test "${enable_dnd+set}" = set; then
4894 enableval
="$enable_dnd"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4899 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4904 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4916 eval "$ac_cv_use_dnd"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4928 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4929 echo "configure:4930: checking for --enable-metafile" >&5
4931 # Check whether --enable-metafile or --disable-metafile was given.
4932 if test "${enable_metafile+set}" = set; then
4933 enableval
="$enable_metafile"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4938 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4943 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4955 eval "$ac_cv_use_metafile"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_METAFILE" = yes; then
4961 echo "$ac_t""yes" 1>&6
4963 echo "$ac_t""no" 1>&6
4968 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4969 echo "configure:4970: checking for --enable-treelayout" >&5
4971 # Check whether --enable-treelayout or --disable-treelayout was given.
4972 if test "${enable_treelayout+set}" = set; then
4973 enableval
="$enable_treelayout"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4978 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4983 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4995 eval "$ac_cv_use_treelayout"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_TREELAYOUT" = yes; then
5001 echo "$ac_t""yes" 1>&6
5003 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5010 echo "configure:5011: checking for --enable-controls" >&5
5012 # Check whether --enable-controls or --disable-controls was given.
5013 if test "${enable_controls+set}" = set; then
5014 enableval
="$enable_controls"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5019 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5024 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5036 eval "$ac_cv_use_controls"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_CONTROLS" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5048 if test "$wxUSE_CONTROLS" = "yes"; then
5049 DEFAULT_wxUSE_ACCEL
=yes
5050 DEFAULT_wxUSE_BMPBUTTON
=yes
5051 DEFAULT_wxUSE_BUTTON
=yes
5052 DEFAULT_wxUSE_CALCTRL
=no
5053 DEFAULT_wxUSE_CARET
=yes
5054 DEFAULT_wxUSE_COMBOBOX
=yes
5055 DEFAULT_wxUSE_CHECKBOX
=yes
5056 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5057 DEFAULT_wxUSE_CHOICE
=yes
5058 DEFAULT_wxUSE_GAUGE
=yes
5059 DEFAULT_wxUSE_GRID
=yes
5060 DEFAULT_wxUSE_NEW_GRID
=yes
5061 DEFAULT_wxUSE_IMAGLIST
=yes
5062 DEFAULT_wxUSE_LISTBOX
=yes
5063 DEFAULT_wxUSE_LISTCTRL
=yes
5064 DEFAULT_wxUSE_NOTEBOOK
=yes
5065 DEFAULT_wxUSE_PROPSHEET
=yes
5066 DEFAULT_wxUSE_RADIOBOX
=yes
5067 DEFAULT_wxUSE_RADIOBTN
=yes
5068 DEFAULT_wxUSE_SASH
=yes
5069 DEFAULT_wxUSE_SCROLLBAR
=yes
5070 DEFAULT_wxUSE_SLIDER
=yes
5071 DEFAULT_wxUSE_SPINBTN
=yes
5072 DEFAULT_wxUSE_SPINCTRL
=yes
5073 DEFAULT_wxUSE_SPLITTER
=yes
5074 DEFAULT_wxUSE_STATBMP
=yes
5075 DEFAULT_wxUSE_STATBOX
=yes
5076 DEFAULT_wxUSE_STATLINE
=yes
5077 DEFAULT_wxUSE_STATUSBAR
=yes
5078 DEFAULT_wxUSE_TAB_DIALOG
=yes
5079 DEFAULT_wxUSE_TOGGLEBTN
=yes
5080 DEFAULT_wxUSE_TOOLBAR
=yes
5081 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5082 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5083 DEFAULT_wxUSE_TOOLTIPS
=yes
5084 DEFAULT_wxUSE_TREECTRL
=yes
5085 DEFAULT_wxUSE_POPUPWIN
=yes
5086 elif test "$wxUSE_CONTROLS" = "no"; then
5087 DEFAULT_wxUSE_ACCEL
=no
5088 DEFAULT_wxUSE_BMPBUTTON
=no
5089 DEFAULT_wxUSE_BUTTON
=no
5090 DEFAULT_wxUSE_CALCTRL
=no
5091 DEFAULT_wxUSE_CARET
=no
5092 DEFAULT_wxUSE_COMBOBOX
=no
5093 DEFAULT_wxUSE_CHECKBOX
=no
5094 DEFAULT_wxUSE_CHECKLISTBOX
=no
5095 DEFAULT_wxUSE_CHOICE
=no
5096 DEFAULT_wxUSE_GAUGE
=no
5097 DEFAULT_wxUSE_GRID
=no
5098 DEFAULT_wxUSE_NEW_GRID
=no
5099 DEFAULT_wxUSE_IMAGLIST
=no
5100 DEFAULT_wxUSE_LISTBOX
=no
5101 DEFAULT_wxUSE_LISTCTRL
=no
5102 DEFAULT_wxUSE_NOTEBOOK
=no
5103 DEFAULT_wxUSE_PROPSHEET
=no
5104 DEFAULT_wxUSE_RADIOBOX
=no
5105 DEFAULT_wxUSE_RADIOBTN
=no
5106 DEFAULT_wxUSE_SASH
=no
5107 DEFAULT_wxUSE_SCROLLBAR
=no
5108 DEFAULT_wxUSE_SLIDER
=no
5109 DEFAULT_wxUSE_SPINBTN
=no
5110 DEFAULT_wxUSE_SPINCTRL
=no
5111 DEFAULT_wxUSE_SPLITTER
=no
5112 DEFAULT_wxUSE_STATBMP
=no
5113 DEFAULT_wxUSE_STATBOX
=no
5114 DEFAULT_wxUSE_STATLINE
=no
5115 DEFAULT_wxUSE_STATUSBAR
=no
5116 DEFAULT_wxUSE_TAB_DIALOG
=no
5117 DEFAULT_wxUSE_TOGGLEBTN
=no
5118 DEFAULT_wxUSE_TOOLBAR
=no
5119 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5120 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5121 DEFAULT_wxUSE_TOOLTIPS
=no
5122 DEFAULT_wxUSE_TREECTRL
=no
5123 DEFAULT_wxUSE_POPUPWIN
=no
5127 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5128 echo "configure:5129: checking for --enable-accel" >&5
5130 # Check whether --enable-accel or --disable-accel was given.
5131 if test "${enable_accel+set}" = set; then
5132 enableval
="$enable_accel"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5137 ac_cv_use_accel
='wxUSE_ACCEL=no'
5142 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5154 eval "$ac_cv_use_accel"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5159 if test "$wxUSE_ACCEL" = yes; then
5160 echo "$ac_t""yes" 1>&6
5162 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5167 echo "configure:5168: checking for --enable-button" >&5
5169 # Check whether --enable-button or --disable-button was given.
5170 if test "${enable_button+set}" = set; then
5171 enableval
="$enable_button"
5173 if test "$enableval" = yes; then
5174 ac_cv_use_button
='wxUSE_BUTTON=yes'
5176 ac_cv_use_button
='wxUSE_BUTTON=no'
5181 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x
; then
5183 eval "DEFAULT_$LINE"
5188 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5193 eval "$ac_cv_use_button"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_BUTTON" = yes; then
5199 echo "$ac_t""yes" 1>&6
5201 echo "$ac_t""no" 1>&6
5205 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5206 echo "configure:5207: checking for --enable-bmpbutton" >&5
5208 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5209 if test "${enable_bmpbutton+set}" = set; then
5210 enableval
="$enable_bmpbutton"
5212 if test "$enableval" = yes; then
5213 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5215 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5220 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x
; then
5222 eval "DEFAULT_$LINE"
5227 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5232 eval "$ac_cv_use_bmpbutton"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_BMPBUTTON" = yes; then
5238 echo "$ac_t""yes" 1>&6
5240 echo "$ac_t""no" 1>&6
5244 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5245 echo "configure:5246: checking for --enable-calendar" >&5
5247 # Check whether --enable-calendar or --disable-calendar was given.
5248 if test "${enable_calendar+set}" = set; then
5249 enableval
="$enable_calendar"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5254 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5259 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5271 eval "$ac_cv_use_calendar"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5276 if test "$wxUSE_CALCTRL" = yes; then
5277 echo "$ac_t""yes" 1>&6
5279 echo "$ac_t""no" 1>&6
5283 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5284 echo "configure:5285: checking for --enable-caret" >&5
5286 # Check whether --enable-caret or --disable-caret was given.
5287 if test "${enable_caret+set}" = set; then
5288 enableval
="$enable_caret"
5290 if test "$enableval" = yes; then
5291 ac_cv_use_caret
='wxUSE_CARET=yes'
5293 ac_cv_use_caret
='wxUSE_CARET=no'
5298 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x
; then
5300 eval "DEFAULT_$LINE"
5305 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5310 eval "$ac_cv_use_caret"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5315 if test "$wxUSE_CARET" = yes; then
5316 echo "$ac_t""yes" 1>&6
5318 echo "$ac_t""no" 1>&6
5322 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5323 echo "configure:5324: checking for --enable-checkbox" >&5
5325 # Check whether --enable-checkbox or --disable-checkbox was given.
5326 if test "${enable_checkbox+set}" = set; then
5327 enableval
="$enable_checkbox"
5329 if test "$enableval" = yes; then
5330 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5332 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5337 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x
; then
5339 eval "DEFAULT_$LINE"
5344 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5349 eval "$ac_cv_use_checkbox"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_CHECKBOX" = yes; then
5355 echo "$ac_t""yes" 1>&6
5357 echo "$ac_t""no" 1>&6
5361 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5362 echo "configure:5363: checking for --enable-checklst" >&5
5364 # Check whether --enable-checklst or --disable-checklst was given.
5365 if test "${enable_checklst+set}" = set; then
5366 enableval
="$enable_checklst"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5371 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5376 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5388 eval "$ac_cv_use_checklst"
5389 if test "$no_cache" != 1; then
5390 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5393 if test "$wxUSE_CHECKLST" = yes; then
5394 echo "$ac_t""yes" 1>&6
5396 echo "$ac_t""no" 1>&6
5400 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5401 echo "configure:5402: checking for --enable-choice" >&5
5403 # Check whether --enable-choice or --disable-choice was given.
5404 if test "${enable_choice+set}" = set; then
5405 enableval
="$enable_choice"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5410 ac_cv_use_choice
='wxUSE_CHOICE=no'
5415 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x
; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5427 eval "$ac_cv_use_choice"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5432 if test "$wxUSE_CHOICE" = yes; then
5433 echo "$ac_t""yes" 1>&6
5435 echo "$ac_t""no" 1>&6
5439 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5440 echo "configure:5441: checking for --enable-combobox" >&5
5442 # Check whether --enable-combobox or --disable-combobox was given.
5443 if test "${enable_combobox+set}" = set; then
5444 enableval
="$enable_combobox"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5449 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5454 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5466 eval "$ac_cv_use_combobox"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_COMBOBOX" = yes; then
5472 echo "$ac_t""yes" 1>&6
5474 echo "$ac_t""no" 1>&6
5478 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5479 echo "configure:5480: checking for --enable-gauge" >&5
5481 # Check whether --enable-gauge or --disable-gauge was given.
5482 if test "${enable_gauge+set}" = set; then
5483 enableval
="$enable_gauge"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5488 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5493 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5505 eval "$ac_cv_use_gauge"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5510 if test "$wxUSE_GAUGE" = yes; then
5511 echo "$ac_t""yes" 1>&6
5513 echo "$ac_t""no" 1>&6
5517 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5518 echo "configure:5519: checking for --enable-grid" >&5
5520 # Check whether --enable-grid or --disable-grid was given.
5521 if test "${enable_grid+set}" = set; then
5522 enableval
="$enable_grid"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_grid
='wxUSE_GRID=yes'
5527 ac_cv_use_grid
='wxUSE_GRID=no'
5532 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5544 eval "$ac_cv_use_grid"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_GRID" = yes; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5556 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5557 echo "configure:5558: checking for --enable-newgrid" >&5
5559 # Check whether --enable-newgrid or --disable-newgrid was given.
5560 if test "${enable_newgrid+set}" = set; then
5561 enableval
="$enable_newgrid"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5566 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5571 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5583 eval "$ac_cv_use_newgrid"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_NEW_GRID" = yes; then
5589 echo "$ac_t""yes" 1>&6
5591 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5596 echo "configure:5597: checking for --enable-imaglist" >&5
5598 # Check whether --enable-imaglist or --disable-imaglist was given.
5599 if test "${enable_imaglist+set}" = set; then
5600 enableval
="$enable_imaglist"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5605 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5610 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5622 eval "$ac_cv_use_imaglist"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_IMAGLIST" = yes; then
5628 echo "$ac_t""yes" 1>&6
5630 echo "$ac_t""no" 1>&6
5634 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5635 echo "configure:5636: checking for --enable-listbox" >&5
5637 # Check whether --enable-listbox or --disable-listbox was given.
5638 if test "${enable_listbox+set}" = set; then
5639 enableval
="$enable_listbox"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5644 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5649 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x
; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5661 eval "$ac_cv_use_listbox"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_LISTBOX" = yes; then
5667 echo "$ac_t""yes" 1>&6
5669 echo "$ac_t""no" 1>&6
5673 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5674 echo "configure:5675: checking for --enable-listctrl" >&5
5676 # Check whether --enable-listctrl or --disable-listctrl was given.
5677 if test "${enable_listctrl+set}" = set; then
5678 enableval
="$enable_listctrl"
5680 if test "$enableval" = yes; then
5681 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5683 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5688 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x
; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5700 eval "$ac_cv_use_listctrl"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5705 if test "$wxUSE_LISTCTRL" = yes; then
5706 echo "$ac_t""yes" 1>&6
5708 echo "$ac_t""no" 1>&6
5712 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5713 echo "configure:5714: checking for --enable-notebook" >&5
5715 # Check whether --enable-notebook or --disable-notebook was given.
5716 if test "${enable_notebook+set}" = set; then
5717 enableval
="$enable_notebook"
5719 if test "$enableval" = yes; then
5720 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5722 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5727 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x
; then
5729 eval "DEFAULT_$LINE"
5734 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5739 eval "$ac_cv_use_notebook"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5744 if test "$wxUSE_NOTEBOOK" = yes; then
5745 echo "$ac_t""yes" 1>&6
5747 echo "$ac_t""no" 1>&6
5751 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5752 echo "configure:5753: checking for --enable-propsheet" >&5
5754 # Check whether --enable-propsheet or --disable-propsheet was given.
5755 if test "${enable_propsheet+set}" = set; then
5756 enableval
="$enable_propsheet"
5758 if test "$enableval" = yes; then
5759 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5761 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5766 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x
; then
5768 eval "DEFAULT_$LINE"
5773 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5778 eval "$ac_cv_use_propsheet"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5783 if test "$wxUSE_PROPSHEET" = yes; then
5784 echo "$ac_t""yes" 1>&6
5786 echo "$ac_t""no" 1>&6
5790 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5791 echo "configure:5792: checking for --enable-radiobox" >&5
5793 # Check whether --enable-radiobox or --disable-radiobox was given.
5794 if test "${enable_radiobox+set}" = set; then
5795 enableval
="$enable_radiobox"
5797 if test "$enableval" = yes; then
5798 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5800 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5805 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x
; then
5807 eval "DEFAULT_$LINE"
5812 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5817 eval "$ac_cv_use_radiobox"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5822 if test "$wxUSE_RADIOBOX" = yes; then
5823 echo "$ac_t""yes" 1>&6
5825 echo "$ac_t""no" 1>&6
5829 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5830 echo "configure:5831: checking for --enable-radiobtn" >&5
5832 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5833 if test "${enable_radiobtn+set}" = set; then
5834 enableval
="$enable_radiobtn"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5839 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5844 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5856 eval "$ac_cv_use_radiobtn"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_RADIOBTN" = yes; then
5862 echo "$ac_t""yes" 1>&6
5864 echo "$ac_t""no" 1>&6
5868 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5869 echo "configure:5870: checking for --enable-sash" >&5
5871 # Check whether --enable-sash or --disable-sash was given.
5872 if test "${enable_sash+set}" = set; then
5873 enableval
="$enable_sash"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_sash
='wxUSE_SASH=yes'
5878 ac_cv_use_sash
='wxUSE_SASH=no'
5883 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5895 eval "$ac_cv_use_sash"
5896 if test "$no_cache" != 1; then
5897 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5900 if test "$wxUSE_SASH" = yes; then
5901 echo "$ac_t""yes" 1>&6
5903 echo "$ac_t""no" 1>&6
5907 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5908 echo "configure:5909: checking for --enable-scrollbar" >&5
5910 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5911 if test "${enable_scrollbar+set}" = set; then
5912 enableval
="$enable_scrollbar"
5914 if test "$enableval" = yes; then
5915 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5917 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5922 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x
; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5934 eval "$ac_cv_use_scrollbar"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_SCROLLBAR" = yes; then
5940 echo "$ac_t""yes" 1>&6
5942 echo "$ac_t""no" 1>&6
5946 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5947 echo "configure:5948: checking for --enable-slider" >&5
5949 # Check whether --enable-slider or --disable-slider was given.
5950 if test "${enable_slider+set}" = set; then
5951 enableval
="$enable_slider"
5953 if test "$enableval" = yes; then
5954 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5956 ac_cv_use_slider
='wxUSE_SLIDER=no'
5961 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x
; then
5963 eval "DEFAULT_$LINE"
5968 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5973 eval "$ac_cv_use_slider"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_SLIDER" = yes; then
5979 echo "$ac_t""yes" 1>&6
5981 echo "$ac_t""no" 1>&6
5985 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5986 echo "configure:5987: checking for --enable-spinbtn" >&5
5988 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5989 if test "${enable_spinbtn+set}" = set; then
5990 enableval
="$enable_spinbtn"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5995 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6000 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x
; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6012 eval "$ac_cv_use_spinbtn"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_SPINBTN" = yes; then
6018 echo "$ac_t""yes" 1>&6
6020 echo "$ac_t""no" 1>&6
6024 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6025 echo "configure:6026: checking for --enable-spinctrl" >&5
6027 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6028 if test "${enable_spinctrl+set}" = set; then
6029 enableval
="$enable_spinctrl"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6034 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6039 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6051 eval "$ac_cv_use_spinctrl"
6052 if test "$no_cache" != 1; then
6053 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6056 if test "$wxUSE_SPINCTRL" = yes; then
6057 echo "$ac_t""yes" 1>&6
6059 echo "$ac_t""no" 1>&6
6063 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6064 echo "configure:6065: checking for --enable-splitter" >&5
6066 # Check whether --enable-splitter or --disable-splitter was given.
6067 if test "${enable_splitter+set}" = set; then
6068 enableval
="$enable_splitter"
6070 if test "$enableval" = yes; then
6071 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6073 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6078 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6079 if test "x$LINE" != x
; then
6080 eval "DEFAULT_$LINE"
6085 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6090 eval "$ac_cv_use_splitter"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_SPLITTER" = yes; then
6096 echo "$ac_t""yes" 1>&6
6098 echo "$ac_t""no" 1>&6
6102 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6103 echo "configure:6104: checking for --enable-statbmp" >&5
6105 # Check whether --enable-statbmp or --disable-statbmp was given.
6106 if test "${enable_statbmp+set}" = set; then
6107 enableval
="$enable_statbmp"
6109 if test "$enableval" = yes; then
6110 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6112 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6117 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x
; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6129 eval "$ac_cv_use_statbmp"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_STATBMP" = yes; then
6135 echo "$ac_t""yes" 1>&6
6137 echo "$ac_t""no" 1>&6
6141 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6142 echo "configure:6143: checking for --enable-statbox" >&5
6144 # Check whether --enable-statbox or --disable-statbox was given.
6145 if test "${enable_statbox+set}" = set; then
6146 enableval
="$enable_statbox"
6148 if test "$enableval" = yes; then
6149 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6151 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6156 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x
; then
6158 eval "DEFAULT_$LINE"
6163 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6168 eval "$ac_cv_use_statbox"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6173 if test "$wxUSE_STATBOX" = yes; then
6174 echo "$ac_t""yes" 1>&6
6176 echo "$ac_t""no" 1>&6
6180 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6181 echo "configure:6182: checking for --enable-statline" >&5
6183 # Check whether --enable-statline or --disable-statline was given.
6184 if test "${enable_statline+set}" = set; then
6185 enableval
="$enable_statline"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6190 ac_cv_use_statline
='wxUSE_STATLINE=no'
6195 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x
; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6207 eval "$ac_cv_use_statline"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_STATLINE" = yes; then
6213 echo "$ac_t""yes" 1>&6
6215 echo "$ac_t""no" 1>&6
6219 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6220 echo "configure:6221: checking for --enable-stattext" >&5
6222 # Check whether --enable-stattext or --disable-stattext was given.
6223 if test "${enable_stattext+set}" = set; then
6224 enableval
="$enable_stattext"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6229 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6234 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6246 eval "$ac_cv_use_stattext"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_STATTEXT" = yes; then
6252 echo "$ac_t""yes" 1>&6
6254 echo "$ac_t""no" 1>&6
6258 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6259 echo "configure:6260: checking for --enable-statusbar" >&5
6261 # Check whether --enable-statusbar or --disable-statusbar was given.
6262 if test "${enable_statusbar+set}" = set; then
6263 enableval
="$enable_statusbar"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6268 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6273 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6285 eval "$ac_cv_use_statusbar"
6286 if test "$no_cache" != 1; then
6287 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6290 if test "$wxUSE_STATUSBAR" = yes; then
6291 echo "$ac_t""yes" 1>&6
6293 echo "$ac_t""no" 1>&6
6297 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6298 echo "configure:6299: checking for --enable-tabdialog" >&5
6300 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6301 if test "${enable_tabdialog+set}" = set; then
6302 enableval
="$enable_tabdialog"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6307 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6312 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6324 eval "$ac_cv_use_tabdialog"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_TABDIALOG" = yes; then
6330 echo "$ac_t""yes" 1>&6
6332 echo "$ac_t""no" 1>&6
6336 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6337 echo "configure:6338: checking for --enable-textctrl" >&5
6339 # Check whether --enable-textctrl or --disable-textctrl was given.
6340 if test "${enable_textctrl+set}" = set; then
6341 enableval
="$enable_textctrl"
6343 if test "$enableval" = yes; then
6344 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6346 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6351 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x
; then
6353 eval "DEFAULT_$LINE"
6358 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6363 eval "$ac_cv_use_textctrl"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6368 if test "$wxUSE_TEXTCTRL" = yes; then
6369 echo "$ac_t""yes" 1>&6
6371 echo "$ac_t""no" 1>&6
6375 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6376 echo "configure:6377: checking for --enable-togglebtn" >&5
6378 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6379 if test "${enable_togglebtn+set}" = set; then
6380 enableval
="$enable_togglebtn"
6382 if test "$enableval" = yes; then
6383 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6385 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6390 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x
; then
6392 eval "DEFAULT_$LINE"
6397 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6402 eval "$ac_cv_use_togglebtn"
6403 if test "$no_cache" != 1; then
6404 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6407 if test "$wxUSE_TOGGLEBTN" = yes; then
6408 echo "$ac_t""yes" 1>&6
6410 echo "$ac_t""no" 1>&6
6414 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6415 echo "configure:6416: checking for --enable-toolbar" >&5
6417 # Check whether --enable-toolbar or --disable-toolbar was given.
6418 if test "${enable_toolbar+set}" = set; then
6419 enableval
="$enable_toolbar"
6421 if test "$enableval" = yes; then
6422 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6424 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6429 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6441 eval "$ac_cv_use_toolbar"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_TOOLBAR" = yes; then
6447 echo "$ac_t""yes" 1>&6
6449 echo "$ac_t""no" 1>&6
6453 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6454 echo "configure:6455: checking for --enable-tbarnative" >&5
6456 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6457 if test "${enable_tbarnative+set}" = set; then
6458 enableval
="$enable_tbarnative"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6463 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6468 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6480 eval "$ac_cv_use_tbarnative"
6481 if test "$no_cache" != 1; then
6482 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6485 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6486 echo "$ac_t""yes" 1>&6
6488 echo "$ac_t""no" 1>&6
6492 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6493 echo "configure:6494: checking for --enable-tbarsmpl" >&5
6495 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6496 if test "${enable_tbarsmpl+set}" = set; then
6497 enableval
="$enable_tbarsmpl"
6499 if test "$enableval" = yes; then
6500 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6502 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6507 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6508 if test "x$LINE" != x
; then
6509 eval "DEFAULT_$LINE"
6514 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6519 eval "$ac_cv_use_tbarsmpl"
6520 if test "$no_cache" != 1; then
6521 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6524 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6525 echo "$ac_t""yes" 1>&6
6527 echo "$ac_t""no" 1>&6
6531 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6532 echo "configure:6533: checking for --enable-treectrl" >&5
6534 # Check whether --enable-treectrl or --disable-treectrl was given.
6535 if test "${enable_treectrl+set}" = set; then
6536 enableval
="$enable_treectrl"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6541 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6546 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x
; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6558 eval "$ac_cv_use_treectrl"
6559 if test "$no_cache" != 1; then
6560 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6563 if test "$wxUSE_TREECTRL" = yes; then
6564 echo "$ac_t""yes" 1>&6
6566 echo "$ac_t""no" 1>&6
6570 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6571 echo "configure:6572: checking for --enable-popupwin" >&5
6573 # Check whether --enable-popupwin or --disable-popupwin was given.
6574 if test "${enable_popupwin+set}" = set; then
6575 enableval
="$enable_popupwin"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6580 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6585 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x
; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6597 eval "$ac_cv_use_popupwin"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6602 if test "$wxUSE_POPUPWIN" = yes; then
6603 echo "$ac_t""yes" 1>&6
6605 echo "$ac_t""no" 1>&6
6611 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-commondlg" >&5
6614 # Check whether --enable-commondlg or --disable-commondlg was given.
6615 if test "${enable_commondlg+set}" = set; then
6616 enableval
="$enable_commondlg"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6621 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6626 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6638 eval "$ac_cv_use_commondlg"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_COMMONDLGS" = yes; then
6644 echo "$ac_t""yes" 1>&6
6646 echo "$ac_t""no" 1>&6
6650 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-choicedlg" >&5
6653 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6654 if test "${enable_choicedlg+set}" = set; then
6655 enableval
="$enable_choicedlg"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6660 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6665 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6677 eval "$ac_cv_use_choicedlg"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_CHOICEDLG" = yes; then
6683 echo "$ac_t""yes" 1>&6
6685 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-coldlg" >&5
6692 # Check whether --enable-coldlg or --disable-coldlg was given.
6693 if test "${enable_coldlg+set}" = set; then
6694 enableval
="$enable_coldlg"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6699 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6704 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6716 eval "$ac_cv_use_coldlg"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_COLOURDLG" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6728 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-filedlg" >&5
6731 # Check whether --enable-filedlg or --disable-filedlg was given.
6732 if test "${enable_filedlg+set}" = set; then
6733 enableval
="$enable_filedlg"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6738 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6743 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6755 eval "$ac_cv_use_filedlg"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_FILEDLG" = yes; then
6761 echo "$ac_t""yes" 1>&6
6763 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-filedlg" >&5
6770 # Check whether --enable-filedlg or --disable-filedlg was given.
6771 if test "${enable_filedlg+set}" = set; then
6772 enableval
="$enable_filedlg"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6777 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6782 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6794 eval "$ac_cv_use_filedlg"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_FINDREPLDLG" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6806 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-fontdlg" >&5
6809 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6810 if test "${enable_fontdlg+set}" = set; then
6811 enableval
="$enable_fontdlg"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6816 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6821 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6833 eval "$ac_cv_use_fontdlg"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_FONTDLG" = yes; then
6839 echo "$ac_t""yes" 1>&6
6841 echo "$ac_t""no" 1>&6
6845 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-dirdlg" >&5
6848 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6849 if test "${enable_dirdlg+set}" = set; then
6850 enableval
="$enable_dirdlg"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6855 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6860 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6872 eval "$ac_cv_use_dirdlg"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_DIRDLG" = yes; then
6878 echo "$ac_t""yes" 1>&6
6880 echo "$ac_t""no" 1>&6
6884 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-msgdlg" >&5
6887 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6888 if test "${enable_msgdlg+set}" = set; then
6889 enableval
="$enable_msgdlg"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6894 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6899 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6911 eval "$ac_cv_use_msgdlg"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_MSGDLG" = yes; then
6917 echo "$ac_t""yes" 1>&6
6919 echo "$ac_t""no" 1>&6
6923 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-numberdlg" >&5
6926 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6927 if test "${enable_numberdlg+set}" = set; then
6928 enableval
="$enable_numberdlg"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6933 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6938 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6950 eval "$ac_cv_use_numberdlg"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_NUMBERDLG" = yes; then
6956 echo "$ac_t""yes" 1>&6
6958 echo "$ac_t""no" 1>&6
6962 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-splash" >&5
6965 # Check whether --enable-splash or --disable-splash was given.
6966 if test "${enable_splash+set}" = set; then
6967 enableval
="$enable_splash"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6972 ac_cv_use_splash
='wxUSE_SPLASH=no'
6977 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x
; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6989 eval "$ac_cv_use_splash"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_SPLASH" = yes; then
6995 echo "$ac_t""yes" 1>&6
6997 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-textdlg" >&5
7004 # Check whether --enable-textdlg or --disable-textdlg was given.
7005 if test "${enable_textdlg+set}" = set; then
7006 enableval
="$enable_textdlg"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7011 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7016 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7028 eval "$ac_cv_use_textdlg"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_TEXTDLG" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-tipdlg" >&5
7043 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7044 if test "${enable_tipdlg+set}" = set; then
7045 enableval
="$enable_tipdlg"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7050 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7055 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7067 eval "$ac_cv_use_tipdlg"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_STARTUP_TIPS" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-progressdlg" >&5
7082 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7083 if test "${enable_progressdlg+set}" = set; then
7084 enableval
="$enable_progressdlg"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7089 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7094 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7106 eval "$ac_cv_use_progressdlg"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_PROGRESSDLG" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-wizarddlg" >&5
7121 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7122 if test "${enable_wizarddlg+set}" = set; then
7123 enableval
="$enable_wizarddlg"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7128 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7133 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7145 eval "$ac_cv_use_wizarddlg"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_WIZARDDLG" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7159 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --enable-menus" >&5
7162 # Check whether --enable-menus or --disable-menus was given.
7163 if test "${enable_menus+set}" = set; then
7164 enableval
="$enable_menus"
7166 if test "$enableval" = yes; then
7167 ac_cv_use_menus
='wxUSE_MENUS=yes'
7169 ac_cv_use_menus
='wxUSE_MENUS=no'
7174 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x
; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7186 eval "$ac_cv_use_menus"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_MENUS" = yes; then
7192 echo "$ac_t""yes" 1>&6
7194 echo "$ac_t""no" 1>&6
7198 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --enable-miniframe" >&5
7201 # Check whether --enable-miniframe or --disable-miniframe was given.
7202 if test "${enable_miniframe+set}" = set; then
7203 enableval
="$enable_miniframe"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7208 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7213 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7225 eval "$ac_cv_use_miniframe"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_MINIFRAME" = yes; then
7231 echo "$ac_t""yes" 1>&6
7233 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-tooltips" >&5
7240 # Check whether --enable-tooltips or --disable-tooltips was given.
7241 if test "${enable_tooltips+set}" = set; then
7242 enableval
="$enable_tooltips"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7247 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7252 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x
; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7264 eval "$ac_cv_use_tooltips"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_TOOLTIPS" = yes; then
7270 echo "$ac_t""yes" 1>&6
7272 echo "$ac_t""no" 1>&6
7276 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-splines" >&5
7279 # Check whether --enable-splines or --disable-splines was given.
7280 if test "${enable_splines+set}" = set; then
7281 enableval
="$enable_splines"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7286 ac_cv_use_splines
='wxUSE_SPLINES=no'
7291 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7303 eval "$ac_cv_use_splines"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_SPLINES" = yes; then
7309 echo "$ac_t""yes" 1>&6
7311 echo "$ac_t""no" 1>&6
7315 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7316 echo "configure:7317: checking for --enable-validators" >&5
7318 # Check whether --enable-validators or --disable-validators was given.
7319 if test "${enable_validators+set}" = set; then
7320 enableval
="$enable_validators"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7325 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7330 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7342 eval "$ac_cv_use_validators"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_VALIDATORS" = yes; then
7348 echo "$ac_t""yes" 1>&6
7350 echo "$ac_t""no" 1>&6
7354 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7355 echo "configure:7356: checking for --enable-busyinfo" >&5
7357 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7358 if test "${enable_busyinfo+set}" = set; then
7359 enableval
="$enable_busyinfo"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7364 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7369 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7381 eval "$ac_cv_use_busyinfo"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_BUSYINFO" = yes; then
7387 echo "$ac_t""yes" 1>&6
7389 echo "$ac_t""no" 1>&6
7393 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7394 echo "configure:7395: checking for --enable-joystick" >&5
7396 # Check whether --enable-joystick or --disable-joystick was given.
7397 if test "${enable_joystick+set}" = set; then
7398 enableval
="$enable_joystick"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7403 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7408 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x
; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7420 eval "$ac_cv_use_joystick"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7425 if test "$wxUSE_JOYSTICK" = yes; then
7426 echo "$ac_t""yes" 1>&6
7428 echo "$ac_t""no" 1>&6
7432 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7433 echo "configure:7434: checking for --enable-metafile" >&5
7435 # Check whether --enable-metafile or --disable-metafile was given.
7436 if test "${enable_metafile+set}" = set; then
7437 enableval
="$enable_metafile"
7439 if test "$enableval" = yes; then
7440 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7442 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7447 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x
; then
7449 eval "DEFAULT_$LINE"
7454 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7459 eval "$ac_cv_use_metafile"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_METAFILE" = yes; then
7465 echo "$ac_t""yes" 1>&6
7467 echo "$ac_t""no" 1>&6
7471 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7472 echo "configure:7473: checking for --enable-dragimage" >&5
7474 # Check whether --enable-dragimage or --disable-dragimage was given.
7475 if test "${enable_dragimage+set}" = set; then
7476 enableval
="$enable_dragimage"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7481 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7486 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7498 eval "$ac_cv_use_dragimage"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_DRAGIMAGE" = yes; then
7504 echo "$ac_t""yes" 1>&6
7506 echo "$ac_t""no" 1>&6
7512 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7513 echo "configure:7514: checking for --enable-image" >&5
7515 # Check whether --enable-image or --disable-image was given.
7516 if test "${enable_image+set}" = set; then
7517 enableval
="$enable_image"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_image
='wxUSE_IMAGE=yes'
7522 ac_cv_use_image
='wxUSE_IMAGE=no'
7527 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7539 eval "$ac_cv_use_image"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_IMAGE" = yes; then
7545 echo "$ac_t""yes" 1>&6
7547 echo "$ac_t""no" 1>&6
7551 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7552 echo "configure:7553: checking for --enable-gif" >&5
7554 # Check whether --enable-gif or --disable-gif was given.
7555 if test "${enable_gif+set}" = set; then
7556 enableval
="$enable_gif"
7558 if test "$enableval" = yes; then
7559 ac_cv_use_gif
='wxUSE_GIF=yes'
7561 ac_cv_use_gif
='wxUSE_GIF=no'
7566 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x
; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7578 eval "$ac_cv_use_gif"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_GIF" = yes; then
7584 echo "$ac_t""yes" 1>&6
7586 echo "$ac_t""no" 1>&6
7590 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7591 echo "configure:7592: checking for --enable-pcx" >&5
7593 # Check whether --enable-pcx or --disable-pcx was given.
7594 if test "${enable_pcx+set}" = set; then
7595 enableval
="$enable_pcx"
7597 if test "$enableval" = yes; then
7598 ac_cv_use_pcx
='wxUSE_PCX=yes'
7600 ac_cv_use_pcx
='wxUSE_PCX=no'
7605 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x
; then
7607 eval "DEFAULT_$LINE"
7612 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7617 eval "$ac_cv_use_pcx"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_PCX" = yes; then
7623 echo "$ac_t""yes" 1>&6
7625 echo "$ac_t""no" 1>&6
7629 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7630 echo "configure:7631: checking for --enable-pnm" >&5
7632 # Check whether --enable-pnm or --disable-pnm was given.
7633 if test "${enable_pnm+set}" = set; then
7634 enableval
="$enable_pnm"
7636 if test "$enableval" = yes; then
7637 ac_cv_use_pnm
='wxUSE_PNM=yes'
7639 ac_cv_use_pnm
='wxUSE_PNM=no'
7644 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x
; then
7646 eval "DEFAULT_$LINE"
7651 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7656 eval "$ac_cv_use_pnm"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_PNM" = yes; then
7662 echo "$ac_t""yes" 1>&6
7664 echo "$ac_t""no" 1>&6
7668 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7669 echo "configure:7670: checking for --enable-pnm" >&5
7671 # Check whether --enable-pnm or --disable-pnm was given.
7672 if test "${enable_pnm+set}" = set; then
7673 enableval
="$enable_pnm"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_pnm
='wxUSE_XPM=yes'
7678 ac_cv_use_pnm
='wxUSE_XPM=no'
7683 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7695 eval "$ac_cv_use_pnm"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_XPM" = yes; then
7701 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7710 echo "saving argument cache $wx_arg_cache_file"
7711 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7715 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7716 echo "configure:7717: checking for toolkit" >&5
7718 if test "$wxUSE_GUI" = "yes"; then
7720 if test "$USE_BEOS" = 1; then
7721 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7724 if test "$TOOLKIT_GIVEN" = 1; then
7725 for toolkit
in `echo $ALL_TOOLKITS`; do
7727 eval "value=\$${var}"
7728 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7731 for toolkit
in `echo $ALL_TOOLKITS`; do
7732 if test "$has_toolkit_in_cache" != 1; then
7733 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7735 var
=DEFAULT_wxUSE_
$toolkit
7737 eval "wxUSE_$toolkit=\$${var}"
7741 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7745 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7746 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7755 case "$NUM_TOOLKITS" in
7759 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7762 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7765 for toolkit
in `echo $ALL_TOOLKITS`; do
7767 eval "value=\$${var}"
7768 if test "x$value" != x
; then
7769 cache_var
=CACHE_
$toolkit
7770 eval "cache=\$${cache_var}"
7771 if test "$cache" = 1; then
7772 echo "$var=$value" >> ${wx_arg_cache_file}
7774 if test "$value" = 1; then
7775 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7776 echo "$ac_t""$toolkit_echo" 1>&6
7783 echo "$ac_t""base only" 1>&6
7787 cat > confcache
<<\EOF
7788 # This file is a shell script that caches the results of configure
7789 # tests run on this system so they can be shared between configure
7790 # scripts and configure runs. It is not useful on other systems.
7791 # If it contains results you don't want to keep, you may remove or edit it.
7793 # By default, configure uses ./config.cache as the cache file,
7794 # creating it if it does not exist already. You can give configure
7795 # the --cache-file=FILE option to use a different cache file; that is
7796 # what configure does when it calls configure scripts in
7797 # subdirectories, so they share the cache.
7798 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7799 # config.status only pays attention to the cache file if you give it the
7800 # --recheck option to rerun configure.
7803 # The following way of writing the cache mishandles newlines in values,
7804 # but we know of no workaround that is simple, portable, and efficient.
7805 # So, don't put newlines in cache variables' values.
7806 # Ultrix sh set writes to stderr and can't be redirected directly,
7807 # and sets the high bit in the cache file unless we assign to the vars.
7809 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7811 # `set' does not quote correctly, so add quotes (double-quote substitution
7812 # turns \\\\ into \\, and sed turns \\ into \).
7814 -e "s/'/'\\\\''/g" \
7815 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7818 # `set' quotes correctly as required by POSIX, so do not add quotes.
7819 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7822 if cmp -s $cache_file confcache
; then
7825 if test -w $cache_file; then
7826 echo "updating cache $cache_file"
7827 cat confcache
> $cache_file
7829 echo "not updating unwritable cache $cache_file"
7835 if test "$build" != "$host" ; then
7839 RANLIB
=$host_alias-ranlib
7840 DLLTOOL
=$host_alias-dlltool
7841 RESCOMP
=$host_alias-windres
7844 STRIP
=$host_alias-strip
7847 # Extract the first word of "gcc", so it can be a program name with args.
7848 set dummy gcc
; ac_word
=$2
7849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7850 echo "configure:7851: checking for $ac_word" >&5
7851 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7852 echo $ac_n "(cached) $ac_c" 1>&6
7854 if test -n "$CC"; then
7855 ac_cv_prog_CC
="$CC" # Let the user override the test.
7857 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7859 for ac_dir
in $ac_dummy; do
7860 test -z "$ac_dir" && ac_dir
=.
7861 if test -f $ac_dir/$ac_word; then
7870 if test -n "$CC"; then
7871 echo "$ac_t""$CC" 1>&6
7873 echo "$ac_t""no" 1>&6
7876 if test -z "$CC"; then
7877 # Extract the first word of "cc", so it can be a program name with args.
7878 set dummy cc
; ac_word
=$2
7879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7880 echo "configure:7881: checking for $ac_word" >&5
7881 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7882 echo $ac_n "(cached) $ac_c" 1>&6
7884 if test -n "$CC"; then
7885 ac_cv_prog_CC
="$CC" # Let the user override the test.
7887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7890 for ac_dir
in $ac_dummy; do
7891 test -z "$ac_dir" && ac_dir
=.
7892 if test -f $ac_dir/$ac_word; then
7893 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7894 ac_prog_rejected
=yes
7902 if test $ac_prog_rejected = yes; then
7903 # We found a bogon in the path, so make sure we never use it.
7904 set dummy
$ac_cv_prog_CC
7906 if test $# -gt 0; then
7907 # We chose a different compiler from the bogus one.
7908 # However, it has the same basename, so the bogon will be chosen
7909 # first if we set CC to just the basename; use the full file name.
7911 set dummy
"$ac_dir/$ac_word" "$@"
7919 if test -n "$CC"; then
7920 echo "$ac_t""$CC" 1>&6
7922 echo "$ac_t""no" 1>&6
7925 if test -z "$CC"; then
7926 case "`uname -s`" in
7928 # Extract the first word of "cl", so it can be a program name with args.
7929 set dummy cl
; ac_word
=$2
7930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7931 echo "configure:7932: checking for $ac_word" >&5
7932 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7933 echo $ac_n "(cached) $ac_c" 1>&6
7935 if test -n "$CC"; then
7936 ac_cv_prog_CC
="$CC" # Let the user override the test.
7938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7940 for ac_dir
in $ac_dummy; do
7941 test -z "$ac_dir" && ac_dir
=.
7942 if test -f $ac_dir/$ac_word; then
7951 if test -n "$CC"; then
7952 echo "$ac_t""$CC" 1>&6
7954 echo "$ac_t""no" 1>&6
7959 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7962 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7963 echo "configure:7964: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7967 ac_cpp
='$CPP $CPPFLAGS'
7968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7970 cross_compiling
=$ac_cv_prog_cc_cross
7972 cat > conftest.
$ac_ext << EOF
7974 #line 7975 "configure"
7975 #include "confdefs.h"
7979 if { (eval echo configure
:7980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7980 ac_cv_prog_cc_works
=yes
7981 # If we can't run a trivial program, we are probably using a cross compiler.
7982 if (.
/conftest
; exit) 2>/dev
/null
; then
7983 ac_cv_prog_cc_cross
=no
7985 ac_cv_prog_cc_cross
=yes
7988 echo "configure: failed program was:" >&5
7989 cat conftest.
$ac_ext >&5
7990 ac_cv_prog_cc_works
=no
7994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7995 ac_cpp
='$CPP $CPPFLAGS'
7996 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7997 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7998 cross_compiling
=$ac_cv_prog_cc_cross
8000 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8001 if test $ac_cv_prog_cc_works = no
; then
8002 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8004 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8005 echo "configure:8006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8006 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8007 cross_compiling
=$ac_cv_prog_cc_cross
8009 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8010 echo "configure:8011: checking whether we are using GNU C" >&5
8011 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8012 echo $ac_n "(cached) $ac_c" 1>&6
8014 cat > conftest.c
<<EOF
8019 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8026 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8028 if test $ac_cv_prog_gcc = yes; then
8034 ac_test_CFLAGS
="${CFLAGS+set}"
8035 ac_save_CFLAGS
="$CFLAGS"
8037 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8038 echo "configure:8039: checking whether ${CC-cc} accepts -g" >&5
8039 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8040 echo $ac_n "(cached) $ac_c" 1>&6
8042 echo 'void f(){}' > conftest.c
8043 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8052 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8053 if test "$ac_test_CFLAGS" = set; then
8054 CFLAGS
="$ac_save_CFLAGS"
8055 elif test $ac_cv_prog_cc_g = yes; then
8056 if test "$GCC" = yes; then
8062 if test "$GCC" = yes; then
8070 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8072 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8073 echo "configure:8074: checking how to run the C preprocessor" >&5
8074 # On Suns, sometimes $CPP names a directory.
8075 if test -n "$CPP" && test -d "$CPP"; then
8078 if test -z "$CPP"; then
8079 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8080 echo $ac_n "(cached) $ac_c" 1>&6
8082 # This must be in double quotes, not single quotes, because CPP may get
8083 # substituted into the Makefile and "${CC-cc}" will confuse make.
8085 # On the NeXT, cc -E runs the code through the compiler's parser,
8086 # not just through cpp.
8087 cat > conftest.
$ac_ext <<EOF
8088 #line 8089 "configure"
8089 #include "confdefs.h"
8093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8094 { (eval echo configure
:8095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8096 if test -z "$ac_err"; then
8100 echo "configure: failed program was:" >&5
8101 cat conftest.
$ac_ext >&5
8103 CPP
="${CC-cc} -E -traditional-cpp"
8104 cat > conftest.
$ac_ext <<EOF
8105 #line 8106 "configure"
8106 #include "confdefs.h"
8110 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8111 { (eval echo configure
:8112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8112 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8113 if test -z "$ac_err"; then
8117 echo "configure: failed program was:" >&5
8118 cat conftest.
$ac_ext >&5
8120 CPP
="${CC-cc} -nologo -E"
8121 cat > conftest.
$ac_ext <<EOF
8122 #line 8123 "configure"
8123 #include "confdefs.h"
8127 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8128 { (eval echo configure
:8129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8129 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8130 if test -z "$ac_err"; then
8134 echo "configure: failed program was:" >&5
8135 cat conftest.
$ac_ext >&5
8144 ac_cv_prog_CPP
="$CPP"
8146 CPP
="$ac_cv_prog_CPP"
8148 ac_cv_prog_CPP
="$CPP"
8150 echo "$ac_t""$CPP" 1>&6
8153 if test $ac_cv_prog_gcc = yes; then
8154 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8155 echo "configure:8156: checking whether ${CC-cc} needs -traditional" >&5
8156 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8157 echo $ac_n "(cached) $ac_c" 1>&6
8159 ac_pattern
="Autoconf.*'x'"
8160 cat > conftest.
$ac_ext <<EOF
8161 #line 8162 "configure"
8162 #include "confdefs.h"
8166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8167 egrep "$ac_pattern" >/dev
/null
2>&1; then
8169 ac_cv_prog_gcc_traditional
=yes
8172 ac_cv_prog_gcc_traditional
=no
8177 if test $ac_cv_prog_gcc_traditional = no
; then
8178 cat > conftest.
$ac_ext <<EOF
8179 #line 8180 "configure"
8180 #include "confdefs.h"
8184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8185 egrep "$ac_pattern" >/dev
/null
2>&1; then
8187 ac_cv_prog_gcc_traditional
=yes
8194 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8195 if test $ac_cv_prog_gcc_traditional = yes; then
8196 CC
="$CC -traditional"
8203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8204 ac_cpp
='$CXXCPP $CPPFLAGS'
8205 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8206 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8207 cross_compiling
=$ac_cv_prog_cxx_cross
8210 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8212 # Extract the first word of "$ac_prog", so it can be a program name with args.
8213 set dummy
$ac_prog; ac_word
=$2
8214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8215 echo "configure:8216: checking for $ac_word" >&5
8216 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8217 echo $ac_n "(cached) $ac_c" 1>&6
8219 if test -n "$CXX"; then
8220 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8224 for ac_dir
in $ac_dummy; do
8225 test -z "$ac_dir" && ac_dir
=.
8226 if test -f $ac_dir/$ac_word; then
8227 ac_cv_prog_CXX
="$ac_prog"
8234 CXX
="$ac_cv_prog_CXX"
8235 if test -n "$CXX"; then
8236 echo "$ac_t""$CXX" 1>&6
8238 echo "$ac_t""no" 1>&6
8241 test -n "$CXX" && break
8243 test -n "$CXX" || CXX
="gcc"
8246 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8247 echo "configure:8248: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8251 ac_cpp
='$CXXCPP $CPPFLAGS'
8252 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8253 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8254 cross_compiling
=$ac_cv_prog_cxx_cross
8256 cat > conftest.
$ac_ext << EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8261 int main(){return(0);}
8263 if { (eval echo configure
:8264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8264 ac_cv_prog_cxx_works
=yes
8265 # If we can't run a trivial program, we are probably using a cross compiler.
8266 if (.
/conftest
; exit) 2>/dev
/null
; then
8267 ac_cv_prog_cxx_cross
=no
8269 ac_cv_prog_cxx_cross
=yes
8272 echo "configure: failed program was:" >&5
8273 cat conftest.
$ac_ext >&5
8274 ac_cv_prog_cxx_works
=no
8278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8279 ac_cpp
='$CXXCPP $CPPFLAGS'
8280 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8281 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8282 cross_compiling
=$ac_cv_prog_cxx_cross
8284 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8285 if test $ac_cv_prog_cxx_works = no
; then
8286 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8288 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8289 echo "configure:8290: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8290 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8291 cross_compiling
=$ac_cv_prog_cxx_cross
8293 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8294 echo "configure:8295: checking whether we are using GNU C++" >&5
8295 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 cat > conftest.C
<<EOF
8303 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8310 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8312 if test $ac_cv_prog_gxx = yes; then
8318 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8319 ac_save_CXXFLAGS
="$CXXFLAGS"
8321 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8322 echo "configure:8323: checking whether ${CXX-g++} accepts -g" >&5
8323 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8324 echo $ac_n "(cached) $ac_c" 1>&6
8326 echo 'void f(){}' > conftest.cc
8327 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8328 ac_cv_prog_cxx_g
=yes
8336 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8337 if test "$ac_test_CXXFLAGS" = set; then
8338 CXXFLAGS
="$ac_save_CXXFLAGS"
8339 elif test $ac_cv_prog_cxx_g = yes; then
8340 if test "$GXX" = yes; then
8346 if test "$GXX" = yes; then
8354 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8355 echo "configure:8356: checking how to run the C++ preprocessor" >&5
8356 if test -z "$CXXCPP"; then
8357 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8358 echo $ac_n "(cached) $ac_c" 1>&6
8361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8362 ac_cpp
='$CXXCPP $CPPFLAGS'
8363 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8364 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8365 cross_compiling
=$ac_cv_prog_cxx_cross
8366 CXXCPP
="${CXX-g++} -E"
8367 cat > conftest.
$ac_ext <<EOF
8368 #line 8369 "configure"
8369 #include "confdefs.h"
8372 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8373 { (eval echo configure
:8374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8374 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8375 if test -z "$ac_err"; then
8379 echo "configure: failed program was:" >&5
8380 cat conftest.
$ac_ext >&5
8385 ac_cv_prog_CXXCPP
="$CXXCPP"
8387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8388 ac_cpp
='$CXXCPP $CPPFLAGS'
8389 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8390 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8391 cross_compiling
=$ac_cv_prog_cxx_cross
8394 CXXCPP
="$ac_cv_prog_CXXCPP"
8395 echo "$ac_t""$CXXCPP" 1>&6
8398 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8402 ac_cpp
='$CPP $CPPFLAGS'
8403 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8404 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8405 cross_compiling
=$ac_cv_prog_cc_cross
8408 # Extract the first word of "ranlib", so it can be a program name with args.
8409 set dummy ranlib
; ac_word
=$2
8410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8411 echo "configure:8412: checking for $ac_word" >&5
8412 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8415 if test -n "$RANLIB"; then
8416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8420 for ac_dir
in $ac_dummy; do
8421 test -z "$ac_dir" && ac_dir
=.
8422 if test -f $ac_dir/$ac_word; then
8423 ac_cv_prog_RANLIB
="ranlib"
8428 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8431 RANLIB
="$ac_cv_prog_RANLIB"
8432 if test -n "$RANLIB"; then
8433 echo "$ac_t""$RANLIB" 1>&6
8435 echo "$ac_t""no" 1>&6
8439 # Extract the first word of "ar", so it can be a program name with args.
8440 set dummy
ar; ac_word
=$2
8441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8442 echo "configure:8443: checking for $ac_word" >&5
8443 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8444 echo $ac_n "(cached) $ac_c" 1>&6
8446 if test -n "$AR"; then
8447 ac_cv_prog_AR
="$AR" # Let the user override the test.
8449 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8451 for ac_dir
in $ac_dummy; do
8452 test -z "$ac_dir" && ac_dir
=.
8453 if test -f $ac_dir/$ac_word; then
8459 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8463 if test -n "$AR"; then
8464 echo "$ac_t""$AR" 1>&6
8466 echo "$ac_t""no" 1>&6
8470 # Find a good install program. We prefer a C program (faster),
8471 # so one script is as good as another. But avoid the broken or
8472 # incompatible versions:
8473 # SysV /etc/install, /usr/sbin/install
8474 # SunOS /usr/etc/install
8475 # IRIX /sbin/install
8477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8480 # ./install, which can be erroneously created by make from ./install.sh.
8481 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8482 echo "configure:8483: checking for a BSD compatible install" >&5
8483 if test -z "$INSTALL"; then
8484 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8485 echo $ac_n "(cached) $ac_c" 1>&6
8487 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8488 for ac_dir
in $PATH; do
8489 # Account for people who put trailing slashes in PATH elements.
8491 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8493 # OSF1 and SCO ODT 3.0 have their own names for install.
8494 # Don't use installbsd from OSF since it installs stuff as root
8496 for ac_prog
in ginstall scoinst
install; do
8497 if test -f $ac_dir/$ac_prog; then
8498 if test $ac_prog = install &&
8499 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8500 # AIX install. It has an incompatible calling convention.
8503 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8514 if test "${ac_cv_path_install+set}" = set; then
8515 INSTALL
="$ac_cv_path_install"
8517 # As a last resort, use the slow shell script. We don't cache a
8518 # path for INSTALL within a source directory, because that will
8519 # break other packages using the cache if that directory is
8520 # removed, or if the path is relative.
8521 INSTALL
="$ac_install_sh"
8524 echo "$ac_t""$INSTALL" 1>&6
8526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8527 # It thinks the first close brace ends the variable substitution.
8528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8532 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8535 # Extract the first word of "strip", so it can be a program name with args.
8536 set dummy strip
; ac_word
=$2
8537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8538 echo "configure:8539: checking for $ac_word" >&5
8539 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8542 if test -n "$STRIP"; then
8543 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8545 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8547 for ac_dir
in $ac_dummy; do
8548 test -z "$ac_dir" && ac_dir
=.
8549 if test -f $ac_dir/$ac_word; then
8550 ac_cv_prog_STRIP
="strip"
8555 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8558 STRIP
="$ac_cv_prog_STRIP"
8559 if test -n "$STRIP"; then
8560 echo "$ac_t""$STRIP" 1>&6
8562 echo "$ac_t""no" 1>&6
8566 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8567 echo "configure:8568: checking make for VPATH support" >&5
8568 cat - << EOF > confMake
8574 if test ! -d sub
; then
8577 echo dummy
> sub
/file
8578 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8580 rm -f sub
/file check final_file confMake
8582 if test "$RESULT" = 0; then
8583 echo "$ac_t""yes" 1>&6
8585 echo "$ac_t""no" 1>&6
8586 { echo "configure: error:
8587 You need a make-utility that is able to use the variable
8589 If your version of make does not support VPATH correctly,
8590 please install GNU-make (possibly as gmake), and start
8591 configure with the following command:
8592 export MAKE=gmake; ./configure for sh-type shells
8593 setenv MAKE gmake; ./configure for csh-type shells
8594 Also please do remember to use gmake in this case every time
8595 you are trying to compile.
8599 for ac_prog
in 'bison -y' byacc
8601 # Extract the first word of "$ac_prog", so it can be a program name with args.
8602 set dummy
$ac_prog; ac_word
=$2
8603 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8604 echo "configure:8605: checking for $ac_word" >&5
8605 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8606 echo $ac_n "(cached) $ac_c" 1>&6
8608 if test -n "$YACC"; then
8609 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8611 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8613 for ac_dir
in $ac_dummy; do
8614 test -z "$ac_dir" && ac_dir
=.
8615 if test -f $ac_dir/$ac_word; then
8616 ac_cv_prog_YACC
="$ac_prog"
8623 YACC
="$ac_cv_prog_YACC"
8624 if test -n "$YACC"; then
8625 echo "$ac_t""$YACC" 1>&6
8627 echo "$ac_t""no" 1>&6
8630 test -n "$YACC" && break
8632 test -n "$YACC" || YACC
="yacc"
8635 # Extract the first word of "flex", so it can be a program name with args.
8636 set dummy flex
; ac_word
=$2
8637 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8638 echo "configure:8639: checking for $ac_word" >&5
8639 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8640 echo $ac_n "(cached) $ac_c" 1>&6
8642 if test -n "$LEX"; then
8643 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8645 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8647 for ac_dir
in $ac_dummy; do
8648 test -z "$ac_dir" && ac_dir
=.
8649 if test -f $ac_dir/$ac_word; then
8650 ac_cv_prog_LEX
="flex"
8655 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8658 LEX
="$ac_cv_prog_LEX"
8659 if test -n "$LEX"; then
8660 echo "$ac_t""$LEX" 1>&6
8662 echo "$ac_t""no" 1>&6
8665 if test -z "$LEXLIB"
8671 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8672 echo "configure:8673: checking for yywrap in -l$ac_lib" >&5
8673 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8675 echo $ac_n "(cached) $ac_c" 1>&6
8677 ac_save_LIBS
="$LIBS"
8678 LIBS
="-l$ac_lib $LIBS"
8679 cat > conftest.
$ac_ext <<EOF
8680 #line 8681 "configure"
8681 #include "confdefs.h"
8682 /* Override any gcc2 internal prototype to avoid an error. */
8683 /* We use char because int might match the return type of a gcc2
8684 builtin and then its argument prototype would still apply. */
8691 if { (eval echo configure
:8692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8693 eval "ac_cv_lib_$ac_lib_var=yes"
8695 echo "configure: failed program was:" >&5
8696 cat conftest.
$ac_ext >&5
8698 eval "ac_cv_lib_$ac_lib_var=no"
8701 LIBS
="$ac_save_LIBS"
8704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8705 echo "$ac_t""yes" 1>&6
8708 echo "$ac_t""no" 1>&6
8714 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8715 echo "configure:8716: checking whether ln -s works" >&5
8716 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8717 echo $ac_n "(cached) $ac_c" 1>&6
8720 if ln -s X conftestdata
2>/dev
/null
8723 ac_cv_prog_LN_S
="ln -s"
8728 LN_S
="$ac_cv_prog_LN_S"
8729 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8730 echo "$ac_t""yes" 1>&6
8732 echo "$ac_t""no" 1>&6
8738 /usr/local/include \
8740 /usr/Motif-1.2/include \
8741 /usr/Motif-2.1/include \
8743 /usr/include/Motif1.2 \
8744 /opt/xpm/include/X11 \
8745 /opt/GBxpm/include/ \
8746 /opt/GBxpm/X11/include/ \
8748 /usr/Motif1.2/include \
8750 /usr/openwin/include \
8754 /usr/X11R6/include \
8755 /usr/X11R6.4/include \
8756 /usr/X11R5/include \
8757 /usr/X11R4/include \
8759 /usr/include/X11R6 \
8760 /usr/include/X11R5 \
8761 /usr/include/X11R4 \
8763 /usr/local/X11R6/include \
8764 /usr/local/X11R5/include \
8765 /usr/local/X11R4/include \
8767 /usr/local/include/X11R6 \
8768 /usr/local/include/X11R5 \
8769 /usr/local/include/X11R4 \
8773 /usr/local/X11/include \
8774 /usr/local/include/X11 \
8778 /usr/XFree86/include/X11 \
8780 X:/XFree86/include \
8781 X:/XFree86/include/X11 \
8784 /usr/local/include/gtk \
8786 /usr/local/include/glib \
8789 /usr/local/include/qt \
8791 /usr/include/windows \
8793 /usr/local/include/wine \
8795 /usr/unsupported/include \
8796 /usr/athena/include \
8797 /usr/local/x11r5/include \
8798 /usr/lpp/Xamples/include \
8800 /usr/openwin/share/include \
8804 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8807 cat > confcache
<<\EOF
8808 # This file is a shell script that caches the results of configure
8809 # tests run on this system so they can be shared between configure
8810 # scripts and configure runs. It is not useful on other systems.
8811 # If it contains results you don't want to keep, you may remove or edit it.
8813 # By default, configure uses ./config.cache as the cache file,
8814 # creating it if it does not exist already. You can give configure
8815 # the --cache-file=FILE option to use a different cache file; that is
8816 # what configure does when it calls configure scripts in
8817 # subdirectories, so they share the cache.
8818 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8819 # config.status only pays attention to the cache file if you give it the
8820 # --recheck option to rerun configure.
8823 # The following way of writing the cache mishandles newlines in values,
8824 # but we know of no workaround that is simple, portable, and efficient.
8825 # So, don't put newlines in cache variables' values.
8826 # Ultrix sh set writes to stderr and can't be redirected directly,
8827 # and sets the high bit in the cache file unless we assign to the vars.
8829 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8831 # `set' does not quote correctly, so add quotes (double-quote substitution
8832 # turns \\\\ into \\, and sed turns \\ into \).
8834 -e "s/'/'\\\\''/g" \
8835 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8838 # `set' quotes correctly as required by POSIX, so do not add quotes.
8839 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8842 if cmp -s $cache_file confcache
; then
8845 if test -w $cache_file; then
8846 echo "updating cache $cache_file"
8847 cat confcache
> $cache_file
8849 echo "not updating unwritable cache $cache_file"
8857 if test "$wxUSE_REGEX" != "no"; then
8858 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8859 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8860 echo "configure:8861: checking for regex.h" >&5
8861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8862 echo $ac_n "(cached) $ac_c" 1>&6
8864 cat > conftest.
$ac_ext <<EOF
8865 #line 8866 "configure"
8866 #include "confdefs.h"
8869 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870 { (eval echo configure
:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872 if test -z "$ac_err"; then
8874 eval "ac_cv_header_$ac_safe=yes"
8877 echo "configure: failed program was:" >&5
8878 cat conftest.
$ac_ext >&5
8880 eval "ac_cv_header_$ac_safe=no"
8884 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8885 echo "$ac_t""yes" 1>&6
8886 for ac_func
in regcomp
8888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8889 echo "configure:8890: checking for $ac_func" >&5
8890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8891 echo $ac_n "(cached) $ac_c" 1>&6
8893 cat > conftest.
$ac_ext <<EOF
8894 #line 8895 "configure"
8895 #include "confdefs.h"
8896 /* System header to define __stub macros and hopefully few prototypes,
8897 which can conflict with char $ac_func(); below. */
8899 /* Override any gcc2 internal prototype to avoid an error. */
8900 /* We use char because int might match the return type of a gcc2
8901 builtin and then its argument prototype would still apply. */
8906 /* The GNU C library defines this for functions which it implements
8907 to always fail with ENOSYS. Some functions are actually named
8908 something starting with __ and the normal name is an alias. */
8909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8917 if { (eval echo configure
:8918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8919 eval "ac_cv_func_$ac_func=yes"
8921 echo "configure: failed program was:" >&5
8922 cat conftest.
$ac_ext >&5
8924 eval "ac_cv_func_$ac_func=no"
8929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8930 echo "$ac_t""yes" 1>&6
8931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8932 cat >> confdefs.h
<<EOF
8933 #define $ac_tr_func 1
8937 echo "$ac_t""no" 1>&6
8942 echo "$ac_t""no" 1>&6
8946 if test "x$ac_cv_func_regcomp" != "xyes"; then
8947 if test "$wxUSE_REGEX" = "sys"; then
8948 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8951 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8954 cat >> confdefs.h
<<\EOF
8955 #define wxUSE_REGEX 1
8963 if test "$wxUSE_GUI" = "yes"; then
8978 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8979 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8980 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8981 echo "configure:8982: checking for windows.h" >&5
8982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8983 echo $ac_n "(cached) $ac_c" 1>&6
8985 cat > conftest.
$ac_ext <<EOF
8986 #line 8987 "configure"
8987 #include "confdefs.h"
8988 #include <windows.h>
8990 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8991 { (eval echo configure
:8992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8992 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8993 if test -z "$ac_err"; then
8995 eval "ac_cv_header_$ac_safe=yes"
8998 echo "configure: failed program was:" >&5
8999 cat conftest.
$ac_ext >&5
9001 eval "ac_cv_header_$ac_safe=no"
9005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9006 echo "$ac_t""yes" 1>&6
9009 echo "$ac_t""no" 1>&6
9011 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9016 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
9018 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9020 if test "$wxUSE_ODBC" = "yes" ; then
9021 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9024 if test "$wxUSE_MINGW" = 1; then
9025 LDFLAGS
="$LDFLAGS -mwindows"
9031 RCINCSWITCH
="--include-dir"
9032 RCDEFSWITCH
="--define"
9033 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9036 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9038 RESPROGRAM
="\$(RES_PROGRAM)"
9041 if test "$wxUSE_GTK" = 1; then
9042 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9043 echo "configure:9044: checking for GTK+ version" >&5
9045 gtk_version_cached
=1
9046 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9047 echo $ac_n "(cached) $ac_c" 1>&6
9050 gtk_version_cached
=0
9051 echo "$ac_t""""" 1>&6
9054 if test "x$wxUSE_GTK2" = "xyes"; then
9055 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9056 if test "${with_gtk_prefix+set}" = set; then
9057 withval
="$with_gtk_prefix"
9058 gtk_config_prefix
="$withval"
9060 gtk_config_prefix
=""
9063 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9064 if test "${with_gtk_exec_prefix+set}" = set; then
9065 withval
="$with_gtk_exec_prefix"
9066 gtk_config_exec_prefix
="$withval"
9068 gtk_config_exec_prefix
=""
9071 # Check whether --enable-gtktest or --disable-gtktest was given.
9072 if test "${enable_gtktest+set}" = set; then
9073 enableval
="$enable_gtktest"
9084 gtk_config_args
="$gtk_config_args gthread"
9089 if test x
$gtk_config_exec_prefix != x
; then
9090 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9091 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9092 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9095 if test x
$gtk_config_prefix != x
; then
9096 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9097 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9098 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9102 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9103 set dummy gtk
-config-2.0
; ac_word
=$2
9104 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9105 echo "configure:9106: checking for $ac_word" >&5
9106 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9109 case "$GTK_CONFIG_2_0" in
9111 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9114 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9117 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9119 for ac_dir
in $ac_dummy; do
9120 test -z "$ac_dir" && ac_dir
=.
9121 if test -f $ac_dir/$ac_word; then
9122 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9127 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9131 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9132 if test -n "$GTK_CONFIG_2_0"; then
9133 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9135 echo "$ac_t""no" 1>&6
9138 min_gtk_version
=1.3.1
9139 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9140 echo "configure:9141: checking for GTK - version >= $min_gtk_version" >&5
9142 if test "$GTK_CONFIG_2_0" = "no" ; then
9145 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9146 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9147 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9149 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9151 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9153 if test "x$enable_gtktest" = "xyes" ; then
9154 ac_save_CFLAGS
="$CFLAGS"
9155 ac_save_LIBS
="$LIBS"
9156 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9157 LIBS
="$GTK_LIBS $LIBS"
9159 if test "$cross_compiling" = yes; then
9160 echo $ac_n "cross compiling; assumed OK... $ac_c"
9162 cat > conftest.
$ac_ext <<EOF
9163 #line 9164 "configure"
9164 #include "confdefs.h"
9166 #include <gtk/gtk.h>
9173 int major, minor, micro;
9176 system ("touch conf.gtktest");
9178 /* HP/UX 9 (%@#!) writes to sscanf strings */
9179 tmp_version = g_strdup("$min_gtk_version");
9180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9181 printf("%s, bad version string\n", "$min_gtk_version");
9185 if ((gtk_major_version != $gtk_config_major_version) ||
9186 (gtk_minor_version != $gtk_config_minor_version) ||
9187 (gtk_micro_version != $gtk_config_micro_version))
9189 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9191 gtk_major_version, gtk_minor_version, gtk_micro_version);
9192 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9196 printf("*** required on your system.\n");
9197 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9198 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9199 printf("*** before re-running configure\n");
9201 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9202 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9203 (gtk_minor_version != GTK_MINOR_VERSION) ||
9204 (gtk_micro_version != GTK_MICRO_VERSION))
9206 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9207 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9208 printf("*** library (version %d.%d.%d)\n",
9209 gtk_major_version, gtk_minor_version, gtk_micro_version);
9211 #endif /* defined (GTK_MAJOR_VERSION) ... */
9214 if ((gtk_major_version > major) ||
9215 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9216 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9222 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9223 gtk_major_version, gtk_minor_version, gtk_micro_version);
9224 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9225 major, minor, micro);
9226 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9228 printf("*** If you have already installed a sufficiently new version, this error\n");
9229 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9230 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9231 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9232 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9233 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9234 printf("*** so that the correct libraries are found at run-time))\n");
9241 if { (eval echo configure
:9242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9245 echo "configure: failed program was:" >&5
9246 cat conftest.
$ac_ext >&5
9253 CFLAGS
="$ac_save_CFLAGS"
9254 LIBS
="$ac_save_LIBS"
9257 if test "x$no_gtk" = x
; then
9258 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9261 echo "$ac_t""no" 1>&6
9262 if test "$GTK_CONFIG_2_0" = "no" ; then
9263 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9264 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9265 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9266 echo "*** full path to gtk-config-2.0."
9268 if test -f conf.gtktest
; then
9271 echo "*** Could not run GTK test program, checking why..."
9272 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9273 LIBS
="$LIBS $GTK_LIBS"
9274 cat > conftest.
$ac_ext <<EOF
9275 #line 9276 "configure"
9276 #include "confdefs.h"
9278 #include <gtk/gtk.h>
9282 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9285 if { (eval echo configure
:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9287 echo "*** The test program compiled, but did not run. This usually means"
9288 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9289 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9290 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9291 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9292 echo "*** is required on your system"
9294 echo "*** If you have an old version installed, it is best to remove it, although"
9295 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9297 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9298 echo "*** came with the system with the command"
9300 echo "*** rpm --erase --nodeps gtk gtk-devel"
9302 echo "configure: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9305 echo "*** The test program failed to compile or link. See the file config.log for the"
9306 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9307 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9308 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9311 CFLAGS
="$ac_save_CFLAGS"
9312 LIBS
="$ac_save_LIBS"
9325 if test -z "$wx_cv_lib_gtk"; then
9327 if test x
$gtk_config_exec_prefix != x
; then
9328 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9329 if test x
${GTK_CONFIG+set} != xset
; then
9330 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9333 if test x
$gtk_config_prefix != x
; then
9334 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9335 if test x
${GTK_CONFIG+set} != xset
; then
9336 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9340 # Extract the first word of "gtk-config", so it can be a program name with args.
9341 set dummy gtk
-config; ac_word
=$2
9342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9343 echo "configure:9344: checking for $ac_word" >&5
9344 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9345 echo $ac_n "(cached) $ac_c" 1>&6
9347 case "$GTK_CONFIG" in
9349 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9352 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9355 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9357 for ac_dir
in $ac_dummy; do
9358 test -z "$ac_dir" && ac_dir
=.
9359 if test -f $ac_dir/$ac_word; then
9360 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9365 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9369 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9370 if test -n "$GTK_CONFIG"; then
9371 echo "$ac_t""$GTK_CONFIG" 1>&6
9373 echo "$ac_t""no" 1>&6
9376 min_gtk_version
=1.2.7
9377 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9378 echo "configure:9379: checking for GTK - version >= $min_gtk_version" >&5
9380 if test "$GTK_CONFIG" != "no" ; then
9381 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9382 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9383 ac_save_CFLAGS
="$CFLAGS"
9384 ac_save_LIBS
="$LIBS"
9385 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9386 LIBS
="$LIBS $GTK_LIBS"
9387 if test "$cross_compiling" = yes; then
9388 echo $ac_n "cross compiling; assumed OK... $ac_c"
9390 cat > conftest.
$ac_ext <<EOF
9391 #line 9392 "configure"
9392 #include "confdefs.h"
9394 #include <gtk/gtk.h>
9395 #include <gtk/gtkfeatures.h>
9402 int major, minor, micro;
9404 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9405 printf("%s, bad version string\n", "$min_gtk_version");
9409 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9410 (GTK_MINOR_VERSION != gtk_minor_version) ||
9411 (GTK_MICRO_VERSION != gtk_micro_version)) {
9412 printf("Headers vs. library version mismatch!\n");
9416 if (gtk_minor_version == 1) return FALSE;
9418 return !((gtk_major_version > major) ||
9419 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9420 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9424 if { (eval echo configure
:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9428 echo "configure: failed program was:" >&5
9429 cat conftest.
$ac_ext >&5
9436 CFLAGS
="$ac_save_CFLAGS"
9437 LIBS
="$ac_save_LIBS"
9441 if test "x$no_gtk" = x
; then
9442 echo "$ac_t""yes" 1>&6
9445 echo "$ac_t""no" 1>&6
9455 if test -z "$wx_cv_lib_gtk"; then
9457 if test x
$gtk_config_exec_prefix != x
; then
9458 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9459 if test x
${GTK_CONFIG+set} != xset
; then
9460 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9463 if test x
$gtk_config_prefix != x
; then
9464 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9465 if test x
${GTK_CONFIG+set} != xset
; then
9466 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9470 # Extract the first word of "gtk-config", so it can be a program name with args.
9471 set dummy gtk
-config; ac_word
=$2
9472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9473 echo "configure:9474: checking for $ac_word" >&5
9474 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9475 echo $ac_n "(cached) $ac_c" 1>&6
9477 case "$GTK_CONFIG" in
9479 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9482 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9485 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9487 for ac_dir
in $ac_dummy; do
9488 test -z "$ac_dir" && ac_dir
=.
9489 if test -f $ac_dir/$ac_word; then
9490 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9495 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9499 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9500 if test -n "$GTK_CONFIG"; then
9501 echo "$ac_t""$GTK_CONFIG" 1>&6
9503 echo "$ac_t""no" 1>&6
9506 min_gtk_version
=1.2.3
9507 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9508 echo "configure:9509: checking for GTK - version >= $min_gtk_version" >&5
9510 if test "$GTK_CONFIG" != "no" ; then
9511 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9512 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9513 ac_save_CFLAGS
="$CFLAGS"
9514 ac_save_LIBS
="$LIBS"
9515 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9516 LIBS
="$LIBS $GTK_LIBS"
9517 if test "$cross_compiling" = yes; then
9518 echo $ac_n "cross compiling; assumed OK... $ac_c"
9520 cat > conftest.
$ac_ext <<EOF
9521 #line 9522 "configure"
9522 #include "confdefs.h"
9524 #include <gtk/gtk.h>
9525 #include <gtk/gtkfeatures.h>
9532 int major, minor, micro;
9534 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9535 printf("%s, bad version string\n", "$min_gtk_version");
9539 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9540 (GTK_MINOR_VERSION != gtk_minor_version) ||
9541 (GTK_MICRO_VERSION != gtk_micro_version)) {
9542 printf("Headers vs. library version mismatch!\n");
9546 if (gtk_minor_version == 1) return FALSE;
9548 return !((gtk_major_version > major) ||
9549 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9550 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9554 if { (eval echo configure
:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9558 echo "configure: failed program was:" >&5
9559 cat conftest.
$ac_ext >&5
9566 CFLAGS
="$ac_save_CFLAGS"
9567 LIBS
="$ac_save_LIBS"
9571 if test "x$no_gtk" = x
; then
9572 echo "$ac_t""yes" 1>&6
9575 echo "$ac_t""no" 1>&6
9585 if test -z "$wx_cv_lib_gtk"; then
9588 wx_cv_cflags_gtk
=$GTK_CFLAGS
9589 wx_cv_libs_gtk
=$GTK_LIBS
9596 if test "$gtk_version_cached" = 1; then
9597 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9600 case "$wx_cv_lib_gtk" in
9608 *) { echo "configure: error:
9609 Please check that gtk-config is in path, the directory
9610 where GTK+ libraries are installed (returned by
9611 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9612 equivalent variable and GTK+ is version 1.2.3 or above.
9617 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9618 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9620 AFMINSTALL
=afminstall
9624 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9625 echo "configure:9626: checking for gdk_im_open in -lgdk" >&5
9626 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9630 ac_save_LIBS
="$LIBS"
9632 cat > conftest.
$ac_ext <<EOF
9633 #line 9634 "configure"
9634 #include "confdefs.h"
9635 /* Override any gcc2 internal prototype to avoid an error. */
9636 /* We use char because int might match the return type of a gcc2
9637 builtin and then its argument prototype would still apply. */
9644 if { (eval echo configure
:9645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9646 eval "ac_cv_lib_$ac_lib_var=yes"
9648 echo "configure: failed program was:" >&5
9649 cat conftest.
$ac_ext >&5
9651 eval "ac_cv_lib_$ac_lib_var=no"
9654 LIBS
="$ac_save_LIBS"
9657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9658 echo "$ac_t""yes" 1>&6
9659 cat >> confdefs.h
<<\EOF
9664 echo "$ac_t""no" 1>&6
9669 if test "$wxUSE_MGL" = 1; then
9671 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9672 echo "configure:9673: checking for SciTech MGL library" >&5
9673 if test "x$MGL_ROOT" = x
; then
9674 echo "$ac_t""not found" 1>&6
9675 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9677 echo "$ac_t""$MGL_ROOT" 1>&6
9680 MGL_OS
=linux
/gcc
/glibc
9683 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9684 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9688 if test "x$MGL_LIB_TYPE" = x
; then
9689 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9690 MGL_LIB_TYPE
=release
9692 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9696 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9697 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9699 AFMINSTALL
=afminstall
9704 if test "$wxUSE_WINE" = 1; then
9705 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9706 echo "configure:9707: checking for WINE includes" >&5
9709 for ac_dir
in $SEARCH_INCLUDE;
9711 if test -f "$ac_dir/windows.h"; then
9712 ac_find_includes
=$ac_dir
9717 if test "$ac_find_includes" != "" ; then
9718 echo "$ac_t""found $ac_find_includes" 1>&6
9719 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9721 echo "$ac_t""no" 1>&6
9722 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9726 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9727 echo "configure:9728: checking for Xpm library" >&5
9730 for ac_dir
in $SEARCH_LIB;
9732 for ac_extension
in a so sl dylib
; do
9733 if test -f "$ac_dir/libXpm.$ac_extension"; then
9734 ac_find_libraries
=$ac_dir
9740 if test "$ac_find_libraries" != "" ; then
9741 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9743 cat >> confdefs.h
<<\EOF
9744 #define wxHAVE_LIB_XPM 1
9747 echo "$ac_t""found at $ac_find_libraries" 1>&6
9749 echo "$ac_t""no" 1>&6
9750 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9754 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9755 echo "configure:9756: checking for Mesa library" >&5
9758 for ac_dir
in $SEARCH_LIB;
9760 for ac_extension
in a so sl dylib
; do
9761 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9762 ac_find_libraries
=$ac_dir
9768 if test "$ac_find_libraries" != "" ; then
9769 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9770 MESA_LINK
="-lMesaGL"
9771 echo "$ac_t""found at $ac_find_libraries" 1>&6
9773 { echo "configure: error: no" 1>&2; exit 1; }
9776 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9784 # If we find X, set shell vars x_includes and x_libraries to the
9785 # paths, otherwise set no_x=yes.
9786 # Uses ac_ vars as temps to allow command line to override cache and checks.
9787 # --without-x overrides everything else, but does not touch the cache.
9788 echo $ac_n "checking for X""... $ac_c" 1>&6
9789 echo "configure:9790: checking for X" >&5
9791 # Check whether --with-x or --without-x was given.
9792 if test "${with_x+set}" = set; then
9797 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9798 if test "x$with_x" = xno
; then
9799 # The user explicitly disabled X.
9802 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9803 # Both variables are already set.
9806 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9807 echo $ac_n "(cached) $ac_c" 1>&6
9809 # One or both of the vars are not set, and there is no cached value.
9810 ac_x_includes
=NO ac_x_libraries
=NO
9812 if mkdir conftestdir
; then
9814 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9815 cat > Imakefile
<<'EOF'
9817 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9819 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9820 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9821 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9822 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9823 for ac_extension
in a so sl
; do
9824 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9825 test -f $ac_im_libdir/libX11.
$ac_extension; then
9826 ac_im_usrlibdir
=$ac_im_libdir; break
9829 # Screen out bogus values from the imake configuration. They are
9830 # bogus both because they are the default anyway, and because
9831 # using them would break gcc on systems where it needs fixed includes.
9832 case "$ac_im_incroot" in
9834 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9836 case "$ac_im_usrlibdir" in
9838 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9845 if test "$ac_x_includes" = NO
; then
9846 # Guess where to find include files, by looking for this one X11 .h file.
9847 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9849 # First, try using that file with no special directory specified.
9850 cat > conftest.
$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9853 #include <$x_direct_test_include>
9855 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9856 { (eval echo configure
:9857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9857 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9858 if test -z "$ac_err"; then
9860 # We can compile using X headers with no special include directory.
9864 echo "configure: failed program was:" >&5
9865 cat conftest.
$ac_ext >&5
9867 # Look for the header file in a standard set of common directories.
9868 # Check X11 before X11Rn because it is often a symlink to the current release.
9871 /usr
/X
11R
6/include \
9872 /usr
/X
11R
5/include \
9873 /usr
/X
11R
4/include \
9876 /usr
/include
/X11R6 \
9877 /usr
/include
/X11R5 \
9878 /usr
/include
/X11R4 \
9880 /usr
/local
/X
11/include \
9881 /usr
/local
/X
11R
6/include \
9882 /usr
/local
/X
11R
5/include \
9883 /usr
/local
/X
11R
4/include \
9885 /usr
/local
/include
/X11 \
9886 /usr
/local
/include
/X11R6 \
9887 /usr
/local
/include
/X11R5 \
9888 /usr
/local
/include
/X11R4 \
9892 /usr
/XFree
86/include
/X11 \
9895 /usr
/local
/include \
9896 /usr
/unsupported
/include \
9897 /usr
/athena
/include \
9898 /usr
/local
/x
11r
5/include \
9899 /usr
/lpp
/Xamples
/include \
9901 /usr
/openwin
/include \
9902 /usr
/openwin
/share
/include \
9905 if test -r "$ac_dir/$x_direct_test_include"; then
9906 ac_x_includes
=$ac_dir
9912 fi # $ac_x_includes = NO
9914 if test "$ac_x_libraries" = NO
; then
9915 # Check for the libraries.
9917 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9918 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9920 # See if we find them without any special options.
9921 # Don't add to $LIBS permanently.
9922 ac_save_LIBS
="$LIBS"
9923 LIBS
="-l$x_direct_test_library $LIBS"
9924 cat > conftest.
$ac_ext <<EOF
9925 #line 9926 "configure"
9926 #include "confdefs.h"
9929 ${x_direct_test_function}()
9932 if { (eval echo configure
:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9934 LIBS
="$ac_save_LIBS"
9935 # We can link X programs with no special library path.
9938 echo "configure: failed program was:" >&5
9939 cat conftest.
$ac_ext >&5
9941 LIBS
="$ac_save_LIBS"
9942 # First see if replacing the include by lib works.
9943 # Check X11 before X11Rn because it is often a symlink to the current release.
9944 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9955 /usr
/local
/X
11/lib \
9956 /usr
/local
/X
11R
6/lib \
9957 /usr
/local
/X
11R
5/lib \
9958 /usr
/local
/X
11R
4/lib \
9960 /usr
/local
/lib
/X11 \
9961 /usr
/local
/lib
/X11R6 \
9962 /usr
/local
/lib
/X11R5 \
9963 /usr
/local
/lib
/X11R4 \
9967 /usr
/XFree
86/lib
/X11 \
9971 /usr
/unsupported
/lib \
9973 /usr
/local
/x
11r
5/lib \
9974 /usr
/lpp
/Xamples
/lib \
9978 /usr
/openwin
/share
/lib \
9981 for ac_extension
in a so sl
; do
9982 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9983 ac_x_libraries
=$ac_dir
9990 fi # $ac_x_libraries = NO
9992 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9993 # Didn't find X anywhere. Cache the known absence of X.
9994 ac_cv_have_x
="have_x=no"
9996 # Record where we found X for the cache.
9997 ac_cv_have_x
="have_x=yes \
9998 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10002 eval "$ac_cv_have_x"
10005 if test "$have_x" != yes; then
10006 echo "$ac_t""$have_x" 1>&6
10009 # If each of the values was on the command line, it overrides each guess.
10010 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10011 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10012 # Update the cache value to reflect the command line values.
10013 ac_cv_have_x
="have_x=yes \
10014 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10015 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10018 if test "$no_x" = yes; then
10019 # Not all programs may use this symbol, but it does not hurt to define it.
10020 cat >> confdefs.h
<<\EOF
10021 #define X_DISPLAY_MISSING 1
10024 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10026 if test -n "$x_includes"; then
10027 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10030 # It would also be nice to do this for all -L options, not just this one.
10031 if test -n "$x_libraries"; then
10032 X_LIBS
="$X_LIBS -L$x_libraries"
10033 # For Solaris; some versions of Sun CC require a space after -R and
10034 # others require no space. Words are not sufficient . . . .
10035 case "`(uname -sr) 2>/dev/null`" in
10037 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10038 echo "configure:10039: checking whether -R must be followed by a space" >&5
10039 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10040 cat > conftest.
$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10048 if { (eval echo configure
:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10052 echo "configure: failed program was:" >&5
10053 cat conftest.
$ac_ext >&5
10058 if test $ac_R_nospace = yes; then
10059 echo "$ac_t""no" 1>&6
10060 X_LIBS
="$X_LIBS -R$x_libraries"
10062 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10071 if { (eval echo configure
:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10075 echo "configure: failed program was:" >&5
10076 cat conftest.
$ac_ext >&5
10081 if test $ac_R_space = yes; then
10082 echo "$ac_t""yes" 1>&6
10083 X_LIBS
="$X_LIBS -R $x_libraries"
10085 echo "$ac_t""neither works" 1>&6
10088 LIBS
="$ac_xsave_LIBS"
10092 # Check for system-dependent libraries X programs must link with.
10093 # Do this before checking for the system-independent R6 libraries
10094 # (-lICE), since we may need -lsocket or whatever for X linking.
10096 if test "$ISC" = yes; then
10097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10099 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10100 # libraries were built with DECnet support. And karl@cs.umb.edu says
10101 # the Alpha needs dnet_stub (dnet does not exist).
10102 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10103 echo "configure:10104: checking for dnet_ntoa in -ldnet" >&5
10104 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10105 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10106 echo $ac_n "(cached) $ac_c" 1>&6
10108 ac_save_LIBS
="$LIBS"
10109 LIBS
="-ldnet $LIBS"
10110 cat > conftest.
$ac_ext <<EOF
10111 #line 10112 "configure"
10112 #include "confdefs.h"
10113 /* Override any gcc2 internal prototype to avoid an error. */
10114 /* We use char because int might match the return type of a gcc2
10115 builtin and then its argument prototype would still apply. */
10122 if { (eval echo configure
:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10124 eval "ac_cv_lib_$ac_lib_var=yes"
10126 echo "configure: failed program was:" >&5
10127 cat conftest.
$ac_ext >&5
10129 eval "ac_cv_lib_$ac_lib_var=no"
10132 LIBS
="$ac_save_LIBS"
10135 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10136 echo "$ac_t""yes" 1>&6
10137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10139 echo "$ac_t""no" 1>&6
10142 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10143 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10144 echo "configure:10145: checking for dnet_ntoa in -ldnet_stub" >&5
10145 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10147 echo $ac_n "(cached) $ac_c" 1>&6
10149 ac_save_LIBS
="$LIBS"
10150 LIBS
="-ldnet_stub $LIBS"
10151 cat > conftest.
$ac_ext <<EOF
10152 #line 10153 "configure"
10153 #include "confdefs.h"
10154 /* Override any gcc2 internal prototype to avoid an error. */
10155 /* We use char because int might match the return type of a gcc2
10156 builtin and then its argument prototype would still apply. */
10163 if { (eval echo configure
:10164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10165 eval "ac_cv_lib_$ac_lib_var=yes"
10167 echo "configure: failed program was:" >&5
10168 cat conftest.
$ac_ext >&5
10170 eval "ac_cv_lib_$ac_lib_var=no"
10173 LIBS
="$ac_save_LIBS"
10176 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10177 echo "$ac_t""yes" 1>&6
10178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10180 echo "$ac_t""no" 1>&6
10185 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10186 # to get the SysV transport functions.
10187 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10189 # The nsl library prevents programs from opening the X display
10190 # on Irix 5.2, according to dickey@clark.net.
10191 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10192 echo "configure:10193: checking for gethostbyname" >&5
10193 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char gethostbyname(); below. */
10201 #include <assert.h>
10202 /* Override any gcc2 internal prototype to avoid an error. */
10203 /* We use char because int might match the return type of a gcc2
10204 builtin and then its argument prototype would still apply. */
10205 char gethostbyname();
10209 /* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10220 if { (eval echo configure
:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10222 eval "ac_cv_func_gethostbyname=yes"
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 eval "ac_cv_func_gethostbyname=no"
10232 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10233 echo "$ac_t""yes" 1>&6
10236 echo "$ac_t""no" 1>&6
10239 if test $ac_cv_func_gethostbyname = no
; then
10240 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10241 echo "configure:10242: checking for gethostbyname in -lnsl" >&5
10242 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10243 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10246 ac_save_LIBS
="$LIBS"
10248 cat > conftest.
$ac_ext <<EOF
10249 #line 10250 "configure"
10250 #include "confdefs.h"
10251 /* Override any gcc2 internal prototype to avoid an error. */
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char gethostbyname();
10260 if { (eval echo configure
:10261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10262 eval "ac_cv_lib_$ac_lib_var=yes"
10264 echo "configure: failed program was:" >&5
10265 cat conftest.
$ac_ext >&5
10267 eval "ac_cv_lib_$ac_lib_var=no"
10270 LIBS
="$ac_save_LIBS"
10273 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10274 echo "$ac_t""yes" 1>&6
10275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10277 echo "$ac_t""no" 1>&6
10282 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10283 # socket/setsockopt and other routines are undefined under SCO ODT
10284 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10285 # on later versions), says simon@lia.di.epfl.ch: it contains
10286 # gethostby* variants that don't use the nameserver (or something).
10287 # -lsocket must be given before -lnsl if both are needed.
10288 # We assume that if connect needs -lnsl, so does gethostbyname.
10289 echo $ac_n "checking for connect""... $ac_c" 1>&6
10290 echo "configure:10291: checking for connect" >&5
10291 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10292 echo $ac_n "(cached) $ac_c" 1>&6
10294 cat > conftest.
$ac_ext <<EOF
10295 #line 10296 "configure"
10296 #include "confdefs.h"
10297 /* System header to define __stub macros and hopefully few prototypes,
10298 which can conflict with char connect(); below. */
10299 #include <assert.h>
10300 /* Override any gcc2 internal prototype to avoid an error. */
10301 /* We use char because int might match the return type of a gcc2
10302 builtin and then its argument prototype would still apply. */
10307 /* The GNU C library defines this for functions which it implements
10308 to always fail with ENOSYS. Some functions are actually named
10309 something starting with __ and the normal name is an alias. */
10310 #if defined (__stub_connect) || defined (__stub___connect)
10318 if { (eval echo configure
:10319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10320 eval "ac_cv_func_connect=yes"
10322 echo "configure: failed program was:" >&5
10323 cat conftest.
$ac_ext >&5
10325 eval "ac_cv_func_connect=no"
10330 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10331 echo "$ac_t""yes" 1>&6
10334 echo "$ac_t""no" 1>&6
10337 if test $ac_cv_func_connect = no
; then
10338 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10339 echo "configure:10340: checking for connect in -lsocket" >&5
10340 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10341 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10342 echo $ac_n "(cached) $ac_c" 1>&6
10344 ac_save_LIBS
="$LIBS"
10345 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10346 cat > conftest.
$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10349 /* Override any gcc2 internal prototype to avoid an error. */
10350 /* We use char because int might match the return type of a gcc2
10351 builtin and then its argument prototype would still apply. */
10358 if { (eval echo configure
:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10360 eval "ac_cv_lib_$ac_lib_var=yes"
10362 echo "configure: failed program was:" >&5
10363 cat conftest.
$ac_ext >&5
10365 eval "ac_cv_lib_$ac_lib_var=no"
10368 LIBS
="$ac_save_LIBS"
10371 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10372 echo "$ac_t""yes" 1>&6
10373 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10375 echo "$ac_t""no" 1>&6
10380 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10381 echo $ac_n "checking for remove""... $ac_c" 1>&6
10382 echo "configure:10383: checking for remove" >&5
10383 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10384 echo $ac_n "(cached) $ac_c" 1>&6
10386 cat > conftest.
$ac_ext <<EOF
10387 #line 10388 "configure"
10388 #include "confdefs.h"
10389 /* System header to define __stub macros and hopefully few prototypes,
10390 which can conflict with char remove(); below. */
10391 #include <assert.h>
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 /* We use char because int might match the return type of a gcc2
10394 builtin and then its argument prototype would still apply. */
10399 /* The GNU C library defines this for functions which it implements
10400 to always fail with ENOSYS. Some functions are actually named
10401 something starting with __ and the normal name is an alias. */
10402 #if defined (__stub_remove) || defined (__stub___remove)
10410 if { (eval echo configure
:10411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10412 eval "ac_cv_func_remove=yes"
10414 echo "configure: failed program was:" >&5
10415 cat conftest.
$ac_ext >&5
10417 eval "ac_cv_func_remove=no"
10422 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10423 echo "$ac_t""yes" 1>&6
10426 echo "$ac_t""no" 1>&6
10429 if test $ac_cv_func_remove = no
; then
10430 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10431 echo "configure:10432: checking for remove in -lposix" >&5
10432 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10434 echo $ac_n "(cached) $ac_c" 1>&6
10436 ac_save_LIBS
="$LIBS"
10437 LIBS
="-lposix $LIBS"
10438 cat > conftest.
$ac_ext <<EOF
10439 #line 10440 "configure"
10440 #include "confdefs.h"
10441 /* Override any gcc2 internal prototype to avoid an error. */
10442 /* We use char because int might match the return type of a gcc2
10443 builtin and then its argument prototype would still apply. */
10450 if { (eval echo configure
:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10452 eval "ac_cv_lib_$ac_lib_var=yes"
10454 echo "configure: failed program was:" >&5
10455 cat conftest.
$ac_ext >&5
10457 eval "ac_cv_lib_$ac_lib_var=no"
10460 LIBS
="$ac_save_LIBS"
10463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10464 echo "$ac_t""yes" 1>&6
10465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10467 echo "$ac_t""no" 1>&6
10472 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10473 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10474 echo "configure:10475: checking for shmat" >&5
10475 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10476 echo $ac_n "(cached) $ac_c" 1>&6
10478 cat > conftest.
$ac_ext <<EOF
10479 #line 10480 "configure"
10480 #include "confdefs.h"
10481 /* System header to define __stub macros and hopefully few prototypes,
10482 which can conflict with char shmat(); below. */
10483 #include <assert.h>
10484 /* Override any gcc2 internal prototype to avoid an error. */
10485 /* We use char because int might match the return type of a gcc2
10486 builtin and then its argument prototype would still apply. */
10491 /* The GNU C library defines this for functions which it implements
10492 to always fail with ENOSYS. Some functions are actually named
10493 something starting with __ and the normal name is an alias. */
10494 #if defined (__stub_shmat) || defined (__stub___shmat)
10502 if { (eval echo configure
:10503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10504 eval "ac_cv_func_shmat=yes"
10506 echo "configure: failed program was:" >&5
10507 cat conftest.
$ac_ext >&5
10509 eval "ac_cv_func_shmat=no"
10514 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10515 echo "$ac_t""yes" 1>&6
10518 echo "$ac_t""no" 1>&6
10521 if test $ac_cv_func_shmat = no
; then
10522 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10523 echo "configure:10524: checking for shmat in -lipc" >&5
10524 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10525 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10526 echo $ac_n "(cached) $ac_c" 1>&6
10528 ac_save_LIBS
="$LIBS"
10530 cat > conftest.
$ac_ext <<EOF
10531 #line 10532 "configure"
10532 #include "confdefs.h"
10533 /* Override any gcc2 internal prototype to avoid an error. */
10534 /* We use char because int might match the return type of a gcc2
10535 builtin and then its argument prototype would still apply. */
10542 if { (eval echo configure
:10543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10544 eval "ac_cv_lib_$ac_lib_var=yes"
10546 echo "configure: failed program was:" >&5
10547 cat conftest.
$ac_ext >&5
10549 eval "ac_cv_lib_$ac_lib_var=no"
10552 LIBS
="$ac_save_LIBS"
10555 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10556 echo "$ac_t""yes" 1>&6
10557 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10559 echo "$ac_t""no" 1>&6
10565 # Check for libraries that X11R6 Xt/Xaw programs need.
10566 ac_save_LDFLAGS
="$LDFLAGS"
10567 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10568 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10569 # check for ICE first), but we must link in the order -lSM -lICE or
10570 # we get undefined symbols. So assume we have SM if we have ICE.
10571 # These have to be linked with before -lX11, unlike the other
10572 # libraries we check for below, so use a different variable.
10573 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10574 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10575 echo "configure:10576: checking for IceConnectionNumber in -lICE" >&5
10576 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10578 echo $ac_n "(cached) $ac_c" 1>&6
10580 ac_save_LIBS
="$LIBS"
10581 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10582 cat > conftest.
$ac_ext <<EOF
10583 #line 10584 "configure"
10584 #include "confdefs.h"
10585 /* Override any gcc2 internal prototype to avoid an error. */
10586 /* We use char because int might match the return type of a gcc2
10587 builtin and then its argument prototype would still apply. */
10588 char IceConnectionNumber();
10591 IceConnectionNumber()
10594 if { (eval echo configure
:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10596 eval "ac_cv_lib_$ac_lib_var=yes"
10598 echo "configure: failed program was:" >&5
10599 cat conftest.
$ac_ext >&5
10601 eval "ac_cv_lib_$ac_lib_var=no"
10604 LIBS
="$ac_save_LIBS"
10607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10608 echo "$ac_t""yes" 1>&6
10609 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10611 echo "$ac_t""no" 1>&6
10614 LDFLAGS
="$ac_save_LDFLAGS"
10618 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10619 LDFLAGS
="$LDFLAGS $X_LIBS"
10621 if test "$wxUSE_MOTIF" = 1; then
10622 if test "$no_x" = "yes"; then
10623 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10626 GUI_TK_LIBRARY
="$X_LIBS"
10627 TOOLKIT_INCLUDE
="$X_CFLAGS"
10629 AFMINSTALL
=afminstall
10632 COMPILED_X_PROGRAM
=0
10634 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10635 echo "configure:10636: checking for Motif/Lesstif headers" >&5
10638 for ac_dir
in $SEARCH_INCLUDE;
10640 if test -f "$ac_dir/Xm/Xm.h"; then
10641 ac_find_includes
=$ac_dir
10646 if test "$ac_find_includes" != "" ; then
10647 echo "$ac_t""found $ac_find_includes" 1>&6
10649 cat > conftest.
$ac_ext <<EOF
10650 #line 10651 "configure"
10651 #include "confdefs.h"
10659 version = xmUseVersion;
10663 if { (eval echo configure
:10664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10666 echo "$ac_t""found in default search path" 1>&6
10667 COMPILED_X_PROGRAM
=1
10670 echo "configure: failed program was:" >&5
10671 cat conftest.
$ac_ext >&5
10674 echo "$ac_t""no" 1>&6
10675 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10682 if test "$COMPILED_X_PROGRAM" = 0; then
10683 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10684 echo "configure:10685: checking for Motif/Lesstif library" >&5
10687 for ac_dir
in $SEARCH_LIB;
10689 for ac_extension
in a so sl dylib
; do
10690 if test -f "$ac_dir/libXm.$ac_extension"; then
10691 ac_find_libraries
=$ac_dir
10697 if test "$ac_find_libraries" != "" ; then
10699 ac_path_to_include
=$ac_find_includes
10700 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10702 if test $result = 0; then
10703 ac_path_to_include
=""
10705 ac_path_to_include
="-I$ac_find_includes"
10709 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10711 if test $result = 0; then
10714 ac_path_to_link
="-L$ac_find_libraries"
10718 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10719 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10720 echo "$ac_t""found at $ac_find_libraries" 1>&6
10722 cat > conftest.
$ac_ext <<EOF
10723 #line 10724 "configure"
10724 #include "confdefs.h"
10732 version = xmUseVersion;
10736 if { (eval echo configure
:10737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10739 echo "$ac_t""found in default search path" 1>&6
10740 COMPILED_X_PROGRAM
=1
10743 echo "configure: failed program was:" >&5
10744 cat conftest.
$ac_ext >&5
10747 echo "$ac_t""no" 1>&6
10748 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10758 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10759 echo "configure:10760: checking for Xpm library" >&5
10762 for ac_dir
in $SEARCH_LIB;
10764 for ac_extension
in a so sl dylib
; do
10765 if test -f "$ac_dir/libXpm.$ac_extension"; then
10766 ac_find_libraries
=$ac_dir
10772 if test "$ac_find_libraries" != "" ; then
10774 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10776 if test $result = 0; then
10779 ac_path_to_link
="-L$ac_find_libraries"
10782 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10784 cat >> confdefs.h
<<\EOF
10785 #define wxHAVE_LIB_XPM 1
10788 echo "$ac_t""found at $ac_find_libraries" 1>&6
10790 cat > conftest.
$ac_ext <<EOF
10791 #line 10792 "configure"
10792 #include "confdefs.h"
10794 #include <X11/xpm.h>
10800 version = XpmLibraryVersion();
10804 if { (eval echo configure
:10805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10808 cat >> confdefs.h
<<\EOF
10809 #define wxHAVE_LIB_XPM 1
10812 echo "$ac_t""found in default search path" 1>&6
10813 COMPILED_X_PROGRAM
=0
10816 echo "configure: failed program was:" >&5
10817 cat conftest.
$ac_ext >&5
10820 echo "$ac_t""no" 1>&6
10821 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10828 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10829 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10834 if test "$wxUSE_MAC" = 1; then
10839 if test "$wxUSE_PM" = 1; then
10844 if test "$TOOLKIT" != "PM" ; then
10845 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10850 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10852 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10854 if test "$TOOLKIT_NAME" = "motif"; then
10855 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10858 if test "$wxUSE_UNIVERSAL" = "yes"; then
10859 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10860 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10861 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10864 SETUPH_DIR
="${TOOLKIT_DIR}"
10867 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10868 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10871 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10872 if test "$wxUSE_UNIVERSAL" = "yes"; then
10873 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10876 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10878 if test "$wxUSE_UNIVERSAL" = "yes"; then
10879 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10881 ALL_OBJECTS
="\$(GUIOBJS)"
10884 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10886 if test "$TOOLKIT" != "MSW"; then
10887 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10890 if test "$wxUSE_HTML" = "yes"; then
10891 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10894 if test "$TOOLKIT" != "MSW"; then
10895 if test "$wxUSE_ODBC" = "yes" ; then
10896 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10900 if test "x$REGEX_INCLUDE" != "x" ; then
10901 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10904 if test "$wxUSE_LIBJPEG" = "yes" ; then
10905 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10907 if test "$wxUSE_LIBTIFF" = "yes" ; then
10908 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10910 if test "$wxUSE_LIBPNG" = "yes" ; then
10911 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10913 if test "$wxUSE_ZLIB" = "yes" ; then
10914 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10916 if test "$wxUSE_FREETYPE" = "yes" ; then
10917 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10920 if test "$wxUSE_UNIVERSAL" = "yes"; then
10921 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10923 ALL_DEPFILES
="\$(GUIDEPS)"
10926 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10928 if test "$TOOLKIT" != "MSW"; then
10929 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10932 if test "$wxUSE_HTML" = "yes"; then
10933 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10936 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10937 if test "$wxUSE_UNIVERSAL" = "yes"; then
10938 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10940 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10941 RPM_SPEC
="wx\$(TOOLKIT).spec"
10943 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10944 DISTDIR
="wx\$(TOOLKIT)"
10952 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10953 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10955 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10958 TOOLKIT_DEF
="-D__WXBASE__"
10960 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10961 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10963 if test "x$REGEX_INCLUDE" != "x" ; then
10964 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10967 if test "$wxUSE_ZLIB" = "yes" ; then
10968 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10971 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10973 PORT_FILES
="\${top_srcdir}/src/files.lst"
10974 RPM_FILES
="src/rpmfiles.lst"
10975 RPM_SPEC
="wxBase.spec"
10977 GUIDIST
="BASE_DIST"
10981 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10982 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10984 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10985 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10989 WX_LIBRARY_NAME_SHARED
="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
10992 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10993 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10997 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10998 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10999 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
11000 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
11001 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
11002 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
11008 BURNT_LIBRARY_NAME
=
11009 WX_TARGET_LIBRARY_SONAME
=
11012 if test "$wxUSE_SHARED" = "yes"; then
11015 if test "$GCC" = yes ; then
11016 SHARED_LD
="${CXX} -shared -fPIC -o"
11019 LDFLAGS
="-L/usr/lib"
11021 SHARED_LD
="${CXX} -b -o"
11024 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
11025 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
11026 if test "$wxUSE_OPENGL" = "yes"; then
11027 WX_ALL_INSTALLED
="preinstall_gl"
11028 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11030 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11035 SHARED_LD
="${CXX} -shared -o"
11037 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11038 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11039 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11040 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11042 if test "$wxUSE_OPENGL" = "yes"; then
11043 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11044 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11046 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11047 WX_ALL
="CREATE_LINKS"
11050 *-*-irix5* | *-*-irix6* )
11051 if test "$GCC" = yes ; then
11052 SHARED_LD
="${CXX} -shared -o"
11055 SHARED_LD
="${CXX} -shared -o"
11057 if test "$wxUSE_OPENGL" = "yes"; then
11058 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11059 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11061 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11062 WX_ALL
="CREATE_LINKS"
11066 if test "$GCC" = yes ; then
11067 SHARED_LD
="${CXX} -shared -o"
11070 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11072 SHARED_LD
="${CXX} -G -o"
11075 if test "$wxUSE_OPENGL" = "yes"; then
11076 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11077 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11079 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11080 WX_ALL
="CREATE_LINKS"
11084 SHARED_LD
="${CXX} -shared -o"
11086 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11087 WX_ALL
="CREATE_LINKS"
11089 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11090 SHARED_LD
="${CXX} -shared -o"
11092 if test "$wxUSE_OPENGL" = "yes"; then
11093 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11094 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11096 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11097 WX_ALL
="CREATE_LINKS"
11101 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11102 CFLAGS
="${CFLAGS} -fno-common"
11103 CPPFLAGS
="${CPPFLAGS} -fno-common"
11104 SHARED_LD
="${CXX} -dynamiclib -o"
11105 PIC_FLAG
="-dynamic -fPIC"
11106 if test "$wxUSE_OPENGL" = "yes"; then
11107 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11108 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11110 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11111 WX_ALL
="CREATE_LINKS"
11113 if test "$wxUSE_MAC" = 1 ; then
11114 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11116 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11117 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11118 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11119 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11120 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
11121 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11122 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11123 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
11126 SHARED_LD
="${CXX} -shared -o"
11128 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11129 WX_ALL
="CREATE_LINKS"
11132 SHARED_LD
="${CXX} -shared -o"
11134 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11135 WX_ALL
="CREATE_LINKS"
11138 SHARED_LD
="${CXX} -shared -o"
11140 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11141 WX_ALL
="CREATE_LINKS"
11144 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11145 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
11148 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11149 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11150 if test "$wxUSE_OPENGL" = "yes"; then
11151 WX_ALL_INSTALLED
="preinstall_gl"
11152 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11154 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11158 WX_LIBRARY_NAME_STATIC
="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11159 SHARED_LD
="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11160 TOOLKIT_DEF
="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11161 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11162 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11163 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11164 if test "$wxUSE_OPENGL" = "yes"; then
11165 WX_ALL_INSTALLED
="preinstall_gl"
11166 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11168 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11172 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11173 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11176 SHARED_LD
="${LD} -shared -o"
11178 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11179 WX_ALL
="CREATE_LINKS"
11182 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11185 if test "x$WX_TARGET_LIBRARY" = "x"; then
11186 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11187 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11189 WX_TARGET_LIBRARY_TYPE
="so"
11191 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11192 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11194 if test "$wxUSE_OPENGL" = "yes"; then
11195 WX_ALL_INSTALLED
="preinstall_gl"
11196 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11198 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11201 if test "$wxUSE_GUI" = "no"; then
11202 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11205 WX_TARGET_LIBRARY_TYPE
="a"
11209 for ac_hdr
in strings.h
11211 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11212 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11213 echo "configure:11214: checking for $ac_hdr" >&5
11214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11217 cat > conftest.
$ac_ext <<EOF
11218 #line 11219 "configure"
11219 #include "confdefs.h"
11222 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11223 { (eval echo configure
:11224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11224 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11225 if test -z "$ac_err"; then
11227 eval "ac_cv_header_$ac_safe=yes"
11230 echo "configure: failed program was:" >&5
11231 cat conftest.
$ac_ext >&5
11233 eval "ac_cv_header_$ac_safe=no"
11237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11238 echo "$ac_t""yes" 1>&6
11239 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11240 cat >> confdefs.h
<<EOF
11241 #define $ac_tr_hdr 1
11245 echo "$ac_t""no" 1>&6
11249 for ac_hdr
in stdlib.h
11251 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11253 echo "configure:11254: checking for $ac_hdr" >&5
11254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11255 echo $ac_n "(cached) $ac_c" 1>&6
11257 cat > conftest.
$ac_ext <<EOF
11258 #line 11259 "configure"
11259 #include "confdefs.h"
11262 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11263 { (eval echo configure
:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11264 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11265 if test -z "$ac_err"; then
11267 eval "ac_cv_header_$ac_safe=yes"
11270 echo "configure: failed program was:" >&5
11271 cat conftest.
$ac_ext >&5
11273 eval "ac_cv_header_$ac_safe=no"
11277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11278 echo "$ac_t""yes" 1>&6
11279 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11280 cat >> confdefs.h
<<EOF
11281 #define $ac_tr_hdr 1
11285 echo "$ac_t""no" 1>&6
11289 for ac_hdr
in unistd.h
11291 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11292 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11293 echo "configure:11294: checking for $ac_hdr" >&5
11294 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11295 echo $ac_n "(cached) $ac_c" 1>&6
11297 cat > conftest.
$ac_ext <<EOF
11298 #line 11299 "configure"
11299 #include "confdefs.h"
11302 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11303 { (eval echo configure
:11304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11304 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11305 if test -z "$ac_err"; then
11307 eval "ac_cv_header_$ac_safe=yes"
11310 echo "configure: failed program was:" >&5
11311 cat conftest.
$ac_ext >&5
11313 eval "ac_cv_header_$ac_safe=no"
11317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11318 echo "$ac_t""yes" 1>&6
11319 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11320 cat >> confdefs.h
<<EOF
11321 #define $ac_tr_hdr 1
11325 echo "$ac_t""no" 1>&6
11329 for ac_hdr
in wchar.h
11331 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11333 echo "configure:11334: checking for $ac_hdr" >&5
11334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11335 echo $ac_n "(cached) $ac_c" 1>&6
11337 cat > conftest.
$ac_ext <<EOF
11338 #line 11339 "configure"
11339 #include "confdefs.h"
11342 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11343 { (eval echo configure
:11344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11344 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11345 if test -z "$ac_err"; then
11347 eval "ac_cv_header_$ac_safe=yes"
11350 echo "configure: failed program was:" >&5
11351 cat conftest.
$ac_ext >&5
11353 eval "ac_cv_header_$ac_safe=no"
11357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11358 echo "$ac_t""yes" 1>&6
11359 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11360 cat >> confdefs.h
<<EOF
11361 #define $ac_tr_hdr 1
11365 echo "$ac_t""no" 1>&6
11369 for ac_hdr
in wcstr.h
11371 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11372 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11373 echo "configure:11374: checking for $ac_hdr" >&5
11374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11375 echo $ac_n "(cached) $ac_c" 1>&6
11377 cat > conftest.
$ac_ext <<EOF
11378 #line 11379 "configure"
11379 #include "confdefs.h"
11382 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11383 { (eval echo configure
:11384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11384 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11385 if test -z "$ac_err"; then
11387 eval "ac_cv_header_$ac_safe=yes"
11390 echo "configure: failed program was:" >&5
11391 cat conftest.
$ac_ext >&5
11393 eval "ac_cv_header_$ac_safe=no"
11397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11398 echo "$ac_t""yes" 1>&6
11399 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11400 cat >> confdefs.h
<<EOF
11401 #define $ac_tr_hdr 1
11405 echo "$ac_t""no" 1>&6
11409 for ac_hdr
in fnmatch.h
11411 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11412 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11413 echo "configure:11414: checking for $ac_hdr" >&5
11414 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11415 echo $ac_n "(cached) $ac_c" 1>&6
11417 cat > conftest.
$ac_ext <<EOF
11418 #line 11419 "configure"
11419 #include "confdefs.h"
11422 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11423 { (eval echo configure
:11424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11424 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11425 if test -z "$ac_err"; then
11427 eval "ac_cv_header_$ac_safe=yes"
11430 echo "configure: failed program was:" >&5
11431 cat conftest.
$ac_ext >&5
11433 eval "ac_cv_header_$ac_safe=no"
11437 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11438 echo "$ac_t""yes" 1>&6
11439 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11440 cat >> confdefs.h
<<EOF
11441 #define $ac_tr_hdr 1
11445 echo "$ac_t""no" 1>&6
11449 for ac_hdr
in iconv.h
11451 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11452 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11453 echo "configure:11454: checking for $ac_hdr" >&5
11454 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11455 echo $ac_n "(cached) $ac_c" 1>&6
11457 cat > conftest.
$ac_ext <<EOF
11458 #line 11459 "configure"
11459 #include "confdefs.h"
11462 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11463 { (eval echo configure
:11464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11464 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11465 if test -z "$ac_err"; then
11467 eval "ac_cv_header_$ac_safe=yes"
11470 echo "configure: failed program was:" >&5
11471 cat conftest.
$ac_ext >&5
11473 eval "ac_cv_header_$ac_safe=no"
11477 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11478 echo "$ac_t""yes" 1>&6
11479 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11480 cat >> confdefs.h
<<EOF
11481 #define $ac_tr_hdr 1
11485 echo "$ac_t""no" 1>&6
11489 for ac_hdr
in langinfo.h
11491 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11493 echo "configure:11494: checking for $ac_hdr" >&5
11494 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11495 echo $ac_n "(cached) $ac_c" 1>&6
11497 cat > conftest.
$ac_ext <<EOF
11498 #line 11499 "configure"
11499 #include "confdefs.h"
11502 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11503 { (eval echo configure
:11504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11504 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11505 if test -z "$ac_err"; then
11507 eval "ac_cv_header_$ac_safe=yes"
11510 echo "configure: failed program was:" >&5
11511 cat conftest.
$ac_ext >&5
11513 eval "ac_cv_header_$ac_safe=no"
11517 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11518 echo "$ac_t""yes" 1>&6
11519 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11520 cat >> confdefs.h
<<EOF
11521 #define $ac_tr_hdr 1
11525 echo "$ac_t""no" 1>&6
11530 if test "$wxUSE_GUI" = "yes"; then
11531 if test "$wxUSE_UNIX" = "yes"; then
11532 for ac_hdr
in X
11/XKBlib.h
11534 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11536 echo "configure:11537: checking for $ac_hdr" >&5
11537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11540 cat > conftest.
$ac_ext <<EOF
11541 #line 11542 "configure"
11542 #include "confdefs.h"
11545 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11546 { (eval echo configure
:11547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11547 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11548 if test -z "$ac_err"; then
11550 eval "ac_cv_header_$ac_safe=yes"
11553 echo "configure: failed program was:" >&5
11554 cat conftest.
$ac_ext >&5
11556 eval "ac_cv_header_$ac_safe=no"
11560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11561 echo "$ac_t""yes" 1>&6
11562 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11563 cat >> confdefs.h
<<EOF
11564 #define $ac_tr_hdr 1
11568 echo "$ac_t""no" 1>&6
11575 if test "$USE_WIN32" = 1; then
11576 for ac_hdr
in w32api.h
11578 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11580 echo "configure:11581: checking for $ac_hdr" >&5
11581 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11582 echo $ac_n "(cached) $ac_c" 1>&6
11584 cat > conftest.
$ac_ext <<EOF
11585 #line 11586 "configure"
11586 #include "confdefs.h"
11589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11590 { (eval echo configure
:11591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11591 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11592 if test -z "$ac_err"; then
11594 eval "ac_cv_header_$ac_safe=yes"
11597 echo "configure: failed program was:" >&5
11598 cat conftest.
$ac_ext >&5
11600 eval "ac_cv_header_$ac_safe=no"
11604 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11605 echo "$ac_t""yes" 1>&6
11606 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11607 cat >> confdefs.h
<<EOF
11608 #define $ac_tr_hdr 1
11612 echo "$ac_t""no" 1>&6
11619 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11620 echo "configure:11621: checking for ANSI C header files" >&5
11621 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11622 echo $ac_n "(cached) $ac_c" 1>&6
11624 cat > conftest.
$ac_ext <<EOF
11625 #line 11626 "configure"
11626 #include "confdefs.h"
11627 #include <stdlib.h>
11628 #include <stdarg.h>
11629 #include <string.h>
11632 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11633 { (eval echo configure
:11634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11634 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11635 if test -z "$ac_err"; then
11637 ac_cv_header_stdc
=yes
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 ac_cv_header_stdc
=no
11647 if test $ac_cv_header_stdc = yes; then
11648 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11649 cat > conftest.
$ac_ext <<EOF
11650 #line 11651 "configure"
11651 #include "confdefs.h"
11652 #include <string.h>
11654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11655 egrep "memchr" >/dev
/null
2>&1; then
11659 ac_cv_header_stdc
=no
11665 if test $ac_cv_header_stdc = yes; then
11666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11667 cat > conftest.
$ac_ext <<EOF
11668 #line 11669 "configure"
11669 #include "confdefs.h"
11670 #include <stdlib.h>
11672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11673 egrep "free" >/dev
/null
2>&1; then
11677 ac_cv_header_stdc
=no
11683 if test $ac_cv_header_stdc = yes; then
11684 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11685 if test "$cross_compiling" = yes; then
11688 cat > conftest.
$ac_ext <<EOF
11689 #line 11690 "configure"
11690 #include "confdefs.h"
11692 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11693 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11695 int main () { int i; for (i = 0; i < 256; i++)
11696 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11700 if { (eval echo configure
:11701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11704 echo "configure: failed program was:" >&5
11705 cat conftest.
$ac_ext >&5
11707 ac_cv_header_stdc
=no
11715 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11716 if test $ac_cv_header_stdc = yes; then
11717 cat >> confdefs.h
<<\EOF
11718 #define STDC_HEADERS 1
11723 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11724 echo "configure:11725: checking for mode_t" >&5
11725 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11728 cat > conftest.
$ac_ext <<EOF
11729 #line 11730 "configure"
11730 #include "confdefs.h"
11731 #include <sys/types.h>
11733 #include <stdlib.h>
11734 #include <stddef.h>
11737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11738 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11740 ac_cv_type_mode_t
=yes
11743 ac_cv_type_mode_t
=no
11748 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11749 if test $ac_cv_type_mode_t = no
; then
11750 cat >> confdefs.h
<<\EOF
11756 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11757 echo "configure:11758: checking for off_t" >&5
11758 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11759 echo $ac_n "(cached) $ac_c" 1>&6
11761 cat > conftest.
$ac_ext <<EOF
11762 #line 11763 "configure"
11763 #include "confdefs.h"
11764 #include <sys/types.h>
11766 #include <stdlib.h>
11767 #include <stddef.h>
11770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11771 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11773 ac_cv_type_off_t
=yes
11776 ac_cv_type_off_t
=no
11781 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11782 if test $ac_cv_type_off_t = no
; then
11783 cat >> confdefs.h
<<\EOF
11789 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11790 echo "configure:11791: checking for pid_t" >&5
11791 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11792 echo $ac_n "(cached) $ac_c" 1>&6
11794 cat > conftest.
$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11797 #include <sys/types.h>
11799 #include <stdlib.h>
11800 #include <stddef.h>
11803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11804 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11806 ac_cv_type_pid_t
=yes
11809 ac_cv_type_pid_t
=no
11814 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11815 if test $ac_cv_type_pid_t = no
; then
11816 cat >> confdefs.h
<<\EOF
11822 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11823 echo "configure:11824: checking for size_t" >&5
11824 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11827 cat > conftest.
$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11830 #include <sys/types.h>
11832 #include <stdlib.h>
11833 #include <stddef.h>
11836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11837 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11839 ac_cv_type_size_t
=yes
11842 ac_cv_type_size_t
=no
11847 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11848 if test $ac_cv_type_size_t = no
; then
11849 cat >> confdefs.h
<<\EOF
11850 #define size_t unsigned
11855 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11856 echo "configure:11857: checking for uid_t in sys/types.h" >&5
11857 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11858 echo $ac_n "(cached) $ac_c" 1>&6
11860 cat > conftest.
$ac_ext <<EOF
11861 #line 11862 "configure"
11862 #include "confdefs.h"
11863 #include <sys/types.h>
11865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11866 egrep "uid_t" >/dev
/null
2>&1; then
11868 ac_cv_type_uid_t
=yes
11871 ac_cv_type_uid_t
=no
11877 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11878 if test $ac_cv_type_uid_t = no
; then
11879 cat >> confdefs.h
<<\EOF
11883 cat >> confdefs.h
<<\EOF
11890 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11891 echo "configure:11892: checking for wchar_t" >&5
11892 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11893 echo $ac_n "(cached) $ac_c" 1>&6
11896 cat > conftest.
$ac_ext <<EOF
11897 #line 11898 "configure"
11898 #include "confdefs.h"
11904 ws = L"Hello, world!";
11908 if { (eval echo configure
:11909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11910 wx_cv_type_wchar_t
=yes
11912 echo "configure: failed program was:" >&5
11913 cat conftest.
$ac_ext >&5
11915 cat > conftest.
$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11918 #include <stdlib.h>
11923 ws = L"Hello, world!";
11927 if { (eval echo configure
:11928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11929 wx_cv_type_wchar_t
=yes
11931 echo "configure: failed program was:" >&5
11932 cat conftest.
$ac_ext >&5
11934 wx_cv_type_wchar_t
=no
11943 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11945 if test "$wx_cv_type_wchar_t" = "yes"; then
11946 cat >> confdefs.h
<<\EOF
11947 #define wxUSE_WCHAR_T 1
11954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11955 ac_cpp
='$CXXCPP $CPPFLAGS'
11956 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11957 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11958 cross_compiling
=$ac_cv_prog_cxx_cross
11960 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11961 echo "configure:11962: checking if size_t is unsigned int" >&5
11962 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11965 cat > conftest.
$ac_ext <<EOF
11966 #line 11967 "configure"
11967 #include "confdefs.h"
11968 #include <stddef.h>
11973 struct Foo { void foo(size_t); void foo(unsigned int); };
11979 if { (eval echo configure
:11980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11981 wx_cv_size_t_is_uint
=no
11983 echo "configure: failed program was:" >&5
11984 cat conftest.
$ac_ext >&5
11986 wx_cv_size_t_is_uint
=yes
11993 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11995 if test "$wx_cv_size_t_is_uint" = "yes"; then
11996 cat >> confdefs.h
<<\EOF
11997 #define wxSIZE_T_IS_UINT 1
12001 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12002 echo "configure:12003: checking if size_t is unsigned long" >&5
12003 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12004 echo $ac_n "(cached) $ac_c" 1>&6
12006 cat > conftest.
$ac_ext <<EOF
12007 #line 12008 "configure"
12008 #include "confdefs.h"
12009 #include <stddef.h>
12014 struct Foo { void foo(size_t); void foo(unsigned long); };
12020 if { (eval echo configure
:12021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12022 wx_cv_size_t_is_ulong
=no
12024 echo "configure: failed program was:" >&5
12025 cat conftest.
$ac_ext >&5
12027 wx_cv_size_t_is_ulong
=yes
12034 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12036 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12037 cat >> confdefs.h
<<\EOF
12038 #define wxSIZE_T_IS_ULONG 1
12045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12046 ac_cpp
='$CPP $CPPFLAGS'
12047 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12048 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12049 cross_compiling
=$ac_cv_prog_cc_cross
12053 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12054 echo "configure:12055: checking for pw_gecos in struct passwd" >&5
12055 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12056 echo $ac_n "(cached) $ac_c" 1>&6
12059 cat > conftest.
$ac_ext <<EOF
12060 #line 12061 "configure"
12061 #include "confdefs.h"
12071 if { (eval echo configure
:12072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12074 wx_cv_struct_pw_gecos
=yes
12077 echo "configure: failed program was:" >&5
12078 cat conftest.
$ac_ext >&5
12081 wx_cv_struct_pw_gecos
=no
12090 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12092 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12093 cat >> confdefs.h
<<\EOF
12094 #define HAVE_PW_GECOS 1
12100 echo $ac_n "checking for working const""... $ac_c" 1>&6
12101 echo "configure:12102: checking for working const" >&5
12102 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12105 cat > conftest.
$ac_ext <<EOF
12106 #line 12107 "configure"
12107 #include "confdefs.h"
12111 /* Ultrix mips cc rejects this. */
12112 typedef int charset[2]; const charset x;
12113 /* SunOS 4.1.1 cc rejects this. */
12114 char const *const *ccp;
12116 /* NEC SVR4.0.2 mips cc rejects this. */
12117 struct point {int x, y;};
12118 static struct point const zero = {0,0};
12119 /* AIX XL C 1.02.0.0 rejects this.
12120 It does not let you subtract one const X* pointer from another in an arm
12121 of an if-expression whose if-part is not a constant expression */
12122 const char *g = "string";
12123 ccp = &g + (g ? g-g : 0);
12124 /* HPUX 7.0 cc rejects these. */
12127 ccp = (char const *const *) p;
12128 { /* SCO 3.2v4 cc rejects this. */
12130 char const *s = 0 ? (char *) 0 : (char const *) 0;
12134 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12135 int x[] = {25, 17};
12136 const int *foo = &x[0];
12139 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12140 typedef const int *iptr;
12144 { /* AIX XL C 1.02.0.0 rejects this saying
12145 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12146 struct s { int j; const int *ap[3]; };
12147 struct s *b; b->j = 5;
12149 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12150 const int foo = 10;
12155 if { (eval echo configure
:12156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12159 echo "configure: failed program was:" >&5
12160 cat conftest.
$ac_ext >&5
12167 echo "$ac_t""$ac_cv_c_const" 1>&6
12168 if test $ac_cv_c_const = no
; then
12169 cat >> confdefs.h
<<\EOF
12175 echo $ac_n "checking for inline""... $ac_c" 1>&6
12176 echo "configure:12177: checking for inline" >&5
12177 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12178 echo $ac_n "(cached) $ac_c" 1>&6
12181 for ac_kw
in inline __inline__ __inline
; do
12182 cat > conftest.
$ac_ext <<EOF
12183 #line 12184 "configure"
12184 #include "confdefs.h"
12190 if { (eval echo configure
:12191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12192 ac_cv_c_inline
=$ac_kw; break
12194 echo "configure: failed program was:" >&5
12195 cat conftest.
$ac_ext >&5
12202 echo "$ac_t""$ac_cv_c_inline" 1>&6
12203 case "$ac_cv_c_inline" in
12205 no
) cat >> confdefs.h
<<\EOF
12209 *) cat >> confdefs.h
<<EOF
12210 #define inline $ac_cv_c_inline
12216 echo $ac_n "checking size of char""... $ac_c" 1>&6
12217 echo "configure:12218: checking size of char" >&5
12218 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12219 echo $ac_n "(cached) $ac_c" 1>&6
12221 if test "$cross_compiling" = yes; then
12222 ac_cv_sizeof_char
=1
12224 cat > conftest.
$ac_ext <<EOF
12225 #line 12226 "configure"
12226 #include "confdefs.h"
12230 FILE *f=fopen("conftestval", "w");
12232 fprintf(f, "%d\n", sizeof(char));
12236 if { (eval echo configure
:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12238 ac_cv_sizeof_char
=`cat conftestval`
12240 echo "configure: failed program was:" >&5
12241 cat conftest.
$ac_ext >&5
12243 ac_cv_sizeof_char
=0
12249 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12250 cat >> confdefs.h
<<EOF
12251 #define SIZEOF_CHAR $ac_cv_sizeof_char
12255 echo $ac_n "checking size of short""... $ac_c" 1>&6
12256 echo "configure:12257: checking size of short" >&5
12257 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12258 echo $ac_n "(cached) $ac_c" 1>&6
12260 if test "$cross_compiling" = yes; then
12261 ac_cv_sizeof_short
=2
12263 cat > conftest.
$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12269 FILE *f=fopen("conftestval", "w");
12271 fprintf(f, "%d\n", sizeof(short));
12275 if { (eval echo configure
:12276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12277 ac_cv_sizeof_short
=`cat conftestval`
12279 echo "configure: failed program was:" >&5
12280 cat conftest.
$ac_ext >&5
12282 ac_cv_sizeof_short
=0
12288 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12289 cat >> confdefs.h
<<EOF
12290 #define SIZEOF_SHORT $ac_cv_sizeof_short
12294 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12295 echo "configure:12296: checking size of int *" >&5
12296 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12297 echo $ac_n "(cached) $ac_c" 1>&6
12299 if test "$cross_compiling" = yes; then
12300 ac_cv_sizeof_int_p
=4
12302 cat > conftest.
$ac_ext <<EOF
12303 #line 12304 "configure"
12304 #include "confdefs.h"
12308 FILE *f=fopen("conftestval", "w");
12310 fprintf(f, "%d\n", sizeof(int *));
12314 if { (eval echo configure
:12315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12316 ac_cv_sizeof_int_p
=`cat conftestval`
12318 echo "configure: failed program was:" >&5
12319 cat conftest.
$ac_ext >&5
12321 ac_cv_sizeof_int_p
=0
12327 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12328 cat >> confdefs.h
<<EOF
12329 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12333 echo $ac_n "checking size of int""... $ac_c" 1>&6
12334 echo "configure:12335: checking size of int" >&5
12335 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12336 echo $ac_n "(cached) $ac_c" 1>&6
12338 if test "$cross_compiling" = yes; then
12341 cat > conftest.
$ac_ext <<EOF
12342 #line 12343 "configure"
12343 #include "confdefs.h"
12347 FILE *f=fopen("conftestval", "w");
12349 fprintf(f, "%d\n", sizeof(int));
12353 if { (eval echo configure
:12354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12355 ac_cv_sizeof_int
=`cat conftestval`
12357 echo "configure: failed program was:" >&5
12358 cat conftest.
$ac_ext >&5
12366 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12367 cat >> confdefs.h
<<EOF
12368 #define SIZEOF_INT $ac_cv_sizeof_int
12372 echo $ac_n "checking size of long""... $ac_c" 1>&6
12373 echo "configure:12374: checking size of long" >&5
12374 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12377 if test "$cross_compiling" = yes; then
12378 ac_cv_sizeof_long
=4
12380 cat > conftest.
$ac_ext <<EOF
12381 #line 12382 "configure"
12382 #include "confdefs.h"
12386 FILE *f=fopen("conftestval", "w");
12388 fprintf(f, "%d\n", sizeof(long));
12392 if { (eval echo configure
:12393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12394 ac_cv_sizeof_long
=`cat conftestval`
12396 echo "configure: failed program was:" >&5
12397 cat conftest.
$ac_ext >&5
12399 ac_cv_sizeof_long
=0
12405 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12406 cat >> confdefs.h
<<EOF
12407 #define SIZEOF_LONG $ac_cv_sizeof_long
12411 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12412 echo "configure:12413: checking size of long long" >&5
12413 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12414 echo $ac_n "(cached) $ac_c" 1>&6
12416 if test "$cross_compiling" = yes; then
12417 ac_cv_sizeof_long_long
=0
12419 cat > conftest.
$ac_ext <<EOF
12420 #line 12421 "configure"
12421 #include "confdefs.h"
12425 FILE *f=fopen("conftestval", "w");
12427 fprintf(f, "%d\n", sizeof(long long));
12431 if { (eval echo configure
:12432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12433 ac_cv_sizeof_long_long
=`cat conftestval`
12435 echo "configure: failed program was:" >&5
12436 cat conftest.
$ac_ext >&5
12438 ac_cv_sizeof_long_long
=0
12444 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12445 cat >> confdefs.h
<<EOF
12446 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12451 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12452 echo "configure:12453: checking size of wchar_t" >&5
12453 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12454 echo $ac_n "(cached) $ac_c" 1>&6
12457 if test "$cross_compiling" = yes; then
12458 wx_cv_sizeof_wchar_t
=4
12461 cat > conftest.
$ac_ext <<EOF
12462 #line 12463 "configure"
12463 #include "confdefs.h"
12465 #ifdef HAVE_WCHAR_H
12466 # include <wchar.h>
12468 #ifdef HAVE_STDLIB_H
12469 # include <stdlib.h>
12474 FILE *f=fopen("conftestval", "w");
12476 fprintf(f, "%i", sizeof(wchar_t));
12481 if { (eval echo configure
:12482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12483 wx_cv_sizeof_wchar_t
=`cat conftestval`
12485 echo "configure: failed program was:" >&5
12486 cat conftest.
$ac_ext >&5
12488 wx_cv_sizeof_wchar_t
=0
12496 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12498 cat >> confdefs.h
<<EOF
12499 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12503 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12504 echo "configure:12505: checking whether byte ordering is bigendian" >&5
12505 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12506 echo $ac_n "(cached) $ac_c" 1>&6
12508 ac_cv_c_bigendian
=unknown
12509 # See if sys/param.h defines the BYTE_ORDER macro.
12510 cat > conftest.
$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12513 #include <sys/types.h>
12514 #include <sys/param.h>
12517 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12518 bogus endian macros
12522 if { (eval echo configure
:12523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12524 # It does; now see whether it defined to BIG_ENDIAN or not.
12525 cat > conftest.
$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12528 #include <sys/types.h>
12529 #include <sys/param.h>
12532 #if BYTE_ORDER != BIG_ENDIAN
12537 if { (eval echo configure
:12538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12539 ac_cv_c_bigendian
=yes
12541 echo "configure: failed program was:" >&5
12542 cat conftest.
$ac_ext >&5
12544 ac_cv_c_bigendian
=no
12548 echo "configure: failed program was:" >&5
12549 cat conftest.
$ac_ext >&5
12552 if test $ac_cv_c_bigendian = unknown
; then
12553 if test "$cross_compiling" = yes; then
12554 ac_cv_c_bigendian
=unknown
12556 cat > conftest.
$ac_ext <<EOF
12557 #line 12558 "configure"
12558 #include "confdefs.h"
12560 /* Are we little or big endian? From Harbison&Steele. */
12564 char c[sizeof (long)];
12567 exit (u.c[sizeof (long) - 1] == 1);
12570 if { (eval echo configure
:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12572 ac_cv_c_bigendian
=no
12574 echo "configure: failed program was:" >&5
12575 cat conftest.
$ac_ext >&5
12577 ac_cv_c_bigendian
=yes
12585 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12586 if test $ac_cv_c_bigendian = unknown
; then
12587 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
12589 if test $ac_cv_c_bigendian = yes; then
12590 cat >> confdefs.h
<<\EOF
12591 #define WORDS_BIGENDIAN 1
12598 if test "$cross_compiling" = "yes"; then
12599 cat >> confdefs.h
<<\EOF
12600 #define wxUSE_IOSTREAMH 1
12606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12607 ac_cpp
='$CXXCPP $CPPFLAGS'
12608 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12609 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12610 cross_compiling
=$ac_cv_prog_cxx_cross
12613 for ac_hdr
in iostream
12615 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12616 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12617 echo "configure:12618: checking for $ac_hdr" >&5
12618 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12619 echo $ac_n "(cached) $ac_c" 1>&6
12621 cat > conftest.
$ac_ext <<EOF
12622 #line 12623 "configure"
12623 #include "confdefs.h"
12626 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12627 { (eval echo configure
:12628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12628 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12629 if test -z "$ac_err"; then
12631 eval "ac_cv_header_$ac_safe=yes"
12634 echo "configure: failed program was:" >&5
12635 cat conftest.
$ac_ext >&5
12637 eval "ac_cv_header_$ac_safe=no"
12641 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12642 echo "$ac_t""yes" 1>&6
12643 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12644 cat >> confdefs.h
<<EOF
12645 #define $ac_tr_hdr 1
12649 echo "$ac_t""no" 1>&6
12654 if test "$ac_cv_header_iostream" = "yes" ; then
12657 cat >> confdefs.h
<<\EOF
12658 #define wxUSE_IOSTREAMH 1
12664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12665 ac_cpp
='$CPP $CPPFLAGS'
12666 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12667 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12668 cross_compiling
=$ac_cv_prog_cc_cross
12674 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12675 echo "configure:12676: checking if C++ compiler supports bool" >&5
12676 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12677 echo $ac_n "(cached) $ac_c" 1>&6
12682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12683 ac_cpp
='$CXXCPP $CPPFLAGS'
12684 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12685 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12686 cross_compiling
=$ac_cv_prog_cxx_cross
12689 cat > conftest.
$ac_ext <<EOF
12690 #line 12691 "configure"
12691 #include "confdefs.h"
12702 if { (eval echo configure
:12703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12708 echo "configure: failed program was:" >&5
12709 cat conftest.
$ac_ext >&5
12719 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12720 ac_cpp
='$CPP $CPPFLAGS'
12721 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12722 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12723 cross_compiling
=$ac_cv_prog_cc_cross
12728 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12730 if test "$wx_cv_cpp_bool" = "yes"; then
12731 cat >> confdefs.h
<<\EOF
12732 #define HAVE_BOOL 1
12739 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12740 echo "configure:12741: checking for wcslen in -lc" >&5
12741 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12743 echo $ac_n "(cached) $ac_c" 1>&6
12745 ac_save_LIBS
="$LIBS"
12747 cat > conftest.
$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 /* Override any gcc2 internal prototype to avoid an error. */
12751 /* We use char because int might match the return type of a gcc2
12752 builtin and then its argument prototype would still apply. */
12759 if { (eval echo configure
:12760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12761 eval "ac_cv_lib_$ac_lib_var=yes"
12763 echo "configure: failed program was:" >&5
12764 cat conftest.
$ac_ext >&5
12766 eval "ac_cv_lib_$ac_lib_var=no"
12769 LIBS
="$ac_save_LIBS"
12772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12773 echo "$ac_t""yes" 1>&6
12775 cat >> confdefs.h
<<\EOF
12776 #define HAVE_WCSLEN 1
12782 echo "$ac_t""no" 1>&6
12784 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12785 echo "configure:12786: checking for wcslen in -lw" >&5
12786 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12788 echo $ac_n "(cached) $ac_c" 1>&6
12790 ac_save_LIBS
="$LIBS"
12792 cat > conftest.
$ac_ext <<EOF
12793 #line 12794 "configure"
12794 #include "confdefs.h"
12795 /* Override any gcc2 internal prototype to avoid an error. */
12796 /* We use char because int might match the return type of a gcc2
12797 builtin and then its argument prototype would still apply. */
12804 if { (eval echo configure
:12805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12806 eval "ac_cv_lib_$ac_lib_var=yes"
12808 echo "configure: failed program was:" >&5
12809 cat conftest.
$ac_ext >&5
12811 eval "ac_cv_lib_$ac_lib_var=no"
12814 LIBS
="$ac_save_LIBS"
12817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12818 echo "$ac_t""yes" 1>&6
12820 cat >> confdefs.h
<<\EOF
12821 #define HAVE_WCSLEN 1
12827 echo "$ac_t""no" 1>&6
12829 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12830 echo "configure:12831: checking for wcslen in -lmsvcrt" >&5
12831 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12833 echo $ac_n "(cached) $ac_c" 1>&6
12835 ac_save_LIBS
="$LIBS"
12836 LIBS
="-lmsvcrt $LIBS"
12837 cat > conftest.
$ac_ext <<EOF
12838 #line 12839 "configure"
12839 #include "confdefs.h"
12840 /* Override any gcc2 internal prototype to avoid an error. */
12841 /* We use char because int might match the return type of a gcc2
12842 builtin and then its argument prototype would still apply. */
12849 if { (eval echo configure
:12850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12851 eval "ac_cv_lib_$ac_lib_var=yes"
12853 echo "configure: failed program was:" >&5
12854 cat conftest.
$ac_ext >&5
12856 eval "ac_cv_lib_$ac_lib_var=no"
12859 LIBS
="$ac_save_LIBS"
12862 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12863 echo "$ac_t""yes" 1>&6
12865 cat >> confdefs.h
<<\EOF
12866 #define HAVE_WCSLEN 1
12872 echo "$ac_t""no" 1>&6
12882 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12883 echo "configure:12884: checking for vprintf" >&5
12884 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12885 echo $ac_n "(cached) $ac_c" 1>&6
12887 cat > conftest.
$ac_ext <<EOF
12888 #line 12889 "configure"
12889 #include "confdefs.h"
12890 /* System header to define __stub macros and hopefully few prototypes,
12891 which can conflict with char vprintf(); below. */
12892 #include <assert.h>
12893 /* Override any gcc2 internal prototype to avoid an error. */
12894 /* We use char because int might match the return type of a gcc2
12895 builtin and then its argument prototype would still apply. */
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12911 if { (eval echo configure
:12912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12913 eval "ac_cv_func_vprintf=yes"
12915 echo "configure: failed program was:" >&5
12916 cat conftest.
$ac_ext >&5
12918 eval "ac_cv_func_vprintf=no"
12923 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12924 echo "$ac_t""yes" 1>&6
12925 cat >> confdefs.h
<<\EOF
12926 #define HAVE_VPRINTF 1
12930 echo "$ac_t""no" 1>&6
12933 if test "$ac_cv_func_vprintf" != yes; then
12934 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12935 echo "configure:12936: checking for _doprnt" >&5
12936 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12937 echo $ac_n "(cached) $ac_c" 1>&6
12939 cat > conftest.
$ac_ext <<EOF
12940 #line 12941 "configure"
12941 #include "confdefs.h"
12942 /* System header to define __stub macros and hopefully few prototypes,
12943 which can conflict with char _doprnt(); below. */
12944 #include <assert.h>
12945 /* Override any gcc2 internal prototype to avoid an error. */
12946 /* We use char because int might match the return type of a gcc2
12947 builtin and then its argument prototype would still apply. */
12952 /* The GNU C library defines this for functions which it implements
12953 to always fail with ENOSYS. Some functions are actually named
12954 something starting with __ and the normal name is an alias. */
12955 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12963 if { (eval echo configure
:12964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12965 eval "ac_cv_func__doprnt=yes"
12967 echo "configure: failed program was:" >&5
12968 cat conftest.
$ac_ext >&5
12970 eval "ac_cv_func__doprnt=no"
12975 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12976 echo "$ac_t""yes" 1>&6
12977 cat >> confdefs.h
<<\EOF
12978 #define HAVE_DOPRNT 1
12982 echo "$ac_t""no" 1>&6
12993 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12994 echo "configure:12995: checking for vsnprintf" >&5
12995 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12996 echo $ac_n "(cached) $ac_c" 1>&6
12999 cat > conftest.
$ac_ext <<EOF
13000 #line 13001 "configure"
13001 #include "confdefs.h"
13004 #include <stdarg.h>
13008 int wx_test_vsnprintf(const char *, ...);
13010 wx_test_vsnprintf("%s");
13014 int wx_test_vsnprintf(const char *fmt, ...)
13019 va_start(argp, fmt);
13020 vsnprintf(s, 42, fmt, argp);
13025 if { (eval echo configure
:13026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13028 wx_cv_func_vsnprintf
=yes
13031 echo "configure: failed program was:" >&5
13032 cat conftest.
$ac_ext >&5
13035 cat > conftest.
$ac_ext <<EOF
13036 #line 13037 "configure"
13037 #include "confdefs.h"
13040 #include <stdarg.h>
13044 int wx_test_vsnprintf(const char *, ...);
13046 wx_test_vsnprintf("%s");
13050 int wx_test_vsnprintf(const char *fmt, ...)
13055 va_start(argp, fmt);
13056 _vsnprintf(s, 42, fmt, argp);
13061 if { (eval echo configure
:13062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13064 wx_cv_func_vsnprintf
=yes
13067 echo "configure: failed program was:" >&5
13068 cat conftest.
$ac_ext >&5
13071 wx_cv_func_vsnprintf
=no
13081 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13083 if test "$wx_cv_func_vsnprintf" = yes; then
13084 cat >> confdefs.h
<<\EOF
13085 #define HAVE_VSNPRINTF 1
13089 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13092 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13093 echo "configure:13094: checking for vsscanf" >&5
13094 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13095 echo $ac_n "(cached) $ac_c" 1>&6
13098 cat > conftest.
$ac_ext <<EOF
13099 #line 13100 "configure"
13100 #include "confdefs.h"
13103 #include <stdarg.h>
13107 int wx_test_vsscanf(const char *, ...);
13109 wx_test_vsscanf("%d");
13113 int wx_test_vsscanf(const char *fmt, ...)
13116 va_start(argp, fmt);
13117 vsscanf("42", fmt, argp);
13122 if { (eval echo configure
:13123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13125 wx_cv_func_vsscanf
=yes
13128 echo "configure: failed program was:" >&5
13129 cat conftest.
$ac_ext >&5
13132 wx_cv_func_vsscanf
=no
13139 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13141 if test "$wx_cv_func_vsscanf" = yes; then
13142 cat >> confdefs.h
<<\EOF
13143 #define HAVE_VSSCANF 1
13148 if test "$TOOLKIT" != "MSW"; then
13153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13154 ac_cpp
='$CXXCPP $CPPFLAGS'
13155 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13156 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13157 cross_compiling
=$ac_cv_prog_cxx_cross
13159 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13160 echo "configure:13161: checking if iconv() takes char**" >&5
13161 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13162 echo $ac_n "(cached) $ac_c" 1>&6
13165 cat > conftest.
$ac_ext <<EOF
13166 #line 13167 "configure"
13167 #include "confdefs.h"
13171 char **inbuf, **outbuf;
13173 size_t insz, outsz;
13174 iconv(cd, inbuf, &insz, outbuf, &outsz);
13178 if { (eval echo configure
:13179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13180 wx_cv_iconv_takes_char
=yes
13182 echo "configure: failed program was:" >&5
13183 cat conftest.
$ac_ext >&5
13185 wx_cv_iconv_takes_char
=no
13191 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13194 ac_cpp
='$CPP $CPPFLAGS'
13195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13197 cross_compiling
=$ac_cv_prog_cc_cross
13199 if test "$wx_cv_iconv_takes_char" = yes ; then
13200 cat >> confdefs.h
<<\EOF
13201 #define WX_ICONV_TAKES_CHAR 1
13207 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13208 for ac_func
in sigaction
13210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13211 echo "configure:13212: checking for $ac_func" >&5
13212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13213 echo $ac_n "(cached) $ac_c" 1>&6
13215 cat > conftest.
$ac_ext <<EOF
13216 #line 13217 "configure"
13217 #include "confdefs.h"
13218 /* System header to define __stub macros and hopefully few prototypes,
13219 which can conflict with char $ac_func(); below. */
13220 #include <assert.h>
13221 /* Override any gcc2 internal prototype to avoid an error. */
13222 /* We use char because int might match the return type of a gcc2
13223 builtin and then its argument prototype would still apply. */
13228 /* The GNU C library defines this for functions which it implements
13229 to always fail with ENOSYS. Some functions are actually named
13230 something starting with __ and the normal name is an alias. */
13231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13239 if { (eval echo configure
:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13241 eval "ac_cv_func_$ac_func=yes"
13243 echo "configure: failed program was:" >&5
13244 cat conftest.
$ac_ext >&5
13246 eval "ac_cv_func_$ac_func=no"
13251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13252 echo "$ac_t""yes" 1>&6
13253 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13254 cat >> confdefs.h
<<EOF
13255 #define $ac_tr_func 1
13259 echo "$ac_t""no" 1>&6
13264 if test "$ac_cv_func_sigaction" = "no"; then
13265 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13266 wxUSE_ON_FATAL_EXCEPTION
=no
13269 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13273 ac_cpp
='$CXXCPP $CPPFLAGS'
13274 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13275 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13276 cross_compiling
=$ac_cv_prog_cxx_cross
13279 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13280 echo "configure:13281: checking for sa_handler type" >&5
13281 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13282 echo $ac_n "(cached) $ac_c" 1>&6
13285 cat > conftest.
$ac_ext <<EOF
13286 #line 13287 "configure"
13287 #include "confdefs.h"
13288 #include <signal.h>
13291 extern void testSigHandler(int);
13293 struct sigaction sa;
13294 sa.sa_handler = testSigHandler;
13298 if { (eval echo configure
:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13301 wx_cv_type_sa_handler
=int
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13308 wx_cv_type_sa_handler
=void
13315 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13319 ac_cpp
='$CPP $CPPFLAGS'
13320 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13321 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13322 cross_compiling
=$ac_cv_prog_cc_cross
13325 cat >> confdefs.h
<<EOF
13326 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13332 for ac_func
in vfork
13334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13335 echo "configure:13336: checking for $ac_func" >&5
13336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13337 echo $ac_n "(cached) $ac_c" 1>&6
13339 cat > conftest.
$ac_ext <<EOF
13340 #line 13341 "configure"
13341 #include "confdefs.h"
13342 /* System header to define __stub macros and hopefully few prototypes,
13343 which can conflict with char $ac_func(); below. */
13344 #include <assert.h>
13345 /* Override any gcc2 internal prototype to avoid an error. */
13346 /* We use char because int might match the return type of a gcc2
13347 builtin and then its argument prototype would still apply. */
13352 /* The GNU C library defines this for functions which it implements
13353 to always fail with ENOSYS. Some functions are actually named
13354 something starting with __ and the normal name is an alias. */
13355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13363 if { (eval echo configure
:13364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13365 eval "ac_cv_func_$ac_func=yes"
13367 echo "configure: failed program was:" >&5
13368 cat conftest.
$ac_ext >&5
13370 eval "ac_cv_func_$ac_func=no"
13375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13376 echo "$ac_t""yes" 1>&6
13377 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13378 cat >> confdefs.h
<<EOF
13379 #define $ac_tr_func 1
13383 echo "$ac_t""no" 1>&6
13388 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13389 for ac_func
in fcntl flock
13391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13392 echo "configure:13393: checking for $ac_func" >&5
13393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13394 echo $ac_n "(cached) $ac_c" 1>&6
13396 cat > conftest.
$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func(); below. */
13401 #include <assert.h>
13402 /* Override any gcc2 internal prototype to avoid an error. */
13403 /* We use char because int might match the return type of a gcc2
13404 builtin and then its argument prototype would still apply. */
13409 /* The GNU C library defines this for functions which it implements
13410 to always fail with ENOSYS. Some functions are actually named
13411 something starting with __ and the normal name is an alias. */
13412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13420 if { (eval echo configure
:13421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13422 eval "ac_cv_func_$ac_func=yes"
13424 echo "configure: failed program was:" >&5
13425 cat conftest.
$ac_ext >&5
13427 eval "ac_cv_func_$ac_func=no"
13432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13434 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13435 cat >> confdefs.h
<<EOF
13436 #define $ac_tr_func 1
13440 echo "$ac_t""no" 1>&6
13445 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13446 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13447 wxUSE_SNGLINST_CHECKER
=no
13451 for ac_func
in timegm
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 for ac_func
in putenv setenv
13509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13510 echo "configure:13511: checking for $ac_func" >&5
13511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13512 echo $ac_n "(cached) $ac_c" 1>&6
13514 cat > conftest.
$ac_ext <<EOF
13515 #line 13516 "configure"
13516 #include "confdefs.h"
13517 /* System header to define __stub macros and hopefully few prototypes,
13518 which can conflict with char $ac_func(); below. */
13519 #include <assert.h>
13520 /* Override any gcc2 internal prototype to avoid an error. */
13521 /* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */
13527 /* The GNU C library defines this for functions which it implements
13528 to always fail with ENOSYS. Some functions are actually named
13529 something starting with __ and the normal name is an alias. */
13530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13538 if { (eval echo configure
:13539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13540 eval "ac_cv_func_$ac_func=yes"
13542 echo "configure: failed program was:" >&5
13543 cat conftest.
$ac_ext >&5
13545 eval "ac_cv_func_$ac_func=no"
13550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13551 echo "$ac_t""yes" 1>&6
13552 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13553 cat >> confdefs.h
<<EOF
13554 #define $ac_tr_func 1
13558 echo "$ac_t""no" 1>&6
13563 HAVE_SOME_SLEEP_FUNC
=0
13564 if test "$USE_BEOS" = 1; then
13565 cat >> confdefs.h
<<\EOF
13566 #define HAVE_SLEEP 1
13569 HAVE_SOME_SLEEP_FUNC
=1
13572 if test "$USE_DARWIN" = 1; then
13573 cat >> confdefs.h
<<\EOF
13574 #define HAVE_USLEEP 1
13577 HAVE_SOME_SLEEP_FUNC
=1
13580 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13582 for ac_func
in nanosleep
13584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13585 echo "configure:13586: checking for $ac_func" >&5
13586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13587 echo $ac_n "(cached) $ac_c" 1>&6
13589 cat > conftest.
$ac_ext <<EOF
13590 #line 13591 "configure"
13591 #include "confdefs.h"
13592 /* System header to define __stub macros and hopefully few prototypes,
13593 which can conflict with char $ac_func(); below. */
13594 #include <assert.h>
13595 /* Override any gcc2 internal prototype to avoid an error. */
13596 /* We use char because int might match the return type of a gcc2
13597 builtin and then its argument prototype would still apply. */
13602 /* The GNU C library defines this for functions which it implements
13603 to always fail with ENOSYS. Some functions are actually named
13604 something starting with __ and the normal name is an alias. */
13605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13613 if { (eval echo configure
:13614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13615 eval "ac_cv_func_$ac_func=yes"
13617 echo "configure: failed program was:" >&5
13618 cat conftest.
$ac_ext >&5
13620 eval "ac_cv_func_$ac_func=no"
13625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13626 echo "$ac_t""yes" 1>&6
13627 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13628 cat >> confdefs.h
<<EOF
13629 #define $ac_tr_func 1
13631 cat >> confdefs.h
<<\EOF
13632 #define HAVE_NANOSLEEP 1
13636 echo "$ac_t""no" 1>&6
13637 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13638 echo "configure:13639: checking for nanosleep in -lposix4" >&5
13639 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13643 ac_save_LIBS
="$LIBS"
13644 LIBS
="-lposix4 $LIBS"
13645 cat > conftest.
$ac_ext <<EOF
13646 #line 13647 "configure"
13647 #include "confdefs.h"
13648 /* Override any gcc2 internal prototype to avoid an error. */
13649 /* We use char because int might match the return type of a gcc2
13650 builtin and then its argument prototype would still apply. */
13657 if { (eval echo configure
:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13659 eval "ac_cv_lib_$ac_lib_var=yes"
13661 echo "configure: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13664 eval "ac_cv_lib_$ac_lib_var=no"
13667 LIBS
="$ac_save_LIBS"
13670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13671 echo "$ac_t""yes" 1>&6
13673 cat >> confdefs.h
<<\EOF
13674 #define HAVE_NANOSLEEP 1
13677 POSIX4_LINK
="-lposix4"
13680 echo "$ac_t""no" 1>&6
13682 for ac_func
in usleep
13684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13685 echo "configure:13686: checking for $ac_func" >&5
13686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13687 echo $ac_n "(cached) $ac_c" 1>&6
13689 cat > conftest.
$ac_ext <<EOF
13690 #line 13691 "configure"
13691 #include "confdefs.h"
13692 /* System header to define __stub macros and hopefully few prototypes,
13693 which can conflict with char $ac_func(); below. */
13694 #include <assert.h>
13695 /* Override any gcc2 internal prototype to avoid an error. */
13696 /* We use char because int might match the return type of a gcc2
13697 builtin and then its argument prototype would still apply. */
13702 /* The GNU C library defines this for functions which it implements
13703 to always fail with ENOSYS. Some functions are actually named
13704 something starting with __ and the normal name is an alias. */
13705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13713 if { (eval echo configure
:13714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13715 eval "ac_cv_func_$ac_func=yes"
13717 echo "configure: failed program was:" >&5
13718 cat conftest.
$ac_ext >&5
13720 eval "ac_cv_func_$ac_func=no"
13725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13726 echo "$ac_t""yes" 1>&6
13727 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13728 cat >> confdefs.h
<<EOF
13729 #define $ac_tr_func 1
13731 cat >> confdefs.h
<<\EOF
13732 #define HAVE_USLEEP 1
13736 echo "$ac_t""no" 1>&6
13737 echo "configure: warning: wxSleep() function will not work" 1>&2
13753 for ac_func
in uname gethostname
13755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13756 echo "configure:13757: checking for $ac_func" >&5
13757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13758 echo $ac_n "(cached) $ac_c" 1>&6
13760 cat > conftest.
$ac_ext <<EOF
13761 #line 13762 "configure"
13762 #include "confdefs.h"
13763 /* System header to define __stub macros and hopefully few prototypes,
13764 which can conflict with char $ac_func(); below. */
13765 #include <assert.h>
13766 /* Override any gcc2 internal prototype to avoid an error. */
13767 /* We use char because int might match the return type of a gcc2
13768 builtin and then its argument prototype would still apply. */
13773 /* The GNU C library defines this for functions which it implements
13774 to always fail with ENOSYS. Some functions are actually named
13775 something starting with __ and the normal name is an alias. */
13776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13784 if { (eval echo configure
:13785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13786 eval "ac_cv_func_$ac_func=yes"
13788 echo "configure: failed program was:" >&5
13789 cat conftest.
$ac_ext >&5
13791 eval "ac_cv_func_$ac_func=no"
13796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13797 echo "$ac_t""yes" 1>&6
13798 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13799 cat >> confdefs.h
<<EOF
13800 #define $ac_tr_func 1
13804 echo "$ac_t""no" 1>&6
13811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13812 ac_cpp
='$CXXCPP $CPPFLAGS'
13813 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13814 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13815 cross_compiling
=$ac_cv_prog_cxx_cross
13818 for ac_func
in strtok_r
13820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13821 echo "configure:13822: checking for $ac_func" >&5
13822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13823 echo $ac_n "(cached) $ac_c" 1>&6
13825 cat > conftest.
$ac_ext <<EOF
13826 #line 13827 "configure"
13827 #include "confdefs.h"
13828 /* System header to define __stub macros and hopefully few prototypes,
13829 which can conflict with char $ac_func(); below. */
13830 #include <assert.h>
13831 /* Override any gcc2 internal prototype to avoid an error. */
13835 /* We use char because int might match the return type of a gcc2
13836 builtin and then its argument prototype would still apply. */
13841 /* The GNU C library defines this for functions which it implements
13842 to always fail with ENOSYS. Some functions are actually named
13843 something starting with __ and the normal name is an alias. */
13844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13852 if { (eval echo configure
:13853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13854 eval "ac_cv_func_$ac_func=yes"
13856 echo "configure: failed program was:" >&5
13857 cat conftest.
$ac_ext >&5
13859 eval "ac_cv_func_$ac_func=no"
13864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13865 echo "$ac_t""yes" 1>&6
13866 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13867 cat >> confdefs.h
<<EOF
13868 #define $ac_tr_func 1
13872 echo "$ac_t""no" 1>&6
13878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13879 ac_cpp
='$CPP $CPPFLAGS'
13880 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13881 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13882 cross_compiling
=$ac_cv_prog_cc_cross
13886 for ac_func
in inet_addr
13888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13889 echo "configure:13890: checking for $ac_func" >&5
13890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13891 echo $ac_n "(cached) $ac_c" 1>&6
13893 cat > conftest.
$ac_ext <<EOF
13894 #line 13895 "configure"
13895 #include "confdefs.h"
13896 /* System header to define __stub macros and hopefully few prototypes,
13897 which can conflict with char $ac_func(); below. */
13898 #include <assert.h>
13899 /* Override any gcc2 internal prototype to avoid an error. */
13900 /* We use char because int might match the return type of a gcc2
13901 builtin and then its argument prototype would still apply. */
13906 /* The GNU C library defines this for functions which it implements
13907 to always fail with ENOSYS. Some functions are actually named
13908 something starting with __ and the normal name is an alias. */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13917 if { (eval echo configure
:13918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13919 eval "ac_cv_func_$ac_func=yes"
13921 echo "configure: failed program was:" >&5
13922 cat conftest.
$ac_ext >&5
13924 eval "ac_cv_func_$ac_func=no"
13929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13930 echo "$ac_t""yes" 1>&6
13931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13932 cat >> confdefs.h
<<EOF
13933 #define $ac_tr_func 1
13935 cat >> confdefs.h
<<\EOF
13936 #define HAVE_INET_ADDR 1
13940 echo "$ac_t""no" 1>&6
13941 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13942 echo "configure:13943: checking for inet_addr in -lnsl" >&5
13943 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13944 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13945 echo $ac_n "(cached) $ac_c" 1>&6
13947 ac_save_LIBS
="$LIBS"
13949 cat > conftest.
$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13952 /* Override any gcc2 internal prototype to avoid an error. */
13953 /* We use char because int might match the return type of a gcc2
13954 builtin and then its argument prototype would still apply. */
13961 if { (eval echo configure
:13962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13963 eval "ac_cv_lib_$ac_lib_var=yes"
13965 echo "configure: failed program was:" >&5
13966 cat conftest.
$ac_ext >&5
13968 eval "ac_cv_lib_$ac_lib_var=no"
13971 LIBS
="$ac_save_LIBS"
13974 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13975 echo "$ac_t""yes" 1>&6
13978 echo "$ac_t""no" 1>&6
13979 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13980 echo "configure:13981: checking for inet_addr in -lresolv" >&5
13981 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13985 ac_save_LIBS
="$LIBS"
13986 LIBS
="-lresolv $LIBS"
13987 cat > conftest.
$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13990 /* Override any gcc2 internal prototype to avoid an error. */
13991 /* We use char because int might match the return type of a gcc2
13992 builtin and then its argument prototype would still apply. */
13999 if { (eval echo configure
:14000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14001 eval "ac_cv_lib_$ac_lib_var=yes"
14003 echo "configure: failed program was:" >&5
14004 cat conftest.
$ac_ext >&5
14006 eval "ac_cv_lib_$ac_lib_var=no"
14009 LIBS
="$ac_save_LIBS"
14012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14013 echo "$ac_t""yes" 1>&6
14017 echo "$ac_t""no" 1>&6
14029 for ac_func
in inet_aton
14031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14032 echo "configure:14033: checking for $ac_func" >&5
14033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14034 echo $ac_n "(cached) $ac_c" 1>&6
14036 cat > conftest.
$ac_ext <<EOF
14037 #line 14038 "configure"
14038 #include "confdefs.h"
14039 /* System header to define __stub macros and hopefully few prototypes,
14040 which can conflict with char $ac_func(); below. */
14041 #include <assert.h>
14042 /* Override any gcc2 internal prototype to avoid an error. */
14043 /* We use char because int might match the return type of a gcc2
14044 builtin and then its argument prototype would still apply. */
14049 /* The GNU C library defines this for functions which it implements
14050 to always fail with ENOSYS. Some functions are actually named
14051 something starting with __ and the normal name is an alias. */
14052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14060 if { (eval echo configure
:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14062 eval "ac_cv_func_$ac_func=yes"
14064 echo "configure: failed program was:" >&5
14065 cat conftest.
$ac_ext >&5
14067 eval "ac_cv_func_$ac_func=no"
14072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14073 echo "$ac_t""yes" 1>&6
14074 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14075 cat >> confdefs.h
<<EOF
14076 #define $ac_tr_func 1
14078 cat >> confdefs.h
<<\EOF
14079 #define HAVE_INET_ATON 1
14083 echo "$ac_t""no" 1>&6
14084 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14085 echo "configure:14086: checking for inet_aton in -l$INET_LINK" >&5
14086 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14087 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14088 echo $ac_n "(cached) $ac_c" 1>&6
14090 ac_save_LIBS
="$LIBS"
14091 LIBS
="-l$INET_LINK $LIBS"
14092 cat > conftest.
$ac_ext <<EOF
14093 #line 14094 "configure"
14094 #include "confdefs.h"
14095 /* Override any gcc2 internal prototype to avoid an error. */
14096 /* We use char because int might match the return type of a gcc2
14097 builtin and then its argument prototype would still apply. */
14104 if { (eval echo configure
:14105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14106 eval "ac_cv_lib_$ac_lib_var=yes"
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14111 eval "ac_cv_lib_$ac_lib_var=no"
14114 LIBS
="$ac_save_LIBS"
14117 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14118 echo "$ac_t""yes" 1>&6
14119 cat >> confdefs.h
<<\EOF
14120 #define HAVE_INET_ATON 1
14124 echo "$ac_t""no" 1>&6
14132 if test "x$INET_LINK" != "x"; then
14133 cat >> confdefs.h
<<\EOF
14134 #define HAVE_INET_ADDR 1
14137 INET_LINK
="-l$INET_LINK"
14143 cat > confcache
<<\EOF
14144 # This file is a shell script that caches the results of configure
14145 # tests run on this system so they can be shared between configure
14146 # scripts and configure runs. It is not useful on other systems.
14147 # If it contains results you don't want to keep, you may remove or edit it.
14149 # By default, configure uses ./config.cache as the cache file,
14150 # creating it if it does not exist already. You can give configure
14151 # the --cache-file=FILE option to use a different cache file; that is
14152 # what configure does when it calls configure scripts in
14153 # subdirectories, so they share the cache.
14154 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14155 # config.status only pays attention to the cache file if you give it the
14156 # --recheck option to rerun configure.
14159 # The following way of writing the cache mishandles newlines in values,
14160 # but we know of no workaround that is simple, portable, and efficient.
14161 # So, don't put newlines in cache variables' values.
14162 # Ultrix sh set writes to stderr and can't be redirected directly,
14163 # and sets the high bit in the cache file unless we assign to the vars.
14165 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14167 # `set' does not quote correctly, so add quotes (double-quote substitution
14168 # turns \\\\ into \\, and sed turns \\ into \).
14170 -e "s/'/'\\\\''/g" \
14171 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14174 # `set' quotes correctly as required by POSIX, so do not add quotes.
14175 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14178 if cmp -s $cache_file confcache
; then
14181 if test -w $cache_file; then
14182 echo "updating cache $cache_file"
14183 cat confcache
> $cache_file
14185 echo "not updating unwritable cache $cache_file"
14192 if test "$TOOLKIT" != "MSW"; then
14198 if test "$wxUSE_THREADS" = "yes" ; then
14199 if test "$wxUSE_WINE" = 1 ; then
14200 echo "configure: warning: Threads are not supported under WINE" 1>&2
14202 elif test "$USE_BEOS" = 1; then
14203 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14208 if test "$wxUSE_THREADS" = "yes" ; then
14210 if test "$USE_AIX" = 1; then
14211 THREADS_LIB
=pthreads
14213 THREADS_LIB
=pthread
14216 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14217 echo "configure:14218: checking for pthread_create in -l$THREADS_LIB" >&5
14218 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14220 echo $ac_n "(cached) $ac_c" 1>&6
14222 ac_save_LIBS
="$LIBS"
14223 LIBS
="-l$THREADS_LIB $LIBS"
14224 cat > conftest.
$ac_ext <<EOF
14225 #line 14226 "configure"
14226 #include "confdefs.h"
14227 /* Override any gcc2 internal prototype to avoid an error. */
14228 /* We use char because int might match the return type of a gcc2
14229 builtin and then its argument prototype would still apply. */
14230 char pthread_create();
14236 if { (eval echo configure
:14237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14238 eval "ac_cv_lib_$ac_lib_var=yes"
14240 echo "configure: failed program was:" >&5
14241 cat conftest.
$ac_ext >&5
14243 eval "ac_cv_lib_$ac_lib_var=no"
14246 LIBS
="$ac_save_LIBS"
14249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14250 echo "$ac_t""yes" 1>&6
14252 THREADS_OBJ
="threadpsx.lo"
14253 THREADS_LINK
=$THREADS_LIB
14256 echo "$ac_t""no" 1>&6
14258 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14259 echo "configure:14260: checking for pthread_create in -lc_r" >&5
14260 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14262 echo $ac_n "(cached) $ac_c" 1>&6
14264 ac_save_LIBS
="$LIBS"
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 /* Override any gcc2 internal prototype to avoid an error. */
14270 /* We use char because int might match the return type of a gcc2
14271 builtin and then its argument prototype would still apply. */
14272 char pthread_create();
14278 if { (eval echo configure
:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14280 eval "ac_cv_lib_$ac_lib_var=yes"
14282 echo "configure: failed program was:" >&5
14283 cat conftest.
$ac_ext >&5
14285 eval "ac_cv_lib_$ac_lib_var=no"
14288 LIBS
="$ac_save_LIBS"
14291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14292 echo "$ac_t""yes" 1>&6
14294 THREADS_OBJ
="threadpsx.lo"
14298 echo "$ac_t""no" 1>&6
14300 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14301 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14302 echo "configure:14303: checking for sys/prctl.h" >&5
14303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14304 echo $ac_n "(cached) $ac_c" 1>&6
14306 cat > conftest.
$ac_ext <<EOF
14307 #line 14308 "configure"
14308 #include "confdefs.h"
14309 #include <sys/prctl.h>
14311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14312 { (eval echo configure
:14313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14314 if test -z "$ac_err"; then
14316 eval "ac_cv_header_$ac_safe=yes"
14319 echo "configure: failed program was:" >&5
14320 cat conftest.
$ac_ext >&5
14322 eval "ac_cv_header_$ac_safe=no"
14326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14327 echo "$ac_t""yes" 1>&6
14329 THREADS_OBJ
="threadsgi.lo"
14332 echo "$ac_t""no" 1>&6
14342 if test -z "$THREADS_OBJ" ; then
14344 echo "configure: warning: No thread support on this system" 1>&2
14348 if test "$wxUSE_THREADS" = "yes" ; then
14349 for ac_func
in thr_setconcurrency
14351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14352 echo "configure:14353: checking for $ac_func" >&5
14353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14354 echo $ac_n "(cached) $ac_c" 1>&6
14356 cat > conftest.
$ac_ext <<EOF
14357 #line 14358 "configure"
14358 #include "confdefs.h"
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char $ac_func(); below. */
14361 #include <assert.h>
14362 /* Override any gcc2 internal prototype to avoid an error. */
14363 /* We use char because int might match the return type of a gcc2
14364 builtin and then its argument prototype would still apply. */
14369 /* The GNU C library defines this for functions which it implements
14370 to always fail with ENOSYS. Some functions are actually named
14371 something starting with __ and the normal name is an alias. */
14372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14380 if { (eval echo configure
:14381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14382 eval "ac_cv_func_$ac_func=yes"
14384 echo "configure: failed program was:" >&5
14385 cat conftest.
$ac_ext >&5
14387 eval "ac_cv_func_$ac_func=no"
14392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14393 echo "$ac_t""yes" 1>&6
14394 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14395 cat >> confdefs.h
<<EOF
14396 #define $ac_tr_func 1
14400 echo "$ac_t""no" 1>&6
14406 for ac_hdr
in sched.h
14408 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14409 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14410 echo "configure:14411: checking for $ac_hdr" >&5
14411 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14419 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14420 { (eval echo configure
:14421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14421 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14422 if test -z "$ac_err"; then
14424 eval "ac_cv_header_$ac_safe=yes"
14427 echo "configure: failed program was:" >&5
14428 cat conftest.
$ac_ext >&5
14430 eval "ac_cv_header_$ac_safe=no"
14434 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14435 echo "$ac_t""yes" 1>&6
14436 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14437 cat >> confdefs.h
<<EOF
14438 #define $ac_tr_hdr 1
14442 echo "$ac_t""no" 1>&6
14447 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14448 echo "configure:14449: checking for sched_yield in -l$THREADS_LINK" >&5
14449 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14450 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14451 echo $ac_n "(cached) $ac_c" 1>&6
14453 ac_save_LIBS
="$LIBS"
14454 LIBS
="-l$THREADS_LINK $LIBS"
14455 cat > conftest.
$ac_ext <<EOF
14456 #line 14457 "configure"
14457 #include "confdefs.h"
14458 /* Override any gcc2 internal prototype to avoid an error. */
14459 /* We use char because int might match the return type of a gcc2
14460 builtin and then its argument prototype would still apply. */
14461 char sched_yield();
14467 if { (eval echo configure
:14468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14469 eval "ac_cv_lib_$ac_lib_var=yes"
14471 echo "configure: failed program was:" >&5
14472 cat conftest.
$ac_ext >&5
14474 eval "ac_cv_lib_$ac_lib_var=no"
14477 LIBS
="$ac_save_LIBS"
14480 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14481 echo "$ac_t""yes" 1>&6
14482 cat >> confdefs.h
<<\EOF
14483 #define HAVE_SCHED_YIELD 1
14487 echo "$ac_t""no" 1>&6
14488 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14489 echo "configure:14490: checking for sched_yield in -lposix4" >&5
14490 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14492 echo $ac_n "(cached) $ac_c" 1>&6
14494 ac_save_LIBS
="$LIBS"
14495 LIBS
="-lposix4 $LIBS"
14496 cat > conftest.
$ac_ext <<EOF
14497 #line 14498 "configure"
14498 #include "confdefs.h"
14499 /* Override any gcc2 internal prototype to avoid an error. */
14500 /* We use char because int might match the return type of a gcc2
14501 builtin and then its argument prototype would still apply. */
14502 char sched_yield();
14508 if { (eval echo configure
:14509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14510 eval "ac_cv_lib_$ac_lib_var=yes"
14512 echo "configure: failed program was:" >&5
14513 cat conftest.
$ac_ext >&5
14515 eval "ac_cv_lib_$ac_lib_var=no"
14518 LIBS
="$ac_save_LIBS"
14521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14522 echo "$ac_t""yes" 1>&6
14523 cat >> confdefs.h
<<\EOF
14524 #define HAVE_SCHED_YIELD 1
14526 POSIX4_LINK
="-lposix4"
14528 echo "$ac_t""no" 1>&6
14529 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14538 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14539 echo "configure:14540: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14540 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14542 echo $ac_n "(cached) $ac_c" 1>&6
14544 ac_save_LIBS
="$LIBS"
14545 LIBS
="-l$THREADS_LINK $LIBS"
14546 cat > conftest.
$ac_ext <<EOF
14547 #line 14548 "configure"
14548 #include "confdefs.h"
14549 /* Override any gcc2 internal prototype to avoid an error. */
14550 /* We use char because int might match the return type of a gcc2
14551 builtin and then its argument prototype would still apply. */
14552 char pthread_attr_getschedpolicy();
14555 pthread_attr_getschedpolicy()
14558 if { (eval echo configure
:14559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14560 eval "ac_cv_lib_$ac_lib_var=yes"
14562 echo "configure: failed program was:" >&5
14563 cat conftest.
$ac_ext >&5
14565 eval "ac_cv_lib_$ac_lib_var=no"
14568 LIBS
="$ac_save_LIBS"
14571 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14573 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14574 echo "configure:14575: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14575 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14577 echo $ac_n "(cached) $ac_c" 1>&6
14579 ac_save_LIBS
="$LIBS"
14580 LIBS
="-l$THREADS_LINK $LIBS"
14581 cat > conftest.
$ac_ext <<EOF
14582 #line 14583 "configure"
14583 #include "confdefs.h"
14584 /* Override any gcc2 internal prototype to avoid an error. */
14585 /* We use char because int might match the return type of a gcc2
14586 builtin and then its argument prototype would still apply. */
14587 char pthread_attr_setschedparam();
14590 pthread_attr_setschedparam()
14593 if { (eval echo configure
:14594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14595 eval "ac_cv_lib_$ac_lib_var=yes"
14597 echo "configure: failed program was:" >&5
14598 cat conftest.
$ac_ext >&5
14600 eval "ac_cv_lib_$ac_lib_var=no"
14603 LIBS
="$ac_save_LIBS"
14606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14607 echo "$ac_t""yes" 1>&6
14608 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14609 echo "configure:14610: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14610 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14612 echo $ac_n "(cached) $ac_c" 1>&6
14614 ac_save_LIBS
="$LIBS"
14615 LIBS
="-l$THREADS_LINK $LIBS"
14616 cat > conftest.
$ac_ext <<EOF
14617 #line 14618 "configure"
14618 #include "confdefs.h"
14619 /* Override any gcc2 internal prototype to avoid an error. */
14620 /* We use char because int might match the return type of a gcc2
14621 builtin and then its argument prototype would still apply. */
14622 char sched_get_priority_max();
14625 sched_get_priority_max()
14628 if { (eval echo configure
:14629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14630 eval "ac_cv_lib_$ac_lib_var=yes"
14632 echo "configure: failed program was:" >&5
14633 cat conftest.
$ac_ext >&5
14635 eval "ac_cv_lib_$ac_lib_var=no"
14638 LIBS
="$ac_save_LIBS"
14641 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14642 echo "$ac_t""yes" 1>&6
14645 echo "$ac_t""no" 1>&6
14646 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14647 echo "configure:14648: checking for sched_get_priority_max in -lposix4" >&5
14648 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14649 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14650 echo $ac_n "(cached) $ac_c" 1>&6
14652 ac_save_LIBS
="$LIBS"
14653 LIBS
="-lposix4 $LIBS"
14654 cat > conftest.
$ac_ext <<EOF
14655 #line 14656 "configure"
14656 #include "confdefs.h"
14657 /* Override any gcc2 internal prototype to avoid an error. */
14658 /* We use char because int might match the return type of a gcc2
14659 builtin and then its argument prototype would still apply. */
14660 char sched_get_priority_max();
14663 sched_get_priority_max()
14666 if { (eval echo configure
:14667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14668 eval "ac_cv_lib_$ac_lib_var=yes"
14670 echo "configure: failed program was:" >&5
14671 cat conftest.
$ac_ext >&5
14673 eval "ac_cv_lib_$ac_lib_var=no"
14676 LIBS
="$ac_save_LIBS"
14679 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14680 echo "$ac_t""yes" 1>&6
14683 POSIX4_LINK
="-lposix4"
14686 echo "$ac_t""no" 1>&6
14694 echo "$ac_t""no" 1>&6
14699 echo "$ac_t""no" 1>&6
14703 if test "$HAVE_PRIOR_FUNCS" = 1; then
14704 cat >> confdefs.h
<<\EOF
14705 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14709 echo "configure: warning: Setting thread priority will not work" 1>&2
14712 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14713 echo "configure:14714: checking for pthread_cancel in -l$THREADS_LINK" >&5
14714 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14716 echo $ac_n "(cached) $ac_c" 1>&6
14718 ac_save_LIBS
="$LIBS"
14719 LIBS
="-l$THREADS_LINK $LIBS"
14720 cat > conftest.
$ac_ext <<EOF
14721 #line 14722 "configure"
14722 #include "confdefs.h"
14723 /* Override any gcc2 internal prototype to avoid an error. */
14724 /* We use char because int might match the return type of a gcc2
14725 builtin and then its argument prototype would still apply. */
14726 char pthread_cancel();
14732 if { (eval echo configure
:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14734 eval "ac_cv_lib_$ac_lib_var=yes"
14736 echo "configure: failed program was:" >&5
14737 cat conftest.
$ac_ext >&5
14739 eval "ac_cv_lib_$ac_lib_var=no"
14742 LIBS
="$ac_save_LIBS"
14745 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14746 echo "$ac_t""yes" 1>&6
14747 cat >> confdefs.h
<<\EOF
14748 #define HAVE_PTHREAD_CANCEL 1
14752 echo "$ac_t""no" 1>&6
14753 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14757 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14758 echo "configure:14759: checking for pthread_cleanup_push/pop" >&5
14759 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14760 echo $ac_n "(cached) $ac_c" 1>&6
14763 cat > conftest.
$ac_ext <<EOF
14764 #line 14765 "configure"
14765 #include "confdefs.h"
14766 #include <pthread.h>
14769 pthread_cleanup_push(NULL, NULL);
14770 pthread_cleanup_pop(0);
14774 if { (eval echo configure
:14775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14777 wx_cv_func_pthread_cleanup_push
=yes
14780 echo "configure: failed program was:" >&5
14781 cat conftest.
$ac_ext >&5
14784 wx_cv_func_pthread_cleanup_push
=no
14791 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14793 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14794 cat >> confdefs.h
<<\EOF
14795 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14801 if test "x$wx_lib_glibc21" = "xyes"; then
14802 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE=500"
14805 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14806 echo "configure:14807: checking for pthread_mutexattr_t" >&5
14807 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14808 echo $ac_n "(cached) $ac_c" 1>&6
14811 cat > conftest.
$ac_ext <<EOF
14812 #line 14813 "configure"
14813 #include "confdefs.h"
14814 #include <pthread.h>
14817 pthread_mutexattr_t attr;
14818 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14822 if { (eval echo configure
:14823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14825 wx_cv_type_pthread_mutexattr_t
=yes
14828 echo "configure: failed program was:" >&5
14829 cat conftest.
$ac_ext >&5
14832 wx_cv_type_pthread_mutexattr_t
=no
14840 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14842 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14843 cat >> confdefs.h
<<\EOF
14844 #define HAVE_PTHREAD_MUTEXATTR_T 1
14848 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14849 echo "configure:14850: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14850 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14851 echo $ac_n "(cached) $ac_c" 1>&6
14854 cat > conftest.
$ac_ext <<EOF
14855 #line 14856 "configure"
14856 #include "confdefs.h"
14857 #include <pthread.h>
14860 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14864 if { (eval echo configure
:14865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14867 wx_cv_type_pthread_rec_mutex_init
=yes
14870 echo "configure: failed program was:" >&5
14871 cat conftest.
$ac_ext >&5
14874 wx_cv_type_pthread_rec_mutex_init
=no
14882 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14883 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14884 cat >> confdefs.h
<<\EOF
14885 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14889 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14893 THREADS_LINK
="-l$THREADS_LINK"
14895 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14896 CFLAGS
="${CFLAGS} -mt"
14897 CXXFLAGS
="${CXXFLAGS} -mt"
14898 LDFLAGS
="${LDFLAGS} -mt"
14904 if test "$wxUSE_THREADS" = "yes"; then
14905 cat >> confdefs.h
<<\EOF
14906 #define wxUSE_THREADS 1
14910 if test "$USE_DARWIN" != 1; then
14911 CFLAGS
="${CFLAGS} -D_REENTRANT"
14912 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14917 if test "$ac_cv_func_strtok_r" = "yes"; then
14918 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14919 echo "configure:14920: checking if -D_REENTRANT is needed" >&5
14920 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14921 CFLAGS
="${CFLAGS} -D_REENTRANT"
14922 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14923 echo "$ac_t""yes" 1>&6
14925 echo "$ac_t""no" 1>&6
14930 if test "$WXGTK20" = 1 ; then
14931 cat >> confdefs.h
<<EOF
14932 #define __WXGTK20__ $WXGTK20
14938 if test "$WXGTK12" = 1 ; then
14939 cat >> confdefs.h
<<EOF
14940 #define __WXGTK12__ $WXGTK12
14945 if test "$WXGTK127" = 1 ; then
14946 cat >> confdefs.h
<<EOF
14947 #define __WXGTK127__ $WXGTK127
14952 if test "$WXWINE" = 1 ; then
14953 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14956 if test "$wxUSE_MAC" = 1 ; then
14957 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14958 CFLAGS
="${CFLAGS} -fpascal-strings"
14959 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14960 # Extract the first word of "Rez", so it can be a program name with args.
14961 set dummy Rez
; ac_word
=$2
14962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14963 echo "configure:14964: checking for $ac_word" >&5
14964 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14965 echo $ac_n "(cached) $ac_c" 1>&6
14967 if test -n "$REZ"; then
14968 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14972 for ac_dir
in $ac_dummy; do
14973 test -z "$ac_dir" && ac_dir
=.
14974 if test -f $ac_dir/$ac_word; then
14975 ac_cv_prog_REZ
="Rez"
14980 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14983 REZ
="$ac_cv_prog_REZ"
14984 if test -n "$REZ"; then
14985 echo "$ac_t""$REZ" 1>&6
14987 echo "$ac_t""no" 1>&6
14990 # Extract the first word of "Derez", so it can be a program name with args.
14991 set dummy Derez
; ac_word
=$2
14992 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14993 echo "configure:14994: checking for $ac_word" >&5
14994 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14995 echo $ac_n "(cached) $ac_c" 1>&6
14997 if test -n "$DEREZ"; then
14998 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15000 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15002 for ac_dir
in $ac_dummy; do
15003 test -z "$ac_dir" && ac_dir
=.
15004 if test -f $ac_dir/$ac_word; then
15005 ac_cv_prog_DEREZ
="Derez"
15010 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
15013 DEREZ
="$ac_cv_prog_DEREZ"
15014 if test -n "$DEREZ"; then
15015 echo "$ac_t""$DEREZ" 1>&6
15017 echo "$ac_t""no" 1>&6
15021 REZFLAGS
="-d __UNIX__ -useDF"
15022 DEREZFLAGS
="Carbon.r -useDF"
15023 RESFLAGS
="Carbon.r -t APPL"
15024 LIBWXMACRES
="\$(LIBWX_MACRES)"
15025 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
15028 if test "$wxUSE_CYGWIN" = 1 ; then
15029 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
15034 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15039 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15040 wxUSE_DEBUG_INFO
=yes
15044 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15045 cat >> confdefs.h
<<\EOF
15049 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15051 if test "$wxUSE_GTK" = 1 ; then
15052 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15056 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15057 cat >> confdefs.h
<<\EOF
15058 #define wxUSE_MEMORY_TRACING 1
15061 cat >> confdefs.h
<<\EOF
15062 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15065 cat >> confdefs.h
<<\EOF
15066 #define wxUSE_DEBUG_NEW_ALWAYS 1
15069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15072 if test "$wxUSE_DMALLOC" = "yes" ; then
15073 DMALLOC_LINK
="-ldmalloc"
15077 if test "$wxUSE_PROFILE" = "yes" ; then
15083 CODE_GEN_FLAGS_CXX
=
15084 if test "$GCC" = yes ; then
15085 if test "$wxUSE_NO_RTTI" = "yes" ; then
15086 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
15088 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15089 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
15091 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15092 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15094 if test "$wxUSE_NO_DEPS" = "no" ; then
15095 DEP_INFO_FLAGS
="-MMD"
15100 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15101 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15102 if test "$wxUSE_OPTIMISE" = "no" ; then
15105 if test "$GCC" = yes ; then
15108 i586
-*-*|i686
-*-* )
15109 OPTIMISE
="${OPTIMISE} "
15117 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15118 cat >> confdefs.h
<<\EOF
15119 #define WXWIN_COMPATIBILITY_2 1
15123 WXWIN_COMPATIBILITY_2_2
="yes"
15126 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15127 cat >> confdefs.h
<<\EOF
15128 #define WXWIN_COMPATIBILITY_2_2 1
15135 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15136 cat >> confdefs.h
<<\EOF
15137 #define wxUSE_ZLIB 1
15140 if test "$wxUSE_ZLIB" = "yes" ; then
15141 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15144 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15145 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15146 echo "configure:15147: checking for zlib.h" >&5
15147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15148 echo $ac_n "(cached) $ac_c" 1>&6
15150 cat > conftest.
$ac_ext <<EOF
15151 #line 15152 "configure"
15152 #include "confdefs.h"
15155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15156 { (eval echo configure
:15157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15158 if test -z "$ac_err"; then
15160 eval "ac_cv_header_$ac_safe=yes"
15163 echo "configure: failed program was:" >&5
15164 cat conftest.
$ac_ext >&5
15166 eval "ac_cv_header_$ac_safe=no"
15170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15171 echo "$ac_t""yes" 1>&6
15172 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15173 echo "configure:15174: checking for deflate in -lz" >&5
15174 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15176 echo $ac_n "(cached) $ac_c" 1>&6
15178 ac_save_LIBS
="$LIBS"
15180 cat > conftest.
$ac_ext <<EOF
15181 #line 15182 "configure"
15182 #include "confdefs.h"
15183 /* Override any gcc2 internal prototype to avoid an error. */
15184 /* We use char because int might match the return type of a gcc2
15185 builtin and then its argument prototype would still apply. */
15192 if { (eval echo configure
:15193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15194 eval "ac_cv_lib_$ac_lib_var=yes"
15196 echo "configure: failed program was:" >&5
15197 cat conftest.
$ac_ext >&5
15199 eval "ac_cv_lib_$ac_lib_var=no"
15202 LIBS
="$ac_save_LIBS"
15205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15206 echo "$ac_t""yes" 1>&6
15209 echo "$ac_t""no" 1>&6
15213 echo "$ac_t""no" 1>&6
15216 if test "x$ZLIB_LINK" = "x" ; then
15217 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15223 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15224 cat >> confdefs.h
<<\EOF
15225 #define wxUSE_LIBPNG 1
15228 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15229 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15233 if test "$wxUSE_LIBPNG" = "yes" ; then
15234 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15237 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15238 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15239 echo "configure:15240: checking for png.h" >&5
15240 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15241 echo $ac_n "(cached) $ac_c" 1>&6
15243 cat > conftest.
$ac_ext <<EOF
15244 #line 15245 "configure"
15245 #include "confdefs.h"
15248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15249 { (eval echo configure
:15250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15251 if test -z "$ac_err"; then
15253 eval "ac_cv_header_$ac_safe=yes"
15256 echo "configure: failed program was:" >&5
15257 cat conftest.
$ac_ext >&5
15259 eval "ac_cv_header_$ac_safe=no"
15263 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15264 echo "$ac_t""yes" 1>&6
15265 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15266 echo "configure:15267: checking for png_check_sig in -lpng" >&5
15267 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15269 echo $ac_n "(cached) $ac_c" 1>&6
15271 ac_save_LIBS
="$LIBS"
15272 LIBS
="-lpng -lz -lm $LIBS"
15273 cat > conftest.
$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 /* We use char because int might match the return type of a gcc2
15278 builtin and then its argument prototype would still apply. */
15279 char png_check_sig();
15285 if { (eval echo configure
:15286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15287 eval "ac_cv_lib_$ac_lib_var=yes"
15289 echo "configure: failed program was:" >&5
15290 cat conftest.
$ac_ext >&5
15292 eval "ac_cv_lib_$ac_lib_var=no"
15295 LIBS
="$ac_save_LIBS"
15298 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15299 echo "$ac_t""yes" 1>&6
15302 echo "$ac_t""no" 1>&6
15307 echo "$ac_t""no" 1>&6
15310 if test "x$PNG_LINK" = "x" ; then
15311 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15319 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15320 cat >> confdefs.h
<<\EOF
15321 #define wxUSE_LIBJPEG 1
15324 if test "$wxUSE_LIBJPEG" = "yes" ; then
15325 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15328 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15329 echo "configure:15330: checking for jpeglib.h" >&5
15330 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15331 echo $ac_n "(cached) $ac_c" 1>&6
15333 cat > conftest.
$ac_ext <<EOF
15334 #line 15335 "configure"
15335 #include "confdefs.h"
15337 #undef HAVE_STDLIB_H
15339 #include <jpeglib.h>
15346 if { (eval echo configure
:15347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15348 ac_cv_header_jpeglib_h
=yes
15350 echo "configure: failed program was:" >&5
15351 cat conftest.
$ac_ext >&5
15353 ac_cv_header_jpeglib_h
=no
15360 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15362 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15363 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15364 echo "configure:15365: checking for jpeg_read_header in -ljpeg" >&5
15365 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15367 echo $ac_n "(cached) $ac_c" 1>&6
15369 ac_save_LIBS
="$LIBS"
15370 LIBS
="-ljpeg $LIBS"
15371 cat > conftest.
$ac_ext <<EOF
15372 #line 15373 "configure"
15373 #include "confdefs.h"
15374 /* Override any gcc2 internal prototype to avoid an error. */
15375 /* We use char because int might match the return type of a gcc2
15376 builtin and then its argument prototype would still apply. */
15377 char jpeg_read_header();
15383 if { (eval echo configure
:15384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15385 eval "ac_cv_lib_$ac_lib_var=yes"
15387 echo "configure: failed program was:" >&5
15388 cat conftest.
$ac_ext >&5
15390 eval "ac_cv_lib_$ac_lib_var=no"
15393 LIBS
="$ac_save_LIBS"
15396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15397 echo "$ac_t""yes" 1>&6
15400 echo "$ac_t""no" 1>&6
15405 if test "x$JPEG_LINK" = "x" ; then
15406 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15412 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15413 cat >> confdefs.h
<<\EOF
15414 #define wxUSE_LIBTIFF 1
15417 if test "$wxUSE_LIBTIFF" = "yes" ; then
15418 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15421 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15422 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15423 echo "configure:15424: checking for tiffio.h" >&5
15424 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15425 echo $ac_n "(cached) $ac_c" 1>&6
15427 cat > conftest.
$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15430 #include <tiffio.h>
15432 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15433 { (eval echo configure
:15434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15434 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15435 if test -z "$ac_err"; then
15437 eval "ac_cv_header_$ac_safe=yes"
15440 echo "configure: failed program was:" >&5
15441 cat conftest.
$ac_ext >&5
15443 eval "ac_cv_header_$ac_safe=no"
15447 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15448 echo "$ac_t""yes" 1>&6
15449 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15450 echo "configure:15451: checking for TIFFError in -ltiff" >&5
15451 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15452 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15453 echo $ac_n "(cached) $ac_c" 1>&6
15455 ac_save_LIBS
="$LIBS"
15456 LIBS
="-ltiff -lm $LIBS"
15457 cat > conftest.
$ac_ext <<EOF
15458 #line 15459 "configure"
15459 #include "confdefs.h"
15460 /* Override any gcc2 internal prototype to avoid an error. */
15461 /* We use char because int might match the return type of a gcc2
15462 builtin and then its argument prototype would still apply. */
15469 if { (eval echo configure
:15470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15471 eval "ac_cv_lib_$ac_lib_var=yes"
15473 echo "configure: failed program was:" >&5
15474 cat conftest.
$ac_ext >&5
15476 eval "ac_cv_lib_$ac_lib_var=no"
15479 LIBS
="$ac_save_LIBS"
15482 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15483 echo "$ac_t""yes" 1>&6
15486 echo "$ac_t""no" 1>&6
15490 echo "$ac_t""no" 1>&6
15493 if test "x$TIFF_LINK" = "x" ; then
15494 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15500 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15501 cat >> confdefs.h
<<\EOF
15502 #define wxUSE_FREETYPE 1
15505 if test "$wxUSE_FREETYPE" = "yes" ; then
15506 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15509 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15510 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15511 echo "configure:15512: checking for freetype.h" >&5
15512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15515 cat > conftest.
$ac_ext <<EOF
15516 #line 15517 "configure"
15517 #include "confdefs.h"
15518 #include <freetype.h>
15520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15521 { (eval echo configure
:15522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15523 if test -z "$ac_err"; then
15525 eval "ac_cv_header_$ac_safe=yes"
15528 echo "configure: failed program was:" >&5
15529 cat conftest.
$ac_ext >&5
15531 eval "ac_cv_header_$ac_safe=no"
15535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15536 echo "$ac_t""yes" 1>&6
15537 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15538 echo "configure:15539: checking for FT_Render_Glyph in -lfreetype" >&5
15539 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15540 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15541 echo $ac_n "(cached) $ac_c" 1>&6
15543 ac_save_LIBS
="$LIBS"
15544 LIBS
="-lfreetype -lm $LIBS"
15545 cat > conftest.
$ac_ext <<EOF
15546 #line 15547 "configure"
15547 #include "confdefs.h"
15548 /* Override any gcc2 internal prototype to avoid an error. */
15549 /* We use char because int might match the return type of a gcc2
15550 builtin and then its argument prototype would still apply. */
15551 char FT_Render_Glyph();
15557 if { (eval echo configure
:15558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15559 eval "ac_cv_lib_$ac_lib_var=yes"
15561 echo "configure: failed program was:" >&5
15562 cat conftest.
$ac_ext >&5
15564 eval "ac_cv_lib_$ac_lib_var=no"
15567 LIBS
="$ac_save_LIBS"
15570 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15571 echo "$ac_t""yes" 1>&6
15572 FREETYPE_LINK
="-lfreetype"
15574 echo "$ac_t""no" 1>&6
15579 echo "$ac_t""no" 1>&6
15582 if test "x$FREETYPE_LINK" = "x" ; then
15583 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15588 if test "$wxUSE_OPENGL" = "yes"; then
15589 if test "$wxUSE_MAC" = 1; then
15590 cat >> confdefs.h
<<\EOF
15591 #define wxUSE_OPENGL 1
15594 cat >> confdefs.h
<<\EOF
15595 #define wxUSE_GLCANVAS 1
15598 OPENGL_LINK
="-framework OpenGL -framework AGL"
15599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15601 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15602 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15603 echo "configure:15604: checking for GL/gl.h" >&5
15604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15605 echo $ac_n "(cached) $ac_c" 1>&6
15607 cat > conftest.
$ac_ext <<EOF
15608 #line 15609 "configure"
15609 #include "confdefs.h"
15612 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15613 { (eval echo configure
:15614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15614 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15615 if test -z "$ac_err"; then
15617 eval "ac_cv_header_$ac_safe=yes"
15620 echo "configure: failed program was:" >&5
15621 cat conftest.
$ac_ext >&5
15623 eval "ac_cv_header_$ac_safe=no"
15627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15628 echo "$ac_t""yes" 1>&6
15630 cat >> confdefs.h
<<\EOF
15631 #define wxUSE_OPENGL 1
15634 cat >> confdefs.h
<<\EOF
15635 #define wxUSE_GLCANVAS 1
15638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15639 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15640 echo "configure:15641: checking for glFlush in -lGL" >&5
15641 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15642 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15643 echo $ac_n "(cached) $ac_c" 1>&6
15645 ac_save_LIBS
="$LIBS"
15647 cat > conftest.
$ac_ext <<EOF
15648 #line 15649 "configure"
15649 #include "confdefs.h"
15650 /* Override any gcc2 internal prototype to avoid an error. */
15651 /* We use char because int might match the return type of a gcc2
15652 builtin and then its argument prototype would still apply. */
15659 if { (eval echo configure
:15660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15661 eval "ac_cv_lib_$ac_lib_var=yes"
15663 echo "configure: failed program was:" >&5
15664 cat conftest.
$ac_ext >&5
15666 eval "ac_cv_lib_$ac_lib_var=no"
15669 LIBS
="$ac_save_LIBS"
15672 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15673 echo "$ac_t""yes" 1>&6
15675 OPENGL_LINK
="-lGL -lGLU"
15678 echo "$ac_t""no" 1>&6
15680 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15681 echo "configure:15682: checking for glFlush in -lMesaGL" >&5
15682 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15684 echo $ac_n "(cached) $ac_c" 1>&6
15686 ac_save_LIBS
="$LIBS"
15687 LIBS
="-lMesaGL $LIBS"
15688 cat > conftest.
$ac_ext <<EOF
15689 #line 15690 "configure"
15690 #include "confdefs.h"
15691 /* Override any gcc2 internal prototype to avoid an error. */
15692 /* We use char because int might match the return type of a gcc2
15693 builtin and then its argument prototype would still apply. */
15700 if { (eval echo configure
:15701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15702 eval "ac_cv_lib_$ac_lib_var=yes"
15704 echo "configure: failed program was:" >&5
15705 cat conftest.
$ac_ext >&5
15707 eval "ac_cv_lib_$ac_lib_var=no"
15710 LIBS
="$ac_save_LIBS"
15713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15714 echo "$ac_t""yes" 1>&6
15716 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15719 echo "$ac_t""no" 1>&6
15727 echo "$ac_t""no" 1>&6
15735 if test "$wxUSE_GUI" = "yes"; then
15736 cat >> confdefs.h
<<\EOF
15737 #define wxUSE_GUI 1
15742 cat >> confdefs.h
<<\EOF
15743 #define wxUSE_NOGUI 1
15749 if test "$wxUSE_UNIX" = "yes"; then
15750 cat >> confdefs.h
<<\EOF
15751 #define wxUSE_UNIX 1
15757 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15758 cat >> confdefs.h
<<\EOF
15759 #define wxUSE_APPLE_IEEE 1
15764 if test "$wxUSE_TIMER" = "yes"; then
15765 cat >> confdefs.h
<<\EOF
15766 #define wxUSE_TIMER 1
15771 if test "$wxUSE_WAVE" = "yes"; then
15772 cat >> confdefs.h
<<\EOF
15773 #define wxUSE_WAVE 1
15778 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15779 cat >> confdefs.h
<<\EOF
15780 #define wxUSE_CMDLINE_PARSER 1
15785 if test "$wxUSE_STOPWATCH" = "yes"; then
15786 cat >> confdefs.h
<<\EOF
15787 #define wxUSE_STOPWATCH 1
15792 if test "$wxUSE_DATETIME" = "yes"; then
15793 cat >> confdefs.h
<<\EOF
15794 #define wxUSE_DATETIME 1
15799 if test "$wxUSE_TIMEDATE" = "yes"; then
15800 cat >> confdefs.h
<<\EOF
15801 #define wxUSE_TIMEDATE 1
15806 if test "$wxUSE_FILE" = "yes"; then
15807 cat >> confdefs.h
<<\EOF
15808 #define wxUSE_FILE 1
15813 if test "$wxUSE_FFILE" = "yes"; then
15814 cat >> confdefs.h
<<\EOF
15815 #define wxUSE_FFILE 1
15820 if test "$wxUSE_FILESYSTEM" = "yes"; then
15821 cat >> confdefs.h
<<\EOF
15822 #define wxUSE_FILESYSTEM 1
15827 if test "$wxUSE_FS_INET" = "yes"; then
15828 cat >> confdefs.h
<<\EOF
15829 #define wxUSE_FS_INET 1
15834 if test "$wxUSE_FS_ZIP" = "yes"; then
15835 cat >> confdefs.h
<<\EOF
15836 #define wxUSE_FS_ZIP 1
15841 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15842 cat >> confdefs.h
<<\EOF
15843 #define wxUSE_ZIPSTREAM 1
15848 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15849 cat >> confdefs.h
<<\EOF
15850 #define wxUSE_ON_FATAL_EXCEPTION 1
15855 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15856 cat >> confdefs.h
<<\EOF
15857 #define wxUSE_SNGLINST_CHECKER 1
15862 if test "$wxUSE_BUSYINFO" = "yes"; then
15863 cat >> confdefs.h
<<\EOF
15864 #define wxUSE_BUSYINFO 1
15869 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15870 cat >> confdefs.h
<<\EOF
15871 #define wxUSE_STD_IOSTREAM 1
15876 if test "$wxUSE_TEXTFILE" = "yes"; then
15877 if test "$wxUSE_FILE" != "yes"; then
15878 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15880 cat >> confdefs.h
<<\EOF
15881 #define wxUSE_TEXTFILE 1
15887 if test "$wxUSE_CONFIG" = "yes" ; then
15888 if test "$wxUSE_TEXTFILE" != "yes"; then
15889 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15891 cat >> confdefs.h
<<\EOF
15892 #define wxUSE_CONFIG 1
15895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15899 if test "$wxUSE_INTL" = "yes" ; then
15900 if test "$wxUSE_FILE" != "yes"; then
15901 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15903 cat >> confdefs.h
<<\EOF
15904 #define wxUSE_INTL 1
15907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15908 GUIDIST
="$GUIDIST INTL_DIST"
15912 if test "$wxUSE_LOG" = "yes"; then
15913 cat >> confdefs.h
<<\EOF
15914 #define wxUSE_LOG 1
15918 if test "$wxUSE_LOGGUI" = "yes"; then
15919 cat >> confdefs.h
<<\EOF
15920 #define wxUSE_LOGGUI 1
15925 if test "$wxUSE_LOGWINDOW" = "yes"; then
15926 cat >> confdefs.h
<<\EOF
15927 #define wxUSE_LOGWINDOW 1
15933 if test "$wxUSE_LONGLONG" = "yes"; then
15934 cat >> confdefs.h
<<\EOF
15935 #define wxUSE_LONGLONG 1
15940 if test "$wxUSE_GEOMETRY" = "yes"; then
15941 cat >> confdefs.h
<<\EOF
15942 #define wxUSE_GEOMETRY 1
15947 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15948 cat >> confdefs.h
<<\EOF
15949 #define wxUSE_DIALUP_MANAGER 1
15952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15955 if test "$wxUSE_STREAMS" = "yes" ; then
15956 cat >> confdefs.h
<<\EOF
15957 #define wxUSE_STREAMS 1
15963 if test "$wxUSE_DATETIME" = "yes"; then
15964 for ac_func
in strptime
15966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15967 echo "configure:15968: checking for $ac_func" >&5
15968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15969 echo $ac_n "(cached) $ac_c" 1>&6
15971 cat > conftest.
$ac_ext <<EOF
15972 #line 15973 "configure"
15973 #include "confdefs.h"
15974 /* System header to define __stub macros and hopefully few prototypes,
15975 which can conflict with char $ac_func(); below. */
15976 #include <assert.h>
15977 /* Override any gcc2 internal prototype to avoid an error. */
15978 /* We use char because int might match the return type of a gcc2
15979 builtin and then its argument prototype would still apply. */
15984 /* The GNU C library defines this for functions which it implements
15985 to always fail with ENOSYS. Some functions are actually named
15986 something starting with __ and the normal name is an alias. */
15987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15995 if { (eval echo configure
:15996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15997 eval "ac_cv_func_$ac_func=yes"
15999 echo "configure: failed program was:" >&5
16000 cat conftest.
$ac_ext >&5
16002 eval "ac_cv_func_$ac_func=no"
16007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16008 echo "$ac_t""yes" 1>&6
16009 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16010 cat >> confdefs.h
<<EOF
16011 #define $ac_tr_func 1
16015 echo "$ac_t""no" 1>&6
16020 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16021 echo "configure:16022: checking for timezone variable in <time.h>" >&5
16022 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16023 echo $ac_n "(cached) $ac_c" 1>&6
16026 cat > conftest.
$ac_ext <<EOF
16027 #line 16028 "configure"
16028 #include "confdefs.h"
16039 if { (eval echo configure
:16040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16042 wx_cv_var_timezone
=timezone
16045 echo "configure: failed program was:" >&5
16046 cat conftest.
$ac_ext >&5
16049 cat > conftest.
$ac_ext <<EOF
16050 #line 16051 "configure"
16051 #include "confdefs.h"
16062 if { (eval echo configure
:16063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16065 wx_cv_var_timezone
=_timezone
16068 echo "configure: failed program was:" >&5
16069 cat conftest.
$ac_ext >&5
16072 cat > conftest.
$ac_ext <<EOF
16073 #line 16074 "configure"
16074 #include "confdefs.h"
16085 if { (eval echo configure
:16086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16088 wx_cv_var_timezone
=__timezone
16091 echo "configure: failed program was:" >&5
16092 cat conftest.
$ac_ext >&5
16094 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16110 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16112 cat >> confdefs.h
<<EOF
16113 #define WX_TIMEZONE $wx_cv_var_timezone
16117 for ac_func
in localtime
16119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16120 echo "configure:16121: checking for $ac_func" >&5
16121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16122 echo $ac_n "(cached) $ac_c" 1>&6
16124 cat > conftest.
$ac_ext <<EOF
16125 #line 16126 "configure"
16126 #include "confdefs.h"
16127 /* System header to define __stub macros and hopefully few prototypes,
16128 which can conflict with char $ac_func(); below. */
16129 #include <assert.h>
16130 /* Override any gcc2 internal prototype to avoid an error. */
16131 /* We use char because int might match the return type of a gcc2
16132 builtin and then its argument prototype would still apply. */
16137 /* The GNU C library defines this for functions which it implements
16138 to always fail with ENOSYS. Some functions are actually named
16139 something starting with __ and the normal name is an alias. */
16140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16148 if { (eval echo configure
:16149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16150 eval "ac_cv_func_$ac_func=yes"
16152 echo "configure: failed program was:" >&5
16153 cat conftest.
$ac_ext >&5
16155 eval "ac_cv_func_$ac_func=no"
16160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16161 echo "$ac_t""yes" 1>&6
16162 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16163 cat >> confdefs.h
<<EOF
16164 #define $ac_tr_func 1
16168 echo "$ac_t""no" 1>&6
16173 if test "$ac_cv_func_localtime" = "yes"; then
16174 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16175 echo "configure:16176: checking for tm_gmtoff in struct tm" >&5
16176 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16180 cat > conftest.
$ac_ext <<EOF
16181 #line 16182 "configure"
16182 #include "confdefs.h"
16193 if { (eval echo configure
:16194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16196 wx_cv_struct_tm_has_gmtoff
=yes
16199 echo "configure: failed program was:" >&5
16200 cat conftest.
$ac_ext >&5
16202 wx_cv_struct_tm_has_gmtoff
=no
16209 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16212 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16213 cat >> confdefs.h
<<\EOF
16214 #define WX_GMTOFF_IN_TM 1
16219 for ac_func
in gettimeofday ftime
16221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16222 echo "configure:16223: checking for $ac_func" >&5
16223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16226 cat > conftest.
$ac_ext <<EOF
16227 #line 16228 "configure"
16228 #include "confdefs.h"
16229 /* System header to define __stub macros and hopefully few prototypes,
16230 which can conflict with char $ac_func(); below. */
16231 #include <assert.h>
16232 /* Override any gcc2 internal prototype to avoid an error. */
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16250 if { (eval echo configure
:16251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16252 eval "ac_cv_func_$ac_func=yes"
16254 echo "configure: failed program was:" >&5
16255 cat conftest.
$ac_ext >&5
16257 eval "ac_cv_func_$ac_func=no"
16262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16263 echo "$ac_t""yes" 1>&6
16264 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16265 cat >> confdefs.h
<<EOF
16266 #define $ac_tr_func 1
16270 echo "$ac_t""no" 1>&6
16275 if test "$ac_cv_func_gettimeofday" = "yes"; then
16276 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16277 echo "configure:16278: checking whether gettimeofday takes two arguments" >&5
16278 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16279 echo $ac_n "(cached) $ac_c" 1>&6
16284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16285 ac_cpp
='$CXXCPP $CPPFLAGS'
16286 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16287 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16288 cross_compiling
=$ac_cv_prog_cxx_cross
16291 cat > conftest.
$ac_ext <<EOF
16292 #line 16293 "configure"
16293 #include "confdefs.h"
16295 #include <sys/time.h>
16296 #include <unistd.h>
16301 struct timezone tz;
16302 gettimeofday(&tv, &tz);
16306 if { (eval echo configure
:16307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16308 wx_cv_func_gettimeofday_has_2_args
=yes
16310 echo "configure: failed program was:" >&5
16311 cat conftest.
$ac_ext >&5
16313 cat > conftest.
$ac_ext <<EOF
16314 #line 16315 "configure"
16315 #include "confdefs.h"
16317 #include <sys/time.h>
16318 #include <unistd.h>
16327 if { (eval echo configure
:16328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16329 wx_cv_func_gettimeofday_has_2_args
=no
16331 echo "configure: failed program was:" >&5
16332 cat conftest.
$ac_ext >&5
16334 wx_cv_func_gettimeofday_has_2_args
=unknown
16342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16343 ac_cpp
='$CPP $CPPFLAGS'
16344 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16345 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16346 cross_compiling
=$ac_cv_prog_cc_cross
16351 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16353 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16354 cat >> confdefs.h
<<\EOF
16355 #define WX_GETTIMEOFDAY_NO_TZ 1
16361 cat >> confdefs.h
<<\EOF
16362 #define wxUSE_TIMEDATE 1
16365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16369 if test "$TOOLKIT" != "MSW"; then
16371 if test "$wxUSE_SOCKETS" = "yes"; then
16372 echo $ac_n "checking for socket""... $ac_c" 1>&6
16373 echo "configure:16374: checking for socket" >&5
16374 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16375 echo $ac_n "(cached) $ac_c" 1>&6
16377 cat > conftest.
$ac_ext <<EOF
16378 #line 16379 "configure"
16379 #include "confdefs.h"
16380 /* System header to define __stub macros and hopefully few prototypes,
16381 which can conflict with char socket(); below. */
16382 #include <assert.h>
16383 /* Override any gcc2 internal prototype to avoid an error. */
16384 /* We use char because int might match the return type of a gcc2
16385 builtin and then its argument prototype would still apply. */
16390 /* The GNU C library defines this for functions which it implements
16391 to always fail with ENOSYS. Some functions are actually named
16392 something starting with __ and the normal name is an alias. */
16393 #if defined (__stub_socket) || defined (__stub___socket)
16401 if { (eval echo configure
:16402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16403 eval "ac_cv_func_socket=yes"
16405 echo "configure: failed program was:" >&5
16406 cat conftest.
$ac_ext >&5
16408 eval "ac_cv_func_socket=no"
16413 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16414 echo "$ac_t""yes" 1>&6
16417 echo "$ac_t""no" 1>&6
16418 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16419 echo "configure:16420: checking for socket in -lsocket" >&5
16420 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16422 echo $ac_n "(cached) $ac_c" 1>&6
16424 ac_save_LIBS
="$LIBS"
16425 LIBS
="-lsocket $LIBS"
16426 cat > conftest.
$ac_ext <<EOF
16427 #line 16428 "configure"
16428 #include "confdefs.h"
16429 /* Override any gcc2 internal prototype to avoid an error. */
16430 /* We use char because int might match the return type of a gcc2
16431 builtin and then its argument prototype would still apply. */
16438 if { (eval echo configure
:16439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16440 eval "ac_cv_lib_$ac_lib_var=yes"
16442 echo "configure: failed program was:" >&5
16443 cat conftest.
$ac_ext >&5
16445 eval "ac_cv_lib_$ac_lib_var=no"
16448 LIBS
="$ac_save_LIBS"
16451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16452 echo "$ac_t""yes" 1>&6
16453 INET_LINK
="$INET_LINK -lsocket"
16455 echo "$ac_t""no" 1>&6
16457 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16469 if test "$wxUSE_SOCKETS" = "yes" ; then
16470 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16471 echo "configure:16472: checking what is the type of the third argument of getsockname" >&5
16472 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16473 echo $ac_n "(cached) $ac_c" 1>&6
16478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16479 ac_cpp
='$CXXCPP $CPPFLAGS'
16480 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16481 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16482 cross_compiling
=$ac_cv_prog_cxx_cross
16485 cat > conftest.
$ac_ext <<EOF
16486 #line 16487 "configure"
16487 #include "confdefs.h"
16489 #include <sys/types.h>
16490 #include <sys/socket.h>
16495 getsockname(0, 0, &len);
16499 if { (eval echo configure
:16500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16501 wx_cv_type_getsockname3
=socklen_t
16503 echo "configure: failed program was:" >&5
16504 cat conftest.
$ac_ext >&5
16506 cat > conftest.
$ac_ext <<EOF
16507 #line 16508 "configure"
16508 #include "confdefs.h"
16510 #include <sys/types.h>
16511 #include <sys/socket.h>
16516 getsockname(0, 0, &len);
16520 if { (eval echo configure
:16521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16522 wx_cv_type_getsockname3
=size_t
16524 echo "configure: failed program was:" >&5
16525 cat conftest.
$ac_ext >&5
16527 cat > conftest.
$ac_ext <<EOF
16528 #line 16529 "configure"
16529 #include "confdefs.h"
16531 #include <sys/types.h>
16532 #include <sys/socket.h>
16537 getsockname(0, 0, &len);
16541 if { (eval echo configure
:16542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16543 wx_cv_type_getsockname3
=int
16545 echo "configure: failed program was:" >&5
16546 cat conftest.
$ac_ext >&5
16548 wx_cv_type_getsockname3
=unknown
16560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16561 ac_cpp
='$CPP $CPPFLAGS'
16562 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16563 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16564 cross_compiling
=$ac_cv_prog_cc_cross
16569 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16571 if test "$wx_cv_type_getsockname3" = "unknown"; then
16573 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16575 cat >> confdefs.h
<<EOF
16576 #define SOCKLEN_T $wx_cv_type_getsockname3
16584 if test "$wxUSE_SOCKETS" = "yes" ; then
16585 cat >> confdefs.h
<<\EOF
16586 #define wxUSE_SOCKETS 1
16589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16590 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16594 if test "$wxUSE_GUI" = "yes"; then
16596 if test "$TOOLKIT" != "MSW"; then
16598 if test "$wxUSE_JOYSTICK" = "yes"; then
16599 for ac_hdr
in linux
/joystick.h
16601 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16603 echo "configure:16604: checking for $ac_hdr" >&5
16604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16605 echo $ac_n "(cached) $ac_c" 1>&6
16607 cat > conftest.
$ac_ext <<EOF
16608 #line 16609 "configure"
16609 #include "confdefs.h"
16612 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16613 { (eval echo configure
:16614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16614 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16615 if test -z "$ac_err"; then
16617 eval "ac_cv_header_$ac_safe=yes"
16620 echo "configure: failed program was:" >&5
16621 cat conftest.
$ac_ext >&5
16623 eval "ac_cv_header_$ac_safe=no"
16627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16628 echo "$ac_t""yes" 1>&6
16629 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16630 cat >> confdefs.h
<<EOF
16631 #define $ac_tr_hdr 1
16635 echo "$ac_t""no" 1>&6
16639 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16641 echo "configure: warning: Joystick not supported by this system" 1>&2
16647 if test "$wxUSE_JOYSTICK" = "yes"; then
16648 cat >> confdefs.h
<<\EOF
16649 #define wxUSE_JOYSTICK 1
16652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16658 if test "$TOOLKIT" != "MSW"; then
16662 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16663 if test "$USE_DARWIN" = 1; then
16666 for ac_func
in dlopen
16668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16669 echo "configure:16670: checking for $ac_func" >&5
16670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16671 echo $ac_n "(cached) $ac_c" 1>&6
16673 cat > conftest.
$ac_ext <<EOF
16674 #line 16675 "configure"
16675 #include "confdefs.h"
16676 /* System header to define __stub macros and hopefully few prototypes,
16677 which can conflict with char $ac_func(); below. */
16678 #include <assert.h>
16679 /* Override any gcc2 internal prototype to avoid an error. */
16680 /* We use char because int might match the return type of a gcc2
16681 builtin and then its argument prototype would still apply. */
16686 /* The GNU C library defines this for functions which it implements
16687 to always fail with ENOSYS. Some functions are actually named
16688 something starting with __ and the normal name is an alias. */
16689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16697 if { (eval echo configure
:16698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16699 eval "ac_cv_func_$ac_func=yes"
16701 echo "configure: failed program was:" >&5
16702 cat conftest.
$ac_ext >&5
16704 eval "ac_cv_func_$ac_func=no"
16709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16710 echo "$ac_t""yes" 1>&6
16711 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16712 cat >> confdefs.h
<<EOF
16713 #define $ac_tr_func 1
16716 cat >> confdefs.h
<<\EOF
16717 #define HAVE_DLOPEN 1
16723 echo "$ac_t""no" 1>&6
16724 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16725 echo "configure:16726: checking for dlopen in -ldl" >&5
16726 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16728 echo $ac_n "(cached) $ac_c" 1>&6
16730 ac_save_LIBS
="$LIBS"
16732 cat > conftest.
$ac_ext <<EOF
16733 #line 16734 "configure"
16734 #include "confdefs.h"
16735 /* Override any gcc2 internal prototype to avoid an error. */
16736 /* We use char because int might match the return type of a gcc2
16737 builtin and then its argument prototype would still apply. */
16744 if { (eval echo configure
:16745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16746 eval "ac_cv_lib_$ac_lib_var=yes"
16748 echo "configure: failed program was:" >&5
16749 cat conftest.
$ac_ext >&5
16751 eval "ac_cv_lib_$ac_lib_var=no"
16754 LIBS
="$ac_save_LIBS"
16757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16758 echo "$ac_t""yes" 1>&6
16760 cat >> confdefs.h
<<\EOF
16761 #define HAVE_DLOPEN 1
16768 echo "$ac_t""no" 1>&6
16770 for ac_func
in shl_load
16772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16773 echo "configure:16774: checking for $ac_func" >&5
16774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16775 echo $ac_n "(cached) $ac_c" 1>&6
16777 cat > conftest.
$ac_ext <<EOF
16778 #line 16779 "configure"
16779 #include "confdefs.h"
16780 /* System header to define __stub macros and hopefully few prototypes,
16781 which can conflict with char $ac_func(); below. */
16782 #include <assert.h>
16783 /* Override any gcc2 internal prototype to avoid an error. */
16784 /* We use char because int might match the return type of a gcc2
16785 builtin and then its argument prototype would still apply. */
16790 /* The GNU C library defines this for functions which it implements
16791 to always fail with ENOSYS. Some functions are actually named
16792 something starting with __ and the normal name is an alias. */
16793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16801 if { (eval echo configure
:16802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16803 eval "ac_cv_func_$ac_func=yes"
16805 echo "configure: failed program was:" >&5
16806 cat conftest.
$ac_ext >&5
16808 eval "ac_cv_func_$ac_func=no"
16813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16814 echo "$ac_t""yes" 1>&6
16815 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16816 cat >> confdefs.h
<<EOF
16817 #define $ac_tr_func 1
16820 cat >> confdefs.h
<<\EOF
16821 #define HAVE_SHL_LOAD 1
16827 echo "$ac_t""no" 1>&6
16828 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16829 echo "configure:16830: checking for dld in -lshl_load" >&5
16830 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16832 echo $ac_n "(cached) $ac_c" 1>&6
16834 ac_save_LIBS
="$LIBS"
16835 LIBS
="-lshl_load $LIBS"
16836 cat > conftest.
$ac_ext <<EOF
16837 #line 16838 "configure"
16838 #include "confdefs.h"
16839 /* Override any gcc2 internal prototype to avoid an error. */
16840 /* We use char because int might match the return type of a gcc2
16841 builtin and then its argument prototype would still apply. */
16848 if { (eval echo configure
:16849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16850 eval "ac_cv_lib_$ac_lib_var=yes"
16852 echo "configure: failed program was:" >&5
16853 cat conftest.
$ac_ext >&5
16855 eval "ac_cv_lib_$ac_lib_var=no"
16858 LIBS
="$ac_save_LIBS"
16861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16862 echo "$ac_t""yes" 1>&6
16868 echo "$ac_t""no" 1>&6
16883 if test "$HAVE_DL_FUNCS" = 1; then
16884 for ac_func
in dlerror
16886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16887 echo "configure:16888: checking for $ac_func" >&5
16888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16889 echo $ac_n "(cached) $ac_c" 1>&6
16891 cat > conftest.
$ac_ext <<EOF
16892 #line 16893 "configure"
16893 #include "confdefs.h"
16894 /* System header to define __stub macros and hopefully few prototypes,
16895 which can conflict with char $ac_func(); below. */
16896 #include <assert.h>
16897 /* Override any gcc2 internal prototype to avoid an error. */
16898 /* We use char because int might match the return type of a gcc2
16899 builtin and then its argument prototype would still apply. */
16904 /* The GNU C library defines this for functions which it implements
16905 to always fail with ENOSYS. Some functions are actually named
16906 something starting with __ and the normal name is an alias. */
16907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16915 if { (eval echo configure
:16916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16917 eval "ac_cv_func_$ac_func=yes"
16919 echo "configure: failed program was:" >&5
16920 cat conftest.
$ac_ext >&5
16922 eval "ac_cv_func_$ac_func=no"
16927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16928 echo "$ac_t""yes" 1>&6
16929 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16930 cat >> confdefs.h
<<EOF
16931 #define $ac_tr_func 1
16933 cat >> confdefs.h
<<\EOF
16934 #define HAVE_DLERROR 1
16938 echo "$ac_t""no" 1>&6
16939 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16940 echo "configure:16941: checking for dlerror in -ldl" >&5
16941 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16943 echo $ac_n "(cached) $ac_c" 1>&6
16945 ac_save_LIBS
="$LIBS"
16947 cat > conftest.
$ac_ext <<EOF
16948 #line 16949 "configure"
16949 #include "confdefs.h"
16950 /* Override any gcc2 internal prototype to avoid an error. */
16951 /* We use char because int might match the return type of a gcc2
16952 builtin and then its argument prototype would still apply. */
16959 if { (eval echo configure
:16960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16961 eval "ac_cv_lib_$ac_lib_var=yes"
16963 echo "configure: failed program was:" >&5
16964 cat conftest.
$ac_ext >&5
16966 eval "ac_cv_lib_$ac_lib_var=no"
16969 LIBS
="$ac_save_LIBS"
16972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16973 echo "$ac_t""yes" 1>&6
16974 cat >> confdefs.h
<<\EOF
16975 #define HAVE_DLERROR 1
16979 echo "$ac_t""no" 1>&6
16988 if test "$HAVE_DL_FUNCS" = 0; then
16989 if test "$HAVE_SHL_FUNCS" = 0; then
16990 if test "$USE_UNIX" = 1; then
16991 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16992 wxUSE_DYNLIB_CLASS
=no
16994 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17002 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17003 cat >> confdefs.h
<<\EOF
17004 #define wxUSE_DYNLIB_CLASS 1
17013 if test "$wxUSE_FONTMAP" = "yes" ; then
17014 cat >> confdefs.h
<<\EOF
17015 #define wxUSE_FONTMAP 1
17020 if test "$wxUSE_UNICODE" = "yes" ; then
17021 cat >> confdefs.h
<<\EOF
17022 #define wxUSE_UNICODE 1
17027 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
17028 cat >> confdefs.h
<<\EOF
17029 #define wxUSE_WCSRTOMBS 1
17034 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17035 cat >> confdefs.h
<<\EOF
17036 #define wxUSE_EXPERIMENTAL_PRINTF 1
17042 if test "$wxUSE_SERIAL" = "yes" ; then
17043 cat >> confdefs.h
<<\EOF
17044 #define wxUSE_SERIAL 1
17051 if test "$wxUSE_ODBC" = "yes" ; then
17052 cat >> confdefs.h
<<\EOF
17053 #define wxUSE_ODBC 1
17056 WXODBCFLAG
="-D_IODBC_"
17057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17061 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17062 cat >> confdefs.h
<<\EOF
17063 #define wxUSE_POSTSCRIPT 1
17068 cat >> confdefs.h
<<\EOF
17069 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17073 cat >> confdefs.h
<<\EOF
17074 #define wxUSE_NORMALIZED_PS_FONTS 1
17079 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17080 cat >> confdefs.h
<<\EOF
17081 #define wxUSE_CONSTRAINTS 1
17084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17087 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17088 cat >> confdefs.h
<<\EOF
17089 #define wxUSE_MDI_ARCHITECTURE 1
17092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17095 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17096 cat >> confdefs.h
<<\EOF
17097 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17101 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17106 if test "$wxUSE_HELP" = "yes"; then
17107 cat >> confdefs.h
<<\EOF
17108 #define wxUSE_HELP 1
17111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17113 if test "$USE_WIN32" = 1; then
17114 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17115 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17116 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17117 echo "configure:17118: checking for htmlhelp.h" >&5
17118 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17119 echo $ac_n "(cached) $ac_c" 1>&6
17121 cat > conftest.
$ac_ext <<EOF
17122 #line 17123 "configure"
17123 #include "confdefs.h"
17124 #include <htmlhelp.h>
17126 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17127 { (eval echo configure
:17128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17128 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17129 if test -z "$ac_err"; then
17131 eval "ac_cv_header_$ac_safe=yes"
17134 echo "configure: failed program was:" >&5
17135 cat conftest.
$ac_ext >&5
17137 eval "ac_cv_header_$ac_safe=no"
17141 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17142 echo "$ac_t""yes" 1>&6
17144 cat >> confdefs.h
<<\EOF
17145 #define wxUSE_MS_HTML_HELP 1
17150 echo "$ac_t""no" 1>&6
17152 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17153 wxUSE_MS_HTML_HELP
=no
17160 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17161 if test "$wxUSE_HTML" = "yes"; then
17162 cat >> confdefs.h
<<\EOF
17163 #define wxUSE_WXHTML_HELP 1
17167 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17168 wxUSE_WXHTML_HELP
=no
17173 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17174 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17175 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17177 cat >> confdefs.h
<<\EOF
17178 #define wxUSE_PRINTING_ARCHITECTURE 1
17182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17185 if test "$wxUSE_PROLOGIO" = "yes" ; then
17186 cat >> confdefs.h
<<\EOF
17187 #define wxUSE_PROLOGIO 1
17192 if test "$wxUSE_RESOURCES" = "yes" ; then
17193 cat >> confdefs.h
<<\EOF
17194 #define wxUSE_RESOURCES 1
17197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17200 if test "$wxUSE_X_RESOURCES" = "yes"; then
17201 cat >> confdefs.h
<<\EOF
17202 #define wxUSE_X_RESOURCES 1
17208 if test "$wxUSE_IPC" = "yes"; then
17209 if test "$wxUSE_SOCKETS" != "yes"; then
17210 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17213 cat >> confdefs.h
<<\EOF
17214 #define wxUSE_IPC 1
17219 if test "$wxUSE_CLIPBOARD" = "yes"; then
17220 cat >> confdefs.h
<<\EOF
17221 #define wxUSE_CLIPBOARD 1
17224 cat >> confdefs.h
<<\EOF
17225 #define wxUSE_DATAOBJ 1
17230 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17231 if test "$wxUSE_GTK" = 1; then
17232 if test "$WXGTK12" != 1; then
17233 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17234 wxUSE_DRAG_AND_DROP
=no
17238 if test "$wxUSE_MOTIF" = 1; then
17239 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17240 wxUSE_DRAG_AND_DROP
=no
17243 if test "$wxUSE_MAC" = 1; then
17244 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17245 wxUSE_DRAG_AND_DROP
=no
17248 if test "$USE_WIN32" = 1; then
17250 for ac_hdr
in ole2.h
17252 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17253 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17254 echo "configure:17255: checking for $ac_hdr" >&5
17255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17256 echo $ac_n "(cached) $ac_c" 1>&6
17258 cat > conftest.
$ac_ext <<EOF
17259 #line 17260 "configure"
17260 #include "confdefs.h"
17263 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17264 { (eval echo configure
:17265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17265 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17266 if test -z "$ac_err"; then
17268 eval "ac_cv_header_$ac_safe=yes"
17271 echo "configure: failed program was:" >&5
17272 cat conftest.
$ac_ext >&5
17274 eval "ac_cv_header_$ac_safe=no"
17278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17279 echo "$ac_t""yes" 1>&6
17280 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17281 cat >> confdefs.h
<<EOF
17282 #define $ac_tr_hdr 1
17286 echo "$ac_t""no" 1>&6
17291 if test "$ac_cv_header_ole2_h" = "yes" ; then
17292 if test "$GCC" = yes ; then
17293 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17294 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17295 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17296 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17297 cat >> confdefs.h
<<\EOF
17298 #define wxUSE_OLE 1
17302 if test "$wxUSE_METAFILE" = "yes"; then
17303 cat >> confdefs.h
<<\EOF
17304 #define wxUSE_METAFILE 1
17307 cat >> confdefs.h
<<\EOF
17308 #define wxUSE_ENH_METAFILE 1
17314 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17315 wxUSE_DRAG_AND_DROP
=no
17319 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17320 cat >> confdefs.h
<<\EOF
17321 #define wxUSE_DRAG_AND_DROP 1
17324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17329 if test "$wxUSE_SPLINES" = "yes" ; then
17330 cat >> confdefs.h
<<\EOF
17331 #define wxUSE_SPLINES 1
17338 if test "$wxUSE_CONTROLS" = "yes"; then
17342 if test "$wxUSE_ACCEL" = "yes"; then
17343 cat >> confdefs.h
<<\EOF
17344 #define wxUSE_ACCEL 1
17350 if test "$wxUSE_BUTTON" = "yes"; then
17351 cat >> confdefs.h
<<\EOF
17352 #define wxUSE_BUTTON 1
17358 if test "$wxUSE_BMPBUTTON" = "yes"; then
17359 cat >> confdefs.h
<<\EOF
17360 #define wxUSE_BMPBUTTON 1
17366 if test "$wxUSE_CALCTRL" = "yes"; then
17367 cat >> confdefs.h
<<\EOF
17368 #define wxUSE_CALENDARCTRL 1
17372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17375 if test "$wxUSE_CARET" = "yes"; then
17376 cat >> confdefs.h
<<\EOF
17377 #define wxUSE_CARET 1
17381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17384 if test "$wxUSE_COMBOBOX" = "yes"; then
17385 cat >> confdefs.h
<<\EOF
17386 #define wxUSE_COMBOBOX 1
17392 if test "$wxUSE_CHOICE" = "yes"; then
17393 cat >> confdefs.h
<<\EOF
17394 #define wxUSE_CHOICE 1
17400 if test "$wxUSE_CHECKBOX" = "yes"; then
17401 cat >> confdefs.h
<<\EOF
17402 #define wxUSE_CHECKBOX 1
17408 if test "$wxUSE_CHECKLST" = "yes"; then
17409 cat >> confdefs.h
<<\EOF
17410 #define wxUSE_CHECKLISTBOX 1
17414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17417 if test "$wxUSE_GAUGE" = "yes"; then
17418 cat >> confdefs.h
<<\EOF
17419 #define wxUSE_GAUGE 1
17425 if test "$wxUSE_NEW_GRID" = "yes"; then
17427 cat >> confdefs.h
<<\EOF
17428 #define wxUSE_NEW_GRID 1
17432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17435 if test "$wxUSE_GRID" = "yes"; then
17436 cat >> confdefs.h
<<\EOF
17437 #define wxUSE_GRID 1
17441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17444 if test "$wxUSE_IMAGLIST" = "yes"; then
17445 cat >> confdefs.h
<<\EOF
17446 #define wxUSE_IMAGLIST 1
17451 if test "$wxUSE_LISTBOX" = "yes"; then
17452 cat >> confdefs.h
<<\EOF
17453 #define wxUSE_LISTBOX 1
17459 if test "$wxUSE_LISTCTRL" = "yes"; then
17460 if test "$wxUSE_IMAGLIST" = "yes"; then
17461 cat >> confdefs.h
<<\EOF
17462 #define wxUSE_LISTCTRL 1
17466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17468 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17472 if test "$wxUSE_NOTEBOOK" = "yes"; then
17473 cat >> confdefs.h
<<\EOF
17474 #define wxUSE_NOTEBOOK 1
17478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17481 if test "$wxUSE_PROPSHEET" = "yes"; then
17482 cat >> confdefs.h
<<\EOF
17483 #define wxUSE_PROPSHEET 1
17487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17490 if test "$wxUSE_RADIOBOX" = "yes"; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_RADIOBOX 1
17498 if test "$wxUSE_RADIOBTN" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define wxUSE_RADIOBTN 1
17506 if test "$wxUSE_SASH" = "yes"; then
17507 cat >> confdefs.h
<<\EOF
17508 #define wxUSE_SASH 1
17511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17514 if test "$wxUSE_SCROLLBAR" = "yes"; then
17515 cat >> confdefs.h
<<\EOF
17516 #define wxUSE_SCROLLBAR 1
17520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17523 if test "$wxUSE_SLIDER" = "yes"; then
17524 cat >> confdefs.h
<<\EOF
17525 #define wxUSE_SLIDER 1
17531 if test "$wxUSE_SPINBTN" = "yes"; then
17532 cat >> confdefs.h
<<\EOF
17533 #define wxUSE_SPINBTN 1
17539 if test "$wxUSE_SPINCTRL" = "yes"; then
17540 cat >> confdefs.h
<<\EOF
17541 #define wxUSE_SPINCTRL 1
17547 if test "$wxUSE_SPLITTER" = "yes"; then
17548 cat >> confdefs.h
<<\EOF
17549 #define wxUSE_SPLITTER 1
17552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17555 if test "$wxUSE_STATBMP" = "yes"; then
17556 cat >> confdefs.h
<<\EOF
17557 #define wxUSE_STATBMP 1
17563 if test "$wxUSE_STATBOX" = "yes"; then
17564 cat >> confdefs.h
<<\EOF
17565 #define wxUSE_STATBOX 1
17571 if test "$wxUSE_STATTEXT" = "yes"; then
17572 cat >> confdefs.h
<<\EOF
17573 #define wxUSE_STATTEXT 1
17579 if test "$wxUSE_STATLINE" = "yes"; then
17580 if test "$wxUSE_WINE" = 1 ; then
17581 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17583 cat >> confdefs.h
<<\EOF
17584 #define wxUSE_STATLINE 1
17591 if test "$wxUSE_STATUSBAR" = "yes"; then
17592 cat >> confdefs.h
<<\EOF
17593 #define wxUSE_STATUSBAR 1
17598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17601 if test "$wxUSE_TABDIALOG" = "yes"; then
17602 cat >> confdefs.h
<<\EOF
17603 #define wxUSE_TAB_DIALOG 1
17606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17609 if test "$wxUSE_TEXTCTRL" = "yes"; then
17610 cat >> confdefs.h
<<\EOF
17611 #define wxUSE_TEXTCTRL 1
17615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17618 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17619 if test "$wxUSE_MAC" = 1; then
17620 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17624 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17625 cat >> confdefs.h
<<\EOF
17626 #define wxUSE_TOGGLEBTN 1
17633 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17634 cat >> confdefs.h
<<\EOF
17635 #define wxUSE_TOOLBAR_SIMPLE 1
17638 wxUSE_TOOLBAR
="yes"
17642 if test "$wxUSE_TOOLBAR" = "yes"; then
17643 cat >> confdefs.h
<<\EOF
17644 #define wxUSE_TOOLBAR 1
17649 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17650 wxUSE_TOOLBAR_NATIVE
="yes"
17653 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17654 cat >> confdefs.h
<<\EOF
17655 #define wxUSE_TOOLBAR_NATIVE 1
17661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17664 if test "$wxUSE_TOOLTIPS" = "yes"; then
17665 if test "$wxUSE_MOTIF" = 1; then
17666 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17668 if test "$wxUSE_WINE" = 1; then
17669 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17671 cat >> confdefs.h
<<\EOF
17672 #define wxUSE_TOOLTIPS 1
17679 if test "$wxUSE_TREECTRL" = "yes"; then
17680 if test "$wxUSE_IMAGLIST" = "yes"; then
17681 cat >> confdefs.h
<<\EOF
17682 #define wxUSE_TREECTRL 1
17686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17688 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17692 if test "$wxUSE_POPUPWIN" = "yes"; then
17693 if test "$wxUSE_MAC" = 1; then
17694 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17696 cat >> confdefs.h
<<\EOF
17697 #define wxUSE_POPUPWIN 1
17704 if test "$USES_CONTROLS" = 1; then
17705 cat >> confdefs.h
<<\EOF
17706 #define wxUSE_CONTROLS 1
17712 if test "$wxUSE_TREELAYOUT" = "yes"; then
17713 cat >> confdefs.h
<<\EOF
17714 #define wxUSE_TREELAYOUT 1
17717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17720 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17721 cat >> confdefs.h
<<\EOF
17722 #define wxUSE_DRAGIMAGE 1
17725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17728 if test "$wxUSE_MENUS" = "yes"; then
17729 cat >> confdefs.h
<<\EOF
17730 #define wxUSE_MENUS 1
17733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17736 if test "$wxUSE_METAFILE" = "yes"; then
17737 cat >> confdefs.h
<<\EOF
17738 #define wxUSE_METAFILE 1
17743 if test "$wxUSE_MIMETYPE" = "yes"; then
17744 cat >> confdefs.h
<<\EOF
17745 #define wxUSE_MIMETYPE 1
17750 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17751 cat >> confdefs.h
<<\EOF
17752 #define wxUSE_SYSTEM_OPTIONS 1
17757 if test "$wxUSE_MINIFRAME" = "yes"; then
17758 cat >> confdefs.h
<<\EOF
17759 #define wxUSE_MINIFRAME 1
17762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17765 if test "$wxUSE_HTML" = "yes"; then
17766 cat >> confdefs.h
<<\EOF
17767 #define wxUSE_HTML 1
17770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17771 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17774 if test "$wxUSE_VALIDATORS" = "yes"; then
17775 cat >> confdefs.h
<<\EOF
17776 #define wxUSE_VALIDATORS 1
17779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17782 if test "$wxUSE_IMAGE" = "yes" ; then
17783 cat >> confdefs.h
<<\EOF
17784 #define wxUSE_IMAGE 1
17789 if test "$wxUSE_GIF" = "yes" ; then
17790 cat >> confdefs.h
<<\EOF
17791 #define wxUSE_GIF 1
17796 if test "$wxUSE_PCX" = "yes" ; then
17797 cat >> confdefs.h
<<\EOF
17798 #define wxUSE_PCX 1
17803 if test "$wxUSE_PNM" = "yes" ; then
17804 cat >> confdefs.h
<<\EOF
17805 #define wxUSE_PNM 1
17810 if test "$wxUSE_XPM" = "yes" ; then
17811 cat >> confdefs.h
<<\EOF
17812 #define wxUSE_XPM 1
17818 if test "$wxUSE_CHOICEDLG" = "yes"; then
17819 cat >> confdefs.h
<<\EOF
17820 #define wxUSE_CHOICEDLG 1
17825 if test "$wxUSE_COLOURDLG" = "yes"; then
17826 cat >> confdefs.h
<<\EOF
17827 #define wxUSE_COLOURDLG 1
17832 if test "$wxUSE_FILEDLG" = "yes"; then
17833 cat >> confdefs.h
<<\EOF
17834 #define wxUSE_FILEDLG 1
17839 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17840 cat >> confdefs.h
<<\EOF
17841 #define wxUSE_FINDREPLDLG 1
17846 if test "$wxUSE_FONTDLG" = "yes"; then
17847 cat >> confdefs.h
<<\EOF
17848 #define wxUSE_FONTDLG 1
17853 if test "$wxUSE_DIRDLG" = "yes"; then
17854 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17855 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17857 if test "$wxUSE_TREECTRL" != "yes"; then
17858 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17860 cat >> confdefs.h
<<\EOF
17861 #define wxUSE_DIRDLG 1
17868 if test "$wxUSE_MSGDLG" = "yes"; then
17869 cat >> confdefs.h
<<\EOF
17870 #define wxUSE_MSGDLG 1
17875 if test "$wxUSE_NUMBERDLG" = "yes"; then
17876 cat >> confdefs.h
<<\EOF
17877 #define wxUSE_NUMBERDLG 1
17882 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17883 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17884 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_PROGRESSDLG 1
17893 if test "$wxUSE_SPLASH" = "yes"; then
17894 cat >> confdefs.h
<<\EOF
17895 #define wxUSE_SPLASH 1
17900 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17901 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17902 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17904 cat >> confdefs.h
<<\EOF
17905 #define wxUSE_STARTUP_TIPS 1
17911 if test "$wxUSE_TEXTDLG" = "yes"; then
17912 cat >> confdefs.h
<<\EOF
17913 #define wxUSE_TEXTDLG 1
17918 if test "$wxUSE_WIZARDDLG" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_WIZARDDLG 1
17923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17927 if test "$cross_compiling" = "yes"; then
17930 OSINFO
=`uname -s -r -m`
17931 OSINFO
="\"$OSINFO\""
17934 cat >> confdefs.h
<<EOF
17935 #define WXWIN_OS_DESCRIPTION $OSINFO
17940 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17941 OPENGL_LIBS
="$OPENGL_LINK"
17943 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17944 if test "$wxUSE_MAC" = 1 ; then
17945 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17947 if test "$wxUSE_GUI" = "yes"; then
17948 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17951 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17953 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17954 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17955 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17957 if test "$wxUSE_GTK" = 1; then
17958 WXCONFIG_INCLUDE
=""
17960 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17963 if test "$GXX" = yes ; then
17964 CXXWARNINGS
="-Wall"
17966 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17968 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17969 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17971 LDFLAGS
="$LDFLAGS $PROFILE"
17973 if test "$wxUSE_GUI" = "yes"; then
17975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17976 drawing dynamic erase event exec font image \
17977 minimal richedit rotate widgets"
17979 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17983 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17985 SAMPLES_SUBDIRS
="console"
17988 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18084 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18085 echo "configure:18086: checking whether ${MAKE-make} sets \${MAKE}" >&5
18086 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18087 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18088 echo $ac_n "(cached) $ac_c" 1>&6
18090 cat > conftestmake
<<\EOF
18092 @
echo 'ac_maketemp="${MAKE}"'
18094 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18095 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18096 if test -n "$ac_maketemp"; then
18097 eval ac_cv_prog_make_
${ac_make}_set
=yes
18099 eval ac_cv_prog_make_
${ac_make}_set
=no
18103 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18104 echo "$ac_t""yes" 1>&6
18107 echo "$ac_t""no" 1>&6
18108 SET_MAKE
="MAKE=${MAKE-make}"
18112 if test -d include
; then
18113 if test -d include
/wx
; then
18114 if test -d include
/wx
/${SETUPH_DIR}; then
18115 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
18116 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
18124 if test "$wxUSE_GUI" = "yes"; then
18125 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18126 wx_cv_path_ifs
=$PATH_IFS
18127 wx_cv_program_ext
=$PROGRAM_EXT
18128 wx_cv_target_library
=$WX_TARGET_LIBRARY
18129 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18130 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18131 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18132 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18133 subdirs
="demos samples utils contrib"
18138 cat > confcache
<<\EOF
18139 # This file is a shell script that caches the results of configure
18140 # tests run on this system so they can be shared between configure
18141 # scripts and configure runs. It is not useful on other systems.
18142 # If it contains results you don't want to keep, you may remove or edit it.
18144 # By default, configure uses ./config.cache as the cache file,
18145 # creating it if it does not exist already. You can give configure
18146 # the --cache-file=FILE option to use a different cache file; that is
18147 # what configure does when it calls configure scripts in
18148 # subdirectories, so they share the cache.
18149 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18150 # config.status only pays attention to the cache file if you give it the
18151 # --recheck option to rerun configure.
18154 # The following way of writing the cache mishandles newlines in values,
18155 # but we know of no workaround that is simple, portable, and efficient.
18156 # So, don't put newlines in cache variables' values.
18157 # Ultrix sh set writes to stderr and can't be redirected directly,
18158 # and sets the high bit in the cache file unless we assign to the vars.
18160 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18162 # `set' does not quote correctly, so add quotes (double-quote substitution
18163 # turns \\\\ into \\, and sed turns \\ into \).
18165 -e "s/'/'\\\\''/g" \
18166 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18169 # `set' quotes correctly as required by POSIX, so do not add quotes.
18170 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18173 if cmp -s $cache_file confcache
; then
18176 if test -w $cache_file; then
18177 echo "updating cache $cache_file"
18178 cat confcache
> $cache_file
18180 echo "not updating unwritable cache $cache_file"
18185 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18187 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18188 # Let make expand exec_prefix.
18189 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18191 # Any assignment to VPATH causes Sun make to only execute
18192 # the first set of double-colon rules, so remove it if not needed.
18193 # If there is a colon in the path, we need to keep it.
18194 if test "x$srcdir" = x.
; then
18195 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18198 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18200 DEFS
=-DHAVE_CONFIG_H
18202 # Without the "./", some shells look in PATH for config.status.
18203 : ${CONFIG_STATUS=./config.status}
18205 echo creating
$CONFIG_STATUS
18206 rm -f $CONFIG_STATUS
18207 cat > $CONFIG_STATUS <<EOF
18209 # Generated automatically by configure.
18210 # Run this file to recreate the current configuration.
18211 # This directory was configured as follows,
18212 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18214 # $0 $ac_configure_args
18216 # Compiler output produced by configure, useful for debugging
18217 # configure, is in ./config.log if it exists.
18219 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18222 case "\$ac_option" in
18223 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18224 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18225 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18226 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18227 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18229 -help | --help | --hel | --he | --h)
18230 echo "\$ac_cs_usage"; exit 0 ;;
18231 *) echo "\$ac_cs_usage"; exit 1 ;;
18235 ac_given_srcdir=$srcdir
18236 ac_given_INSTALL="$INSTALL"
18238 trap 'rm -fr `echo "
18244 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18246 cat >> $CONFIG_STATUS <<EOF
18248 # Protect against being on the right side of a sed subst in config.status.
18249 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18250 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18254 s%@CFLAGS@%$CFLAGS%g
18255 s%@CPPFLAGS@%$CPPFLAGS%g
18256 s%@CXXFLAGS@%$CXXFLAGS%g
18257 s%@FFLAGS@%$FFLAGS%g
18259 s%@LDFLAGS@%$LDFLAGS%g
18261 s%@exec_prefix@%$exec_prefix%g
18262 s%@prefix@%$prefix%g
18263 s%@program_transform_name@%$program_transform_name%g
18264 s%@bindir@%$bindir%g
18265 s%@sbindir@%$sbindir%g
18266 s%@libexecdir@%$libexecdir%g
18267 s%@datadir@%$datadir%g
18268 s%@sysconfdir@%$sysconfdir%g
18269 s%@sharedstatedir@%$sharedstatedir%g
18270 s%@localstatedir@%$localstatedir%g
18271 s%@libdir@%$libdir%g
18272 s%@includedir@%$includedir%g
18273 s%@oldincludedir@%$oldincludedir%g
18274 s%@infodir@%$infodir%g
18275 s%@mandir@%$mandir%g
18277 s%@host_alias@%$host_alias%g
18278 s%@host_cpu@%$host_cpu%g
18279 s%@host_vendor@%$host_vendor%g
18280 s%@host_os@%$host_os%g
18281 s%@target@%$target%g
18282 s%@target_alias@%$target_alias%g
18283 s%@target_cpu@%$target_cpu%g
18284 s%@target_vendor@%$target_vendor%g
18285 s%@target_os@%$target_os%g
18287 s%@build_alias@%$build_alias%g
18288 s%@build_cpu@%$build_cpu%g
18289 s%@build_vendor@%$build_vendor%g
18290 s%@build_os@%$build_os%g
18294 s%@CXXCPP@%$CXXCPP%g
18295 s%@RANLIB@%$RANLIB%g
18297 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18298 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18299 s%@INSTALL_DATA@%$INSTALL_DATA%g
18303 s%@LEXLIB@%$LEXLIB%g
18305 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18306 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18307 s%@GTK_LIBS@%$GTK_LIBS%g
18308 s%@GTK_CONFIG@%$GTK_CONFIG%g
18309 s%@X_CFLAGS@%$X_CFLAGS%g
18310 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18311 s%@X_LIBS@%$X_LIBS%g
18312 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18315 s%@LEX_STEM@%$LEX_STEM%g
18316 s%@PATH_IFS@%$PATH_IFS%g
18317 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18318 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18319 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18320 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18321 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18322 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18323 s%@WX_LIBRARY@%$WX_LIBRARY%g
18324 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18325 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18326 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18327 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18328 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18329 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18330 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18331 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18332 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18333 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18334 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18335 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18336 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18337 s%@WX_ALL@%$WX_ALL%g
18338 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18339 s%@SHARED_LD@%$SHARED_LD%g
18340 s%@PIC_FLAG@%$PIC_FLAG%g
18341 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18342 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18343 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18344 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18345 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18346 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18347 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18348 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18349 s%@USE_GUI@%$USE_GUI%g
18350 s%@AFMINSTALL@%$AFMINSTALL%g
18351 s%@SETUPH_DIR@%$SETUPH_DIR%g
18352 s%@TOOLKIT@%$TOOLKIT%g
18353 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18354 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18355 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18356 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18357 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18358 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18359 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18360 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18361 s%@GUIDIST@%$GUIDIST%g
18362 s%@PORT_FILES@%$PORT_FILES%g
18363 s%@DISTDIR@%$DISTDIR%g
18364 s%@RPM_SPEC@%$RPM_SPEC%g
18365 s%@RPM_FILES@%$RPM_FILES%g
18366 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18367 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18368 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18369 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18370 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18371 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18372 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18373 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18374 s%@EXTRADEFS@%$EXTRADEFS%g
18375 s%@LD_LIBS@%$LD_LIBS%g
18376 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18377 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18378 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18379 s%@RESPROGRAM@%$RESPROGRAM%g
18380 s%@RESCOMP@%$RESCOMP%g
18381 s%@RESFLAGS@%$RESFLAGS%g
18382 s%@REZFLAGS@%$REZFLAGS%g
18383 s%@DEREZFLAGS@%$DEREZFLAGS%g
18384 s%@LIBWXMACRES@%$LIBWXMACRES%g
18385 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18386 s%@DLLTOOL@%$DLLTOOL%g
18390 s%@MAKEINFO@%$MAKEINFO%g
18391 s%@SET_MAKE@%$SET_MAKE%g
18392 s%@subdirs@%$subdirs%g
18397 cat >> $CONFIG_STATUS <<\EOF
18399 # Split the substitutions into bite-sized pieces for seds with
18400 # small command number limits, like on Digital OSF/1 and HP-UX.
18401 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18402 ac_file
=1 # Number of current file.
18403 ac_beg
=1 # First line for current file.
18404 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18407 while $ac_more_lines; do
18408 if test $ac_beg -gt 1; then
18409 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18411 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18413 if test ! -s conftest.s
$ac_file; then
18414 ac_more_lines
=false
18415 rm -f conftest.s
$ac_file
18417 if test -z "$ac_sed_cmds"; then
18418 ac_sed_cmds
="sed -f conftest.s$ac_file"
18420 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18422 ac_file
=`expr $ac_file + 1`
18424 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18427 if test -z "$ac_sed_cmds"; then
18432 cat >> $CONFIG_STATUS <<EOF
18434 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18441 cat >> $CONFIG_STATUS <<\EOF
18442 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18443 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18445 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18446 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18447 *) ac_file_in
="${ac_file}.in" ;;
18450 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18452 # Remove last slash and all that follows it. Not all systems have dirname.
18453 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18454 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18455 # The file is in a subdirectory.
18456 test ! -d "$ac_dir" && mkdir "$ac_dir"
18457 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18458 # A "../" for each directory in $ac_dir_suffix.
18459 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18461 ac_dir_suffix
= ac_dots
=
18464 case "$ac_given_srcdir" in
18466 if test -z "$ac_dots"; then top_srcdir
=.
18467 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18468 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18469 *) # Relative path.
18470 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18471 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18474 case "$ac_given_INSTALL" in
18475 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18476 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18479 echo creating
"$ac_file"
18481 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18483 *Makefile
*) ac_comsub
="1i\\
18484 # $configure_input" ;;
18488 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18490 s%@configure_input@%$configure_input%g
18491 s%@srcdir@%$srcdir%g
18492 s%@top_srcdir@%$top_srcdir%g
18493 s%@INSTALL@%$INSTALL%g
18494 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18498 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18499 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18501 # ac_d sets the value in "#define NAME VALUE" lines.
18502 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18503 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18506 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18507 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18508 ac_uB
='\([ ]\)%\1#\2define\3'
18511 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18512 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18513 ac_eB
='$%\1#\2define\3'
18517 if test "${CONFIG_HEADERS+set}" != set; then
18519 cat >> $CONFIG_STATUS <<EOF
18520 CONFIG_HEADERS="setup.h:setup.h.in"
18522 cat >> $CONFIG_STATUS <<\EOF
18524 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18525 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18527 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18528 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18529 *) ac_file_in
="${ac_file}.in" ;;
18532 echo creating
$ac_file
18534 rm -f conftest.frag conftest.
in conftest.out
18535 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18536 cat $ac_file_inputs > conftest.
in
18540 # Transform confdefs.h into a sed script conftest.vals that substitutes
18541 # the proper values into config.h.in to produce config.h. And first:
18542 # Protect against being on the right side of a sed subst in config.status.
18543 # Protect against being in an unquoted here document in config.status.
18544 rm -f conftest.vals
18545 cat > conftest.hdr
<<\EOF
18548 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18552 sed -n -f conftest.hdr confdefs.h > conftest.vals
18555 # This sed command replaces #undef with comments. This is necessary, for
18556 # example, in the case of _POSIX_SOURCE, which is predefined and required
18557 # on some systems where configure will not decide to define it.
18558 cat >> conftest.vals <<\EOF
18559 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18562 # Break up conftest.vals because some shells have a limit on
18563 # the size of here documents, and old seds have small limits too.
18565 rm -f conftest.tail
18568 ac_lines=`grep -c . conftest.vals
`
18569 # grep -c gives empty output for an empty file on some AIX systems.
18570 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18571 # Write a limited-size here document to conftest.frag.
18572 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18573 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18575 sed -f conftest.frag conftest.in > conftest.out
18577 mv conftest.out conftest.in
18578 ' >> $CONFIG_STATUS
18579 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18580 rm -f conftest.vals
18581 mv conftest.tail conftest.vals
18583 rm -f conftest.vals
18585 cat >> $CONFIG_STATUS <<\EOF
18586 rm -f conftest.frag conftest.h
18587 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18588 cat conftest.in >> conftest.h
18590 if cmp -s $ac_file conftest.h 2>/dev/null; then
18591 echo "$ac_file is unchanged"
18594 # Remove last slash and all that follows it. Not all systems have dirname.
18595 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18596 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18597 # The file is in a subdirectory.
18598 test ! -d "$ac_dir" && mkdir "$ac_dir"
18601 mv conftest.h $ac_file
18606 cat >> $CONFIG_STATUS <<EOF
18608 SETUPH_DIR="${SETUPH_DIR}"
18609 TOOLKIT_NAME="${TOOLKIT_NAME}"
18614 cat >> $CONFIG_STATUS <<\EOF
18616 if test ! -f wx${TOOLKIT_NAME}-config; then
18618 mv wx-config wx${TOOLKIT_NAME}-config
18619 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18623 if test ! -d lib; then
18626 if test ! -d lib/wx; then
18629 if test ! -d lib/wx/include; then
18630 mkdir lib/wx/include
18632 if test ! -d lib/wx/include/wx; then
18633 mkdir lib/wx/include/wx
18635 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18636 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18638 if test -f setup.h; then
18639 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18643 if test ! -d include; then
18646 if test ! -d include/wx; then
18649 if test ! -d include/wx/${SETUPH_DIR}; then
18650 mkdir include/wx/${SETUPH_DIR}
18652 if test -f setup.h; then
18653 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18659 chmod +x $CONFIG_STATUS
18660 rm -fr confdefs* $ac_clean_files
18661 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18663 if test "$no_recursion" != yes; then
18665 # Remove --cache-file and --srcdir arguments so they do not pile up.
18666 ac_sub_configure_args=
18668 for ac_arg in $ac_configure_args; do
18669 if test -n "$ac_prev"; then
18674 -cache-file | --cache-file | --cache-fil | --cache-fi \
18675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18676 ac_prev=cache_file ;;
18677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18680 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18682 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18684 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18688 for ac_config_dir in demos samples utils contrib; do
18690 # Do not complain, so a configure script can configure whichever
18691 # parts of a large source tree are present.
18692 if test ! -d $srcdir/$ac_config_dir; then
18696 echo configuring in $ac_config_dir
18701 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18703 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18711 # A "../" for each directory in /$ac_config_dir.
18712 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18715 .) # No --srcdir option. We are building in place.
18716 ac_sub_srcdir=$srcdir ;;
18717 /*) # Absolute path.
18718 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18719 *) # Relative path.
18720 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18723 # Check for guested configure; otherwise get Cygnus style configure.
18724 if test -f $ac_sub_srcdir/configure; then
18725 ac_sub_configure=$ac_sub_srcdir/configure
18726 elif test -f $ac_sub_srcdir/configure.in; then
18727 ac_sub_configure=$ac_configure
18729 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18733 # The recursion is here.
18734 if test -n "$ac_sub_configure"; then
18736 # Make the cache file name correct relative to the subdirectory.
18737 case "$cache_file" in
18738 /*) ac_sub_cache_file=$cache_file ;;
18739 *) # Relative path.
18740 ac_sub_cache_file="$ac_dots$cache_file" ;;
18742 case "$ac_given_INSTALL" in
18743 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18744 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18747 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18748 # The eval makes quoting arguments work.
18749 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18752 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }