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"
77 --with-mgl use SciTech MGL"
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-soname set the DT_SONAME field in ELF shared libraries"
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 C++ exceptions handling"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWindows 2.0 compatibility"
129 --enable-compat22 enable wxWindows 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-sysoptions use wxSystemOptions"
197 --enable-threads use threads"
199 --enable-serial use class serialization"
201 --enable-docview use document view architecture"
203 --enable-help use help subsystem"
205 --enable-mshtmlhelp use MS HTML Help (win32)"
207 --enable-html use wxHTML sub-library"
209 --enable-htmlhelp use wxHTML-based help"
211 --enable-constraints use layout-constraints system"
213 --enable-printarch use printing architecture"
215 --enable-mdi use multiple document interface architecture"
217 --enable-loggui use standard GUI logger"
219 --enable-logwin use wxLogWindow"
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223 --enable-prologio use Prolog IO library"
225 --enable-resources use wxWindows resources"
227 --enable-xresources use X resources for save (default for gtk+)"
229 --enable-clipboard use wxClipboard classes"
231 --enable-dnd use Drag'n'Drop classes"
233 --enable-metafile use win32 metafiles"
235 --enable-treelayout use wxTreeLayout classes"
237 --enable-controls use all usual controls"
239 --enable-accel use accelerators"
241 --enable-button use wxButton class"
243 --enable-bmpbutton use wxBitmapButton class"
245 --enable-calendar use wxCalendarCtrl class"
247 --enable-caret use wxCaret class"
249 --enable-checkbox use wxCheckBox class"
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253 --enable-choice use wxChoice class"
255 --enable-combobox use wxComboBox classes"
257 --enable-gauge use wxGauge class"
259 --enable-grid use wxGrid class"
261 --enable-newgrid use new wxGrid class"
263 --enable-imaglist use wxImageList class"
265 --enable-listbox use wxListBox class"
267 --enable-listctrl use wxListCtrl class"
269 --enable-notebook use wxNotebook class"
271 --enable-propsheet use wxPropertySheet class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use all common dialogs"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-finddlg use wxFindReplaceDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-splash use wxSplashScreen"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick use wxJoystick (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-image use wxImage class"
363 --enable-gif use gif images (GIF file format)"
365 --enable-pcx use pcx images (PCX file format)"
367 --enable-pnm use pnm images (PNM file format)"
369 --enable-xpm use xpm images (XPM file format)"
371 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
373 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
375 --disable-gtktest Do not try to compile and run a test GTK program"
377 --with-x use the X Window System"
379 # Initialize some variables set by options.
380 # The variables have the same names as the options, with
381 # dashes changed to underlines.
383 cache_file
=.
/config.cache
392 program_transform_name
=s
,x
,x
,
400 bindir
='${exec_prefix}/bin'
401 sbindir
='${exec_prefix}/sbin'
402 libexecdir
='${exec_prefix}/libexec'
403 datadir
='${prefix}/share'
404 sysconfdir
='${prefix}/etc'
405 sharedstatedir
='${prefix}/com'
406 localstatedir
='${prefix}/var'
407 libdir
='${exec_prefix}/lib'
408 includedir
='${prefix}/include'
409 oldincludedir
='/usr/include'
410 infodir
='${prefix}/info'
411 mandir
='${prefix}/man'
413 # Initialize some other variables.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
424 # If the previous option needs an argument, assign it.
425 if test -n "$ac_prev"; then
426 eval "$ac_prev=\$ac_option"
432 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
436 # Accept the important Cygnus configure options, so we can diagnose typos.
440 -bindir | --bindir | --bindi | --bind | --bin | --bi)
442 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
443 bindir
="$ac_optarg" ;;
445 -build | --build | --buil | --bui | --bu)
447 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
448 build
="$ac_optarg" ;;
450 -cache-file | --cache-file | --cache-fil | --cache-fi \
451 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
452 ac_prev
=cache_file
;;
453 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
454 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
455 cache_file
="$ac_optarg" ;;
457 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
459 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
461 datadir
="$ac_optarg" ;;
463 -disable-* | --disable-*)
464 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
465 # Reject names that are not valid shell variable names.
466 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
467 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
469 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
470 eval "enable_${ac_feature}=no" ;;
472 -enable-* | --enable-*)
473 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
474 # Reject names that are not valid shell variable names.
475 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
476 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
478 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
483 eval "enable_${ac_feature}='$ac_optarg'" ;;
485 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
486 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
487 | --exec | --exe | --ex)
488 ac_prev
=exec_prefix
;;
489 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
490 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
491 | --exec=* | --exe=* | --ex=*)
492 exec_prefix
="$ac_optarg" ;;
494 -gas | --gas | --ga | --g)
495 # Obsolete; use --with-gas.
498 -help | --help | --hel | --he)
499 # Omit some internal or obsolete options to make the list less imposing.
500 # This message is too long to be a string in the A/UX 3.1 sh.
502 Usage: configure [options] [host]
503 Options: [defaults in brackets after descriptions]
505 --cache-file=FILE cache test results in FILE
506 --help print this message
507 --no-create do not create output files
508 --quiet, --silent do not print \`checking...' messages
509 --version print the version of autoconf that created configure
510 Directory and file names:
511 --prefix=PREFIX install architecture-independent files in PREFIX
513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
515 --bindir=DIR user executables in DIR [EPREFIX/bin]
516 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
517 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
518 --datadir=DIR read-only architecture-independent data in DIR
520 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
521 --sharedstatedir=DIR modifiable architecture-independent data in DIR
523 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
524 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
525 --includedir=DIR C header files in DIR [PREFIX/include]
526 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
527 --infodir=DIR info documentation in DIR [PREFIX/info]
528 --mandir=DIR man documentation in DIR [PREFIX/man]
529 --srcdir=DIR find the sources in DIR [configure dir or ..]
530 --program-prefix=PREFIX prepend PREFIX to installed program names
531 --program-suffix=SUFFIX append SUFFIX to installed program names
532 --program-transform-name=PROGRAM
533 run sed PROGRAM on installed program names
537 --build=BUILD configure for building on BUILD [BUILD=HOST]
538 --host=HOST configure for HOST [guessed]
539 --target=TARGET configure for TARGET [TARGET=HOST]
540 Features and packages:
541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
545 --x-includes=DIR X include files are in DIR
546 --x-libraries=DIR X library files are in DIR
548 if test -n "$ac_help"; then
549 echo "--enable and --with options recognized:$ac_help"
553 -host | --host | --hos | --ho)
555 -host=* | --host=* | --hos=* | --ho=*)
558 -includedir | --includedir | --includedi | --included | --include \
559 | --includ | --inclu | --incl | --inc)
560 ac_prev
=includedir
;;
561 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
562 | --includ=* | --inclu=* | --incl=* | --inc=*)
563 includedir
="$ac_optarg" ;;
565 -infodir | --infodir | --infodi | --infod | --info | --inf)
567 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
568 infodir
="$ac_optarg" ;;
570 -libdir | --libdir | --libdi | --libd)
572 -libdir=* | --libdir=* | --libdi=* | --libd=*)
573 libdir
="$ac_optarg" ;;
575 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
576 | --libexe | --libex | --libe)
577 ac_prev
=libexecdir
;;
578 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
579 | --libexe=* | --libex=* | --libe=*)
580 libexecdir
="$ac_optarg" ;;
582 -localstatedir | --localstatedir | --localstatedi | --localstated \
583 | --localstate | --localstat | --localsta | --localst \
584 | --locals | --local | --loca | --loc | --lo)
585 ac_prev
=localstatedir
;;
586 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
587 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
588 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
589 localstatedir
="$ac_optarg" ;;
591 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
593 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
594 mandir
="$ac_optarg" ;;
597 # Obsolete; use --without-fp.
600 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
604 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
605 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
608 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
609 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
610 | --oldin | --oldi | --old | --ol | --o)
611 ac_prev
=oldincludedir
;;
612 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
613 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
614 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
615 oldincludedir
="$ac_optarg" ;;
617 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
619 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
620 prefix
="$ac_optarg" ;;
622 -program-prefix | --program-prefix | --program-prefi | --program-pref \
623 | --program-pre | --program-pr | --program-p)
624 ac_prev
=program_prefix
;;
625 -program-prefix=* | --program-prefix=* | --program-prefi=* \
626 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
627 program_prefix
="$ac_optarg" ;;
629 -program-suffix | --program-suffix | --program-suffi | --program-suff \
630 | --program-suf | --program-su | --program-s)
631 ac_prev
=program_suffix
;;
632 -program-suffix=* | --program-suffix=* | --program-suffi=* \
633 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
634 program_suffix
="$ac_optarg" ;;
636 -program-transform-name | --program-transform-name \
637 | --program-transform-nam | --program-transform-na \
638 | --program-transform-n | --program-transform- \
639 | --program-transform | --program-transfor \
640 | --program-transfo | --program-transf \
641 | --program-trans | --program-tran \
642 | --progr-tra | --program-tr | --program-t)
643 ac_prev
=program_transform_name
;;
644 -program-transform-name=* | --program-transform-name=* \
645 | --program-transform-nam=* | --program-transform-na=* \
646 | --program-transform-n=* | --program-transform-=* \
647 | --program-transform=* | --program-transfor=* \
648 | --program-transfo=* | --program-transf=* \
649 | --program-trans=* | --program-tran=* \
650 | --progr-tra=* | --program-tr=* | --program-t=*)
651 program_transform_name
="$ac_optarg" ;;
653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
654 | -silent | --silent | --silen | --sile | --sil)
657 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
659 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
661 sbindir
="$ac_optarg" ;;
663 -sharedstatedir | --sharedstatedir | --sharedstatedi \
664 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
665 | --sharedst | --shareds | --shared | --share | --shar \
667 ac_prev
=sharedstatedir
;;
668 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
669 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
670 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
672 sharedstatedir
="$ac_optarg" ;;
674 -site | --site | --sit)
676 -site=* | --site=* | --sit=*)
679 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
681 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
682 srcdir
="$ac_optarg" ;;
684 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
685 | --syscon | --sysco | --sysc | --sys | --sy)
686 ac_prev
=sysconfdir
;;
687 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
688 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
689 sysconfdir
="$ac_optarg" ;;
691 -target | --target | --targe | --targ | --tar | --ta | --t)
693 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
694 target
="$ac_optarg" ;;
696 -v | -verbose | --verbose | --verbos | --verbo | --verb)
699 -version | --version | --versio | --versi | --vers)
700 echo "configure generated by autoconf version 2.13"
704 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
705 # Reject names that are not valid shell variable names.
706 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
707 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
709 ac_package
=`echo $ac_package| sed 's/-/_/g'`
714 eval "with_${ac_package}='$ac_optarg'" ;;
716 -without-* | --without-*)
717 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
718 # Reject names that are not valid shell variable names.
719 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
720 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
722 ac_package
=`echo $ac_package| sed 's/-/_/g'`
723 eval "with_${ac_package}=no" ;;
726 # Obsolete; use --with-x.
729 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
730 | --x-incl | --x-inc | --x-in | --x-i)
731 ac_prev
=x_includes
;;
732 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
733 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
734 x_includes
="$ac_optarg" ;;
736 -x-libraries | --x-libraries | --x-librarie | --x-librari \
737 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
738 ac_prev
=x_libraries
;;
739 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
740 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
741 x_libraries
="$ac_optarg" ;;
743 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
747 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
748 echo "configure: warning: $ac_option: invalid host type" 1>&2
750 if test "x$nonopt" != xNONE
; then
751 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
759 if test -n "$ac_prev"; then
760 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
763 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
765 # File descriptor usage:
768 # 2 errors and warnings
769 # 3 some systems may open it to /dev/tty
770 # 4 used on the Kubota Titan
771 # 6 checking for... messages and results
772 # 5 compiler messages saved in config.log
773 if test "$silent" = yes; then
781 This file contains any messages produced by compilers while
782 running configure, to aid debugging if configure makes a mistake.
785 # Strip out --no-create and --no-recursion so they do not pile up.
786 # Also quote any args containing shell metacharacters.
791 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
792 | --no-cr | --no-c) ;;
793 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
794 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
795 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
796 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
797 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
802 # Only set these to C if already set. These must not be set unconditionally
803 # because not all systems understand e.g. LANG=C (notably SCO).
804 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
805 # Non-C LC_CTYPE values break the ctype check.
806 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
807 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
808 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
809 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
811 # confdefs.h avoids OS command line length limits that DEFS can exceed.
812 rm -rf conftest
* confdefs.h
813 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
816 # A filename unique to this package, relative to the directory that
817 # configure is in, which we can look for to find out if srcdir is correct.
818 ac_unique_file
=wx
-config.
in
820 # Find the source files, if location was not specified.
821 if test -z "$srcdir"; then
822 ac_srcdir_defaulted
=yes
823 # Try the directory containing this script, then its parent.
825 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
826 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
828 if test ! -r $srcdir/$ac_unique_file; then
832 ac_srcdir_defaulted
=no
834 if test ! -r $srcdir/$ac_unique_file; then
835 if test "$ac_srcdir_defaulted" = yes; then
836 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
838 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
841 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
843 # Prefer explicitly selected file to automatically selected ones.
844 if test -z "$CONFIG_SITE"; then
845 if test "x$prefix" != xNONE
; then
846 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
848 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
851 for ac_site_file
in $CONFIG_SITE; do
852 if test -r "$ac_site_file"; then
853 echo "loading site script $ac_site_file"
858 if test -r "$cache_file"; then
859 echo "loading cache $cache_file"
862 echo "creating cache $cache_file"
867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
868 ac_cpp
='$CPP $CPPFLAGS'
869 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
870 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
871 cross_compiling
=$ac_cv_prog_cc_cross
875 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
876 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
877 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
884 ac_n
= ac_c
='\c' ac_t
=
890 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
891 if test -f $ac_dir/install-sh; then
893 ac_install_sh
="$ac_aux_dir/install-sh -c"
895 elif test -f $ac_dir/install.sh
; then
897 ac_install_sh
="$ac_aux_dir/install.sh -c"
901 if test -z "$ac_aux_dir"; then
902 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
904 ac_config_guess
=$ac_aux_dir/config.guess
905 ac_config_sub
=$ac_aux_dir/config.sub
906 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
909 # Do some error checking and defaulting for the host and target type.
911 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
914 # 1. You are not allowed to specify --host, --target, and nonopt at the
916 # 2. Host defaults to nonopt.
917 # 3. If nonopt is not specified, then host defaults to the current host,
918 # as determined by config.guess.
919 # 4. Target and build default to nonopt.
920 # 5. If nonopt is not specified, then target and build default to host.
922 # The aliases save the names the user supplied, while $host etc.
923 # will get canonicalized.
924 case $host---$target---$nonopt in
925 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
926 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
930 # Make sure we can run config.sub.
931 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
932 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
935 echo $ac_n "checking host system type""... $ac_c" 1>&6
936 echo "configure:937: checking host system type" >&5
939 case "$host_alias" in
943 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
944 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
946 *) host_alias
=$nonopt ;;
950 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
951 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
952 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
953 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
954 echo "$ac_t""$host" 1>&6
956 echo $ac_n "checking target system type""... $ac_c" 1>&6
957 echo "configure:958: checking target system type" >&5
960 case "$target_alias" in
963 NONE
) target_alias
=$host_alias ;;
964 *) target_alias
=$nonopt ;;
968 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
969 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972 echo "$ac_t""$target" 1>&6
974 echo $ac_n "checking build system type""... $ac_c" 1>&6
975 echo "configure:976: checking build system type" >&5
978 case "$build_alias" in
981 NONE
) build_alias
=$host_alias ;;
982 *) build_alias
=$nonopt ;;
986 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
987 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
988 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
989 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
990 echo "$ac_t""$build" 1>&6
992 test "$host_alias" != "$target_alias" &&
993 test "$program_prefix$program_suffix$program_transform_name" = \
995 program_prefix
=${target_alias}-
999 WX_MAJOR_VERSION_NUMBER
=2
1000 WX_MINOR_VERSION_NUMBER
=3
1003 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1004 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1039 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1041 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1046 DEFAULT_wxUSE_MOTIF
=0
1049 DEFAULT_wxUSE_WINE
=0
1051 DEFAULT_DEFAULT_wxUSE_GTK
=0
1052 DEFAULT_DEFAULT_wxUSE_MAC
=0
1053 DEFAULT_DEFAULT_wxUSE_MGL
=0
1054 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1055 DEFAULT_DEFAULT_wxUSE_MSW
=0
1056 DEFAULT_DEFAULT_wxUSE_PM
=0
1057 DEFAULT_DEFAULT_wxUSE_WINE
=0
1065 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 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* )
1241 cat >> confdefs.h
<<\EOF
1245 cat >> confdefs.h
<<\EOF
1249 cat >> confdefs.h
<<\EOF
1250 #define __WINDOWS__ 1
1253 cat >> confdefs.h
<<\EOF
1254 #define __GNUWIN32__ 1
1257 cat >> confdefs.h
<<\EOF
1261 cat >> confdefs.h
<<\EOF
1262 #define WINVER 0x0400
1266 DEFAULT_DEFAULT_wxUSE_MSW
=1
1270 cat >> confdefs.h
<<\EOF
1275 DEFAULT_DEFAULT_wxUSE_PM
=1
1282 cat >> confdefs.h
<<\EOF
1286 cat >> confdefs.h
<<\EOF
1287 #define __DARWIN__ 1
1290 DEFAULT_DEFAULT_wxUSE_MAC
=1
1295 cat >> confdefs.h
<<\EOF
1302 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1305 if test "$USE_UNIX" = 1 ; then
1307 cat >> confdefs.h
<<\EOF
1313 if test "$USE_LINUX" = 1; then
1314 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1315 echo "configure:1316: checking for glibc 2.1 or later" >&5
1316 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1319 cat > conftest.
$ac_ext <<EOF
1320 #line 1321 "configure"
1321 #include "confdefs.h"
1322 #include <features.h>
1325 #if !__GLIBC_PREREQ(2, 1)
1331 if { (eval echo configure
:1332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1337 echo "configure: failed program was:" >&5
1338 cat conftest.
$ac_ext >&5
1349 echo "$ac_t""$wx_lib_glibc21" 1>&6
1350 if test "$wx_lib_glibc21" = "yes"; then
1351 cat >> confdefs.h
<<\EOF
1352 #define wxHAVE_GLIBC2 1
1361 wx_arg_cache_file
="configarg.cache"
1362 echo "loading argument cache $wx_arg_cache_file"
1363 rm -f ${wx_arg_cache_file}.tmp
1364 touch ${wx_arg_cache_file}.tmp
1365 touch ${wx_arg_cache_file}
1369 if test $DEBUG_CONFIGURE = 1; then
1370 DEFAULT_wxUSE_UNIVERSAL
=no
1372 DEFAULT_wxUSE_THREADS
=yes
1374 DEFAULT_wxUSE_SHARED
=yes
1375 DEFAULT_wxUSE_SONAME
=no
1376 DEFAULT_wxUSE_OPTIMISE
=no
1377 DEFAULT_wxUSE_PROFILE
=no
1378 DEFAULT_wxUSE_NO_DEPS
=no
1379 DEFAULT_wxUSE_NO_RTTI
=no
1380 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1381 DEFAULT_wxUSE_PERMISSIVE
=no
1382 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1383 DEFAULT_wxUSE_DEBUG_INFO
=yes
1384 DEFAULT_wxUSE_DEBUG_GDB
=yes
1385 DEFAULT_wxUSE_MEM_TRACING
=no
1386 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1387 DEFAULT_wxUSE_DMALLOC
=no
1388 DEFAULT_wxUSE_APPLE_IEEE
=no
1390 DEFAULT_wxUSE_LOG
=yes
1391 DEFAULT_wxUSE_LOGWINDOW
=no
1392 DEFAULT_wxUSE_LOGGUI
=no
1394 DEFAULT_wxUSE_GUI
=yes
1395 DEFAULT_wxUSE_CONTROLS
=no
1397 DEFAULT_wxUSE_REGEX
=no
1398 DEFAULT_wxUSE_ZLIB
=no
1399 DEFAULT_wxUSE_LIBPNG
=no
1400 DEFAULT_wxUSE_LIBJPEG
=no
1401 DEFAULT_wxUSE_LIBTIFF
=no
1402 DEFAULT_wxUSE_ODBC
=no
1403 DEFAULT_wxUSE_FREETYPE
=no
1404 DEFAULT_wxUSE_OPENGL
=no
1406 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1407 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1408 DEFAULT_wxUSE_STD_IOSTREAM
=no
1409 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1410 DEFAULT_wxUSE_DATETIME
=no
1411 DEFAULT_wxUSE_TIMEDATE
=no
1412 DEFAULT_wxUSE_TIMER
=no
1413 DEFAULT_wxUSE_STOPWATCH
=no
1414 DEFAULT_wxUSE_FILE
=no
1415 DEFAULT_wxUSE_FFILE
=no
1416 DEFAULT_wxUSE_TEXTFILE
=no
1417 DEFAULT_wxUSE_WAVE
=no
1418 DEFAULT_wxUSE_INTL
=no
1419 DEFAULT_wxUSE_CONFIG
=no
1420 DEFAULT_wxUSE_FONTMAP
=no
1421 DEFAULT_wxUSE_STREAMS
=no
1422 DEFAULT_wxUSE_SOCKETS
=no
1423 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1424 DEFAULT_wxUSE_SERIAL
=no
1425 DEFAULT_wxUSE_JOYSTICK
=no
1426 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1427 DEFAULT_wxUSE_LONGLONG
=no
1428 DEFAULT_wxUSE_GEOMETRY
=no
1430 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1431 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1432 DEFAULT_wxUSE_POSTSCRIPT
=no
1434 DEFAULT_wxUSE_X_RESOURCES
=no
1435 DEFAULT_wxUSE_CLIPBOARD
=no
1436 DEFAULT_wxUSE_TOOLTIPS
=no
1437 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1438 DEFAULT_wxUSE_DRAGIMAGE
=no
1439 DEFAULT_wxUSE_SPLINES
=no
1441 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1442 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1443 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1445 DEFAULT_wxUSE_PROLOGIO
=no
1446 DEFAULT_wxUSE_RESOURCES
=no
1447 DEFAULT_wxUSE_CONSTRAINTS
=no
1448 DEFAULT_wxUSE_IPC
=no
1449 DEFAULT_wxUSE_HELP
=no
1450 DEFAULT_wxUSE_MS_HTML_HELP
=no
1451 DEFAULT_wxUSE_WXHTML_HELP
=no
1452 DEFAULT_wxUSE_TREELAYOUT
=no
1453 DEFAULT_wxUSE_METAFILE
=no
1454 DEFAULT_wxUSE_MIMETYPE
=no
1455 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1457 DEFAULT_wxUSE_COMMONDLGS
=no
1458 DEFAULT_wxUSE_CHOICEDLG
=no
1459 DEFAULT_wxUSE_COLOURDLG
=no
1460 DEFAULT_wxUSE_DIRDLG
=no
1461 DEFAULT_wxUSE_FILEDLG
=no
1462 DEFAULT_wxUSE_FINDREPLDLG
=no
1463 DEFAULT_wxUSE_FONTDLG
=no
1464 DEFAULT_wxUSE_MSGDLG
=no
1465 DEFAULT_wxUSE_NUMBERDLG
=no
1466 DEFAULT_wxUSE_TEXTDLG
=no
1467 DEFAULT_wxUSE_SPLASH
=no
1468 DEFAULT_wxUSE_STARTUP_TIPS
=no
1469 DEFAULT_wxUSE_PROGRESSDLG
=no
1470 DEFAULT_wxUSE_WIZARDDLG
=no
1472 DEFAULT_wxUSE_MENUS
=no
1473 DEFAULT_wxUSE_MINIFRAME
=no
1474 DEFAULT_wxUSE_HTML
=no
1475 DEFAULT_wxUSE_FILESYSTEM
=no
1476 DEFAULT_wxUSE_FS_INET
=no
1477 DEFAULT_wxUSE_FS_ZIP
=no
1478 DEFAULT_wxUSE_BUSYINFO
=no
1479 DEFAULT_wxUSE_ZIPSTREAM
=no
1480 DEFAULT_wxUSE_VALIDATORS
=no
1482 DEFAULT_wxUSE_ACCEL
=no
1483 DEFAULT_wxUSE_BUTTON
=no
1484 DEFAULT_wxUSE_BMPBUTTON
=no
1485 DEFAULT_wxUSE_CALCTRL
=no
1486 DEFAULT_wxUSE_CARET
=no
1487 DEFAULT_wxUSE_CHECKBOX
=no
1488 DEFAULT_wxUSE_CHECKLST
=no
1489 DEFAULT_wxUSE_CHOICE
=no
1490 DEFAULT_wxUSE_COMBOBOX
=no
1491 DEFAULT_wxUSE_GAUGE
=no
1492 DEFAULT_wxUSE_GRID
=no
1493 DEFAULT_wxUSE_NEW_GRID
=no
1494 DEFAULT_wxUSE_IMAGLIST
=no
1495 DEFAULT_wxUSE_LISTBOX
=no
1496 DEFAULT_wxUSE_LISTCTRL
=no
1497 DEFAULT_wxUSE_NOTEBOOK
=no
1498 DEFAULT_wxUSE_PROPSHEET
=no
1499 DEFAULT_wxUSE_RADIOBOX
=no
1500 DEFAULT_wxUSE_RADIOBTN
=no
1501 DEFAULT_wxUSE_SASH
=no
1502 DEFAULT_wxUSE_SCROLLBAR
=no
1503 DEFAULT_wxUSE_SLIDER
=no
1504 DEFAULT_wxUSE_SPINBTN
=no
1505 DEFAULT_wxUSE_SPINCTRL
=no
1506 DEFAULT_wxUSE_SPLITTER
=no
1507 DEFAULT_wxUSE_STATBMP
=no
1508 DEFAULT_wxUSE_STATBOX
=no
1509 DEFAULT_wxUSE_STATLINE
=no
1510 DEFAULT_wxUSE_STATTEXT
=no
1511 DEFAULT_wxUSE_STATUSBAR
=yes
1512 DEFAULT_wxUSE_TABDIALOG
=no
1513 DEFAULT_wxUSE_TEXTCTRL
=no
1514 DEFAULT_wxUSE_TOGGLEBTN
=no
1515 DEFAULT_wxUSE_TOOLBAR
=no
1516 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1517 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1518 DEFAULT_wxUSE_TREECTRL
=no
1519 DEFAULT_wxUSE_POPUPWIN
=no
1521 DEFAULT_wxUSE_UNICODE
=no
1522 DEFAULT_wxUSE_WCSRTOMBS
=no
1524 DEFAULT_wxUSE_IMAGE
=no
1525 DEFAULT_wxUSE_GIF
=no
1526 DEFAULT_wxUSE_PCX
=no
1527 DEFAULT_wxUSE_PNM
=no
1528 DEFAULT_wxUSE_XPM
=no
1530 DEFAULT_wxUSE_UNIVERSAL
=no
1532 DEFAULT_wxUSE_THREADS
=yes
1534 DEFAULT_wxUSE_SHARED
=yes
1535 DEFAULT_wxUSE_SONAME
=no
1536 DEFAULT_wxUSE_OPTIMISE
=yes
1537 DEFAULT_wxUSE_PROFILE
=no
1538 DEFAULT_wxUSE_NO_DEPS
=no
1539 DEFAULT_wxUSE_NO_RTTI
=no
1540 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1541 DEFAULT_wxUSE_PERMISSIVE
=no
1542 DEFAULT_wxUSE_DEBUG_FLAG
=no
1543 DEFAULT_wxUSE_DEBUG_INFO
=no
1544 DEFAULT_wxUSE_DEBUG_GDB
=no
1545 DEFAULT_wxUSE_MEM_TRACING
=no
1546 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1547 DEFAULT_wxUSE_DMALLOC
=no
1548 DEFAULT_wxUSE_APPLE_IEEE
=yes
1550 DEFAULT_wxUSE_LOG
=yes
1551 DEFAULT_wxUSE_LOGWINDOW
=yes
1552 DEFAULT_wxUSE_LOGGUI
=yes
1554 DEFAULT_wxUSE_GUI
=yes
1556 DEFAULT_wxUSE_REGEX
=yes
1557 DEFAULT_wxUSE_ZLIB
=yes
1558 DEFAULT_wxUSE_LIBPNG
=yes
1559 DEFAULT_wxUSE_LIBJPEG
=yes
1560 DEFAULT_wxUSE_LIBTIFF
=yes
1561 DEFAULT_wxUSE_ODBC
=no
1562 DEFAULT_wxUSE_FREETYPE
=no
1563 DEFAULT_wxUSE_OPENGL
=no
1565 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1566 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1567 DEFAULT_wxUSE_STD_IOSTREAM
=no
1568 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1569 DEFAULT_wxUSE_DATETIME
=yes
1570 DEFAULT_wxUSE_TIMEDATE
=no
1571 DEFAULT_wxUSE_TIMER
=yes
1572 DEFAULT_wxUSE_STOPWATCH
=yes
1573 DEFAULT_wxUSE_FILE
=yes
1574 DEFAULT_wxUSE_FFILE
=yes
1575 DEFAULT_wxUSE_TEXTFILE
=yes
1576 DEFAULT_wxUSE_WAVE
=no
1577 DEFAULT_wxUSE_INTL
=yes
1578 DEFAULT_wxUSE_CONFIG
=yes
1579 DEFAULT_wxUSE_FONTMAP
=yes
1580 DEFAULT_wxUSE_STREAMS
=yes
1581 DEFAULT_wxUSE_SOCKETS
=yes
1582 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1583 DEFAULT_wxUSE_SERIAL
=yes
1584 DEFAULT_wxUSE_JOYSTICK
=yes
1585 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1586 DEFAULT_wxUSE_LONGLONG
=yes
1587 DEFAULT_wxUSE_GEOMETRY
=yes
1589 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1590 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1591 DEFAULT_wxUSE_POSTSCRIPT
=yes
1593 DEFAULT_wxUSE_X_RESOURCES
=no
1594 DEFAULT_wxUSE_CLIPBOARD
=yes
1595 DEFAULT_wxUSE_TOOLTIPS
=yes
1596 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1597 DEFAULT_wxUSE_DRAGIMAGE
=yes
1598 DEFAULT_wxUSE_SPLINES
=yes
1600 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1601 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1602 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1604 DEFAULT_wxUSE_PROLOGIO
=yes
1605 DEFAULT_wxUSE_RESOURCES
=yes
1606 DEFAULT_wxUSE_CONSTRAINTS
=yes
1607 DEFAULT_wxUSE_IPC
=yes
1608 DEFAULT_wxUSE_HELP
=yes
1609 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1610 DEFAULT_wxUSE_WXHTML_HELP
=yes
1611 DEFAULT_wxUSE_TREELAYOUT
=yes
1612 DEFAULT_wxUSE_METAFILE
=yes
1613 DEFAULT_wxUSE_MIMETYPE
=yes
1614 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1616 DEFAULT_wxUSE_COMMONDLGS
=yes
1617 DEFAULT_wxUSE_CHOICEDLG
=yes
1618 DEFAULT_wxUSE_COLOURDLG
=yes
1619 DEFAULT_wxUSE_DIRDLG
=yes
1620 DEFAULT_wxUSE_FILEDLG
=yes
1621 DEFAULT_wxUSE_FINDREPLDLG
=yes
1622 DEFAULT_wxUSE_FONTDLG
=yes
1623 DEFAULT_wxUSE_MSGDLG
=yes
1624 DEFAULT_wxUSE_NUMBERDLG
=yes
1625 DEFAULT_wxUSE_TEXTDLG
=yes
1626 DEFAULT_wxUSE_SPLASH
=yes
1627 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1628 DEFAULT_wxUSE_PROGRESSDLG
=yes
1629 DEFAULT_wxUSE_WIZARDDLG
=yes
1631 DEFAULT_wxUSE_MENUS
=yes
1632 DEFAULT_wxUSE_MINIFRAME
=yes
1633 DEFAULT_wxUSE_HTML
=yes
1634 DEFAULT_wxUSE_FILESYSTEM
=yes
1635 DEFAULT_wxUSE_FS_INET
=yes
1636 DEFAULT_wxUSE_FS_ZIP
=yes
1637 DEFAULT_wxUSE_BUSYINFO
=yes
1638 DEFAULT_wxUSE_ZIPSTREAM
=yes
1639 DEFAULT_wxUSE_VALIDATORS
=yes
1641 DEFAULT_wxUSE_ACCEL
=yes
1642 DEFAULT_wxUSE_BUTTON
=yes
1643 DEFAULT_wxUSE_BMPBUTTON
=yes
1644 DEFAULT_wxUSE_CALCTRL
=yes
1645 DEFAULT_wxUSE_CARET
=yes
1646 DEFAULT_wxUSE_CHECKBOX
=yes
1647 DEFAULT_wxUSE_CHECKLST
=yes
1648 DEFAULT_wxUSE_CHOICE
=yes
1649 DEFAULT_wxUSE_COMBOBOX
=yes
1650 DEFAULT_wxUSE_GAUGE
=yes
1651 DEFAULT_wxUSE_GRID
=yes
1652 DEFAULT_wxUSE_NEW_GRID
=yes
1653 DEFAULT_wxUSE_IMAGLIST
=yes
1654 DEFAULT_wxUSE_LISTBOX
=yes
1655 DEFAULT_wxUSE_LISTCTRL
=yes
1656 DEFAULT_wxUSE_NOTEBOOK
=yes
1657 DEFAULT_wxUSE_PROPSHEET
=yes
1658 DEFAULT_wxUSE_RADIOBOX
=yes
1659 DEFAULT_wxUSE_RADIOBTN
=yes
1660 DEFAULT_wxUSE_SASH
=yes
1661 DEFAULT_wxUSE_SCROLLBAR
=yes
1662 DEFAULT_wxUSE_SLIDER
=yes
1663 DEFAULT_wxUSE_SPINBTN
=yes
1664 DEFAULT_wxUSE_SPINCTRL
=yes
1665 DEFAULT_wxUSE_SPLITTER
=yes
1666 DEFAULT_wxUSE_STATBMP
=yes
1667 DEFAULT_wxUSE_STATBOX
=yes
1668 DEFAULT_wxUSE_STATLINE
=yes
1669 DEFAULT_wxUSE_STATTEXT
=yes
1670 DEFAULT_wxUSE_STATUSBAR
=yes
1671 DEFAULT_wxUSE_TABDIALOG
=no
1672 DEFAULT_wxUSE_TEXTCTRL
=yes
1673 DEFAULT_wxUSE_TOGGLEBTN
=yes
1674 DEFAULT_wxUSE_TOOLBAR
=yes
1675 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1676 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1677 DEFAULT_wxUSE_TREECTRL
=yes
1678 DEFAULT_wxUSE_POPUPWIN
=yes
1680 DEFAULT_wxUSE_UNICODE
=no
1681 DEFAULT_wxUSE_WCSRTOMBS
=no
1683 DEFAULT_wxUSE_IMAGE
=yes
1684 DEFAULT_wxUSE_GIF
=yes
1685 DEFAULT_wxUSE_PCX
=yes
1686 DEFAULT_wxUSE_PNM
=yes
1687 DEFAULT_wxUSE_XPM
=yes
1692 for toolkit
in `echo $ALL_TOOLKITS`; do
1693 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1694 if test "x$LINE" != x
; then
1695 has_toolkit_in_cache
=1
1696 eval "DEFAULT_$LINE"
1697 eval "CACHE_$toolkit=1"
1703 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1704 echo "configure:1705: checking for --enable-gui" >&5
1706 # Check whether --enable-gui or --disable-gui was given.
1707 if test "${enable_gui+set}" = set; then
1708 enableval
="$enable_gui"
1710 if test "$enableval" = yes; then
1711 ac_cv_use_gui
='wxUSE_GUI=yes'
1713 ac_cv_use_gui
='wxUSE_GUI=no'
1718 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1719 if test "x$LINE" != x
; then
1720 eval "DEFAULT_$LINE"
1725 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1730 eval "$ac_cv_use_gui"
1731 if test "$no_cache" != 1; then
1732 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1735 if test "$wxUSE_GUI" = yes; then
1736 echo "$ac_t""yes" 1>&6
1738 echo "$ac_t""no" 1>&6
1742 if test "$wxUSE_GUI" = "yes"; then
1745 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1746 echo "configure:1747: checking for --enable-universal" >&5
1748 # Check whether --enable-universal or --disable-universal was given.
1749 if test "${enable_universal+set}" = set; then
1750 enableval
="$enable_universal"
1752 if test "$enableval" = yes; then
1753 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1755 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1760 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x
; then
1762 eval "DEFAULT_$LINE"
1767 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1772 eval "$ac_cv_use_universal"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1777 if test "$wxUSE_UNIVERSAL" = yes; then
1778 echo "$ac_t""yes" 1>&6
1780 echo "$ac_t""no" 1>&6
1783 # Check whether --with-gtk or --without-gtk was given.
1784 if test "${with_gtk+set}" = set; then
1786 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1789 # Check whether --with-motif or --without-motif was given.
1790 if test "${with_motif+set}" = set; then
1791 withval
="$with_motif"
1792 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1795 # Check whether --with-mac or --without-mac was given.
1796 if test "${with_mac+set}" = set; then
1798 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1801 # Check whether --with-wine or --without-wine was given.
1802 if test "${with_wine+set}" = set; then
1803 withval
="$with_wine"
1804 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1807 # Check whether --with-cygwin or --without-cygwin was given.
1808 if test "${with_cygwin+set}" = set; then
1809 withval
="$with_cygwin"
1810 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1813 # Check whether --with-mingw or --without-mingw was given.
1814 if test "${with_mingw+set}" = set; then
1815 withval
="$with_mingw"
1816 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1819 # Check whether --with-pm or --without-pm was given.
1820 if test "${with_pm+set}" = set; then
1822 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1825 # Check whether --with-mgl or --without-mgl was given.
1826 if test "${with_mgl+set}" = set; then
1828 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1833 if test "${enable_gtk2+set}" = set; then
1834 enableval
="$enable_gtk2"
1842 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1843 echo "configure:1844: checking for --with-libpng" >&5
1845 # Check whether --with-libpng or --without-libpng was given.
1846 if test "${with_libpng+set}" = set; then
1847 withval
="$with_libpng"
1849 if test "$withval" = yes; then
1850 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1851 elif test "$withval" = no
; then
1852 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1853 elif test "$withval" = sys
; then
1854 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1856 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1861 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1873 eval "$ac_cv_use_libpng"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_LIBPNG" = yes; then
1879 echo "$ac_t""yes" 1>&6
1880 elif test "$wxUSE_LIBPNG" = no
; then
1881 echo "$ac_t""no" 1>&6
1882 elif test "$wxUSE_LIBPNG" = sys
; then
1883 echo "$ac_t""system version" 1>&6
1885 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1889 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1890 echo "configure:1891: checking for --with-libjpeg" >&5
1892 # Check whether --with-libjpeg or --without-libjpeg was given.
1893 if test "${with_libjpeg+set}" = set; then
1894 withval
="$with_libjpeg"
1896 if test "$withval" = yes; then
1897 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1898 elif test "$withval" = no
; then
1899 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1900 elif test "$withval" = sys
; then
1901 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1903 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1908 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x
; then
1910 eval "DEFAULT_$LINE"
1915 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1920 eval "$ac_cv_use_libjpeg"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1925 if test "$wxUSE_LIBJPEG" = yes; then
1926 echo "$ac_t""yes" 1>&6
1927 elif test "$wxUSE_LIBJPEG" = no
; then
1928 echo "$ac_t""no" 1>&6
1929 elif test "$wxUSE_LIBJPEG" = sys
; then
1930 echo "$ac_t""system version" 1>&6
1932 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1936 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1937 echo "configure:1938: checking for --with-libtiff" >&5
1939 # Check whether --with-libtiff or --without-libtiff was given.
1940 if test "${with_libtiff+set}" = set; then
1941 withval
="$with_libtiff"
1943 if test "$withval" = yes; then
1944 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1945 elif test "$withval" = no
; then
1946 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1947 elif test "$withval" = sys
; then
1948 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1950 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1955 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x
; then
1957 eval "DEFAULT_$LINE"
1962 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1967 eval "$ac_cv_use_libtiff"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1972 if test "$wxUSE_LIBTIFF" = yes; then
1973 echo "$ac_t""yes" 1>&6
1974 elif test "$wxUSE_LIBTIFF" = no
; then
1975 echo "$ac_t""no" 1>&6
1976 elif test "$wxUSE_LIBTIFF" = sys
; then
1977 echo "$ac_t""system version" 1>&6
1979 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1983 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1984 echo "configure:1985: checking for --with-freetype" >&5
1986 # Check whether --with-freetype or --without-freetype was given.
1987 if test "${with_freetype+set}" = set; then
1988 withval
="$with_freetype"
1990 if test "$withval" = yes; then
1991 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1992 elif test "$withval" = no
; then
1993 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1994 elif test "$withval" = sys
; then
1995 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1997 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2002 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2003 if test "x$LINE" != x
; then
2004 eval "DEFAULT_$LINE"
2009 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2014 eval "$ac_cv_use_freetype"
2015 if test "$no_cache" != 1; then
2016 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2019 if test "$wxUSE_FREETYPE" = yes; then
2020 echo "$ac_t""yes" 1>&6
2021 elif test "$wxUSE_FREETYPE" = no
; then
2022 echo "$ac_t""no" 1>&6
2023 elif test "$wxUSE_FREETYPE" = sys
; then
2024 echo "$ac_t""system version" 1>&6
2026 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2030 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2031 echo "configure:2032: checking for --with-opengl" >&5
2033 # Check whether --with-opengl or --without-opengl was given.
2034 if test "${with_opengl+set}" = set; then
2035 withval
="$with_opengl"
2037 if test "$withval" = yes; then
2038 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2040 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2045 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2046 if test "x$LINE" != x
; then
2047 eval "DEFAULT_$LINE"
2052 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2057 eval "$ac_cv_use_opengl"
2058 if test "$no_cache" != 1; then
2059 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2062 if test "$wxUSE_OPENGL" = yes; then
2063 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2072 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2073 echo "configure:2074: checking for --with-dmalloc" >&5
2075 # Check whether --with-dmalloc or --without-dmalloc was given.
2076 if test "${with_dmalloc+set}" = set; then
2077 withval
="$with_dmalloc"
2079 if test "$withval" = yes; then
2080 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2082 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2087 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2088 if test "x$LINE" != x
; then
2089 eval "DEFAULT_$LINE"
2094 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2099 eval "$ac_cv_use_dmalloc"
2100 if test "$no_cache" != 1; then
2101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2104 if test "$wxUSE_DMALLOC" = yes; then
2105 echo "$ac_t""yes" 1>&6
2107 echo "$ac_t""no" 1>&6
2111 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2112 echo "configure:2113: checking for --with-regex" >&5
2114 # Check whether --with-regex or --without-regex was given.
2115 if test "${with_regex+set}" = set; then
2116 withval
="$with_regex"
2118 if test "$withval" = yes; then
2119 ac_cv_use_regex
='wxUSE_REGEX=yes'
2120 elif test "$withval" = no
; then
2121 ac_cv_use_regex
='wxUSE_REGEX=no'
2122 elif test "$withval" = sys
; then
2123 ac_cv_use_regex
='wxUSE_REGEX=sys'
2125 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2130 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2131 if test "x$LINE" != x
; then
2132 eval "DEFAULT_$LINE"
2137 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2142 eval "$ac_cv_use_regex"
2143 if test "$no_cache" != 1; then
2144 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2147 if test "$wxUSE_REGEX" = yes; then
2148 echo "$ac_t""yes" 1>&6
2149 elif test "$wxUSE_REGEX" = no
; then
2150 echo "$ac_t""no" 1>&6
2151 elif test "$wxUSE_REGEX" = sys
; then
2152 echo "$ac_t""system version" 1>&6
2154 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2158 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2159 echo "configure:2160: checking for --with-zlib" >&5
2161 # Check whether --with-zlib or --without-zlib was given.
2162 if test "${with_zlib+set}" = set; then
2163 withval
="$with_zlib"
2165 if test "$withval" = yes; then
2166 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2167 elif test "$withval" = no
; then
2168 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2169 elif test "$withval" = sys
; then
2170 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2172 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2177 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2189 eval "$ac_cv_use_zlib"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_ZLIB" = yes; then
2195 echo "$ac_t""yes" 1>&6
2196 elif test "$wxUSE_ZLIB" = no
; then
2197 echo "$ac_t""no" 1>&6
2198 elif test "$wxUSE_ZLIB" = sys
; then
2199 echo "$ac_t""system version" 1>&6
2201 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2205 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2206 echo "configure:2207: checking for --with-odbc" >&5
2208 # Check whether --with-odbc or --without-odbc was given.
2209 if test "${with_odbc+set}" = set; then
2210 withval
="$with_odbc"
2212 if test "$withval" = yes; then
2213 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2215 ac_cv_use_odbc
='wxUSE_ODBC=no'
2220 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2221 if test "x$LINE" != x
; then
2222 eval "DEFAULT_$LINE"
2227 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2232 eval "$ac_cv_use_odbc"
2233 if test "$no_cache" != 1; then
2234 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2237 if test "$wxUSE_ODBC" = yes; then
2238 echo "$ac_t""yes" 1>&6
2240 echo "$ac_t""no" 1>&6
2247 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2248 echo "configure:2249: checking for --enable-shared" >&5
2250 # Check whether --enable-shared or --disable-shared was given.
2251 if test "${enable_shared+set}" = set; then
2252 enableval
="$enable_shared"
2254 if test "$enableval" = yes; then
2255 ac_cv_use_shared
='wxUSE_SHARED=yes'
2257 ac_cv_use_shared
='wxUSE_SHARED=no'
2262 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x
; then
2264 eval "DEFAULT_$LINE"
2269 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2274 eval "$ac_cv_use_shared"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2279 if test "$wxUSE_SHARED" = yes; then
2280 echo "$ac_t""yes" 1>&6
2282 echo "$ac_t""no" 1>&6
2286 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2287 echo "configure:2288: checking for --enable-soname" >&5
2289 # Check whether --enable-soname or --disable-soname was given.
2290 if test "${enable_soname+set}" = set; then
2291 enableval
="$enable_soname"
2293 if test "$enableval" = yes; then
2294 ac_cv_use_soname
='wxUSE_SONAME=yes'
2296 ac_cv_use_soname
='wxUSE_SONAME=no'
2301 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x
; then
2303 eval "DEFAULT_$LINE"
2308 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2313 eval "$ac_cv_use_soname"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2318 if test "$wxUSE_SONAME" = yes; then
2319 echo "$ac_t""yes" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2326 echo "configure:2327: checking for --enable-optimise" >&5
2328 # Check whether --enable-optimise or --disable-optimise was given.
2329 if test "${enable_optimise+set}" = set; then
2330 enableval
="$enable_optimise"
2332 if test "$enableval" = yes; then
2333 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2335 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2340 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2341 if test "x$LINE" != x
; then
2342 eval "DEFAULT_$LINE"
2347 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2352 eval "$ac_cv_use_optimise"
2353 if test "$no_cache" != 1; then
2354 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2357 if test "$wxUSE_OPTIMISE" = yes; then
2358 echo "$ac_t""yes" 1>&6
2360 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2365 echo "configure:2366: checking for --enable-debug" >&5
2367 # Check whether --enable-debug or --disable-debug was given.
2368 if test "${enable_debug+set}" = set; then
2369 enableval
="$enable_debug"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2374 ac_cv_use_debug
='wxUSE_DEBUG=no'
2379 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2391 eval "$ac_cv_use_debug"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_DEBUG" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 if test "$wxUSE_DEBUG" = "yes"; then
2404 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2405 DEFAULT_wxUSE_DEBUG_INFO
=yes
2406 elif test "$wxUSE_DEBUG" = "no"; then
2407 DEFAULT_wxUSE_DEBUG_FLAG
=no
2408 DEFAULT_wxUSE_DEBUG_INFO
=no
2412 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2413 echo "configure:2414: checking for --enable-debug_flag" >&5
2415 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2416 if test "${enable_debug_flag+set}" = set; then
2417 enableval
="$enable_debug_flag"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2422 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2427 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2439 eval "$ac_cv_use_debug_flag"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_DEBUG_FLAG" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2451 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2452 echo "configure:2453: checking for --enable-debug_info" >&5
2454 # Check whether --enable-debug_info or --disable-debug_info was given.
2455 if test "${enable_debug_info+set}" = set; then
2456 enableval
="$enable_debug_info"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2461 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2466 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2478 eval "$ac_cv_use_debug_info"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_DEBUG_INFO" = yes; then
2484 echo "$ac_t""yes" 1>&6
2486 echo "$ac_t""no" 1>&6
2490 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2491 echo "configure:2492: checking for --enable-debug_gdb" >&5
2493 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2494 if test "${enable_debug_gdb+set}" = set; then
2495 enableval
="$enable_debug_gdb"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2500 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2505 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2517 eval "$ac_cv_use_debug_gdb"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_DEBUG_GDB" = yes; then
2523 echo "$ac_t""yes" 1>&6
2525 echo "$ac_t""no" 1>&6
2529 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2530 echo "configure:2531: checking for --enable-debug_cntxt" >&5
2532 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2533 if test "${enable_debug_cntxt+set}" = set; then
2534 enableval
="$enable_debug_cntxt"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2539 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2544 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2556 eval "$ac_cv_use_debug_cntxt"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2561 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2562 echo "$ac_t""yes" 1>&6
2564 echo "$ac_t""no" 1>&6
2568 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2569 echo "configure:2570: checking for --enable-mem_tracing" >&5
2571 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2572 if test "${enable_mem_tracing+set}" = set; then
2573 enableval
="$enable_mem_tracing"
2575 if test "$enableval" = yes; then
2576 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2578 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2583 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x
; then
2585 eval "DEFAULT_$LINE"
2590 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2595 eval "$ac_cv_use_mem_tracing"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2600 if test "$wxUSE_MEM_TRACING" = yes; then
2601 echo "$ac_t""yes" 1>&6
2603 echo "$ac_t""no" 1>&6
2607 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2608 echo "configure:2609: checking for --enable-profile" >&5
2610 # Check whether --enable-profile or --disable-profile was given.
2611 if test "${enable_profile+set}" = set; then
2612 enableval
="$enable_profile"
2614 if test "$enableval" = yes; then
2615 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2617 ac_cv_use_profile
='wxUSE_PROFILE=no'
2622 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x
; then
2624 eval "DEFAULT_$LINE"
2629 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2634 eval "$ac_cv_use_profile"
2635 if test "$no_cache" != 1; then
2636 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2639 if test "$wxUSE_PROFILE" = yes; then
2640 echo "$ac_t""yes" 1>&6
2642 echo "$ac_t""no" 1>&6
2646 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2647 echo "configure:2648: checking for --enable-no_rtti" >&5
2649 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2650 if test "${enable_no_rtti+set}" = set; then
2651 enableval
="$enable_no_rtti"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2656 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2661 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2673 eval "$ac_cv_use_no_rtti"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_NO_RTTI" = yes; then
2679 echo "$ac_t""yes" 1>&6
2681 echo "$ac_t""no" 1>&6
2685 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2686 echo "configure:2687: checking for --enable-no_exceptions" >&5
2688 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2689 if test "${enable_no_exceptions+set}" = set; then
2690 enableval
="$enable_no_exceptions"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2695 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2700 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2712 eval "$ac_cv_use_no_exceptions"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2717 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2718 echo "$ac_t""yes" 1>&6
2720 echo "$ac_t""no" 1>&6
2724 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2725 echo "configure:2726: checking for --enable-permissive" >&5
2727 # Check whether --enable-permissive or --disable-permissive was given.
2728 if test "${enable_permissive+set}" = set; then
2729 enableval
="$enable_permissive"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2734 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2739 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x
; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2751 eval "$ac_cv_use_permissive"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_PERMISSIVE" = yes; then
2757 echo "$ac_t""yes" 1>&6
2759 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2764 echo "configure:2765: checking for --enable-no_deps" >&5
2766 # Check whether --enable-no_deps or --disable-no_deps was given.
2767 if test "${enable_no_deps+set}" = set; then
2768 enableval
="$enable_no_deps"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2773 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2778 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x
; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2790 eval "$ac_cv_use_no_deps"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2795 if test "$wxUSE_NO_DEPS" = yes; then
2796 echo "$ac_t""yes" 1>&6
2798 echo "$ac_t""no" 1>&6
2803 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2804 echo "configure:2805: checking for --enable-compat20" >&5
2806 # Check whether --enable-compat20 or --disable-compat20 was given.
2807 if test "${enable_compat20+set}" = set; then
2808 enableval
="$enable_compat20"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2813 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2818 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x
; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2830 eval "$ac_cv_use_compat20"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2835 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2836 echo "$ac_t""yes" 1>&6
2838 echo "$ac_t""no" 1>&6
2842 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2843 echo "configure:2844: checking for --enable-compat22" >&5
2845 # Check whether --enable-compat22 or --disable-compat22 was given.
2846 if test "${enable_compat22+set}" = set; then
2847 enableval
="$enable_compat22"
2849 if test "$enableval" = yes; then
2850 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2852 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2857 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2869 eval "$ac_cv_use_compat22"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2874 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2875 echo "$ac_t""yes" 1>&6
2877 echo "$ac_t""no" 1>&6
2883 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2884 echo "configure:2885: checking for --enable-intl" >&5
2886 # Check whether --enable-intl or --disable-intl was given.
2887 if test "${enable_intl+set}" = set; then
2888 enableval
="$enable_intl"
2890 if test "$enableval" = yes; then
2891 ac_cv_use_intl
='wxUSE_INTL=yes'
2893 ac_cv_use_intl
='wxUSE_INTL=no'
2898 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x
; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2910 eval "$ac_cv_use_intl"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2915 if test "$wxUSE_INTL" = yes; then
2916 echo "$ac_t""yes" 1>&6
2918 echo "$ac_t""no" 1>&6
2922 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2923 echo "configure:2924: checking for --enable-config" >&5
2925 # Check whether --enable-config or --disable-config was given.
2926 if test "${enable_config+set}" = set; then
2927 enableval
="$enable_config"
2929 if test "$enableval" = yes; then
2930 ac_cv_use_config
='wxUSE_CONFIG=yes'
2932 ac_cv_use_config
='wxUSE_CONFIG=no'
2937 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2938 if test "x$LINE" != x
; then
2939 eval "DEFAULT_$LINE"
2944 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2949 eval "$ac_cv_use_config"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2954 if test "$wxUSE_CONFIG" = yes; then
2955 echo "$ac_t""yes" 1>&6
2957 echo "$ac_t""no" 1>&6
2962 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2963 echo "configure:2964: checking for --enable-sockets" >&5
2965 # Check whether --enable-sockets or --disable-sockets was given.
2966 if test "${enable_sockets+set}" = set; then
2967 enableval
="$enable_sockets"
2969 if test "$enableval" = yes; then
2970 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2972 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2977 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x
; then
2979 eval "DEFAULT_$LINE"
2984 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2989 eval "$ac_cv_use_sockets"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_SOCKETS" = yes; then
2995 echo "$ac_t""yes" 1>&6
2997 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-ipc" >&5
3005 # Check whether --enable-ipc or --disable-ipc was given.
3006 if test "${enable_ipc+set}" = set; then
3007 enableval
="$enable_ipc"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_ipc
='wxUSE_IPC=yes'
3012 ac_cv_use_ipc
='wxUSE_IPC=no'
3017 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3029 eval "$ac_cv_use_ipc"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_IPC" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3042 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3043 echo "configure:3044: checking for --enable-cmdline" >&5
3045 # Check whether --enable-cmdline or --disable-cmdline was given.
3046 if test "${enable_cmdline+set}" = set; then
3047 enableval
="$enable_cmdline"
3049 if test "$enableval" = yes; then
3050 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3052 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3057 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3069 eval "$ac_cv_use_cmdline"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3075 echo "$ac_t""yes" 1>&6
3077 echo "$ac_t""no" 1>&6
3081 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3082 echo "configure:3083: checking for --enable-datetime" >&5
3084 # Check whether --enable-datetime or --disable-datetime was given.
3085 if test "${enable_datetime+set}" = set; then
3086 enableval
="$enable_datetime"
3088 if test "$enableval" = yes; then
3089 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3091 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3096 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3108 eval "$ac_cv_use_datetime"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_DATETIME" = yes; then
3114 echo "$ac_t""yes" 1>&6
3116 echo "$ac_t""no" 1>&6
3120 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3121 echo "configure:3122: checking for --enable-timedate" >&5
3123 # Check whether --enable-timedate or --disable-timedate was given.
3124 if test "${enable_timedate+set}" = set; then
3125 enableval
="$enable_timedate"
3127 if test "$enableval" = yes; then
3128 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3130 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3135 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3136 if test "x$LINE" != x
; then
3137 eval "DEFAULT_$LINE"
3142 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3147 eval "$ac_cv_use_timedate"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_TIMEDATE" = yes; then
3153 echo "$ac_t""yes" 1>&6
3155 echo "$ac_t""no" 1>&6
3159 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3160 echo "configure:3161: checking for --enable-stopwatch" >&5
3162 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3163 if test "${enable_stopwatch+set}" = set; then
3164 enableval
="$enable_stopwatch"
3166 if test "$enableval" = yes; then
3167 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3169 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3174 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3181 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3186 eval "$ac_cv_use_stopwatch"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_STOPWATCH" = yes; then
3192 echo "$ac_t""yes" 1>&6
3194 echo "$ac_t""no" 1>&6
3198 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3199 echo "configure:3200: checking for --enable-dialupman" >&5
3201 # Check whether --enable-dialupman or --disable-dialupman was given.
3202 if test "${enable_dialupman+set}" = set; then
3203 enableval
="$enable_dialupman"
3205 if test "$enableval" = yes; then
3206 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3208 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3213 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3225 eval "$ac_cv_use_dialupman"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3230 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3231 echo "$ac_t""yes" 1>&6
3233 echo "$ac_t""no" 1>&6
3237 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3238 echo "configure:3239: checking for --enable-apple_ieee" >&5
3240 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3241 if test "${enable_apple_ieee+set}" = set; then
3242 enableval
="$enable_apple_ieee"
3244 if test "$enableval" = yes; then
3245 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3247 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3252 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x
; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3264 eval "$ac_cv_use_apple_ieee"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_APPLE_IEEE" = yes; then
3270 echo "$ac_t""yes" 1>&6
3272 echo "$ac_t""no" 1>&6
3276 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3277 echo "configure:3278: checking for --enable-timer" >&5
3279 # Check whether --enable-timer or --disable-timer was given.
3280 if test "${enable_timer+set}" = set; then
3281 enableval
="$enable_timer"
3283 if test "$enableval" = yes; then
3284 ac_cv_use_timer
='wxUSE_TIMER=yes'
3286 ac_cv_use_timer
='wxUSE_TIMER=no'
3291 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3303 eval "$ac_cv_use_timer"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3308 if test "$wxUSE_TIMER" = yes; then
3309 echo "$ac_t""yes" 1>&6
3311 echo "$ac_t""no" 1>&6
3315 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3316 echo "configure:3317: checking for --enable-wave" >&5
3318 # Check whether --enable-wave or --disable-wave was given.
3319 if test "${enable_wave+set}" = set; then
3320 enableval
="$enable_wave"
3322 if test "$enableval" = yes; then
3323 ac_cv_use_wave
='wxUSE_WAVE=yes'
3325 ac_cv_use_wave
='wxUSE_WAVE=no'
3330 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x
; then
3332 eval "DEFAULT_$LINE"
3337 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3342 eval "$ac_cv_use_wave"
3343 if test "$no_cache" != 1; then
3344 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3347 if test "$wxUSE_WAVE" = yes; then
3348 echo "$ac_t""yes" 1>&6
3350 echo "$ac_t""no" 1>&6
3354 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3355 echo "configure:3356: checking for --enable-fraction" >&5
3357 # Check whether --enable-fraction or --disable-fraction was given.
3358 if test "${enable_fraction+set}" = set; then
3359 enableval
="$enable_fraction"
3361 if test "$enableval" = yes; then
3362 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3364 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3369 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3381 eval "$ac_cv_use_fraction"
3382 if test "$no_cache" != 1; then
3383 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3386 if test "$wxUSE_FRACTION" = yes; then
3387 echo "$ac_t""yes" 1>&6
3389 echo "$ac_t""no" 1>&6
3393 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3394 echo "configure:3395: checking for --enable-dynlib" >&5
3396 # Check whether --enable-dynlib or --disable-dynlib was given.
3397 if test "${enable_dynlib+set}" = set; then
3398 enableval
="$enable_dynlib"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3403 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3408 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3420 eval "$ac_cv_use_dynlib"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3426 echo "$ac_t""yes" 1>&6
3428 echo "$ac_t""no" 1>&6
3432 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3433 echo "configure:3434: checking for --enable-longlong" >&5
3435 # Check whether --enable-longlong or --disable-longlong was given.
3436 if test "${enable_longlong+set}" = set; then
3437 enableval
="$enable_longlong"
3439 if test "$enableval" = yes; then
3440 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3442 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3447 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x
; then
3449 eval "DEFAULT_$LINE"
3454 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3459 eval "$ac_cv_use_longlong"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_LONGLONG" = yes; then
3465 echo "$ac_t""yes" 1>&6
3467 echo "$ac_t""no" 1>&6
3471 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3472 echo "configure:3473: checking for --enable-geometry" >&5
3474 # Check whether --enable-geometry or --disable-geometry was given.
3475 if test "${enable_geometry+set}" = set; then
3476 enableval
="$enable_geometry"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3481 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3486 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3498 eval "$ac_cv_use_geometry"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_GEOMETRY" = yes; then
3504 echo "$ac_t""yes" 1>&6
3506 echo "$ac_t""no" 1>&6
3510 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3511 echo "configure:3512: checking for --enable-log" >&5
3513 # Check whether --enable-log or --disable-log was given.
3514 if test "${enable_log+set}" = set; then
3515 enableval
="$enable_log"
3517 if test "$enableval" = yes; then
3518 ac_cv_use_log
='wxUSE_LOG=yes'
3520 ac_cv_use_log
='wxUSE_LOG=no'
3525 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x
; then
3527 eval "DEFAULT_$LINE"
3532 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3537 eval "$ac_cv_use_log"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_LOG" = yes; then
3543 echo "$ac_t""yes" 1>&6
3545 echo "$ac_t""no" 1>&6
3549 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3550 echo "configure:3551: checking for --enable-streams" >&5
3552 # Check whether --enable-streams or --disable-streams was given.
3553 if test "${enable_streams+set}" = set; then
3554 enableval
="$enable_streams"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3559 ac_cv_use_streams
='wxUSE_STREAMS=no'
3564 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3576 eval "$ac_cv_use_streams"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_STREAMS" = yes; then
3582 echo "$ac_t""yes" 1>&6
3584 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3589 echo "configure:3590: checking for --enable-file" >&5
3591 # Check whether --enable-file or --disable-file was given.
3592 if test "${enable_file+set}" = set; then
3593 enableval
="$enable_file"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_file
='wxUSE_FILE=yes'
3598 ac_cv_use_file
='wxUSE_FILE=no'
3603 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3615 eval "$ac_cv_use_file"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_FILE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3628 echo "configure:3629: checking for --enable-ffile" >&5
3630 # Check whether --enable-ffile or --disable-ffile was given.
3631 if test "${enable_ffile+set}" = set; then
3632 enableval
="$enable_ffile"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3637 ac_cv_use_ffile
='wxUSE_FFILE=no'
3642 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3654 eval "$ac_cv_use_ffile"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_FFILE" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3666 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3667 echo "configure:3668: checking for --enable-textfile" >&5
3669 # Check whether --enable-textfile or --disable-textfile was given.
3670 if test "${enable_textfile+set}" = set; then
3671 enableval
="$enable_textfile"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3676 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3681 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3693 eval "$ac_cv_use_textfile"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_TEXTFILE" = yes; then
3699 echo "$ac_t""yes" 1>&6
3701 echo "$ac_t""no" 1>&6
3705 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3706 echo "configure:3707: checking for --enable-fontmap" >&5
3708 # Check whether --enable-fontmap or --disable-fontmap was given.
3709 if test "${enable_fontmap+set}" = set; then
3710 enableval
="$enable_fontmap"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3715 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3720 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3732 eval "$ac_cv_use_fontmap"
3733 if test "$no_cache" != 1; then
3734 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3737 if test "$wxUSE_FONTMAP" = yes; then
3738 echo "$ac_t""yes" 1>&6
3740 echo "$ac_t""no" 1>&6
3744 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3745 echo "configure:3746: checking for --enable-unicode" >&5
3747 # Check whether --enable-unicode or --disable-unicode was given.
3748 if test "${enable_unicode+set}" = set; then
3749 enableval
="$enable_unicode"
3751 if test "$enableval" = yes; then
3752 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3754 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3759 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x
; then
3761 eval "DEFAULT_$LINE"
3766 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3771 eval "$ac_cv_use_unicode"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_UNICODE" = yes; then
3777 echo "$ac_t""yes" 1>&6
3779 echo "$ac_t""no" 1>&6
3783 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3784 echo "configure:3785: checking for --enable-wxprintfv" >&5
3786 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3787 if test "${enable_wxprintfv+set}" = set; then
3788 enableval
="$enable_wxprintfv"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3793 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3798 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x
; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3810 eval "$ac_cv_use_wxprintfv"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3815 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3816 echo "$ac_t""yes" 1>&6
3818 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3823 echo "configure:3824: checking for --enable-std_iostreams" >&5
3825 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3826 if test "${enable_std_iostreams+set}" = set; then
3827 enableval
="$enable_std_iostreams"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3832 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3837 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3849 eval "$ac_cv_use_std_iostreams"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_STD_IOSTREAM" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3861 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3862 echo "configure:3863: checking for --enable-filesystem" >&5
3864 # Check whether --enable-filesystem or --disable-filesystem was given.
3865 if test "${enable_filesystem+set}" = set; then
3866 enableval
="$enable_filesystem"
3868 if test "$enableval" = yes; then
3869 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3871 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3876 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x
; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3888 eval "$ac_cv_use_filesystem"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_FILESYSTEM" = yes; then
3894 echo "$ac_t""yes" 1>&6
3896 echo "$ac_t""no" 1>&6
3900 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3901 echo "configure:3902: checking for --enable-fs_inet" >&5
3903 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3904 if test "${enable_fs_inet+set}" = set; then
3905 enableval
="$enable_fs_inet"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3910 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3915 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3927 eval "$ac_cv_use_fs_inet"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_FS_INET" = yes; then
3933 echo "$ac_t""yes" 1>&6
3935 echo "$ac_t""no" 1>&6
3939 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3940 echo "configure:3941: checking for --enable-fs_zip" >&5
3942 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3943 if test "${enable_fs_zip+set}" = set; then
3944 enableval
="$enable_fs_zip"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3949 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3954 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3966 eval "$ac_cv_use_fs_zip"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_FS_ZIP" = yes; then
3972 echo "$ac_t""yes" 1>&6
3974 echo "$ac_t""no" 1>&6
3978 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3979 echo "configure:3980: checking for --enable-zipstream" >&5
3981 # Check whether --enable-zipstream or --disable-zipstream was given.
3982 if test "${enable_zipstream+set}" = set; then
3983 enableval
="$enable_zipstream"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3988 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3993 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4005 eval "$ac_cv_use_zipstream"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_ZIPSTREAM" = yes; then
4011 echo "$ac_t""yes" 1>&6
4013 echo "$ac_t""no" 1>&6
4018 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4019 echo "configure:4020: checking for --enable-catch_segvs" >&5
4021 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4022 if test "${enable_catch_segvs+set}" = set; then
4023 enableval
="$enable_catch_segvs"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4028 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4033 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4045 eval "$ac_cv_use_catch_segvs"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4051 echo "$ac_t""yes" 1>&6
4053 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4058 echo "configure:4059: checking for --enable-snglinst" >&5
4060 # Check whether --enable-snglinst or --disable-snglinst was given.
4061 if test "${enable_snglinst+set}" = set; then
4062 enableval
="$enable_snglinst"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4067 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4072 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4084 eval "$ac_cv_use_snglinst"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4097 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4098 echo "configure:4099: checking for --enable-mimetype" >&5
4100 # Check whether --enable-mimetype or --disable-mimetype was given.
4101 if test "${enable_mimetype+set}" = set; then
4102 enableval
="$enable_mimetype"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4107 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4112 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4124 eval "$ac_cv_use_mimetype"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_MIMETYPE" = yes; then
4130 echo "$ac_t""yes" 1>&6
4132 echo "$ac_t""no" 1>&6
4136 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4137 echo "configure:4138: checking for --enable-system_options" >&5
4139 # Check whether --enable-system_options or --disable-system_options was given.
4140 if test "${enable_system_options+set}" = set; then
4141 enableval
="$enable_system_options"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4146 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4151 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4163 eval "$ac_cv_use_system_options"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4169 echo "$ac_t""yes" 1>&6
4171 echo "$ac_t""no" 1>&6
4177 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4178 echo "configure:4179: checking for --enable-threads" >&5
4180 # Check whether --enable-threads or --disable-threads was given.
4181 if test "${enable_threads+set}" = set; then
4182 enableval
="$enable_threads"
4184 if test "$enableval" = yes; then
4185 ac_cv_use_threads
='wxUSE_THREADS=yes'
4187 ac_cv_use_threads
='wxUSE_THREADS=no'
4192 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4193 if test "x$LINE" != x
; then
4194 eval "DEFAULT_$LINE"
4199 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4204 eval "$ac_cv_use_threads"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_THREADS" = yes; then
4210 echo "$ac_t""yes" 1>&6
4212 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --enable-serial" >&5
4219 # Check whether --enable-serial or --disable-serial was given.
4220 if test "${enable_serial+set}" = set; then
4221 enableval
="$enable_serial"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4226 ac_cv_use_serial
='wxUSE_SERIAL=no'
4231 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4243 eval "$ac_cv_use_serial"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_SERIAL" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4255 if test "$wxUSE_GUI" = "yes"; then
4259 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4260 echo "configure:4261: checking for --enable-docview" >&5
4262 # Check whether --enable-docview or --disable-docview was given.
4263 if test "${enable_docview+set}" = set; then
4264 enableval
="$enable_docview"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4269 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4274 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x
; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4286 eval "$ac_cv_use_docview"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4292 echo "$ac_t""yes" 1>&6
4294 echo "$ac_t""no" 1>&6
4298 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4299 echo "configure:4300: checking for --enable-help" >&5
4301 # Check whether --enable-help or --disable-help was given.
4302 if test "${enable_help+set}" = set; then
4303 enableval
="$enable_help"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_help
='wxUSE_HELP=yes'
4308 ac_cv_use_help
='wxUSE_HELP=no'
4313 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4325 eval "$ac_cv_use_help"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_HELP" = yes; then
4331 echo "$ac_t""yes" 1>&6
4333 echo "$ac_t""no" 1>&6
4337 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4338 echo "configure:4339: checking for --enable-mshtmlhelp" >&5
4340 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4341 if test "${enable_mshtmlhelp+set}" = set; then
4342 enableval
="$enable_mshtmlhelp"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4347 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4352 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4364 eval "$ac_cv_use_mshtmlhelp"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4369 if test "$wxUSE_MS_HTML_HELP" = yes; then
4370 echo "$ac_t""yes" 1>&6
4372 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4377 echo "configure:4378: checking for --enable-html" >&5
4379 # Check whether --enable-html or --disable-html was given.
4380 if test "${enable_html+set}" = set; then
4381 enableval
="$enable_html"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_html
='wxUSE_HTML=yes'
4386 ac_cv_use_html
='wxUSE_HTML=no'
4391 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4403 eval "$ac_cv_use_html"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4408 if test "$wxUSE_HTML" = yes; then
4409 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4415 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4416 echo "configure:4417: checking for --enable-htmlhelp" >&5
4418 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4419 if test "${enable_htmlhelp+set}" = set; then
4420 enableval
="$enable_htmlhelp"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4425 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4430 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4442 eval "$ac_cv_use_htmlhelp"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_WXHTML_HELP" = yes; then
4448 echo "$ac_t""yes" 1>&6
4450 echo "$ac_t""no" 1>&6
4454 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4455 echo "configure:4456: checking for --enable-constraints" >&5
4457 # Check whether --enable-constraints or --disable-constraints was given.
4458 if test "${enable_constraints+set}" = set; then
4459 enableval
="$enable_constraints"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4464 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4469 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4481 eval "$ac_cv_use_constraints"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_CONSTRAINTS" = yes; then
4487 echo "$ac_t""yes" 1>&6
4489 echo "$ac_t""no" 1>&6
4493 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4494 echo "configure:4495: checking for --enable-printarch" >&5
4496 # Check whether --enable-printarch or --disable-printarch was given.
4497 if test "${enable_printarch+set}" = set; then
4498 enableval
="$enable_printarch"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4503 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4508 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4520 eval "$ac_cv_use_printarch"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4532 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4533 echo "configure:4534: checking for --enable-mdi" >&5
4535 # Check whether --enable-mdi or --disable-mdi was given.
4536 if test "${enable_mdi+set}" = set; then
4537 enableval
="$enable_mdi"
4539 if test "$enableval" = yes; then
4540 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4542 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4547 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x
; then
4549 eval "DEFAULT_$LINE"
4554 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4559 eval "$ac_cv_use_mdi"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4565 echo "$ac_t""yes" 1>&6
4567 echo "$ac_t""no" 1>&6
4571 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4572 echo "configure:4573: checking for --enable-loggui" >&5
4574 # Check whether --enable-loggui or --disable-loggui was given.
4575 if test "${enable_loggui+set}" = set; then
4576 enableval
="$enable_loggui"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4581 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4586 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4598 eval "$ac_cv_use_loggui"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_LOGGUI" = yes; then
4604 echo "$ac_t""yes" 1>&6
4606 echo "$ac_t""no" 1>&6
4610 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4611 echo "configure:4612: checking for --enable-logwin" >&5
4613 # Check whether --enable-logwin or --disable-logwin was given.
4614 if test "${enable_logwin+set}" = set; then
4615 enableval
="$enable_logwin"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4620 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4625 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4637 eval "$ac_cv_use_logwin"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_LOGWINDOW" = yes; then
4643 echo "$ac_t""yes" 1>&6
4645 echo "$ac_t""no" 1>&6
4650 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4651 echo "configure:4652: checking for --enable-postscript" >&5
4653 # Check whether --enable-postscript or --disable-postscript was given.
4654 if test "${enable_postscript+set}" = set; then
4655 enableval
="$enable_postscript"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4660 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4665 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4677 eval "$ac_cv_use_postscript"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_POSTSCRIPT" = yes; then
4683 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4693 echo "configure:4694: checking for --enable-prologio" >&5
4695 # Check whether --enable-prologio or --disable-prologio was given.
4696 if test "${enable_prologio+set}" = set; then
4697 enableval
="$enable_prologio"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4702 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4707 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4719 eval "$ac_cv_use_prologio"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_PROLOGIO" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --enable-resources" >&5
4734 # Check whether --enable-resources or --disable-resources was given.
4735 if test "${enable_resources+set}" = set; then
4736 enableval
="$enable_resources"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4741 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4746 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4758 eval "$ac_cv_use_resources"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_RESOURCES" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4771 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4772 echo "configure:4773: checking for --enable-xresources" >&5
4774 # Check whether --enable-xresources or --disable-xresources was given.
4775 if test "${enable_xresources+set}" = set; then
4776 enableval
="$enable_xresources"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4781 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4786 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4798 eval "$ac_cv_use_xresources"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_X_RESOURCES" = yes; then
4804 echo "$ac_t""yes" 1>&6
4806 echo "$ac_t""no" 1>&6
4812 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4813 echo "configure:4814: checking for --enable-clipboard" >&5
4815 # Check whether --enable-clipboard or --disable-clipboard was given.
4816 if test "${enable_clipboard+set}" = set; then
4817 enableval
="$enable_clipboard"
4819 if test "$enableval" = yes; then
4820 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4822 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4827 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x
; then
4829 eval "DEFAULT_$LINE"
4834 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4839 eval "$ac_cv_use_clipboard"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_CLIPBOARD" = yes; then
4845 echo "$ac_t""yes" 1>&6
4847 echo "$ac_t""no" 1>&6
4851 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4852 echo "configure:4853: checking for --enable-dnd" >&5
4854 # Check whether --enable-dnd or --disable-dnd was given.
4855 if test "${enable_dnd+set}" = set; then
4856 enableval
="$enable_dnd"
4858 if test "$enableval" = yes; then
4859 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4861 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4866 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4867 if test "x$LINE" != x
; then
4868 eval "DEFAULT_$LINE"
4873 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4878 eval "$ac_cv_use_dnd"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4883 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4884 echo "$ac_t""yes" 1>&6
4886 echo "$ac_t""no" 1>&6
4890 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4891 echo "configure:4892: checking for --enable-metafile" >&5
4893 # Check whether --enable-metafile or --disable-metafile was given.
4894 if test "${enable_metafile+set}" = set; then
4895 enableval
="$enable_metafile"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4900 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4905 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x
; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4917 eval "$ac_cv_use_metafile"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_METAFILE" = yes; then
4923 echo "$ac_t""yes" 1>&6
4925 echo "$ac_t""no" 1>&6
4930 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4931 echo "configure:4932: checking for --enable-treelayout" >&5
4933 # Check whether --enable-treelayout or --disable-treelayout was given.
4934 if test "${enable_treelayout+set}" = set; then
4935 enableval
="$enable_treelayout"
4937 if test "$enableval" = yes; then
4938 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4940 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4945 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x
; then
4947 eval "DEFAULT_$LINE"
4952 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4957 eval "$ac_cv_use_treelayout"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_TREELAYOUT" = yes; then
4963 echo "$ac_t""yes" 1>&6
4965 echo "$ac_t""no" 1>&6
4971 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4972 echo "configure:4973: checking for --enable-controls" >&5
4974 # Check whether --enable-controls or --disable-controls was given.
4975 if test "${enable_controls+set}" = set; then
4976 enableval
="$enable_controls"
4978 if test "$enableval" = yes; then
4979 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4981 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4986 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x
; then
4988 eval "DEFAULT_$LINE"
4993 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4998 eval "$ac_cv_use_controls"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_CONTROLS" = yes; then
5004 echo "$ac_t""yes" 1>&6
5006 echo "$ac_t""no" 1>&6
5010 if test "$wxUSE_CONTROLS" = "yes"; then
5011 DEFAULT_wxUSE_ACCEL
=yes
5012 DEFAULT_wxUSE_BMPBUTTON
=yes
5013 DEFAULT_wxUSE_BUTTON
=yes
5014 DEFAULT_wxUSE_CALCTRL
=no
5015 DEFAULT_wxUSE_CARET
=yes
5016 DEFAULT_wxUSE_COMBOBOX
=yes
5017 DEFAULT_wxUSE_CHECKBOX
=yes
5018 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5019 DEFAULT_wxUSE_CHOICE
=yes
5020 DEFAULT_wxUSE_GAUGE
=yes
5021 DEFAULT_wxUSE_GRID
=yes
5022 DEFAULT_wxUSE_NEW_GRID
=yes
5023 DEFAULT_wxUSE_IMAGLIST
=yes
5024 DEFAULT_wxUSE_LISTBOX
=yes
5025 DEFAULT_wxUSE_LISTCTRL
=yes
5026 DEFAULT_wxUSE_NOTEBOOK
=yes
5027 DEFAULT_wxUSE_PROPSHEET
=yes
5028 DEFAULT_wxUSE_RADIOBOX
=yes
5029 DEFAULT_wxUSE_RADIOBTN
=yes
5030 DEFAULT_wxUSE_SASH
=yes
5031 DEFAULT_wxUSE_SCROLLBAR
=yes
5032 DEFAULT_wxUSE_SLIDER
=yes
5033 DEFAULT_wxUSE_SPINBTN
=yes
5034 DEFAULT_wxUSE_SPINCTRL
=yes
5035 DEFAULT_wxUSE_SPLITTER
=yes
5036 DEFAULT_wxUSE_STATBMP
=yes
5037 DEFAULT_wxUSE_STATBOX
=yes
5038 DEFAULT_wxUSE_STATLINE
=yes
5039 DEFAULT_wxUSE_STATUSBAR
=yes
5040 DEFAULT_wxUSE_TAB_DIALOG
=yes
5041 DEFAULT_wxUSE_TOGGLEBTN
=yes
5042 DEFAULT_wxUSE_TOOLBAR
=yes
5043 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5044 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5045 DEFAULT_wxUSE_TOOLTIPS
=yes
5046 DEFAULT_wxUSE_TREECTRL
=yes
5047 DEFAULT_wxUSE_POPUPWIN
=yes
5048 elif test "$wxUSE_CONTROLS" = "no"; then
5049 DEFAULT_wxUSE_ACCEL
=no
5050 DEFAULT_wxUSE_BMPBUTTON
=no
5051 DEFAULT_wxUSE_BUTTON
=no
5052 DEFAULT_wxUSE_CALCTRL
=no
5053 DEFAULT_wxUSE_CARET
=no
5054 DEFAULT_wxUSE_COMBOBOX
=no
5055 DEFAULT_wxUSE_CHECKBOX
=no
5056 DEFAULT_wxUSE_CHECKLISTBOX
=no
5057 DEFAULT_wxUSE_CHOICE
=no
5058 DEFAULT_wxUSE_GAUGE
=no
5059 DEFAULT_wxUSE_GRID
=no
5060 DEFAULT_wxUSE_NEW_GRID
=no
5061 DEFAULT_wxUSE_IMAGLIST
=no
5062 DEFAULT_wxUSE_LISTBOX
=no
5063 DEFAULT_wxUSE_LISTCTRL
=no
5064 DEFAULT_wxUSE_NOTEBOOK
=no
5065 DEFAULT_wxUSE_PROPSHEET
=no
5066 DEFAULT_wxUSE_RADIOBOX
=no
5067 DEFAULT_wxUSE_RADIOBTN
=no
5068 DEFAULT_wxUSE_SASH
=no
5069 DEFAULT_wxUSE_SCROLLBAR
=no
5070 DEFAULT_wxUSE_SLIDER
=no
5071 DEFAULT_wxUSE_SPINBTN
=no
5072 DEFAULT_wxUSE_SPINCTRL
=no
5073 DEFAULT_wxUSE_SPLITTER
=no
5074 DEFAULT_wxUSE_STATBMP
=no
5075 DEFAULT_wxUSE_STATBOX
=no
5076 DEFAULT_wxUSE_STATLINE
=no
5077 DEFAULT_wxUSE_STATUSBAR
=no
5078 DEFAULT_wxUSE_TAB_DIALOG
=no
5079 DEFAULT_wxUSE_TOGGLEBTN
=no
5080 DEFAULT_wxUSE_TOOLBAR
=no
5081 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5082 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5083 DEFAULT_wxUSE_TOOLTIPS
=no
5084 DEFAULT_wxUSE_TREECTRL
=no
5085 DEFAULT_wxUSE_POPUPWIN
=no
5089 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5090 echo "configure:5091: checking for --enable-accel" >&5
5092 # Check whether --enable-accel or --disable-accel was given.
5093 if test "${enable_accel+set}" = set; then
5094 enableval
="$enable_accel"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5099 ac_cv_use_accel
='wxUSE_ACCEL=no'
5104 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5116 eval "$ac_cv_use_accel"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5121 if test "$wxUSE_ACCEL" = yes; then
5122 echo "$ac_t""yes" 1>&6
5124 echo "$ac_t""no" 1>&6
5128 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5129 echo "configure:5130: checking for --enable-button" >&5
5131 # Check whether --enable-button or --disable-button was given.
5132 if test "${enable_button+set}" = set; then
5133 enableval
="$enable_button"
5135 if test "$enableval" = yes; then
5136 ac_cv_use_button
='wxUSE_BUTTON=yes'
5138 ac_cv_use_button
='wxUSE_BUTTON=no'
5143 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x
; then
5145 eval "DEFAULT_$LINE"
5150 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5155 eval "$ac_cv_use_button"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_BUTTON" = yes; then
5161 echo "$ac_t""yes" 1>&6
5163 echo "$ac_t""no" 1>&6
5167 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5168 echo "configure:5169: checking for --enable-bmpbutton" >&5
5170 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5171 if test "${enable_bmpbutton+set}" = set; then
5172 enableval
="$enable_bmpbutton"
5174 if test "$enableval" = yes; then
5175 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5177 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5182 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5183 if test "x$LINE" != x
; then
5184 eval "DEFAULT_$LINE"
5189 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5194 eval "$ac_cv_use_bmpbutton"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_BMPBUTTON" = yes; then
5200 echo "$ac_t""yes" 1>&6
5202 echo "$ac_t""no" 1>&6
5206 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5207 echo "configure:5208: checking for --enable-calendar" >&5
5209 # Check whether --enable-calendar or --disable-calendar was given.
5210 if test "${enable_calendar+set}" = set; then
5211 enableval
="$enable_calendar"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5216 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5221 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5233 eval "$ac_cv_use_calendar"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5238 if test "$wxUSE_CALCTRL" = yes; then
5239 echo "$ac_t""yes" 1>&6
5241 echo "$ac_t""no" 1>&6
5245 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5246 echo "configure:5247: checking for --enable-caret" >&5
5248 # Check whether --enable-caret or --disable-caret was given.
5249 if test "${enable_caret+set}" = set; then
5250 enableval
="$enable_caret"
5252 if test "$enableval" = yes; then
5253 ac_cv_use_caret
='wxUSE_CARET=yes'
5255 ac_cv_use_caret
='wxUSE_CARET=no'
5260 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5261 if test "x$LINE" != x
; then
5262 eval "DEFAULT_$LINE"
5267 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5272 eval "$ac_cv_use_caret"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5277 if test "$wxUSE_CARET" = yes; then
5278 echo "$ac_t""yes" 1>&6
5280 echo "$ac_t""no" 1>&6
5284 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5285 echo "configure:5286: checking for --enable-checkbox" >&5
5287 # Check whether --enable-checkbox or --disable-checkbox was given.
5288 if test "${enable_checkbox+set}" = set; then
5289 enableval
="$enable_checkbox"
5291 if test "$enableval" = yes; then
5292 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5294 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5299 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x
; then
5301 eval "DEFAULT_$LINE"
5306 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5311 eval "$ac_cv_use_checkbox"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_CHECKBOX" = yes; then
5317 echo "$ac_t""yes" 1>&6
5319 echo "$ac_t""no" 1>&6
5323 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5324 echo "configure:5325: checking for --enable-checklst" >&5
5326 # Check whether --enable-checklst or --disable-checklst was given.
5327 if test "${enable_checklst+set}" = set; then
5328 enableval
="$enable_checklst"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5333 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5338 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5350 eval "$ac_cv_use_checklst"
5351 if test "$no_cache" != 1; then
5352 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5355 if test "$wxUSE_CHECKLST" = yes; then
5356 echo "$ac_t""yes" 1>&6
5358 echo "$ac_t""no" 1>&6
5362 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5363 echo "configure:5364: checking for --enable-choice" >&5
5365 # Check whether --enable-choice or --disable-choice was given.
5366 if test "${enable_choice+set}" = set; then
5367 enableval
="$enable_choice"
5369 if test "$enableval" = yes; then
5370 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5372 ac_cv_use_choice
='wxUSE_CHOICE=no'
5377 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x
; then
5379 eval "DEFAULT_$LINE"
5384 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5389 eval "$ac_cv_use_choice"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5394 if test "$wxUSE_CHOICE" = yes; then
5395 echo "$ac_t""yes" 1>&6
5397 echo "$ac_t""no" 1>&6
5401 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5402 echo "configure:5403: checking for --enable-combobox" >&5
5404 # Check whether --enable-combobox or --disable-combobox was given.
5405 if test "${enable_combobox+set}" = set; then
5406 enableval
="$enable_combobox"
5408 if test "$enableval" = yes; then
5409 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5411 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5416 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5423 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5428 eval "$ac_cv_use_combobox"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_COMBOBOX" = yes; then
5434 echo "$ac_t""yes" 1>&6
5436 echo "$ac_t""no" 1>&6
5440 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5441 echo "configure:5442: checking for --enable-gauge" >&5
5443 # Check whether --enable-gauge or --disable-gauge was given.
5444 if test "${enable_gauge+set}" = set; then
5445 enableval
="$enable_gauge"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5450 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5455 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5467 eval "$ac_cv_use_gauge"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_GAUGE" = yes; then
5473 echo "$ac_t""yes" 1>&6
5475 echo "$ac_t""no" 1>&6
5479 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5480 echo "configure:5481: checking for --enable-grid" >&5
5482 # Check whether --enable-grid or --disable-grid was given.
5483 if test "${enable_grid+set}" = set; then
5484 enableval
="$enable_grid"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_grid
='wxUSE_GRID=yes'
5489 ac_cv_use_grid
='wxUSE_GRID=no'
5494 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5506 eval "$ac_cv_use_grid"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_GRID" = yes; then
5512 echo "$ac_t""yes" 1>&6
5514 echo "$ac_t""no" 1>&6
5518 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5519 echo "configure:5520: checking for --enable-newgrid" >&5
5521 # Check whether --enable-newgrid or --disable-newgrid was given.
5522 if test "${enable_newgrid+set}" = set; then
5523 enableval
="$enable_newgrid"
5525 if test "$enableval" = yes; then
5526 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5528 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5533 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5534 if test "x$LINE" != x
; then
5535 eval "DEFAULT_$LINE"
5540 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5545 eval "$ac_cv_use_newgrid"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5550 if test "$wxUSE_NEW_GRID" = yes; then
5551 echo "$ac_t""yes" 1>&6
5553 echo "$ac_t""no" 1>&6
5557 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5558 echo "configure:5559: checking for --enable-imaglist" >&5
5560 # Check whether --enable-imaglist or --disable-imaglist was given.
5561 if test "${enable_imaglist+set}" = set; then
5562 enableval
="$enable_imaglist"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5567 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5572 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5584 eval "$ac_cv_use_imaglist"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_IMAGLIST" = yes; then
5590 echo "$ac_t""yes" 1>&6
5592 echo "$ac_t""no" 1>&6
5596 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5597 echo "configure:5598: checking for --enable-listbox" >&5
5599 # Check whether --enable-listbox or --disable-listbox was given.
5600 if test "${enable_listbox+set}" = set; then
5601 enableval
="$enable_listbox"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5606 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5611 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5623 eval "$ac_cv_use_listbox"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5628 if test "$wxUSE_LISTBOX" = yes; then
5629 echo "$ac_t""yes" 1>&6
5631 echo "$ac_t""no" 1>&6
5635 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5636 echo "configure:5637: checking for --enable-listctrl" >&5
5638 # Check whether --enable-listctrl or --disable-listctrl was given.
5639 if test "${enable_listctrl+set}" = set; then
5640 enableval
="$enable_listctrl"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5645 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5650 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5662 eval "$ac_cv_use_listctrl"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_LISTCTRL" = yes; then
5668 echo "$ac_t""yes" 1>&6
5670 echo "$ac_t""no" 1>&6
5674 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5675 echo "configure:5676: checking for --enable-notebook" >&5
5677 # Check whether --enable-notebook or --disable-notebook was given.
5678 if test "${enable_notebook+set}" = set; then
5679 enableval
="$enable_notebook"
5681 if test "$enableval" = yes; then
5682 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5684 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5689 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x
; then
5691 eval "DEFAULT_$LINE"
5696 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5701 eval "$ac_cv_use_notebook"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_NOTEBOOK" = yes; then
5707 echo "$ac_t""yes" 1>&6
5709 echo "$ac_t""no" 1>&6
5713 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5714 echo "configure:5715: checking for --enable-propsheet" >&5
5716 # Check whether --enable-propsheet or --disable-propsheet was given.
5717 if test "${enable_propsheet+set}" = set; then
5718 enableval
="$enable_propsheet"
5720 if test "$enableval" = yes; then
5721 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5723 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5728 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x
; then
5730 eval "DEFAULT_$LINE"
5735 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5740 eval "$ac_cv_use_propsheet"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5745 if test "$wxUSE_PROPSHEET" = yes; then
5746 echo "$ac_t""yes" 1>&6
5748 echo "$ac_t""no" 1>&6
5752 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5753 echo "configure:5754: checking for --enable-radiobox" >&5
5755 # Check whether --enable-radiobox or --disable-radiobox was given.
5756 if test "${enable_radiobox+set}" = set; then
5757 enableval
="$enable_radiobox"
5759 if test "$enableval" = yes; then
5760 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5762 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5767 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x
; then
5769 eval "DEFAULT_$LINE"
5774 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5779 eval "$ac_cv_use_radiobox"
5780 if test "$no_cache" != 1; then
5781 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5784 if test "$wxUSE_RADIOBOX" = yes; then
5785 echo "$ac_t""yes" 1>&6
5787 echo "$ac_t""no" 1>&6
5791 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5792 echo "configure:5793: checking for --enable-radiobtn" >&5
5794 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5795 if test "${enable_radiobtn+set}" = set; then
5796 enableval
="$enable_radiobtn"
5798 if test "$enableval" = yes; then
5799 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5801 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5806 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x
; then
5808 eval "DEFAULT_$LINE"
5813 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5818 eval "$ac_cv_use_radiobtn"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5823 if test "$wxUSE_RADIOBTN" = yes; then
5824 echo "$ac_t""yes" 1>&6
5826 echo "$ac_t""no" 1>&6
5830 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5831 echo "configure:5832: checking for --enable-sash" >&5
5833 # Check whether --enable-sash or --disable-sash was given.
5834 if test "${enable_sash+set}" = set; then
5835 enableval
="$enable_sash"
5837 if test "$enableval" = yes; then
5838 ac_cv_use_sash
='wxUSE_SASH=yes'
5840 ac_cv_use_sash
='wxUSE_SASH=no'
5845 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5846 if test "x$LINE" != x
; then
5847 eval "DEFAULT_$LINE"
5852 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5857 eval "$ac_cv_use_sash"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5862 if test "$wxUSE_SASH" = yes; then
5863 echo "$ac_t""yes" 1>&6
5865 echo "$ac_t""no" 1>&6
5869 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5870 echo "configure:5871: checking for --enable-scrollbar" >&5
5872 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5873 if test "${enable_scrollbar+set}" = set; then
5874 enableval
="$enable_scrollbar"
5876 if test "$enableval" = yes; then
5877 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5879 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5884 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x
; then
5886 eval "DEFAULT_$LINE"
5891 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5896 eval "$ac_cv_use_scrollbar"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_SCROLLBAR" = yes; then
5902 echo "$ac_t""yes" 1>&6
5904 echo "$ac_t""no" 1>&6
5908 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5909 echo "configure:5910: checking for --enable-slider" >&5
5911 # Check whether --enable-slider or --disable-slider was given.
5912 if test "${enable_slider+set}" = set; then
5913 enableval
="$enable_slider"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5918 ac_cv_use_slider
='wxUSE_SLIDER=no'
5923 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x
; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5935 eval "$ac_cv_use_slider"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_SLIDER" = yes; then
5941 echo "$ac_t""yes" 1>&6
5943 echo "$ac_t""no" 1>&6
5947 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5948 echo "configure:5949: checking for --enable-spinbtn" >&5
5950 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5951 if test "${enable_spinbtn+set}" = set; then
5952 enableval
="$enable_spinbtn"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5957 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5962 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x
; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5974 eval "$ac_cv_use_spinbtn"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5979 if test "$wxUSE_SPINBTN" = yes; then
5980 echo "$ac_t""yes" 1>&6
5982 echo "$ac_t""no" 1>&6
5986 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5987 echo "configure:5988: checking for --enable-spinctrl" >&5
5989 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5990 if test "${enable_spinctrl+set}" = set; then
5991 enableval
="$enable_spinctrl"
5993 if test "$enableval" = yes; then
5994 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5996 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6001 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x
; then
6003 eval "DEFAULT_$LINE"
6008 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6013 eval "$ac_cv_use_spinctrl"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6018 if test "$wxUSE_SPINCTRL" = yes; then
6019 echo "$ac_t""yes" 1>&6
6021 echo "$ac_t""no" 1>&6
6025 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6026 echo "configure:6027: checking for --enable-splitter" >&5
6028 # Check whether --enable-splitter or --disable-splitter was given.
6029 if test "${enable_splitter+set}" = set; then
6030 enableval
="$enable_splitter"
6032 if test "$enableval" = yes; then
6033 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6035 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6040 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x
; then
6042 eval "DEFAULT_$LINE"
6047 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6052 eval "$ac_cv_use_splitter"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_SPLITTER" = yes; then
6058 echo "$ac_t""yes" 1>&6
6060 echo "$ac_t""no" 1>&6
6064 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6065 echo "configure:6066: checking for --enable-statbmp" >&5
6067 # Check whether --enable-statbmp or --disable-statbmp was given.
6068 if test "${enable_statbmp+set}" = set; then
6069 enableval
="$enable_statbmp"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6074 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6079 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x
; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6091 eval "$ac_cv_use_statbmp"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_STATBMP" = yes; then
6097 echo "$ac_t""yes" 1>&6
6099 echo "$ac_t""no" 1>&6
6103 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6104 echo "configure:6105: checking for --enable-statbox" >&5
6106 # Check whether --enable-statbox or --disable-statbox was given.
6107 if test "${enable_statbox+set}" = set; then
6108 enableval
="$enable_statbox"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6113 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6118 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x
; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6130 eval "$ac_cv_use_statbox"
6131 if test "$no_cache" != 1; then
6132 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6135 if test "$wxUSE_STATBOX" = yes; then
6136 echo "$ac_t""yes" 1>&6
6138 echo "$ac_t""no" 1>&6
6142 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6143 echo "configure:6144: checking for --enable-statline" >&5
6145 # Check whether --enable-statline or --disable-statline was given.
6146 if test "${enable_statline+set}" = set; then
6147 enableval
="$enable_statline"
6149 if test "$enableval" = yes; then
6150 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6152 ac_cv_use_statline
='wxUSE_STATLINE=no'
6157 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x
; then
6159 eval "DEFAULT_$LINE"
6164 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6169 eval "$ac_cv_use_statline"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6174 if test "$wxUSE_STATLINE" = yes; then
6175 echo "$ac_t""yes" 1>&6
6177 echo "$ac_t""no" 1>&6
6181 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6182 echo "configure:6183: checking for --enable-stattext" >&5
6184 # Check whether --enable-stattext or --disable-stattext was given.
6185 if test "${enable_stattext+set}" = set; then
6186 enableval
="$enable_stattext"
6188 if test "$enableval" = yes; then
6189 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6191 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6196 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x
; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6208 eval "$ac_cv_use_stattext"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6213 if test "$wxUSE_STATTEXT" = yes; then
6214 echo "$ac_t""yes" 1>&6
6216 echo "$ac_t""no" 1>&6
6220 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6221 echo "configure:6222: checking for --enable-statusbar" >&5
6223 # Check whether --enable-statusbar or --disable-statusbar was given.
6224 if test "${enable_statusbar+set}" = set; then
6225 enableval
="$enable_statusbar"
6227 if test "$enableval" = yes; then
6228 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6230 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6235 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x
; then
6237 eval "DEFAULT_$LINE"
6242 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6247 eval "$ac_cv_use_statusbar"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6252 if test "$wxUSE_STATUSBAR" = yes; then
6253 echo "$ac_t""yes" 1>&6
6255 echo "$ac_t""no" 1>&6
6259 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6260 echo "configure:6261: checking for --enable-tabdialog" >&5
6262 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6263 if test "${enable_tabdialog+set}" = set; then
6264 enableval
="$enable_tabdialog"
6266 if test "$enableval" = yes; then
6267 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6269 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6274 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6275 if test "x$LINE" != x
; then
6276 eval "DEFAULT_$LINE"
6281 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6286 eval "$ac_cv_use_tabdialog"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_TABDIALOG" = yes; then
6292 echo "$ac_t""yes" 1>&6
6294 echo "$ac_t""no" 1>&6
6298 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6299 echo "configure:6300: checking for --enable-textctrl" >&5
6301 # Check whether --enable-textctrl or --disable-textctrl was given.
6302 if test "${enable_textctrl+set}" = set; then
6303 enableval
="$enable_textctrl"
6305 if test "$enableval" = yes; then
6306 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6308 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6313 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x
; then
6315 eval "DEFAULT_$LINE"
6320 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6325 eval "$ac_cv_use_textctrl"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_TEXTCTRL" = yes; then
6331 echo "$ac_t""yes" 1>&6
6333 echo "$ac_t""no" 1>&6
6337 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6338 echo "configure:6339: checking for --enable-togglebtn" >&5
6340 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6341 if test "${enable_togglebtn+set}" = set; then
6342 enableval
="$enable_togglebtn"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6347 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6352 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6364 eval "$ac_cv_use_togglebtn"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6369 if test "$wxUSE_TOGGLEBTN" = yes; then
6370 echo "$ac_t""yes" 1>&6
6372 echo "$ac_t""no" 1>&6
6376 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6377 echo "configure:6378: checking for --enable-toolbar" >&5
6379 # Check whether --enable-toolbar or --disable-toolbar was given.
6380 if test "${enable_toolbar+set}" = set; then
6381 enableval
="$enable_toolbar"
6383 if test "$enableval" = yes; then
6384 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6386 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6391 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x
; then
6393 eval "DEFAULT_$LINE"
6398 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6403 eval "$ac_cv_use_toolbar"
6404 if test "$no_cache" != 1; then
6405 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6408 if test "$wxUSE_TOOLBAR" = yes; then
6409 echo "$ac_t""yes" 1>&6
6411 echo "$ac_t""no" 1>&6
6415 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6416 echo "configure:6417: checking for --enable-tbarnative" >&5
6418 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6419 if test "${enable_tbarnative+set}" = set; then
6420 enableval
="$enable_tbarnative"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6425 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6430 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x
; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6442 eval "$ac_cv_use_tbarnative"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6447 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6448 echo "$ac_t""yes" 1>&6
6450 echo "$ac_t""no" 1>&6
6454 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6455 echo "configure:6456: checking for --enable-tbarsmpl" >&5
6457 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6458 if test "${enable_tbarsmpl+set}" = set; then
6459 enableval
="$enable_tbarsmpl"
6461 if test "$enableval" = yes; then
6462 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6464 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6469 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x
; then
6471 eval "DEFAULT_$LINE"
6476 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6481 eval "$ac_cv_use_tbarsmpl"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6487 echo "$ac_t""yes" 1>&6
6489 echo "$ac_t""no" 1>&6
6493 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6494 echo "configure:6495: checking for --enable-treectrl" >&5
6496 # Check whether --enable-treectrl or --disable-treectrl was given.
6497 if test "${enable_treectrl+set}" = set; then
6498 enableval
="$enable_treectrl"
6500 if test "$enableval" = yes; then
6501 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6503 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6508 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x
; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6520 eval "$ac_cv_use_treectrl"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_TREECTRL" = yes; then
6526 echo "$ac_t""yes" 1>&6
6528 echo "$ac_t""no" 1>&6
6532 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6533 echo "configure:6534: checking for --enable-popupwin" >&5
6535 # Check whether --enable-popupwin or --disable-popupwin was given.
6536 if test "${enable_popupwin+set}" = set; then
6537 enableval
="$enable_popupwin"
6539 if test "$enableval" = yes; then
6540 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6542 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6547 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6548 if test "x$LINE" != x
; then
6549 eval "DEFAULT_$LINE"
6554 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6559 eval "$ac_cv_use_popupwin"
6560 if test "$no_cache" != 1; then
6561 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6564 if test "$wxUSE_POPUPWIN" = yes; then
6565 echo "$ac_t""yes" 1>&6
6567 echo "$ac_t""no" 1>&6
6573 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6574 echo "configure:6575: checking for --enable-commondlg" >&5
6576 # Check whether --enable-commondlg or --disable-commondlg was given.
6577 if test "${enable_commondlg+set}" = set; then
6578 enableval
="$enable_commondlg"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6583 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6588 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6600 eval "$ac_cv_use_commondlg"
6601 if test "$no_cache" != 1; then
6602 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6605 if test "$wxUSE_COMMONDLGS" = yes; then
6606 echo "$ac_t""yes" 1>&6
6608 echo "$ac_t""no" 1>&6
6612 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6613 echo "configure:6614: checking for --enable-choicedlg" >&5
6615 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6616 if test "${enable_choicedlg+set}" = set; then
6617 enableval
="$enable_choicedlg"
6619 if test "$enableval" = yes; then
6620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6622 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6627 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x
; then
6629 eval "DEFAULT_$LINE"
6634 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6639 eval "$ac_cv_use_choicedlg"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_CHOICEDLG" = yes; then
6645 echo "$ac_t""yes" 1>&6
6647 echo "$ac_t""no" 1>&6
6651 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6652 echo "configure:6653: checking for --enable-coldlg" >&5
6654 # Check whether --enable-coldlg or --disable-coldlg was given.
6655 if test "${enable_coldlg+set}" = set; then
6656 enableval
="$enable_coldlg"
6658 if test "$enableval" = yes; then
6659 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6661 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6666 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x
; then
6668 eval "DEFAULT_$LINE"
6673 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6678 eval "$ac_cv_use_coldlg"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_COLOURDLG" = yes; then
6684 echo "$ac_t""yes" 1>&6
6686 echo "$ac_t""no" 1>&6
6690 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6691 echo "configure:6692: checking for --enable-filedlg" >&5
6693 # Check whether --enable-filedlg or --disable-filedlg was given.
6694 if test "${enable_filedlg+set}" = set; then
6695 enableval
="$enable_filedlg"
6697 if test "$enableval" = yes; then
6698 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6700 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6705 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x
; then
6707 eval "DEFAULT_$LINE"
6712 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6717 eval "$ac_cv_use_filedlg"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6722 if test "$wxUSE_FILEDLG" = yes; then
6723 echo "$ac_t""yes" 1>&6
6725 echo "$ac_t""no" 1>&6
6729 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6730 echo "configure:6731: checking for --enable-filedlg" >&5
6732 # Check whether --enable-filedlg or --disable-filedlg was given.
6733 if test "${enable_filedlg+set}" = set; then
6734 enableval
="$enable_filedlg"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6739 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6744 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6756 eval "$ac_cv_use_filedlg"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_FINDREPLDLG" = yes; then
6762 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no" 1>&6
6768 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6769 echo "configure:6770: checking for --enable-fontdlg" >&5
6771 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6772 if test "${enable_fontdlg+set}" = set; then
6773 enableval
="$enable_fontdlg"
6775 if test "$enableval" = yes; then
6776 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6778 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6783 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x
; then
6785 eval "DEFAULT_$LINE"
6790 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6795 eval "$ac_cv_use_fontdlg"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_FONTDLG" = yes; then
6801 echo "$ac_t""yes" 1>&6
6803 echo "$ac_t""no" 1>&6
6807 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6808 echo "configure:6809: checking for --enable-dirdlg" >&5
6810 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6811 if test "${enable_dirdlg+set}" = set; then
6812 enableval
="$enable_dirdlg"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6817 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6822 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x
; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6834 eval "$ac_cv_use_dirdlg"
6835 if test "$no_cache" != 1; then
6836 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6839 if test "$wxUSE_DIRDLG" = yes; then
6840 echo "$ac_t""yes" 1>&6
6842 echo "$ac_t""no" 1>&6
6846 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6847 echo "configure:6848: checking for --enable-msgdlg" >&5
6849 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6850 if test "${enable_msgdlg+set}" = set; then
6851 enableval
="$enable_msgdlg"
6853 if test "$enableval" = yes; then
6854 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6856 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6861 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x
; then
6863 eval "DEFAULT_$LINE"
6868 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6873 eval "$ac_cv_use_msgdlg"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6878 if test "$wxUSE_MSGDLG" = yes; then
6879 echo "$ac_t""yes" 1>&6
6881 echo "$ac_t""no" 1>&6
6885 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6886 echo "configure:6887: checking for --enable-numberdlg" >&5
6888 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6889 if test "${enable_numberdlg+set}" = set; then
6890 enableval
="$enable_numberdlg"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6895 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6900 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x
; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6912 eval "$ac_cv_use_numberdlg"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6917 if test "$wxUSE_NUMBERDLG" = yes; then
6918 echo "$ac_t""yes" 1>&6
6920 echo "$ac_t""no" 1>&6
6924 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6925 echo "configure:6926: checking for --enable-splash" >&5
6927 # Check whether --enable-splash or --disable-splash was given.
6928 if test "${enable_splash+set}" = set; then
6929 enableval
="$enable_splash"
6931 if test "$enableval" = yes; then
6932 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6934 ac_cv_use_splash
='wxUSE_SPLASH=no'
6939 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6940 if test "x$LINE" != x
; then
6941 eval "DEFAULT_$LINE"
6946 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6951 eval "$ac_cv_use_splash"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_SPLASH" = yes; then
6957 echo "$ac_t""yes" 1>&6
6959 echo "$ac_t""no" 1>&6
6963 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6964 echo "configure:6965: checking for --enable-textdlg" >&5
6966 # Check whether --enable-textdlg or --disable-textdlg was given.
6967 if test "${enable_textdlg+set}" = set; then
6968 enableval
="$enable_textdlg"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6973 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6978 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6990 eval "$ac_cv_use_textdlg"
6991 if test "$no_cache" != 1; then
6992 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6995 if test "$wxUSE_TEXTDLG" = yes; then
6996 echo "$ac_t""yes" 1>&6
6998 echo "$ac_t""no" 1>&6
7002 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7003 echo "configure:7004: checking for --enable-tipdlg" >&5
7005 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7006 if test "${enable_tipdlg+set}" = set; then
7007 enableval
="$enable_tipdlg"
7009 if test "$enableval" = yes; then
7010 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7012 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7017 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7018 if test "x$LINE" != x
; then
7019 eval "DEFAULT_$LINE"
7024 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7029 eval "$ac_cv_use_tipdlg"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7034 if test "$wxUSE_STARTUP_TIPS" = yes; then
7035 echo "$ac_t""yes" 1>&6
7037 echo "$ac_t""no" 1>&6
7041 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7042 echo "configure:7043: checking for --enable-progressdlg" >&5
7044 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7045 if test "${enable_progressdlg+set}" = set; then
7046 enableval
="$enable_progressdlg"
7048 if test "$enableval" = yes; then
7049 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7051 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7056 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x
; then
7058 eval "DEFAULT_$LINE"
7063 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7068 eval "$ac_cv_use_progressdlg"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_PROGRESSDLG" = yes; then
7074 echo "$ac_t""yes" 1>&6
7076 echo "$ac_t""no" 1>&6
7080 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7081 echo "configure:7082: checking for --enable-wizarddlg" >&5
7083 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7084 if test "${enable_wizarddlg+set}" = set; then
7085 enableval
="$enable_wizarddlg"
7087 if test "$enableval" = yes; then
7088 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7090 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7095 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x
; then
7097 eval "DEFAULT_$LINE"
7102 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7107 eval "$ac_cv_use_wizarddlg"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7112 if test "$wxUSE_WIZARDDLG" = yes; then
7113 echo "$ac_t""yes" 1>&6
7115 echo "$ac_t""no" 1>&6
7121 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7122 echo "configure:7123: checking for --enable-menus" >&5
7124 # Check whether --enable-menus or --disable-menus was given.
7125 if test "${enable_menus+set}" = set; then
7126 enableval
="$enable_menus"
7128 if test "$enableval" = yes; then
7129 ac_cv_use_menus
='wxUSE_MENUS=yes'
7131 ac_cv_use_menus
='wxUSE_MENUS=no'
7136 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x
; then
7138 eval "DEFAULT_$LINE"
7143 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7148 eval "$ac_cv_use_menus"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7153 if test "$wxUSE_MENUS" = yes; then
7154 echo "$ac_t""yes" 1>&6
7156 echo "$ac_t""no" 1>&6
7160 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7161 echo "configure:7162: checking for --enable-miniframe" >&5
7163 # Check whether --enable-miniframe or --disable-miniframe was given.
7164 if test "${enable_miniframe+set}" = set; then
7165 enableval
="$enable_miniframe"
7167 if test "$enableval" = yes; then
7168 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7170 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7175 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x
; then
7177 eval "DEFAULT_$LINE"
7182 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7187 eval "$ac_cv_use_miniframe"
7188 if test "$no_cache" != 1; then
7189 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7192 if test "$wxUSE_MINIFRAME" = yes; then
7193 echo "$ac_t""yes" 1>&6
7195 echo "$ac_t""no" 1>&6
7199 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7200 echo "configure:7201: checking for --enable-tooltips" >&5
7202 # Check whether --enable-tooltips or --disable-tooltips was given.
7203 if test "${enable_tooltips+set}" = set; then
7204 enableval
="$enable_tooltips"
7206 if test "$enableval" = yes; then
7207 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7209 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7214 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x
; then
7216 eval "DEFAULT_$LINE"
7221 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7226 eval "$ac_cv_use_tooltips"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7231 if test "$wxUSE_TOOLTIPS" = yes; then
7232 echo "$ac_t""yes" 1>&6
7234 echo "$ac_t""no" 1>&6
7238 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7239 echo "configure:7240: checking for --enable-splines" >&5
7241 # Check whether --enable-splines or --disable-splines was given.
7242 if test "${enable_splines+set}" = set; then
7243 enableval
="$enable_splines"
7245 if test "$enableval" = yes; then
7246 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7248 ac_cv_use_splines
='wxUSE_SPLINES=no'
7253 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x
; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7265 eval "$ac_cv_use_splines"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_SPLINES" = yes; then
7271 echo "$ac_t""yes" 1>&6
7273 echo "$ac_t""no" 1>&6
7277 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7278 echo "configure:7279: checking for --enable-validators" >&5
7280 # Check whether --enable-validators or --disable-validators was given.
7281 if test "${enable_validators+set}" = set; then
7282 enableval
="$enable_validators"
7284 if test "$enableval" = yes; then
7285 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7287 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7292 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7293 if test "x$LINE" != x
; then
7294 eval "DEFAULT_$LINE"
7299 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7304 eval "$ac_cv_use_validators"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7309 if test "$wxUSE_VALIDATORS" = yes; then
7310 echo "$ac_t""yes" 1>&6
7312 echo "$ac_t""no" 1>&6
7316 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7317 echo "configure:7318: checking for --enable-busyinfo" >&5
7319 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7320 if test "${enable_busyinfo+set}" = set; then
7321 enableval
="$enable_busyinfo"
7323 if test "$enableval" = yes; then
7324 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7326 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7331 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x
; then
7333 eval "DEFAULT_$LINE"
7338 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7343 eval "$ac_cv_use_busyinfo"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7348 if test "$wxUSE_BUSYINFO" = yes; then
7349 echo "$ac_t""yes" 1>&6
7351 echo "$ac_t""no" 1>&6
7355 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7356 echo "configure:7357: checking for --enable-joystick" >&5
7358 # Check whether --enable-joystick or --disable-joystick was given.
7359 if test "${enable_joystick+set}" = set; then
7360 enableval
="$enable_joystick"
7362 if test "$enableval" = yes; then
7363 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7365 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7370 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7371 if test "x$LINE" != x
; then
7372 eval "DEFAULT_$LINE"
7377 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7382 eval "$ac_cv_use_joystick"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7387 if test "$wxUSE_JOYSTICK" = yes; then
7388 echo "$ac_t""yes" 1>&6
7390 echo "$ac_t""no" 1>&6
7394 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7395 echo "configure:7396: checking for --enable-metafile" >&5
7397 # Check whether --enable-metafile or --disable-metafile was given.
7398 if test "${enable_metafile+set}" = set; then
7399 enableval
="$enable_metafile"
7401 if test "$enableval" = yes; then
7402 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7404 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7409 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7410 if test "x$LINE" != x
; then
7411 eval "DEFAULT_$LINE"
7416 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7421 eval "$ac_cv_use_metafile"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7426 if test "$wxUSE_METAFILE" = yes; then
7427 echo "$ac_t""yes" 1>&6
7429 echo "$ac_t""no" 1>&6
7433 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7434 echo "configure:7435: checking for --enable-dragimage" >&5
7436 # Check whether --enable-dragimage or --disable-dragimage was given.
7437 if test "${enable_dragimage+set}" = set; then
7438 enableval
="$enable_dragimage"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7443 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7448 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7460 eval "$ac_cv_use_dragimage"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_DRAGIMAGE" = yes; then
7466 echo "$ac_t""yes" 1>&6
7468 echo "$ac_t""no" 1>&6
7474 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7475 echo "configure:7476: checking for --enable-image" >&5
7477 # Check whether --enable-image or --disable-image was given.
7478 if test "${enable_image+set}" = set; then
7479 enableval
="$enable_image"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_image
='wxUSE_IMAGE=yes'
7484 ac_cv_use_image
='wxUSE_IMAGE=no'
7489 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7501 eval "$ac_cv_use_image"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7506 if test "$wxUSE_IMAGE" = yes; then
7507 echo "$ac_t""yes" 1>&6
7509 echo "$ac_t""no" 1>&6
7513 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7514 echo "configure:7515: checking for --enable-gif" >&5
7516 # Check whether --enable-gif or --disable-gif was given.
7517 if test "${enable_gif+set}" = set; then
7518 enableval
="$enable_gif"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_gif
='wxUSE_GIF=yes'
7523 ac_cv_use_gif
='wxUSE_GIF=no'
7528 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x
; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7540 eval "$ac_cv_use_gif"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7545 if test "$wxUSE_GIF" = yes; then
7546 echo "$ac_t""yes" 1>&6
7548 echo "$ac_t""no" 1>&6
7552 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7553 echo "configure:7554: checking for --enable-pcx" >&5
7555 # Check whether --enable-pcx or --disable-pcx was given.
7556 if test "${enable_pcx+set}" = set; then
7557 enableval
="$enable_pcx"
7559 if test "$enableval" = yes; then
7560 ac_cv_use_pcx
='wxUSE_PCX=yes'
7562 ac_cv_use_pcx
='wxUSE_PCX=no'
7567 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x
; then
7569 eval "DEFAULT_$LINE"
7574 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7579 eval "$ac_cv_use_pcx"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7584 if test "$wxUSE_PCX" = yes; then
7585 echo "$ac_t""yes" 1>&6
7587 echo "$ac_t""no" 1>&6
7591 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7592 echo "configure:7593: checking for --enable-pnm" >&5
7594 # Check whether --enable-pnm or --disable-pnm was given.
7595 if test "${enable_pnm+set}" = set; then
7596 enableval
="$enable_pnm"
7598 if test "$enableval" = yes; then
7599 ac_cv_use_pnm
='wxUSE_PNM=yes'
7601 ac_cv_use_pnm
='wxUSE_PNM=no'
7606 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x
; then
7608 eval "DEFAULT_$LINE"
7613 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7618 eval "$ac_cv_use_pnm"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7623 if test "$wxUSE_PNM" = yes; then
7624 echo "$ac_t""yes" 1>&6
7626 echo "$ac_t""no" 1>&6
7630 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7631 echo "configure:7632: checking for --enable-pnm" >&5
7633 # Check whether --enable-pnm or --disable-pnm was given.
7634 if test "${enable_pnm+set}" = set; then
7635 enableval
="$enable_pnm"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_pnm
='wxUSE_XPM=yes'
7640 ac_cv_use_pnm
='wxUSE_XPM=no'
7645 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x
; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7657 eval "$ac_cv_use_pnm"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7662 if test "$wxUSE_XPM" = yes; then
7663 echo "$ac_t""yes" 1>&6
7665 echo "$ac_t""no" 1>&6
7672 echo "saving argument cache $wx_arg_cache_file"
7673 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7677 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7678 echo "configure:7679: checking for toolkit" >&5
7680 if test "$wxUSE_GUI" = "yes"; then
7682 if test "$USE_BEOS" = 1; then
7683 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7686 if test "$TOOLKIT_GIVEN" = 1; then
7687 for toolkit
in `echo $ALL_TOOLKITS`; do
7689 eval "value=\$${var}"
7690 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7693 for toolkit
in `echo $ALL_TOOLKITS`; do
7694 if test "$has_toolkit_in_cache" != 1; then
7695 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7697 var
=DEFAULT_wxUSE_
$toolkit
7699 eval "wxUSE_$toolkit=\$${var}"
7703 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7704 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7709 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7710 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7719 case "$NUM_TOOLKITS" in
7723 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7726 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7729 for toolkit
in `echo $ALL_TOOLKITS`; do
7731 eval "value=\$${var}"
7732 if test "x$value" != x
; then
7733 cache_var
=CACHE_
$toolkit
7734 eval "cache=\$${cache_var}"
7735 if test "$cache" = 1; then
7736 echo "$var=$value" >> ${wx_arg_cache_file}
7738 if test "$value" = 1; then
7739 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7740 echo "$ac_t""$toolkit_echo" 1>&6
7746 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7750 cat > confcache
<<\EOF
7751 # This file is a shell script that caches the results of configure
7752 # tests run on this system so they can be shared between configure
7753 # scripts and configure runs. It is not useful on other systems.
7754 # If it contains results you don't want to keep, you may remove or edit it.
7756 # By default, configure uses ./config.cache as the cache file,
7757 # creating it if it does not exist already. You can give configure
7758 # the --cache-file=FILE option to use a different cache file; that is
7759 # what configure does when it calls configure scripts in
7760 # subdirectories, so they share the cache.
7761 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7762 # config.status only pays attention to the cache file if you give it the
7763 # --recheck option to rerun configure.
7766 # The following way of writing the cache mishandles newlines in values,
7767 # but we know of no workaround that is simple, portable, and efficient.
7768 # So, don't put newlines in cache variables' values.
7769 # Ultrix sh set writes to stderr and can't be redirected directly,
7770 # and sets the high bit in the cache file unless we assign to the vars.
7772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7774 # `set' does not quote correctly, so add quotes (double-quote substitution
7775 # turns \\\\ into \\, and sed turns \\ into \).
7777 -e "s/'/'\\\\''/g" \
7778 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7781 # `set' quotes correctly as required by POSIX, so do not add quotes.
7782 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7785 if cmp -s $cache_file confcache
; then
7788 if test -w $cache_file; then
7789 echo "updating cache $cache_file"
7790 cat confcache
> $cache_file
7792 echo "not updating unwritable cache $cache_file"
7798 if test "$build" != "$host" ; then
7799 if test "$USE_WIN32" = 1 ; then
7803 RANLIB
=$host_alias-ranlib
7804 DLLTOOL
=$host_alias-dlltool
7805 RESCOMP
=$host_alias-windres
7808 STRIP
=$host_alias-strip
7810 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7814 # Extract the first word of "gcc", so it can be a program name with args.
7815 set dummy gcc
; ac_word
=$2
7816 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7817 echo "configure:7818: checking for $ac_word" >&5
7818 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7819 echo $ac_n "(cached) $ac_c" 1>&6
7821 if test -n "$CC"; then
7822 ac_cv_prog_CC
="$CC" # Let the user override the test.
7824 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7826 for ac_dir
in $ac_dummy; do
7827 test -z "$ac_dir" && ac_dir
=.
7828 if test -f $ac_dir/$ac_word; then
7837 if test -n "$CC"; then
7838 echo "$ac_t""$CC" 1>&6
7840 echo "$ac_t""no" 1>&6
7843 if test -z "$CC"; then
7844 # Extract the first word of "cc", so it can be a program name with args.
7845 set dummy cc
; ac_word
=$2
7846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7847 echo "configure:7848: checking for $ac_word" >&5
7848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7849 echo $ac_n "(cached) $ac_c" 1>&6
7851 if test -n "$CC"; then
7852 ac_cv_prog_CC
="$CC" # Let the user override the test.
7854 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7857 for ac_dir
in $ac_dummy; do
7858 test -z "$ac_dir" && ac_dir
=.
7859 if test -f $ac_dir/$ac_word; then
7860 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7861 ac_prog_rejected
=yes
7869 if test $ac_prog_rejected = yes; then
7870 # We found a bogon in the path, so make sure we never use it.
7871 set dummy
$ac_cv_prog_CC
7873 if test $# -gt 0; then
7874 # We chose a different compiler from the bogus one.
7875 # However, it has the same basename, so the bogon will be chosen
7876 # first if we set CC to just the basename; use the full file name.
7878 set dummy
"$ac_dir/$ac_word" "$@"
7886 if test -n "$CC"; then
7887 echo "$ac_t""$CC" 1>&6
7889 echo "$ac_t""no" 1>&6
7892 if test -z "$CC"; then
7893 case "`uname -s`" in
7895 # Extract the first word of "cl", so it can be a program name with args.
7896 set dummy cl
; ac_word
=$2
7897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7898 echo "configure:7899: checking for $ac_word" >&5
7899 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7902 if test -n "$CC"; then
7903 ac_cv_prog_CC
="$CC" # Let the user override the test.
7905 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7907 for ac_dir
in $ac_dummy; do
7908 test -z "$ac_dir" && ac_dir
=.
7909 if test -f $ac_dir/$ac_word; then
7918 if test -n "$CC"; then
7919 echo "$ac_t""$CC" 1>&6
7921 echo "$ac_t""no" 1>&6
7926 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7929 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7930 echo "configure:7931: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934 ac_cpp
='$CPP $CPPFLAGS'
7935 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937 cross_compiling
=$ac_cv_prog_cc_cross
7939 cat > conftest.
$ac_ext << EOF
7941 #line 7942 "configure"
7942 #include "confdefs.h"
7946 if { (eval echo configure
:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7947 ac_cv_prog_cc_works
=yes
7948 # If we can't run a trivial program, we are probably using a cross compiler.
7949 if (.
/conftest
; exit) 2>/dev
/null
; then
7950 ac_cv_prog_cc_cross
=no
7952 ac_cv_prog_cc_cross
=yes
7955 echo "configure: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7957 ac_cv_prog_cc_works
=no
7961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7962 ac_cpp
='$CPP $CPPFLAGS'
7963 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7964 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7965 cross_compiling
=$ac_cv_prog_cc_cross
7967 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7968 if test $ac_cv_prog_cc_works = no
; then
7969 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7971 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7972 echo "configure:7973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7973 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7974 cross_compiling
=$ac_cv_prog_cc_cross
7976 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7977 echo "configure:7978: checking whether we are using GNU C" >&5
7978 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7981 cat > conftest.c
<<EOF
7986 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7993 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7995 if test $ac_cv_prog_gcc = yes; then
8001 ac_test_CFLAGS
="${CFLAGS+set}"
8002 ac_save_CFLAGS
="$CFLAGS"
8004 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8005 echo "configure:8006: checking whether ${CC-cc} accepts -g" >&5
8006 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8007 echo $ac_n "(cached) $ac_c" 1>&6
8009 echo 'void f(){}' > conftest.c
8010 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8019 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8020 if test "$ac_test_CFLAGS" = set; then
8021 CFLAGS
="$ac_save_CFLAGS"
8022 elif test $ac_cv_prog_cc_g = yes; then
8023 if test "$GCC" = yes; then
8029 if test "$GCC" = yes; then
8037 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8039 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8040 echo "configure:8041: checking how to run the C preprocessor" >&5
8041 # On Suns, sometimes $CPP names a directory.
8042 if test -n "$CPP" && test -d "$CPP"; then
8045 if test -z "$CPP"; then
8046 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8047 echo $ac_n "(cached) $ac_c" 1>&6
8049 # This must be in double quotes, not single quotes, because CPP may get
8050 # substituted into the Makefile and "${CC-cc}" will confuse make.
8052 # On the NeXT, cc -E runs the code through the compiler's parser,
8053 # not just through cpp.
8054 cat > conftest.
$ac_ext <<EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8061 { (eval echo configure
:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8063 if test -z "$ac_err"; then
8067 echo "configure: failed program was:" >&5
8068 cat conftest.
$ac_ext >&5
8070 CPP
="${CC-cc} -E -traditional-cpp"
8071 cat > conftest.
$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8078 { (eval echo configure
:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8080 if test -z "$ac_err"; then
8084 echo "configure: failed program was:" >&5
8085 cat conftest.
$ac_ext >&5
8087 CPP
="${CC-cc} -nologo -E"
8088 cat > conftest.
$ac_ext <<EOF
8089 #line 8090 "configure"
8090 #include "confdefs.h"
8094 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8095 { (eval echo configure
:8096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8096 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8097 if test -z "$ac_err"; then
8101 echo "configure: failed program was:" >&5
8102 cat conftest.
$ac_ext >&5
8111 ac_cv_prog_CPP
="$CPP"
8113 CPP
="$ac_cv_prog_CPP"
8115 ac_cv_prog_CPP
="$CPP"
8117 echo "$ac_t""$CPP" 1>&6
8119 if test $ac_cv_prog_gcc = yes; then
8120 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8121 echo "configure:8122: checking whether ${CC-cc} needs -traditional" >&5
8122 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8123 echo $ac_n "(cached) $ac_c" 1>&6
8125 ac_pattern
="Autoconf.*'x'"
8126 cat > conftest.
$ac_ext <<EOF
8127 #line 8128 "configure"
8128 #include "confdefs.h"
8132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8133 egrep "$ac_pattern" >/dev
/null
2>&1; then
8135 ac_cv_prog_gcc_traditional
=yes
8138 ac_cv_prog_gcc_traditional
=no
8143 if test $ac_cv_prog_gcc_traditional = no
; then
8144 cat > conftest.
$ac_ext <<EOF
8145 #line 8146 "configure"
8146 #include "confdefs.h"
8150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8151 egrep "$ac_pattern" >/dev
/null
2>&1; then
8153 ac_cv_prog_gcc_traditional
=yes
8160 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8161 if test $ac_cv_prog_gcc_traditional = yes; then
8162 CC
="$CC -traditional"
8169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8170 ac_cpp
='$CXXCPP $CPPFLAGS'
8171 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8172 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8173 cross_compiling
=$ac_cv_prog_cxx_cross
8176 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8178 # Extract the first word of "$ac_prog", so it can be a program name with args.
8179 set dummy
$ac_prog; ac_word
=$2
8180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8181 echo "configure:8182: checking for $ac_word" >&5
8182 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8183 echo $ac_n "(cached) $ac_c" 1>&6
8185 if test -n "$CXX"; then
8186 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8188 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8190 for ac_dir
in $ac_dummy; do
8191 test -z "$ac_dir" && ac_dir
=.
8192 if test -f $ac_dir/$ac_word; then
8193 ac_cv_prog_CXX
="$ac_prog"
8200 CXX
="$ac_cv_prog_CXX"
8201 if test -n "$CXX"; then
8202 echo "$ac_t""$CXX" 1>&6
8204 echo "$ac_t""no" 1>&6
8207 test -n "$CXX" && break
8209 test -n "$CXX" || CXX
="gcc"
8212 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8213 echo "configure:8214: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8217 ac_cpp
='$CXXCPP $CPPFLAGS'
8218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8220 cross_compiling
=$ac_cv_prog_cxx_cross
8222 cat > conftest.
$ac_ext << EOF
8224 #line 8225 "configure"
8225 #include "confdefs.h"
8227 int main(){return(0);}
8229 if { (eval echo configure
:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8230 ac_cv_prog_cxx_works
=yes
8231 # If we can't run a trivial program, we are probably using a cross compiler.
8232 if (.
/conftest
; exit) 2>/dev
/null
; then
8233 ac_cv_prog_cxx_cross
=no
8235 ac_cv_prog_cxx_cross
=yes
8238 echo "configure: failed program was:" >&5
8239 cat conftest.
$ac_ext >&5
8240 ac_cv_prog_cxx_works
=no
8244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8245 ac_cpp
='$CXXCPP $CPPFLAGS'
8246 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8247 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8248 cross_compiling
=$ac_cv_prog_cxx_cross
8250 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8251 if test $ac_cv_prog_cxx_works = no
; then
8252 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8254 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8255 echo "configure:8256: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8256 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8257 cross_compiling
=$ac_cv_prog_cxx_cross
8259 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8260 echo "configure:8261: checking whether we are using GNU C++" >&5
8261 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8262 echo $ac_n "(cached) $ac_c" 1>&6
8264 cat > conftest.C
<<EOF
8269 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8276 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8278 if test $ac_cv_prog_gxx = yes; then
8284 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8285 ac_save_CXXFLAGS
="$CXXFLAGS"
8287 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8288 echo "configure:8289: checking whether ${CXX-g++} accepts -g" >&5
8289 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8290 echo $ac_n "(cached) $ac_c" 1>&6
8292 echo 'void f(){}' > conftest.cc
8293 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8294 ac_cv_prog_cxx_g
=yes
8302 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8303 if test "$ac_test_CXXFLAGS" = set; then
8304 CXXFLAGS
="$ac_save_CXXFLAGS"
8305 elif test $ac_cv_prog_cxx_g = yes; then
8306 if test "$GXX" = yes; then
8312 if test "$GXX" = yes; then
8320 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8324 ac_cpp
='$CPP $CPPFLAGS'
8325 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8326 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8327 cross_compiling
=$ac_cv_prog_cc_cross
8330 # Extract the first word of "ranlib", so it can be a program name with args.
8331 set dummy ranlib
; ac_word
=$2
8332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8333 echo "configure:8334: checking for $ac_word" >&5
8334 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8337 if test -n "$RANLIB"; then
8338 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8340 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8342 for ac_dir
in $ac_dummy; do
8343 test -z "$ac_dir" && ac_dir
=.
8344 if test -f $ac_dir/$ac_word; then
8345 ac_cv_prog_RANLIB
="ranlib"
8350 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8353 RANLIB
="$ac_cv_prog_RANLIB"
8354 if test -n "$RANLIB"; then
8355 echo "$ac_t""$RANLIB" 1>&6
8357 echo "$ac_t""no" 1>&6
8361 # Extract the first word of "ar", so it can be a program name with args.
8362 set dummy
ar; ac_word
=$2
8363 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8364 echo "configure:8365: checking for $ac_word" >&5
8365 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8368 if test -n "$AR"; then
8369 ac_cv_prog_AR
="$AR" # Let the user override the test.
8371 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8373 for ac_dir
in $ac_dummy; do
8374 test -z "$ac_dir" && ac_dir
=.
8375 if test -f $ac_dir/$ac_word; then
8381 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8385 if test -n "$AR"; then
8386 echo "$ac_t""$AR" 1>&6
8388 echo "$ac_t""no" 1>&6
8392 # Find a good install program. We prefer a C program (faster),
8393 # so one script is as good as another. But avoid the broken or
8394 # incompatible versions:
8395 # SysV /etc/install, /usr/sbin/install
8396 # SunOS /usr/etc/install
8397 # IRIX /sbin/install
8399 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8400 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8401 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8402 # ./install, which can be erroneously created by make from ./install.sh.
8403 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8404 echo "configure:8405: checking for a BSD compatible install" >&5
8405 if test -z "$INSTALL"; then
8406 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8407 echo $ac_n "(cached) $ac_c" 1>&6
8409 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8410 for ac_dir
in $PATH; do
8411 # Account for people who put trailing slashes in PATH elements.
8413 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8415 # OSF1 and SCO ODT 3.0 have their own names for install.
8416 # Don't use installbsd from OSF since it installs stuff as root
8418 for ac_prog
in ginstall scoinst
install; do
8419 if test -f $ac_dir/$ac_prog; then
8420 if test $ac_prog = install &&
8421 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8422 # AIX install. It has an incompatible calling convention.
8425 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8436 if test "${ac_cv_path_install+set}" = set; then
8437 INSTALL
="$ac_cv_path_install"
8439 # As a last resort, use the slow shell script. We don't cache a
8440 # path for INSTALL within a source directory, because that will
8441 # break other packages using the cache if that directory is
8442 # removed, or if the path is relative.
8443 INSTALL
="$ac_install_sh"
8446 echo "$ac_t""$INSTALL" 1>&6
8448 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8449 # It thinks the first close brace ends the variable substitution.
8450 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8452 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8454 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8457 # Extract the first word of "strip", so it can be a program name with args.
8458 set dummy strip
; ac_word
=$2
8459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8460 echo "configure:8461: checking for $ac_word" >&5
8461 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8462 echo $ac_n "(cached) $ac_c" 1>&6
8464 if test -n "$STRIP"; then
8465 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8467 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8469 for ac_dir
in $ac_dummy; do
8470 test -z "$ac_dir" && ac_dir
=.
8471 if test -f $ac_dir/$ac_word; then
8472 ac_cv_prog_STRIP
="strip"
8477 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8480 STRIP
="$ac_cv_prog_STRIP"
8481 if test -n "$STRIP"; then
8482 echo "$ac_t""$STRIP" 1>&6
8484 echo "$ac_t""no" 1>&6
8488 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8489 echo "configure:8490: checking make for VPATH support" >&5
8490 cat - << EOF > confMake
8496 if test ! -d sub
; then
8499 echo dummy
> sub
/file
8500 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8502 rm -f sub
/file check final_file confMake
8504 if test "$RESULT" = 0; then
8505 echo "$ac_t""yes" 1>&6
8507 echo "$ac_t""no" 1>&6
8508 { echo "configure: error:
8509 You need a make-utility that is able to use the variable
8511 If your version of make does not support VPATH correctly,
8512 please install GNU-make (possibly as gmake), and start
8513 configure with the following command:
8514 export MAKE=gmake; ./configure for sh-type shells
8515 setenv MAKE gmake; ./configure for csh-type shells
8516 Also please do remember to use gmake in this case every time
8517 you are trying to compile.
8521 for ac_prog
in 'bison -y' byacc
8523 # Extract the first word of "$ac_prog", so it can be a program name with args.
8524 set dummy
$ac_prog; ac_word
=$2
8525 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8526 echo "configure:8527: checking for $ac_word" >&5
8527 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 if test -n "$YACC"; then
8531 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8533 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8535 for ac_dir
in $ac_dummy; do
8536 test -z "$ac_dir" && ac_dir
=.
8537 if test -f $ac_dir/$ac_word; then
8538 ac_cv_prog_YACC
="$ac_prog"
8545 YACC
="$ac_cv_prog_YACC"
8546 if test -n "$YACC"; then
8547 echo "$ac_t""$YACC" 1>&6
8549 echo "$ac_t""no" 1>&6
8552 test -n "$YACC" && break
8554 test -n "$YACC" || YACC
="yacc"
8557 # Extract the first word of "flex", so it can be a program name with args.
8558 set dummy flex
; ac_word
=$2
8559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8560 echo "configure:8561: checking for $ac_word" >&5
8561 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8564 if test -n "$LEX"; then
8565 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8567 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8569 for ac_dir
in $ac_dummy; do
8570 test -z "$ac_dir" && ac_dir
=.
8571 if test -f $ac_dir/$ac_word; then
8572 ac_cv_prog_LEX
="flex"
8577 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8580 LEX
="$ac_cv_prog_LEX"
8581 if test -n "$LEX"; then
8582 echo "$ac_t""$LEX" 1>&6
8584 echo "$ac_t""no" 1>&6
8587 if test -z "$LEXLIB"
8593 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8594 echo "configure:8595: checking for yywrap in -l$ac_lib" >&5
8595 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8596 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8597 echo $ac_n "(cached) $ac_c" 1>&6
8599 ac_save_LIBS
="$LIBS"
8600 LIBS
="-l$ac_lib $LIBS"
8601 cat > conftest.
$ac_ext <<EOF
8602 #line 8603 "configure"
8603 #include "confdefs.h"
8604 /* Override any gcc2 internal prototype to avoid an error. */
8605 /* We use char because int might match the return type of a gcc2
8606 builtin and then its argument prototype would still apply. */
8613 if { (eval echo configure
:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8615 eval "ac_cv_lib_$ac_lib_var=yes"
8617 echo "configure: failed program was:" >&5
8618 cat conftest.
$ac_ext >&5
8620 eval "ac_cv_lib_$ac_lib_var=no"
8623 LIBS
="$ac_save_LIBS"
8626 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8627 echo "$ac_t""yes" 1>&6
8630 echo "$ac_t""no" 1>&6
8636 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8637 echo "configure:8638: checking whether ln -s works" >&5
8638 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8642 if ln -s X conftestdata
2>/dev
/null
8645 ac_cv_prog_LN_S
="ln -s"
8650 LN_S
="$ac_cv_prog_LN_S"
8651 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8652 echo "$ac_t""yes" 1>&6
8654 echo "$ac_t""no" 1>&6
8660 /usr/local/include \
8662 /usr/Motif-1.2/include \
8663 /usr/Motif-2.1/include \
8665 /usr/include/Motif1.2 \
8666 /opt/xpm/include/X11 \
8667 /opt/GBxpm/include/ \
8668 /opt/GBxpm/X11/include/ \
8670 /usr/Motif1.2/include \
8672 /usr/openwin/include \
8676 /usr/X11R6/include \
8677 /usr/X11R6.4/include \
8678 /usr/X11R5/include \
8679 /usr/X11R4/include \
8681 /usr/include/X11R6 \
8682 /usr/include/X11R5 \
8683 /usr/include/X11R4 \
8685 /usr/local/X11R6/include \
8686 /usr/local/X11R5/include \
8687 /usr/local/X11R4/include \
8689 /usr/local/include/X11R6 \
8690 /usr/local/include/X11R5 \
8691 /usr/local/include/X11R4 \
8695 /usr/local/X11/include \
8696 /usr/local/include/X11 \
8700 /usr/XFree86/include/X11 \
8702 X:/XFree86/include \
8703 X:/XFree86/include/X11 \
8706 /usr/local/include/gtk \
8708 /usr/local/include/glib \
8711 /usr/local/include/qt \
8713 /usr/include/windows \
8715 /usr/local/include/wine \
8717 /usr/unsupported/include \
8718 /usr/athena/include \
8719 /usr/local/x11r5/include \
8720 /usr/lpp/Xamples/include \
8722 /usr/openwin/share/include \
8726 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8729 cat > confcache
<<\EOF
8730 # This file is a shell script that caches the results of configure
8731 # tests run on this system so they can be shared between configure
8732 # scripts and configure runs. It is not useful on other systems.
8733 # If it contains results you don't want to keep, you may remove or edit it.
8735 # By default, configure uses ./config.cache as the cache file,
8736 # creating it if it does not exist already. You can give configure
8737 # the --cache-file=FILE option to use a different cache file; that is
8738 # what configure does when it calls configure scripts in
8739 # subdirectories, so they share the cache.
8740 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8741 # config.status only pays attention to the cache file if you give it the
8742 # --recheck option to rerun configure.
8745 # The following way of writing the cache mishandles newlines in values,
8746 # but we know of no workaround that is simple, portable, and efficient.
8747 # So, don't put newlines in cache variables' values.
8748 # Ultrix sh set writes to stderr and can't be redirected directly,
8749 # and sets the high bit in the cache file unless we assign to the vars.
8751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8753 # `set' does not quote correctly, so add quotes (double-quote substitution
8754 # turns \\\\ into \\, and sed turns \\ into \).
8756 -e "s/'/'\\\\''/g" \
8757 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8760 # `set' quotes correctly as required by POSIX, so do not add quotes.
8761 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8764 if cmp -s $cache_file confcache
; then
8767 if test -w $cache_file; then
8768 echo "updating cache $cache_file"
8769 cat confcache
> $cache_file
8771 echo "not updating unwritable cache $cache_file"
8779 if test "$wxUSE_REGEX" != "no"; then
8780 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8781 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8782 echo "configure:8783: checking for regex.h" >&5
8783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8784 echo $ac_n "(cached) $ac_c" 1>&6
8786 cat > conftest.
$ac_ext <<EOF
8787 #line 8788 "configure"
8788 #include "confdefs.h"
8791 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8792 { (eval echo configure
:8793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8793 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8794 if test -z "$ac_err"; then
8796 eval "ac_cv_header_$ac_safe=yes"
8799 echo "configure: failed program was:" >&5
8800 cat conftest.
$ac_ext >&5
8802 eval "ac_cv_header_$ac_safe=no"
8806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8807 echo "$ac_t""yes" 1>&6
8808 for ac_func
in regcomp
8810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8811 echo "configure:8812: checking for $ac_func" >&5
8812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8813 echo $ac_n "(cached) $ac_c" 1>&6
8815 cat > conftest.
$ac_ext <<EOF
8816 #line 8817 "configure"
8817 #include "confdefs.h"
8818 /* System header to define __stub macros and hopefully few prototypes,
8819 which can conflict with char $ac_func(); below. */
8821 /* Override any gcc2 internal prototype to avoid an error. */
8822 /* We use char because int might match the return type of a gcc2
8823 builtin and then its argument prototype would still apply. */
8828 /* The GNU C library defines this for functions which it implements
8829 to always fail with ENOSYS. Some functions are actually named
8830 something starting with __ and the normal name is an alias. */
8831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8839 if { (eval echo configure
:8840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8841 eval "ac_cv_func_$ac_func=yes"
8843 echo "configure: failed program was:" >&5
8844 cat conftest.
$ac_ext >&5
8846 eval "ac_cv_func_$ac_func=no"
8851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8852 echo "$ac_t""yes" 1>&6
8853 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8854 cat >> confdefs.h
<<EOF
8855 #define $ac_tr_func 1
8859 echo "$ac_t""no" 1>&6
8864 echo "$ac_t""no" 1>&6
8868 if test "x$ac_cv_func_regcomp" != "xyes"; then
8869 if test "$wxUSE_REGEX" = "sys"; then
8870 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8873 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8876 cat >> confdefs.h
<<\EOF
8877 #define wxUSE_REGEX 1
8889 if test "$USE_WIN32" = 1 ; then
8890 for ac_hdr
in w32api.h
8892 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8894 echo "configure:8895: checking for $ac_hdr" >&5
8895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8896 echo $ac_n "(cached) $ac_c" 1>&6
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904 { (eval echo configure
:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906 if test -z "$ac_err"; then
8908 eval "ac_cv_header_$ac_safe=yes"
8911 echo "configure: failed program was:" >&5
8912 cat conftest.
$ac_ext >&5
8914 eval "ac_cv_header_$ac_safe=no"
8918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8919 echo "$ac_t""yes" 1>&6
8920 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8921 cat >> confdefs.h
<<EOF
8922 #define $ac_tr_hdr 1
8926 echo "$ac_t""no" 1>&6
8930 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8931 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8932 echo "configure:8933: checking for windows.h" >&5
8933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8934 echo $ac_n "(cached) $ac_c" 1>&6
8936 cat > conftest.
$ac_ext <<EOF
8937 #line 8938 "configure"
8938 #include "confdefs.h"
8939 #include <windows.h>
8941 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8942 { (eval echo configure
:8943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8943 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8944 if test -z "$ac_err"; then
8946 eval "ac_cv_header_$ac_safe=yes"
8949 echo "configure: failed program was:" >&5
8950 cat conftest.
$ac_ext >&5
8952 eval "ac_cv_header_$ac_safe=no"
8956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8957 echo "$ac_t""yes" 1>&6
8960 echo "$ac_t""no" 1>&6
8962 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8967 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
8968 echo "configure:8969: checking if w32api has good enough MSIE support" >&5
8969 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
8970 echo $ac_n "(cached) $ac_c" 1>&6
8973 cat > conftest.
$ac_ext <<EOF
8974 #line 8975 "configure"
8975 #include "confdefs.h"
8979 #define wxCHECK_W32API_VERSION( major, minor ) \
8980 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
8981 && ( ( __W32API_MAJOR_VERSION > (major) ) \
8982 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
8984 #if !wxCHECK_W32API_VERSION(1,1)
8985 #error You need w32api 1.1 or newer
8990 if { (eval echo configure
:8991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8993 wx_cv_w32api_win_ie
=yes
8994 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
8997 echo "configure: failed program was:" >&5
8998 cat conftest.
$ac_ext >&5
9001 wx_cv_w32api_win_ie
=no
9008 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9010 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9012 if test "$wxUSE_ODBC" = "yes" ; then
9013 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9016 if test "$wxUSE_MINGW" = 1; then
9017 LDFLAGS
="$LDFLAGS -mwindows"
9020 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9021 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9024 if test "$wxUSE_GUI" = "yes"; then
9033 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9038 if test "$wxUSE_GTK" = 1; then
9039 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9040 echo "configure:9041: checking for GTK+ version" >&5
9042 gtk_version_cached
=1
9043 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9047 gtk_version_cached
=0
9048 echo "$ac_t""""" 1>&6
9051 if test "x$wxUSE_GTK2" = "xyes"; then
9052 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9053 if test "${with_gtk_prefix+set}" = set; then
9054 withval
="$with_gtk_prefix"
9055 gtk_config_prefix
="$withval"
9057 gtk_config_prefix
=""
9060 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9061 if test "${with_gtk_exec_prefix+set}" = set; then
9062 withval
="$with_gtk_exec_prefix"
9063 gtk_config_exec_prefix
="$withval"
9065 gtk_config_exec_prefix
=""
9068 # Check whether --enable-gtktest or --disable-gtktest was given.
9069 if test "${enable_gtktest+set}" = set; then
9070 enableval
="$enable_gtktest"
9081 gtk_config_args
="$gtk_config_args gthread"
9086 if test x
$gtk_config_exec_prefix != x
; then
9087 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9088 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9089 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9092 if test x
$gtk_config_prefix != x
; then
9093 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9094 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9095 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9099 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9100 set dummy gtk
-config-2.0
; ac_word
=$2
9101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9102 echo "configure:9103: checking for $ac_word" >&5
9103 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9104 echo $ac_n "(cached) $ac_c" 1>&6
9106 case "$GTK_CONFIG_2_0" in
9108 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9111 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9114 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9116 for ac_dir
in $ac_dummy; do
9117 test -z "$ac_dir" && ac_dir
=.
9118 if test -f $ac_dir/$ac_word; then
9119 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9124 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9128 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9129 if test -n "$GTK_CONFIG_2_0"; then
9130 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9132 echo "$ac_t""no" 1>&6
9135 min_gtk_version
=1.3.1
9136 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9137 echo "configure:9138: checking for GTK - version >= $min_gtk_version" >&5
9139 if test "$GTK_CONFIG_2_0" = "no" ; then
9142 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9143 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9144 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9146 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9148 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9150 if test "x$enable_gtktest" = "xyes" ; then
9151 ac_save_CFLAGS
="$CFLAGS"
9152 ac_save_LIBS
="$LIBS"
9153 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9154 LIBS
="$GTK_LIBS $LIBS"
9156 if test "$cross_compiling" = yes; then
9157 echo $ac_n "cross compiling; assumed OK... $ac_c"
9159 cat > conftest.
$ac_ext <<EOF
9160 #line 9161 "configure"
9161 #include "confdefs.h"
9163 #include <gtk/gtk.h>
9170 int major, minor, micro;
9173 system ("touch conf.gtktest");
9175 /* HP/UX 9 (%@#!) writes to sscanf strings */
9176 tmp_version = g_strdup("$min_gtk_version");
9177 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9178 printf("%s, bad version string\n", "$min_gtk_version");
9182 if ((gtk_major_version != $gtk_config_major_version) ||
9183 (gtk_minor_version != $gtk_config_minor_version) ||
9184 (gtk_micro_version != $gtk_config_micro_version))
9186 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9187 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9188 gtk_major_version, gtk_minor_version, gtk_micro_version);
9189 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9190 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9191 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9192 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9193 printf("*** required on your system.\n");
9194 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9195 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9196 printf("*** before re-running configure\n");
9198 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9199 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9200 (gtk_minor_version != GTK_MINOR_VERSION) ||
9201 (gtk_micro_version != GTK_MICRO_VERSION))
9203 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9204 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9205 printf("*** library (version %d.%d.%d)\n",
9206 gtk_major_version, gtk_minor_version, gtk_micro_version);
9208 #endif /* defined (GTK_MAJOR_VERSION) ... */
9211 if ((gtk_major_version > major) ||
9212 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9213 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9219 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9220 gtk_major_version, gtk_minor_version, gtk_micro_version);
9221 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9222 major, minor, micro);
9223 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9225 printf("*** If you have already installed a sufficiently new version, this error\n");
9226 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9227 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9228 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9229 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9230 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9231 printf("*** so that the correct libraries are found at run-time))\n");
9238 if { (eval echo configure
:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9242 echo "configure: failed program was:" >&5
9243 cat conftest.
$ac_ext >&5
9250 CFLAGS
="$ac_save_CFLAGS"
9251 LIBS
="$ac_save_LIBS"
9254 if test "x$no_gtk" = x
; then
9255 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9258 echo "$ac_t""no" 1>&6
9259 if test "$GTK_CONFIG_2_0" = "no" ; then
9260 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9261 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9262 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9263 echo "*** full path to gtk-config-2.0."
9265 if test -f conf.gtktest
; then
9268 echo "*** Could not run GTK test program, checking why..."
9269 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9270 LIBS
="$LIBS $GTK_LIBS"
9271 cat > conftest.
$ac_ext <<EOF
9272 #line 9273 "configure"
9273 #include "confdefs.h"
9275 #include <gtk/gtk.h>
9279 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9282 if { (eval echo configure
:9283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9284 echo "*** The test program compiled, but did not run. This usually means"
9285 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9286 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9287 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9288 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9289 echo "*** is required on your system"
9291 echo "*** If you have an old version installed, it is best to remove it, although"
9292 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9294 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9295 echo "*** came with the system with the command"
9297 echo "*** rpm --erase --nodeps gtk gtk-devel"
9299 echo "configure: failed program was:" >&5
9300 cat conftest.
$ac_ext >&5
9302 echo "*** The test program failed to compile or link. See the file config.log for the"
9303 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9304 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9305 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9308 CFLAGS
="$ac_save_CFLAGS"
9309 LIBS
="$ac_save_LIBS"
9322 if test -z "$wx_cv_lib_gtk"; then
9324 if test x
$gtk_config_exec_prefix != x
; then
9325 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9326 if test x
${GTK_CONFIG+set} != xset
; then
9327 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9330 if test x
$gtk_config_prefix != x
; then
9331 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9332 if test x
${GTK_CONFIG+set} != xset
; then
9333 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9337 # Extract the first word of "gtk-config", so it can be a program name with args.
9338 set dummy gtk
-config; ac_word
=$2
9339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9340 echo "configure:9341: checking for $ac_word" >&5
9341 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 case "$GTK_CONFIG" in
9346 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9349 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9352 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9354 for ac_dir
in $ac_dummy; do
9355 test -z "$ac_dir" && ac_dir
=.
9356 if test -f $ac_dir/$ac_word; then
9357 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9362 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9366 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9367 if test -n "$GTK_CONFIG"; then
9368 echo "$ac_t""$GTK_CONFIG" 1>&6
9370 echo "$ac_t""no" 1>&6
9373 min_gtk_version
=1.2.7
9374 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9375 echo "configure:9376: checking for GTK - version >= $min_gtk_version" >&5
9377 if test "$GTK_CONFIG" != "no" ; then
9378 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9379 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9380 ac_save_CFLAGS
="$CFLAGS"
9381 ac_save_LIBS
="$LIBS"
9382 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9383 LIBS
="$LIBS $GTK_LIBS"
9384 if test "$cross_compiling" = yes; then
9385 echo $ac_n "cross compiling; assumed OK... $ac_c"
9387 cat > conftest.
$ac_ext <<EOF
9388 #line 9389 "configure"
9389 #include "confdefs.h"
9391 #include <gtk/gtk.h>
9392 #include <gtk/gtkfeatures.h>
9399 int major, minor, micro;
9401 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9402 printf("%s, bad version string\n", "$min_gtk_version");
9406 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9407 (GTK_MINOR_VERSION != gtk_minor_version) ||
9408 (GTK_MICRO_VERSION != gtk_micro_version)) {
9409 printf("Headers vs. library version mismatch!\n");
9413 if (gtk_minor_version == 1) return FALSE;
9415 return !((gtk_major_version > major) ||
9416 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9417 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9421 if { (eval echo configure
:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9425 echo "configure: failed program was:" >&5
9426 cat conftest.
$ac_ext >&5
9433 CFLAGS
="$ac_save_CFLAGS"
9434 LIBS
="$ac_save_LIBS"
9438 if test "x$no_gtk" = x
; then
9439 echo "$ac_t""yes" 1>&6
9442 echo "$ac_t""no" 1>&6
9452 if test -z "$wx_cv_lib_gtk"; then
9454 if test x
$gtk_config_exec_prefix != x
; then
9455 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9456 if test x
${GTK_CONFIG+set} != xset
; then
9457 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9460 if test x
$gtk_config_prefix != x
; then
9461 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9462 if test x
${GTK_CONFIG+set} != xset
; then
9463 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9467 # Extract the first word of "gtk-config", so it can be a program name with args.
9468 set dummy gtk
-config; ac_word
=$2
9469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9470 echo "configure:9471: checking for $ac_word" >&5
9471 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9472 echo $ac_n "(cached) $ac_c" 1>&6
9474 case "$GTK_CONFIG" in
9476 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9479 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9482 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9484 for ac_dir
in $ac_dummy; do
9485 test -z "$ac_dir" && ac_dir
=.
9486 if test -f $ac_dir/$ac_word; then
9487 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9496 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9497 if test -n "$GTK_CONFIG"; then
9498 echo "$ac_t""$GTK_CONFIG" 1>&6
9500 echo "$ac_t""no" 1>&6
9503 min_gtk_version
=1.2.3
9504 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9505 echo "configure:9506: checking for GTK - version >= $min_gtk_version" >&5
9507 if test "$GTK_CONFIG" != "no" ; then
9508 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9509 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9510 ac_save_CFLAGS
="$CFLAGS"
9511 ac_save_LIBS
="$LIBS"
9512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9513 LIBS
="$LIBS $GTK_LIBS"
9514 if test "$cross_compiling" = yes; then
9515 echo $ac_n "cross compiling; assumed OK... $ac_c"
9517 cat > conftest.
$ac_ext <<EOF
9518 #line 9519 "configure"
9519 #include "confdefs.h"
9521 #include <gtk/gtk.h>
9522 #include <gtk/gtkfeatures.h>
9529 int major, minor, micro;
9531 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9532 printf("%s, bad version string\n", "$min_gtk_version");
9536 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9537 (GTK_MINOR_VERSION != gtk_minor_version) ||
9538 (GTK_MICRO_VERSION != gtk_micro_version)) {
9539 printf("Headers vs. library version mismatch!\n");
9543 if (gtk_minor_version == 1) return FALSE;
9545 return !((gtk_major_version > major) ||
9546 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9547 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9551 if { (eval echo configure
:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9555 echo "configure: failed program was:" >&5
9556 cat conftest.
$ac_ext >&5
9563 CFLAGS
="$ac_save_CFLAGS"
9564 LIBS
="$ac_save_LIBS"
9568 if test "x$no_gtk" = x
; then
9569 echo "$ac_t""yes" 1>&6
9572 echo "$ac_t""no" 1>&6
9582 if test -z "$wx_cv_lib_gtk"; then
9585 wx_cv_cflags_gtk
=$GTK_CFLAGS
9586 wx_cv_libs_gtk
=$GTK_LIBS
9593 if test "$gtk_version_cached" = 1; then
9594 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9597 case "$wx_cv_lib_gtk" in
9605 *) { echo "configure: error:
9606 Please check that gtk-config is in path, the directory
9607 where GTK+ libraries are installed (returned by
9608 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9609 equivalent variable and GTK+ is version 1.2.3 or above.
9614 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9615 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9617 AFMINSTALL
=afminstall
9621 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9622 echo "configure:9623: checking for gdk_im_open in -lgdk" >&5
9623 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9625 echo $ac_n "(cached) $ac_c" 1>&6
9627 ac_save_LIBS
="$LIBS"
9629 cat > conftest.
$ac_ext <<EOF
9630 #line 9631 "configure"
9631 #include "confdefs.h"
9632 /* Override any gcc2 internal prototype to avoid an error. */
9633 /* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9641 if { (eval echo configure
:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9643 eval "ac_cv_lib_$ac_lib_var=yes"
9645 echo "configure: failed program was:" >&5
9646 cat conftest.
$ac_ext >&5
9648 eval "ac_cv_lib_$ac_lib_var=no"
9651 LIBS
="$ac_save_LIBS"
9654 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9655 echo "$ac_t""yes" 1>&6
9656 cat >> confdefs.h
<<\EOF
9661 echo "$ac_t""no" 1>&6
9666 if test "$wxUSE_MGL" = 1; then
9668 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9669 echo "configure:9670: checking for SciTech MGL library" >&5
9670 if test "x$MGL_ROOT" = x
; then
9671 echo "$ac_t""not found" 1>&6
9672 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9674 echo "$ac_t""$MGL_ROOT" 1>&6
9677 mgl_os
=linux
/gcc
/glibc
9680 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9681 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9685 if test "x$mgl_lib_type" = x
; then
9686 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9687 mgl_lib_type
=release
9689 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9693 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9694 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9696 AFMINSTALL
=afminstall
9701 if test "$wxUSE_WINE" = 1; then
9702 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9703 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9704 echo "configure:9705: checking for windows.h" >&5
9705 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9708 cat > conftest.
$ac_ext <<EOF
9709 #line 9710 "configure"
9710 #include "confdefs.h"
9711 #include <windows.h>
9713 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9714 { (eval echo configure
:9715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9715 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9716 if test -z "$ac_err"; then
9718 eval "ac_cv_header_$ac_safe=yes"
9721 echo "configure: failed program was:" >&5
9722 cat conftest.
$ac_ext >&5
9724 eval "ac_cv_header_$ac_safe=no"
9728 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9729 echo "$ac_t""yes" 1>&6
9732 echo "$ac_t""no" 1>&6
9734 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9740 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9741 echo "configure:9742: checking for Xpm library" >&5
9744 for ac_dir
in $SEARCH_LIB;
9746 for ac_extension
in a so sl dylib
; do
9747 if test -f "$ac_dir/libXpm.$ac_extension"; then
9748 ac_find_libraries
=$ac_dir
9754 if test "$ac_find_libraries" != "" ; then
9755 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9757 cat >> confdefs.h
<<\EOF
9758 #define wxHAVE_LIB_XPM 1
9761 echo "$ac_t""found at $ac_find_libraries" 1>&6
9763 echo "$ac_t""no" 1>&6
9764 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9768 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9769 echo "configure:9770: checking for Mesa library" >&5
9772 for ac_dir
in $SEARCH_LIB;
9774 for ac_extension
in a so sl dylib
; do
9775 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9776 ac_find_libraries
=$ac_dir
9782 if test "$ac_find_libraries" != "" ; then
9783 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9784 mesa_link
="-lMesaGL"
9785 echo "$ac_t""found at $ac_find_libraries" 1>&6
9787 { echo "configure: error: no" 1>&2; exit 1; }
9790 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9793 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9797 # If we find X, set shell vars x_includes and x_libraries to the
9798 # paths, otherwise set no_x=yes.
9799 # Uses ac_ vars as temps to allow command line to override cache and checks.
9800 # --without-x overrides everything else, but does not touch the cache.
9801 echo $ac_n "checking for X""... $ac_c" 1>&6
9802 echo "configure:9803: checking for X" >&5
9804 # Check whether --with-x or --without-x was given.
9805 if test "${with_x+set}" = set; then
9810 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9811 if test "x$with_x" = xno
; then
9812 # The user explicitly disabled X.
9815 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9816 # Both variables are already set.
9819 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9822 # One or both of the vars are not set, and there is no cached value.
9823 ac_x_includes
=NO ac_x_libraries
=NO
9825 if mkdir conftestdir
; then
9827 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9828 cat > Imakefile
<<'EOF'
9830 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9832 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9834 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9835 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9836 for ac_extension
in a so sl
; do
9837 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9838 test -f $ac_im_libdir/libX11.
$ac_extension; then
9839 ac_im_usrlibdir
=$ac_im_libdir; break
9842 # Screen out bogus values from the imake configuration. They are
9843 # bogus both because they are the default anyway, and because
9844 # using them would break gcc on systems where it needs fixed includes.
9845 case "$ac_im_incroot" in
9847 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9849 case "$ac_im_usrlibdir" in
9851 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9858 if test "$ac_x_includes" = NO
; then
9859 # Guess where to find include files, by looking for this one X11 .h file.
9860 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9862 # First, try using that file with no special directory specified.
9863 cat > conftest.
$ac_ext <<EOF
9864 #line 9865 "configure"
9865 #include "confdefs.h"
9866 #include <$x_direct_test_include>
9868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9869 { (eval echo configure
:9870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9871 if test -z "$ac_err"; then
9873 # We can compile using X headers with no special include directory.
9877 echo "configure: failed program was:" >&5
9878 cat conftest.
$ac_ext >&5
9880 # Look for the header file in a standard set of common directories.
9881 # Check X11 before X11Rn because it is often a symlink to the current release.
9884 /usr
/X
11R
6/include \
9885 /usr
/X
11R
5/include \
9886 /usr
/X
11R
4/include \
9889 /usr
/include
/X11R6 \
9890 /usr
/include
/X11R5 \
9891 /usr
/include
/X11R4 \
9893 /usr
/local
/X
11/include \
9894 /usr
/local
/X
11R
6/include \
9895 /usr
/local
/X
11R
5/include \
9896 /usr
/local
/X
11R
4/include \
9898 /usr
/local
/include
/X11 \
9899 /usr
/local
/include
/X11R6 \
9900 /usr
/local
/include
/X11R5 \
9901 /usr
/local
/include
/X11R4 \
9905 /usr
/XFree
86/include
/X11 \
9908 /usr
/local
/include \
9909 /usr
/unsupported
/include \
9910 /usr
/athena
/include \
9911 /usr
/local
/x
11r
5/include \
9912 /usr
/lpp
/Xamples
/include \
9914 /usr
/openwin
/include \
9915 /usr
/openwin
/share
/include \
9918 if test -r "$ac_dir/$x_direct_test_include"; then
9919 ac_x_includes
=$ac_dir
9925 fi # $ac_x_includes = NO
9927 if test "$ac_x_libraries" = NO
; then
9928 # Check for the libraries.
9930 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9931 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9933 # See if we find them without any special options.
9934 # Don't add to $LIBS permanently.
9935 ac_save_LIBS
="$LIBS"
9936 LIBS
="-l$x_direct_test_library $LIBS"
9937 cat > conftest.
$ac_ext <<EOF
9938 #line 9939 "configure"
9939 #include "confdefs.h"
9942 ${x_direct_test_function}()
9945 if { (eval echo configure
:9946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9947 LIBS
="$ac_save_LIBS"
9948 # We can link X programs with no special library path.
9951 echo "configure: failed program was:" >&5
9952 cat conftest.
$ac_ext >&5
9954 LIBS
="$ac_save_LIBS"
9955 # First see if replacing the include by lib works.
9956 # Check X11 before X11Rn because it is often a symlink to the current release.
9957 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9968 /usr
/local
/X
11/lib \
9969 /usr
/local
/X
11R
6/lib \
9970 /usr
/local
/X
11R
5/lib \
9971 /usr
/local
/X
11R
4/lib \
9973 /usr
/local
/lib
/X11 \
9974 /usr
/local
/lib
/X11R6 \
9975 /usr
/local
/lib
/X11R5 \
9976 /usr
/local
/lib
/X11R4 \
9980 /usr
/XFree
86/lib
/X11 \
9984 /usr
/unsupported
/lib \
9986 /usr
/local
/x
11r
5/lib \
9987 /usr
/lpp
/Xamples
/lib \
9991 /usr
/openwin
/share
/lib \
9994 for ac_extension
in a so sl
; do
9995 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9996 ac_x_libraries
=$ac_dir
10003 fi # $ac_x_libraries = NO
10005 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10006 # Didn't find X anywhere. Cache the known absence of X.
10007 ac_cv_have_x
="have_x=no"
10009 # Record where we found X for the cache.
10010 ac_cv_have_x
="have_x=yes \
10011 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10015 eval "$ac_cv_have_x"
10018 if test "$have_x" != yes; then
10019 echo "$ac_t""$have_x" 1>&6
10022 # If each of the values was on the command line, it overrides each guess.
10023 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10024 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10025 # Update the cache value to reflect the command line values.
10026 ac_cv_have_x
="have_x=yes \
10027 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10028 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10031 if test "$no_x" = yes; then
10032 # Not all programs may use this symbol, but it does not hurt to define it.
10033 cat >> confdefs.h
<<\EOF
10034 #define X_DISPLAY_MISSING 1
10037 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10039 if test -n "$x_includes"; then
10040 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10043 # It would also be nice to do this for all -L options, not just this one.
10044 if test -n "$x_libraries"; then
10045 X_LIBS
="$X_LIBS -L$x_libraries"
10046 # For Solaris; some versions of Sun CC require a space after -R and
10047 # others require no space. Words are not sufficient . . . .
10048 case "`(uname -sr) 2>/dev/null`" in
10050 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10051 echo "configure:10052: checking whether -R must be followed by a space" >&5
10052 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10053 cat > conftest.
$ac_ext <<EOF
10054 #line 10055 "configure"
10055 #include "confdefs.h"
10061 if { (eval echo configure
:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10065 echo "configure: failed program was:" >&5
10066 cat conftest.
$ac_ext >&5
10071 if test $ac_R_nospace = yes; then
10072 echo "$ac_t""no" 1>&6
10073 X_LIBS
="$X_LIBS -R$x_libraries"
10075 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10076 cat > conftest.
$ac_ext <<EOF
10077 #line 10078 "configure"
10078 #include "confdefs.h"
10084 if { (eval echo configure
:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10088 echo "configure: failed program was:" >&5
10089 cat conftest.
$ac_ext >&5
10094 if test $ac_R_space = yes; then
10095 echo "$ac_t""yes" 1>&6
10096 X_LIBS
="$X_LIBS -R $x_libraries"
10098 echo "$ac_t""neither works" 1>&6
10101 LIBS
="$ac_xsave_LIBS"
10105 # Check for system-dependent libraries X programs must link with.
10106 # Do this before checking for the system-independent R6 libraries
10107 # (-lICE), since we may need -lsocket or whatever for X linking.
10109 if test "$ISC" = yes; then
10110 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10112 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10113 # libraries were built with DECnet support. And karl@cs.umb.edu says
10114 # the Alpha needs dnet_stub (dnet does not exist).
10115 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10116 echo "configure:10117: checking for dnet_ntoa in -ldnet" >&5
10117 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10119 echo $ac_n "(cached) $ac_c" 1>&6
10121 ac_save_LIBS
="$LIBS"
10122 LIBS
="-ldnet $LIBS"
10123 cat > conftest.
$ac_ext <<EOF
10124 #line 10125 "configure"
10125 #include "confdefs.h"
10126 /* Override any gcc2 internal prototype to avoid an error. */
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10135 if { (eval echo configure
:10136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10137 eval "ac_cv_lib_$ac_lib_var=yes"
10139 echo "configure: failed program was:" >&5
10140 cat conftest.
$ac_ext >&5
10142 eval "ac_cv_lib_$ac_lib_var=no"
10145 LIBS
="$ac_save_LIBS"
10148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10149 echo "$ac_t""yes" 1>&6
10150 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10152 echo "$ac_t""no" 1>&6
10155 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10156 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10157 echo "configure:10158: checking for dnet_ntoa in -ldnet_stub" >&5
10158 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10159 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10160 echo $ac_n "(cached) $ac_c" 1>&6
10162 ac_save_LIBS
="$LIBS"
10163 LIBS
="-ldnet_stub $LIBS"
10164 cat > conftest.
$ac_ext <<EOF
10165 #line 10166 "configure"
10166 #include "confdefs.h"
10167 /* Override any gcc2 internal prototype to avoid an error. */
10168 /* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10176 if { (eval echo configure
:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10178 eval "ac_cv_lib_$ac_lib_var=yes"
10180 echo "configure: failed program was:" >&5
10181 cat conftest.
$ac_ext >&5
10183 eval "ac_cv_lib_$ac_lib_var=no"
10186 LIBS
="$ac_save_LIBS"
10189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10190 echo "$ac_t""yes" 1>&6
10191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10193 echo "$ac_t""no" 1>&6
10198 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10199 # to get the SysV transport functions.
10200 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10202 # The nsl library prevents programs from opening the X display
10203 # on Irix 5.2, according to dickey@clark.net.
10204 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10205 echo "configure:10206: checking for gethostbyname" >&5
10206 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10207 echo $ac_n "(cached) $ac_c" 1>&6
10209 cat > conftest.
$ac_ext <<EOF
10210 #line 10211 "configure"
10211 #include "confdefs.h"
10212 /* System header to define __stub macros and hopefully few prototypes,
10213 which can conflict with char gethostbyname(); below. */
10214 #include <assert.h>
10215 /* Override any gcc2 internal prototype to avoid an error. */
10216 /* We use char because int might match the return type of a gcc2
10217 builtin and then its argument prototype would still apply. */
10218 char gethostbyname();
10222 /* The GNU C library defines this for functions which it implements
10223 to always fail with ENOSYS. Some functions are actually named
10224 something starting with __ and the normal name is an alias. */
10225 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10233 if { (eval echo configure
:10234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10235 eval "ac_cv_func_gethostbyname=yes"
10237 echo "configure: failed program was:" >&5
10238 cat conftest.
$ac_ext >&5
10240 eval "ac_cv_func_gethostbyname=no"
10245 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10246 echo "$ac_t""yes" 1>&6
10249 echo "$ac_t""no" 1>&6
10252 if test $ac_cv_func_gethostbyname = no
; then
10253 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10254 echo "configure:10255: checking for gethostbyname in -lnsl" >&5
10255 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10257 echo $ac_n "(cached) $ac_c" 1>&6
10259 ac_save_LIBS
="$LIBS"
10261 cat > conftest.
$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10264 /* Override any gcc2 internal prototype to avoid an error. */
10265 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10267 char gethostbyname();
10273 if { (eval echo configure
:10274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10275 eval "ac_cv_lib_$ac_lib_var=yes"
10277 echo "configure: failed program was:" >&5
10278 cat conftest.
$ac_ext >&5
10280 eval "ac_cv_lib_$ac_lib_var=no"
10283 LIBS
="$ac_save_LIBS"
10286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10287 echo "$ac_t""yes" 1>&6
10288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10290 echo "$ac_t""no" 1>&6
10295 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10296 # socket/setsockopt and other routines are undefined under SCO ODT
10297 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10298 # on later versions), says simon@lia.di.epfl.ch: it contains
10299 # gethostby* variants that don't use the nameserver (or something).
10300 # -lsocket must be given before -lnsl if both are needed.
10301 # We assume that if connect needs -lnsl, so does gethostbyname.
10302 echo $ac_n "checking for connect""... $ac_c" 1>&6
10303 echo "configure:10304: checking for connect" >&5
10304 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10305 echo $ac_n "(cached) $ac_c" 1>&6
10307 cat > conftest.
$ac_ext <<EOF
10308 #line 10309 "configure"
10309 #include "confdefs.h"
10310 /* System header to define __stub macros and hopefully few prototypes,
10311 which can conflict with char connect(); below. */
10312 #include <assert.h>
10313 /* Override any gcc2 internal prototype to avoid an error. */
10314 /* We use char because int might match the return type of a gcc2
10315 builtin and then its argument prototype would still apply. */
10320 /* The GNU C library defines this for functions which it implements
10321 to always fail with ENOSYS. Some functions are actually named
10322 something starting with __ and the normal name is an alias. */
10323 #if defined (__stub_connect) || defined (__stub___connect)
10331 if { (eval echo configure
:10332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10333 eval "ac_cv_func_connect=yes"
10335 echo "configure: failed program was:" >&5
10336 cat conftest.
$ac_ext >&5
10338 eval "ac_cv_func_connect=no"
10343 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10344 echo "$ac_t""yes" 1>&6
10347 echo "$ac_t""no" 1>&6
10350 if test $ac_cv_func_connect = no
; then
10351 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10352 echo "configure:10353: checking for connect in -lsocket" >&5
10353 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10355 echo $ac_n "(cached) $ac_c" 1>&6
10357 ac_save_LIBS
="$LIBS"
10358 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10359 cat > conftest.
$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10362 /* Override any gcc2 internal prototype to avoid an error. */
10363 /* We use char because int might match the return type of a gcc2
10364 builtin and then its argument prototype would still apply. */
10371 if { (eval echo configure
:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10373 eval "ac_cv_lib_$ac_lib_var=yes"
10375 echo "configure: failed program was:" >&5
10376 cat conftest.
$ac_ext >&5
10378 eval "ac_cv_lib_$ac_lib_var=no"
10381 LIBS
="$ac_save_LIBS"
10384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10385 echo "$ac_t""yes" 1>&6
10386 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10388 echo "$ac_t""no" 1>&6
10393 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10394 echo $ac_n "checking for remove""... $ac_c" 1>&6
10395 echo "configure:10396: checking for remove" >&5
10396 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10399 cat > conftest.
$ac_ext <<EOF
10400 #line 10401 "configure"
10401 #include "confdefs.h"
10402 /* System header to define __stub macros and hopefully few prototypes,
10403 which can conflict with char remove(); below. */
10404 #include <assert.h>
10405 /* Override any gcc2 internal prototype to avoid an error. */
10406 /* We use char because int might match the return type of a gcc2
10407 builtin and then its argument prototype would still apply. */
10412 /* The GNU C library defines this for functions which it implements
10413 to always fail with ENOSYS. Some functions are actually named
10414 something starting with __ and the normal name is an alias. */
10415 #if defined (__stub_remove) || defined (__stub___remove)
10423 if { (eval echo configure
:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10425 eval "ac_cv_func_remove=yes"
10427 echo "configure: failed program was:" >&5
10428 cat conftest.
$ac_ext >&5
10430 eval "ac_cv_func_remove=no"
10435 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10436 echo "$ac_t""yes" 1>&6
10439 echo "$ac_t""no" 1>&6
10442 if test $ac_cv_func_remove = no
; then
10443 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10444 echo "configure:10445: checking for remove in -lposix" >&5
10445 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10447 echo $ac_n "(cached) $ac_c" 1>&6
10449 ac_save_LIBS
="$LIBS"
10450 LIBS
="-lposix $LIBS"
10451 cat > conftest.
$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10454 /* Override any gcc2 internal prototype to avoid an error. */
10455 /* We use char because int might match the return type of a gcc2
10456 builtin and then its argument prototype would still apply. */
10463 if { (eval echo configure
:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10465 eval "ac_cv_lib_$ac_lib_var=yes"
10467 echo "configure: failed program was:" >&5
10468 cat conftest.
$ac_ext >&5
10470 eval "ac_cv_lib_$ac_lib_var=no"
10473 LIBS
="$ac_save_LIBS"
10476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10477 echo "$ac_t""yes" 1>&6
10478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10480 echo "$ac_t""no" 1>&6
10485 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10486 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10487 echo "configure:10488: checking for shmat" >&5
10488 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10489 echo $ac_n "(cached) $ac_c" 1>&6
10491 cat > conftest.
$ac_ext <<EOF
10492 #line 10493 "configure"
10493 #include "confdefs.h"
10494 /* System header to define __stub macros and hopefully few prototypes,
10495 which can conflict with char shmat(); below. */
10496 #include <assert.h>
10497 /* Override any gcc2 internal prototype to avoid an error. */
10498 /* We use char because int might match the return type of a gcc2
10499 builtin and then its argument prototype would still apply. */
10504 /* The GNU C library defines this for functions which it implements
10505 to always fail with ENOSYS. Some functions are actually named
10506 something starting with __ and the normal name is an alias. */
10507 #if defined (__stub_shmat) || defined (__stub___shmat)
10515 if { (eval echo configure
:10516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10517 eval "ac_cv_func_shmat=yes"
10519 echo "configure: failed program was:" >&5
10520 cat conftest.
$ac_ext >&5
10522 eval "ac_cv_func_shmat=no"
10527 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10528 echo "$ac_t""yes" 1>&6
10531 echo "$ac_t""no" 1>&6
10534 if test $ac_cv_func_shmat = no
; then
10535 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10536 echo "configure:10537: checking for shmat in -lipc" >&5
10537 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10538 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10539 echo $ac_n "(cached) $ac_c" 1>&6
10541 ac_save_LIBS
="$LIBS"
10543 cat > conftest.
$ac_ext <<EOF
10544 #line 10545 "configure"
10545 #include "confdefs.h"
10546 /* Override any gcc2 internal prototype to avoid an error. */
10547 /* We use char because int might match the return type of a gcc2
10548 builtin and then its argument prototype would still apply. */
10555 if { (eval echo configure
:10556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10557 eval "ac_cv_lib_$ac_lib_var=yes"
10559 echo "configure: failed program was:" >&5
10560 cat conftest.
$ac_ext >&5
10562 eval "ac_cv_lib_$ac_lib_var=no"
10565 LIBS
="$ac_save_LIBS"
10568 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10569 echo "$ac_t""yes" 1>&6
10570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10572 echo "$ac_t""no" 1>&6
10578 # Check for libraries that X11R6 Xt/Xaw programs need.
10579 ac_save_LDFLAGS
="$LDFLAGS"
10580 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10581 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10582 # check for ICE first), but we must link in the order -lSM -lICE or
10583 # we get undefined symbols. So assume we have SM if we have ICE.
10584 # These have to be linked with before -lX11, unlike the other
10585 # libraries we check for below, so use a different variable.
10586 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10587 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10588 echo "configure:10589: checking for IceConnectionNumber in -lICE" >&5
10589 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10591 echo $ac_n "(cached) $ac_c" 1>&6
10593 ac_save_LIBS
="$LIBS"
10594 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10598 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10601 char IceConnectionNumber();
10604 IceConnectionNumber()
10607 if { (eval echo configure
:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10609 eval "ac_cv_lib_$ac_lib_var=yes"
10611 echo "configure: failed program was:" >&5
10612 cat conftest.
$ac_ext >&5
10614 eval "ac_cv_lib_$ac_lib_var=no"
10617 LIBS
="$ac_save_LIBS"
10620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10621 echo "$ac_t""yes" 1>&6
10622 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10624 echo "$ac_t""no" 1>&6
10627 LDFLAGS
="$ac_save_LDFLAGS"
10631 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10632 LDFLAGS
="$LDFLAGS $X_LIBS"
10634 if test "$wxUSE_MOTIF" = 1; then
10635 if test "$no_x" = "yes"; then
10636 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10639 GUI_TK_LIBRARY
="$X_LIBS"
10640 TOOLKIT_INCLUDE
="$X_CFLAGS"
10641 AFMINSTALL
=afminstall
10642 COMPILED_X_PROGRAM
=0
10644 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10645 echo "configure:10646: checking for Motif/Lesstif headers" >&5
10648 for ac_dir
in $SEARCH_INCLUDE;
10650 if test -f "$ac_dir/Xm/Xm.h"; then
10651 ac_find_includes
=$ac_dir
10656 if test "$ac_find_includes" != "" ; then
10657 echo "$ac_t""found $ac_find_includes" 1>&6
10659 cat > conftest.
$ac_ext <<EOF
10660 #line 10661 "configure"
10661 #include "confdefs.h"
10668 version = xmUseVersion;
10672 if { (eval echo configure
:10673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10675 echo "$ac_t""found in default search path" 1>&6
10676 COMPILED_X_PROGRAM
=1
10679 echo "configure: failed program was:" >&5
10680 cat conftest.
$ac_ext >&5
10683 echo "$ac_t""no" 1>&6
10684 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10691 if test "$COMPILED_X_PROGRAM" = 0; then
10692 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10693 echo "configure:10694: checking for Motif/Lesstif library" >&5
10696 for ac_dir
in $SEARCH_LIB;
10698 for ac_extension
in a so sl dylib
; do
10699 if test -f "$ac_dir/libXm.$ac_extension"; then
10700 ac_find_libraries
=$ac_dir
10706 if test "$ac_find_libraries" != "" ; then
10708 ac_path_to_include
=$ac_find_includes
10709 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10711 if test $result = 0; then
10712 ac_path_to_include
=""
10714 ac_path_to_include
="-I$ac_find_includes"
10718 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10720 if test $result = 0; then
10723 ac_path_to_link
="-L$ac_find_libraries"
10727 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10728 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10729 echo "$ac_t""found at $ac_find_libraries" 1>&6
10731 cat > conftest.
$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10740 version = xmUseVersion;
10744 if { (eval echo configure
:10745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10747 echo "$ac_t""found in default search path" 1>&6
10748 COMPILED_X_PROGRAM
=1
10751 echo "configure: failed program was:" >&5
10752 cat conftest.
$ac_ext >&5
10755 echo "$ac_t""no" 1>&6
10756 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10765 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10766 echo "configure:10767: checking for Xpm library" >&5
10769 for ac_dir
in $SEARCH_LIB;
10771 for ac_extension
in a so sl dylib
; do
10772 if test -f "$ac_dir/libXpm.$ac_extension"; then
10773 ac_find_libraries
=$ac_dir
10779 if test "$ac_find_libraries" != "" ; then
10781 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10783 if test $result = 0; then
10786 ac_path_to_link
="-L$ac_find_libraries"
10789 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10791 cat >> confdefs.h
<<\EOF
10792 #define wxHAVE_LIB_XPM 1
10795 echo "$ac_t""found at $ac_find_libraries" 1>&6
10797 cat > conftest.
$ac_ext <<EOF
10798 #line 10799 "configure"
10799 #include "confdefs.h"
10801 #include <X11/xpm.h>
10806 version = XpmLibraryVersion();
10810 if { (eval echo configure
:10811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10814 cat >> confdefs.h
<<\EOF
10815 #define wxHAVE_LIB_XPM 1
10818 echo "$ac_t""found in default search path" 1>&6
10819 COMPILED_X_PROGRAM
=0
10822 echo "configure: failed program was:" >&5
10823 cat conftest.
$ac_ext >&5
10826 echo "$ac_t""no" 1>&6
10827 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10834 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10835 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10840 if test "$wxUSE_MAC" = 1; then
10845 if test "$wxUSE_PM" = 1; then
10850 if test "$TOOLKIT" = "PM" ; then
10853 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10856 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10858 if test "$wxUSE_UNIVERSAL" = "yes"; then
10859 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10860 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10861 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10862 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10865 ALL_OBJECTS
="\$(GUIOBJS)"
10868 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10870 if test "$TOOLKIT" != "MSW"; then
10871 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10874 if test "$wxUSE_HTML" = "yes"; then
10875 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10878 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10879 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10881 if test "$wxUSE_LIBJPEG" = "yes" ; then
10882 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10884 if test "$wxUSE_LIBTIFF" = "yes" ; then
10885 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10887 if test "$wxUSE_LIBPNG" = "yes" ; then
10888 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10890 if test "$wxUSE_FREETYPE" = "yes" ; then
10891 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10894 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10895 RPM_SPEC
="wx\$(TOOLKIT).spec"
10897 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10898 DISTDIR
="wx\$(TOOLKIT)"
10904 if test "$USE_WIN32" = 1 ; then
10905 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
10906 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
10910 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
10911 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
10914 PORT_FILES
="\${top_srcdir}/src/files.lst"
10915 RPM_FILES
="src/rpmfiles.lst"
10916 RPM_SPEC
="wxBase.spec"
10918 GUIDIST
="BASE_DIST"
10922 if test "x$REGEX_INCLUDE" != "x" ; then
10923 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10925 if test "$wxUSE_ZLIB" = "yes" ; then
10926 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10929 if test "$wxUSE_OPENGL" = "yes"; then
10930 if test "$wxUSE_MAC" = 1; then
10931 cat >> confdefs.h
<<\EOF
10932 #define wxUSE_OPENGL 1
10935 cat >> confdefs.h
<<\EOF
10936 #define wxUSE_GLCANVAS 1
10939 OPENGL_LIBS
="-framework OpenGL -framework AGL"
10940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
10942 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10943 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10944 echo "configure:10945: checking for GL/gl.h" >&5
10945 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10946 echo $ac_n "(cached) $ac_c" 1>&6
10948 cat > conftest.
$ac_ext <<EOF
10949 #line 10950 "configure"
10950 #include "confdefs.h"
10953 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10954 { (eval echo configure
:10955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10955 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10956 if test -z "$ac_err"; then
10958 eval "ac_cv_header_$ac_safe=yes"
10961 echo "configure: failed program was:" >&5
10962 cat conftest.
$ac_ext >&5
10964 eval "ac_cv_header_$ac_safe=no"
10968 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10969 echo "$ac_t""yes" 1>&6
10971 cat >> confdefs.h
<<\EOF
10972 #define wxUSE_OPENGL 1
10975 cat >> confdefs.h
<<\EOF
10976 #define wxUSE_GLCANVAS 1
10979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
10980 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
10981 echo "configure:10982: checking for glFlush in -lGL" >&5
10982 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
10983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10984 echo $ac_n "(cached) $ac_c" 1>&6
10986 ac_save_LIBS
="$LIBS"
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* Override any gcc2 internal prototype to avoid an error. */
10992 /* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
11000 if { (eval echo configure
:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11002 eval "ac_cv_lib_$ac_lib_var=yes"
11004 echo "configure: failed program was:" >&5
11005 cat conftest.
$ac_ext >&5
11007 eval "ac_cv_lib_$ac_lib_var=no"
11010 LIBS
="$ac_save_LIBS"
11013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11016 OPENGL_LIBS
="-lGL -lGLU"
11019 echo "$ac_t""no" 1>&6
11021 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11022 echo "configure:11023: checking for glFlush in -lMesaGL" >&5
11023 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11027 ac_save_LIBS
="$LIBS"
11028 LIBS
="-lMesaGL $LIBS"
11029 cat > conftest.
$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11032 /* Override any gcc2 internal prototype to avoid an error. */
11033 /* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11041 if { (eval echo configure
:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11043 eval "ac_cv_lib_$ac_lib_var=yes"
11045 echo "configure: failed program was:" >&5
11046 cat conftest.
$ac_ext >&5
11048 eval "ac_cv_lib_$ac_lib_var=no"
11051 LIBS
="$ac_save_LIBS"
11054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11055 echo "$ac_t""yes" 1>&6
11057 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11060 echo "$ac_t""no" 1>&6
11068 echo "$ac_t""no" 1>&6
11075 if test -z "$TOOLKIT_VPATH" ; then
11076 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11079 if test -n "$TOOLKIT" ; then
11080 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11083 if test "$wxUSE_CYGWIN" = 1 ; then
11084 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11088 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11090 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11093 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11094 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11096 if test "$cross_compiling" = "yes"; then
11097 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11098 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11101 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11102 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11104 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11106 if test "$wxUSE_OPENGL" = "yes"; then
11107 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11110 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11111 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11113 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11114 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11116 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11117 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11118 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11119 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11121 WX_RESOURCES_DARWIN
="lib${WX_LIBRARY}.rsrc"
11125 if test "$wxUSE_SHARED" = "yes"; then
11127 if test "$wxUSE_OPENGL" = "yes"; then
11128 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11129 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11131 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11132 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11135 if test "$GCC" = "yes"; then
11139 SHARED_LD
="${CXX} -shared -o"
11143 if test "$GCC" != "yes"; then
11144 LDFLAGS
="-L/usr/lib"
11146 SHARED_LD
="${CXX} -b -o"
11153 if test "$GCC" != "yes"; then
11154 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11155 echo "configure:11156: checking for Intel compiler" >&5
11156 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11157 echo $ac_n "(cached) $ac_c" 1>&6
11160 cat > conftest.
$ac_ext <<EOF
11161 #line 11162 "configure"
11162 #include "confdefs.h"
11166 #ifndef __INTEL_COMPILER
11172 if { (eval echo configure
:11173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11176 echo "configure: failed program was:" >&5
11177 cat conftest.
$ac_ext >&5
11186 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11187 if test "$wx_cv_prog_icc" = "yes"; then
11192 if test "$wxUSE_SONAME" = "yes" ; then
11193 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11194 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11195 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11200 if test "$GCC" = yes ; then
11201 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11203 SHARED_LD
="${CXX} -G -o"
11209 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11210 CPPFLAGS
="${CPPFLAGS} -fno-common"
11211 SHARED_LD
="${CXX} -dynamiclib -o"
11212 PIC_FLAG
="-dynamic -fPIC"
11214 if test "$wxUSE_MAC" = 1 ; then
11215 WX_ALL
="${WX_ALL} lib${WX_LIBRARY}.r"
11216 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
11217 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
11218 CXXFLAGS
="${CXXFLAGS} -cpp-precomp"
11219 # Extract the first word of "Rez", so it can be a program name with args.
11220 set dummy Rez
; ac_word
=$2
11221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11222 echo "configure:11223: checking for $ac_word" >&5
11223 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11224 echo $ac_n "(cached) $ac_c" 1>&6
11226 if test -n "$RESCOMP"; then
11227 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11229 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11231 for ac_dir
in $ac_dummy; do
11232 test -z "$ac_dir" && ac_dir
=.
11233 if test -f $ac_dir/$ac_word; then
11234 ac_cv_prog_RESCOMP
="Rez"
11239 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11242 RESCOMP
="$ac_cv_prog_RESCOMP"
11243 if test -n "$RESCOMP"; then
11244 echo "$ac_t""$RESCOMP" 1>&6
11246 echo "$ac_t""no" 1>&6
11249 # Extract the first word of "Derez", so it can be a program name with args.
11250 set dummy Derez
; ac_word
=$2
11251 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11252 echo "configure:11253: checking for $ac_word" >&5
11253 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11254 echo $ac_n "(cached) $ac_c" 1>&6
11256 if test -n "$DEREZ"; then
11257 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11259 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11261 for ac_dir
in $ac_dummy; do
11262 test -z "$ac_dir" && ac_dir
=.
11263 if test -f $ac_dir/$ac_word; then
11264 ac_cv_prog_DEREZ
="Derez"
11269 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11272 DEREZ
="$ac_cv_prog_DEREZ"
11273 if test -n "$DEREZ"; then
11274 echo "$ac_t""$DEREZ" 1>&6
11276 echo "$ac_t""no" 1>&6
11279 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11280 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11285 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11289 echo "configure: warning: Shared libs unsupported for $host_alias -- forcing static build." 1>&2
11294 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11295 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11296 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11297 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11298 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11299 if test "$wxUSE_OPENGL" = "yes"; then
11300 WX_ALL_INSTALLED
="preinstall_gl"
11301 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11303 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11308 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11309 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11313 SHARED_LD
="${LD} -shared -o"
11316 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11318 *-*-irix5* | *-*-irix6* | \
11325 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11328 if test "x$WX_TARGET_LIBRARY" = "x"; then
11329 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11330 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11333 WX_TARGET_LIBRARY_TYPE
="so"
11336 if test "$wxUSE_SHARED" = "no"; then
11338 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11339 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11342 if test "$wxUSE_OPENGL" = "yes"; then
11343 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11344 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11346 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11349 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11350 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11352 WX_TARGET_LIBRARY_TYPE
="a"
11356 for ac_hdr
in strings.h
11358 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11360 echo "configure:11361: checking for $ac_hdr" >&5
11361 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11362 echo $ac_n "(cached) $ac_c" 1>&6
11364 cat > conftest.
$ac_ext <<EOF
11365 #line 11366 "configure"
11366 #include "confdefs.h"
11369 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11370 { (eval echo configure
:11371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11371 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11372 if test -z "$ac_err"; then
11374 eval "ac_cv_header_$ac_safe=yes"
11377 echo "configure: failed program was:" >&5
11378 cat conftest.
$ac_ext >&5
11380 eval "ac_cv_header_$ac_safe=no"
11384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11385 echo "$ac_t""yes" 1>&6
11386 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11387 cat >> confdefs.h
<<EOF
11388 #define $ac_tr_hdr 1
11392 echo "$ac_t""no" 1>&6
11396 for ac_hdr
in stdlib.h
11398 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11400 echo "configure:11401: checking for $ac_hdr" >&5
11401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11402 echo $ac_n "(cached) $ac_c" 1>&6
11404 cat > conftest.
$ac_ext <<EOF
11405 #line 11406 "configure"
11406 #include "confdefs.h"
11409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11410 { (eval echo configure
:11411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11412 if test -z "$ac_err"; then
11414 eval "ac_cv_header_$ac_safe=yes"
11417 echo "configure: failed program was:" >&5
11418 cat conftest.
$ac_ext >&5
11420 eval "ac_cv_header_$ac_safe=no"
11424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11426 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11427 cat >> confdefs.h
<<EOF
11428 #define $ac_tr_hdr 1
11432 echo "$ac_t""no" 1>&6
11436 for ac_hdr
in unistd.h
11438 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11440 echo "configure:11441: checking for $ac_hdr" >&5
11441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11442 echo $ac_n "(cached) $ac_c" 1>&6
11444 cat > conftest.
$ac_ext <<EOF
11445 #line 11446 "configure"
11446 #include "confdefs.h"
11449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11450 { (eval echo configure
:11451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11452 if test -z "$ac_err"; then
11454 eval "ac_cv_header_$ac_safe=yes"
11457 echo "configure: failed program was:" >&5
11458 cat conftest.
$ac_ext >&5
11460 eval "ac_cv_header_$ac_safe=no"
11464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11465 echo "$ac_t""yes" 1>&6
11466 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11467 cat >> confdefs.h
<<EOF
11468 #define $ac_tr_hdr 1
11472 echo "$ac_t""no" 1>&6
11476 for ac_hdr
in wchar.h
11478 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11480 echo "configure:11481: checking for $ac_hdr" >&5
11481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11482 echo $ac_n "(cached) $ac_c" 1>&6
11484 cat > conftest.
$ac_ext <<EOF
11485 #line 11486 "configure"
11486 #include "confdefs.h"
11489 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11490 { (eval echo configure
:11491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11491 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11492 if test -z "$ac_err"; then
11494 eval "ac_cv_header_$ac_safe=yes"
11497 echo "configure: failed program was:" >&5
11498 cat conftest.
$ac_ext >&5
11500 eval "ac_cv_header_$ac_safe=no"
11504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11505 echo "$ac_t""yes" 1>&6
11506 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11507 cat >> confdefs.h
<<EOF
11508 #define $ac_tr_hdr 1
11512 echo "$ac_t""no" 1>&6
11516 for ac_hdr
in wcstr.h
11518 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11519 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11520 echo "configure:11521: checking for $ac_hdr" >&5
11521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11524 cat > conftest.
$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11529 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11530 { (eval echo configure
:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11531 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11532 if test -z "$ac_err"; then
11534 eval "ac_cv_header_$ac_safe=yes"
11537 echo "configure: failed program was:" >&5
11538 cat conftest.
$ac_ext >&5
11540 eval "ac_cv_header_$ac_safe=no"
11544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11545 echo "$ac_t""yes" 1>&6
11546 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11547 cat >> confdefs.h
<<EOF
11548 #define $ac_tr_hdr 1
11552 echo "$ac_t""no" 1>&6
11556 for ac_hdr
in fnmatch.h
11558 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11560 echo "configure:11561: checking for $ac_hdr" >&5
11561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11562 echo $ac_n "(cached) $ac_c" 1>&6
11564 cat > conftest.
$ac_ext <<EOF
11565 #line 11566 "configure"
11566 #include "confdefs.h"
11569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11570 { (eval echo configure
:11571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11572 if test -z "$ac_err"; then
11574 eval "ac_cv_header_$ac_safe=yes"
11577 echo "configure: failed program was:" >&5
11578 cat conftest.
$ac_ext >&5
11580 eval "ac_cv_header_$ac_safe=no"
11584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11587 cat >> confdefs.h
<<EOF
11588 #define $ac_tr_hdr 1
11592 echo "$ac_t""no" 1>&6
11596 for ac_hdr
in iconv.h
11598 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11600 echo "configure:11601: checking for $ac_hdr" >&5
11601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11602 echo $ac_n "(cached) $ac_c" 1>&6
11604 cat > conftest.
$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11610 { (eval echo configure
:11611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11612 if test -z "$ac_err"; then
11614 eval "ac_cv_header_$ac_safe=yes"
11617 echo "configure: failed program was:" >&5
11618 cat conftest.
$ac_ext >&5
11620 eval "ac_cv_header_$ac_safe=no"
11624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11625 echo "$ac_t""yes" 1>&6
11626 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11627 cat >> confdefs.h
<<EOF
11628 #define $ac_tr_hdr 1
11632 echo "$ac_t""no" 1>&6
11636 for ac_hdr
in langinfo.h
11638 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11639 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11640 echo "configure:11641: checking for $ac_hdr" >&5
11641 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11644 cat > conftest.
$ac_ext <<EOF
11645 #line 11646 "configure"
11646 #include "confdefs.h"
11649 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11650 { (eval echo configure
:11651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11651 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11652 if test -z "$ac_err"; then
11654 eval "ac_cv_header_$ac_safe=yes"
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 eval "ac_cv_header_$ac_safe=no"
11664 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11665 echo "$ac_t""yes" 1>&6
11666 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11667 cat >> confdefs.h
<<EOF
11668 #define $ac_tr_hdr 1
11672 echo "$ac_t""no" 1>&6
11677 if test "$wxUSE_GUI" = "yes"; then
11678 if test "$wxUSE_UNIX" = "yes"; then
11679 for ac_hdr
in X
11/XKBlib.h
11681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11683 echo "configure:11684: checking for $ac_hdr" >&5
11684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11685 echo $ac_n "(cached) $ac_c" 1>&6
11687 cat > conftest.
$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11693 { (eval echo configure
:11694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11695 if test -z "$ac_err"; then
11697 eval "ac_cv_header_$ac_safe=yes"
11700 echo "configure: failed program was:" >&5
11701 cat conftest.
$ac_ext >&5
11703 eval "ac_cv_header_$ac_safe=no"
11707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11710 cat >> confdefs.h
<<EOF
11711 #define $ac_tr_hdr 1
11715 echo "$ac_t""no" 1>&6
11723 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11724 echo "configure:11725: checking for ANSI C header files" >&5
11725 if eval "test \"`echo '$''{'ac_cv_header_stdc'+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 <stdlib.h>
11732 #include <stdarg.h>
11733 #include <string.h>
11736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11737 { (eval echo configure
:11738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11739 if test -z "$ac_err"; then
11741 ac_cv_header_stdc
=yes
11744 echo "configure: failed program was:" >&5
11745 cat conftest.
$ac_ext >&5
11747 ac_cv_header_stdc
=no
11751 if test $ac_cv_header_stdc = yes; then
11752 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11753 cat > conftest.
$ac_ext <<EOF
11754 #line 11755 "configure"
11755 #include "confdefs.h"
11756 #include <string.h>
11758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 egrep "memchr" >/dev
/null
2>&1; then
11763 ac_cv_header_stdc
=no
11769 if test $ac_cv_header_stdc = yes; then
11770 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 #include <stdlib.h>
11776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11777 egrep "free" >/dev
/null
2>&1; then
11781 ac_cv_header_stdc
=no
11787 if test $ac_cv_header_stdc = yes; then
11788 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11789 if test "$cross_compiling" = yes; then
11792 cat > conftest.
$ac_ext <<EOF
11793 #line 11794 "configure"
11794 #include "confdefs.h"
11796 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11797 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11799 int main () { int i; for (i = 0; i < 256; i++)
11800 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11804 if { (eval echo configure
:11805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11808 echo "configure: failed program was:" >&5
11809 cat conftest.
$ac_ext >&5
11811 ac_cv_header_stdc
=no
11819 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11820 if test $ac_cv_header_stdc = yes; then
11821 cat >> confdefs.h
<<\EOF
11822 #define STDC_HEADERS 1
11827 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11828 echo "configure:11829: checking for mode_t" >&5
11829 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11830 echo $ac_n "(cached) $ac_c" 1>&6
11832 cat > conftest.
$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11835 #include <sys/types.h>
11837 #include <stdlib.h>
11838 #include <stddef.h>
11841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11842 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11844 ac_cv_type_mode_t
=yes
11847 ac_cv_type_mode_t
=no
11852 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11853 if test $ac_cv_type_mode_t = no
; then
11854 cat >> confdefs.h
<<\EOF
11860 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11861 echo "configure:11862: checking for off_t" >&5
11862 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11863 echo $ac_n "(cached) $ac_c" 1>&6
11865 cat > conftest.
$ac_ext <<EOF
11866 #line 11867 "configure"
11867 #include "confdefs.h"
11868 #include <sys/types.h>
11870 #include <stdlib.h>
11871 #include <stddef.h>
11874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11875 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11877 ac_cv_type_off_t
=yes
11880 ac_cv_type_off_t
=no
11885 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11886 if test $ac_cv_type_off_t = no
; then
11887 cat >> confdefs.h
<<\EOF
11893 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11894 echo "configure:11895: checking for pid_t" >&5
11895 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11896 echo $ac_n "(cached) $ac_c" 1>&6
11898 cat > conftest.
$ac_ext <<EOF
11899 #line 11900 "configure"
11900 #include "confdefs.h"
11901 #include <sys/types.h>
11903 #include <stdlib.h>
11904 #include <stddef.h>
11907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11908 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11910 ac_cv_type_pid_t
=yes
11913 ac_cv_type_pid_t
=no
11918 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11919 if test $ac_cv_type_pid_t = no
; then
11920 cat >> confdefs.h
<<\EOF
11926 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11927 echo "configure:11928: checking for size_t" >&5
11928 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11929 echo $ac_n "(cached) $ac_c" 1>&6
11931 cat > conftest.
$ac_ext <<EOF
11932 #line 11933 "configure"
11933 #include "confdefs.h"
11934 #include <sys/types.h>
11936 #include <stdlib.h>
11937 #include <stddef.h>
11940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11941 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11943 ac_cv_type_size_t
=yes
11946 ac_cv_type_size_t
=no
11951 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11952 if test $ac_cv_type_size_t = no
; then
11953 cat >> confdefs.h
<<\EOF
11954 #define size_t unsigned
11959 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11960 echo "configure:11961: checking for uid_t in sys/types.h" >&5
11961 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11964 cat > conftest.
$ac_ext <<EOF
11965 #line 11966 "configure"
11966 #include "confdefs.h"
11967 #include <sys/types.h>
11969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11970 egrep "uid_t" >/dev
/null
2>&1; then
11972 ac_cv_type_uid_t
=yes
11975 ac_cv_type_uid_t
=no
11981 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11982 if test $ac_cv_type_uid_t = no
; then
11983 cat >> confdefs.h
<<\EOF
11987 cat >> confdefs.h
<<\EOF
11994 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11995 echo "configure:11996: checking for wchar_t" >&5
11996 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11997 echo $ac_n "(cached) $ac_c" 1>&6
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12008 ws = L"Hello, world!";
12012 if { (eval echo configure
:12013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12014 wx_cv_type_wchar_t
=yes
12016 echo "configure: failed program was:" >&5
12017 cat conftest.
$ac_ext >&5
12019 cat > conftest.
$ac_ext <<EOF
12020 #line 12021 "configure"
12021 #include "confdefs.h"
12022 #include <stdlib.h>
12027 ws = L"Hello, world!";
12031 if { (eval echo configure
:12032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12033 wx_cv_type_wchar_t
=yes
12035 echo "configure: failed program was:" >&5
12036 cat conftest.
$ac_ext >&5
12038 wx_cv_type_wchar_t
=no
12047 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12049 if test "$wx_cv_type_wchar_t" = "yes"; then
12050 cat >> confdefs.h
<<\EOF
12051 #define wxUSE_WCHAR_T 1
12058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12059 ac_cpp
='$CXXCPP $CPPFLAGS'
12060 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12061 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12062 cross_compiling
=$ac_cv_prog_cxx_cross
12064 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12065 echo "configure:12066: checking if size_t is unsigned int" >&5
12066 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12069 cat > conftest.
$ac_ext <<EOF
12070 #line 12071 "configure"
12071 #include "confdefs.h"
12072 #include <stddef.h>
12077 struct Foo { void foo(size_t); void foo(unsigned int); };
12083 if { (eval echo configure
:12084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12085 wx_cv_size_t_is_uint
=no
12087 echo "configure: failed program was:" >&5
12088 cat conftest.
$ac_ext >&5
12090 wx_cv_size_t_is_uint
=yes
12097 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12099 if test "$wx_cv_size_t_is_uint" = "yes"; then
12100 cat >> confdefs.h
<<\EOF
12101 #define wxSIZE_T_IS_UINT 1
12105 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12106 echo "configure:12107: checking if size_t is unsigned long" >&5
12107 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12108 echo $ac_n "(cached) $ac_c" 1>&6
12110 cat > conftest.
$ac_ext <<EOF
12111 #line 12112 "configure"
12112 #include "confdefs.h"
12113 #include <stddef.h>
12118 struct Foo { void foo(size_t); void foo(unsigned long); };
12124 if { (eval echo configure
:12125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12126 wx_cv_size_t_is_ulong
=no
12128 echo "configure: failed program was:" >&5
12129 cat conftest.
$ac_ext >&5
12131 wx_cv_size_t_is_ulong
=yes
12138 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12140 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12141 cat >> confdefs.h
<<\EOF
12142 #define wxSIZE_T_IS_ULONG 1
12149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12150 ac_cpp
='$CPP $CPPFLAGS'
12151 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12152 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12153 cross_compiling
=$ac_cv_prog_cc_cross
12157 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12158 echo "configure:12159: checking for pw_gecos in struct passwd" >&5
12159 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12163 cat > conftest.
$ac_ext <<EOF
12164 #line 12165 "configure"
12165 #include "confdefs.h"
12175 if { (eval echo configure
:12176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12178 wx_cv_struct_pw_gecos
=yes
12181 echo "configure: failed program was:" >&5
12182 cat conftest.
$ac_ext >&5
12185 wx_cv_struct_pw_gecos
=no
12194 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12196 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12197 cat >> confdefs.h
<<\EOF
12198 #define HAVE_PW_GECOS 1
12204 echo $ac_n "checking for working const""... $ac_c" 1>&6
12205 echo "configure:12206: checking for working const" >&5
12206 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12209 cat > conftest.
$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12215 /* Ultrix mips cc rejects this. */
12216 typedef int charset[2]; const charset x;
12217 /* SunOS 4.1.1 cc rejects this. */
12218 char const *const *ccp;
12220 /* NEC SVR4.0.2 mips cc rejects this. */
12221 struct point {int x, y;};
12222 static struct point const zero = {0,0};
12223 /* AIX XL C 1.02.0.0 rejects this.
12224 It does not let you subtract one const X* pointer from another in an arm
12225 of an if-expression whose if-part is not a constant expression */
12226 const char *g = "string";
12227 ccp = &g + (g ? g-g : 0);
12228 /* HPUX 7.0 cc rejects these. */
12231 ccp = (char const *const *) p;
12232 { /* SCO 3.2v4 cc rejects this. */
12234 char const *s = 0 ? (char *) 0 : (char const *) 0;
12238 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12239 int x[] = {25, 17};
12240 const int *foo = &x[0];
12243 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12244 typedef const int *iptr;
12248 { /* AIX XL C 1.02.0.0 rejects this saying
12249 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12250 struct s { int j; const int *ap[3]; };
12251 struct s *b; b->j = 5;
12253 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12254 const int foo = 10;
12259 if { (eval echo configure
:12260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12263 echo "configure: failed program was:" >&5
12264 cat conftest.
$ac_ext >&5
12271 echo "$ac_t""$ac_cv_c_const" 1>&6
12272 if test $ac_cv_c_const = no
; then
12273 cat >> confdefs.h
<<\EOF
12279 echo $ac_n "checking for inline""... $ac_c" 1>&6
12280 echo "configure:12281: checking for inline" >&5
12281 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12285 for ac_kw
in inline __inline__ __inline
; do
12286 cat > conftest.
$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12294 if { (eval echo configure
:12295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12296 ac_cv_c_inline
=$ac_kw; break
12298 echo "configure: failed program was:" >&5
12299 cat conftest.
$ac_ext >&5
12306 echo "$ac_t""$ac_cv_c_inline" 1>&6
12307 case "$ac_cv_c_inline" in
12309 no
) cat >> confdefs.h
<<\EOF
12313 *) cat >> confdefs.h
<<EOF
12314 #define inline $ac_cv_c_inline
12320 echo $ac_n "checking size of char""... $ac_c" 1>&6
12321 echo "configure:12322: checking size of char" >&5
12322 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12325 if test "$cross_compiling" = yes; then
12326 ac_cv_sizeof_char
=1
12328 cat > conftest.
$ac_ext <<EOF
12329 #line 12330 "configure"
12330 #include "confdefs.h"
12334 FILE *f=fopen("conftestval", "w");
12336 fprintf(f, "%d\n", sizeof(char));
12340 if { (eval echo configure
:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12342 ac_cv_sizeof_char
=`cat conftestval`
12344 echo "configure: failed program was:" >&5
12345 cat conftest.
$ac_ext >&5
12347 ac_cv_sizeof_char
=0
12353 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12354 cat >> confdefs.h
<<EOF
12355 #define SIZEOF_CHAR $ac_cv_sizeof_char
12359 echo $ac_n "checking size of short""... $ac_c" 1>&6
12360 echo "configure:12361: checking size of short" >&5
12361 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12362 echo $ac_n "(cached) $ac_c" 1>&6
12364 if test "$cross_compiling" = yes; then
12365 ac_cv_sizeof_short
=2
12367 cat > conftest.
$ac_ext <<EOF
12368 #line 12369 "configure"
12369 #include "confdefs.h"
12373 FILE *f=fopen("conftestval", "w");
12375 fprintf(f, "%d\n", sizeof(short));
12379 if { (eval echo configure
:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12381 ac_cv_sizeof_short
=`cat conftestval`
12383 echo "configure: failed program was:" >&5
12384 cat conftest.
$ac_ext >&5
12386 ac_cv_sizeof_short
=0
12392 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12393 cat >> confdefs.h
<<EOF
12394 #define SIZEOF_SHORT $ac_cv_sizeof_short
12398 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12399 echo "configure:12400: checking size of int *" >&5
12400 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12403 if test "$cross_compiling" = yes; then
12404 ac_cv_sizeof_int_p
=4
12406 cat > conftest.
$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12412 FILE *f=fopen("conftestval", "w");
12414 fprintf(f, "%d\n", sizeof(int *));
12418 if { (eval echo configure
:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12420 ac_cv_sizeof_int_p
=`cat conftestval`
12422 echo "configure: failed program was:" >&5
12423 cat conftest.
$ac_ext >&5
12425 ac_cv_sizeof_int_p
=0
12431 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12432 cat >> confdefs.h
<<EOF
12433 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12437 echo $ac_n "checking size of int""... $ac_c" 1>&6
12438 echo "configure:12439: checking size of int" >&5
12439 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12440 echo $ac_n "(cached) $ac_c" 1>&6
12442 if test "$cross_compiling" = yes; then
12445 cat > conftest.
$ac_ext <<EOF
12446 #line 12447 "configure"
12447 #include "confdefs.h"
12451 FILE *f=fopen("conftestval", "w");
12453 fprintf(f, "%d\n", sizeof(int));
12457 if { (eval echo configure
:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12459 ac_cv_sizeof_int
=`cat conftestval`
12461 echo "configure: failed program was:" >&5
12462 cat conftest.
$ac_ext >&5
12470 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12471 cat >> confdefs.h
<<EOF
12472 #define SIZEOF_INT $ac_cv_sizeof_int
12476 echo $ac_n "checking size of long""... $ac_c" 1>&6
12477 echo "configure:12478: checking size of long" >&5
12478 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12479 echo $ac_n "(cached) $ac_c" 1>&6
12481 if test "$cross_compiling" = yes; then
12482 ac_cv_sizeof_long
=4
12484 cat > conftest.
$ac_ext <<EOF
12485 #line 12486 "configure"
12486 #include "confdefs.h"
12490 FILE *f=fopen("conftestval", "w");
12492 fprintf(f, "%d\n", sizeof(long));
12496 if { (eval echo configure
:12497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12498 ac_cv_sizeof_long
=`cat conftestval`
12500 echo "configure: failed program was:" >&5
12501 cat conftest.
$ac_ext >&5
12503 ac_cv_sizeof_long
=0
12509 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12510 cat >> confdefs.h
<<EOF
12511 #define SIZEOF_LONG $ac_cv_sizeof_long
12515 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12516 echo "configure:12517: checking size of long long" >&5
12517 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12518 echo $ac_n "(cached) $ac_c" 1>&6
12520 if test "$cross_compiling" = yes; then
12521 ac_cv_sizeof_long_long
=0
12523 cat > conftest.
$ac_ext <<EOF
12524 #line 12525 "configure"
12525 #include "confdefs.h"
12529 FILE *f=fopen("conftestval", "w");
12531 fprintf(f, "%d\n", sizeof(long long));
12535 if { (eval echo configure
:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12537 ac_cv_sizeof_long_long
=`cat conftestval`
12539 echo "configure: failed program was:" >&5
12540 cat conftest.
$ac_ext >&5
12542 ac_cv_sizeof_long_long
=0
12548 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12549 cat >> confdefs.h
<<EOF
12550 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12555 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12556 echo "configure:12557: checking size of wchar_t" >&5
12557 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12558 echo $ac_n "(cached) $ac_c" 1>&6
12561 if test "$cross_compiling" = yes; then
12562 wx_cv_sizeof_wchar_t
=4
12565 cat > conftest.
$ac_ext <<EOF
12566 #line 12567 "configure"
12567 #include "confdefs.h"
12569 #ifdef HAVE_WCHAR_H
12570 # include <wchar.h>
12572 #ifdef HAVE_STDLIB_H
12573 # include <stdlib.h>
12578 FILE *f=fopen("conftestval", "w");
12580 fprintf(f, "%i", sizeof(wchar_t));
12585 if { (eval echo configure
:12586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12587 wx_cv_sizeof_wchar_t
=`cat conftestval`
12589 echo "configure: failed program was:" >&5
12590 cat conftest.
$ac_ext >&5
12592 wx_cv_sizeof_wchar_t
=0
12600 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12602 cat >> confdefs.h
<<EOF
12603 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12607 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12608 echo "configure:12609: checking whether byte ordering is bigendian" >&5
12609 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12610 echo $ac_n "(cached) $ac_c" 1>&6
12612 ac_cv_c_bigendian
=unknown
12613 # See if sys/param.h defines the BYTE_ORDER macro.
12614 cat > conftest.
$ac_ext <<EOF
12615 #line 12616 "configure"
12616 #include "confdefs.h"
12617 #include <sys/types.h>
12618 #include <sys/param.h>
12621 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12622 bogus endian macros
12626 if { (eval echo configure
:12627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12628 # It does; now see whether it defined to BIG_ENDIAN or not.
12629 cat > conftest.
$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12632 #include <sys/types.h>
12633 #include <sys/param.h>
12636 #if BYTE_ORDER != BIG_ENDIAN
12641 if { (eval echo configure
:12642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12643 ac_cv_c_bigendian
=yes
12645 echo "configure: failed program was:" >&5
12646 cat conftest.
$ac_ext >&5
12648 ac_cv_c_bigendian
=no
12652 echo "configure: failed program was:" >&5
12653 cat conftest.
$ac_ext >&5
12656 if test $ac_cv_c_bigendian = unknown
; then
12657 if test "$cross_compiling" = yes; then
12658 ac_cv_c_bigendian
=unknown
12660 cat > conftest.
$ac_ext <<EOF
12661 #line 12662 "configure"
12662 #include "confdefs.h"
12664 /* Are we little or big endian? From Harbison&Steele. */
12668 char c[sizeof (long)];
12671 exit (u.c[sizeof (long) - 1] == 1);
12674 if { (eval echo configure
:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12676 ac_cv_c_bigendian
=no
12678 echo "configure: failed program was:" >&5
12679 cat conftest.
$ac_ext >&5
12681 ac_cv_c_bigendian
=yes
12689 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12690 if test $ac_cv_c_bigendian = unknown
; then
12691 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
12693 if test $ac_cv_c_bigendian = yes; then
12694 cat >> confdefs.h
<<\EOF
12695 #define WORDS_BIGENDIAN 1
12701 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12702 echo "configure:12703: checking how to run the C++ preprocessor" >&5
12703 if test -z "$CXXCPP"; then
12704 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12705 echo $ac_n "(cached) $ac_c" 1>&6
12708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709 ac_cpp
='$CXXCPP $CPPFLAGS'
12710 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712 cross_compiling
=$ac_cv_prog_cxx_cross
12713 CXXCPP
="${CXX-g++} -E"
12714 cat > conftest.
$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12717 #include <stdlib.h>
12719 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12720 { (eval echo configure
:12721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12721 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12722 if test -z "$ac_err"; then
12726 echo "configure: failed program was:" >&5
12727 cat conftest.
$ac_ext >&5
12732 ac_cv_prog_CXXCPP
="$CXXCPP"
12734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12735 ac_cpp
='$CXXCPP $CPPFLAGS'
12736 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12737 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12738 cross_compiling
=$ac_cv_prog_cxx_cross
12741 CXXCPP
="$ac_cv_prog_CXXCPP"
12742 echo "$ac_t""$CXXCPP" 1>&6
12745 if test "$cross_compiling" = "yes"; then
12746 cat >> confdefs.h
<<\EOF
12747 #define wxUSE_IOSTREAMH 1
12753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12754 ac_cpp
='$CXXCPP $CPPFLAGS'
12755 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12756 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12757 cross_compiling
=$ac_cv_prog_cxx_cross
12760 for ac_hdr
in iostream
12762 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12764 echo "configure:12765: checking for $ac_hdr" >&5
12765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12766 echo $ac_n "(cached) $ac_c" 1>&6
12768 cat > conftest.
$ac_ext <<EOF
12769 #line 12770 "configure"
12770 #include "confdefs.h"
12773 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12774 { (eval echo configure
:12775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12775 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12776 if test -z "$ac_err"; then
12778 eval "ac_cv_header_$ac_safe=yes"
12781 echo "configure: failed program was:" >&5
12782 cat conftest.
$ac_ext >&5
12784 eval "ac_cv_header_$ac_safe=no"
12788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12789 echo "$ac_t""yes" 1>&6
12790 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12791 cat >> confdefs.h
<<EOF
12792 #define $ac_tr_hdr 1
12796 echo "$ac_t""no" 1>&6
12801 if test "$ac_cv_header_iostream" = "yes" ; then
12804 cat >> confdefs.h
<<\EOF
12805 #define wxUSE_IOSTREAMH 1
12811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12812 ac_cpp
='$CPP $CPPFLAGS'
12813 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12814 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12815 cross_compiling
=$ac_cv_prog_cc_cross
12821 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12822 echo "configure:12823: checking if C++ compiler supports bool" >&5
12823 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12824 echo $ac_n "(cached) $ac_c" 1>&6
12829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12830 ac_cpp
='$CXXCPP $CPPFLAGS'
12831 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12832 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12833 cross_compiling
=$ac_cv_prog_cxx_cross
12836 cat > conftest.
$ac_ext <<EOF
12837 #line 12838 "configure"
12838 #include "confdefs.h"
12849 if { (eval echo configure
:12850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12855 echo "configure: failed program was:" >&5
12856 cat conftest.
$ac_ext >&5
12866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12867 ac_cpp
='$CPP $CPPFLAGS'
12868 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12869 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12870 cross_compiling
=$ac_cv_prog_cc_cross
12875 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12877 if test "$wx_cv_cpp_bool" = "yes"; then
12878 cat >> confdefs.h
<<\EOF
12879 #define HAVE_BOOL 1
12886 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12887 echo "configure:12888: checking for wcslen in -lc" >&5
12888 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12890 echo $ac_n "(cached) $ac_c" 1>&6
12892 ac_save_LIBS
="$LIBS"
12894 cat > conftest.
$ac_ext <<EOF
12895 #line 12896 "configure"
12896 #include "confdefs.h"
12897 /* Override any gcc2 internal prototype to avoid an error. */
12898 /* We use char because int might match the return type of a gcc2
12899 builtin and then its argument prototype would still apply. */
12906 if { (eval echo configure
:12907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12908 eval "ac_cv_lib_$ac_lib_var=yes"
12910 echo "configure: failed program was:" >&5
12911 cat conftest.
$ac_ext >&5
12913 eval "ac_cv_lib_$ac_lib_var=no"
12916 LIBS
="$ac_save_LIBS"
12919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12920 echo "$ac_t""yes" 1>&6
12922 cat >> confdefs.h
<<\EOF
12923 #define HAVE_WCSLEN 1
12929 echo "$ac_t""no" 1>&6
12931 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12932 echo "configure:12933: checking for wcslen in -lw" >&5
12933 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12935 echo $ac_n "(cached) $ac_c" 1>&6
12937 ac_save_LIBS
="$LIBS"
12939 cat > conftest.
$ac_ext <<EOF
12940 #line 12941 "configure"
12941 #include "confdefs.h"
12942 /* Override any gcc2 internal prototype to avoid an error. */
12943 /* We use char because int might match the return type of a gcc2
12944 builtin and then its argument prototype would still apply. */
12951 if { (eval echo configure
:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12953 eval "ac_cv_lib_$ac_lib_var=yes"
12955 echo "configure: failed program was:" >&5
12956 cat conftest.
$ac_ext >&5
12958 eval "ac_cv_lib_$ac_lib_var=no"
12961 LIBS
="$ac_save_LIBS"
12964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12965 echo "$ac_t""yes" 1>&6
12967 cat >> confdefs.h
<<\EOF
12968 #define HAVE_WCSLEN 1
12974 echo "$ac_t""no" 1>&6
12976 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12977 echo "configure:12978: checking for wcslen in -lmsvcrt" >&5
12978 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12980 echo $ac_n "(cached) $ac_c" 1>&6
12982 ac_save_LIBS
="$LIBS"
12983 LIBS
="-lmsvcrt $LIBS"
12984 cat > conftest.
$ac_ext <<EOF
12985 #line 12986 "configure"
12986 #include "confdefs.h"
12987 /* Override any gcc2 internal prototype to avoid an error. */
12988 /* We use char because int might match the return type of a gcc2
12989 builtin and then its argument prototype would still apply. */
12996 if { (eval echo configure
:12997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12998 eval "ac_cv_lib_$ac_lib_var=yes"
13000 echo "configure: failed program was:" >&5
13001 cat conftest.
$ac_ext >&5
13003 eval "ac_cv_lib_$ac_lib_var=no"
13006 LIBS
="$ac_save_LIBS"
13009 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13010 echo "$ac_t""yes" 1>&6
13012 cat >> confdefs.h
<<\EOF
13013 #define HAVE_WCSLEN 1
13019 echo "$ac_t""no" 1>&6
13029 for ac_func
in wcsrtombs
13031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13032 echo "configure:13033: checking for $ac_func" >&5
13033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13036 cat > conftest.
$ac_ext <<EOF
13037 #line 13038 "configure"
13038 #include "confdefs.h"
13039 /* System header to define __stub macros and hopefully few prototypes,
13040 which can conflict with char $ac_func(); below. */
13041 #include <assert.h>
13042 /* Override any gcc2 internal prototype to avoid an error. */
13043 /* We use char because int might match the return type of a gcc2
13044 builtin and then its argument prototype would still apply. */
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13060 if { (eval echo configure
:13061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13062 eval "ac_cv_func_$ac_func=yes"
13064 echo "configure: failed program was:" >&5
13065 cat conftest.
$ac_ext >&5
13067 eval "ac_cv_func_$ac_func=no"
13072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13073 echo "$ac_t""yes" 1>&6
13074 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13075 cat >> confdefs.h
<<EOF
13076 #define $ac_tr_func 1
13080 echo "$ac_t""no" 1>&6
13085 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13086 echo "configure:13087: checking for vprintf" >&5
13087 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13088 echo $ac_n "(cached) $ac_c" 1>&6
13090 cat > conftest.
$ac_ext <<EOF
13091 #line 13092 "configure"
13092 #include "confdefs.h"
13093 /* System header to define __stub macros and hopefully few prototypes,
13094 which can conflict with char vprintf(); below. */
13095 #include <assert.h>
13096 /* Override any gcc2 internal prototype to avoid an error. */
13097 /* We use char because int might match the return type of a gcc2
13098 builtin and then its argument prototype would still apply. */
13103 /* The GNU C library defines this for functions which it implements
13104 to always fail with ENOSYS. Some functions are actually named
13105 something starting with __ and the normal name is an alias. */
13106 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13114 if { (eval echo configure
:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13116 eval "ac_cv_func_vprintf=yes"
13118 echo "configure: failed program was:" >&5
13119 cat conftest.
$ac_ext >&5
13121 eval "ac_cv_func_vprintf=no"
13126 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13127 echo "$ac_t""yes" 1>&6
13128 cat >> confdefs.h
<<\EOF
13129 #define HAVE_VPRINTF 1
13133 echo "$ac_t""no" 1>&6
13136 if test "$ac_cv_func_vprintf" != yes; then
13137 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13138 echo "configure:13139: checking for _doprnt" >&5
13139 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13140 echo $ac_n "(cached) $ac_c" 1>&6
13142 cat > conftest.
$ac_ext <<EOF
13143 #line 13144 "configure"
13144 #include "confdefs.h"
13145 /* System header to define __stub macros and hopefully few prototypes,
13146 which can conflict with char _doprnt(); below. */
13147 #include <assert.h>
13148 /* Override any gcc2 internal prototype to avoid an error. */
13149 /* We use char because int might match the return type of a gcc2
13150 builtin and then its argument prototype would still apply. */
13155 /* The GNU C library defines this for functions which it implements
13156 to always fail with ENOSYS. Some functions are actually named
13157 something starting with __ and the normal name is an alias. */
13158 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13166 if { (eval echo configure
:13167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13168 eval "ac_cv_func__doprnt=yes"
13170 echo "configure: failed program was:" >&5
13171 cat conftest.
$ac_ext >&5
13173 eval "ac_cv_func__doprnt=no"
13178 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13179 echo "$ac_t""yes" 1>&6
13180 cat >> confdefs.h
<<\EOF
13181 #define HAVE_DOPRNT 1
13185 echo "$ac_t""no" 1>&6
13195 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13196 echo "configure:13197: checking for vsnprintf" >&5
13197 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13198 echo $ac_n "(cached) $ac_c" 1>&6
13201 cat > conftest.
$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13206 #include <stdarg.h>
13210 int wx_test_vsnprintf(const char *, ...);
13212 wx_test_vsnprintf("%s");
13216 int wx_test_vsnprintf(const char *fmt, ...)
13221 va_start(argp, fmt);
13222 vsnprintf(s, 42, fmt, argp);
13227 if { (eval echo configure
:13228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13230 wx_cv_func_vsnprintf
=yes
13233 echo "configure: failed program was:" >&5
13234 cat conftest.
$ac_ext >&5
13237 cat > conftest.
$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13242 #include <stdarg.h>
13246 int wx_test_vsnprintf(const char *, ...);
13248 wx_test_vsnprintf("%s");
13252 int wx_test_vsnprintf(const char *fmt, ...)
13257 va_start(argp, fmt);
13258 _vsnprintf(s, 42, fmt, argp);
13263 if { (eval echo configure
:13264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13266 wx_cv_func_vsnprintf
=yes
13269 echo "configure: failed program was:" >&5
13270 cat conftest.
$ac_ext >&5
13273 wx_cv_func_vsnprintf
=no
13283 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13285 if test "$wx_cv_func_vsnprintf" = yes; then
13286 cat >> confdefs.h
<<\EOF
13287 #define HAVE_VSNPRINTF 1
13291 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13294 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13295 echo "configure:13296: checking for vsscanf" >&5
13296 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13297 echo $ac_n "(cached) $ac_c" 1>&6
13300 cat > conftest.
$ac_ext <<EOF
13301 #line 13302 "configure"
13302 #include "confdefs.h"
13305 #include <stdarg.h>
13309 int wx_test_vsscanf(const char *, ...);
13311 wx_test_vsscanf("%d");
13315 int wx_test_vsscanf(const char *fmt, ...)
13318 va_start(argp, fmt);
13319 vsscanf("42", fmt, argp);
13324 if { (eval echo configure
:13325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13327 wx_cv_func_vsscanf
=yes
13330 echo "configure: failed program was:" >&5
13331 cat conftest.
$ac_ext >&5
13334 wx_cv_func_vsscanf
=no
13341 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13343 if test "$wx_cv_func_vsscanf" = yes; then
13344 cat >> confdefs.h
<<\EOF
13345 #define HAVE_VSSCANF 1
13350 if test "$TOOLKIT" != "MSW"; then
13355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13356 ac_cpp
='$CXXCPP $CPPFLAGS'
13357 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13358 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13359 cross_compiling
=$ac_cv_prog_cxx_cross
13361 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13362 echo "configure:13363: checking if iconv() takes char**" >&5
13363 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13364 echo $ac_n "(cached) $ac_c" 1>&6
13367 cat > conftest.
$ac_ext <<EOF
13368 #line 13369 "configure"
13369 #include "confdefs.h"
13373 char **inbuf, **outbuf;
13375 size_t insz, outsz;
13376 iconv(cd, inbuf, &insz, outbuf, &outsz);
13380 if { (eval echo configure
:13381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13382 wx_cv_iconv_takes_char
=yes
13384 echo "configure: failed program was:" >&5
13385 cat conftest.
$ac_ext >&5
13387 wx_cv_iconv_takes_char
=no
13393 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13395 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13396 ac_cpp
='$CPP $CPPFLAGS'
13397 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13398 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13399 cross_compiling
=$ac_cv_prog_cc_cross
13401 if test "$wx_cv_iconv_takes_char" = yes ; then
13402 cat >> confdefs.h
<<\EOF
13403 #define WX_ICONV_TAKES_CHAR 1
13409 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13410 for ac_func
in sigaction
13412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13413 echo "configure:13414: checking for $ac_func" >&5
13414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13415 echo $ac_n "(cached) $ac_c" 1>&6
13417 cat > conftest.
$ac_ext <<EOF
13418 #line 13419 "configure"
13419 #include "confdefs.h"
13420 /* System header to define __stub macros and hopefully few prototypes,
13421 which can conflict with char $ac_func(); below. */
13422 #include <assert.h>
13423 /* Override any gcc2 internal prototype to avoid an error. */
13424 /* We use char because int might match the return type of a gcc2
13425 builtin and then its argument prototype would still apply. */
13430 /* The GNU C library defines this for functions which it implements
13431 to always fail with ENOSYS. Some functions are actually named
13432 something starting with __ and the normal name is an alias. */
13433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13441 if { (eval echo configure
:13442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13443 eval "ac_cv_func_$ac_func=yes"
13445 echo "configure: failed program was:" >&5
13446 cat conftest.
$ac_ext >&5
13448 eval "ac_cv_func_$ac_func=no"
13453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13454 echo "$ac_t""yes" 1>&6
13455 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13456 cat >> confdefs.h
<<EOF
13457 #define $ac_tr_func 1
13461 echo "$ac_t""no" 1>&6
13466 if test "$ac_cv_func_sigaction" = "no"; then
13467 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13468 wxUSE_ON_FATAL_EXCEPTION
=no
13471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13474 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13475 ac_cpp
='$CXXCPP $CPPFLAGS'
13476 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13477 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13478 cross_compiling
=$ac_cv_prog_cxx_cross
13481 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13482 echo "configure:13483: checking for sa_handler type" >&5
13483 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13484 echo $ac_n "(cached) $ac_c" 1>&6
13487 cat > conftest.
$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13490 #include <signal.h>
13493 extern void testSigHandler(int);
13495 struct sigaction sa;
13496 sa.sa_handler = testSigHandler;
13500 if { (eval echo configure
:13501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13503 wx_cv_type_sa_handler
=int
13506 echo "configure: failed program was:" >&5
13507 cat conftest.
$ac_ext >&5
13510 wx_cv_type_sa_handler
=void
13517 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13521 ac_cpp
='$CPP $CPPFLAGS'
13522 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13523 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13524 cross_compiling
=$ac_cv_prog_cc_cross
13527 cat >> confdefs.h
<<EOF
13528 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13534 for ac_func
in vfork
13536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537 echo "configure:13538: checking for $ac_func" >&5
13538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13541 cat > conftest.
$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13544 /* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546 #include <assert.h>
13547 /* Override any gcc2 internal prototype to avoid an error. */
13548 /* We use char because int might match the return type of a gcc2
13549 builtin and then its argument prototype would still apply. */
13554 /* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13565 if { (eval echo configure
:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13567 eval "ac_cv_func_$ac_func=yes"
13569 echo "configure: failed program was:" >&5
13570 cat conftest.
$ac_ext >&5
13572 eval "ac_cv_func_$ac_func=no"
13577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13579 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13580 cat >> confdefs.h
<<EOF
13581 #define $ac_tr_func 1
13585 echo "$ac_t""no" 1>&6
13590 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13591 echo "configure:13592: checking for statfs" >&5
13592 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13593 echo $ac_n "(cached) $ac_c" 1>&6
13595 cat > conftest.
$ac_ext <<EOF
13596 #line 13597 "configure"
13597 #include "confdefs.h"
13599 #include <sys/vfs.h>
13612 if { (eval echo configure
:13613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13615 wx_cv_func_statfs
=yes
13618 echo "configure: failed program was:" >&5
13619 cat conftest.
$ac_ext >&5
13622 wx_cv_func_statfs
=no
13630 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13632 if test "$wx_cv_func_statfs" = "yes"; then
13633 cat >> confdefs.h
<<\EOF
13634 #define HAVE_STATFS 1
13638 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13641 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13642 for ac_func
in fcntl flock
13644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13645 echo "configure:13646: checking for $ac_func" >&5
13646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13647 echo $ac_n "(cached) $ac_c" 1>&6
13649 cat > conftest.
$ac_ext <<EOF
13650 #line 13651 "configure"
13651 #include "confdefs.h"
13652 /* System header to define __stub macros and hopefully few prototypes,
13653 which can conflict with char $ac_func(); below. */
13654 #include <assert.h>
13655 /* Override any gcc2 internal prototype to avoid an error. */
13656 /* We use char because int might match the return type of a gcc2
13657 builtin and then its argument prototype would still apply. */
13662 /* The GNU C library defines this for functions which it implements
13663 to always fail with ENOSYS. Some functions are actually named
13664 something starting with __ and the normal name is an alias. */
13665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13673 if { (eval echo configure
:13674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13675 eval "ac_cv_func_$ac_func=yes"
13677 echo "configure: failed program was:" >&5
13678 cat conftest.
$ac_ext >&5
13680 eval "ac_cv_func_$ac_func=no"
13685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13686 echo "$ac_t""yes" 1>&6
13687 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13688 cat >> confdefs.h
<<EOF
13689 #define $ac_tr_func 1
13693 echo "$ac_t""no" 1>&6
13698 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13699 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13700 wxUSE_SNGLINST_CHECKER
=no
13704 for ac_func
in timegm
13706 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13707 echo "configure:13708: checking for $ac_func" >&5
13708 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13711 cat > conftest.
$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 /* System header to define __stub macros and hopefully few prototypes,
13715 which can conflict with char $ac_func(); below. */
13716 #include <assert.h>
13717 /* Override any gcc2 internal prototype to avoid an error. */
13718 /* We use char because int might match the return type of a gcc2
13719 builtin and then its argument prototype would still apply. */
13724 /* The GNU C library defines this for functions which it implements
13725 to always fail with ENOSYS. Some functions are actually named
13726 something starting with __ and the normal name is an alias. */
13727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13735 if { (eval echo configure
:13736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13737 eval "ac_cv_func_$ac_func=yes"
13739 echo "configure: failed program was:" >&5
13740 cat conftest.
$ac_ext >&5
13742 eval "ac_cv_func_$ac_func=no"
13747 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13750 cat >> confdefs.h
<<EOF
13751 #define $ac_tr_func 1
13755 echo "$ac_t""no" 1>&6
13760 for ac_func
in putenv setenv
13762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13763 echo "configure:13764: checking for $ac_func" >&5
13764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13765 echo $ac_n "(cached) $ac_c" 1>&6
13767 cat > conftest.
$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13770 /* System header to define __stub macros and hopefully few prototypes,
13771 which can conflict with char $ac_func(); below. */
13772 #include <assert.h>
13773 /* Override any gcc2 internal prototype to avoid an error. */
13774 /* We use char because int might match the return type of a gcc2
13775 builtin and then its argument prototype would still apply. */
13780 /* The GNU C library defines this for functions which it implements
13781 to always fail with ENOSYS. Some functions are actually named
13782 something starting with __ and the normal name is an alias. */
13783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13791 if { (eval echo configure
:13792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13793 eval "ac_cv_func_$ac_func=yes"
13795 echo "configure: failed program was:" >&5
13796 cat conftest.
$ac_ext >&5
13798 eval "ac_cv_func_$ac_func=no"
13803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13806 cat >> confdefs.h
<<EOF
13807 #define $ac_tr_func 1
13811 echo "$ac_t""no" 1>&6
13816 HAVE_SOME_SLEEP_FUNC
=0
13817 if test "$USE_BEOS" = 1; then
13818 cat >> confdefs.h
<<\EOF
13819 #define HAVE_SLEEP 1
13822 HAVE_SOME_SLEEP_FUNC
=1
13825 if test "$USE_DARWIN" = 1; then
13826 cat >> confdefs.h
<<\EOF
13827 #define HAVE_USLEEP 1
13830 HAVE_SOME_SLEEP_FUNC
=1
13833 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13835 for ac_func
in nanosleep
13837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13838 echo "configure:13839: checking for $ac_func" >&5
13839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13840 echo $ac_n "(cached) $ac_c" 1>&6
13842 cat > conftest.
$ac_ext <<EOF
13843 #line 13844 "configure"
13844 #include "confdefs.h"
13845 /* System header to define __stub macros and hopefully few prototypes,
13846 which can conflict with char $ac_func(); below. */
13847 #include <assert.h>
13848 /* Override any gcc2 internal prototype to avoid an error. */
13849 /* We use char because int might match the return type of a gcc2
13850 builtin and then its argument prototype would still apply. */
13855 /* The GNU C library defines this for functions which it implements
13856 to always fail with ENOSYS. Some functions are actually named
13857 something starting with __ and the normal name is an alias. */
13858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13866 if { (eval echo configure
:13867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13868 eval "ac_cv_func_$ac_func=yes"
13870 echo "configure: failed program was:" >&5
13871 cat conftest.
$ac_ext >&5
13873 eval "ac_cv_func_$ac_func=no"
13878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13879 echo "$ac_t""yes" 1>&6
13880 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13881 cat >> confdefs.h
<<EOF
13882 #define $ac_tr_func 1
13884 cat >> confdefs.h
<<\EOF
13885 #define HAVE_NANOSLEEP 1
13889 echo "$ac_t""no" 1>&6
13890 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13891 echo "configure:13892: checking for nanosleep in -lposix4" >&5
13892 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13896 ac_save_LIBS
="$LIBS"
13897 LIBS
="-lposix4 $LIBS"
13898 cat > conftest.
$ac_ext <<EOF
13899 #line 13900 "configure"
13900 #include "confdefs.h"
13901 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13910 if { (eval echo configure
:13911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13912 eval "ac_cv_lib_$ac_lib_var=yes"
13914 echo "configure: failed program was:" >&5
13915 cat conftest.
$ac_ext >&5
13917 eval "ac_cv_lib_$ac_lib_var=no"
13920 LIBS
="$ac_save_LIBS"
13923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13924 echo "$ac_t""yes" 1>&6
13926 cat >> confdefs.h
<<\EOF
13927 #define HAVE_NANOSLEEP 1
13930 POSIX4_LINK
="-lposix4"
13933 echo "$ac_t""no" 1>&6
13935 for ac_func
in usleep
13937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13938 echo "configure:13939: checking for $ac_func" >&5
13939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13940 echo $ac_n "(cached) $ac_c" 1>&6
13942 cat > conftest.
$ac_ext <<EOF
13943 #line 13944 "configure"
13944 #include "confdefs.h"
13945 /* System header to define __stub macros and hopefully few prototypes,
13946 which can conflict with char $ac_func(); below. */
13947 #include <assert.h>
13948 /* Override any gcc2 internal prototype to avoid an error. */
13949 /* We use char because int might match the return type of a gcc2
13950 builtin and then its argument prototype would still apply. */
13955 /* The GNU C library defines this for functions which it implements
13956 to always fail with ENOSYS. Some functions are actually named
13957 something starting with __ and the normal name is an alias. */
13958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13966 if { (eval echo configure
:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13968 eval "ac_cv_func_$ac_func=yes"
13970 echo "configure: failed program was:" >&5
13971 cat conftest.
$ac_ext >&5
13973 eval "ac_cv_func_$ac_func=no"
13978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13979 echo "$ac_t""yes" 1>&6
13980 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13981 cat >> confdefs.h
<<EOF
13982 #define $ac_tr_func 1
13984 cat >> confdefs.h
<<\EOF
13985 #define HAVE_USLEEP 1
13989 echo "$ac_t""no" 1>&6
13990 echo "configure: warning: wxSleep() function will not work" 1>&2
14006 for ac_func
in uname gethostname
14008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14009 echo "configure:14010: checking for $ac_func" >&5
14010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14011 echo $ac_n "(cached) $ac_c" 1>&6
14013 cat > conftest.
$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14016 /* System header to define __stub macros and hopefully few prototypes,
14017 which can conflict with char $ac_func(); below. */
14018 #include <assert.h>
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 /* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14026 /* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14037 if { (eval echo configure
:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14039 eval "ac_cv_func_$ac_func=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.
$ac_ext >&5
14044 eval "ac_cv_func_$ac_func=no"
14049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14052 cat >> confdefs.h
<<EOF
14053 #define $ac_tr_func 1
14057 echo "$ac_t""no" 1>&6
14064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065 ac_cpp
='$CXXCPP $CPPFLAGS'
14066 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068 cross_compiling
=$ac_cv_prog_cxx_cross
14071 for ac_func
in strtok_r
14073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14074 echo "configure:14075: checking for $ac_func" >&5
14075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14076 echo $ac_n "(cached) $ac_c" 1>&6
14078 cat > conftest.
$ac_ext <<EOF
14079 #line 14080 "configure"
14080 #include "confdefs.h"
14081 /* System header to define __stub macros and hopefully few prototypes,
14082 which can conflict with char $ac_func(); below. */
14083 #include <assert.h>
14084 /* Override any gcc2 internal prototype to avoid an error. */
14088 /* We use char because int might match the return type of a gcc2
14089 builtin and then its argument prototype would still apply. */
14094 /* The GNU C library defines this for functions which it implements
14095 to always fail with ENOSYS. Some functions are actually named
14096 something starting with __ and the normal name is an alias. */
14097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14105 if { (eval echo configure
:14106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14107 eval "ac_cv_func_$ac_func=yes"
14109 echo "configure: failed program was:" >&5
14110 cat conftest.
$ac_ext >&5
14112 eval "ac_cv_func_$ac_func=no"
14117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14118 echo "$ac_t""yes" 1>&6
14119 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14120 cat >> confdefs.h
<<EOF
14121 #define $ac_tr_func 1
14125 echo "$ac_t""no" 1>&6
14131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132 ac_cpp
='$CPP $CPPFLAGS'
14133 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135 cross_compiling
=$ac_cv_prog_cc_cross
14139 for ac_func
in inet_addr
14141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14142 echo "configure:14143: checking for $ac_func" >&5
14143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14144 echo $ac_n "(cached) $ac_c" 1>&6
14146 cat > conftest.
$ac_ext <<EOF
14147 #line 14148 "configure"
14148 #include "confdefs.h"
14149 /* System header to define __stub macros and hopefully few prototypes,
14150 which can conflict with char $ac_func(); below. */
14151 #include <assert.h>
14152 /* Override any gcc2 internal prototype to avoid an error. */
14153 /* We use char because int might match the return type of a gcc2
14154 builtin and then its argument prototype would still apply. */
14159 /* The GNU C library defines this for functions which it implements
14160 to always fail with ENOSYS. Some functions are actually named
14161 something starting with __ and the normal name is an alias. */
14162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14170 if { (eval echo configure
:14171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14172 eval "ac_cv_func_$ac_func=yes"
14174 echo "configure: failed program was:" >&5
14175 cat conftest.
$ac_ext >&5
14177 eval "ac_cv_func_$ac_func=no"
14182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14183 echo "$ac_t""yes" 1>&6
14184 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14185 cat >> confdefs.h
<<EOF
14186 #define $ac_tr_func 1
14188 cat >> confdefs.h
<<\EOF
14189 #define HAVE_INET_ADDR 1
14193 echo "$ac_t""no" 1>&6
14194 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14195 echo "configure:14196: checking for inet_addr in -lnsl" >&5
14196 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14198 echo $ac_n "(cached) $ac_c" 1>&6
14200 ac_save_LIBS
="$LIBS"
14202 cat > conftest.
$ac_ext <<EOF
14203 #line 14204 "configure"
14204 #include "confdefs.h"
14205 /* Override any gcc2 internal prototype to avoid an error. */
14206 /* We use char because int might match the return type of a gcc2
14207 builtin and then its argument prototype would still apply. */
14214 if { (eval echo configure
:14215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14216 eval "ac_cv_lib_$ac_lib_var=yes"
14218 echo "configure: failed program was:" >&5
14219 cat conftest.
$ac_ext >&5
14221 eval "ac_cv_lib_$ac_lib_var=no"
14224 LIBS
="$ac_save_LIBS"
14227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14228 echo "$ac_t""yes" 1>&6
14231 echo "$ac_t""no" 1>&6
14232 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14233 echo "configure:14234: checking for inet_addr in -lresolv" >&5
14234 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14236 echo $ac_n "(cached) $ac_c" 1>&6
14238 ac_save_LIBS
="$LIBS"
14239 LIBS
="-lresolv $LIBS"
14240 cat > conftest.
$ac_ext <<EOF
14241 #line 14242 "configure"
14242 #include "confdefs.h"
14243 /* Override any gcc2 internal prototype to avoid an error. */
14244 /* We use char because int might match the return type of a gcc2
14245 builtin and then its argument prototype would still apply. */
14252 if { (eval echo configure
:14253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14254 eval "ac_cv_lib_$ac_lib_var=yes"
14256 echo "configure: failed program was:" >&5
14257 cat conftest.
$ac_ext >&5
14259 eval "ac_cv_lib_$ac_lib_var=no"
14262 LIBS
="$ac_save_LIBS"
14265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14266 echo "$ac_t""yes" 1>&6
14270 echo "$ac_t""no" 1>&6
14282 for ac_func
in inet_aton
14284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14285 echo "configure:14286: checking for $ac_func" >&5
14286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14287 echo $ac_n "(cached) $ac_c" 1>&6
14289 cat > conftest.
$ac_ext <<EOF
14290 #line 14291 "configure"
14291 #include "confdefs.h"
14292 /* System header to define __stub macros and hopefully few prototypes,
14293 which can conflict with char $ac_func(); below. */
14294 #include <assert.h>
14295 /* Override any gcc2 internal prototype to avoid an error. */
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14302 /* The GNU C library defines this for functions which it implements
14303 to always fail with ENOSYS. Some functions are actually named
14304 something starting with __ and the normal name is an alias. */
14305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14313 if { (eval echo configure
:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14315 eval "ac_cv_func_$ac_func=yes"
14317 echo "configure: failed program was:" >&5
14318 cat conftest.
$ac_ext >&5
14320 eval "ac_cv_func_$ac_func=no"
14325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14328 cat >> confdefs.h
<<EOF
14329 #define $ac_tr_func 1
14331 cat >> confdefs.h
<<\EOF
14332 #define HAVE_INET_ATON 1
14336 echo "$ac_t""no" 1>&6
14337 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14338 echo "configure:14339: checking for inet_aton in -l$INET_LINK" >&5
14339 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14343 ac_save_LIBS
="$LIBS"
14344 LIBS
="-l$INET_LINK $LIBS"
14345 cat > conftest.
$ac_ext <<EOF
14346 #line 14347 "configure"
14347 #include "confdefs.h"
14348 /* Override any gcc2 internal prototype to avoid an error. */
14349 /* We use char because int might match the return type of a gcc2
14350 builtin and then its argument prototype would still apply. */
14357 if { (eval echo configure
:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14359 eval "ac_cv_lib_$ac_lib_var=yes"
14361 echo "configure: failed program was:" >&5
14362 cat conftest.
$ac_ext >&5
14364 eval "ac_cv_lib_$ac_lib_var=no"
14367 LIBS
="$ac_save_LIBS"
14370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14371 echo "$ac_t""yes" 1>&6
14372 cat >> confdefs.h
<<\EOF
14373 #define HAVE_INET_ATON 1
14377 echo "$ac_t""no" 1>&6
14385 if test "x$INET_LINK" != "x"; then
14386 cat >> confdefs.h
<<\EOF
14387 #define HAVE_INET_ADDR 1
14390 INET_LINK
="-l$INET_LINK"
14396 cat > confcache
<<\EOF
14397 # This file is a shell script that caches the results of configure
14398 # tests run on this system so they can be shared between configure
14399 # scripts and configure runs. It is not useful on other systems.
14400 # If it contains results you don't want to keep, you may remove or edit it.
14402 # By default, configure uses ./config.cache as the cache file,
14403 # creating it if it does not exist already. You can give configure
14404 # the --cache-file=FILE option to use a different cache file; that is
14405 # what configure does when it calls configure scripts in
14406 # subdirectories, so they share the cache.
14407 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14408 # config.status only pays attention to the cache file if you give it the
14409 # --recheck option to rerun configure.
14412 # The following way of writing the cache mishandles newlines in values,
14413 # but we know of no workaround that is simple, portable, and efficient.
14414 # So, don't put newlines in cache variables' values.
14415 # Ultrix sh set writes to stderr and can't be redirected directly,
14416 # and sets the high bit in the cache file unless we assign to the vars.
14418 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14420 # `set' does not quote correctly, so add quotes (double-quote substitution
14421 # turns \\\\ into \\, and sed turns \\ into \).
14423 -e "s/'/'\\\\''/g" \
14424 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14427 # `set' quotes correctly as required by POSIX, so do not add quotes.
14428 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14431 if cmp -s $cache_file confcache
; then
14434 if test -w $cache_file; then
14435 echo "updating cache $cache_file"
14436 cat confcache
> $cache_file
14438 echo "not updating unwritable cache $cache_file"
14445 if test "$TOOLKIT" != "MSW"; then
14451 CODE_GEN_FLAGS_CXX
=
14453 if test "$wxUSE_THREADS" = "yes" ; then
14454 if test "$wxUSE_WINE" = 1 ; then
14455 echo "configure: warning: Threads are not supported under WINE" 1>&2
14457 elif test "$USE_BEOS" = 1; then
14458 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14463 if test "$wxUSE_THREADS" = "yes" ; then
14465 if test "$USE_AIX" = 1; then
14466 THREADS_LIB
=pthreads
14468 THREADS_LIB
=pthread
14471 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14472 echo "configure:14473: checking for pthread_create in -l$THREADS_LIB" >&5
14473 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14475 echo $ac_n "(cached) $ac_c" 1>&6
14477 ac_save_LIBS
="$LIBS"
14478 LIBS
="-l$THREADS_LIB $LIBS"
14479 cat > conftest.
$ac_ext <<EOF
14480 #line 14481 "configure"
14481 #include "confdefs.h"
14482 /* Override any gcc2 internal prototype to avoid an error. */
14483 /* We use char because int might match the return type of a gcc2
14484 builtin and then its argument prototype would still apply. */
14485 char pthread_create();
14491 if { (eval echo configure
:14492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14493 eval "ac_cv_lib_$ac_lib_var=yes"
14495 echo "configure: failed program was:" >&5
14496 cat conftest.
$ac_ext >&5
14498 eval "ac_cv_lib_$ac_lib_var=no"
14501 LIBS
="$ac_save_LIBS"
14504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14505 echo "$ac_t""yes" 1>&6
14507 THREADS_OBJ
="threadpsx.lo"
14508 THREADS_LINK
=$THREADS_LIB
14511 echo "$ac_t""no" 1>&6
14513 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14514 echo "configure:14515: checking for pthread_create in -lc_r" >&5
14515 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14517 echo $ac_n "(cached) $ac_c" 1>&6
14519 ac_save_LIBS
="$LIBS"
14521 cat > conftest.
$ac_ext <<EOF
14522 #line 14523 "configure"
14523 #include "confdefs.h"
14524 /* Override any gcc2 internal prototype to avoid an error. */
14525 /* We use char because int might match the return type of a gcc2
14526 builtin and then its argument prototype would still apply. */
14527 char pthread_create();
14533 if { (eval echo configure
:14534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14535 eval "ac_cv_lib_$ac_lib_var=yes"
14537 echo "configure: failed program was:" >&5
14538 cat conftest.
$ac_ext >&5
14540 eval "ac_cv_lib_$ac_lib_var=no"
14543 LIBS
="$ac_save_LIBS"
14546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14547 echo "$ac_t""yes" 1>&6
14549 THREADS_OBJ
="threadpsx.lo"
14553 echo "$ac_t""no" 1>&6
14555 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14556 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14557 echo "configure:14558: checking for sys/prctl.h" >&5
14558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14561 cat > conftest.
$ac_ext <<EOF
14562 #line 14563 "configure"
14563 #include "confdefs.h"
14564 #include <sys/prctl.h>
14566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14567 { (eval echo configure
:14568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14568 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14569 if test -z "$ac_err"; then
14571 eval "ac_cv_header_$ac_safe=yes"
14574 echo "configure: failed program was:" >&5
14575 cat conftest.
$ac_ext >&5
14577 eval "ac_cv_header_$ac_safe=no"
14581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14582 echo "$ac_t""yes" 1>&6
14584 THREADS_OBJ
="threadsgi.lo"
14587 echo "$ac_t""no" 1>&6
14597 if test -z "$THREADS_OBJ" ; then
14599 echo "configure: warning: No thread support on this system" 1>&2
14603 if test "$wxUSE_THREADS" = "yes" ; then
14604 for ac_func
in thr_setconcurrency
14606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14607 echo "configure:14608: checking for $ac_func" >&5
14608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14609 echo $ac_n "(cached) $ac_c" 1>&6
14611 cat > conftest.
$ac_ext <<EOF
14612 #line 14613 "configure"
14613 #include "confdefs.h"
14614 /* System header to define __stub macros and hopefully few prototypes,
14615 which can conflict with char $ac_func(); below. */
14616 #include <assert.h>
14617 /* Override any gcc2 internal prototype to avoid an error. */
14618 /* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14624 /* The GNU C library defines this for functions which it implements
14625 to always fail with ENOSYS. Some functions are actually named
14626 something starting with __ and the normal name is an alias. */
14627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14635 if { (eval echo configure
:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14637 eval "ac_cv_func_$ac_func=yes"
14639 echo "configure: failed program was:" >&5
14640 cat conftest.
$ac_ext >&5
14642 eval "ac_cv_func_$ac_func=no"
14647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14648 echo "$ac_t""yes" 1>&6
14649 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14650 cat >> confdefs.h
<<EOF
14651 #define $ac_tr_func 1
14655 echo "$ac_t""no" 1>&6
14661 for ac_hdr
in sched.h
14663 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14664 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14665 echo "configure:14666: checking for $ac_hdr" >&5
14666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14667 echo $ac_n "(cached) $ac_c" 1>&6
14669 cat > conftest.
$ac_ext <<EOF
14670 #line 14671 "configure"
14671 #include "confdefs.h"
14674 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14675 { (eval echo configure
:14676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14676 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14677 if test -z "$ac_err"; then
14679 eval "ac_cv_header_$ac_safe=yes"
14682 echo "configure: failed program was:" >&5
14683 cat conftest.
$ac_ext >&5
14685 eval "ac_cv_header_$ac_safe=no"
14689 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14690 echo "$ac_t""yes" 1>&6
14691 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14692 cat >> confdefs.h
<<EOF
14693 #define $ac_tr_hdr 1
14697 echo "$ac_t""no" 1>&6
14702 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14703 echo "configure:14704: checking for sched_yield in -l$THREADS_LINK" >&5
14704 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14705 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14706 echo $ac_n "(cached) $ac_c" 1>&6
14708 ac_save_LIBS
="$LIBS"
14709 LIBS
="-l$THREADS_LINK $LIBS"
14710 cat > conftest.
$ac_ext <<EOF
14711 #line 14712 "configure"
14712 #include "confdefs.h"
14713 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14716 char sched_yield();
14722 if { (eval echo configure
:14723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14724 eval "ac_cv_lib_$ac_lib_var=yes"
14726 echo "configure: failed program was:" >&5
14727 cat conftest.
$ac_ext >&5
14729 eval "ac_cv_lib_$ac_lib_var=no"
14732 LIBS
="$ac_save_LIBS"
14735 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14736 echo "$ac_t""yes" 1>&6
14737 cat >> confdefs.h
<<\EOF
14738 #define HAVE_SCHED_YIELD 1
14742 echo "$ac_t""no" 1>&6
14743 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14744 echo "configure:14745: checking for sched_yield in -lposix4" >&5
14745 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14746 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14747 echo $ac_n "(cached) $ac_c" 1>&6
14749 ac_save_LIBS
="$LIBS"
14750 LIBS
="-lposix4 $LIBS"
14751 cat > conftest.
$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14754 /* Override any gcc2 internal prototype to avoid an error. */
14755 /* We use char because int might match the return type of a gcc2
14756 builtin and then its argument prototype would still apply. */
14757 char sched_yield();
14763 if { (eval echo configure
:14764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14765 eval "ac_cv_lib_$ac_lib_var=yes"
14767 echo "configure: failed program was:" >&5
14768 cat conftest.
$ac_ext >&5
14770 eval "ac_cv_lib_$ac_lib_var=no"
14773 LIBS
="$ac_save_LIBS"
14776 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14777 echo "$ac_t""yes" 1>&6
14778 cat >> confdefs.h
<<\EOF
14779 #define HAVE_SCHED_YIELD 1
14781 POSIX4_LINK
="-lposix4"
14783 echo "$ac_t""no" 1>&6
14784 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14793 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14794 echo "configure:14795: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14795 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14797 echo $ac_n "(cached) $ac_c" 1>&6
14799 ac_save_LIBS
="$LIBS"
14800 LIBS
="-l$THREADS_LINK $LIBS"
14801 cat > conftest.
$ac_ext <<EOF
14802 #line 14803 "configure"
14803 #include "confdefs.h"
14804 /* Override any gcc2 internal prototype to avoid an error. */
14805 /* We use char because int might match the return type of a gcc2
14806 builtin and then its argument prototype would still apply. */
14807 char pthread_attr_getschedpolicy();
14810 pthread_attr_getschedpolicy()
14813 if { (eval echo configure
:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14815 eval "ac_cv_lib_$ac_lib_var=yes"
14817 echo "configure: failed program was:" >&5
14818 cat conftest.
$ac_ext >&5
14820 eval "ac_cv_lib_$ac_lib_var=no"
14823 LIBS
="$ac_save_LIBS"
14826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14827 echo "$ac_t""yes" 1>&6
14828 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14829 echo "configure:14830: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14830 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14834 ac_save_LIBS
="$LIBS"
14835 LIBS
="-l$THREADS_LINK $LIBS"
14836 cat > conftest.
$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14839 /* Override any gcc2 internal prototype to avoid an error. */
14840 /* We use char because int might match the return type of a gcc2
14841 builtin and then its argument prototype would still apply. */
14842 char pthread_attr_setschedparam();
14845 pthread_attr_setschedparam()
14848 if { (eval echo configure
:14849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14850 eval "ac_cv_lib_$ac_lib_var=yes"
14852 echo "configure: failed program was:" >&5
14853 cat conftest.
$ac_ext >&5
14855 eval "ac_cv_lib_$ac_lib_var=no"
14858 LIBS
="$ac_save_LIBS"
14861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14862 echo "$ac_t""yes" 1>&6
14863 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14864 echo "configure:14865: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14865 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14867 echo $ac_n "(cached) $ac_c" 1>&6
14869 ac_save_LIBS
="$LIBS"
14870 LIBS
="-l$THREADS_LINK $LIBS"
14871 cat > conftest.
$ac_ext <<EOF
14872 #line 14873 "configure"
14873 #include "confdefs.h"
14874 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877 char sched_get_priority_max();
14880 sched_get_priority_max()
14883 if { (eval echo configure
:14884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14885 eval "ac_cv_lib_$ac_lib_var=yes"
14887 echo "configure: failed program was:" >&5
14888 cat conftest.
$ac_ext >&5
14890 eval "ac_cv_lib_$ac_lib_var=no"
14893 LIBS
="$ac_save_LIBS"
14896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14897 echo "$ac_t""yes" 1>&6
14900 echo "$ac_t""no" 1>&6
14901 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14902 echo "configure:14903: checking for sched_get_priority_max in -lposix4" >&5
14903 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14905 echo $ac_n "(cached) $ac_c" 1>&6
14907 ac_save_LIBS
="$LIBS"
14908 LIBS
="-lposix4 $LIBS"
14909 cat > conftest.
$ac_ext <<EOF
14910 #line 14911 "configure"
14911 #include "confdefs.h"
14912 /* Override any gcc2 internal prototype to avoid an error. */
14913 /* We use char because int might match the return type of a gcc2
14914 builtin and then its argument prototype would still apply. */
14915 char sched_get_priority_max();
14918 sched_get_priority_max()
14921 if { (eval echo configure
:14922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14923 eval "ac_cv_lib_$ac_lib_var=yes"
14925 echo "configure: failed program was:" >&5
14926 cat conftest.
$ac_ext >&5
14928 eval "ac_cv_lib_$ac_lib_var=no"
14931 LIBS
="$ac_save_LIBS"
14934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14935 echo "$ac_t""yes" 1>&6
14938 POSIX4_LINK
="-lposix4"
14941 echo "$ac_t""no" 1>&6
14949 echo "$ac_t""no" 1>&6
14954 echo "$ac_t""no" 1>&6
14958 if test "$HAVE_PRIOR_FUNCS" = 1; then
14959 cat >> confdefs.h
<<\EOF
14960 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14964 echo "configure: warning: Setting thread priority will not work" 1>&2
14967 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14968 echo "configure:14969: checking for pthread_cancel in -l$THREADS_LINK" >&5
14969 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14970 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14971 echo $ac_n "(cached) $ac_c" 1>&6
14973 ac_save_LIBS
="$LIBS"
14974 LIBS
="-l$THREADS_LINK $LIBS"
14975 cat > conftest.
$ac_ext <<EOF
14976 #line 14977 "configure"
14977 #include "confdefs.h"
14978 /* Override any gcc2 internal prototype to avoid an error. */
14979 /* We use char because int might match the return type of a gcc2
14980 builtin and then its argument prototype would still apply. */
14981 char pthread_cancel();
14987 if { (eval echo configure
:14988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14989 eval "ac_cv_lib_$ac_lib_var=yes"
14991 echo "configure: failed program was:" >&5
14992 cat conftest.
$ac_ext >&5
14994 eval "ac_cv_lib_$ac_lib_var=no"
14997 LIBS
="$ac_save_LIBS"
15000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15001 echo "$ac_t""yes" 1>&6
15002 cat >> confdefs.h
<<\EOF
15003 #define HAVE_PTHREAD_CANCEL 1
15007 echo "$ac_t""no" 1>&6
15008 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15012 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15013 echo "configure:15014: checking for pthread_cleanup_push/pop" >&5
15014 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15015 echo $ac_n "(cached) $ac_c" 1>&6
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 #include <pthread.h>
15024 pthread_cleanup_push(NULL, NULL);
15025 pthread_cleanup_pop(0);
15029 if { (eval echo configure
:15030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15032 wx_cv_func_pthread_cleanup_push
=yes
15035 echo "configure: failed program was:" >&5
15036 cat conftest.
$ac_ext >&5
15039 wx_cv_func_pthread_cleanup_push
=no
15046 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15048 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15049 cat >> confdefs.h
<<\EOF
15050 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15056 if test "x$wx_lib_glibc21" = "xyes"; then
15057 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15060 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15061 echo "configure:15062: checking for pthread_mutexattr_t" >&5
15062 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15063 echo $ac_n "(cached) $ac_c" 1>&6
15066 cat > conftest.
$ac_ext <<EOF
15067 #line 15068 "configure"
15068 #include "confdefs.h"
15069 #include <pthread.h>
15072 pthread_mutexattr_t attr;
15073 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15077 if { (eval echo configure
:15078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15080 wx_cv_type_pthread_mutexattr_t
=yes
15083 echo "configure: failed program was:" >&5
15084 cat conftest.
$ac_ext >&5
15087 wx_cv_type_pthread_mutexattr_t
=no
15095 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15097 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15098 cat >> confdefs.h
<<\EOF
15099 #define HAVE_PTHREAD_MUTEXATTR_T 1
15103 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15104 echo "configure:15105: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15105 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15109 cat > conftest.
$ac_ext <<EOF
15110 #line 15111 "configure"
15111 #include "confdefs.h"
15112 #include <pthread.h>
15115 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15119 if { (eval echo configure
:15120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15122 wx_cv_type_pthread_rec_mutex_init
=yes
15125 echo "configure: failed program was:" >&5
15126 cat conftest.
$ac_ext >&5
15129 wx_cv_type_pthread_rec_mutex_init
=no
15137 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15138 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15139 cat >> confdefs.h
<<\EOF
15140 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15144 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15148 THREADS_LINK
="-l$THREADS_LINK"
15150 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15151 CPPFLAGS
="${CFLAGS} -mt"
15152 CXXFLAGS
="${CXXFLAGS} -mt"
15153 LDFLAGS
="${LDFLAGS} -mt"
15159 if test "$wxUSE_THREADS" = "yes"; then
15160 cat >> confdefs.h
<<\EOF
15161 #define wxUSE_THREADS 1
15165 if test "$USE_DARWIN" != 1; then
15166 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15171 if test "$ac_cv_func_strtok_r" = "yes"; then
15172 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15173 echo "configure:15174: checking if -D_REENTRANT is needed" >&5
15174 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15175 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15176 echo "$ac_t""yes" 1>&6
15178 echo "$ac_t""no" 1>&6
15183 if test "$WXGTK20" = 1 ; then
15184 cat >> confdefs.h
<<EOF
15185 #define __WXGTK20__ $WXGTK20
15191 if test "$WXGTK12" = 1 ; then
15192 cat >> confdefs.h
<<EOF
15193 #define __WXGTK12__ $WXGTK12
15198 if test "$WXGTK127" = 1 ; then
15199 cat >> confdefs.h
<<EOF
15200 #define __WXGTK127__ $WXGTK127
15207 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15212 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15213 wxUSE_DEBUG_INFO
=yes
15217 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15218 cat >> confdefs.h
<<\EOF
15222 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15224 if test "$wxUSE_GTK" = 1 ; then
15225 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15229 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15230 cat >> confdefs.h
<<\EOF
15231 #define wxUSE_MEMORY_TRACING 1
15234 cat >> confdefs.h
<<\EOF
15235 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15238 cat >> confdefs.h
<<\EOF
15239 #define wxUSE_DEBUG_NEW_ALWAYS 1
15242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15245 if test "$wxUSE_DMALLOC" = "yes" ; then
15246 DMALLOC_LINK
="-ldmalloc"
15250 if test "$wxUSE_PROFILE" = "yes" ; then
15254 if test "$GCC" = yes ; then
15255 if test "$wxUSE_NO_RTTI" = "yes" ; then
15256 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15258 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15259 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15261 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15262 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15264 if test "$wxUSE_NO_DEPS" = "no" ; then
15265 CFLAGS
="-MMD ${CFLAGS}"
15266 CXXFLAGS
="-MMD ${CXXFLAGS}"
15268 if test "$USE_WIN32" = 1 ; then
15269 # I'm not even really sure what this was ever added to solve,
15270 # but someone added it for mingw native builds, so I guess
15271 # they had a reason, right??
15272 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15277 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15278 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15279 if test "$wxUSE_OPTIMISE" = "no" ; then
15282 if test "$GCC" = yes ; then
15285 i586
-*-*|i686
-*-* )
15286 OPTIMISE
="${OPTIMISE} "
15294 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15295 cat >> confdefs.h
<<\EOF
15296 #define WXWIN_COMPATIBILITY_2 1
15300 WXWIN_COMPATIBILITY_2_2
="yes"
15303 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15304 cat >> confdefs.h
<<\EOF
15305 #define WXWIN_COMPATIBILITY_2_2 1
15312 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15313 cat >> confdefs.h
<<\EOF
15314 #define wxUSE_ZLIB 1
15317 if test "$wxUSE_ZLIB" = "yes" ; then
15318 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15321 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15322 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15323 echo "configure:15324: checking for zlib.h" >&5
15324 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15325 echo $ac_n "(cached) $ac_c" 1>&6
15327 cat > conftest.
$ac_ext <<EOF
15328 #line 15329 "configure"
15329 #include "confdefs.h"
15332 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15333 { (eval echo configure
:15334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15334 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15335 if test -z "$ac_err"; then
15337 eval "ac_cv_header_$ac_safe=yes"
15340 echo "configure: failed program was:" >&5
15341 cat conftest.
$ac_ext >&5
15343 eval "ac_cv_header_$ac_safe=no"
15347 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15348 echo "$ac_t""yes" 1>&6
15349 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15350 echo "configure:15351: checking for deflate in -lz" >&5
15351 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15353 echo $ac_n "(cached) $ac_c" 1>&6
15355 ac_save_LIBS
="$LIBS"
15357 cat > conftest.
$ac_ext <<EOF
15358 #line 15359 "configure"
15359 #include "confdefs.h"
15360 /* Override any gcc2 internal prototype to avoid an error. */
15361 /* We use char because int might match the return type of a gcc2
15362 builtin and then its argument prototype would still apply. */
15369 if { (eval echo configure
:15370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15371 eval "ac_cv_lib_$ac_lib_var=yes"
15373 echo "configure: failed program was:" >&5
15374 cat conftest.
$ac_ext >&5
15376 eval "ac_cv_lib_$ac_lib_var=no"
15379 LIBS
="$ac_save_LIBS"
15382 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15383 echo "$ac_t""yes" 1>&6
15386 echo "$ac_t""no" 1>&6
15390 echo "$ac_t""no" 1>&6
15393 if test "x$ZLIB_LINK" = "x" ; then
15394 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15400 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15401 cat >> confdefs.h
<<\EOF
15402 #define wxUSE_LIBPNG 1
15405 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15406 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15410 if test "$wxUSE_LIBPNG" = "yes" ; then
15411 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15414 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15415 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15416 echo "configure:15417: checking for png.h" >&5
15417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15420 cat > conftest.
$ac_ext <<EOF
15421 #line 15422 "configure"
15422 #include "confdefs.h"
15425 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15426 { (eval echo configure
:15427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15427 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15428 if test -z "$ac_err"; then
15430 eval "ac_cv_header_$ac_safe=yes"
15433 echo "configure: failed program was:" >&5
15434 cat conftest.
$ac_ext >&5
15436 eval "ac_cv_header_$ac_safe=no"
15440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15441 echo "$ac_t""yes" 1>&6
15442 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15443 echo "configure:15444: checking for png_check_sig in -lpng" >&5
15444 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15448 ac_save_LIBS
="$LIBS"
15449 LIBS
="-lpng -lz -lm $LIBS"
15450 cat > conftest.
$ac_ext <<EOF
15451 #line 15452 "configure"
15452 #include "confdefs.h"
15453 /* Override any gcc2 internal prototype to avoid an error. */
15454 /* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15456 char png_check_sig();
15462 if { (eval echo configure
:15463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15464 eval "ac_cv_lib_$ac_lib_var=yes"
15466 echo "configure: failed program was:" >&5
15467 cat conftest.
$ac_ext >&5
15469 eval "ac_cv_lib_$ac_lib_var=no"
15472 LIBS
="$ac_save_LIBS"
15475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15476 echo "$ac_t""yes" 1>&6
15479 echo "$ac_t""no" 1>&6
15484 echo "$ac_t""no" 1>&6
15487 if test "x$PNG_LINK" = "x" ; then
15488 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15496 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15497 cat >> confdefs.h
<<\EOF
15498 #define wxUSE_LIBJPEG 1
15501 if test "$wxUSE_LIBJPEG" = "yes" ; then
15502 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15505 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15506 echo "configure:15507: checking for jpeglib.h" >&5
15507 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 cat > conftest.
$ac_ext <<EOF
15511 #line 15512 "configure"
15512 #include "confdefs.h"
15514 #undef HAVE_STDLIB_H
15516 #include <jpeglib.h>
15523 if { (eval echo configure
:15524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15525 ac_cv_header_jpeglib_h
=yes
15527 echo "configure: failed program was:" >&5
15528 cat conftest.
$ac_ext >&5
15530 ac_cv_header_jpeglib_h
=no
15537 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15539 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15540 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15541 echo "configure:15542: checking for jpeg_read_header in -ljpeg" >&5
15542 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15544 echo $ac_n "(cached) $ac_c" 1>&6
15546 ac_save_LIBS
="$LIBS"
15547 LIBS
="-ljpeg $LIBS"
15548 cat > conftest.
$ac_ext <<EOF
15549 #line 15550 "configure"
15550 #include "confdefs.h"
15551 /* Override any gcc2 internal prototype to avoid an error. */
15552 /* We use char because int might match the return type of a gcc2
15553 builtin and then its argument prototype would still apply. */
15554 char jpeg_read_header();
15560 if { (eval echo configure
:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15562 eval "ac_cv_lib_$ac_lib_var=yes"
15564 echo "configure: failed program was:" >&5
15565 cat conftest.
$ac_ext >&5
15567 eval "ac_cv_lib_$ac_lib_var=no"
15570 LIBS
="$ac_save_LIBS"
15573 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15574 echo "$ac_t""yes" 1>&6
15577 echo "$ac_t""no" 1>&6
15582 if test "x$JPEG_LINK" = "x" ; then
15583 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15589 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15590 cat >> confdefs.h
<<\EOF
15591 #define wxUSE_LIBTIFF 1
15594 if test "$wxUSE_LIBTIFF" = "yes" ; then
15595 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15598 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15599 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15600 echo "configure:15601: checking for tiffio.h" >&5
15601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15604 cat > conftest.
$ac_ext <<EOF
15605 #line 15606 "configure"
15606 #include "confdefs.h"
15607 #include <tiffio.h>
15609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15610 { (eval echo configure
:15611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15612 if test -z "$ac_err"; then
15614 eval "ac_cv_header_$ac_safe=yes"
15617 echo "configure: failed program was:" >&5
15618 cat conftest.
$ac_ext >&5
15620 eval "ac_cv_header_$ac_safe=no"
15624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15625 echo "$ac_t""yes" 1>&6
15626 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15627 echo "configure:15628: checking for TIFFError in -ltiff" >&5
15628 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15629 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15630 echo $ac_n "(cached) $ac_c" 1>&6
15632 ac_save_LIBS
="$LIBS"
15633 LIBS
="-ltiff -lm $LIBS"
15634 cat > conftest.
$ac_ext <<EOF
15635 #line 15636 "configure"
15636 #include "confdefs.h"
15637 /* Override any gcc2 internal prototype to avoid an error. */
15638 /* We use char because int might match the return type of a gcc2
15639 builtin and then its argument prototype would still apply. */
15646 if { (eval echo configure
:15647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15648 eval "ac_cv_lib_$ac_lib_var=yes"
15650 echo "configure: failed program was:" >&5
15651 cat conftest.
$ac_ext >&5
15653 eval "ac_cv_lib_$ac_lib_var=no"
15656 LIBS
="$ac_save_LIBS"
15659 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15660 echo "$ac_t""yes" 1>&6
15663 echo "$ac_t""no" 1>&6
15667 echo "$ac_t""no" 1>&6
15670 if test "x$TIFF_LINK" = "x" ; then
15671 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15677 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15678 cat >> confdefs.h
<<\EOF
15679 #define wxUSE_FREETYPE 1
15682 if test "$wxUSE_FREETYPE" = "yes" ; then
15683 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15686 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15687 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15688 echo "configure:15689: checking for freetype.h" >&5
15689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15690 echo $ac_n "(cached) $ac_c" 1>&6
15692 cat > conftest.
$ac_ext <<EOF
15693 #line 15694 "configure"
15694 #include "confdefs.h"
15695 #include <freetype.h>
15697 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15698 { (eval echo configure
:15699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15699 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15700 if test -z "$ac_err"; then
15702 eval "ac_cv_header_$ac_safe=yes"
15705 echo "configure: failed program was:" >&5
15706 cat conftest.
$ac_ext >&5
15708 eval "ac_cv_header_$ac_safe=no"
15712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15713 echo "$ac_t""yes" 1>&6
15714 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15715 echo "configure:15716: checking for FT_Render_Glyph in -lfreetype" >&5
15716 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15718 echo $ac_n "(cached) $ac_c" 1>&6
15720 ac_save_LIBS
="$LIBS"
15721 LIBS
="-lfreetype -lm $LIBS"
15722 cat > conftest.
$ac_ext <<EOF
15723 #line 15724 "configure"
15724 #include "confdefs.h"
15725 /* Override any gcc2 internal prototype to avoid an error. */
15726 /* We use char because int might match the return type of a gcc2
15727 builtin and then its argument prototype would still apply. */
15728 char FT_Render_Glyph();
15734 if { (eval echo configure
:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15736 eval "ac_cv_lib_$ac_lib_var=yes"
15738 echo "configure: failed program was:" >&5
15739 cat conftest.
$ac_ext >&5
15741 eval "ac_cv_lib_$ac_lib_var=no"
15744 LIBS
="$ac_save_LIBS"
15747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 FREETYPE_LINK
="-lfreetype"
15751 echo "$ac_t""no" 1>&6
15756 echo "$ac_t""no" 1>&6
15759 if test "x$FREETYPE_LINK" = "x" ; then
15760 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15766 if test "$wxUSE_GUI" = "yes"; then
15767 cat >> confdefs.h
<<\EOF
15768 #define wxUSE_GUI 1
15773 cat >> confdefs.h
<<\EOF
15774 #define wxUSE_NOGUI 1
15780 if test "$wxUSE_UNIX" = "yes"; then
15781 cat >> confdefs.h
<<\EOF
15782 #define wxUSE_UNIX 1
15788 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15789 cat >> confdefs.h
<<\EOF
15790 #define wxUSE_APPLE_IEEE 1
15795 if test "$wxUSE_TIMER" = "yes"; then
15796 cat >> confdefs.h
<<\EOF
15797 #define wxUSE_TIMER 1
15802 if test "$wxUSE_WAVE" = "yes"; then
15803 cat >> confdefs.h
<<\EOF
15804 #define wxUSE_WAVE 1
15809 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15810 cat >> confdefs.h
<<\EOF
15811 #define wxUSE_CMDLINE_PARSER 1
15816 if test "$wxUSE_STOPWATCH" = "yes"; then
15817 cat >> confdefs.h
<<\EOF
15818 #define wxUSE_STOPWATCH 1
15823 if test "$wxUSE_DATETIME" = "yes"; then
15824 cat >> confdefs.h
<<\EOF
15825 #define wxUSE_DATETIME 1
15830 if test "$wxUSE_TIMEDATE" = "yes"; then
15831 cat >> confdefs.h
<<\EOF
15832 #define wxUSE_TIMEDATE 1
15837 if test "$wxUSE_FILE" = "yes"; then
15838 cat >> confdefs.h
<<\EOF
15839 #define wxUSE_FILE 1
15844 if test "$wxUSE_FFILE" = "yes"; then
15845 cat >> confdefs.h
<<\EOF
15846 #define wxUSE_FFILE 1
15851 if test "$wxUSE_FILESYSTEM" = "yes"; then
15852 cat >> confdefs.h
<<\EOF
15853 #define wxUSE_FILESYSTEM 1
15858 if test "$wxUSE_FS_INET" = "yes"; then
15859 cat >> confdefs.h
<<\EOF
15860 #define wxUSE_FS_INET 1
15865 if test "$wxUSE_FS_ZIP" = "yes"; then
15866 cat >> confdefs.h
<<\EOF
15867 #define wxUSE_FS_ZIP 1
15872 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15873 cat >> confdefs.h
<<\EOF
15874 #define wxUSE_ZIPSTREAM 1
15879 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15880 cat >> confdefs.h
<<\EOF
15881 #define wxUSE_ON_FATAL_EXCEPTION 1
15886 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15887 cat >> confdefs.h
<<\EOF
15888 #define wxUSE_SNGLINST_CHECKER 1
15893 if test "$wxUSE_BUSYINFO" = "yes"; then
15894 cat >> confdefs.h
<<\EOF
15895 #define wxUSE_BUSYINFO 1
15900 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15901 cat >> confdefs.h
<<\EOF
15902 #define wxUSE_STD_IOSTREAM 1
15907 if test "$wxUSE_TEXTFILE" = "yes"; then
15908 if test "$wxUSE_FILE" != "yes"; then
15909 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15911 cat >> confdefs.h
<<\EOF
15912 #define wxUSE_TEXTFILE 1
15918 if test "$wxUSE_CONFIG" = "yes" ; then
15919 if test "$wxUSE_TEXTFILE" != "yes"; then
15920 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15922 cat >> confdefs.h
<<\EOF
15923 #define wxUSE_CONFIG 1
15926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15930 if test "$wxUSE_INTL" = "yes" ; then
15931 if test "$wxUSE_FILE" != "yes"; then
15932 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15934 cat >> confdefs.h
<<\EOF
15935 #define wxUSE_INTL 1
15938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15939 GUIDIST
="$GUIDIST INTL_DIST"
15943 if test "$wxUSE_LOG" = "yes"; then
15944 cat >> confdefs.h
<<\EOF
15945 #define wxUSE_LOG 1
15949 if test "$wxUSE_LOGGUI" = "yes"; then
15950 cat >> confdefs.h
<<\EOF
15951 #define wxUSE_LOGGUI 1
15956 if test "$wxUSE_LOGWINDOW" = "yes"; then
15957 cat >> confdefs.h
<<\EOF
15958 #define wxUSE_LOGWINDOW 1
15964 if test "$wxUSE_LONGLONG" = "yes"; then
15965 cat >> confdefs.h
<<\EOF
15966 #define wxUSE_LONGLONG 1
15971 if test "$wxUSE_GEOMETRY" = "yes"; then
15972 cat >> confdefs.h
<<\EOF
15973 #define wxUSE_GEOMETRY 1
15978 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15979 cat >> confdefs.h
<<\EOF
15980 #define wxUSE_DIALUP_MANAGER 1
15983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15986 if test "$wxUSE_STREAMS" = "yes" ; then
15987 cat >> confdefs.h
<<\EOF
15988 #define wxUSE_STREAMS 1
15994 if test "$wxUSE_DATETIME" = "yes"; then
15995 for ac_func
in strptime
15997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15998 echo "configure:15999: checking for $ac_func" >&5
15999 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16000 echo $ac_n "(cached) $ac_c" 1>&6
16002 cat > conftest.
$ac_ext <<EOF
16003 #line 16004 "configure"
16004 #include "confdefs.h"
16005 /* System header to define __stub macros and hopefully few prototypes,
16006 which can conflict with char $ac_func(); below. */
16007 #include <assert.h>
16008 /* Override any gcc2 internal prototype to avoid an error. */
16009 /* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */
16015 /* The GNU C library defines this for functions which it implements
16016 to always fail with ENOSYS. Some functions are actually named
16017 something starting with __ and the normal name is an alias. */
16018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16026 if { (eval echo configure
:16027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16028 eval "ac_cv_func_$ac_func=yes"
16030 echo "configure: failed program was:" >&5
16031 cat conftest.
$ac_ext >&5
16033 eval "ac_cv_func_$ac_func=no"
16038 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16039 echo "$ac_t""yes" 1>&6
16040 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16041 cat >> confdefs.h
<<EOF
16042 #define $ac_tr_func 1
16046 echo "$ac_t""no" 1>&6
16051 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16052 echo "configure:16053: checking for timezone variable in <time.h>" >&5
16053 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16054 echo $ac_n "(cached) $ac_c" 1>&6
16057 cat > conftest.
$ac_ext <<EOF
16058 #line 16059 "configure"
16059 #include "confdefs.h"
16070 if { (eval echo configure
:16071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16073 wx_cv_var_timezone
=timezone
16076 echo "configure: failed program was:" >&5
16077 cat conftest.
$ac_ext >&5
16080 cat > conftest.
$ac_ext <<EOF
16081 #line 16082 "configure"
16082 #include "confdefs.h"
16093 if { (eval echo configure
:16094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16096 wx_cv_var_timezone
=_timezone
16099 echo "configure: failed program was:" >&5
16100 cat conftest.
$ac_ext >&5
16103 cat > conftest.
$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16116 if { (eval echo configure
:16117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16119 wx_cv_var_timezone
=__timezone
16122 echo "configure: failed program was:" >&5
16123 cat conftest.
$ac_ext >&5
16125 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16141 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16143 cat >> confdefs.h
<<EOF
16144 #define WX_TIMEZONE $wx_cv_var_timezone
16148 for ac_func
in localtime
16150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16151 echo "configure:16152: checking for $ac_func" >&5
16152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16153 echo $ac_n "(cached) $ac_c" 1>&6
16155 cat > conftest.
$ac_ext <<EOF
16156 #line 16157 "configure"
16157 #include "confdefs.h"
16158 /* System header to define __stub macros and hopefully few prototypes,
16159 which can conflict with char $ac_func(); below. */
16160 #include <assert.h>
16161 /* Override any gcc2 internal prototype to avoid an error. */
16162 /* We use char because int might match the return type of a gcc2
16163 builtin and then its argument prototype would still apply. */
16168 /* The GNU C library defines this for functions which it implements
16169 to always fail with ENOSYS. Some functions are actually named
16170 something starting with __ and the normal name is an alias. */
16171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16179 if { (eval echo configure
:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16181 eval "ac_cv_func_$ac_func=yes"
16183 echo "configure: failed program was:" >&5
16184 cat conftest.
$ac_ext >&5
16186 eval "ac_cv_func_$ac_func=no"
16191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16192 echo "$ac_t""yes" 1>&6
16193 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16194 cat >> confdefs.h
<<EOF
16195 #define $ac_tr_func 1
16199 echo "$ac_t""no" 1>&6
16204 if test "$ac_cv_func_localtime" = "yes"; then
16205 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16206 echo "configure:16207: checking for tm_gmtoff in struct tm" >&5
16207 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16208 echo $ac_n "(cached) $ac_c" 1>&6
16211 cat > conftest.
$ac_ext <<EOF
16212 #line 16213 "configure"
16213 #include "confdefs.h"
16224 if { (eval echo configure
:16225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16227 wx_cv_struct_tm_has_gmtoff
=yes
16230 echo "configure: failed program was:" >&5
16231 cat conftest.
$ac_ext >&5
16233 wx_cv_struct_tm_has_gmtoff
=no
16240 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16243 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16244 cat >> confdefs.h
<<\EOF
16245 #define WX_GMTOFF_IN_TM 1
16250 for ac_func
in gettimeofday ftime
16252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16253 echo "configure:16254: checking for $ac_func" >&5
16254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16255 echo $ac_n "(cached) $ac_c" 1>&6
16257 cat > conftest.
$ac_ext <<EOF
16258 #line 16259 "configure"
16259 #include "confdefs.h"
16260 /* System header to define __stub macros and hopefully few prototypes,
16261 which can conflict with char $ac_func(); below. */
16262 #include <assert.h>
16263 /* Override any gcc2 internal prototype to avoid an error. */
16264 /* We use char because int might match the return type of a gcc2
16265 builtin and then its argument prototype would still apply. */
16270 /* The GNU C library defines this for functions which it implements
16271 to always fail with ENOSYS. Some functions are actually named
16272 something starting with __ and the normal name is an alias. */
16273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16281 if { (eval echo configure
:16282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16283 eval "ac_cv_func_$ac_func=yes"
16285 echo "configure: failed program was:" >&5
16286 cat conftest.
$ac_ext >&5
16288 eval "ac_cv_func_$ac_func=no"
16293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16294 echo "$ac_t""yes" 1>&6
16295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16296 cat >> confdefs.h
<<EOF
16297 #define $ac_tr_func 1
16301 echo "$ac_t""no" 1>&6
16306 if test "$ac_cv_func_gettimeofday" = "yes"; then
16307 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16308 echo "configure:16309: checking whether gettimeofday takes two arguments" >&5
16309 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16310 echo $ac_n "(cached) $ac_c" 1>&6
16315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16316 ac_cpp
='$CXXCPP $CPPFLAGS'
16317 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16318 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16319 cross_compiling
=$ac_cv_prog_cxx_cross
16322 cat > conftest.
$ac_ext <<EOF
16323 #line 16324 "configure"
16324 #include "confdefs.h"
16326 #include <sys/time.h>
16327 #include <unistd.h>
16332 gettimeofday(&tv, NULL);
16336 if { (eval echo configure
:16337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16338 wx_cv_func_gettimeofday_has_2_args
=yes
16340 echo "configure: failed program was:" >&5
16341 cat conftest.
$ac_ext >&5
16343 cat > conftest.
$ac_ext <<EOF
16344 #line 16345 "configure"
16345 #include "confdefs.h"
16347 #include <sys/time.h>
16348 #include <unistd.h>
16357 if { (eval echo configure
:16358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16359 wx_cv_func_gettimeofday_has_2_args
=no
16361 echo "configure: failed program was:" >&5
16362 cat conftest.
$ac_ext >&5
16365 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16366 wx_cv_func_gettimeofday_has_2_args
=unknown
16375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16376 ac_cpp
='$CPP $CPPFLAGS'
16377 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16378 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16379 cross_compiling
=$ac_cv_prog_cc_cross
16384 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16386 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16387 cat >> confdefs.h
<<\EOF
16388 #define WX_GETTIMEOFDAY_NO_TZ 1
16394 cat >> confdefs.h
<<\EOF
16395 #define wxUSE_TIMEDATE 1
16398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16402 if test "$TOOLKIT" != "MSW"; then
16404 if test "$wxUSE_SOCKETS" = "yes"; then
16405 echo $ac_n "checking for socket""... $ac_c" 1>&6
16406 echo "configure:16407: checking for socket" >&5
16407 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16410 cat > conftest.
$ac_ext <<EOF
16411 #line 16412 "configure"
16412 #include "confdefs.h"
16413 /* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char socket(); below. */
16415 #include <assert.h>
16416 /* Override any gcc2 internal prototype to avoid an error. */
16417 /* We use char because int might match the return type of a gcc2
16418 builtin and then its argument prototype would still apply. */
16423 /* The GNU C library defines this for functions which it implements
16424 to always fail with ENOSYS. Some functions are actually named
16425 something starting with __ and the normal name is an alias. */
16426 #if defined (__stub_socket) || defined (__stub___socket)
16434 if { (eval echo configure
:16435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16436 eval "ac_cv_func_socket=yes"
16438 echo "configure: failed program was:" >&5
16439 cat conftest.
$ac_ext >&5
16441 eval "ac_cv_func_socket=no"
16446 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16447 echo "$ac_t""yes" 1>&6
16450 echo "$ac_t""no" 1>&6
16451 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16452 echo "configure:16453: checking for socket in -lsocket" >&5
16453 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16455 echo $ac_n "(cached) $ac_c" 1>&6
16457 ac_save_LIBS
="$LIBS"
16458 LIBS
="-lsocket $LIBS"
16459 cat > conftest.
$ac_ext <<EOF
16460 #line 16461 "configure"
16461 #include "confdefs.h"
16462 /* Override any gcc2 internal prototype to avoid an error. */
16463 /* We use char because int might match the return type of a gcc2
16464 builtin and then its argument prototype would still apply. */
16471 if { (eval echo configure
:16472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16473 eval "ac_cv_lib_$ac_lib_var=yes"
16475 echo "configure: failed program was:" >&5
16476 cat conftest.
$ac_ext >&5
16478 eval "ac_cv_lib_$ac_lib_var=no"
16481 LIBS
="$ac_save_LIBS"
16484 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16485 echo "$ac_t""yes" 1>&6
16486 INET_LINK
="$INET_LINK -lsocket"
16488 echo "$ac_t""no" 1>&6
16490 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16502 if test "$wxUSE_SOCKETS" = "yes" ; then
16503 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16504 echo "configure:16505: checking what is the type of the third argument of getsockname" >&5
16505 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16506 echo $ac_n "(cached) $ac_c" 1>&6
16511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16512 ac_cpp
='$CXXCPP $CPPFLAGS'
16513 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16514 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16515 cross_compiling
=$ac_cv_prog_cxx_cross
16518 cat > conftest.
$ac_ext <<EOF
16519 #line 16520 "configure"
16520 #include "confdefs.h"
16522 #include <sys/types.h>
16523 #include <sys/socket.h>
16528 getsockname(0, 0, &len);
16532 if { (eval echo configure
:16533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16534 wx_cv_type_getsockname3
=socklen_t
16536 echo "configure: failed program was:" >&5
16537 cat conftest.
$ac_ext >&5
16539 cat > conftest.
$ac_ext <<EOF
16540 #line 16541 "configure"
16541 #include "confdefs.h"
16543 #include <sys/types.h>
16544 #include <sys/socket.h>
16549 getsockname(0, 0, &len);
16553 if { (eval echo configure
:16554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16555 wx_cv_type_getsockname3
=size_t
16557 echo "configure: failed program was:" >&5
16558 cat conftest.
$ac_ext >&5
16560 cat > conftest.
$ac_ext <<EOF
16561 #line 16562 "configure"
16562 #include "confdefs.h"
16564 #include <sys/types.h>
16565 #include <sys/socket.h>
16570 getsockname(0, 0, &len);
16574 if { (eval echo configure
:16575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16576 wx_cv_type_getsockname3
=int
16578 echo "configure: failed program was:" >&5
16579 cat conftest.
$ac_ext >&5
16581 wx_cv_type_getsockname3
=unknown
16593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16594 ac_cpp
='$CPP $CPPFLAGS'
16595 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16596 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16597 cross_compiling
=$ac_cv_prog_cc_cross
16602 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16604 if test "$wx_cv_type_getsockname3" = "unknown"; then
16606 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16608 cat >> confdefs.h
<<EOF
16609 #define SOCKLEN_T $wx_cv_type_getsockname3
16616 if test "$wxUSE_SOCKETS" = "yes" ; then
16617 cat >> confdefs.h
<<\EOF
16618 #define wxUSE_SOCKETS 1
16621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16625 if test "$wxUSE_GUI" = "yes"; then
16627 if test "$TOOLKIT" != "MSW"; then
16628 if test "$wxUSE_JOYSTICK" = "yes"; then
16629 for ac_hdr
in linux
/joystick.h
16631 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16633 echo "configure:16634: checking for $ac_hdr" >&5
16634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16637 cat > conftest.
$ac_ext <<EOF
16638 #line 16639 "configure"
16639 #include "confdefs.h"
16642 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16643 { (eval echo configure
:16644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16644 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16645 if test -z "$ac_err"; then
16647 eval "ac_cv_header_$ac_safe=yes"
16650 echo "configure: failed program was:" >&5
16651 cat conftest.
$ac_ext >&5
16653 eval "ac_cv_header_$ac_safe=no"
16657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16658 echo "$ac_t""yes" 1>&6
16659 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16660 cat >> confdefs.h
<<EOF
16661 #define $ac_tr_hdr 1
16665 echo "$ac_t""no" 1>&6
16669 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16671 echo "configure: warning: Joystick not supported by this system" 1>&2
16676 if test "$wxUSE_JOYSTICK" = "yes"; then
16677 cat >> confdefs.h
<<\EOF
16678 #define wxUSE_JOYSTICK 1
16681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16686 if test "$TOOLKIT" != "MSW"; then
16690 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16691 if test "$USE_DARWIN" = 1; then
16694 for ac_func
in dlopen
16696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16697 echo "configure:16698: checking for $ac_func" >&5
16698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16699 echo $ac_n "(cached) $ac_c" 1>&6
16701 cat > conftest.
$ac_ext <<EOF
16702 #line 16703 "configure"
16703 #include "confdefs.h"
16704 /* System header to define __stub macros and hopefully few prototypes,
16705 which can conflict with char $ac_func(); below. */
16706 #include <assert.h>
16707 /* Override any gcc2 internal prototype to avoid an error. */
16708 /* We use char because int might match the return type of a gcc2
16709 builtin and then its argument prototype would still apply. */
16714 /* The GNU C library defines this for functions which it implements
16715 to always fail with ENOSYS. Some functions are actually named
16716 something starting with __ and the normal name is an alias. */
16717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16725 if { (eval echo configure
:16726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16727 eval "ac_cv_func_$ac_func=yes"
16729 echo "configure: failed program was:" >&5
16730 cat conftest.
$ac_ext >&5
16732 eval "ac_cv_func_$ac_func=no"
16737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16738 echo "$ac_t""yes" 1>&6
16739 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16740 cat >> confdefs.h
<<EOF
16741 #define $ac_tr_func 1
16744 cat >> confdefs.h
<<\EOF
16745 #define HAVE_DLOPEN 1
16751 echo "$ac_t""no" 1>&6
16752 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16753 echo "configure:16754: checking for dlopen in -ldl" >&5
16754 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16755 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16756 echo $ac_n "(cached) $ac_c" 1>&6
16758 ac_save_LIBS
="$LIBS"
16760 cat > conftest.
$ac_ext <<EOF
16761 #line 16762 "configure"
16762 #include "confdefs.h"
16763 /* Override any gcc2 internal prototype to avoid an error. */
16764 /* We use char because int might match the return type of a gcc2
16765 builtin and then its argument prototype would still apply. */
16772 if { (eval echo configure
:16773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16774 eval "ac_cv_lib_$ac_lib_var=yes"
16776 echo "configure: failed program was:" >&5
16777 cat conftest.
$ac_ext >&5
16779 eval "ac_cv_lib_$ac_lib_var=no"
16782 LIBS
="$ac_save_LIBS"
16785 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16786 echo "$ac_t""yes" 1>&6
16788 cat >> confdefs.h
<<\EOF
16789 #define HAVE_DLOPEN 1
16796 echo "$ac_t""no" 1>&6
16798 for ac_func
in shl_load
16800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16801 echo "configure:16802: checking for $ac_func" >&5
16802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16803 echo $ac_n "(cached) $ac_c" 1>&6
16805 cat > conftest.
$ac_ext <<EOF
16806 #line 16807 "configure"
16807 #include "confdefs.h"
16808 /* System header to define __stub macros and hopefully few prototypes,
16809 which can conflict with char $ac_func(); below. */
16810 #include <assert.h>
16811 /* Override any gcc2 internal prototype to avoid an error. */
16812 /* We use char because int might match the return type of a gcc2
16813 builtin and then its argument prototype would still apply. */
16818 /* The GNU C library defines this for functions which it implements
16819 to always fail with ENOSYS. Some functions are actually named
16820 something starting with __ and the normal name is an alias. */
16821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16829 if { (eval echo configure
:16830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16831 eval "ac_cv_func_$ac_func=yes"
16833 echo "configure: failed program was:" >&5
16834 cat conftest.
$ac_ext >&5
16836 eval "ac_cv_func_$ac_func=no"
16841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16842 echo "$ac_t""yes" 1>&6
16843 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16844 cat >> confdefs.h
<<EOF
16845 #define $ac_tr_func 1
16848 cat >> confdefs.h
<<\EOF
16849 #define HAVE_SHL_LOAD 1
16855 echo "$ac_t""no" 1>&6
16856 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16857 echo "configure:16858: checking for dld in -lshl_load" >&5
16858 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16859 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16860 echo $ac_n "(cached) $ac_c" 1>&6
16862 ac_save_LIBS
="$LIBS"
16863 LIBS
="-lshl_load $LIBS"
16864 cat > conftest.
$ac_ext <<EOF
16865 #line 16866 "configure"
16866 #include "confdefs.h"
16867 /* Override any gcc2 internal prototype to avoid an error. */
16868 /* We use char because int might match the return type of a gcc2
16869 builtin and then its argument prototype would still apply. */
16876 if { (eval echo configure
:16877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16878 eval "ac_cv_lib_$ac_lib_var=yes"
16880 echo "configure: failed program was:" >&5
16881 cat conftest.
$ac_ext >&5
16883 eval "ac_cv_lib_$ac_lib_var=no"
16886 LIBS
="$ac_save_LIBS"
16889 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16890 echo "$ac_t""yes" 1>&6
16896 echo "$ac_t""no" 1>&6
16911 if test "$HAVE_DL_FUNCS" = 1; then
16912 for ac_func
in dlerror
16914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16915 echo "configure:16916: checking for $ac_func" >&5
16916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16917 echo $ac_n "(cached) $ac_c" 1>&6
16919 cat > conftest.
$ac_ext <<EOF
16920 #line 16921 "configure"
16921 #include "confdefs.h"
16922 /* System header to define __stub macros and hopefully few prototypes,
16923 which can conflict with char $ac_func(); below. */
16924 #include <assert.h>
16925 /* Override any gcc2 internal prototype to avoid an error. */
16926 /* We use char because int might match the return type of a gcc2
16927 builtin and then its argument prototype would still apply. */
16932 /* The GNU C library defines this for functions which it implements
16933 to always fail with ENOSYS. Some functions are actually named
16934 something starting with __ and the normal name is an alias. */
16935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16943 if { (eval echo configure
:16944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16945 eval "ac_cv_func_$ac_func=yes"
16947 echo "configure: failed program was:" >&5
16948 cat conftest.
$ac_ext >&5
16950 eval "ac_cv_func_$ac_func=no"
16955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16956 echo "$ac_t""yes" 1>&6
16957 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16958 cat >> confdefs.h
<<EOF
16959 #define $ac_tr_func 1
16961 cat >> confdefs.h
<<\EOF
16962 #define HAVE_DLERROR 1
16966 echo "$ac_t""no" 1>&6
16967 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16968 echo "configure:16969: checking for dlerror in -ldl" >&5
16969 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16970 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16971 echo $ac_n "(cached) $ac_c" 1>&6
16973 ac_save_LIBS
="$LIBS"
16975 cat > conftest.
$ac_ext <<EOF
16976 #line 16977 "configure"
16977 #include "confdefs.h"
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16987 if { (eval echo configure
:16988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16989 eval "ac_cv_lib_$ac_lib_var=yes"
16991 echo "configure: failed program was:" >&5
16992 cat conftest.
$ac_ext >&5
16994 eval "ac_cv_lib_$ac_lib_var=no"
16997 LIBS
="$ac_save_LIBS"
17000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17001 echo "$ac_t""yes" 1>&6
17002 cat >> confdefs.h
<<\EOF
17003 #define HAVE_DLERROR 1
17007 echo "$ac_t""no" 1>&6
17016 if test "$HAVE_DL_FUNCS" = 0; then
17017 if test "$HAVE_SHL_FUNCS" = 0; then
17018 if test "$USE_UNIX" = 1; then
17019 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17020 wxUSE_DYNLIB_CLASS
=no
17022 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17029 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17030 cat >> confdefs.h
<<\EOF
17031 #define wxUSE_DYNLIB_CLASS 1
17040 if test "$wxUSE_FONTMAP" = "yes" ; then
17041 cat >> confdefs.h
<<\EOF
17042 #define wxUSE_FONTMAP 1
17047 if test "$wxUSE_UNICODE" = "yes" ; then
17048 cat >> confdefs.h
<<\EOF
17049 #define wxUSE_UNICODE 1
17054 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17055 cat >> confdefs.h
<<\EOF
17056 #define wxUSE_EXPERIMENTAL_PRINTF 1
17062 if test "$wxUSE_SERIAL" = "yes" ; then
17063 cat >> confdefs.h
<<\EOF
17064 #define wxUSE_SERIAL 1
17071 if test "$wxUSE_ODBC" = "yes" ; then
17072 cat >> confdefs.h
<<\EOF
17073 #define wxUSE_ODBC 1
17076 WXODBCFLAG
="-D_IODBC_"
17077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17081 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17082 cat >> confdefs.h
<<\EOF
17083 #define wxUSE_POSTSCRIPT 1
17088 cat >> confdefs.h
<<\EOF
17089 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17093 cat >> confdefs.h
<<\EOF
17094 #define wxUSE_NORMALIZED_PS_FONTS 1
17099 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17100 cat >> confdefs.h
<<\EOF
17101 #define wxUSE_CONSTRAINTS 1
17104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17107 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17108 cat >> confdefs.h
<<\EOF
17109 #define wxUSE_MDI_ARCHITECTURE 1
17112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17115 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17116 cat >> confdefs.h
<<\EOF
17117 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17121 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17126 if test "$wxUSE_HELP" = "yes"; then
17127 cat >> confdefs.h
<<\EOF
17128 #define wxUSE_HELP 1
17131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17133 if test "$USE_WIN32" = 1; then
17134 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17135 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17136 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17137 echo "configure:17138: checking for htmlhelp.h" >&5
17138 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17139 echo $ac_n "(cached) $ac_c" 1>&6
17141 cat > conftest.
$ac_ext <<EOF
17142 #line 17143 "configure"
17143 #include "confdefs.h"
17144 #include <htmlhelp.h>
17146 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17147 { (eval echo configure
:17148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17148 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17149 if test -z "$ac_err"; then
17151 eval "ac_cv_header_$ac_safe=yes"
17154 echo "configure: failed program was:" >&5
17155 cat conftest.
$ac_ext >&5
17157 eval "ac_cv_header_$ac_safe=no"
17161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17162 echo "$ac_t""yes" 1>&6
17164 cat >> confdefs.h
<<\EOF
17165 #define wxUSE_MS_HTML_HELP 1
17170 echo "$ac_t""no" 1>&6
17172 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17173 wxUSE_MS_HTML_HELP
=no
17180 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17181 if test "$wxUSE_HTML" = "yes"; then
17182 cat >> confdefs.h
<<\EOF
17183 #define wxUSE_WXHTML_HELP 1
17187 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17188 wxUSE_WXHTML_HELP
=no
17193 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17194 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17195 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17197 cat >> confdefs.h
<<\EOF
17198 #define wxUSE_PRINTING_ARCHITECTURE 1
17202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17205 if test "$wxUSE_PROLOGIO" = "yes" ; then
17206 cat >> confdefs.h
<<\EOF
17207 #define wxUSE_PROLOGIO 1
17212 if test "$wxUSE_RESOURCES" = "yes" ; then
17213 cat >> confdefs.h
<<\EOF
17214 #define wxUSE_RESOURCES 1
17217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17220 if test "$wxUSE_X_RESOURCES" = "yes"; then
17221 cat >> confdefs.h
<<\EOF
17222 #define wxUSE_X_RESOURCES 1
17228 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17229 -o "$wxUSE_CLIPBOARD" = "yes" \
17230 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17231 for ac_hdr
in ole2.h
17233 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17234 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17235 echo "configure:17236: checking for $ac_hdr" >&5
17236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17237 echo $ac_n "(cached) $ac_c" 1>&6
17239 cat > conftest.
$ac_ext <<EOF
17240 #line 17241 "configure"
17241 #include "confdefs.h"
17244 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17245 { (eval echo configure
:17246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17246 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17247 if test -z "$ac_err"; then
17249 eval "ac_cv_header_$ac_safe=yes"
17252 echo "configure: failed program was:" >&5
17253 cat conftest.
$ac_ext >&5
17255 eval "ac_cv_header_$ac_safe=no"
17259 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17260 echo "$ac_t""yes" 1>&6
17261 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17262 cat >> confdefs.h
<<EOF
17263 #define $ac_tr_hdr 1
17267 echo "$ac_t""no" 1>&6
17272 if test "$ac_cv_header_ole2_h" = "yes" ; then
17273 if test "$GCC" = yes ; then
17274 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17275 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17276 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17277 cat >> confdefs.h
<<\EOF
17278 #define wxUSE_OLE 1
17284 cat >> confdefs.h
<<\EOF
17285 #define wxUSE_DATAOBJ 1
17289 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17292 wxUSE_DRAG_AND_DROP
=no
17296 if test "$wxUSE_METAFILE" = "yes"; then
17297 cat >> confdefs.h
<<\EOF
17298 #define wxUSE_METAFILE 1
17302 cat >> confdefs.h
<<\EOF
17303 #define wxUSE_ENH_METAFILE 1
17309 if test "$wxUSE_IPC" = "yes"; then
17310 if test "$wxUSE_SOCKETS" != "yes"; then
17311 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17314 cat >> confdefs.h
<<\EOF
17315 #define wxUSE_IPC 1
17320 if test "$wxUSE_CLIPBOARD" = "yes"; then
17321 cat >> confdefs.h
<<\EOF
17322 #define wxUSE_CLIPBOARD 1
17326 cat >> confdefs.h
<<\EOF
17327 #define wxUSE_DATAOBJ 1
17332 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17333 if test "$wxUSE_GTK" = 1; then
17334 if test "$WXGTK12" != 1; then
17335 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17336 wxUSE_DRAG_AND_DROP
=no
17340 if test "$wxUSE_MOTIF" = 1; then
17341 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17342 wxUSE_DRAG_AND_DROP
=no
17345 if test "$wxUSE_MAC" = 1; then
17346 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17347 wxUSE_DRAG_AND_DROP
=no
17350 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17351 cat >> confdefs.h
<<\EOF
17352 #define wxUSE_DRAG_AND_DROP 1
17355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17360 if test "$wxUSE_SPLINES" = "yes" ; then
17361 cat >> confdefs.h
<<\EOF
17362 #define wxUSE_SPLINES 1
17369 if test "$wxUSE_CONTROLS" = "yes"; then
17373 if test "$wxUSE_ACCEL" = "yes"; then
17374 cat >> confdefs.h
<<\EOF
17375 #define wxUSE_ACCEL 1
17381 if test "$wxUSE_BUTTON" = "yes"; then
17382 cat >> confdefs.h
<<\EOF
17383 #define wxUSE_BUTTON 1
17389 if test "$wxUSE_BMPBUTTON" = "yes"; then
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_BMPBUTTON 1
17397 if test "$wxUSE_CALCTRL" = "yes"; then
17398 cat >> confdefs.h
<<\EOF
17399 #define wxUSE_CALENDARCTRL 1
17403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17406 if test "$wxUSE_CARET" = "yes"; then
17407 cat >> confdefs.h
<<\EOF
17408 #define wxUSE_CARET 1
17412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17415 if test "$wxUSE_COMBOBOX" = "yes"; then
17416 cat >> confdefs.h
<<\EOF
17417 #define wxUSE_COMBOBOX 1
17423 if test "$wxUSE_CHOICE" = "yes"; then
17424 cat >> confdefs.h
<<\EOF
17425 #define wxUSE_CHOICE 1
17431 if test "$wxUSE_CHECKBOX" = "yes"; then
17432 cat >> confdefs.h
<<\EOF
17433 #define wxUSE_CHECKBOX 1
17439 if test "$wxUSE_CHECKLST" = "yes"; then
17440 cat >> confdefs.h
<<\EOF
17441 #define wxUSE_CHECKLISTBOX 1
17445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17448 if test "$wxUSE_GAUGE" = "yes"; then
17449 cat >> confdefs.h
<<\EOF
17450 #define wxUSE_GAUGE 1
17456 if test "$wxUSE_NEW_GRID" = "yes"; then
17458 cat >> confdefs.h
<<\EOF
17459 #define wxUSE_NEW_GRID 1
17463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17466 if test "$wxUSE_GRID" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_GRID 1
17472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17475 if test "$wxUSE_IMAGLIST" = "yes"; then
17476 cat >> confdefs.h
<<\EOF
17477 #define wxUSE_IMAGLIST 1
17482 if test "$wxUSE_LISTBOX" = "yes"; then
17483 cat >> confdefs.h
<<\EOF
17484 #define wxUSE_LISTBOX 1
17490 if test "$wxUSE_LISTCTRL" = "yes"; then
17491 if test "$wxUSE_IMAGLIST" = "yes"; then
17492 cat >> confdefs.h
<<\EOF
17493 #define wxUSE_LISTCTRL 1
17497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17499 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17503 if test "$wxUSE_NOTEBOOK" = "yes"; then
17504 cat >> confdefs.h
<<\EOF
17505 #define wxUSE_NOTEBOOK 1
17509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17512 if test "$wxUSE_PROPSHEET" = "yes"; then
17513 cat >> confdefs.h
<<\EOF
17514 #define wxUSE_PROPSHEET 1
17518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17521 if test "$wxUSE_RADIOBOX" = "yes"; then
17522 cat >> confdefs.h
<<\EOF
17523 #define wxUSE_RADIOBOX 1
17529 if test "$wxUSE_RADIOBTN" = "yes"; then
17530 cat >> confdefs.h
<<\EOF
17531 #define wxUSE_RADIOBTN 1
17537 if test "$wxUSE_SASH" = "yes"; then
17538 cat >> confdefs.h
<<\EOF
17539 #define wxUSE_SASH 1
17542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17545 if test "$wxUSE_SCROLLBAR" = "yes"; then
17546 cat >> confdefs.h
<<\EOF
17547 #define wxUSE_SCROLLBAR 1
17551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17554 if test "$wxUSE_SLIDER" = "yes"; then
17555 cat >> confdefs.h
<<\EOF
17556 #define wxUSE_SLIDER 1
17562 if test "$wxUSE_SPINBTN" = "yes"; then
17563 cat >> confdefs.h
<<\EOF
17564 #define wxUSE_SPINBTN 1
17570 if test "$wxUSE_SPINCTRL" = "yes"; then
17571 cat >> confdefs.h
<<\EOF
17572 #define wxUSE_SPINCTRL 1
17578 if test "$wxUSE_SPLITTER" = "yes"; then
17579 cat >> confdefs.h
<<\EOF
17580 #define wxUSE_SPLITTER 1
17583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17586 if test "$wxUSE_STATBMP" = "yes"; then
17587 cat >> confdefs.h
<<\EOF
17588 #define wxUSE_STATBMP 1
17594 if test "$wxUSE_STATBOX" = "yes"; then
17595 cat >> confdefs.h
<<\EOF
17596 #define wxUSE_STATBOX 1
17602 if test "$wxUSE_STATTEXT" = "yes"; then
17603 cat >> confdefs.h
<<\EOF
17604 #define wxUSE_STATTEXT 1
17610 if test "$wxUSE_STATLINE" = "yes"; then
17611 if test "$wxUSE_WINE" = 1 ; then
17612 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17614 cat >> confdefs.h
<<\EOF
17615 #define wxUSE_STATLINE 1
17622 if test "$wxUSE_STATUSBAR" = "yes"; then
17623 cat >> confdefs.h
<<\EOF
17624 #define wxUSE_STATUSBAR 1
17629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17632 if test "$wxUSE_TABDIALOG" = "yes"; then
17633 cat >> confdefs.h
<<\EOF
17634 #define wxUSE_TAB_DIALOG 1
17637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17640 if test "$wxUSE_TEXTCTRL" = "yes"; then
17641 cat >> confdefs.h
<<\EOF
17642 #define wxUSE_TEXTCTRL 1
17646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17649 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17650 if test "$wxUSE_MAC" = 1; then
17651 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17655 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17656 cat >> confdefs.h
<<\EOF
17657 #define wxUSE_TOGGLEBTN 1
17664 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17665 cat >> confdefs.h
<<\EOF
17666 #define wxUSE_TOOLBAR_SIMPLE 1
17669 wxUSE_TOOLBAR
="yes"
17673 if test "$wxUSE_TOOLBAR" = "yes"; then
17674 cat >> confdefs.h
<<\EOF
17675 #define wxUSE_TOOLBAR 1
17680 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17681 wxUSE_TOOLBAR_NATIVE
="yes"
17684 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17685 cat >> confdefs.h
<<\EOF
17686 #define wxUSE_TOOLBAR_NATIVE 1
17692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17695 if test "$wxUSE_TOOLTIPS" = "yes"; then
17696 if test "$wxUSE_MOTIF" = 1; then
17697 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17699 if test "$wxUSE_WINE" = 1; then
17700 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17702 cat >> confdefs.h
<<\EOF
17703 #define wxUSE_TOOLTIPS 1
17710 if test "$wxUSE_TREECTRL" = "yes"; then
17711 if test "$wxUSE_IMAGLIST" = "yes"; then
17712 cat >> confdefs.h
<<\EOF
17713 #define wxUSE_TREECTRL 1
17717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17719 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17723 if test "$wxUSE_POPUPWIN" = "yes"; then
17724 if test "$wxUSE_MAC" = 1; then
17725 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17727 cat >> confdefs.h
<<\EOF
17728 #define wxUSE_POPUPWIN 1
17735 if test "$USES_CONTROLS" = 1; then
17736 cat >> confdefs.h
<<\EOF
17737 #define wxUSE_CONTROLS 1
17743 if test "$wxUSE_TREELAYOUT" = "yes"; then
17744 cat >> confdefs.h
<<\EOF
17745 #define wxUSE_TREELAYOUT 1
17748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17751 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17752 cat >> confdefs.h
<<\EOF
17753 #define wxUSE_DRAGIMAGE 1
17756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17759 if test "$wxUSE_MENUS" = "yes"; then
17760 cat >> confdefs.h
<<\EOF
17761 #define wxUSE_MENUS 1
17764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17767 if test "$wxUSE_METAFILE" = "yes"; then
17768 cat >> confdefs.h
<<\EOF
17769 #define wxUSE_METAFILE 1
17774 if test "$wxUSE_MIMETYPE" = "yes"; then
17775 cat >> confdefs.h
<<\EOF
17776 #define wxUSE_MIMETYPE 1
17781 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17782 cat >> confdefs.h
<<\EOF
17783 #define wxUSE_SYSTEM_OPTIONS 1
17788 if test "$wxUSE_MINIFRAME" = "yes"; then
17789 cat >> confdefs.h
<<\EOF
17790 #define wxUSE_MINIFRAME 1
17793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17796 if test "$wxUSE_HTML" = "yes"; then
17797 cat >> confdefs.h
<<\EOF
17798 #define wxUSE_HTML 1
17801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17804 if test "$wxUSE_VALIDATORS" = "yes"; then
17805 cat >> confdefs.h
<<\EOF
17806 #define wxUSE_VALIDATORS 1
17809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17812 if test "$wxUSE_IMAGE" = "yes" ; then
17813 cat >> confdefs.h
<<\EOF
17814 #define wxUSE_IMAGE 1
17819 if test "$wxUSE_GIF" = "yes" ; then
17820 cat >> confdefs.h
<<\EOF
17821 #define wxUSE_GIF 1
17826 if test "$wxUSE_PCX" = "yes" ; then
17827 cat >> confdefs.h
<<\EOF
17828 #define wxUSE_PCX 1
17833 if test "$wxUSE_PNM" = "yes" ; then
17834 cat >> confdefs.h
<<\EOF
17835 #define wxUSE_PNM 1
17840 if test "$wxUSE_XPM" = "yes" ; then
17841 cat >> confdefs.h
<<\EOF
17842 #define wxUSE_XPM 1
17848 if test "$wxUSE_CHOICEDLG" = "yes"; then
17849 cat >> confdefs.h
<<\EOF
17850 #define wxUSE_CHOICEDLG 1
17855 if test "$wxUSE_COLOURDLG" = "yes"; then
17856 cat >> confdefs.h
<<\EOF
17857 #define wxUSE_COLOURDLG 1
17862 if test "$wxUSE_FILEDLG" = "yes"; then
17863 cat >> confdefs.h
<<\EOF
17864 #define wxUSE_FILEDLG 1
17869 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17870 cat >> confdefs.h
<<\EOF
17871 #define wxUSE_FINDREPLDLG 1
17876 if test "$wxUSE_FONTDLG" = "yes"; then
17877 cat >> confdefs.h
<<\EOF
17878 #define wxUSE_FONTDLG 1
17883 if test "$wxUSE_DIRDLG" = "yes"; then
17884 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17885 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17887 if test "$wxUSE_TREECTRL" != "yes"; then
17888 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17890 cat >> confdefs.h
<<\EOF
17891 #define wxUSE_DIRDLG 1
17898 if test "$wxUSE_MSGDLG" = "yes"; then
17899 cat >> confdefs.h
<<\EOF
17900 #define wxUSE_MSGDLG 1
17905 if test "$wxUSE_NUMBERDLG" = "yes"; then
17906 cat >> confdefs.h
<<\EOF
17907 #define wxUSE_NUMBERDLG 1
17912 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17913 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17914 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17916 cat >> confdefs.h
<<\EOF
17917 #define wxUSE_PROGRESSDLG 1
17923 if test "$wxUSE_SPLASH" = "yes"; then
17924 cat >> confdefs.h
<<\EOF
17925 #define wxUSE_SPLASH 1
17930 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17931 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17932 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17934 cat >> confdefs.h
<<\EOF
17935 #define wxUSE_STARTUP_TIPS 1
17941 if test "$wxUSE_TEXTDLG" = "yes"; then
17942 cat >> confdefs.h
<<\EOF
17943 #define wxUSE_TEXTDLG 1
17948 if test "$wxUSE_WIZARDDLG" = "yes"; then
17949 cat >> confdefs.h
<<\EOF
17950 #define wxUSE_WIZARDDLG 1
17953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17957 if test "$cross_compiling" = "yes"; then
17960 OSINFO
=`uname -s -r -m`
17961 OSINFO
="\"$OSINFO\""
17964 cat >> confdefs.h
<<EOF
17965 #define WXWIN_OS_DESCRIPTION $OSINFO
17970 if test "x$prefix" != "xNONE"; then
17973 wxPREFIX
=$ac_default_prefix
17976 cat >> confdefs.h
<<EOF
17977 #define wxINSTALL_PREFIX "$wxPREFIX"
17982 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17984 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17986 if test "$wxUSE_MAC" = 1 ; then
17987 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17990 if test "$wxUSE_GUI" = "yes"; then
17991 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17995 drawing dynamic erase event exec font image \
17996 minimal richedit rotate widgets"
17998 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
18002 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18004 SAMPLES_SUBDIRS
="console"
18007 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18009 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18010 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18011 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18013 if test "$wxUSE_GTK" = 1; then
18014 WXCONFIG_INCLUDE
=""
18016 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18019 if test "$GXX" = yes ; then
18020 CXXWARNINGS
="-Wall"
18022 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18024 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18025 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18027 LDFLAGS
="$LDFLAGS $PROFILE"
18029 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18112 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18113 echo "configure:18114: checking whether ${MAKE-make} sets \${MAKE}" >&5
18114 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18115 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18116 echo $ac_n "(cached) $ac_c" 1>&6
18118 cat > conftestmake
<<\EOF
18120 @
echo 'ac_maketemp="${MAKE}"'
18122 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18123 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18124 if test -n "$ac_maketemp"; then
18125 eval ac_cv_prog_make_
${ac_make}_set
=yes
18127 eval ac_cv_prog_make_
${ac_make}_set
=no
18131 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18132 echo "$ac_t""yes" 1>&6
18135 echo "$ac_t""no" 1>&6
18136 SET_MAKE
="MAKE=${MAKE-make}"
18140 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18141 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18146 if test "$wxUSE_GUI" = "yes"; then
18147 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18148 wx_cv_path_ifs
=$PATH_IFS
18149 wx_cv_program_ext
=$PROGRAM_EXT
18150 wx_cv_target_library
=$WX_TARGET_LIBRARY
18151 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18152 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18153 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18154 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18155 subdirs
="demos samples utils contrib"
18160 cat > confcache
<<\EOF
18161 # This file is a shell script that caches the results of configure
18162 # tests run on this system so they can be shared between configure
18163 # scripts and configure runs. It is not useful on other systems.
18164 # If it contains results you don't want to keep, you may remove or edit it.
18166 # By default, configure uses ./config.cache as the cache file,
18167 # creating it if it does not exist already. You can give configure
18168 # the --cache-file=FILE option to use a different cache file; that is
18169 # what configure does when it calls configure scripts in
18170 # subdirectories, so they share the cache.
18171 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18172 # config.status only pays attention to the cache file if you give it the
18173 # --recheck option to rerun configure.
18176 # The following way of writing the cache mishandles newlines in values,
18177 # but we know of no workaround that is simple, portable, and efficient.
18178 # So, don't put newlines in cache variables' values.
18179 # Ultrix sh set writes to stderr and can't be redirected directly,
18180 # and sets the high bit in the cache file unless we assign to the vars.
18182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18184 # `set' does not quote correctly, so add quotes (double-quote substitution
18185 # turns \\\\ into \\, and sed turns \\ into \).
18187 -e "s/'/'\\\\''/g" \
18188 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18191 # `set' quotes correctly as required by POSIX, so do not add quotes.
18192 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18195 if cmp -s $cache_file confcache
; then
18198 if test -w $cache_file; then
18199 echo "updating cache $cache_file"
18200 cat confcache
> $cache_file
18202 echo "not updating unwritable cache $cache_file"
18207 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18209 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18210 # Let make expand exec_prefix.
18211 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18213 # Any assignment to VPATH causes Sun make to only execute
18214 # the first set of double-colon rules, so remove it if not needed.
18215 # If there is a colon in the path, we need to keep it.
18216 if test "x$srcdir" = x.
; then
18217 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18220 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18222 DEFS
=-DHAVE_CONFIG_H
18224 # Without the "./", some shells look in PATH for config.status.
18225 : ${CONFIG_STATUS=./config.status}
18227 echo creating
$CONFIG_STATUS
18228 rm -f $CONFIG_STATUS
18229 cat > $CONFIG_STATUS <<EOF
18231 # Generated automatically by configure.
18232 # Run this file to recreate the current configuration.
18233 # This directory was configured as follows,
18234 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18236 # $0 $ac_configure_args
18238 # Compiler output produced by configure, useful for debugging
18239 # configure, is in ./config.log if it exists.
18241 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18244 case "\$ac_option" in
18245 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18246 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18247 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18248 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18249 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18251 -help | --help | --hel | --he | --h)
18252 echo "\$ac_cs_usage"; exit 0 ;;
18253 *) echo "\$ac_cs_usage"; exit 1 ;;
18257 ac_given_srcdir=$srcdir
18258 ac_given_INSTALL="$INSTALL"
18260 trap 'rm -fr `echo "
18266 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18268 cat >> $CONFIG_STATUS <<EOF
18270 # Protect against being on the right side of a sed subst in config.status.
18271 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18272 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18276 s%@CFLAGS@%$CFLAGS%g
18277 s%@CPPFLAGS@%$CPPFLAGS%g
18278 s%@CXXFLAGS@%$CXXFLAGS%g
18279 s%@FFLAGS@%$FFLAGS%g
18281 s%@LDFLAGS@%$LDFLAGS%g
18283 s%@exec_prefix@%$exec_prefix%g
18284 s%@prefix@%$prefix%g
18285 s%@program_transform_name@%$program_transform_name%g
18286 s%@bindir@%$bindir%g
18287 s%@sbindir@%$sbindir%g
18288 s%@libexecdir@%$libexecdir%g
18289 s%@datadir@%$datadir%g
18290 s%@sysconfdir@%$sysconfdir%g
18291 s%@sharedstatedir@%$sharedstatedir%g
18292 s%@localstatedir@%$localstatedir%g
18293 s%@libdir@%$libdir%g
18294 s%@includedir@%$includedir%g
18295 s%@oldincludedir@%$oldincludedir%g
18296 s%@infodir@%$infodir%g
18297 s%@mandir@%$mandir%g
18299 s%@host_alias@%$host_alias%g
18300 s%@host_cpu@%$host_cpu%g
18301 s%@host_vendor@%$host_vendor%g
18302 s%@host_os@%$host_os%g
18303 s%@target@%$target%g
18304 s%@target_alias@%$target_alias%g
18305 s%@target_cpu@%$target_cpu%g
18306 s%@target_vendor@%$target_vendor%g
18307 s%@target_os@%$target_os%g
18309 s%@build_alias@%$build_alias%g
18310 s%@build_cpu@%$build_cpu%g
18311 s%@build_vendor@%$build_vendor%g
18312 s%@build_os@%$build_os%g
18316 s%@RANLIB@%$RANLIB%g
18318 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18319 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18320 s%@INSTALL_DATA@%$INSTALL_DATA%g
18324 s%@LEXLIB@%$LEXLIB%g
18326 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18327 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18328 s%@GTK_LIBS@%$GTK_LIBS%g
18329 s%@GTK_CONFIG@%$GTK_CONFIG%g
18330 s%@X_CFLAGS@%$X_CFLAGS%g
18331 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18332 s%@X_LIBS@%$X_LIBS%g
18333 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18334 s%@RESCOMP@%$RESCOMP%g
18336 s%@CXXCPP@%$CXXCPP%g
18337 s%@LEX_STEM@%$LEX_STEM%g
18338 s%@PATH_IFS@%$PATH_IFS%g
18339 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18340 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18341 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18342 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18343 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18344 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18345 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18346 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18347 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18348 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18349 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18350 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18351 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18352 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18353 s%@WX_ALL@%$WX_ALL%g
18354 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18355 s%@SHARED_LD@%$SHARED_LD%g
18356 s%@PIC_FLAG@%$PIC_FLAG%g
18357 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18358 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18359 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18360 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18361 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18362 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18363 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18364 s%@USE_GUI@%$USE_GUI%g
18365 s%@AFMINSTALL@%$AFMINSTALL%g
18366 s%@TOOLKIT@%$TOOLKIT%g
18367 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18368 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18369 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18370 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18371 s%@cross_compiling@%$cross_compiling%g
18372 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18373 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18374 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18375 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18376 s%@GUIDIST@%$GUIDIST%g
18377 s%@PORT_FILES@%$PORT_FILES%g
18378 s%@DISTDIR@%$DISTDIR%g
18379 s%@RPM_SPEC@%$RPM_SPEC%g
18380 s%@RPM_FILES@%$RPM_FILES%g
18381 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18382 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18383 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18384 s%@EXTRADEFS@%$EXTRADEFS%g
18385 s%@LD_LIBS@%$LD_LIBS%g
18386 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18387 s%@RESFLAGS@%$RESFLAGS%g
18388 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18389 s%@WX_RESOURCES_DARWIN@%$WX_RESOURCES_DARWIN%g
18390 s%@LIBWXMACRES@%$LIBWXMACRES%g
18391 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18392 s%@DLLTOOL@%$DLLTOOL%g
18396 s%@MAKEINFO@%$MAKEINFO%g
18397 s%@SET_MAKE@%$SET_MAKE%g
18398 s%@subdirs@%$subdirs%g
18403 cat >> $CONFIG_STATUS <<\EOF
18405 # Split the substitutions into bite-sized pieces for seds with
18406 # small command number limits, like on Digital OSF/1 and HP-UX.
18407 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18408 ac_file
=1 # Number of current file.
18409 ac_beg
=1 # First line for current file.
18410 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18413 while $ac_more_lines; do
18414 if test $ac_beg -gt 1; then
18415 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18417 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18419 if test ! -s conftest.s
$ac_file; then
18420 ac_more_lines
=false
18421 rm -f conftest.s
$ac_file
18423 if test -z "$ac_sed_cmds"; then
18424 ac_sed_cmds
="sed -f conftest.s$ac_file"
18426 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18428 ac_file
=`expr $ac_file + 1`
18430 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18433 if test -z "$ac_sed_cmds"; then
18438 cat >> $CONFIG_STATUS <<EOF
18440 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18447 cat >> $CONFIG_STATUS <<\EOF
18448 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18449 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18451 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18452 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18453 *) ac_file_in
="${ac_file}.in" ;;
18456 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18458 # Remove last slash and all that follows it. Not all systems have dirname.
18459 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18460 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18461 # The file is in a subdirectory.
18462 test ! -d "$ac_dir" && mkdir "$ac_dir"
18463 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18464 # A "../" for each directory in $ac_dir_suffix.
18465 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18467 ac_dir_suffix
= ac_dots
=
18470 case "$ac_given_srcdir" in
18472 if test -z "$ac_dots"; then top_srcdir
=.
18473 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18474 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18475 *) # Relative path.
18476 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18477 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18480 case "$ac_given_INSTALL" in
18481 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18482 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18485 echo creating
"$ac_file"
18487 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18489 *Makefile
*) ac_comsub
="1i\\
18490 # $configure_input" ;;
18494 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18496 s%@configure_input@%$configure_input%g
18497 s%@srcdir@%$srcdir%g
18498 s%@top_srcdir@%$top_srcdir%g
18499 s%@INSTALL@%$INSTALL%g
18500 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18504 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18505 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18507 # ac_d sets the value in "#define NAME VALUE" lines.
18508 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18509 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18512 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18513 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18514 ac_uB
='\([ ]\)%\1#\2define\3'
18517 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18518 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18519 ac_eB
='$%\1#\2define\3'
18523 if test "${CONFIG_HEADERS+set}" != set; then
18525 cat >> $CONFIG_STATUS <<EOF
18526 CONFIG_HEADERS="setup.h:setup.h.in"
18528 cat >> $CONFIG_STATUS <<\EOF
18530 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18531 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18533 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18534 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18535 *) ac_file_in
="${ac_file}.in" ;;
18538 echo creating
$ac_file
18540 rm -f conftest.frag conftest.
in conftest.out
18541 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18542 cat $ac_file_inputs > conftest.
in
18546 # Transform confdefs.h into a sed script conftest.vals that substitutes
18547 # the proper values into config.h.in to produce config.h. And first:
18548 # Protect against being on the right side of a sed subst in config.status.
18549 # Protect against being in an unquoted here document in config.status.
18550 rm -f conftest.vals
18551 cat > conftest.hdr
<<\EOF
18554 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18558 sed -n -f conftest.hdr confdefs.h > conftest.vals
18561 # This sed command replaces #undef with comments. This is necessary, for
18562 # example, in the case of _POSIX_SOURCE, which is predefined and required
18563 # on some systems where configure will not decide to define it.
18564 cat >> conftest.vals <<\EOF
18565 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18568 # Break up conftest.vals because some shells have a limit on
18569 # the size of here documents, and old seds have small limits too.
18571 rm -f conftest.tail
18574 ac_lines=`grep -c . conftest.vals
`
18575 # grep -c gives empty output for an empty file on some AIX systems.
18576 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18577 # Write a limited-size here document to conftest.frag.
18578 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18579 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18581 sed -f conftest.frag conftest.in > conftest.out
18583 mv conftest.out conftest.in
18584 ' >> $CONFIG_STATUS
18585 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18586 rm -f conftest.vals
18587 mv conftest.tail conftest.vals
18589 rm -f conftest.vals
18591 cat >> $CONFIG_STATUS <<\EOF
18592 rm -f conftest.frag conftest.h
18593 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18594 cat conftest.in >> conftest.h
18596 if cmp -s $ac_file conftest.h 2>/dev/null; then
18597 echo "$ac_file is unchanged"
18600 # Remove last slash and all that follows it. Not all systems have dirname.
18601 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18602 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18603 # The file is in a subdirectory.
18604 test ! -d "$ac_dir" && mkdir "$ac_dir"
18607 mv conftest.h $ac_file
18612 cat >> $CONFIG_STATUS <<EOF
18614 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18619 cat >> $CONFIG_STATUS <<\EOF
18621 if test ! -L wx-config; then
18623 mv wx-config wx${TOOLCHAIN_NAME}-config
18624 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18627 if test ! -d lib; then
18630 if test ! -d lib/wx; then
18633 if test ! -d lib/wx/include; then
18634 mkdir lib/wx/include
18636 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18637 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18639 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18640 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18642 if test -f setup.h; then
18643 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18648 chmod +x $CONFIG_STATUS
18649 rm -fr confdefs* $ac_clean_files
18650 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18652 if test "$no_recursion" != yes; then
18654 # Remove --cache-file and --srcdir arguments so they do not pile up.
18655 ac_sub_configure_args=
18657 for ac_arg in $ac_configure_args; do
18658 if test -n "$ac_prev"; then
18663 -cache-file | --cache-file | --cache-fil | --cache-fi \
18664 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18665 ac_prev=cache_file ;;
18666 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18667 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18673 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18677 for ac_config_dir in demos samples utils contrib; do
18679 # Do not complain, so a configure script can configure whichever
18680 # parts of a large source tree are present.
18681 if test ! -d $srcdir/$ac_config_dir; then
18685 echo configuring in $ac_config_dir
18690 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18692 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18700 # A "../" for each directory in /$ac_config_dir.
18701 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18704 .) # No --srcdir option. We are building in place.
18705 ac_sub_srcdir=$srcdir ;;
18706 /*) # Absolute path.
18707 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18708 *) # Relative path.
18709 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18712 # Check for guested configure; otherwise get Cygnus style configure.
18713 if test -f $ac_sub_srcdir/configure; then
18714 ac_sub_configure=$ac_sub_srcdir/configure
18715 elif test -f $ac_sub_srcdir/configure.in; then
18716 ac_sub_configure=$ac_configure
18718 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18722 # The recursion is here.
18723 if test -n "$ac_sub_configure"; then
18725 # Make the cache file name correct relative to the subdirectory.
18726 case "$cache_file" in
18727 /*) ac_sub_cache_file=$cache_file ;;
18728 *) # Relative path.
18729 ac_sub_cache_file="$ac_dots$cache_file" ;;
18731 case "$ac_given_INSTALL" in
18732 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18733 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18736 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18737 # The eval makes quoting arguments work.
18738 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18741 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }