3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
69 # Configure paths for GTK+
74 # Guess values for system-dependent variables and create Makefiles.
75 # Generated automatically using autoconf version 2.12
76 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
78 # This configure script is free software; the Free Software Foundation
79 # gives unlimited permission to copy, distribute and modify it.
83 ac_default_prefix
=/usr
/local
84 # Any additions from configure.in:
86 --enable-gui use GUI classes"
88 --enable-universal use wxWindows GUI controls instead of native ones"
92 --with-motif use Motif/Lesstif"
94 --with-mac use Mac OS X"
98 --with-msw use MS-Windows"
100 --with-pm use OS/2 Presentation Manager"
102 --with-mgl use SciTech MGL"
104 --with-microwin use MicroWindows"
108 --enable-nanox use NanoX"
110 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
112 --with-libpng use libpng (PNG image format)"
114 --with-libjpeg use libjpeg (JPEG file format)"
116 --with-libtiff use libtiff (TIFF file format)"
118 --with-opengl use OpenGL (or Mesa)"
120 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
122 --with-regex enable support for wxRegEx class"
124 --with-zlib use zlib for LZW compression"
126 --with-odbc use the IODBC and wxODBC classes"
128 --enable-shared create shared library code"
130 --enable-soname set the DT_SONAME field in ELF shared libraries"
132 --enable-optimise create optimised code"
134 --enable-debug same as debug_flag and debug_info"
136 --enable-precomp enable use of precompiled headers (Mac OS X)"
138 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
140 --enable-debug_info create code with debugging information"
142 --enable-debug_gdb create code with extra GDB debugging information"
144 --enable-debug_cntxt use wxDebugContext"
146 --enable-mem_tracing create code with memory tracing"
148 --enable-profile create code with profiling information"
150 --enable-no_rtti create code without RTTI information"
152 --enable-no_exceptions create code without C++ exceptions handling"
154 --enable-permissive compile code disregarding strict ANSI"
156 --enable-no_deps create code without dependency information"
158 --enable-compat20 enable wxWindows 2.0 compatibility"
160 --disable-compat22 disable wxWindows 2.2 compatibility"
162 --enable-rpath=DIR output the rpath flag from wx-config"
164 --enable-intl use internationalization system"
166 --enable-config use wxConfig (and derived) classes"
168 --enable-protocols use wxProtocol and derived classes"
170 --enable-ftp use wxFTP (requires wxProtocol"
172 --enable-http use wxHTTP (requires wxProtocol"
174 --enable-fileproto use wxFileProto class (requires wxProtocol"
176 --enable-sockets use socket/network classes"
178 --enable-ipc use interprocess communication (wxSocket etc.)"
180 --enable-cmdline use wxCmdLineParser class"
182 --enable-datetime use wxDateTime class"
184 --enable-timedate use obsolete wxDate/wxTime classes"
186 --enable-stopwatch use wxStopWatch class"
188 --enable-dialupman use dialup network classes"
190 --enable-apple_ieee use the Apple IEEE codec"
192 --enable-timer use wxTimer class"
194 --enable-wave use wxWave class"
196 --enable-fraction use wxFraction class"
198 --enable-dynlib use wxLibrary class for DLL loading"
200 --enable-dynamicloader use (new) wxDynamicLibrary class"
202 --enable-longlong use wxLongLong class"
204 --enable-geometry use geometry class"
206 --enable-log use logging system"
208 --enable-streams use wxStream etc classes"
210 --enable-file use wxFile classes"
212 --enable-ffile use wxFFile classes"
214 --enable-textbuf use wxTextBuffer class"
216 --enable-textfile use wxTextFile class"
218 --enable-fontmap use font encodings conversion classes"
220 --enable-unicode compile wxString with Unicode support"
222 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
224 --enable-wxprintfv use wxWindows implementation of vprintf()"
226 --enable-std_iostreams use standard C++ stream classes"
228 --enable-filesystem use virtual file systems classes"
230 --enable-fs_inet use virtual HTTP/FTP filesystems"
232 --enable-fs_zip use virtual ZIP filesystems"
234 --enable-zipstream use wxZipInputStream"
236 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
238 --enable-snglinst use wxSingleInstanceChecker class"
240 --enable-mimetype use wxMimeTypesManager"
242 --enable-sysoptions use wxSystemOptions"
244 --enable-url use wxURL class"
246 --enable-protocol use wxProtocol class"
248 --enable-protocol-http HTTP support in wxProtocol"
250 --enable-protocol-ftp FTP support in wxProtocol"
252 --enable-protocol-file FILE support in wxProtocol"
254 --enable-threads use threads"
256 --enable-docview use document view architecture"
258 --enable-help use help subsystem"
260 --enable-mshtmlhelp use MS HTML Help (win32)"
262 --enable-html use wxHTML sub-library"
264 --enable-htmlhelp use wxHTML-based help"
266 --enable-constraints use layout-constraints system"
268 --enable-printarch use printing architecture"
270 --enable-mdi use multiple document interface architecture"
272 --enable-loggui use standard GUI logger"
274 --enable-logwin use wxLogWindow"
276 --enable-logdialog use wxLogDialog"
278 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
280 --enable-prologio use Prolog IO library"
282 --enable-resources use wxWindows resources"
284 --enable-xresources use X resources for save (default for gtk+)"
286 --enable-clipboard use wxClipboard classes"
288 --enable-dnd use Drag'n'Drop classes"
290 --enable-metafile use win32 metafiles"
292 --enable-treelayout use wxTreeLayout classes"
294 --enable-controls use all usual controls"
296 --enable-accel use accelerators"
298 --enable-button use wxButton class"
300 --enable-bmpbutton use wxBitmapButton class"
302 --enable-calendar use wxCalendarCtrl class"
304 --enable-caret use wxCaret class"
306 --enable-checkbox use wxCheckBox class"
308 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
310 --enable-choice use wxChoice class"
312 --enable-combobox use wxComboBox classes"
314 --enable-gauge use wxGauge class"
316 --enable-grid use wxGrid class"
318 --enable-newgrid use new wxGrid class"
320 --enable-imaglist use wxImageList class"
322 --enable-listbox use wxListBox class"
324 --enable-listctrl use wxListCtrl class"
326 --enable-notebook use wxNotebook class"
328 --enable-propsheet use wxPropertySheet class"
330 --enable-radiobox use wxRadioBox class"
332 --enable-radiobtn use wxRadioButton class"
334 --enable-sash use wxSashWindow class"
336 --enable-scrollbar use wxScrollBar class and scrollable windows"
338 --enable-slider use wxSlider class"
340 --enable-spinbtn use wxSpinButton class"
342 --enable-spinctrl use wxSpinCtrl class"
344 --enable-splitter use wxSplitterWindow class"
346 --enable-statbmp use wxStaticBitmap class"
348 --enable-statbox use wxStaticBox class"
350 --enable-statline use wxStaticLine class"
352 --enable-stattext use wxStaticText class"
354 --enable-statusbar use wxStatusBar class"
356 --enable-tabdialog use wxTabControl class"
358 --enable-textctrl use wxTextCtrl class"
360 --enable-togglebtn use wxToggleButton class"
362 --enable-toolbar use wxToolBar class"
364 --enable-tbarnative use native wxToolBar class"
366 --enable-tbarsmpl use wxToolBarSimple class"
368 --enable-treectrl use wxTreeCtrl class"
370 --enable-tipwindow use wxTipWindow class"
372 --enable-popupwin use wxPopUpWindow class"
374 --enable-commondlg use all common dialogs"
376 --enable-choicedlg use wxChoiceDialog"
378 --enable-coldlg use wxColourDialog"
380 --enable-filedlg use wxFileDialog"
382 --enable-finddlg use wxFindReplaceDialog"
384 --enable-fontdlg use wxFontDialog"
386 --enable-dirdlg use wxDirDialog"
388 --enable-msgdlg use wxMessageDialog"
390 --enable-numberdlg use wxNumberEntryDialog"
392 --enable-splash use wxSplashScreen"
394 --enable-textdlg use wxTextDialog"
396 --enable-tipdlg use startup tips"
398 --enable-progressdlg use wxProgressDialog"
400 --enable-wizarddlg use wxWizard"
402 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
404 --enable-miniframe use wxMiniFrame class"
406 --enable-tooltips use wxToolTip class"
408 --enable-splines use spline drawing code"
410 --enable-validators use wxValidator and derived classes"
412 --enable-busyinfo use wxBusyInfo"
414 --enable-joystick use wxJoystick (Linux only)"
416 --enable-metafiles use wxMetaFile (Windows only)"
418 --enable-dragimage use wxDragImage"
420 --enable-palette use wxPalette class"
422 --enable-image use wxImage class"
424 --enable-gif use gif images (GIF file format)"
426 --enable-pcx use pcx images (PCX file format)"
428 --enable-iff use iff images (IFF file format)"
430 --enable-pnm use pnm images (PNM file format)"
432 --enable-xpm use xpm images (XPM file format)"
434 --enable-icocur use Windows ICO and CUR formats"
436 --disable-largefile omit support for large files"
438 --disable-gtktest do not try to compile and run a test GTK+ program"
440 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
442 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
444 --disable-gtktest Do not try to compile and run a test GTK program"
446 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
448 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
450 --disable-gtktest Do not try to compile and run a test GTK program"
452 --with-x use the X Window System"
454 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
456 # Initialize some variables set by options.
457 # The variables have the same names as the options, with
458 # dashes changed to underlines.
460 cache_file
=.
/config.cache
469 program_transform_name
=s
,x
,x
,
477 bindir
='${exec_prefix}/bin'
478 sbindir
='${exec_prefix}/sbin'
479 libexecdir
='${exec_prefix}/libexec'
480 datadir
='${prefix}/share'
481 sysconfdir
='${prefix}/etc'
482 sharedstatedir
='${prefix}/com'
483 localstatedir
='${prefix}/var'
484 libdir
='${exec_prefix}/lib'
485 includedir
='${prefix}/include'
486 oldincludedir
='/usr/include'
487 infodir
='${prefix}/info'
488 mandir
='${prefix}/man'
490 # Initialize some other variables.
493 # Maximum number of lines to put in a shell here document.
500 # If the previous option needs an argument, assign it.
501 if test -n "$ac_prev"; then
502 eval "$ac_prev=\$ac_option"
508 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
512 # Accept the important Cygnus configure options, so we can diagnose typos.
516 -bindir | --bindir | --bindi | --bind | --bin | --bi)
518 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
519 bindir
="$ac_optarg" ;;
521 -build | --build | --buil | --bui | --bu)
523 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
524 build
="$ac_optarg" ;;
526 -cache-file | --cache-file | --cache-fil | --cache-fi \
527 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
528 ac_prev
=cache_file
;;
529 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
530 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
531 cache_file
="$ac_optarg" ;;
533 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
535 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
537 datadir
="$ac_optarg" ;;
539 -disable-* | --disable-*)
540 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
541 # Reject names that are not valid shell variable names.
542 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
543 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
545 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
546 eval "enable_${ac_feature}=no" ;;
548 -enable-* | --enable-*)
549 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
550 # Reject names that are not valid shell variable names.
551 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
552 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
554 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
559 eval "enable_${ac_feature}='$ac_optarg'" ;;
561 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
562 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
563 | --exec | --exe | --ex)
564 ac_prev
=exec_prefix
;;
565 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
566 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
567 | --exec=* | --exe=* | --ex=*)
568 exec_prefix
="$ac_optarg" ;;
570 -gas | --gas | --ga | --g)
571 # Obsolete; use --with-gas.
574 -help | --help | --hel | --he)
575 # Omit some internal or obsolete options to make the list less imposing.
576 # This message is too long to be a string in the A/UX 3.1 sh.
578 Usage: configure [options] [host]
579 Options: [defaults in brackets after descriptions]
581 --cache-file=FILE cache test results in FILE
582 --help print this message
583 --no-create do not create output files
584 --quiet, --silent do not print \`checking...' messages
585 --version print the version of autoconf that created configure
586 Directory and file names:
587 --prefix=PREFIX install architecture-independent files in PREFIX
589 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
591 --bindir=DIR user executables in DIR [EPREFIX/bin]
592 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
593 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
594 --datadir=DIR read-only architecture-independent data in DIR
596 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
597 --sharedstatedir=DIR modifiable architecture-independent data in DIR
599 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
600 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
601 --includedir=DIR C header files in DIR [PREFIX/include]
602 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
603 --infodir=DIR info documentation in DIR [PREFIX/info]
604 --mandir=DIR man documentation in DIR [PREFIX/man]
605 --srcdir=DIR find the sources in DIR [configure dir or ..]
606 --program-prefix=PREFIX prepend PREFIX to installed program names
607 --program-suffix=SUFFIX append SUFFIX to installed program names
608 --program-transform-name=PROGRAM
609 run sed PROGRAM on installed program names
613 --build=BUILD configure for building on BUILD [BUILD=HOST]
614 --host=HOST configure for HOST [guessed]
615 --target=TARGET configure for TARGET [TARGET=HOST]
616 Features and packages:
617 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
618 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
619 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
620 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
621 --x-includes=DIR X include files are in DIR
622 --x-libraries=DIR X library files are in DIR
624 if test -n "$ac_help"; then
625 echo "--enable and --with options recognized:$ac_help"
629 -host | --host | --hos | --ho)
631 -host=* | --host=* | --hos=* | --ho=*)
634 -includedir | --includedir | --includedi | --included | --include \
635 | --includ | --inclu | --incl | --inc)
636 ac_prev
=includedir
;;
637 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
638 | --includ=* | --inclu=* | --incl=* | --inc=*)
639 includedir
="$ac_optarg" ;;
641 -infodir | --infodir | --infodi | --infod | --info | --inf)
643 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
644 infodir
="$ac_optarg" ;;
646 -libdir | --libdir | --libdi | --libd)
648 -libdir=* | --libdir=* | --libdi=* | --libd=*)
649 libdir
="$ac_optarg" ;;
651 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
652 | --libexe | --libex | --libe)
653 ac_prev
=libexecdir
;;
654 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
655 | --libexe=* | --libex=* | --libe=*)
656 libexecdir
="$ac_optarg" ;;
658 -localstatedir | --localstatedir | --localstatedi | --localstated \
659 | --localstate | --localstat | --localsta | --localst \
660 | --locals | --local | --loca | --loc | --lo)
661 ac_prev
=localstatedir
;;
662 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
663 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
664 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
665 localstatedir
="$ac_optarg" ;;
667 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
669 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
670 mandir
="$ac_optarg" ;;
673 # Obsolete; use --without-fp.
676 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
680 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
681 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
684 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
685 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
686 | --oldin | --oldi | --old | --ol | --o)
687 ac_prev
=oldincludedir
;;
688 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
689 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
690 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
691 oldincludedir
="$ac_optarg" ;;
693 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
695 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
696 prefix
="$ac_optarg" ;;
698 -program-prefix | --program-prefix | --program-prefi | --program-pref \
699 | --program-pre | --program-pr | --program-p)
700 ac_prev
=program_prefix
;;
701 -program-prefix=* | --program-prefix=* | --program-prefi=* \
702 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
703 program_prefix
="$ac_optarg" ;;
705 -program-suffix | --program-suffix | --program-suffi | --program-suff \
706 | --program-suf | --program-su | --program-s)
707 ac_prev
=program_suffix
;;
708 -program-suffix=* | --program-suffix=* | --program-suffi=* \
709 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
710 program_suffix
="$ac_optarg" ;;
712 -program-transform-name | --program-transform-name \
713 | --program-transform-nam | --program-transform-na \
714 | --program-transform-n | --program-transform- \
715 | --program-transform | --program-transfor \
716 | --program-transfo | --program-transf \
717 | --program-trans | --program-tran \
718 | --progr-tra | --program-tr | --program-t)
719 ac_prev
=program_transform_name
;;
720 -program-transform-name=* | --program-transform-name=* \
721 | --program-transform-nam=* | --program-transform-na=* \
722 | --program-transform-n=* | --program-transform-=* \
723 | --program-transform=* | --program-transfor=* \
724 | --program-transfo=* | --program-transf=* \
725 | --program-trans=* | --program-tran=* \
726 | --progr-tra=* | --program-tr=* | --program-t=*)
727 program_transform_name
="$ac_optarg" ;;
729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
730 | -silent | --silent | --silen | --sile | --sil)
733 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
735 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
737 sbindir
="$ac_optarg" ;;
739 -sharedstatedir | --sharedstatedir | --sharedstatedi \
740 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
741 | --sharedst | --shareds | --shared | --share | --shar \
743 ac_prev
=sharedstatedir
;;
744 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
745 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
746 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
748 sharedstatedir
="$ac_optarg" ;;
750 -site | --site | --sit)
752 -site=* | --site=* | --sit=*)
755 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
757 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
758 srcdir
="$ac_optarg" ;;
760 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
761 | --syscon | --sysco | --sysc | --sys | --sy)
762 ac_prev
=sysconfdir
;;
763 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
764 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
765 sysconfdir
="$ac_optarg" ;;
767 -target | --target | --targe | --targ | --tar | --ta | --t)
769 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
770 target
="$ac_optarg" ;;
772 -v | -verbose | --verbose | --verbos | --verbo | --verb)
775 -version | --version | --versio | --versi | --vers)
776 echo "configure generated by autoconf version 2.12"
780 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
781 # Reject names that are not valid shell variable names.
782 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
783 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
785 ac_package
=`echo $ac_package| sed 's/-/_/g'`
790 eval "with_${ac_package}='$ac_optarg'" ;;
792 -without-* | --without-*)
793 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
794 # Reject names that are not valid shell variable names.
795 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
796 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
798 ac_package
=`echo $ac_package| sed 's/-/_/g'`
799 eval "with_${ac_package}=no" ;;
802 # Obsolete; use --with-x.
805 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
806 | --x-incl | --x-inc | --x-in | --x-i)
807 ac_prev
=x_includes
;;
808 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
809 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
810 x_includes
="$ac_optarg" ;;
812 -x-libraries | --x-libraries | --x-librarie | --x-librari \
813 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
814 ac_prev
=x_libraries
;;
815 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
816 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
817 x_libraries
="$ac_optarg" ;;
819 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
823 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
824 echo "configure: warning: $ac_option: invalid host type" 1>&2
826 if test "x$nonopt" != xNONE
; then
827 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
835 if test -n "$ac_prev"; then
836 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
839 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
841 # File descriptor usage:
844 # 2 errors and warnings
845 # 3 some systems may open it to /dev/tty
846 # 4 used on the Kubota Titan
847 # 6 checking for... messages and results
848 # 5 compiler messages saved in config.log
849 if test "$silent" = yes; then
857 This file contains any messages produced by compilers while
858 running configure, to aid debugging if configure makes a mistake.
861 # Strip out --no-create and --no-recursion so they do not pile up.
862 # Also quote any args containing shell metacharacters.
867 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
868 | --no-cr | --no-c) ;;
869 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
870 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
871 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
872 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
873 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
878 # Only set these to C if already set. These must not be set unconditionally
879 # because not all systems understand e.g. LANG=C (notably SCO).
880 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
881 # Non-C LC_CTYPE values break the ctype check.
882 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
883 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
884 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
885 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
887 # confdefs.h avoids OS command line length limits that DEFS can exceed.
888 rm -rf conftest
* confdefs.h
889 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
892 # A filename unique to this package, relative to the directory that
893 # configure is in, which we can look for to find out if srcdir is correct.
894 ac_unique_file
=wx
-config.
in
896 # Find the source files, if location was not specified.
897 if test -z "$srcdir"; then
898 ac_srcdir_defaulted
=yes
899 # Try the directory containing this script, then its parent.
901 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
902 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
904 if test ! -r $srcdir/$ac_unique_file; then
908 ac_srcdir_defaulted
=no
910 if test ! -r $srcdir/$ac_unique_file; then
911 if test "$ac_srcdir_defaulted" = yes; then
912 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
914 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
917 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
919 # Prefer explicitly selected file to automatically selected ones.
920 if test -z "$CONFIG_SITE"; then
921 if test "x$prefix" != xNONE
; then
922 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
924 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
927 for ac_site_file
in $CONFIG_SITE; do
928 if test -r "$ac_site_file"; then
929 echo "loading site script $ac_site_file"
934 if test -r "$cache_file"; then
935 echo "loading cache $cache_file"
938 echo "creating cache $cache_file"
943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
944 ac_cpp
='$CPP $CPPFLAGS'
945 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
946 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
947 cross_compiling
=$ac_cv_prog_cc_cross
949 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
950 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
951 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
958 ac_n
= ac_c
='\c' ac_t
=
964 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
965 if test -f $ac_dir/install-sh; then
967 ac_install_sh
="$ac_aux_dir/install-sh -c"
969 elif test -f $ac_dir/install.sh
; then
971 ac_install_sh
="$ac_aux_dir/install.sh -c"
975 if test -z "$ac_aux_dir"; then
976 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
978 ac_config_guess
=$ac_aux_dir/config.guess
979 ac_config_sub
=$ac_aux_dir/config.sub
980 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
983 # Do some error checking and defaulting for the host and target type.
985 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
988 # 1. You are not allowed to specify --host, --target, and nonopt at the
990 # 2. Host defaults to nonopt.
991 # 3. If nonopt is not specified, then host defaults to the current host,
992 # as determined by config.guess.
993 # 4. Target and build default to nonopt.
994 # 5. If nonopt is not specified, then target and build default to host.
996 # The aliases save the names the user supplied, while $host etc.
997 # will get canonicalized.
998 case $host---$target---$nonopt in
999 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1000 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1004 # Make sure we can run config.sub.
1005 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
1006 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1009 echo $ac_n "checking host system type""... $ac_c" 1>&6
1010 echo "configure:1011: checking host system type" >&5
1013 case "$host_alias" in
1017 if host_alias
=`$ac_config_guess`; then :
1018 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1020 *) host_alias
=$nonopt ;;
1024 host=`$ac_config_sub $host_alias`
1025 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1026 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1027 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1028 echo "$ac_t""$host" 1>&6
1030 echo $ac_n "checking target system type""... $ac_c" 1>&6
1031 echo "configure:1032: checking target system type" >&5
1033 target_alias
=$target
1034 case "$target_alias" in
1037 NONE
) target_alias
=$host_alias ;;
1038 *) target_alias
=$nonopt ;;
1042 target
=`$ac_config_sub $target_alias`
1043 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1044 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1045 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1046 echo "$ac_t""$target" 1>&6
1048 echo $ac_n "checking build system type""... $ac_c" 1>&6
1049 echo "configure:1050: checking build system type" >&5
1052 case "$build_alias" in
1055 NONE
) build_alias
=$host_alias ;;
1056 *) build_alias
=$nonopt ;;
1060 build
=`$ac_config_sub $build_alias`
1061 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1062 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1063 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1064 echo "$ac_t""$build" 1>&6
1066 test "$host_alias" != "$target_alias" &&
1067 test "$program_prefix$program_suffix$program_transform_name" = \
1069 program_prefix
=${target_alias}-
1073 WX_MAJOR_VERSION_NUMBER
=2
1074 WX_MINOR_VERSION_NUMBER
=3
1077 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1078 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1080 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1114 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1116 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1121 DEFAULT_wxUSE_MICROWIN
=0
1122 DEFAULT_wxUSE_MOTIF
=0
1125 DEFAULT_wxUSE_WINE
=0
1128 DEFAULT_DEFAULT_wxUSE_GTK
=0
1129 DEFAULT_DEFAULT_wxUSE_MAC
=0
1130 DEFAULT_DEFAULT_wxUSE_MGL
=0
1131 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1132 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1133 DEFAULT_DEFAULT_wxUSE_MSW
=0
1134 DEFAULT_DEFAULT_wxUSE_PM
=0
1135 DEFAULT_DEFAULT_wxUSE_WINE
=0
1136 DEFAULT_DEFAULT_wxUSE_X11
=0
1144 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1145 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1147 cat >> confdefs.h
<<\EOF
1154 cat >> confdefs.h
<<\EOF
1159 if test "x$TMP" = "xalpha"; then
1161 cat >> confdefs.h
<<\EOF
1166 DEFAULT_DEFAULT_wxUSE_GTK
=1
1168 *-*-irix5* | *-*-irix6* )
1171 cat >> confdefs.h
<<\EOF
1175 cat >> confdefs.h
<<\EOF
1179 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1185 cat >> confdefs.h
<<\EOF
1189 cat >> confdefs.h
<<\EOF
1190 #define __SOLARIS__ 1
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1198 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1221 cat >> confdefs.h
<<\EOF
1222 #define __FREEBSD__ 1
1225 cat >> confdefs.h
<<\EOF
1229 DEFAULT_DEFAULT_wxUSE_GTK
=1
1234 cat >> confdefs.h
<<\EOF
1235 #define __FREEBSD__ 1
1238 cat >> confdefs.h
<<\EOF
1239 #define __OPENBSD__ 1
1242 DEFAULT_DEFAULT_wxUSE_GTK
=1
1247 cat >> confdefs.h
<<\EOF
1248 #define __FREEBSD__ 1
1251 cat >> confdefs.h
<<\EOF
1252 #define __NETBSD__ 1
1255 DEFAULT_DEFAULT_wxUSE_GTK
=1
1260 cat >> confdefs.h
<<\EOF
1264 cat >> confdefs.h
<<\EOF
1268 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1269 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1274 cat >> confdefs.h
<<\EOF
1278 cat >> confdefs.h
<<\EOF
1282 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1287 cat >> confdefs.h
<<\EOF
1291 cat >> confdefs.h
<<\EOF
1295 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1310 cat >> confdefs.h
<<\EOF
1314 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1317 *-*-cygwin* | *-*-mingw32* )
1321 DEFAULT_DEFAULT_wxUSE_MSW
=1
1327 cat >> confdefs.h
<<\EOF
1332 DEFAULT_DEFAULT_wxUSE_MGL
=1
1333 LIBS
="$LIBS -lstdc++"
1336 *-pc-os2_emx | *-pc-os2-emx )
1337 cat >> confdefs.h
<<\EOF
1342 DEFAULT_DEFAULT_wxUSE_PM
=1
1343 LIBS
="$LIBS -lstdcpp"
1350 cat >> confdefs.h
<<\EOF
1354 cat >> confdefs.h
<<\EOF
1355 #define __DARWIN__ 1
1358 cat >> confdefs.h
<<\EOF
1359 #define __POWERPC__ 1
1362 DEFAULT_DEFAULT_wxUSE_MAC
=1
1367 cat >> confdefs.h
<<\EOF
1374 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1380 wx_arg_cache_file
="configarg.cache"
1381 echo "loading argument cache $wx_arg_cache_file"
1382 rm -f ${wx_arg_cache_file}.tmp
1383 touch ${wx_arg_cache_file}.tmp
1384 touch ${wx_arg_cache_file}
1388 if test $DEBUG_CONFIGURE = 1; then
1389 DEFAULT_wxUSE_UNIVERSAL
=no
1391 DEFAULT_wxUSE_NANOX
=no
1393 DEFAULT_wxUSE_THREADS
=yes
1395 DEFAULT_wxUSE_SHARED
=yes
1396 DEFAULT_wxUSE_SONAME
=no
1397 DEFAULT_wxUSE_OPTIMISE
=no
1398 DEFAULT_wxUSE_PROFILE
=no
1399 DEFAULT_wxUSE_NO_DEPS
=no
1400 DEFAULT_wxUSE_NO_RTTI
=no
1401 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1402 DEFAULT_wxUSE_PERMISSIVE
=no
1403 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1404 DEFAULT_wxUSE_DEBUG_INFO
=yes
1405 DEFAULT_wxUSE_DEBUG_GDB
=yes
1406 DEFAULT_wxUSE_MEM_TRACING
=no
1407 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1408 DEFAULT_wxUSE_DMALLOC
=no
1409 DEFAULT_wxUSE_PRECOMP
=no
1410 DEFAULT_wxUSE_APPLE_IEEE
=no
1412 DEFAULT_wxUSE_LOG
=yes
1413 DEFAULT_wxUSE_LOGWINDOW
=no
1414 DEFAULT_wxUSE_LOGGUI
=no
1415 DEFAULT_wxUSE_LOGDIALOG
=no
1417 DEFAULT_wxUSE_GUI
=yes
1418 DEFAULT_wxUSE_CONTROLS
=no
1420 DEFAULT_wxUSE_REGEX
=no
1421 DEFAULT_wxUSE_ZLIB
=no
1422 DEFAULT_wxUSE_LIBPNG
=no
1423 DEFAULT_wxUSE_LIBJPEG
=no
1424 DEFAULT_wxUSE_LIBTIFF
=no
1425 DEFAULT_wxUSE_ODBC
=no
1426 DEFAULT_wxUSE_OPENGL
=no
1428 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1429 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1430 DEFAULT_wxUSE_STD_IOSTREAM
=no
1431 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1432 DEFAULT_wxUSE_DATETIME
=no
1433 DEFAULT_wxUSE_TIMEDATE
=no
1434 DEFAULT_wxUSE_TIMER
=no
1435 DEFAULT_wxUSE_STOPWATCH
=no
1436 DEFAULT_wxUSE_FILE
=no
1437 DEFAULT_wxUSE_FFILE
=no
1438 DEFAULT_wxUSE_TEXTBUFFER
=no
1439 DEFAULT_wxUSE_TEXTFILE
=no
1440 DEFAULT_wxUSE_WAVE
=no
1441 DEFAULT_wxUSE_INTL
=no
1442 DEFAULT_wxUSE_CONFIG
=no
1443 DEFAULT_wxUSE_FONTMAP
=no
1444 DEFAULT_wxUSE_STREAMS
=no
1445 DEFAULT_wxUSE_SOCKETS
=no
1446 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1447 DEFAULT_wxUSE_JOYSTICK
=no
1448 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1449 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1450 DEFAULT_wxUSE_LONGLONG
=no
1451 DEFAULT_wxUSE_GEOMETRY
=no
1453 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1454 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1455 DEFAULT_wxUSE_POSTSCRIPT
=no
1457 DEFAULT_wxUSE_X_RESOURCES
=no
1458 DEFAULT_wxUSE_CLIPBOARD
=no
1459 DEFAULT_wxUSE_TOOLTIPS
=no
1460 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1461 DEFAULT_wxUSE_DRAGIMAGE
=no
1462 DEFAULT_wxUSE_SPLINES
=no
1464 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1465 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1466 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1468 DEFAULT_wxUSE_PROLOGIO
=no
1469 DEFAULT_wxUSE_RESOURCES
=no
1470 DEFAULT_wxUSE_CONSTRAINTS
=no
1471 DEFAULT_wxUSE_IPC
=no
1472 DEFAULT_wxUSE_HELP
=no
1473 DEFAULT_wxUSE_MS_HTML_HELP
=no
1474 DEFAULT_wxUSE_WXHTML_HELP
=no
1475 DEFAULT_wxUSE_TREELAYOUT
=no
1476 DEFAULT_wxUSE_METAFILE
=no
1477 DEFAULT_wxUSE_MIMETYPE
=no
1478 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1479 DEFAULT_wxUSE_PROTOCOL
=no
1480 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1481 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1482 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1483 DEFAULT_wxUSE_URL
=no
1485 DEFAULT_wxUSE_COMMONDLGS
=no
1486 DEFAULT_wxUSE_CHOICEDLG
=no
1487 DEFAULT_wxUSE_COLOURDLG
=no
1488 DEFAULT_wxUSE_DIRDLG
=no
1489 DEFAULT_wxUSE_FILEDLG
=no
1490 DEFAULT_wxUSE_FINDREPLDLG
=no
1491 DEFAULT_wxUSE_FONTDLG
=no
1492 DEFAULT_wxUSE_MSGDLG
=no
1493 DEFAULT_wxUSE_NUMBERDLG
=no
1494 DEFAULT_wxUSE_TEXTDLG
=no
1495 DEFAULT_wxUSE_SPLASH
=no
1496 DEFAULT_wxUSE_STARTUP_TIPS
=no
1497 DEFAULT_wxUSE_PROGRESSDLG
=no
1498 DEFAULT_wxUSE_WIZARDDLG
=no
1500 DEFAULT_wxUSE_MENUS
=no
1501 DEFAULT_wxUSE_MINIFRAME
=no
1502 DEFAULT_wxUSE_HTML
=no
1503 DEFAULT_wxUSE_FILESYSTEM
=no
1504 DEFAULT_wxUSE_FS_INET
=no
1505 DEFAULT_wxUSE_FS_ZIP
=no
1506 DEFAULT_wxUSE_BUSYINFO
=no
1507 DEFAULT_wxUSE_ZIPSTREAM
=no
1508 DEFAULT_wxUSE_VALIDATORS
=no
1510 DEFAULT_wxUSE_ACCEL
=no
1511 DEFAULT_wxUSE_BUTTON
=no
1512 DEFAULT_wxUSE_BMPBUTTON
=no
1513 DEFAULT_wxUSE_CALCTRL
=no
1514 DEFAULT_wxUSE_CARET
=no
1515 DEFAULT_wxUSE_CHECKBOX
=no
1516 DEFAULT_wxUSE_CHECKLST
=no
1517 DEFAULT_wxUSE_CHOICE
=no
1518 DEFAULT_wxUSE_COMBOBOX
=no
1519 DEFAULT_wxUSE_GAUGE
=no
1520 DEFAULT_wxUSE_GRID
=no
1521 DEFAULT_wxUSE_NEW_GRID
=no
1522 DEFAULT_wxUSE_IMAGLIST
=no
1523 DEFAULT_wxUSE_LISTBOX
=no
1524 DEFAULT_wxUSE_LISTCTRL
=no
1525 DEFAULT_wxUSE_NOTEBOOK
=no
1526 DEFAULT_wxUSE_PROPSHEET
=no
1527 DEFAULT_wxUSE_RADIOBOX
=no
1528 DEFAULT_wxUSE_RADIOBTN
=no
1529 DEFAULT_wxUSE_SASH
=no
1530 DEFAULT_wxUSE_SCROLLBAR
=no
1531 DEFAULT_wxUSE_SLIDER
=no
1532 DEFAULT_wxUSE_SPINBTN
=no
1533 DEFAULT_wxUSE_SPINCTRL
=no
1534 DEFAULT_wxUSE_SPLITTER
=no
1535 DEFAULT_wxUSE_STATBMP
=no
1536 DEFAULT_wxUSE_STATBOX
=no
1537 DEFAULT_wxUSE_STATLINE
=no
1538 DEFAULT_wxUSE_STATTEXT
=no
1539 DEFAULT_wxUSE_STATUSBAR
=yes
1540 DEFAULT_wxUSE_TABDIALOG
=no
1541 DEFAULT_wxUSE_TEXTCTRL
=no
1542 DEFAULT_wxUSE_TOGGLEBTN
=no
1543 DEFAULT_wxUSE_TOOLBAR
=no
1544 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1545 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1546 DEFAULT_wxUSE_TREECTRL
=no
1547 DEFAULT_wxUSE_POPUPWIN
=no
1548 DEFAULT_wxUSE_TIPWINDOW
=no
1550 DEFAULT_wxUSE_UNICODE
=no
1551 DEFAULT_wxUSE_UNICODE_MSLU
=no
1552 DEFAULT_wxUSE_WCSRTOMBS
=no
1554 DEFAULT_wxUSE_PALETTE
=no
1555 DEFAULT_wxUSE_IMAGE
=no
1556 DEFAULT_wxUSE_GIF
=no
1557 DEFAULT_wxUSE_PCX
=no
1558 DEFAULT_wxUSE_PNM
=no
1559 DEFAULT_wxUSE_IFF
=no
1560 DEFAULT_wxUSE_XPM
=no
1561 DEFAULT_wxUSE_ICO_CUR
=no
1563 DEFAULT_wxUSE_UNIVERSAL
=no
1565 DEFAULT_wxUSE_NANOX
=no
1567 DEFAULT_wxUSE_THREADS
=yes
1569 DEFAULT_wxUSE_SHARED
=yes
1570 DEFAULT_wxUSE_SONAME
=no
1571 DEFAULT_wxUSE_OPTIMISE
=yes
1572 DEFAULT_wxUSE_PROFILE
=no
1573 DEFAULT_wxUSE_NO_DEPS
=no
1574 DEFAULT_wxUSE_NO_RTTI
=no
1575 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1576 DEFAULT_wxUSE_PERMISSIVE
=no
1577 DEFAULT_wxUSE_DEBUG_FLAG
=no
1578 DEFAULT_wxUSE_DEBUG_INFO
=no
1579 DEFAULT_wxUSE_DEBUG_GDB
=no
1580 DEFAULT_wxUSE_MEM_TRACING
=no
1581 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1582 DEFAULT_wxUSE_DMALLOC
=no
1583 DEFAULT_wxUSE_PRECOMP
=no
1584 DEFAULT_wxUSE_APPLE_IEEE
=yes
1586 DEFAULT_wxUSE_LOG
=yes
1587 DEFAULT_wxUSE_LOGWINDOW
=yes
1588 DEFAULT_wxUSE_LOGGUI
=yes
1589 DEFAULT_wxUSE_LOGDIALOG
=yes
1591 DEFAULT_wxUSE_GUI
=yes
1593 DEFAULT_wxUSE_REGEX
=yes
1594 DEFAULT_wxUSE_ZLIB
=yes
1595 DEFAULT_wxUSE_LIBPNG
=yes
1596 DEFAULT_wxUSE_LIBJPEG
=yes
1597 DEFAULT_wxUSE_LIBTIFF
=yes
1598 DEFAULT_wxUSE_ODBC
=no
1599 DEFAULT_wxUSE_OPENGL
=no
1601 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1602 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1603 DEFAULT_wxUSE_STD_IOSTREAM
=no
1604 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1605 DEFAULT_wxUSE_DATETIME
=yes
1606 DEFAULT_wxUSE_TIMEDATE
=no
1607 DEFAULT_wxUSE_TIMER
=yes
1608 DEFAULT_wxUSE_STOPWATCH
=yes
1609 DEFAULT_wxUSE_FILE
=yes
1610 DEFAULT_wxUSE_FFILE
=yes
1611 DEFAULT_wxUSE_TEXTBUFFER
=yes
1612 DEFAULT_wxUSE_TEXTFILE
=yes
1613 DEFAULT_wxUSE_WAVE
=no
1614 DEFAULT_wxUSE_INTL
=yes
1615 DEFAULT_wxUSE_CONFIG
=yes
1616 DEFAULT_wxUSE_FONTMAP
=yes
1617 DEFAULT_wxUSE_STREAMS
=yes
1618 DEFAULT_wxUSE_SOCKETS
=yes
1619 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1620 DEFAULT_wxUSE_JOYSTICK
=yes
1621 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1622 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1623 DEFAULT_wxUSE_LONGLONG
=yes
1624 DEFAULT_wxUSE_GEOMETRY
=yes
1626 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1627 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1628 DEFAULT_wxUSE_POSTSCRIPT
=yes
1630 DEFAULT_wxUSE_X_RESOURCES
=no
1631 DEFAULT_wxUSE_CLIPBOARD
=yes
1632 DEFAULT_wxUSE_TOOLTIPS
=yes
1633 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1634 DEFAULT_wxUSE_DRAGIMAGE
=yes
1635 DEFAULT_wxUSE_SPLINES
=yes
1637 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1638 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1639 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1641 DEFAULT_wxUSE_PROLOGIO
=yes
1642 DEFAULT_wxUSE_RESOURCES
=yes
1643 DEFAULT_wxUSE_CONSTRAINTS
=yes
1644 DEFAULT_wxUSE_IPC
=yes
1645 DEFAULT_wxUSE_HELP
=yes
1646 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1647 DEFAULT_wxUSE_WXHTML_HELP
=yes
1648 DEFAULT_wxUSE_TREELAYOUT
=yes
1649 DEFAULT_wxUSE_METAFILE
=yes
1650 DEFAULT_wxUSE_MIMETYPE
=yes
1651 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1652 DEFAULT_wxUSE_PROTOCOL
=yes
1653 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1654 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1655 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1656 DEFAULT_wxUSE_URL
=yes
1658 DEFAULT_wxUSE_COMMONDLGS
=yes
1659 DEFAULT_wxUSE_CHOICEDLG
=yes
1660 DEFAULT_wxUSE_COLOURDLG
=yes
1661 DEFAULT_wxUSE_DIRDLG
=yes
1662 DEFAULT_wxUSE_FILEDLG
=yes
1663 DEFAULT_wxUSE_FINDREPLDLG
=yes
1664 DEFAULT_wxUSE_FONTDLG
=yes
1665 DEFAULT_wxUSE_MSGDLG
=yes
1666 DEFAULT_wxUSE_NUMBERDLG
=yes
1667 DEFAULT_wxUSE_TEXTDLG
=yes
1668 DEFAULT_wxUSE_SPLASH
=yes
1669 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1670 DEFAULT_wxUSE_PROGRESSDLG
=yes
1671 DEFAULT_wxUSE_WIZARDDLG
=yes
1673 DEFAULT_wxUSE_MENUS
=yes
1674 DEFAULT_wxUSE_MINIFRAME
=yes
1675 DEFAULT_wxUSE_HTML
=yes
1676 DEFAULT_wxUSE_FILESYSTEM
=yes
1677 DEFAULT_wxUSE_FS_INET
=yes
1678 DEFAULT_wxUSE_FS_ZIP
=yes
1679 DEFAULT_wxUSE_BUSYINFO
=yes
1680 DEFAULT_wxUSE_ZIPSTREAM
=yes
1681 DEFAULT_wxUSE_VALIDATORS
=yes
1683 DEFAULT_wxUSE_ACCEL
=yes
1684 DEFAULT_wxUSE_BUTTON
=yes
1685 DEFAULT_wxUSE_BMPBUTTON
=yes
1686 DEFAULT_wxUSE_CALCTRL
=yes
1687 DEFAULT_wxUSE_CARET
=yes
1688 DEFAULT_wxUSE_CHECKBOX
=yes
1689 DEFAULT_wxUSE_CHECKLST
=yes
1690 DEFAULT_wxUSE_CHOICE
=yes
1691 DEFAULT_wxUSE_COMBOBOX
=yes
1692 DEFAULT_wxUSE_GAUGE
=yes
1693 DEFAULT_wxUSE_GRID
=yes
1694 DEFAULT_wxUSE_NEW_GRID
=yes
1695 DEFAULT_wxUSE_IMAGLIST
=yes
1696 DEFAULT_wxUSE_LISTBOX
=yes
1697 DEFAULT_wxUSE_LISTCTRL
=yes
1698 DEFAULT_wxUSE_NOTEBOOK
=yes
1699 DEFAULT_wxUSE_PROPSHEET
=yes
1700 DEFAULT_wxUSE_RADIOBOX
=yes
1701 DEFAULT_wxUSE_RADIOBTN
=yes
1702 DEFAULT_wxUSE_SASH
=yes
1703 DEFAULT_wxUSE_SCROLLBAR
=yes
1704 DEFAULT_wxUSE_SLIDER
=yes
1705 DEFAULT_wxUSE_SPINBTN
=yes
1706 DEFAULT_wxUSE_SPINCTRL
=yes
1707 DEFAULT_wxUSE_SPLITTER
=yes
1708 DEFAULT_wxUSE_STATBMP
=yes
1709 DEFAULT_wxUSE_STATBOX
=yes
1710 DEFAULT_wxUSE_STATLINE
=yes
1711 DEFAULT_wxUSE_STATTEXT
=yes
1712 DEFAULT_wxUSE_STATUSBAR
=yes
1713 DEFAULT_wxUSE_TABDIALOG
=no
1714 DEFAULT_wxUSE_TEXTCTRL
=yes
1715 DEFAULT_wxUSE_TOGGLEBTN
=yes
1716 DEFAULT_wxUSE_TOOLBAR
=yes
1717 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1718 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1719 DEFAULT_wxUSE_TREECTRL
=yes
1720 DEFAULT_wxUSE_POPUPWIN
=yes
1721 DEFAULT_wxUSE_TIPWINDOW
=yes
1723 DEFAULT_wxUSE_UNICODE
=no
1724 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1725 DEFAULT_wxUSE_WCSRTOMBS
=no
1727 DEFAULT_wxUSE_PALETTE
=yes
1728 DEFAULT_wxUSE_IMAGE
=yes
1729 DEFAULT_wxUSE_GIF
=yes
1730 DEFAULT_wxUSE_PCX
=yes
1731 DEFAULT_wxUSE_IFF
=no
1732 DEFAULT_wxUSE_PNM
=yes
1733 DEFAULT_wxUSE_XPM
=yes
1734 DEFAULT_wxUSE_ICO_CUR
=yes
1739 for toolkit
in `echo $ALL_TOOLKITS`; do
1740 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1741 if test "x$LINE" != x
; then
1742 has_toolkit_in_cache
=1
1743 eval "DEFAULT_$LINE"
1744 eval "CACHE_$toolkit=1"
1750 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1751 echo "configure:1752: checking for --enable-gui" >&5
1753 # Check whether --enable-gui or --disable-gui was given.
1754 if test "${enable_gui+set}" = set; then
1755 enableval
="$enable_gui"
1757 if test "$enableval" = yes; then
1758 ac_cv_use_gui
='wxUSE_GUI=yes'
1760 ac_cv_use_gui
='wxUSE_GUI=no'
1765 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1766 if test "x$LINE" != x
; then
1767 eval "DEFAULT_$LINE"
1772 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1777 eval "$ac_cv_use_gui"
1778 if test "$no_cache" != 1; then
1779 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1782 if test "$wxUSE_GUI" = yes; then
1783 echo "$ac_t""yes" 1>&6
1785 echo "$ac_t""no" 1>&6
1789 if test "$wxUSE_GUI" = "yes"; then
1792 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1793 echo "configure:1794: checking for --enable-universal" >&5
1795 # Check whether --enable-universal or --disable-universal was given.
1796 if test "${enable_universal+set}" = set; then
1797 enableval
="$enable_universal"
1799 if test "$enableval" = yes; then
1800 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1802 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1807 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1808 if test "x$LINE" != x
; then
1809 eval "DEFAULT_$LINE"
1814 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1819 eval "$ac_cv_use_universal"
1820 if test "$no_cache" != 1; then
1821 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1824 if test "$wxUSE_UNIVERSAL" = yes; then
1825 echo "$ac_t""yes" 1>&6
1827 echo "$ac_t""no" 1>&6
1830 # Check whether --with-gtk or --without-gtk was given.
1831 if test "${with_gtk+set}" = set; then
1833 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1836 # Check whether --with-motif or --without-motif was given.
1837 if test "${with_motif+set}" = set; then
1838 withval
="$with_motif"
1839 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1842 # Check whether --with-mac or --without-mac was given.
1843 if test "${with_mac+set}" = set; then
1845 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1848 # Check whether --with-wine or --without-wine was given.
1849 if test "${with_wine+set}" = set; then
1850 withval
="$with_wine"
1851 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1854 # Check whether --with-msw or --without-msw was given.
1855 if test "${with_msw+set}" = set; then
1857 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1860 # Check whether --with-pm or --without-pm was given.
1861 if test "${with_pm+set}" = set; then
1863 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1866 # Check whether --with-mgl or --without-mgl was given.
1867 if test "${with_mgl+set}" = set; then
1869 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1872 # Check whether --with-microwin or --without-microwin was given.
1873 if test "${with_microwin+set}" = set; then
1874 withval
="$with_microwin"
1875 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1878 # Check whether --with-x11 or --without-x11 was given.
1879 if test "${with_x11+set}" = set; then
1881 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1885 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1886 echo "configure:1887: checking for --enable-nanox" >&5
1888 # Check whether --enable-nanox or --disable-nanox was given.
1889 if test "${enable_nanox+set}" = set; then
1890 enableval
="$enable_nanox"
1892 if test "$enableval" = yes; then
1893 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1895 ac_cv_use_nanox
='wxUSE_NANOX=no'
1900 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1901 if test "x$LINE" != x
; then
1902 eval "DEFAULT_$LINE"
1907 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1912 eval "$ac_cv_use_nanox"
1913 if test "$no_cache" != 1; then
1914 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1917 if test "$wxUSE_NANOX" = yes; then
1918 echo "$ac_t""yes" 1>&6
1920 echo "$ac_t""no" 1>&6
1924 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1925 if test "${enable_gtk2+set}" = set; then
1926 enableval
="$enable_gtk2"
1934 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1935 echo "configure:1936: checking for --with-libpng" >&5
1937 # Check whether --with-libpng or --without-libpng was given.
1938 if test "${with_libpng+set}" = set; then
1939 withval
="$with_libpng"
1941 if test "$withval" = yes; then
1942 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1943 elif test "$withval" = no
; then
1944 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1945 elif test "$withval" = sys
; then
1946 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1947 elif test "$withval" = builtin; then
1948 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1950 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1955 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x
; then
1957 eval "DEFAULT_$LINE"
1962 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1967 eval "$ac_cv_use_libpng"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1972 if test "$wxUSE_LIBPNG" = yes; then
1973 echo "$ac_t""yes" 1>&6
1974 elif test "$wxUSE_LIBPNG" = no
; then
1975 echo "$ac_t""no" 1>&6
1976 elif test "$wxUSE_LIBPNG" = sys
; then
1977 echo "$ac_t""system version" 1>&6
1978 elif test "$wxUSE_LIBPNG" = builtin; then
1979 echo "$ac_t""builtin version" 1>&6
1981 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1985 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1986 echo "configure:1987: checking for --with-libjpeg" >&5
1988 # Check whether --with-libjpeg or --without-libjpeg was given.
1989 if test "${with_libjpeg+set}" = set; then
1990 withval
="$with_libjpeg"
1992 if test "$withval" = yes; then
1993 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1994 elif test "$withval" = no
; then
1995 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1996 elif test "$withval" = sys
; then
1997 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1998 elif test "$withval" = builtin; then
1999 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2001 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2006 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2007 if test "x$LINE" != x
; then
2008 eval "DEFAULT_$LINE"
2013 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2018 eval "$ac_cv_use_libjpeg"
2019 if test "$no_cache" != 1; then
2020 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2023 if test "$wxUSE_LIBJPEG" = yes; then
2024 echo "$ac_t""yes" 1>&6
2025 elif test "$wxUSE_LIBJPEG" = no
; then
2026 echo "$ac_t""no" 1>&6
2027 elif test "$wxUSE_LIBJPEG" = sys
; then
2028 echo "$ac_t""system version" 1>&6
2029 elif test "$wxUSE_LIBJPEG" = builtin; then
2030 echo "$ac_t""builtin version" 1>&6
2032 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2036 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2037 echo "configure:2038: checking for --with-libtiff" >&5
2039 # Check whether --with-libtiff or --without-libtiff was given.
2040 if test "${with_libtiff+set}" = set; then
2041 withval
="$with_libtiff"
2043 if test "$withval" = yes; then
2044 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2045 elif test "$withval" = no
; then
2046 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2047 elif test "$withval" = sys
; then
2048 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2049 elif test "$withval" = builtin; then
2050 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2052 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2057 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2058 if test "x$LINE" != x
; then
2059 eval "DEFAULT_$LINE"
2064 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2069 eval "$ac_cv_use_libtiff"
2070 if test "$no_cache" != 1; then
2071 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2074 if test "$wxUSE_LIBTIFF" = yes; then
2075 echo "$ac_t""yes" 1>&6
2076 elif test "$wxUSE_LIBTIFF" = no
; then
2077 echo "$ac_t""no" 1>&6
2078 elif test "$wxUSE_LIBTIFF" = sys
; then
2079 echo "$ac_t""system version" 1>&6
2080 elif test "$wxUSE_LIBTIFF" = builtin; then
2081 echo "$ac_t""builtin version" 1>&6
2083 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2087 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2088 echo "configure:2089: checking for --with-opengl" >&5
2090 # Check whether --with-opengl or --without-opengl was given.
2091 if test "${with_opengl+set}" = set; then
2092 withval
="$with_opengl"
2094 if test "$withval" = yes; then
2095 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2097 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2102 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x
; then
2104 eval "DEFAULT_$LINE"
2109 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2114 eval "$ac_cv_use_opengl"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2119 if test "$wxUSE_OPENGL" = yes; then
2120 echo "$ac_t""yes" 1>&6
2122 echo "$ac_t""no" 1>&6
2129 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2130 echo "configure:2131: checking for --with-dmalloc" >&5
2132 # Check whether --with-dmalloc or --without-dmalloc was given.
2133 if test "${with_dmalloc+set}" = set; then
2134 withval
="$with_dmalloc"
2136 if test "$withval" = yes; then
2137 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2139 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2144 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2145 if test "x$LINE" != x
; then
2146 eval "DEFAULT_$LINE"
2151 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2156 eval "$ac_cv_use_dmalloc"
2157 if test "$no_cache" != 1; then
2158 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2161 if test "$wxUSE_DMALLOC" = yes; then
2162 echo "$ac_t""yes" 1>&6
2164 echo "$ac_t""no" 1>&6
2168 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2169 echo "configure:2170: checking for --with-regex" >&5
2171 # Check whether --with-regex or --without-regex was given.
2172 if test "${with_regex+set}" = set; then
2173 withval
="$with_regex"
2175 if test "$withval" = yes; then
2176 ac_cv_use_regex
='wxUSE_REGEX=yes'
2177 elif test "$withval" = no
; then
2178 ac_cv_use_regex
='wxUSE_REGEX=no'
2179 elif test "$withval" = sys
; then
2180 ac_cv_use_regex
='wxUSE_REGEX=sys'
2181 elif test "$withval" = builtin; then
2182 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2184 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2189 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2190 if test "x$LINE" != x
; then
2191 eval "DEFAULT_$LINE"
2196 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2201 eval "$ac_cv_use_regex"
2202 if test "$no_cache" != 1; then
2203 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2206 if test "$wxUSE_REGEX" = yes; then
2207 echo "$ac_t""yes" 1>&6
2208 elif test "$wxUSE_REGEX" = no
; then
2209 echo "$ac_t""no" 1>&6
2210 elif test "$wxUSE_REGEX" = sys
; then
2211 echo "$ac_t""system version" 1>&6
2212 elif test "$wxUSE_REGEX" = builtin; then
2213 echo "$ac_t""builtin version" 1>&6
2215 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2219 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2220 echo "configure:2221: checking for --with-zlib" >&5
2222 # Check whether --with-zlib or --without-zlib was given.
2223 if test "${with_zlib+set}" = set; then
2224 withval
="$with_zlib"
2226 if test "$withval" = yes; then
2227 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2228 elif test "$withval" = no
; then
2229 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2230 elif test "$withval" = sys
; then
2231 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2232 elif test "$withval" = builtin; then
2233 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2235 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2240 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2241 if test "x$LINE" != x
; then
2242 eval "DEFAULT_$LINE"
2247 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2252 eval "$ac_cv_use_zlib"
2253 if test "$no_cache" != 1; then
2254 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2257 if test "$wxUSE_ZLIB" = yes; then
2258 echo "$ac_t""yes" 1>&6
2259 elif test "$wxUSE_ZLIB" = no
; then
2260 echo "$ac_t""no" 1>&6
2261 elif test "$wxUSE_ZLIB" = sys
; then
2262 echo "$ac_t""system version" 1>&6
2263 elif test "$wxUSE_ZLIB" = builtin; then
2264 echo "$ac_t""builtin version" 1>&6
2266 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2270 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2271 echo "configure:2272: checking for --with-odbc" >&5
2273 # Check whether --with-odbc or --without-odbc was given.
2274 if test "${with_odbc+set}" = set; then
2275 withval
="$with_odbc"
2277 if test "$withval" = yes; then
2278 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2280 ac_cv_use_odbc
='wxUSE_ODBC=no'
2285 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2286 if test "x$LINE" != x
; then
2287 eval "DEFAULT_$LINE"
2292 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2297 eval "$ac_cv_use_odbc"
2298 if test "$no_cache" != 1; then
2299 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2302 if test "$wxUSE_ODBC" = yes; then
2303 echo "$ac_t""yes" 1>&6
2305 echo "$ac_t""no" 1>&6
2311 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2312 echo "configure:2313: checking for --enable-shared" >&5
2314 # Check whether --enable-shared or --disable-shared was given.
2315 if test "${enable_shared+set}" = set; then
2316 enableval
="$enable_shared"
2318 if test "$enableval" = yes; then
2319 ac_cv_use_shared
='wxUSE_SHARED=yes'
2321 ac_cv_use_shared
='wxUSE_SHARED=no'
2326 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2327 if test "x$LINE" != x
; then
2328 eval "DEFAULT_$LINE"
2333 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2338 eval "$ac_cv_use_shared"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2343 if test "$wxUSE_SHARED" = yes; then
2344 echo "$ac_t""yes" 1>&6
2346 echo "$ac_t""no" 1>&6
2350 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2351 echo "configure:2352: checking for --enable-soname" >&5
2353 # Check whether --enable-soname or --disable-soname was given.
2354 if test "${enable_soname+set}" = set; then
2355 enableval
="$enable_soname"
2357 if test "$enableval" = yes; then
2358 ac_cv_use_soname
='wxUSE_SONAME=yes'
2360 ac_cv_use_soname
='wxUSE_SONAME=no'
2365 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2366 if test "x$LINE" != x
; then
2367 eval "DEFAULT_$LINE"
2372 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2377 eval "$ac_cv_use_soname"
2378 if test "$no_cache" != 1; then
2379 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2382 if test "$wxUSE_SONAME" = yes; then
2383 echo "$ac_t""yes" 1>&6
2385 echo "$ac_t""no" 1>&6
2389 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2390 echo "configure:2391: checking for --enable-optimise" >&5
2392 # Check whether --enable-optimise or --disable-optimise was given.
2393 if test "${enable_optimise+set}" = set; then
2394 enableval
="$enable_optimise"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2399 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2404 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x
; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2416 eval "$ac_cv_use_optimise"
2417 if test "$no_cache" != 1; then
2418 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2421 if test "$wxUSE_OPTIMISE" = yes; then
2422 echo "$ac_t""yes" 1>&6
2424 echo "$ac_t""no" 1>&6
2428 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2429 echo "configure:2430: checking for --enable-debug" >&5
2431 # Check whether --enable-debug or --disable-debug was given.
2432 if test "${enable_debug+set}" = set; then
2433 enableval
="$enable_debug"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2438 ac_cv_use_debug
='wxUSE_DEBUG=no'
2443 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x
; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2455 eval "$ac_cv_use_debug"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_DEBUG" = yes; then
2461 echo "$ac_t""yes" 1>&6
2463 echo "$ac_t""no" 1>&6
2468 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2469 echo "configure:2470: checking for --enable-precomp" >&5
2471 # Check whether --enable-precomp or --disable-precomp was given.
2472 if test "${enable_precomp+set}" = set; then
2473 enableval
="$enable_precomp"
2475 if test "$enableval" = yes; then
2476 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2478 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2483 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2484 if test "x$LINE" != x
; then
2485 eval "DEFAULT_$LINE"
2490 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2495 eval "$ac_cv_use_precomp"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_PRECOMP" = yes; then
2501 echo "$ac_t""yes" 1>&6
2503 echo "$ac_t""no" 1>&6
2507 if test "$wxUSE_DEBUG" = "yes"; then
2508 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2509 DEFAULT_wxUSE_DEBUG_INFO
=yes
2510 elif test "$wxUSE_DEBUG" = "no"; then
2511 DEFAULT_wxUSE_DEBUG_FLAG
=no
2512 DEFAULT_wxUSE_DEBUG_INFO
=no
2516 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2517 echo "configure:2518: checking for --enable-debug_flag" >&5
2519 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2520 if test "${enable_debug_flag+set}" = set; then
2521 enableval
="$enable_debug_flag"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2526 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2531 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2543 eval "$ac_cv_use_debug_flag"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_DEBUG_FLAG" = yes; then
2549 echo "$ac_t""yes" 1>&6
2551 echo "$ac_t""no" 1>&6
2555 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2556 echo "configure:2557: checking for --enable-debug_info" >&5
2558 # Check whether --enable-debug_info or --disable-debug_info was given.
2559 if test "${enable_debug_info+set}" = set; then
2560 enableval
="$enable_debug_info"
2562 if test "$enableval" = yes; then
2563 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2565 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2570 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2571 if test "x$LINE" != x
; then
2572 eval "DEFAULT_$LINE"
2577 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2582 eval "$ac_cv_use_debug_info"
2583 if test "$no_cache" != 1; then
2584 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2587 if test "$wxUSE_DEBUG_INFO" = yes; then
2588 echo "$ac_t""yes" 1>&6
2590 echo "$ac_t""no" 1>&6
2594 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2595 echo "configure:2596: checking for --enable-debug_gdb" >&5
2597 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2598 if test "${enable_debug_gdb+set}" = set; then
2599 enableval
="$enable_debug_gdb"
2601 if test "$enableval" = yes; then
2602 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2604 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2609 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2610 if test "x$LINE" != x
; then
2611 eval "DEFAULT_$LINE"
2616 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2621 eval "$ac_cv_use_debug_gdb"
2622 if test "$no_cache" != 1; then
2623 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2626 if test "$wxUSE_DEBUG_GDB" = yes; then
2627 echo "$ac_t""yes" 1>&6
2629 echo "$ac_t""no" 1>&6
2633 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2634 echo "configure:2635: checking for --enable-debug_cntxt" >&5
2636 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2637 if test "${enable_debug_cntxt+set}" = set; then
2638 enableval
="$enable_debug_cntxt"
2640 if test "$enableval" = yes; then
2641 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2643 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2648 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x
; then
2650 eval "DEFAULT_$LINE"
2655 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2660 eval "$ac_cv_use_debug_cntxt"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2665 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2666 echo "$ac_t""yes" 1>&6
2668 echo "$ac_t""no" 1>&6
2672 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2673 echo "configure:2674: checking for --enable-mem_tracing" >&5
2675 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2676 if test "${enable_mem_tracing+set}" = set; then
2677 enableval
="$enable_mem_tracing"
2679 if test "$enableval" = yes; then
2680 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2682 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2687 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2688 if test "x$LINE" != x
; then
2689 eval "DEFAULT_$LINE"
2694 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2699 eval "$ac_cv_use_mem_tracing"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_MEM_TRACING" = yes; then
2705 echo "$ac_t""yes" 1>&6
2707 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2712 echo "configure:2713: checking for --enable-profile" >&5
2714 # Check whether --enable-profile or --disable-profile was given.
2715 if test "${enable_profile+set}" = set; then
2716 enableval
="$enable_profile"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2721 ac_cv_use_profile
='wxUSE_PROFILE=no'
2726 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2738 eval "$ac_cv_use_profile"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_PROFILE" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2750 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2751 echo "configure:2752: checking for --enable-no_rtti" >&5
2753 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2754 if test "${enable_no_rtti+set}" = set; then
2755 enableval
="$enable_no_rtti"
2757 if test "$enableval" = yes; then
2758 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2760 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2765 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2766 if test "x$LINE" != x
; then
2767 eval "DEFAULT_$LINE"
2772 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2777 eval "$ac_cv_use_no_rtti"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_NO_RTTI" = yes; then
2783 echo "$ac_t""yes" 1>&6
2785 echo "$ac_t""no" 1>&6
2789 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2790 echo "configure:2791: checking for --enable-no_exceptions" >&5
2792 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2793 if test "${enable_no_exceptions+set}" = set; then
2794 enableval
="$enable_no_exceptions"
2796 if test "$enableval" = yes; then
2797 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2799 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2804 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x
; then
2806 eval "DEFAULT_$LINE"
2811 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2816 eval "$ac_cv_use_no_exceptions"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2822 echo "$ac_t""yes" 1>&6
2824 echo "$ac_t""no" 1>&6
2828 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2829 echo "configure:2830: checking for --enable-permissive" >&5
2831 # Check whether --enable-permissive or --disable-permissive was given.
2832 if test "${enable_permissive+set}" = set; then
2833 enableval
="$enable_permissive"
2835 if test "$enableval" = yes; then
2836 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2838 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2843 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2855 eval "$ac_cv_use_permissive"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_PERMISSIVE" = yes; then
2861 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2867 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2868 echo "configure:2869: checking for --enable-no_deps" >&5
2870 # Check whether --enable-no_deps or --disable-no_deps was given.
2871 if test "${enable_no_deps+set}" = set; then
2872 enableval
="$enable_no_deps"
2874 if test "$enableval" = yes; then
2875 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2877 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2882 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2883 if test "x$LINE" != x
; then
2884 eval "DEFAULT_$LINE"
2889 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2894 eval "$ac_cv_use_no_deps"
2895 if test "$no_cache" != 1; then
2896 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2899 if test "$wxUSE_NO_DEPS" = yes; then
2900 echo "$ac_t""yes" 1>&6
2902 echo "$ac_t""no" 1>&6
2907 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2908 echo "configure:2909: checking for --enable-compat20" >&5
2910 # Check whether --enable-compat20 or --disable-compat20 was given.
2911 if test "${enable_compat20+set}" = set; then
2912 enableval
="$enable_compat20"
2914 if test "$enableval" = yes; then
2915 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2917 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2922 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2934 eval "$ac_cv_use_compat20"
2935 if test "$no_cache" != 1; then
2936 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2939 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2940 echo "$ac_t""yes" 1>&6
2942 echo "$ac_t""no" 1>&6
2946 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2947 echo "configure:2948: checking for --enable-compat22" >&5
2949 # Check whether --enable-compat22 or --disable-compat22 was given.
2950 if test "${enable_compat22+set}" = set; then
2951 enableval
="$enable_compat22"
2953 if test "$enableval" = yes; then
2954 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2956 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2961 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2973 eval "$ac_cv_use_compat22"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2978 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2979 echo "$ac_t""yes" 1>&6
2981 echo "$ac_t""no" 1>&6
2985 # Check whether --enable-rpath or --disable-rpath was given.
2986 if test "${enable_rpath+set}" = set; then
2987 enableval
="$enable_rpath"
2988 wxRPATH_DIR
="$enableval"
2992 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
2993 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
2999 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3000 echo "configure:3001: checking for --enable-intl" >&5
3002 # Check whether --enable-intl or --disable-intl was given.
3003 if test "${enable_intl+set}" = set; then
3004 enableval
="$enable_intl"
3006 if test "$enableval" = yes; then
3007 ac_cv_use_intl
='wxUSE_INTL=yes'
3009 ac_cv_use_intl
='wxUSE_INTL=no'
3014 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3026 eval "$ac_cv_use_intl"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3031 if test "$wxUSE_INTL" = yes; then
3032 echo "$ac_t""yes" 1>&6
3034 echo "$ac_t""no" 1>&6
3038 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3039 echo "configure:3040: checking for --enable-config" >&5
3041 # Check whether --enable-config or --disable-config was given.
3042 if test "${enable_config+set}" = set; then
3043 enableval
="$enable_config"
3045 if test "$enableval" = yes; then
3046 ac_cv_use_config
='wxUSE_CONFIG=yes'
3048 ac_cv_use_config
='wxUSE_CONFIG=no'
3053 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3065 eval "$ac_cv_use_config"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_CONFIG" = yes; then
3071 echo "$ac_t""yes" 1>&6
3073 echo "$ac_t""no" 1>&6
3078 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3079 echo "configure:3080: checking for --enable-protocols" >&5
3081 # Check whether --enable-protocols or --disable-protocols was given.
3082 if test "${enable_protocols+set}" = set; then
3083 enableval
="$enable_protocols"
3085 if test "$enableval" = yes; then
3086 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3088 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3093 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x
; then
3095 eval "DEFAULT_$LINE"
3100 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3105 eval "$ac_cv_use_protocols"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_PROTOCOL" = yes; then
3111 echo "$ac_t""yes" 1>&6
3113 echo "$ac_t""no" 1>&6
3117 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3118 echo "configure:3119: checking for --enable-ftp" >&5
3120 # Check whether --enable-ftp or --disable-ftp was given.
3121 if test "${enable_ftp+set}" = set; then
3122 enableval
="$enable_ftp"
3124 if test "$enableval" = yes; then
3125 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3127 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3132 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3133 if test "x$LINE" != x
; then
3134 eval "DEFAULT_$LINE"
3139 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3144 eval "$ac_cv_use_ftp"
3145 if test "$no_cache" != 1; then
3146 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3149 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3150 echo "$ac_t""yes" 1>&6
3152 echo "$ac_t""no" 1>&6
3156 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3157 echo "configure:3158: checking for --enable-http" >&5
3159 # Check whether --enable-http or --disable-http was given.
3160 if test "${enable_http+set}" = set; then
3161 enableval
="$enable_http"
3163 if test "$enableval" = yes; then
3164 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3166 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3171 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x
; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3183 eval "$ac_cv_use_http"
3184 if test "$no_cache" != 1; then
3185 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3188 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3189 echo "$ac_t""yes" 1>&6
3191 echo "$ac_t""no" 1>&6
3195 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3196 echo "configure:3197: checking for --enable-fileproto" >&5
3198 # Check whether --enable-fileproto or --disable-fileproto was given.
3199 if test "${enable_fileproto+set}" = set; then
3200 enableval
="$enable_fileproto"
3202 if test "$enableval" = yes; then
3203 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3205 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3210 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3222 eval "$ac_cv_use_fileproto"
3223 if test "$no_cache" != 1; then
3224 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3227 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3228 echo "$ac_t""yes" 1>&6
3230 echo "$ac_t""no" 1>&6
3234 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3235 echo "configure:3236: checking for --enable-sockets" >&5
3237 # Check whether --enable-sockets or --disable-sockets was given.
3238 if test "${enable_sockets+set}" = set; then
3239 enableval
="$enable_sockets"
3241 if test "$enableval" = yes; then
3242 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3244 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3249 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x
; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3261 eval "$ac_cv_use_sockets"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3266 if test "$wxUSE_SOCKETS" = yes; then
3267 echo "$ac_t""yes" 1>&6
3269 echo "$ac_t""no" 1>&6
3274 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3275 echo "configure:3276: checking for --enable-ipc" >&5
3277 # Check whether --enable-ipc or --disable-ipc was given.
3278 if test "${enable_ipc+set}" = set; then
3279 enableval
="$enable_ipc"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_ipc
='wxUSE_IPC=yes'
3284 ac_cv_use_ipc
='wxUSE_IPC=no'
3289 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3301 eval "$ac_cv_use_ipc"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_IPC" = yes; then
3307 echo "$ac_t""yes" 1>&6
3309 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-cmdline" >&5
3317 # Check whether --enable-cmdline or --disable-cmdline was given.
3318 if test "${enable_cmdline+set}" = set; then
3319 enableval
="$enable_cmdline"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3324 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3329 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3341 eval "$ac_cv_use_cmdline"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-datetime" >&5
3356 # Check whether --enable-datetime or --disable-datetime was given.
3357 if test "${enable_datetime+set}" = set; then
3358 enableval
="$enable_datetime"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3363 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3368 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3380 eval "$ac_cv_use_datetime"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_DATETIME" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3393 echo "configure:3394: checking for --enable-timedate" >&5
3395 # Check whether --enable-timedate or --disable-timedate was given.
3396 if test "${enable_timedate+set}" = set; then
3397 enableval
="$enable_timedate"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3402 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3407 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3419 eval "$ac_cv_use_timedate"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_TIMEDATE" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3432 echo "configure:3433: checking for --enable-stopwatch" >&5
3434 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3435 if test "${enable_stopwatch+set}" = set; then
3436 enableval
="$enable_stopwatch"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3441 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3446 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3458 eval "$ac_cv_use_stopwatch"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_STOPWATCH" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --enable-dialupman" >&5
3473 # Check whether --enable-dialupman or --disable-dialupman was given.
3474 if test "${enable_dialupman+set}" = set; then
3475 enableval
="$enable_dialupman"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3480 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3485 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3497 eval "$ac_cv_use_dialupman"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3510 echo "configure:3511: checking for --enable-apple_ieee" >&5
3512 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3513 if test "${enable_apple_ieee+set}" = set; then
3514 enableval
="$enable_apple_ieee"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3519 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3524 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3536 eval "$ac_cv_use_apple_ieee"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_APPLE_IEEE" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --enable-timer" >&5
3551 # Check whether --enable-timer or --disable-timer was given.
3552 if test "${enable_timer+set}" = set; then
3553 enableval
="$enable_timer"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_timer
='wxUSE_TIMER=yes'
3558 ac_cv_use_timer
='wxUSE_TIMER=no'
3563 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3575 eval "$ac_cv_use_timer"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_TIMER" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3588 echo "configure:3589: checking for --enable-wave" >&5
3590 # Check whether --enable-wave or --disable-wave was given.
3591 if test "${enable_wave+set}" = set; then
3592 enableval
="$enable_wave"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_wave
='wxUSE_WAVE=yes'
3597 ac_cv_use_wave
='wxUSE_WAVE=no'
3602 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3614 eval "$ac_cv_use_wave"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_WAVE" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --enable-fraction" >&5
3629 # Check whether --enable-fraction or --disable-fraction was given.
3630 if test "${enable_fraction+set}" = set; then
3631 enableval
="$enable_fraction"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3636 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3641 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3653 eval "$ac_cv_use_fraction"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_FRACTION" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3666 echo "configure:3667: checking for --enable-dynlib" >&5
3668 # Check whether --enable-dynlib or --disable-dynlib was given.
3669 if test "${enable_dynlib+set}" = set; then
3670 enableval
="$enable_dynlib"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3675 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3680 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3692 eval "$ac_cv_use_dynlib"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3705 echo "configure:3706: checking for --enable-dynamicloader" >&5
3707 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3708 if test "${enable_dynamicloader+set}" = set; then
3709 enableval
="$enable_dynamicloader"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3714 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3719 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3731 eval "$ac_cv_use_dynamicloader"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3744 echo "configure:3745: checking for --enable-longlong" >&5
3746 # Check whether --enable-longlong or --disable-longlong was given.
3747 if test "${enable_longlong+set}" = set; then
3748 enableval
="$enable_longlong"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3753 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3758 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3770 eval "$ac_cv_use_longlong"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_LONGLONG" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3783 echo "configure:3784: checking for --enable-geometry" >&5
3785 # Check whether --enable-geometry or --disable-geometry was given.
3786 if test "${enable_geometry+set}" = set; then
3787 enableval
="$enable_geometry"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3792 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3797 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3809 eval "$ac_cv_use_geometry"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_GEOMETRY" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3821 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3822 echo "configure:3823: checking for --enable-log" >&5
3824 # Check whether --enable-log or --disable-log was given.
3825 if test "${enable_log+set}" = set; then
3826 enableval
="$enable_log"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_log
='wxUSE_LOG=yes'
3831 ac_cv_use_log
='wxUSE_LOG=no'
3836 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3848 eval "$ac_cv_use_log"
3849 if test "$no_cache" != 1; then
3850 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3853 if test "$wxUSE_LOG" = yes; then
3854 echo "$ac_t""yes" 1>&6
3856 echo "$ac_t""no" 1>&6
3860 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3861 echo "configure:3862: checking for --enable-streams" >&5
3863 # Check whether --enable-streams or --disable-streams was given.
3864 if test "${enable_streams+set}" = set; then
3865 enableval
="$enable_streams"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3870 ac_cv_use_streams
='wxUSE_STREAMS=no'
3875 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3887 eval "$ac_cv_use_streams"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_STREAMS" = yes; then
3893 echo "$ac_t""yes" 1>&6
3895 echo "$ac_t""no" 1>&6
3899 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3900 echo "configure:3901: checking for --enable-file" >&5
3902 # Check whether --enable-file or --disable-file was given.
3903 if test "${enable_file+set}" = set; then
3904 enableval
="$enable_file"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_file
='wxUSE_FILE=yes'
3909 ac_cv_use_file
='wxUSE_FILE=no'
3914 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x
; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3926 eval "$ac_cv_use_file"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_FILE" = yes; then
3932 echo "$ac_t""yes" 1>&6
3934 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --enable-ffile" >&5
3941 # Check whether --enable-ffile or --disable-ffile was given.
3942 if test "${enable_ffile+set}" = set; then
3943 enableval
="$enable_ffile"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3948 ac_cv_use_ffile
='wxUSE_FFILE=no'
3953 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3965 eval "$ac_cv_use_ffile"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_FFILE" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3977 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3978 echo "configure:3979: checking for --enable-textbuf" >&5
3980 # Check whether --enable-textbuf or --disable-textbuf was given.
3981 if test "${enable_textbuf+set}" = set; then
3982 enableval
="$enable_textbuf"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3987 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3992 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4004 eval "$ac_cv_use_textbuf"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_TEXTBUFFER" = yes; then
4010 echo "$ac_t""yes" 1>&6
4012 echo "$ac_t""no" 1>&6
4016 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4017 echo "configure:4018: checking for --enable-textfile" >&5
4019 # Check whether --enable-textfile or --disable-textfile was given.
4020 if test "${enable_textfile+set}" = set; then
4021 enableval
="$enable_textfile"
4023 if test "$enableval" = yes; then
4024 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4026 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4031 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x
; then
4033 eval "DEFAULT_$LINE"
4038 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4043 eval "$ac_cv_use_textfile"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_TEXTFILE" = yes; then
4049 echo "$ac_t""yes" 1>&6
4051 echo "$ac_t""no" 1>&6
4055 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4056 echo "configure:4057: checking for --enable-fontmap" >&5
4058 # Check whether --enable-fontmap or --disable-fontmap was given.
4059 if test "${enable_fontmap+set}" = set; then
4060 enableval
="$enable_fontmap"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4065 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4070 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4082 eval "$ac_cv_use_fontmap"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_FONTMAP" = yes; then
4088 echo "$ac_t""yes" 1>&6
4090 echo "$ac_t""no" 1>&6
4094 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4095 echo "configure:4096: checking for --enable-unicode" >&5
4097 # Check whether --enable-unicode or --disable-unicode was given.
4098 if test "${enable_unicode+set}" = set; then
4099 enableval
="$enable_unicode"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4104 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4109 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4121 eval "$ac_cv_use_unicode"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_UNICODE" = yes; then
4127 echo "$ac_t""yes" 1>&6
4129 echo "$ac_t""no" 1>&6
4133 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4134 echo "configure:4135: checking for --enable-mslu" >&5
4136 # Check whether --enable-mslu or --disable-mslu was given.
4137 if test "${enable_mslu+set}" = set; then
4138 enableval
="$enable_mslu"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4143 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4148 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4160 eval "$ac_cv_use_mslu"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_UNICODE_MSLU" = yes; then
4166 echo "$ac_t""yes" 1>&6
4168 echo "$ac_t""no" 1>&6
4172 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4173 echo "configure:4174: checking for --enable-wxprintfv" >&5
4175 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4176 if test "${enable_wxprintfv+set}" = set; then
4177 enableval
="$enable_wxprintfv"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4182 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4187 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4199 eval "$ac_cv_use_wxprintfv"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4205 echo "$ac_t""yes" 1>&6
4207 echo "$ac_t""no" 1>&6
4211 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4212 echo "configure:4213: checking for --enable-std_iostreams" >&5
4214 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4215 if test "${enable_std_iostreams+set}" = set; then
4216 enableval
="$enable_std_iostreams"
4218 if test "$enableval" = yes; then
4219 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4221 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4226 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4227 if test "x$LINE" != x
; then
4228 eval "DEFAULT_$LINE"
4233 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4238 eval "$ac_cv_use_std_iostreams"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_STD_IOSTREAM" = yes; then
4244 echo "$ac_t""yes" 1>&6
4246 echo "$ac_t""no" 1>&6
4250 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4251 echo "configure:4252: checking for --enable-filesystem" >&5
4253 # Check whether --enable-filesystem or --disable-filesystem was given.
4254 if test "${enable_filesystem+set}" = set; then
4255 enableval
="$enable_filesystem"
4257 if test "$enableval" = yes; then
4258 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4260 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4265 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x
; then
4267 eval "DEFAULT_$LINE"
4272 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4277 eval "$ac_cv_use_filesystem"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4282 if test "$wxUSE_FILESYSTEM" = yes; then
4283 echo "$ac_t""yes" 1>&6
4285 echo "$ac_t""no" 1>&6
4289 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4290 echo "configure:4291: checking for --enable-fs_inet" >&5
4292 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4293 if test "${enable_fs_inet+set}" = set; then
4294 enableval
="$enable_fs_inet"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4299 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4304 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4316 eval "$ac_cv_use_fs_inet"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_FS_INET" = yes; then
4322 echo "$ac_t""yes" 1>&6
4324 echo "$ac_t""no" 1>&6
4328 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4329 echo "configure:4330: checking for --enable-fs_zip" >&5
4331 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4332 if test "${enable_fs_zip+set}" = set; then
4333 enableval
="$enable_fs_zip"
4335 if test "$enableval" = yes; then
4336 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4338 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4343 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x
; then
4345 eval "DEFAULT_$LINE"
4350 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4355 eval "$ac_cv_use_fs_zip"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4360 if test "$wxUSE_FS_ZIP" = yes; then
4361 echo "$ac_t""yes" 1>&6
4363 echo "$ac_t""no" 1>&6
4367 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4368 echo "configure:4369: checking for --enable-zipstream" >&5
4370 # Check whether --enable-zipstream or --disable-zipstream was given.
4371 if test "${enable_zipstream+set}" = set; then
4372 enableval
="$enable_zipstream"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4377 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4382 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4394 eval "$ac_cv_use_zipstream"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_ZIPSTREAM" = yes; then
4400 echo "$ac_t""yes" 1>&6
4402 echo "$ac_t""no" 1>&6
4407 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4408 echo "configure:4409: checking for --enable-catch_segvs" >&5
4410 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4411 if test "${enable_catch_segvs+set}" = set; then
4412 enableval
="$enable_catch_segvs"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4417 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4422 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4434 eval "$ac_cv_use_catch_segvs"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4440 echo "$ac_t""yes" 1>&6
4442 echo "$ac_t""no" 1>&6
4446 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4447 echo "configure:4448: checking for --enable-snglinst" >&5
4449 # Check whether --enable-snglinst or --disable-snglinst was given.
4450 if test "${enable_snglinst+set}" = set; then
4451 enableval
="$enable_snglinst"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4456 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4461 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4473 eval "$ac_cv_use_snglinst"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4479 echo "$ac_t""yes" 1>&6
4481 echo "$ac_t""no" 1>&6
4486 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4487 echo "configure:4488: checking for --enable-mimetype" >&5
4489 # Check whether --enable-mimetype or --disable-mimetype was given.
4490 if test "${enable_mimetype+set}" = set; then
4491 enableval
="$enable_mimetype"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4496 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4501 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4513 eval "$ac_cv_use_mimetype"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_MIMETYPE" = yes; then
4519 echo "$ac_t""yes" 1>&6
4521 echo "$ac_t""no" 1>&6
4525 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4526 echo "configure:4527: checking for --enable-system_options" >&5
4528 # Check whether --enable-system_options or --disable-system_options was given.
4529 if test "${enable_system_options+set}" = set; then
4530 enableval
="$enable_system_options"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4535 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4540 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x
; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4552 eval "$ac_cv_use_system_options"
4553 if test "$no_cache" != 1; then
4554 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4557 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4558 echo "$ac_t""yes" 1>&6
4560 echo "$ac_t""no" 1>&6
4565 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4566 echo "configure:4567: checking for --enable-url" >&5
4568 # Check whether --enable-url or --disable-url was given.
4569 if test "${enable_url+set}" = set; then
4570 enableval
="$enable_url"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_url
='wxUSE_URL=yes'
4575 ac_cv_use_url
='wxUSE_URL=no'
4580 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x
; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4592 eval "$ac_cv_use_url"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_URL" = yes; then
4598 echo "$ac_t""yes" 1>&6
4600 echo "$ac_t""no" 1>&6
4604 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4605 echo "configure:4606: checking for --enable-protocol" >&5
4607 # Check whether --enable-protocol or --disable-protocol was given.
4608 if test "${enable_protocol+set}" = set; then
4609 enableval
="$enable_protocol"
4611 if test "$enableval" = yes; then
4612 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4614 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4619 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4631 eval "$ac_cv_use_protocol"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4636 if test "$wxUSE_PROTOCOL" = yes; then
4637 echo "$ac_t""yes" 1>&6
4639 echo "$ac_t""no" 1>&6
4643 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4644 echo "configure:4645: checking for --enable-protocol_http" >&5
4646 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4647 if test "${enable_protocol_http+set}" = set; then
4648 enableval
="$enable_protocol_http"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4653 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4658 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x
; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4670 eval "$ac_cv_use_protocol_http"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4682 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4683 echo "configure:4684: checking for --enable-protocol_ftp" >&5
4685 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4686 if test "${enable_protocol_ftp+set}" = set; then
4687 enableval
="$enable_protocol_ftp"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4692 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4697 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4709 eval "$ac_cv_use_protocol_ftp"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4714 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4715 echo "$ac_t""yes" 1>&6
4717 echo "$ac_t""no" 1>&6
4721 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4722 echo "configure:4723: checking for --enable-protocol_file" >&5
4724 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4725 if test "${enable_protocol_file+set}" = set; then
4726 enableval
="$enable_protocol_file"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4731 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4736 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x
; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4748 eval "$ac_cv_use_protocol_file"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4754 echo "$ac_t""yes" 1>&6
4756 echo "$ac_t""no" 1>&6
4763 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4764 echo "configure:4765: checking for --enable-threads" >&5
4766 # Check whether --enable-threads or --disable-threads was given.
4767 if test "${enable_threads+set}" = set; then
4768 enableval
="$enable_threads"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_threads
='wxUSE_THREADS=yes'
4773 ac_cv_use_threads
='wxUSE_THREADS=no'
4778 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x
; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4790 eval "$ac_cv_use_threads"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_THREADS" = yes; then
4796 echo "$ac_t""yes" 1>&6
4798 echo "$ac_t""no" 1>&6
4802 if test "$wxUSE_GUI" = "yes"; then
4806 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4807 echo "configure:4808: checking for --enable-docview" >&5
4809 # Check whether --enable-docview or --disable-docview was given.
4810 if test "${enable_docview+set}" = set; then
4811 enableval
="$enable_docview"
4813 if test "$enableval" = yes; then
4814 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4816 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4821 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x
; then
4823 eval "DEFAULT_$LINE"
4828 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4833 eval "$ac_cv_use_docview"
4834 if test "$no_cache" != 1; then
4835 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4838 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4839 echo "$ac_t""yes" 1>&6
4841 echo "$ac_t""no" 1>&6
4845 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4846 echo "configure:4847: checking for --enable-help" >&5
4848 # Check whether --enable-help or --disable-help was given.
4849 if test "${enable_help+set}" = set; then
4850 enableval
="$enable_help"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_help
='wxUSE_HELP=yes'
4855 ac_cv_use_help
='wxUSE_HELP=no'
4860 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4872 eval "$ac_cv_use_help"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_HELP" = yes; then
4878 echo "$ac_t""yes" 1>&6
4880 echo "$ac_t""no" 1>&6
4884 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4885 echo "configure:4886: checking for --enable-mshtmlhelp" >&5
4887 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4888 if test "${enable_mshtmlhelp+set}" = set; then
4889 enableval
="$enable_mshtmlhelp"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4894 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4899 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4911 eval "$ac_cv_use_mshtmlhelp"
4912 if test "$no_cache" != 1; then
4913 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4916 if test "$wxUSE_MS_HTML_HELP" = yes; then
4917 echo "$ac_t""yes" 1>&6
4919 echo "$ac_t""no" 1>&6
4923 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4924 echo "configure:4925: checking for --enable-html" >&5
4926 # Check whether --enable-html or --disable-html was given.
4927 if test "${enable_html+set}" = set; then
4928 enableval
="$enable_html"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_html
='wxUSE_HTML=yes'
4933 ac_cv_use_html
='wxUSE_HTML=no'
4938 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4950 eval "$ac_cv_use_html"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_HTML" = yes; then
4956 echo "$ac_t""yes" 1>&6
4958 echo "$ac_t""no" 1>&6
4962 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4963 echo "configure:4964: checking for --enable-htmlhelp" >&5
4965 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4966 if test "${enable_htmlhelp+set}" = set; then
4967 enableval
="$enable_htmlhelp"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4972 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4977 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4989 eval "$ac_cv_use_htmlhelp"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_WXHTML_HELP" = yes; then
4995 echo "$ac_t""yes" 1>&6
4997 echo "$ac_t""no" 1>&6
5001 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5002 echo "configure:5003: checking for --enable-constraints" >&5
5004 # Check whether --enable-constraints or --disable-constraints was given.
5005 if test "${enable_constraints+set}" = set; then
5006 enableval
="$enable_constraints"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5011 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5016 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5028 eval "$ac_cv_use_constraints"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_CONSTRAINTS" = yes; then
5034 echo "$ac_t""yes" 1>&6
5036 echo "$ac_t""no" 1>&6
5040 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5041 echo "configure:5042: checking for --enable-printarch" >&5
5043 # Check whether --enable-printarch or --disable-printarch was given.
5044 if test "${enable_printarch+set}" = set; then
5045 enableval
="$enable_printarch"
5047 if test "$enableval" = yes; then
5048 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5050 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5055 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5056 if test "x$LINE" != x
; then
5057 eval "DEFAULT_$LINE"
5062 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5067 eval "$ac_cv_use_printarch"
5068 if test "$no_cache" != 1; then
5069 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5072 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5073 echo "$ac_t""yes" 1>&6
5075 echo "$ac_t""no" 1>&6
5079 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5080 echo "configure:5081: checking for --enable-mdi" >&5
5082 # Check whether --enable-mdi or --disable-mdi was given.
5083 if test "${enable_mdi+set}" = set; then
5084 enableval
="$enable_mdi"
5086 if test "$enableval" = yes; then
5087 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5089 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5094 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5095 if test "x$LINE" != x
; then
5096 eval "DEFAULT_$LINE"
5101 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5106 eval "$ac_cv_use_mdi"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5112 echo "$ac_t""yes" 1>&6
5114 echo "$ac_t""no" 1>&6
5118 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5119 echo "configure:5120: checking for --enable-loggui" >&5
5121 # Check whether --enable-loggui or --disable-loggui was given.
5122 if test "${enable_loggui+set}" = set; then
5123 enableval
="$enable_loggui"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5128 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5133 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5145 eval "$ac_cv_use_loggui"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_LOGGUI" = yes; then
5151 echo "$ac_t""yes" 1>&6
5153 echo "$ac_t""no" 1>&6
5157 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5158 echo "configure:5159: checking for --enable-logwin" >&5
5160 # Check whether --enable-logwin or --disable-logwin was given.
5161 if test "${enable_logwin+set}" = set; then
5162 enableval
="$enable_logwin"
5164 if test "$enableval" = yes; then
5165 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5167 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5172 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x
; then
5174 eval "DEFAULT_$LINE"
5179 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5184 eval "$ac_cv_use_logwin"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5189 if test "$wxUSE_LOGWINDOW" = yes; then
5190 echo "$ac_t""yes" 1>&6
5192 echo "$ac_t""no" 1>&6
5196 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5197 echo "configure:5198: checking for --enable-logdialog" >&5
5199 # Check whether --enable-logdialog or --disable-logdialog was given.
5200 if test "${enable_logdialog+set}" = set; then
5201 enableval
="$enable_logdialog"
5203 if test "$enableval" = yes; then
5204 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5206 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5211 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5212 if test "x$LINE" != x
; then
5213 eval "DEFAULT_$LINE"
5218 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5223 eval "$ac_cv_use_logdialog"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_LOGDIALOG" = yes; then
5229 echo "$ac_t""yes" 1>&6
5231 echo "$ac_t""no" 1>&6
5236 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5237 echo "configure:5238: checking for --enable-postscript" >&5
5239 # Check whether --enable-postscript or --disable-postscript was given.
5240 if test "${enable_postscript+set}" = set; then
5241 enableval
="$enable_postscript"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5246 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5251 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5263 eval "$ac_cv_use_postscript"
5264 if test "$no_cache" != 1; then
5265 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5268 if test "$wxUSE_POSTSCRIPT" = yes; then
5269 echo "$ac_t""yes" 1>&6
5271 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5279 echo "configure:5280: checking for --enable-prologio" >&5
5281 # Check whether --enable-prologio or --disable-prologio was given.
5282 if test "${enable_prologio+set}" = set; then
5283 enableval
="$enable_prologio"
5285 if test "$enableval" = yes; then
5286 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5288 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5293 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5300 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5305 eval "$ac_cv_use_prologio"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_PROLOGIO" = yes; then
5311 echo "$ac_t""yes" 1>&6
5313 echo "$ac_t""no" 1>&6
5317 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5318 echo "configure:5319: checking for --enable-resources" >&5
5320 # Check whether --enable-resources or --disable-resources was given.
5321 if test "${enable_resources+set}" = set; then
5322 enableval
="$enable_resources"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5327 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5332 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5344 eval "$ac_cv_use_resources"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_RESOURCES" = yes; then
5350 echo "$ac_t""yes" 1>&6
5352 echo "$ac_t""no" 1>&6
5357 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5358 echo "configure:5359: checking for --enable-xresources" >&5
5360 # Check whether --enable-xresources or --disable-xresources was given.
5361 if test "${enable_xresources+set}" = set; then
5362 enableval
="$enable_xresources"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5367 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5372 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5384 eval "$ac_cv_use_xresources"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_X_RESOURCES" = yes; then
5390 echo "$ac_t""yes" 1>&6
5392 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --enable-clipboard" >&5
5401 # Check whether --enable-clipboard or --disable-clipboard was given.
5402 if test "${enable_clipboard+set}" = set; then
5403 enableval
="$enable_clipboard"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5408 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5413 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5425 eval "$ac_cv_use_clipboard"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_CLIPBOARD" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5438 echo "configure:5439: checking for --enable-dnd" >&5
5440 # Check whether --enable-dnd or --disable-dnd was given.
5441 if test "${enable_dnd+set}" = set; then
5442 enableval
="$enable_dnd"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5447 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5452 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5464 eval "$ac_cv_use_dnd"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5477 echo "configure:5478: checking for --enable-metafile" >&5
5479 # Check whether --enable-metafile or --disable-metafile was given.
5480 if test "${enable_metafile+set}" = set; then
5481 enableval
="$enable_metafile"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5486 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5491 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5503 eval "$ac_cv_use_metafile"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_METAFILE" = yes; then
5509 echo "$ac_t""yes" 1>&6
5511 echo "$ac_t""no" 1>&6
5516 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5517 echo "configure:5518: checking for --enable-treelayout" >&5
5519 # Check whether --enable-treelayout or --disable-treelayout was given.
5520 if test "${enable_treelayout+set}" = set; then
5521 enableval
="$enable_treelayout"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5526 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5531 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5543 eval "$ac_cv_use_treelayout"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_TREELAYOUT" = yes; then
5549 echo "$ac_t""yes" 1>&6
5551 echo "$ac_t""no" 1>&6
5557 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5558 echo "configure:5559: checking for --enable-controls" >&5
5560 # Check whether --enable-controls or --disable-controls was given.
5561 if test "${enable_controls+set}" = set; then
5562 enableval
="$enable_controls"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5567 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5572 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5584 eval "$ac_cv_use_controls"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_CONTROLS" = yes; then
5590 echo "$ac_t""yes" 1>&6
5592 echo "$ac_t""no" 1>&6
5596 if test "$wxUSE_CONTROLS" = "yes"; then
5597 DEFAULT_wxUSE_ACCEL
=yes
5598 DEFAULT_wxUSE_BMPBUTTON
=yes
5599 DEFAULT_wxUSE_BUTTON
=yes
5600 DEFAULT_wxUSE_CALCTRL
=no
5601 DEFAULT_wxUSE_CARET
=yes
5602 DEFAULT_wxUSE_COMBOBOX
=yes
5603 DEFAULT_wxUSE_CHECKBOX
=yes
5604 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5605 DEFAULT_wxUSE_CHOICE
=yes
5606 DEFAULT_wxUSE_GAUGE
=yes
5607 DEFAULT_wxUSE_GRID
=yes
5608 DEFAULT_wxUSE_NEW_GRID
=yes
5609 DEFAULT_wxUSE_IMAGLIST
=yes
5610 DEFAULT_wxUSE_LISTBOX
=yes
5611 DEFAULT_wxUSE_LISTCTRL
=yes
5612 DEFAULT_wxUSE_NOTEBOOK
=yes
5613 DEFAULT_wxUSE_PROPSHEET
=yes
5614 DEFAULT_wxUSE_RADIOBOX
=yes
5615 DEFAULT_wxUSE_RADIOBTN
=yes
5616 DEFAULT_wxUSE_SASH
=yes
5617 DEFAULT_wxUSE_SCROLLBAR
=yes
5618 DEFAULT_wxUSE_SLIDER
=yes
5619 DEFAULT_wxUSE_SPINBTN
=yes
5620 DEFAULT_wxUSE_SPINCTRL
=yes
5621 DEFAULT_wxUSE_SPLITTER
=yes
5622 DEFAULT_wxUSE_STATBMP
=yes
5623 DEFAULT_wxUSE_STATBOX
=yes
5624 DEFAULT_wxUSE_STATLINE
=yes
5625 DEFAULT_wxUSE_STATUSBAR
=yes
5626 DEFAULT_wxUSE_TAB_DIALOG
=yes
5627 DEFAULT_wxUSE_TOGGLEBTN
=yes
5628 DEFAULT_wxUSE_TOOLBAR
=yes
5629 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5630 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5631 DEFAULT_wxUSE_TOOLTIPS
=yes
5632 DEFAULT_wxUSE_TREECTRL
=yes
5633 DEFAULT_wxUSE_POPUPWIN
=yes
5634 DEFAULT_wxUSE_TIPWINDOW
=yes
5635 elif test "$wxUSE_CONTROLS" = "no"; then
5636 DEFAULT_wxUSE_ACCEL
=no
5637 DEFAULT_wxUSE_BMPBUTTON
=no
5638 DEFAULT_wxUSE_BUTTON
=no
5639 DEFAULT_wxUSE_CALCTRL
=no
5640 DEFAULT_wxUSE_CARET
=no
5641 DEFAULT_wxUSE_COMBOBOX
=no
5642 DEFAULT_wxUSE_CHECKBOX
=no
5643 DEFAULT_wxUSE_CHECKLISTBOX
=no
5644 DEFAULT_wxUSE_CHOICE
=no
5645 DEFAULT_wxUSE_GAUGE
=no
5646 DEFAULT_wxUSE_GRID
=no
5647 DEFAULT_wxUSE_NEW_GRID
=no
5648 DEFAULT_wxUSE_IMAGLIST
=no
5649 DEFAULT_wxUSE_LISTBOX
=no
5650 DEFAULT_wxUSE_LISTCTRL
=no
5651 DEFAULT_wxUSE_NOTEBOOK
=no
5652 DEFAULT_wxUSE_PROPSHEET
=no
5653 DEFAULT_wxUSE_RADIOBOX
=no
5654 DEFAULT_wxUSE_RADIOBTN
=no
5655 DEFAULT_wxUSE_SASH
=no
5656 DEFAULT_wxUSE_SCROLLBAR
=no
5657 DEFAULT_wxUSE_SLIDER
=no
5658 DEFAULT_wxUSE_SPINBTN
=no
5659 DEFAULT_wxUSE_SPINCTRL
=no
5660 DEFAULT_wxUSE_SPLITTER
=no
5661 DEFAULT_wxUSE_STATBMP
=no
5662 DEFAULT_wxUSE_STATBOX
=no
5663 DEFAULT_wxUSE_STATLINE
=no
5664 DEFAULT_wxUSE_STATUSBAR
=no
5665 DEFAULT_wxUSE_TAB_DIALOG
=no
5666 DEFAULT_wxUSE_TOGGLEBTN
=no
5667 DEFAULT_wxUSE_TOOLBAR
=no
5668 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5669 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5670 DEFAULT_wxUSE_TOOLTIPS
=no
5671 DEFAULT_wxUSE_TREECTRL
=no
5672 DEFAULT_wxUSE_POPUPWIN
=no
5673 DEFAULT_wxUSE_TIPWINDOW
=no
5677 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5678 echo "configure:5679: checking for --enable-accel" >&5
5680 # Check whether --enable-accel or --disable-accel was given.
5681 if test "${enable_accel+set}" = set; then
5682 enableval
="$enable_accel"
5684 if test "$enableval" = yes; then
5685 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5687 ac_cv_use_accel
='wxUSE_ACCEL=no'
5692 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x
; then
5694 eval "DEFAULT_$LINE"
5699 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5704 eval "$ac_cv_use_accel"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_ACCEL" = yes; then
5710 echo "$ac_t""yes" 1>&6
5712 echo "$ac_t""no" 1>&6
5716 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5717 echo "configure:5718: checking for --enable-button" >&5
5719 # Check whether --enable-button or --disable-button was given.
5720 if test "${enable_button+set}" = set; then
5721 enableval
="$enable_button"
5723 if test "$enableval" = yes; then
5724 ac_cv_use_button
='wxUSE_BUTTON=yes'
5726 ac_cv_use_button
='wxUSE_BUTTON=no'
5731 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5743 eval "$ac_cv_use_button"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_BUTTON" = yes; then
5749 echo "$ac_t""yes" 1>&6
5751 echo "$ac_t""no" 1>&6
5755 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5756 echo "configure:5757: checking for --enable-bmpbutton" >&5
5758 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5759 if test "${enable_bmpbutton+set}" = set; then
5760 enableval
="$enable_bmpbutton"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5765 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5770 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5782 eval "$ac_cv_use_bmpbutton"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5787 if test "$wxUSE_BMPBUTTON" = yes; then
5788 echo "$ac_t""yes" 1>&6
5790 echo "$ac_t""no" 1>&6
5794 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5795 echo "configure:5796: checking for --enable-calendar" >&5
5797 # Check whether --enable-calendar or --disable-calendar was given.
5798 if test "${enable_calendar+set}" = set; then
5799 enableval
="$enable_calendar"
5801 if test "$enableval" = yes; then
5802 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5804 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5809 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x
; then
5811 eval "DEFAULT_$LINE"
5816 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5821 eval "$ac_cv_use_calendar"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5826 if test "$wxUSE_CALCTRL" = yes; then
5827 echo "$ac_t""yes" 1>&6
5829 echo "$ac_t""no" 1>&6
5833 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5834 echo "configure:5835: checking for --enable-caret" >&5
5836 # Check whether --enable-caret or --disable-caret was given.
5837 if test "${enable_caret+set}" = set; then
5838 enableval
="$enable_caret"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_caret
='wxUSE_CARET=yes'
5843 ac_cv_use_caret
='wxUSE_CARET=no'
5848 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x
; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5860 eval "$ac_cv_use_caret"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_CARET" = yes; then
5866 echo "$ac_t""yes" 1>&6
5868 echo "$ac_t""no" 1>&6
5872 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5873 echo "configure:5874: checking for --enable-checkbox" >&5
5875 # Check whether --enable-checkbox or --disable-checkbox was given.
5876 if test "${enable_checkbox+set}" = set; then
5877 enableval
="$enable_checkbox"
5879 if test "$enableval" = yes; then
5880 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5882 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5887 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x
; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5899 eval "$ac_cv_use_checkbox"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_CHECKBOX" = yes; then
5905 echo "$ac_t""yes" 1>&6
5907 echo "$ac_t""no" 1>&6
5911 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5912 echo "configure:5913: checking for --enable-checklst" >&5
5914 # Check whether --enable-checklst or --disable-checklst was given.
5915 if test "${enable_checklst+set}" = set; then
5916 enableval
="$enable_checklst"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5921 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5926 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5938 eval "$ac_cv_use_checklst"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5943 if test "$wxUSE_CHECKLST" = yes; then
5944 echo "$ac_t""yes" 1>&6
5946 echo "$ac_t""no" 1>&6
5950 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5951 echo "configure:5952: checking for --enable-choice" >&5
5953 # Check whether --enable-choice or --disable-choice was given.
5954 if test "${enable_choice+set}" = set; then
5955 enableval
="$enable_choice"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5960 ac_cv_use_choice
='wxUSE_CHOICE=no'
5965 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5977 eval "$ac_cv_use_choice"
5978 if test "$no_cache" != 1; then
5979 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5982 if test "$wxUSE_CHOICE" = yes; then
5983 echo "$ac_t""yes" 1>&6
5985 echo "$ac_t""no" 1>&6
5989 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5990 echo "configure:5991: checking for --enable-combobox" >&5
5992 # Check whether --enable-combobox or --disable-combobox was given.
5993 if test "${enable_combobox+set}" = set; then
5994 enableval
="$enable_combobox"
5996 if test "$enableval" = yes; then
5997 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5999 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6004 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x
; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6016 eval "$ac_cv_use_combobox"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_COMBOBOX" = yes; then
6022 echo "$ac_t""yes" 1>&6
6024 echo "$ac_t""no" 1>&6
6028 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6029 echo "configure:6030: checking for --enable-gauge" >&5
6031 # Check whether --enable-gauge or --disable-gauge was given.
6032 if test "${enable_gauge+set}" = set; then
6033 enableval
="$enable_gauge"
6035 if test "$enableval" = yes; then
6036 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6038 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6043 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x
; then
6045 eval "DEFAULT_$LINE"
6050 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6055 eval "$ac_cv_use_gauge"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_GAUGE" = yes; then
6061 echo "$ac_t""yes" 1>&6
6063 echo "$ac_t""no" 1>&6
6067 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6068 echo "configure:6069: checking for --enable-grid" >&5
6070 # Check whether --enable-grid or --disable-grid was given.
6071 if test "${enable_grid+set}" = set; then
6072 enableval
="$enable_grid"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_grid
='wxUSE_GRID=yes'
6077 ac_cv_use_grid
='wxUSE_GRID=no'
6082 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x
; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6094 eval "$ac_cv_use_grid"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6099 if test "$wxUSE_GRID" = yes; then
6100 echo "$ac_t""yes" 1>&6
6102 echo "$ac_t""no" 1>&6
6106 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6107 echo "configure:6108: checking for --enable-newgrid" >&5
6109 # Check whether --enable-newgrid or --disable-newgrid was given.
6110 if test "${enable_newgrid+set}" = set; then
6111 enableval
="$enable_newgrid"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6116 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6121 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6133 eval "$ac_cv_use_newgrid"
6134 if test "$no_cache" != 1; then
6135 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6138 if test "$wxUSE_NEW_GRID" = yes; then
6139 echo "$ac_t""yes" 1>&6
6141 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6146 echo "configure:6147: checking for --enable-imaglist" >&5
6148 # Check whether --enable-imaglist or --disable-imaglist was given.
6149 if test "${enable_imaglist+set}" = set; then
6150 enableval
="$enable_imaglist"
6152 if test "$enableval" = yes; then
6153 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6155 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6160 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x
; then
6162 eval "DEFAULT_$LINE"
6167 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6172 eval "$ac_cv_use_imaglist"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_IMAGLIST" = yes; then
6178 echo "$ac_t""yes" 1>&6
6180 echo "$ac_t""no" 1>&6
6184 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6185 echo "configure:6186: checking for --enable-listbox" >&5
6187 # Check whether --enable-listbox or --disable-listbox was given.
6188 if test "${enable_listbox+set}" = set; then
6189 enableval
="$enable_listbox"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6194 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6199 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6211 eval "$ac_cv_use_listbox"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_LISTBOX" = yes; then
6217 echo "$ac_t""yes" 1>&6
6219 echo "$ac_t""no" 1>&6
6223 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6224 echo "configure:6225: checking for --enable-listctrl" >&5
6226 # Check whether --enable-listctrl or --disable-listctrl was given.
6227 if test "${enable_listctrl+set}" = set; then
6228 enableval
="$enable_listctrl"
6230 if test "$enableval" = yes; then
6231 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6233 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6238 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x
; then
6240 eval "DEFAULT_$LINE"
6245 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6250 eval "$ac_cv_use_listctrl"
6251 if test "$no_cache" != 1; then
6252 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6255 if test "$wxUSE_LISTCTRL" = yes; then
6256 echo "$ac_t""yes" 1>&6
6258 echo "$ac_t""no" 1>&6
6262 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6263 echo "configure:6264: checking for --enable-notebook" >&5
6265 # Check whether --enable-notebook or --disable-notebook was given.
6266 if test "${enable_notebook+set}" = set; then
6267 enableval
="$enable_notebook"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6272 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6277 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x
; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6289 eval "$ac_cv_use_notebook"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_NOTEBOOK" = yes; then
6295 echo "$ac_t""yes" 1>&6
6297 echo "$ac_t""no" 1>&6
6301 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6302 echo "configure:6303: checking for --enable-propsheet" >&5
6304 # Check whether --enable-propsheet or --disable-propsheet was given.
6305 if test "${enable_propsheet+set}" = set; then
6306 enableval
="$enable_propsheet"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6311 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6316 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6328 eval "$ac_cv_use_propsheet"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_PROPSHEET" = yes; then
6334 echo "$ac_t""yes" 1>&6
6336 echo "$ac_t""no" 1>&6
6340 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6341 echo "configure:6342: checking for --enable-radiobox" >&5
6343 # Check whether --enable-radiobox or --disable-radiobox was given.
6344 if test "${enable_radiobox+set}" = set; then
6345 enableval
="$enable_radiobox"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6350 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6355 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6367 eval "$ac_cv_use_radiobox"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_RADIOBOX" = yes; then
6373 echo "$ac_t""yes" 1>&6
6375 echo "$ac_t""no" 1>&6
6379 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6380 echo "configure:6381: checking for --enable-radiobtn" >&5
6382 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6383 if test "${enable_radiobtn+set}" = set; then
6384 enableval
="$enable_radiobtn"
6386 if test "$enableval" = yes; then
6387 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6389 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6394 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x
; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6406 eval "$ac_cv_use_radiobtn"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_RADIOBTN" = yes; then
6412 echo "$ac_t""yes" 1>&6
6414 echo "$ac_t""no" 1>&6
6418 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6419 echo "configure:6420: checking for --enable-sash" >&5
6421 # Check whether --enable-sash or --disable-sash was given.
6422 if test "${enable_sash+set}" = set; then
6423 enableval
="$enable_sash"
6425 if test "$enableval" = yes; then
6426 ac_cv_use_sash
='wxUSE_SASH=yes'
6428 ac_cv_use_sash
='wxUSE_SASH=no'
6433 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6434 if test "x$LINE" != x
; then
6435 eval "DEFAULT_$LINE"
6440 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6445 eval "$ac_cv_use_sash"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_SASH" = yes; then
6451 echo "$ac_t""yes" 1>&6
6453 echo "$ac_t""no" 1>&6
6457 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6458 echo "configure:6459: checking for --enable-scrollbar" >&5
6460 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6461 if test "${enable_scrollbar+set}" = set; then
6462 enableval
="$enable_scrollbar"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6467 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6472 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x
; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6484 eval "$ac_cv_use_scrollbar"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_SCROLLBAR" = yes; then
6490 echo "$ac_t""yes" 1>&6
6492 echo "$ac_t""no" 1>&6
6496 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6497 echo "configure:6498: checking for --enable-slider" >&5
6499 # Check whether --enable-slider or --disable-slider was given.
6500 if test "${enable_slider+set}" = set; then
6501 enableval
="$enable_slider"
6503 if test "$enableval" = yes; then
6504 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6506 ac_cv_use_slider
='wxUSE_SLIDER=no'
6511 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x
; then
6513 eval "DEFAULT_$LINE"
6518 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6523 eval "$ac_cv_use_slider"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_SLIDER" = yes; then
6529 echo "$ac_t""yes" 1>&6
6531 echo "$ac_t""no" 1>&6
6535 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6536 echo "configure:6537: checking for --enable-spinbtn" >&5
6538 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6539 if test "${enable_spinbtn+set}" = set; then
6540 enableval
="$enable_spinbtn"
6542 if test "$enableval" = yes; then
6543 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6545 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6550 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6551 if test "x$LINE" != x
; then
6552 eval "DEFAULT_$LINE"
6557 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6562 eval "$ac_cv_use_spinbtn"
6563 if test "$no_cache" != 1; then
6564 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6567 if test "$wxUSE_SPINBTN" = yes; then
6568 echo "$ac_t""yes" 1>&6
6570 echo "$ac_t""no" 1>&6
6574 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6575 echo "configure:6576: checking for --enable-spinctrl" >&5
6577 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6578 if test "${enable_spinctrl+set}" = set; then
6579 enableval
="$enable_spinctrl"
6581 if test "$enableval" = yes; then
6582 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6584 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6589 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6590 if test "x$LINE" != x
; then
6591 eval "DEFAULT_$LINE"
6596 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6601 eval "$ac_cv_use_spinctrl"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6606 if test "$wxUSE_SPINCTRL" = yes; then
6607 echo "$ac_t""yes" 1>&6
6609 echo "$ac_t""no" 1>&6
6613 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6614 echo "configure:6615: checking for --enable-splitter" >&5
6616 # Check whether --enable-splitter or --disable-splitter was given.
6617 if test "${enable_splitter+set}" = set; then
6618 enableval
="$enable_splitter"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6623 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6628 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6640 eval "$ac_cv_use_splitter"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_SPLITTER" = yes; then
6646 echo "$ac_t""yes" 1>&6
6648 echo "$ac_t""no" 1>&6
6652 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6653 echo "configure:6654: checking for --enable-statbmp" >&5
6655 # Check whether --enable-statbmp or --disable-statbmp was given.
6656 if test "${enable_statbmp+set}" = set; then
6657 enableval
="$enable_statbmp"
6659 if test "$enableval" = yes; then
6660 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6662 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6667 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x
; then
6669 eval "DEFAULT_$LINE"
6674 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6679 eval "$ac_cv_use_statbmp"
6680 if test "$no_cache" != 1; then
6681 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6684 if test "$wxUSE_STATBMP" = yes; then
6685 echo "$ac_t""yes" 1>&6
6687 echo "$ac_t""no" 1>&6
6691 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6692 echo "configure:6693: checking for --enable-statbox" >&5
6694 # Check whether --enable-statbox or --disable-statbox was given.
6695 if test "${enable_statbox+set}" = set; then
6696 enableval
="$enable_statbox"
6698 if test "$enableval" = yes; then
6699 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6701 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6706 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x
; then
6708 eval "DEFAULT_$LINE"
6713 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6718 eval "$ac_cv_use_statbox"
6719 if test "$no_cache" != 1; then
6720 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6723 if test "$wxUSE_STATBOX" = yes; then
6724 echo "$ac_t""yes" 1>&6
6726 echo "$ac_t""no" 1>&6
6730 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6731 echo "configure:6732: checking for --enable-statline" >&5
6733 # Check whether --enable-statline or --disable-statline was given.
6734 if test "${enable_statline+set}" = set; then
6735 enableval
="$enable_statline"
6737 if test "$enableval" = yes; then
6738 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6740 ac_cv_use_statline
='wxUSE_STATLINE=no'
6745 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x
; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6757 eval "$ac_cv_use_statline"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_STATLINE" = yes; then
6763 echo "$ac_t""yes" 1>&6
6765 echo "$ac_t""no" 1>&6
6769 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6770 echo "configure:6771: checking for --enable-stattext" >&5
6772 # Check whether --enable-stattext or --disable-stattext was given.
6773 if test "${enable_stattext+set}" = set; then
6774 enableval
="$enable_stattext"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6779 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6784 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6796 eval "$ac_cv_use_stattext"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_STATTEXT" = yes; then
6802 echo "$ac_t""yes" 1>&6
6804 echo "$ac_t""no" 1>&6
6808 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6809 echo "configure:6810: checking for --enable-statusbar" >&5
6811 # Check whether --enable-statusbar or --disable-statusbar was given.
6812 if test "${enable_statusbar+set}" = set; then
6813 enableval
="$enable_statusbar"
6815 if test "$enableval" = yes; then
6816 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6818 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6823 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6824 if test "x$LINE" != x
; then
6825 eval "DEFAULT_$LINE"
6830 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6835 eval "$ac_cv_use_statusbar"
6836 if test "$no_cache" != 1; then
6837 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6840 if test "$wxUSE_STATUSBAR" = yes; then
6841 echo "$ac_t""yes" 1>&6
6843 echo "$ac_t""no" 1>&6
6847 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6848 echo "configure:6849: checking for --enable-tabdialog" >&5
6850 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6851 if test "${enable_tabdialog+set}" = set; then
6852 enableval
="$enable_tabdialog"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6857 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6862 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x
; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6874 eval "$ac_cv_use_tabdialog"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_TABDIALOG" = yes; then
6880 echo "$ac_t""yes" 1>&6
6882 echo "$ac_t""no" 1>&6
6886 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6887 echo "configure:6888: checking for --enable-textctrl" >&5
6889 # Check whether --enable-textctrl or --disable-textctrl was given.
6890 if test "${enable_textctrl+set}" = set; then
6891 enableval
="$enable_textctrl"
6893 if test "$enableval" = yes; then
6894 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6896 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6901 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x
; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6913 eval "$ac_cv_use_textctrl"
6914 if test "$no_cache" != 1; then
6915 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6918 if test "$wxUSE_TEXTCTRL" = yes; then
6919 echo "$ac_t""yes" 1>&6
6921 echo "$ac_t""no" 1>&6
6925 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6926 echo "configure:6927: checking for --enable-togglebtn" >&5
6928 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6929 if test "${enable_togglebtn+set}" = set; then
6930 enableval
="$enable_togglebtn"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6935 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6940 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6952 eval "$ac_cv_use_togglebtn"
6953 if test "$no_cache" != 1; then
6954 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6957 if test "$wxUSE_TOGGLEBTN" = yes; then
6958 echo "$ac_t""yes" 1>&6
6960 echo "$ac_t""no" 1>&6
6964 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6965 echo "configure:6966: checking for --enable-toolbar" >&5
6967 # Check whether --enable-toolbar or --disable-toolbar was given.
6968 if test "${enable_toolbar+set}" = set; then
6969 enableval
="$enable_toolbar"
6971 if test "$enableval" = yes; then
6972 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6974 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6979 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x
; then
6981 eval "DEFAULT_$LINE"
6986 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6991 eval "$ac_cv_use_toolbar"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_TOOLBAR" = yes; then
6997 echo "$ac_t""yes" 1>&6
6999 echo "$ac_t""no" 1>&6
7003 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7004 echo "configure:7005: checking for --enable-tbarnative" >&5
7006 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7007 if test "${enable_tbarnative+set}" = set; then
7008 enableval
="$enable_tbarnative"
7010 if test "$enableval" = yes; then
7011 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7013 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7018 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x
; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7030 eval "$ac_cv_use_tbarnative"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7036 echo "$ac_t""yes" 1>&6
7038 echo "$ac_t""no" 1>&6
7042 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7043 echo "configure:7044: checking for --enable-tbarsmpl" >&5
7045 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7046 if test "${enable_tbarsmpl+set}" = set; then
7047 enableval
="$enable_tbarsmpl"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7052 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7057 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7069 eval "$ac_cv_use_tbarsmpl"
7070 if test "$no_cache" != 1; then
7071 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7074 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7075 echo "$ac_t""yes" 1>&6
7077 echo "$ac_t""no" 1>&6
7081 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7082 echo "configure:7083: checking for --enable-treectrl" >&5
7084 # Check whether --enable-treectrl or --disable-treectrl was given.
7085 if test "${enable_treectrl+set}" = set; then
7086 enableval
="$enable_treectrl"
7088 if test "$enableval" = yes; then
7089 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7091 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7096 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x
; then
7098 eval "DEFAULT_$LINE"
7103 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7108 eval "$ac_cv_use_treectrl"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7113 if test "$wxUSE_TREECTRL" = yes; then
7114 echo "$ac_t""yes" 1>&6
7116 echo "$ac_t""no" 1>&6
7120 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7121 echo "configure:7122: checking for --enable-tipwindow" >&5
7123 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7124 if test "${enable_tipwindow+set}" = set; then
7125 enableval
="$enable_tipwindow"
7127 if test "$enableval" = yes; then
7128 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7130 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7135 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x
; then
7137 eval "DEFAULT_$LINE"
7142 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7147 eval "$ac_cv_use_tipwindow"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7152 if test "$wxUSE_TIPWINDOW" = yes; then
7153 echo "$ac_t""yes" 1>&6
7155 echo "$ac_t""no" 1>&6
7159 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --enable-popupwin" >&5
7162 # Check whether --enable-popupwin or --disable-popupwin was given.
7163 if test "${enable_popupwin+set}" = set; then
7164 enableval
="$enable_popupwin"
7166 if test "$enableval" = yes; then
7167 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7169 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7174 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x
; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7186 eval "$ac_cv_use_popupwin"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_POPUPWIN" = yes; then
7192 echo "$ac_t""yes" 1>&6
7194 echo "$ac_t""no" 1>&6
7200 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7201 echo "configure:7202: checking for --enable-commondlg" >&5
7203 # Check whether --enable-commondlg or --disable-commondlg was given.
7204 if test "${enable_commondlg+set}" = set; then
7205 enableval
="$enable_commondlg"
7207 if test "$enableval" = yes; then
7208 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7210 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7215 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x
; then
7217 eval "DEFAULT_$LINE"
7222 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7227 eval "$ac_cv_use_commondlg"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_COMMONDLGS" = yes; then
7233 echo "$ac_t""yes" 1>&6
7235 echo "$ac_t""no" 1>&6
7239 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7240 echo "configure:7241: checking for --enable-choicedlg" >&5
7242 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7243 if test "${enable_choicedlg+set}" = set; then
7244 enableval
="$enable_choicedlg"
7246 if test "$enableval" = yes; then
7247 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7249 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7254 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x
; then
7256 eval "DEFAULT_$LINE"
7261 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7266 eval "$ac_cv_use_choicedlg"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7271 if test "$wxUSE_CHOICEDLG" = yes; then
7272 echo "$ac_t""yes" 1>&6
7274 echo "$ac_t""no" 1>&6
7278 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7279 echo "configure:7280: checking for --enable-coldlg" >&5
7281 # Check whether --enable-coldlg or --disable-coldlg was given.
7282 if test "${enable_coldlg+set}" = set; then
7283 enableval
="$enable_coldlg"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7288 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7293 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x
; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7305 eval "$ac_cv_use_coldlg"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7310 if test "$wxUSE_COLOURDLG" = yes; then
7311 echo "$ac_t""yes" 1>&6
7313 echo "$ac_t""no" 1>&6
7317 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7318 echo "configure:7319: checking for --enable-filedlg" >&5
7320 # Check whether --enable-filedlg or --disable-filedlg was given.
7321 if test "${enable_filedlg+set}" = set; then
7322 enableval
="$enable_filedlg"
7324 if test "$enableval" = yes; then
7325 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7327 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7332 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7333 if test "x$LINE" != x
; then
7334 eval "DEFAULT_$LINE"
7339 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7344 eval "$ac_cv_use_filedlg"
7345 if test "$no_cache" != 1; then
7346 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7349 if test "$wxUSE_FILEDLG" = yes; then
7350 echo "$ac_t""yes" 1>&6
7352 echo "$ac_t""no" 1>&6
7356 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7357 echo "configure:7358: checking for --enable-finddlg" >&5
7359 # Check whether --enable-finddlg or --disable-finddlg was given.
7360 if test "${enable_finddlg+set}" = set; then
7361 enableval
="$enable_finddlg"
7363 if test "$enableval" = yes; then
7364 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7366 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7371 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x
; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7383 eval "$ac_cv_use_finddlg"
7384 if test "$no_cache" != 1; then
7385 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7388 if test "$wxUSE_FINDREPLDLG" = yes; then
7389 echo "$ac_t""yes" 1>&6
7391 echo "$ac_t""no" 1>&6
7395 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7396 echo "configure:7397: checking for --enable-fontdlg" >&5
7398 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7399 if test "${enable_fontdlg+set}" = set; then
7400 enableval
="$enable_fontdlg"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7405 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7410 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x
; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7422 eval "$ac_cv_use_fontdlg"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7427 if test "$wxUSE_FONTDLG" = yes; then
7428 echo "$ac_t""yes" 1>&6
7430 echo "$ac_t""no" 1>&6
7434 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7435 echo "configure:7436: checking for --enable-dirdlg" >&5
7437 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7438 if test "${enable_dirdlg+set}" = set; then
7439 enableval
="$enable_dirdlg"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7444 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7449 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x
; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7461 eval "$ac_cv_use_dirdlg"
7462 if test "$no_cache" != 1; then
7463 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7466 if test "$wxUSE_DIRDLG" = yes; then
7467 echo "$ac_t""yes" 1>&6
7469 echo "$ac_t""no" 1>&6
7473 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7474 echo "configure:7475: checking for --enable-msgdlg" >&5
7476 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7477 if test "${enable_msgdlg+set}" = set; then
7478 enableval
="$enable_msgdlg"
7480 if test "$enableval" = yes; then
7481 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7483 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7488 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x
; then
7490 eval "DEFAULT_$LINE"
7495 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7500 eval "$ac_cv_use_msgdlg"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_MSGDLG" = yes; then
7506 echo "$ac_t""yes" 1>&6
7508 echo "$ac_t""no" 1>&6
7512 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7513 echo "configure:7514: checking for --enable-numberdlg" >&5
7515 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7516 if test "${enable_numberdlg+set}" = set; then
7517 enableval
="$enable_numberdlg"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7522 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7527 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7539 eval "$ac_cv_use_numberdlg"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_NUMBERDLG" = yes; then
7545 echo "$ac_t""yes" 1>&6
7547 echo "$ac_t""no" 1>&6
7551 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7552 echo "configure:7553: checking for --enable-splash" >&5
7554 # Check whether --enable-splash or --disable-splash was given.
7555 if test "${enable_splash+set}" = set; then
7556 enableval
="$enable_splash"
7558 if test "$enableval" = yes; then
7559 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7561 ac_cv_use_splash
='wxUSE_SPLASH=no'
7566 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x
; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7578 eval "$ac_cv_use_splash"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_SPLASH" = yes; then
7584 echo "$ac_t""yes" 1>&6
7586 echo "$ac_t""no" 1>&6
7590 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7591 echo "configure:7592: checking for --enable-textdlg" >&5
7593 # Check whether --enable-textdlg or --disable-textdlg was given.
7594 if test "${enable_textdlg+set}" = set; then
7595 enableval
="$enable_textdlg"
7597 if test "$enableval" = yes; then
7598 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7600 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7605 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x
; then
7607 eval "DEFAULT_$LINE"
7612 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7617 eval "$ac_cv_use_textdlg"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_TEXTDLG" = yes; then
7623 echo "$ac_t""yes" 1>&6
7625 echo "$ac_t""no" 1>&6
7629 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7630 echo "configure:7631: checking for --enable-tipdlg" >&5
7632 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7633 if test "${enable_tipdlg+set}" = set; then
7634 enableval
="$enable_tipdlg"
7636 if test "$enableval" = yes; then
7637 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7639 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7644 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x
; then
7646 eval "DEFAULT_$LINE"
7651 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7656 eval "$ac_cv_use_tipdlg"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_STARTUP_TIPS" = yes; then
7662 echo "$ac_t""yes" 1>&6
7664 echo "$ac_t""no" 1>&6
7668 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7669 echo "configure:7670: checking for --enable-progressdlg" >&5
7671 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7672 if test "${enable_progressdlg+set}" = set; then
7673 enableval
="$enable_progressdlg"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7678 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7683 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7695 eval "$ac_cv_use_progressdlg"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_PROGRESSDLG" = yes; then
7701 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7707 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7708 echo "configure:7709: checking for --enable-wizarddlg" >&5
7710 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7711 if test "${enable_wizarddlg+set}" = set; then
7712 enableval
="$enable_wizarddlg"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7717 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7722 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7734 eval "$ac_cv_use_wizarddlg"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_WIZARDDLG" = yes; then
7740 echo "$ac_t""yes" 1>&6
7742 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7749 echo "configure:7750: checking for --enable-menus" >&5
7751 # Check whether --enable-menus or --disable-menus was given.
7752 if test "${enable_menus+set}" = set; then
7753 enableval
="$enable_menus"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_menus
='wxUSE_MENUS=yes'
7758 ac_cv_use_menus
='wxUSE_MENUS=no'
7763 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7775 eval "$ac_cv_use_menus"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_MENUS" = yes; then
7781 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7787 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7788 echo "configure:7789: checking for --enable-miniframe" >&5
7790 # Check whether --enable-miniframe or --disable-miniframe was given.
7791 if test "${enable_miniframe+set}" = set; then
7792 enableval
="$enable_miniframe"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7797 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7802 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7814 eval "$ac_cv_use_miniframe"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_MINIFRAME" = yes; then
7820 echo "$ac_t""yes" 1>&6
7822 echo "$ac_t""no" 1>&6
7826 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7827 echo "configure:7828: checking for --enable-tooltips" >&5
7829 # Check whether --enable-tooltips or --disable-tooltips was given.
7830 if test "${enable_tooltips+set}" = set; then
7831 enableval
="$enable_tooltips"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7836 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7841 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7853 eval "$ac_cv_use_tooltips"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_TOOLTIPS" = yes; then
7859 echo "$ac_t""yes" 1>&6
7861 echo "$ac_t""no" 1>&6
7865 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7866 echo "configure:7867: checking for --enable-splines" >&5
7868 # Check whether --enable-splines or --disable-splines was given.
7869 if test "${enable_splines+set}" = set; then
7870 enableval
="$enable_splines"
7872 if test "$enableval" = yes; then
7873 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7875 ac_cv_use_splines
='wxUSE_SPLINES=no'
7880 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x
; then
7882 eval "DEFAULT_$LINE"
7887 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7892 eval "$ac_cv_use_splines"
7893 if test "$no_cache" != 1; then
7894 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7897 if test "$wxUSE_SPLINES" = yes; then
7898 echo "$ac_t""yes" 1>&6
7900 echo "$ac_t""no" 1>&6
7904 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7905 echo "configure:7906: checking for --enable-validators" >&5
7907 # Check whether --enable-validators or --disable-validators was given.
7908 if test "${enable_validators+set}" = set; then
7909 enableval
="$enable_validators"
7911 if test "$enableval" = yes; then
7912 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7914 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7919 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x
; then
7921 eval "DEFAULT_$LINE"
7926 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7931 eval "$ac_cv_use_validators"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_VALIDATORS" = yes; then
7937 echo "$ac_t""yes" 1>&6
7939 echo "$ac_t""no" 1>&6
7943 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7944 echo "configure:7945: checking for --enable-busyinfo" >&5
7946 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7947 if test "${enable_busyinfo+set}" = set; then
7948 enableval
="$enable_busyinfo"
7950 if test "$enableval" = yes; then
7951 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7953 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7958 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x
; then
7960 eval "DEFAULT_$LINE"
7965 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7970 eval "$ac_cv_use_busyinfo"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7975 if test "$wxUSE_BUSYINFO" = yes; then
7976 echo "$ac_t""yes" 1>&6
7978 echo "$ac_t""no" 1>&6
7982 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7983 echo "configure:7984: checking for --enable-joystick" >&5
7985 # Check whether --enable-joystick or --disable-joystick was given.
7986 if test "${enable_joystick+set}" = set; then
7987 enableval
="$enable_joystick"
7989 if test "$enableval" = yes; then
7990 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7992 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7997 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7998 if test "x$LINE" != x
; then
7999 eval "DEFAULT_$LINE"
8004 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8009 eval "$ac_cv_use_joystick"
8010 if test "$no_cache" != 1; then
8011 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8014 if test "$wxUSE_JOYSTICK" = yes; then
8015 echo "$ac_t""yes" 1>&6
8017 echo "$ac_t""no" 1>&6
8021 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8022 echo "configure:8023: checking for --enable-metafile" >&5
8024 # Check whether --enable-metafile or --disable-metafile was given.
8025 if test "${enable_metafile+set}" = set; then
8026 enableval
="$enable_metafile"
8028 if test "$enableval" = yes; then
8029 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8031 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8036 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x
; then
8038 eval "DEFAULT_$LINE"
8043 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8048 eval "$ac_cv_use_metafile"
8049 if test "$no_cache" != 1; then
8050 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8053 if test "$wxUSE_METAFILE" = yes; then
8054 echo "$ac_t""yes" 1>&6
8056 echo "$ac_t""no" 1>&6
8060 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8061 echo "configure:8062: checking for --enable-dragimage" >&5
8063 # Check whether --enable-dragimage or --disable-dragimage was given.
8064 if test "${enable_dragimage+set}" = set; then
8065 enableval
="$enable_dragimage"
8067 if test "$enableval" = yes; then
8068 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8070 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8075 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8076 if test "x$LINE" != x
; then
8077 eval "DEFAULT_$LINE"
8082 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8087 eval "$ac_cv_use_dragimage"
8088 if test "$no_cache" != 1; then
8089 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8092 if test "$wxUSE_DRAGIMAGE" = yes; then
8093 echo "$ac_t""yes" 1>&6
8095 echo "$ac_t""no" 1>&6
8101 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8102 echo "configure:8103: checking for --enable-palette" >&5
8104 # Check whether --enable-palette or --disable-palette was given.
8105 if test "${enable_palette+set}" = set; then
8106 enableval
="$enable_palette"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8111 ac_cv_use_palette
='wxUSE_PALETTE=no'
8116 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x
; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8128 eval "$ac_cv_use_palette"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_PALETTE" = yes; then
8134 echo "$ac_t""yes" 1>&6
8136 echo "$ac_t""no" 1>&6
8140 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8141 echo "configure:8142: checking for --enable-image" >&5
8143 # Check whether --enable-image or --disable-image was given.
8144 if test "${enable_image+set}" = set; then
8145 enableval
="$enable_image"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_image
='wxUSE_IMAGE=yes'
8150 ac_cv_use_image
='wxUSE_IMAGE=no'
8155 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x
; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8167 eval "$ac_cv_use_image"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_IMAGE" = yes; then
8173 echo "$ac_t""yes" 1>&6
8175 echo "$ac_t""no" 1>&6
8179 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8180 echo "configure:8181: checking for --enable-gif" >&5
8182 # Check whether --enable-gif or --disable-gif was given.
8183 if test "${enable_gif+set}" = set; then
8184 enableval
="$enable_gif"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_gif
='wxUSE_GIF=yes'
8189 ac_cv_use_gif
='wxUSE_GIF=no'
8194 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x
; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8206 eval "$ac_cv_use_gif"
8207 if test "$no_cache" != 1; then
8208 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8211 if test "$wxUSE_GIF" = yes; then
8212 echo "$ac_t""yes" 1>&6
8214 echo "$ac_t""no" 1>&6
8218 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8219 echo "configure:8220: checking for --enable-pcx" >&5
8221 # Check whether --enable-pcx or --disable-pcx was given.
8222 if test "${enable_pcx+set}" = set; then
8223 enableval
="$enable_pcx"
8225 if test "$enableval" = yes; then
8226 ac_cv_use_pcx
='wxUSE_PCX=yes'
8228 ac_cv_use_pcx
='wxUSE_PCX=no'
8233 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x
; then
8235 eval "DEFAULT_$LINE"
8240 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8245 eval "$ac_cv_use_pcx"
8246 if test "$no_cache" != 1; then
8247 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8250 if test "$wxUSE_PCX" = yes; then
8251 echo "$ac_t""yes" 1>&6
8253 echo "$ac_t""no" 1>&6
8257 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8258 echo "configure:8259: checking for --enable-iff" >&5
8260 # Check whether --enable-iff or --disable-iff was given.
8261 if test "${enable_iff+set}" = set; then
8262 enableval
="$enable_iff"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_iff
='wxUSE_IFF=yes'
8267 ac_cv_use_iff
='wxUSE_IFF=no'
8272 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x
; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8284 eval "$ac_cv_use_iff"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_IFF" = yes; then
8290 echo "$ac_t""yes" 1>&6
8292 echo "$ac_t""no" 1>&6
8296 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8297 echo "configure:8298: checking for --enable-pnm" >&5
8299 # Check whether --enable-pnm or --disable-pnm was given.
8300 if test "${enable_pnm+set}" = set; then
8301 enableval
="$enable_pnm"
8303 if test "$enableval" = yes; then
8304 ac_cv_use_pnm
='wxUSE_PNM=yes'
8306 ac_cv_use_pnm
='wxUSE_PNM=no'
8311 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x
; then
8313 eval "DEFAULT_$LINE"
8318 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8323 eval "$ac_cv_use_pnm"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8328 if test "$wxUSE_PNM" = yes; then
8329 echo "$ac_t""yes" 1>&6
8331 echo "$ac_t""no" 1>&6
8335 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8336 echo "configure:8337: checking for --enable-xpm" >&5
8338 # Check whether --enable-xpm or --disable-xpm was given.
8339 if test "${enable_xpm+set}" = set; then
8340 enableval
="$enable_xpm"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_xpm
='wxUSE_XPM=yes'
8345 ac_cv_use_xpm
='wxUSE_XPM=no'
8350 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8362 eval "$ac_cv_use_xpm"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8367 if test "$wxUSE_XPM" = yes; then
8368 echo "$ac_t""yes" 1>&6
8370 echo "$ac_t""no" 1>&6
8374 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8375 echo "configure:8376: checking for --enable-ico_cur" >&5
8377 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8378 if test "${enable_ico_cur+set}" = set; then
8379 enableval
="$enable_ico_cur"
8381 if test "$enableval" = yes; then
8382 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8384 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8389 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x
; then
8391 eval "DEFAULT_$LINE"
8396 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8401 eval "$ac_cv_use_ico_cur"
8402 if test "$no_cache" != 1; then
8403 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8406 if test "$wxUSE_ICO_CUR" = yes; then
8407 echo "$ac_t""yes" 1>&6
8409 echo "$ac_t""no" 1>&6
8416 *-pc-os2_emx | *-pc-os2-emx )
8427 echo "saving argument cache $wx_arg_cache_file"
8428 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8432 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8433 echo "configure:8434: checking for toolkit" >&5
8435 if test "$wxUSE_GUI" = "yes"; then
8437 if test "$USE_BEOS" = 1; then
8438 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8441 if test "$TOOLKIT_GIVEN" = 1; then
8442 for toolkit
in `echo $ALL_TOOLKITS`; do
8444 eval "value=\$${var}"
8445 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8448 for toolkit
in `echo $ALL_TOOLKITS`; do
8449 if test "$has_toolkit_in_cache" != 1; then
8450 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8452 var
=DEFAULT_wxUSE_
$toolkit
8454 eval "wxUSE_$toolkit=\$${var}"
8458 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8459 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8462 *-pc-os2_emx | *-pc-os2-emx )
8463 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8466 case "$NUM_TOOLKITS" in
8470 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8473 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8476 for toolkit
in `echo $ALL_TOOLKITS`; do
8478 eval "value=\$${var}"
8479 if test "x$value" != x
; then
8480 cache_var
=CACHE_
$toolkit
8481 eval "cache=\$${cache_var}"
8482 if test "$cache" = 1; then
8483 echo "$var=$value" >> ${wx_arg_cache_file}
8485 if test "$value" = 1; then
8486 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8487 echo "$ac_t""$toolkit_echo" 1>&6
8492 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8500 if test "$wxUSE_MSW" = 1 ; then
8511 if test "$wants_win32" = 1 ; then
8514 cat >> confdefs.h
<<\EOF
8518 cat >> confdefs.h
<<\EOF
8522 cat >> confdefs.h
<<\EOF
8523 #define __WINDOWS__ 1
8526 cat >> confdefs.h
<<\EOF
8527 #define __GNUWIN32__ 1
8530 cat >> confdefs.h
<<\EOF
8534 cat >> confdefs.h
<<\EOF
8535 #define WINVER 0x0400
8539 if test "$doesnt_want_win32" = 1 ; then
8544 if test "$USE_UNIX" = 1 ; then
8546 cat >> confdefs.h
<<\EOF
8553 cat > confcache
<<\EOF
8554 # This file is a shell script that caches the results of configure
8555 # tests run on this system so they can be shared between configure
8556 # scripts and configure runs. It is not useful on other systems.
8557 # If it contains results you don't want to keep, you may remove or edit it.
8559 # By default, configure uses ./config.cache as the cache file,
8560 # creating it if it does not exist already. You can give configure
8561 # the --cache-file=FILE option to use a different cache file; that is
8562 # what configure does when it calls configure scripts in
8563 # subdirectories, so they share the cache.
8564 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8565 # config.status only pays attention to the cache file if you give it the
8566 # --recheck option to rerun configure.
8569 # The following way of writing the cache mishandles newlines in values,
8570 # but we know of no workaround that is simple, portable, and efficient.
8571 # So, don't put newlines in cache variables' values.
8572 # Ultrix sh set writes to stderr and can't be redirected directly,
8573 # and sets the high bit in the cache file unless we assign to the vars.
8575 case `(ac_space=' '; set) 2>&1` in
8577 # `set' does not quote correctly, so add quotes (double-quote substitution
8578 # turns \\\\ into \\, and sed turns \\ into \).
8580 -e "s/'/'\\\\''/g" \
8581 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8584 # `set' quotes correctly as required by POSIX, so do not add quotes.
8585 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8588 if cmp -s $cache_file confcache
; then
8591 if test -w $cache_file; then
8592 echo "updating cache $cache_file"
8593 cat confcache
> $cache_file
8595 echo "not updating unwritable cache $cache_file"
8601 if test "$build" != "$host" ; then
8602 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8606 RANLIB
=$host_alias-ranlib
8607 DLLTOOL
=$host_alias-dlltool
8608 RESCOMP
=$host_alias-windres
8611 STRIP
=$host_alias-strip
8613 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8618 # Extract the first word of "gcc", so it can be a program name with args.
8619 set dummy gcc
; ac_word
=$2
8620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8621 echo "configure:8622: checking for $ac_word" >&5
8622 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8625 if test -n "$CC"; then
8626 ac_cv_prog_CC
="$CC" # Let the user override the test.
8628 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8629 for ac_dir
in $PATH; do
8630 test -z "$ac_dir" && ac_dir
=.
8631 if test -f $ac_dir/$ac_word; then
8640 if test -n "$CC"; then
8641 echo "$ac_t""$CC" 1>&6
8643 echo "$ac_t""no" 1>&6
8646 if test -z "$CC"; then
8647 # Extract the first word of "cc", so it can be a program name with args.
8648 set dummy cc
; ac_word
=$2
8649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8650 echo "configure:8651: checking for $ac_word" >&5
8651 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8652 echo $ac_n "(cached) $ac_c" 1>&6
8654 if test -n "$CC"; then
8655 ac_cv_prog_CC
="$CC" # Let the user override the test.
8657 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8659 for ac_dir
in $PATH; do
8660 test -z "$ac_dir" && ac_dir
=.
8661 if test -f $ac_dir/$ac_word; then
8662 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8663 ac_prog_rejected
=yes
8671 if test $ac_prog_rejected = yes; then
8672 # We found a bogon in the path, so make sure we never use it.
8673 set dummy
$ac_cv_prog_CC
8675 if test $# -gt 0; then
8676 # We chose a different compiler from the bogus one.
8677 # However, it has the same basename, so the bogon will be chosen
8678 # first if we set CC to just the basename; use the full file name.
8680 set dummy
"$ac_dir/$ac_word" "$@"
8688 if test -n "$CC"; then
8689 echo "$ac_t""$CC" 1>&6
8691 echo "$ac_t""no" 1>&6
8694 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8697 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8698 echo "configure:8699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8702 ac_cpp
='$CPP $CPPFLAGS'
8703 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8704 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8705 cross_compiling
=$ac_cv_prog_cc_cross
8707 cat > conftest.
$ac_ext <<EOF
8708 #line 8709 "configure"
8709 #include "confdefs.h"
8712 if { (eval echo configure
:8713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8713 ac_cv_prog_cc_works
=yes
8714 # If we can't run a trivial program, we are probably using a cross compiler.
8715 if (.
/conftest
; exit) 2>/dev
/null
; then
8716 ac_cv_prog_cc_cross
=no
8718 ac_cv_prog_cc_cross
=yes
8721 echo "configure: failed program was:" >&5
8722 cat conftest.
$ac_ext >&5
8723 ac_cv_prog_cc_works
=no
8727 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8728 if test $ac_cv_prog_cc_works = no
; then
8729 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8731 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8732 echo "configure:8733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8733 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8734 cross_compiling
=$ac_cv_prog_cc_cross
8736 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8737 echo "configure:8738: checking whether we are using GNU C" >&5
8738 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8739 echo $ac_n "(cached) $ac_c" 1>&6
8741 cat > conftest.c
<<EOF
8746 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8753 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8755 if test $ac_cv_prog_gcc = yes; then
8757 ac_test_CFLAGS
="${CFLAGS+set}"
8758 ac_save_CFLAGS
="$CFLAGS"
8760 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8761 echo "configure:8762: checking whether ${CC-cc} accepts -g" >&5
8762 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8765 echo 'void f(){}' > conftest.c
8766 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8775 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8776 if test "$ac_test_CFLAGS" = set; then
8777 CFLAGS
="$ac_save_CFLAGS"
8778 elif test $ac_cv_prog_cc_g = yes; then
8785 test "${CFLAGS+set}" = set || CFLAGS
="-g"
8789 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8790 echo "configure:8791: checking how to run the C preprocessor" >&5
8791 # On Suns, sometimes $CPP names a directory.
8792 if test -n "$CPP" && test -d "$CPP"; then
8795 if test -z "$CPP"; then
8796 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8797 echo $ac_n "(cached) $ac_c" 1>&6
8799 # This must be in double quotes, not single quotes, because CPP may get
8800 # substituted into the Makefile and "${CC-cc}" will confuse make.
8802 # On the NeXT, cc -E runs the code through the compiler's parser,
8803 # not just through cpp.
8804 cat > conftest.
$ac_ext <<EOF
8805 #line 8806 "configure"
8806 #include "confdefs.h"
8810 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8811 { (eval echo configure
:8812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8812 ac_err
=`grep -v '^ *+' conftest.out`
8813 if test -z "$ac_err"; then
8817 echo "configure: failed program was:" >&5
8818 cat conftest.
$ac_ext >&5
8820 CPP
="${CC-cc} -E -traditional-cpp"
8821 cat > conftest.
$ac_ext <<EOF
8822 #line 8823 "configure"
8823 #include "confdefs.h"
8827 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8828 { (eval echo configure
:8829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8829 ac_err
=`grep -v '^ *+' conftest.out`
8830 if test -z "$ac_err"; then
8834 echo "configure: failed program was:" >&5
8835 cat conftest.
$ac_ext >&5
8842 ac_cv_prog_CPP
="$CPP"
8844 CPP
="$ac_cv_prog_CPP"
8846 ac_cv_prog_CPP
="$CPP"
8848 echo "$ac_t""$CPP" 1>&6
8850 if test $ac_cv_prog_gcc = yes; then
8851 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8852 echo "configure:8853: checking whether ${CC-cc} needs -traditional" >&5
8853 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8854 echo $ac_n "(cached) $ac_c" 1>&6
8856 ac_pattern
="Autoconf.*'x'"
8857 cat > conftest.
$ac_ext <<EOF
8858 #line 8859 "configure"
8859 #include "confdefs.h"
8863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8864 egrep "$ac_pattern" >/dev
/null
2>&1; then
8866 ac_cv_prog_gcc_traditional
=yes
8869 ac_cv_prog_gcc_traditional
=no
8874 if test $ac_cv_prog_gcc_traditional = no
; then
8875 cat > conftest.
$ac_ext <<EOF
8876 #line 8877 "configure"
8877 #include "confdefs.h"
8881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8882 egrep "$ac_pattern" >/dev
/null
2>&1; then
8884 ac_cv_prog_gcc_traditional
=yes
8891 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8892 if test $ac_cv_prog_gcc_traditional = yes; then
8893 CC
="$CC -traditional"
8900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8901 ac_cpp
='$CXXCPP $CPPFLAGS'
8902 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8903 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8904 cross_compiling
=$ac_cv_prog_cxx_cross
8907 CXXFLAGS
=${CXXFLAGS:=}
8908 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
8910 # Extract the first word of "$ac_prog", so it can be a program name with args.
8911 set dummy
$ac_prog; ac_word
=$2
8912 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8913 echo "configure:8914: checking for $ac_word" >&5
8914 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8915 echo $ac_n "(cached) $ac_c" 1>&6
8917 if test -n "$CXX"; then
8918 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8920 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8921 for ac_dir
in $PATH; do
8922 test -z "$ac_dir" && ac_dir
=.
8923 if test -f $ac_dir/$ac_word; then
8924 ac_cv_prog_CXX
="$ac_prog"
8931 CXX
="$ac_cv_prog_CXX"
8932 if test -n "$CXX"; then
8933 echo "$ac_t""$CXX" 1>&6
8935 echo "$ac_t""no" 1>&6
8938 test -n "$CXX" && break
8940 test -n "$CXX" || CXX
="gcc"
8943 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8944 echo "configure:8945: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8948 ac_cpp
='$CXXCPP $CPPFLAGS'
8949 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8950 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8951 cross_compiling
=$ac_cv_prog_cxx_cross
8953 cat > conftest.
$ac_ext <<EOF
8954 #line 8955 "configure"
8955 #include "confdefs.h"
8958 if { (eval echo configure
:8959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8959 ac_cv_prog_cxx_works
=yes
8960 # If we can't run a trivial program, we are probably using a cross compiler.
8961 if (.
/conftest
; exit) 2>/dev
/null
; then
8962 ac_cv_prog_cxx_cross
=no
8964 ac_cv_prog_cxx_cross
=yes
8967 echo "configure: failed program was:" >&5
8968 cat conftest.
$ac_ext >&5
8969 ac_cv_prog_cxx_works
=no
8973 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8974 if test $ac_cv_prog_cxx_works = no
; then
8975 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8977 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8978 echo "configure:8979: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8979 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8980 cross_compiling
=$ac_cv_prog_cxx_cross
8982 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8983 echo "configure:8984: checking whether we are using GNU C++" >&5
8984 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8985 echo $ac_n "(cached) $ac_c" 1>&6
8987 cat > conftest.C
<<EOF
8992 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8999 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9001 if test $ac_cv_prog_gxx = yes; then
9003 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9004 ac_save_CXXFLAGS
="$CXXFLAGS"
9006 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9007 echo "configure:9008: checking whether ${CXX-g++} accepts -g" >&5
9008 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9009 echo $ac_n "(cached) $ac_c" 1>&6
9011 echo 'void f(){}' > conftest.cc
9012 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9013 ac_cv_prog_cxx_g
=yes
9021 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9022 if test "$ac_test_CXXFLAGS" = set; then
9023 CXXFLAGS
="$ac_save_CXXFLAGS"
9024 elif test $ac_cv_prog_cxx_g = yes; then
9031 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
9036 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9037 ac_cpp
='$CPP $CPPFLAGS'
9038 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9039 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9040 cross_compiling
=$ac_cv_prog_cc_cross
9043 # Extract the first word of "ranlib", so it can be a program name with args.
9044 set dummy ranlib
; ac_word
=$2
9045 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9046 echo "configure:9047: checking for $ac_word" >&5
9047 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9048 echo $ac_n "(cached) $ac_c" 1>&6
9050 if test -n "$RANLIB"; then
9051 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9053 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
9054 for ac_dir
in $PATH; do
9055 test -z "$ac_dir" && ac_dir
=.
9056 if test -f $ac_dir/$ac_word; then
9057 ac_cv_prog_RANLIB
="ranlib"
9062 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9065 RANLIB
="$ac_cv_prog_RANLIB"
9066 if test -n "$RANLIB"; then
9067 echo "$ac_t""$RANLIB" 1>&6
9069 echo "$ac_t""no" 1>&6
9073 # Extract the first word of "ar", so it can be a program name with args.
9074 set dummy
ar; ac_word
=$2
9075 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9076 echo "configure:9077: checking for $ac_word" >&5
9077 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9078 echo $ac_n "(cached) $ac_c" 1>&6
9080 if test -n "$AR"; then
9081 ac_cv_prog_AR
="$AR" # Let the user override the test.
9083 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
9084 for ac_dir
in $PATH; do
9085 test -z "$ac_dir" && ac_dir
=.
9086 if test -f $ac_dir/$ac_word; then
9092 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9096 if test -n "$AR"; then
9097 echo "$ac_t""$AR" 1>&6
9099 echo "$ac_t""no" 1>&6
9103 # Find a good install program. We prefer a C program (faster),
9104 # so one script is as good as another. But avoid the broken or
9105 # incompatible versions:
9106 # SysV /etc/install, /usr/sbin/install
9107 # SunOS /usr/etc/install
9108 # IRIX /sbin/install
9110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9112 # ./install, which can be erroneously created by make from ./install.sh.
9113 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9114 echo "configure:9115: checking for a BSD compatible install" >&5
9115 if test -z "$INSTALL"; then
9116 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9117 echo $ac_n "(cached) $ac_c" 1>&6
9119 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
9120 for ac_dir
in $PATH; do
9121 # Account for people who put trailing slashes in PATH elements.
9123 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9125 # OSF1 and SCO ODT 3.0 have their own names for install.
9126 for ac_prog
in ginstall installbsd scoinst
install; do
9127 if test -f $ac_dir/$ac_prog; then
9128 if test $ac_prog = install &&
9129 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9130 # AIX install. It has an incompatible calling convention.
9131 # OSF/1 installbsd also uses dspmsg, but is usable.
9134 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9145 if test "${ac_cv_path_install+set}" = set; then
9146 INSTALL
="$ac_cv_path_install"
9148 # As a last resort, use the slow shell script. We don't cache a
9149 # path for INSTALL within a source directory, because that will
9150 # break other packages using the cache if that directory is
9151 # removed, or if the path is relative.
9152 INSTALL
="$ac_install_sh"
9155 echo "$ac_t""$INSTALL" 1>&6
9157 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9158 # It thinks the first close brace ends the variable substitution.
9159 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9161 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9168 INSTALL
=`pwd`/${INSTALL} ;;
9175 INSTALL_PROGRAM
="cp -fp"
9176 INSTALL_DATA
="cp -fp"
9182 # Extract the first word of "strip", so it can be a program name with args.
9183 set dummy strip
; ac_word
=$2
9184 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9185 echo "configure:9186: checking for $ac_word" >&5
9186 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9187 echo $ac_n "(cached) $ac_c" 1>&6
9189 if test -n "$STRIP"; then
9190 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9192 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
9193 for ac_dir
in $PATH; do
9194 test -z "$ac_dir" && ac_dir
=.
9195 if test -f $ac_dir/$ac_word; then
9196 ac_cv_prog_STRIP
="strip"
9201 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9204 STRIP
="$ac_cv_prog_STRIP"
9205 if test -n "$STRIP"; then
9206 echo "$ac_t""$STRIP" 1>&6
9208 echo "$ac_t""no" 1>&6
9212 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9213 echo "configure:9214: checking if make is GNU make" >&5
9214 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9215 echo $ac_n "(cached) $ac_c" 1>&6
9218 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9219 egrep -s GNU
> /dev
/null
); then
9220 wx_cv_prog_makeisgnu
="yes"
9222 wx_cv_prog_makeisgnu
="no"
9227 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9229 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9237 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9238 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9239 echo "configure:9240: checking if make supports VPATH" >&5
9240 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9241 echo $ac_n "(cached) $ac_c" 1>&6
9244 cat - << EOF > confMake
9250 if test ! -d sub
; then
9253 echo dummy
> sub
/file
9254 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9256 rm -f sub
/file check final_file confMake
9258 if test "$RESULT" = 0; then
9259 wx_cv_prog_makevpath
="yes"
9261 wx_cv_prog_makevpath
="no"
9266 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9268 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9269 { echo "configure: error:
9270 You need a make-utility that is able to use the variable
9272 If your version of make does not support VPATH correctly,
9273 please install GNU-make (possibly as gmake), and start
9274 configure with the following command:
9275 export MAKE=gmake; ./configure for sh-type shells
9276 setenv MAKE gmake; ./configure for csh-type shells
9277 Also please do remember to use gmake in this case every time
9278 you are trying to compile.
9281 for ac_prog
in 'bison -y' byacc
9283 # Extract the first word of "$ac_prog", so it can be a program name with args.
9284 set dummy
$ac_prog; ac_word
=$2
9285 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9286 echo "configure:9287: checking for $ac_word" >&5
9287 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9288 echo $ac_n "(cached) $ac_c" 1>&6
9290 if test -n "$YACC"; then
9291 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9293 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
9294 for ac_dir
in $PATH; do
9295 test -z "$ac_dir" && ac_dir
=.
9296 if test -f $ac_dir/$ac_word; then
9297 ac_cv_prog_YACC
="$ac_prog"
9304 YACC
="$ac_cv_prog_YACC"
9305 if test -n "$YACC"; then
9306 echo "$ac_t""$YACC" 1>&6
9308 echo "$ac_t""no" 1>&6
9311 test -n "$YACC" && break
9313 test -n "$YACC" || YACC
="yacc"
9316 # Extract the first word of "flex", so it can be a program name with args.
9317 set dummy flex
; ac_word
=$2
9318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9319 echo "configure:9320: checking for $ac_word" >&5
9320 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9323 if test -n "$LEX"; then
9324 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
9327 for ac_dir
in $PATH; do
9328 test -z "$ac_dir" && ac_dir
=.
9329 if test -f $ac_dir/$ac_word; then
9330 ac_cv_prog_LEX
="flex"
9335 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9338 LEX
="$ac_cv_prog_LEX"
9339 if test -n "$LEX"; then
9340 echo "$ac_t""$LEX" 1>&6
9342 echo "$ac_t""no" 1>&6
9345 if test -z "$LEXLIB"
9351 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9352 echo "configure:9353: checking for yywrap in -l$ac_lib" >&5
9353 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9355 echo $ac_n "(cached) $ac_c" 1>&6
9357 ac_save_LIBS
="$LIBS"
9358 LIBS
="-l$ac_lib $LIBS"
9359 cat > conftest.
$ac_ext <<EOF
9360 #line 9361 "configure"
9361 #include "confdefs.h"
9362 /* Override any gcc2 internal prototype to avoid an error. */
9363 /* We use char because int might match the return type of a gcc2
9364 builtin and then its argument prototype would still apply. */
9371 if { (eval echo configure
:9372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9373 eval "ac_cv_lib_$ac_lib_var=yes"
9375 echo "configure: failed program was:" >&5
9376 cat conftest.
$ac_ext >&5
9378 eval "ac_cv_lib_$ac_lib_var=no"
9381 LIBS
="$ac_save_LIBS"
9384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9385 echo "$ac_t""yes" 1>&6
9388 echo "$ac_t""no" 1>&6
9394 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9395 echo "configure:9396: checking whether ln -s works" >&5
9396 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9397 echo $ac_n "(cached) $ac_c" 1>&6
9400 if ln -s X conftestdata
2>/dev
/null
9403 ac_cv_prog_LN_S
="ln -s"
9408 LN_S
="$ac_cv_prog_LN_S"
9409 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9410 echo "$ac_t""yes" 1>&6
9412 echo "$ac_t""no" 1>&6
9417 if test "$wxUSE_MAC" != 1; then
9418 for ac_hdr
in strings.h
9420 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9421 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9422 echo "configure:9423: checking for $ac_hdr" >&5
9423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9424 echo $ac_n "(cached) $ac_c" 1>&6
9426 cat > conftest.
$ac_ext <<EOF
9427 #line 9428 "configure"
9428 #include "confdefs.h"
9431 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9432 { (eval echo configure
:9433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9433 ac_err
=`grep -v '^ *+' conftest.out`
9434 if test -z "$ac_err"; then
9436 eval "ac_cv_header_$ac_safe=yes"
9439 echo "configure: failed program was:" >&5
9440 cat conftest.
$ac_ext >&5
9442 eval "ac_cv_header_$ac_safe=no"
9446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9447 echo "$ac_t""yes" 1>&6
9448 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9449 cat >> confdefs.h
<<EOF
9450 #define $ac_tr_hdr 1
9454 echo "$ac_t""no" 1>&6
9460 for ac_hdr
in stdlib.h
9462 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9464 echo "configure:9465: checking for $ac_hdr" >&5
9465 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9466 echo $ac_n "(cached) $ac_c" 1>&6
9468 cat > conftest.
$ac_ext <<EOF
9469 #line 9470 "configure"
9470 #include "confdefs.h"
9473 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9474 { (eval echo configure
:9475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9475 ac_err
=`grep -v '^ *+' conftest.out`
9476 if test -z "$ac_err"; then
9478 eval "ac_cv_header_$ac_safe=yes"
9481 echo "configure: failed program was:" >&5
9482 cat conftest.
$ac_ext >&5
9484 eval "ac_cv_header_$ac_safe=no"
9488 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9489 echo "$ac_t""yes" 1>&6
9490 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9491 cat >> confdefs.h
<<EOF
9492 #define $ac_tr_hdr 1
9496 echo "$ac_t""no" 1>&6
9500 for ac_hdr
in malloc.h
9502 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9504 echo "configure:9505: checking for $ac_hdr" >&5
9505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9506 echo $ac_n "(cached) $ac_c" 1>&6
9508 cat > conftest.
$ac_ext <<EOF
9509 #line 9510 "configure"
9510 #include "confdefs.h"
9513 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9514 { (eval echo configure
:9515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9515 ac_err
=`grep -v '^ *+' conftest.out`
9516 if test -z "$ac_err"; then
9518 eval "ac_cv_header_$ac_safe=yes"
9521 echo "configure: failed program was:" >&5
9522 cat conftest.
$ac_ext >&5
9524 eval "ac_cv_header_$ac_safe=no"
9528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9529 echo "$ac_t""yes" 1>&6
9530 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9531 cat >> confdefs.h
<<EOF
9532 #define $ac_tr_hdr 1
9536 echo "$ac_t""no" 1>&6
9540 for ac_hdr
in unistd.h
9542 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9543 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9544 echo "configure:9545: checking for $ac_hdr" >&5
9545 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9546 echo $ac_n "(cached) $ac_c" 1>&6
9548 cat > conftest.
$ac_ext <<EOF
9549 #line 9550 "configure"
9550 #include "confdefs.h"
9553 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9554 { (eval echo configure
:9555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9555 ac_err
=`grep -v '^ *+' conftest.out`
9556 if test -z "$ac_err"; then
9558 eval "ac_cv_header_$ac_safe=yes"
9561 echo "configure: failed program was:" >&5
9562 cat conftest.
$ac_ext >&5
9564 eval "ac_cv_header_$ac_safe=no"
9568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9569 echo "$ac_t""yes" 1>&6
9570 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9571 cat >> confdefs.h
<<EOF
9572 #define $ac_tr_hdr 1
9576 echo "$ac_t""no" 1>&6
9580 for ac_hdr
in wchar.h
9582 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9584 echo "configure:9585: checking for $ac_hdr" >&5
9585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9586 echo $ac_n "(cached) $ac_c" 1>&6
9588 cat > conftest.
$ac_ext <<EOF
9589 #line 9590 "configure"
9590 #include "confdefs.h"
9593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9594 { (eval echo configure
:9595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9595 ac_err
=`grep -v '^ *+' conftest.out`
9596 if test -z "$ac_err"; then
9598 eval "ac_cv_header_$ac_safe=yes"
9601 echo "configure: failed program was:" >&5
9602 cat conftest.
$ac_ext >&5
9604 eval "ac_cv_header_$ac_safe=no"
9608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9611 cat >> confdefs.h
<<EOF
9612 #define $ac_tr_hdr 1
9616 echo "$ac_t""no" 1>&6
9621 if test "$ac_cv_header_wchar_h" != "yes"; then
9622 for ac_hdr
in wcstr.h
9624 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9625 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9626 echo "configure:9627: checking for $ac_hdr" >&5
9627 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9630 cat > conftest.
$ac_ext <<EOF
9631 #line 9632 "configure"
9632 #include "confdefs.h"
9635 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9636 { (eval echo configure
:9637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9637 ac_err
=`grep -v '^ *+' conftest.out`
9638 if test -z "$ac_err"; then
9640 eval "ac_cv_header_$ac_safe=yes"
9643 echo "configure: failed program was:" >&5
9644 cat conftest.
$ac_ext >&5
9646 eval "ac_cv_header_$ac_safe=no"
9650 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9651 echo "$ac_t""yes" 1>&6
9652 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9653 cat >> confdefs.h
<<EOF
9654 #define $ac_tr_hdr 1
9658 echo "$ac_t""no" 1>&6
9665 for ac_hdr
in fnmatch.h
9667 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9668 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9669 echo "configure:9670: checking for $ac_hdr" >&5
9670 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9673 cat > conftest.
$ac_ext <<EOF
9674 #line 9675 "configure"
9675 #include "confdefs.h"
9678 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9679 { (eval echo configure
:9680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9680 ac_err
=`grep -v '^ *+' conftest.out`
9681 if test -z "$ac_err"; then
9683 eval "ac_cv_header_$ac_safe=yes"
9686 echo "configure: failed program was:" >&5
9687 cat conftest.
$ac_ext >&5
9689 eval "ac_cv_header_$ac_safe=no"
9693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9694 echo "$ac_t""yes" 1>&6
9695 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9696 cat >> confdefs.h
<<EOF
9697 #define $ac_tr_hdr 1
9701 echo "$ac_t""no" 1>&6
9706 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9707 for ac_func
in fnmatch
9709 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9710 echo "configure:9711: checking for $ac_func" >&5
9711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9712 echo $ac_n "(cached) $ac_c" 1>&6
9714 cat > conftest.
$ac_ext <<EOF
9715 #line 9716 "configure"
9716 #include "confdefs.h"
9717 /* System header to define __stub macros and hopefully few prototypes,
9718 which can conflict with char $ac_func(); below. */
9720 /* Override any gcc2 internal prototype to avoid an error. */
9721 /* We use char because int might match the return type of a gcc2
9722 builtin and then its argument prototype would still apply. */
9727 /* The GNU C library defines this for functions which it implements
9728 to always fail with ENOSYS. Some functions are actually named
9729 something starting with __ and the normal name is an alias. */
9730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9738 if { (eval echo configure
:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9740 eval "ac_cv_func_$ac_func=yes"
9742 echo "configure: failed program was:" >&5
9743 cat conftest.
$ac_ext >&5
9745 eval "ac_cv_func_$ac_func=no"
9750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9751 echo "$ac_t""yes" 1>&6
9752 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9753 cat >> confdefs.h
<<EOF
9754 #define $ac_tr_func 1
9758 echo "$ac_t""no" 1>&6
9764 for ac_hdr
in langinfo.h
9766 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9767 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9768 echo "configure:9769: checking for $ac_hdr" >&5
9769 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9770 echo $ac_n "(cached) $ac_c" 1>&6
9772 cat > conftest.
$ac_ext <<EOF
9773 #line 9774 "configure"
9774 #include "confdefs.h"
9777 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9778 { (eval echo configure
:9779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9779 ac_err
=`grep -v '^ *+' conftest.out`
9780 if test -z "$ac_err"; then
9782 eval "ac_cv_header_$ac_safe=yes"
9785 echo "configure: failed program was:" >&5
9786 cat conftest.
$ac_ext >&5
9788 eval "ac_cv_header_$ac_safe=no"
9792 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9793 echo "$ac_t""yes" 1>&6
9794 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9795 cat >> confdefs.h
<<EOF
9796 #define $ac_tr_hdr 1
9800 echo "$ac_t""no" 1>&6
9805 if test "$wxUSE_GUI" = "yes"; then
9806 if test "$wxUSE_UNIX" = "yes"; then
9807 for ac_hdr
in X
11/XKBlib.h
9809 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9811 echo "configure:9812: checking for $ac_hdr" >&5
9812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9813 echo $ac_n "(cached) $ac_c" 1>&6
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9821 { (eval echo configure
:9822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9822 ac_err
=`grep -v '^ *+' conftest.out`
9823 if test -z "$ac_err"; then
9825 eval "ac_cv_header_$ac_safe=yes"
9828 echo "configure: failed program was:" >&5
9829 cat conftest.
$ac_ext >&5
9831 eval "ac_cv_header_$ac_safe=no"
9835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9836 echo "$ac_t""yes" 1>&6
9837 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9838 cat >> confdefs.h
<<EOF
9839 #define $ac_tr_hdr 1
9843 echo "$ac_t""no" 1>&6
9851 echo $ac_n "checking for working const""... $ac_c" 1>&6
9852 echo "configure:9853: checking for working const" >&5
9853 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9854 echo $ac_n "(cached) $ac_c" 1>&6
9856 cat > conftest.
$ac_ext <<EOF
9857 #line 9858 "configure"
9858 #include "confdefs.h"
9862 /* Ultrix mips cc rejects this. */
9863 typedef int charset[2]; const charset x;
9864 /* SunOS 4.1.1 cc rejects this. */
9865 char const *const *ccp;
9867 /* NEC SVR4.0.2 mips cc rejects this. */
9868 struct point {int x, y;};
9869 static struct point const zero = {0,0};
9870 /* AIX XL C 1.02.0.0 rejects this.
9871 It does not let you subtract one const X* pointer from another in an arm
9872 of an if-expression whose if-part is not a constant expression */
9873 const char *g = "string";
9874 ccp = &g + (g ? g-g : 0);
9875 /* HPUX 7.0 cc rejects these. */
9878 ccp = (char const *const *) p;
9879 { /* SCO 3.2v4 cc rejects this. */
9881 char const *s = 0 ? (char *) 0 : (char const *) 0;
9885 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9887 const int *foo = &x[0];
9890 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9891 typedef const int *iptr;
9895 { /* AIX XL C 1.02.0.0 rejects this saying
9896 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9897 struct s { int j; const int *ap[3]; };
9898 struct s *b; b->j = 5;
9900 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9906 if { (eval echo configure
:9907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9910 echo "configure: failed program was:" >&5
9911 cat conftest.
$ac_ext >&5
9918 echo "$ac_t""$ac_cv_c_const" 1>&6
9919 if test $ac_cv_c_const = no
; then
9920 cat >> confdefs.h
<<\EOF
9926 echo $ac_n "checking for inline""... $ac_c" 1>&6
9927 echo "configure:9928: checking for inline" >&5
9928 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9929 echo $ac_n "(cached) $ac_c" 1>&6
9932 for ac_kw
in inline __inline__ __inline
; do
9933 cat > conftest.
$ac_ext <<EOF
9934 #line 9935 "configure"
9935 #include "confdefs.h"
9941 if { (eval echo configure
:9942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9943 ac_cv_c_inline
=$ac_kw; break
9945 echo "configure: failed program was:" >&5
9946 cat conftest.
$ac_ext >&5
9953 echo "$ac_t""$ac_cv_c_inline" 1>&6
9954 case "$ac_cv_c_inline" in
9956 no
) cat >> confdefs.h
<<\EOF
9960 *) cat >> confdefs.h
<<EOF
9961 #define inline $ac_cv_c_inline
9967 echo $ac_n "checking size of char""... $ac_c" 1>&6
9968 echo "configure:9969: checking size of char" >&5
9969 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9972 if test "$cross_compiling" = yes; then
9975 cat > conftest.
$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9981 FILE *f=fopen("conftestval", "w");
9983 fprintf(f, "%d\n", sizeof(char));
9987 if { (eval echo configure
:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9989 ac_cv_sizeof_char
=`cat conftestval`
9991 echo "configure: failed program was:" >&5
9992 cat conftest.
$ac_ext >&5
10000 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10001 cat >> confdefs.h
<<EOF
10002 #define SIZEOF_CHAR $ac_cv_sizeof_char
10006 echo $ac_n "checking size of short""... $ac_c" 1>&6
10007 echo "configure:10008: checking size of short" >&5
10008 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10009 echo $ac_n "(cached) $ac_c" 1>&6
10011 if test "$cross_compiling" = yes; then
10012 ac_cv_sizeof_short
=2
10014 cat > conftest.
$ac_ext <<EOF
10015 #line 10016 "configure"
10016 #include "confdefs.h"
10020 FILE *f=fopen("conftestval", "w");
10022 fprintf(f, "%d\n", sizeof(short));
10026 if { (eval echo configure
:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10028 ac_cv_sizeof_short
=`cat conftestval`
10030 echo "configure: failed program was:" >&5
10031 cat conftest.
$ac_ext >&5
10033 ac_cv_sizeof_short
=0
10039 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10040 cat >> confdefs.h
<<EOF
10041 #define SIZEOF_SHORT $ac_cv_sizeof_short
10045 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10046 echo "configure:10047: checking size of void *" >&5
10047 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10048 echo $ac_n "(cached) $ac_c" 1>&6
10050 if test "$cross_compiling" = yes; then
10051 ac_cv_sizeof_void_p
=4
10053 cat > conftest.
$ac_ext <<EOF
10054 #line 10055 "configure"
10055 #include "confdefs.h"
10059 FILE *f=fopen("conftestval", "w");
10061 fprintf(f, "%d\n", sizeof(void *));
10065 if { (eval echo configure
:10066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10067 ac_cv_sizeof_void_p
=`cat conftestval`
10069 echo "configure: failed program was:" >&5
10070 cat conftest.
$ac_ext >&5
10072 ac_cv_sizeof_void_p
=0
10078 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10079 cat >> confdefs.h
<<EOF
10080 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10084 echo $ac_n "checking size of int""... $ac_c" 1>&6
10085 echo "configure:10086: checking size of int" >&5
10086 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10087 echo $ac_n "(cached) $ac_c" 1>&6
10089 if test "$cross_compiling" = yes; then
10092 cat > conftest.
$ac_ext <<EOF
10093 #line 10094 "configure"
10094 #include "confdefs.h"
10098 FILE *f=fopen("conftestval", "w");
10100 fprintf(f, "%d\n", sizeof(int));
10104 if { (eval echo configure
:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10106 ac_cv_sizeof_int
=`cat conftestval`
10108 echo "configure: failed program was:" >&5
10109 cat conftest.
$ac_ext >&5
10117 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10118 cat >> confdefs.h
<<EOF
10119 #define SIZEOF_INT $ac_cv_sizeof_int
10123 echo $ac_n "checking size of long""... $ac_c" 1>&6
10124 echo "configure:10125: checking size of long" >&5
10125 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10126 echo $ac_n "(cached) $ac_c" 1>&6
10128 if test "$cross_compiling" = yes; then
10129 ac_cv_sizeof_long
=4
10131 cat > conftest.
$ac_ext <<EOF
10132 #line 10133 "configure"
10133 #include "confdefs.h"
10137 FILE *f=fopen("conftestval", "w");
10139 fprintf(f, "%d\n", sizeof(long));
10143 if { (eval echo configure
:10144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10145 ac_cv_sizeof_long
=`cat conftestval`
10147 echo "configure: failed program was:" >&5
10148 cat conftest.
$ac_ext >&5
10150 ac_cv_sizeof_long
=0
10156 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10157 cat >> confdefs.h
<<EOF
10158 #define SIZEOF_LONG $ac_cv_sizeof_long
10165 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10166 echo "configure:10167: checking size of long long" >&5
10167 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10168 echo $ac_n "(cached) $ac_c" 1>&6
10170 if test "$cross_compiling" = yes; then
10171 ac_cv_sizeof_long_long
=8
10173 cat > conftest.
$ac_ext <<EOF
10174 #line 10175 "configure"
10175 #include "confdefs.h"
10179 FILE *f=fopen("conftestval", "w");
10181 fprintf(f, "%d\n", sizeof(long long));
10185 if { (eval echo configure
:10186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10187 ac_cv_sizeof_long_long
=`cat conftestval`
10189 echo "configure: failed program was:" >&5
10190 cat conftest.
$ac_ext >&5
10192 ac_cv_sizeof_long_long
=0
10198 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10199 cat >> confdefs.h
<<EOF
10200 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10206 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10207 echo "configure:10208: checking size of long long" >&5
10208 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10209 echo $ac_n "(cached) $ac_c" 1>&6
10211 if test "$cross_compiling" = yes; then
10212 ac_cv_sizeof_long_long
=0
10214 cat > conftest.
$ac_ext <<EOF
10215 #line 10216 "configure"
10216 #include "confdefs.h"
10220 FILE *f=fopen("conftestval", "w");
10222 fprintf(f, "%d\n", sizeof(long long));
10226 if { (eval echo configure
:10227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10228 ac_cv_sizeof_long_long
=`cat conftestval`
10230 echo "configure: failed program was:" >&5
10231 cat conftest.
$ac_ext >&5
10233 ac_cv_sizeof_long_long
=0
10239 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10240 cat >> confdefs.h
<<EOF
10241 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10247 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10248 echo "configure:10249: checking size of wchar_t" >&5
10249 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10253 if test "$cross_compiling" = yes; then
10254 wx_cv_sizeof_wchar_t
=4
10257 cat > conftest.
$ac_ext <<EOF
10258 #line 10259 "configure"
10259 #include "confdefs.h"
10261 #ifdef HAVE_WCHAR_H
10263 # include <stddef.h>
10265 # include <wchar.h>
10267 #ifdef HAVE_STDLIB_H
10268 # include <stdlib.h>
10273 FILE *f=fopen("conftestval", "w");
10275 fprintf(f, "%i", sizeof(wchar_t));
10280 if { (eval echo configure
:10281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10282 wx_cv_sizeof_wchar_t
=`cat conftestval`
10284 echo "configure: failed program was:" >&5
10285 cat conftest.
$ac_ext >&5
10287 wx_cv_sizeof_wchar_t
=0
10295 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10297 cat >> confdefs.h
<<EOF
10298 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10302 # Check whether --enable-largefile or --disable-largefile was given.
10303 if test "${enable_largefile+set}" = set; then
10304 enableval
="$enable_largefile"
10308 if test "$enable_largefile" != no
; then
10311 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10312 echo "configure:10313: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10313 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10314 echo $ac_n "(cached) $ac_c" 1>&6
10317 cat > conftest.
$ac_ext <<EOF
10318 #line 10319 "configure"
10319 #include "confdefs.h"
10320 #define _FILE_OFFSET_BITS 64
10321 #include <sys/types.h>
10324 unsigned int field: sizeof(off_t) == 8;
10329 if { (eval echo configure
:10330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10331 ac_cv_sys_file_offset_bits
=64
10333 echo "configure: failed program was:" >&5
10334 cat conftest.
$ac_ext >&5
10336 ac_cv_sys_file_offset_bits
=no
10343 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10345 if test "$ac_cv_sys_file_offset_bits" != no
; then
10347 cat >> confdefs.h
<<EOF
10348 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10353 if test "x$wx_largefile" != "xyes"; then
10355 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10356 echo "configure:10357: checking for _LARGE_FILES value needed for large files" >&5
10357 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10361 cat > conftest.
$ac_ext <<EOF
10362 #line 10363 "configure"
10363 #include "confdefs.h"
10364 #define _LARGE_FILES 1
10365 #include <sys/types.h>
10368 unsigned int field: sizeof(off_t) == 8;
10373 if { (eval echo configure
:10374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10375 ac_cv_sys_large_files
=1
10377 echo "configure: failed program was:" >&5
10378 cat conftest.
$ac_ext >&5
10380 ac_cv_sys_large_files
=no
10387 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10389 if test "$ac_cv_sys_large_files" != no
; then
10391 cat >> confdefs.h
<<EOF
10392 #define _LARGE_FILES $ac_cv_sys_large_files
10399 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10400 echo "configure:10401: checking if large file support is available" >&5
10401 if test "x$wx_largefile" = "xyes"; then
10402 cat >> confdefs.h
<<\EOF
10403 #define HAVE_LARGEFILE_SUPPORT 1
10407 echo "$ac_t""$wx_largefile" 1>&6
10411 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10412 echo "configure:10413: checking whether byte ordering is bigendian" >&5
10413 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10414 echo $ac_n "(cached) $ac_c" 1>&6
10416 ac_cv_c_bigendian
=unknown
10417 # See if sys/param.h defines the BYTE_ORDER macro.
10418 cat > conftest.
$ac_ext <<EOF
10419 #line 10420 "configure"
10420 #include "confdefs.h"
10421 #include <sys/types.h>
10422 #include <sys/param.h>
10425 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10426 bogus endian macros
10430 if { (eval echo configure
:10431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10432 # It does; now see whether it defined to BIG_ENDIAN or not.
10433 cat > conftest.
$ac_ext <<EOF
10434 #line 10435 "configure"
10435 #include "confdefs.h"
10436 #include <sys/types.h>
10437 #include <sys/param.h>
10440 #if BYTE_ORDER != BIG_ENDIAN
10445 if { (eval echo configure
:10446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10447 ac_cv_c_bigendian
=yes
10449 echo "configure: failed program was:" >&5
10450 cat conftest.
$ac_ext >&5
10452 ac_cv_c_bigendian
=no
10456 echo "configure: failed program was:" >&5
10457 cat conftest.
$ac_ext >&5
10460 if test $ac_cv_c_bigendian = unknown
; then
10461 if test "$cross_compiling" = yes; then
10462 ac_cv_c_bigendian
=unknown
10464 cat > conftest.
$ac_ext <<EOF
10465 #line 10466 "configure"
10466 #include "confdefs.h"
10468 /* Are we little or big endian? From Harbison&Steele. */
10472 char c[sizeof (long)];
10475 exit (u.c[sizeof (long) - 1] == 1);
10478 if { (eval echo configure
:10479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
10480 ac_cv_c_bigendian
=no
10482 echo "configure: failed program was:" >&5
10483 cat conftest.
$ac_ext >&5
10485 ac_cv_c_bigendian
=yes
10493 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10494 if test $ac_cv_c_bigendian = unknown
; then
10495 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
10497 if test $ac_cv_c_bigendian = yes; then
10498 cat >> confdefs.h
<<\EOF
10499 #define WORDS_BIGENDIAN 1
10505 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10506 echo "configure:10507: checking how to run the C++ preprocessor" >&5
10507 if test -z "$CXXCPP"; then
10508 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10509 echo $ac_n "(cached) $ac_c" 1>&6
10512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10513 ac_cpp
='$CXXCPP $CPPFLAGS'
10514 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10515 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10516 cross_compiling
=$ac_cv_prog_cxx_cross
10517 CXXCPP
="${CXX-g++} -E"
10518 cat > conftest.
$ac_ext <<EOF
10519 #line 10520 "configure"
10520 #include "confdefs.h"
10521 #include <stdlib.h>
10523 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10524 { (eval echo configure
:10525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10525 ac_err
=`grep -v '^ *+' conftest.out`
10526 if test -z "$ac_err"; then
10530 echo "configure: failed program was:" >&5
10531 cat conftest.
$ac_ext >&5
10536 ac_cv_prog_CXXCPP
="$CXXCPP"
10539 CXXCPP
="$ac_cv_prog_CXXCPP"
10540 echo "$ac_t""$CXXCPP" 1>&6
10543 if test "$cross_compiling" = "yes"; then
10544 cat >> confdefs.h
<<\EOF
10545 #define wxUSE_IOSTREAMH 1
10551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10552 ac_cpp
='$CXXCPP $CPPFLAGS'
10553 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10554 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10555 cross_compiling
=$ac_cv_prog_cxx_cross
10558 for ac_hdr
in iostream
10560 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10561 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10562 echo "configure:10563: checking for $ac_hdr" >&5
10563 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10564 echo $ac_n "(cached) $ac_c" 1>&6
10566 cat > conftest.
$ac_ext <<EOF
10567 #line 10568 "configure"
10568 #include "confdefs.h"
10571 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10572 { (eval echo configure
:10573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10573 ac_err
=`grep -v '^ *+' conftest.out`
10574 if test -z "$ac_err"; then
10576 eval "ac_cv_header_$ac_safe=yes"
10579 echo "configure: failed program was:" >&5
10580 cat conftest.
$ac_ext >&5
10582 eval "ac_cv_header_$ac_safe=no"
10586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10587 echo "$ac_t""yes" 1>&6
10588 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10589 cat >> confdefs.h
<<EOF
10590 #define $ac_tr_hdr 1
10594 echo "$ac_t""no" 1>&6
10599 if test "$ac_cv_header_iostream" = "yes" ; then
10602 cat >> confdefs.h
<<\EOF
10603 #define wxUSE_IOSTREAMH 1
10609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10610 ac_cpp
='$CPP $CPPFLAGS'
10611 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10612 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10613 cross_compiling
=$ac_cv_prog_cc_cross
10619 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10620 echo "configure:10621: checking if C++ compiler supports bool" >&5
10621 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10622 echo $ac_n "(cached) $ac_c" 1>&6
10627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10628 ac_cpp
='$CXXCPP $CPPFLAGS'
10629 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10630 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10631 cross_compiling
=$ac_cv_prog_cxx_cross
10634 cat > conftest.
$ac_ext <<EOF
10635 #line 10636 "configure"
10636 #include "confdefs.h"
10647 if { (eval echo configure
:10648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10653 echo "configure: failed program was:" >&5
10654 cat conftest.
$ac_ext >&5
10664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10665 ac_cpp
='$CPP $CPPFLAGS'
10666 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10667 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10668 cross_compiling
=$ac_cv_prog_cc_cross
10673 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10675 if test "$wx_cv_cpp_bool" = "yes"; then
10676 cat >> confdefs.h
<<\EOF
10677 #define HAVE_BOOL 1
10684 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10685 echo "configure:10686: checking if C++ compiler supports the explicit keyword" >&5
10686 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10687 echo $ac_n "(cached) $ac_c" 1>&6
10692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10693 ac_cpp
='$CXXCPP $CPPFLAGS'
10694 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10695 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10696 cross_compiling
=$ac_cv_prog_cxx_cross
10699 cat > conftest.
$ac_ext <<EOF
10700 #line 10701 "configure"
10701 #include "confdefs.h"
10703 class Foo { public: explicit Foo(int) {} };
10711 if { (eval echo configure
:10712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10714 cat > conftest.
$ac_ext <<EOF
10715 #line 10716 "configure"
10716 #include "confdefs.h"
10718 class Foo { public: explicit Foo(int) {} };
10719 static void TakeFoo(const Foo& foo) { }
10728 if { (eval echo configure
:10729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10732 echo "configure: failed program was:" >&5
10733 cat conftest.
$ac_ext >&5
10741 echo "configure: failed program was:" >&5
10742 cat conftest.
$ac_ext >&5
10750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10751 ac_cpp
='$CPP $CPPFLAGS'
10752 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10753 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10754 cross_compiling
=$ac_cv_prog_cc_cross
10759 echo "$ac_t""$wx_cv_explicit" 1>&6
10761 if test "$wx_cv_explicit" = "yes"; then
10762 cat >> confdefs.h
<<\EOF
10763 #define HAVE_EXPLICIT 1
10771 /usr/local/include \
10773 /usr/Motif-1.2/include \
10774 /usr/Motif-2.1/include \
10776 /usr/include/Motif1.2 \
10777 /opt/xpm/include/X11 \
10778 /opt/GBxpm/include/ \
10779 /opt/GBxpm/X11/include/ \
10781 /usr/Motif1.2/include \
10783 /usr/openwin/include \
10787 /usr/X11R6/include \
10788 /usr/X11R6.4/include \
10789 /usr/X11R5/include \
10790 /usr/X11R4/include \
10792 /usr/include/X11R6 \
10793 /usr/include/X11R5 \
10794 /usr/include/X11R4 \
10796 /usr/local/X11R6/include \
10797 /usr/local/X11R5/include \
10798 /usr/local/X11R4/include \
10800 /usr/local/include/X11R6 \
10801 /usr/local/include/X11R5 \
10802 /usr/local/include/X11R4 \
10806 /usr/local/X11/include \
10807 /usr/local/include/X11 \
10809 /usr/X386/include \
10810 /usr/x386/include \
10811 /usr/XFree86/include/X11 \
10813 X:/XFree86/include \
10814 X:/XFree86/include/X11 \
10817 /usr/local/include/gtk \
10818 /usr/include/glib \
10819 /usr/local/include/glib \
10822 /usr/local/include/qt \
10824 /usr/include/windows \
10825 /usr/include/wine \
10826 /usr/local/include/wine \
10828 /usr/unsupported/include \
10829 /usr/athena/include \
10830 /usr/local/x11r5/include \
10831 /usr/lpp/Xamples/include \
10833 /usr/openwin/share/include \
10837 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10840 cat > confcache
<<\EOF
10841 # This file is a shell script that caches the results of configure
10842 # tests run on this system so they can be shared between configure
10843 # scripts and configure runs. It is not useful on other systems.
10844 # If it contains results you don't want to keep, you may remove or edit it.
10846 # By default, configure uses ./config.cache as the cache file,
10847 # creating it if it does not exist already. You can give configure
10848 # the --cache-file=FILE option to use a different cache file; that is
10849 # what configure does when it calls configure scripts in
10850 # subdirectories, so they share the cache.
10851 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10852 # config.status only pays attention to the cache file if you give it the
10853 # --recheck option to rerun configure.
10856 # The following way of writing the cache mishandles newlines in values,
10857 # but we know of no workaround that is simple, portable, and efficient.
10858 # So, don't put newlines in cache variables' values.
10859 # Ultrix sh set writes to stderr and can't be redirected directly,
10860 # and sets the high bit in the cache file unless we assign to the vars.
10862 case `(ac_space=' '; set) 2>&1` in
10864 # `set' does not quote correctly, so add quotes (double-quote substitution
10865 # turns \\\\ into \\, and sed turns \\ into \).
10867 -e "s/'/'\\\\''/g" \
10868 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10871 # `set' quotes correctly as required by POSIX, so do not add quotes.
10872 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10875 if cmp -s $cache_file confcache
; then
10878 if test -w $cache_file; then
10879 echo "updating cache $cache_file"
10880 cat confcache
> $cache_file
10882 echo "not updating unwritable cache $cache_file"
10888 if test "$USE_LINUX" = 1; then
10889 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10890 echo "configure:10891: checking for glibc 2.1 or later" >&5
10891 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10892 echo $ac_n "(cached) $ac_c" 1>&6
10895 cat > conftest.
$ac_ext <<EOF
10896 #line 10897 "configure"
10897 #include "confdefs.h"
10898 #include <features.h>
10901 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10902 #error not glibc2.1
10907 if { (eval echo configure
:10908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10910 wx_cv_lib_glibc21
=yes
10913 echo "configure: failed program was:" >&5
10914 cat conftest.
$ac_ext >&5
10917 wx_cv_lib_glibc21
=no
10925 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
10926 if test "$wx_cv_lib_glibc21" = "yes"; then
10927 cat >> confdefs.h
<<\EOF
10928 #define wxHAVE_GLIBC2 1
10934 if test "x$wx_cv_lib_glibc21" = "xyes"; then
10935 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
10936 cat >> confdefs.h
<<\EOF
10937 #define _GNU_SOURCE 1
10946 if test "$wxUSE_REGEX" != "no"; then
10947 cat >> confdefs.h
<<\EOF
10948 #define wxUSE_REGEX 1
10952 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
10953 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
10954 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
10955 echo "configure:10956: checking for regex.h" >&5
10956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10957 echo $ac_n "(cached) $ac_c" 1>&6
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10965 { (eval echo configure
:10966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10966 ac_err
=`grep -v '^ *+' conftest.out`
10967 if test -z "$ac_err"; then
10969 eval "ac_cv_header_$ac_safe=yes"
10972 echo "configure: failed program was:" >&5
10973 cat conftest.
$ac_ext >&5
10975 eval "ac_cv_header_$ac_safe=no"
10979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 for ac_func
in regcomp
10983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10984 echo "configure:10985: checking for $ac_func" >&5
10985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10986 echo $ac_n "(cached) $ac_c" 1>&6
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* System header to define __stub macros and hopefully few prototypes,
10992 which can conflict with char $ac_func(); below. */
10993 #include <assert.h>
10994 /* Override any gcc2 internal prototype to avoid an error. */
10995 /* We use char because int might match the return type of a gcc2
10996 builtin and then its argument prototype would still apply. */
11001 /* The GNU C library defines this for functions which it implements
11002 to always fail with ENOSYS. Some functions are actually named
11003 something starting with __ and the normal name is an alias. */
11004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11012 if { (eval echo configure
:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11014 eval "ac_cv_func_$ac_func=yes"
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 eval "ac_cv_func_$ac_func=no"
11024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11025 echo "$ac_t""yes" 1>&6
11026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11027 cat >> confdefs.h
<<EOF
11028 #define $ac_tr_func 1
11032 echo "$ac_t""no" 1>&6
11037 echo "$ac_t""no" 1>&6
11041 if test "x$ac_cv_func_regcomp" != "xyes"; then
11042 if test "$wxUSE_REGEX" = "sys" ; then
11043 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11045 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11046 wxUSE_REGEX
=builtin
11053 if test "$wxUSE_REGEX" = "builtin" ; then
11054 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11061 if test "$wxUSE_ZLIB" != "no" ; then
11062 cat >> confdefs.h
<<\EOF
11063 #define wxUSE_ZLIB 1
11067 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11068 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11069 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11070 echo "configure:11071: checking for zlib.h" >&5
11071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11072 echo $ac_n "(cached) $ac_c" 1>&6
11074 cat > conftest.
$ac_ext <<EOF
11075 #line 11076 "configure"
11076 #include "confdefs.h"
11079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11080 { (eval echo configure
:11081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11081 ac_err
=`grep -v '^ *+' conftest.out`
11082 if test -z "$ac_err"; then
11084 eval "ac_cv_header_$ac_safe=yes"
11087 echo "configure: failed program was:" >&5
11088 cat conftest.
$ac_ext >&5
11090 eval "ac_cv_header_$ac_safe=no"
11094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11095 echo "$ac_t""yes" 1>&6
11096 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11097 echo "configure:11098: checking for deflate in -lz" >&5
11098 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11100 echo $ac_n "(cached) $ac_c" 1>&6
11102 ac_save_LIBS
="$LIBS"
11104 cat > conftest.
$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11107 /* Override any gcc2 internal prototype to avoid an error. */
11108 /* We use char because int might match the return type of a gcc2
11109 builtin and then its argument prototype would still apply. */
11116 if { (eval echo configure
:11117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11118 eval "ac_cv_lib_$ac_lib_var=yes"
11120 echo "configure: failed program was:" >&5
11121 cat conftest.
$ac_ext >&5
11123 eval "ac_cv_lib_$ac_lib_var=no"
11126 LIBS
="$ac_save_LIBS"
11129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11130 echo "$ac_t""yes" 1>&6
11133 echo "$ac_t""no" 1>&6
11137 echo "$ac_t""no" 1>&6
11141 if test "x$ZLIB_LINK" = "x" ; then
11142 if test "$wxUSE_ZLIB" = "sys" ; then
11143 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11145 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11153 if test "$wxUSE_ZLIB" = "builtin" ; then
11154 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11161 if test "$wxUSE_LIBPNG" != "no" ; then
11162 cat >> confdefs.h
<<\EOF
11163 #define wxUSE_LIBPNG 1
11167 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11168 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11172 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11173 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11174 wxUSE_LIBPNG
=builtin
11177 if test "$wxUSE_MGL" != 1 ; then
11178 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11179 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11180 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11181 echo "configure:11182: checking for png.h" >&5
11182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11183 echo $ac_n "(cached) $ac_c" 1>&6
11185 cat > conftest.
$ac_ext <<EOF
11186 #line 11187 "configure"
11187 #include "confdefs.h"
11190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11191 { (eval echo configure
:11192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11192 ac_err
=`grep -v '^ *+' conftest.out`
11193 if test -z "$ac_err"; then
11195 eval "ac_cv_header_$ac_safe=yes"
11198 echo "configure: failed program was:" >&5
11199 cat conftest.
$ac_ext >&5
11201 eval "ac_cv_header_$ac_safe=no"
11205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11206 echo "$ac_t""yes" 1>&6
11207 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11208 echo "configure:11209: checking for png_check_sig in -lpng" >&5
11209 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11211 echo $ac_n "(cached) $ac_c" 1>&6
11213 ac_save_LIBS
="$LIBS"
11214 LIBS
="-lpng -lz -lm $LIBS"
11215 cat > conftest.
$ac_ext <<EOF
11216 #line 11217 "configure"
11217 #include "confdefs.h"
11218 /* Override any gcc2 internal prototype to avoid an error. */
11219 /* We use char because int might match the return type of a gcc2
11220 builtin and then its argument prototype would still apply. */
11221 char png_check_sig();
11227 if { (eval echo configure
:11228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11229 eval "ac_cv_lib_$ac_lib_var=yes"
11231 echo "configure: failed program was:" >&5
11232 cat conftest.
$ac_ext >&5
11234 eval "ac_cv_lib_$ac_lib_var=no"
11237 LIBS
="$ac_save_LIBS"
11240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11241 echo "$ac_t""yes" 1>&6
11244 echo "$ac_t""no" 1>&6
11249 echo "$ac_t""no" 1>&6
11253 if test "x$PNG_LINK" = "x" ; then
11254 if test "$wxUSE_LIBPNG" = "sys" ; then
11255 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11257 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11258 wxUSE_LIBPNG
=builtin
11266 if test "$wxUSE_LIBPNG" = "builtin" ; then
11267 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11276 if test "$wxUSE_LIBJPEG" != "no" ; then
11277 cat >> confdefs.h
<<\EOF
11278 #define wxUSE_LIBJPEG 1
11282 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11283 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11287 if test "$wxUSE_MGL" != 1 ; then
11288 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11289 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11290 echo "configure:11291: checking for jpeglib.h" >&5
11291 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11294 cat > conftest.
$ac_ext <<EOF
11295 #line 11296 "configure"
11296 #include "confdefs.h"
11298 #undef HAVE_STDLIB_H
11300 #include <jpeglib.h>
11307 if { (eval echo configure
:11308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11309 ac_cv_header_jpeglib_h
=yes
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 ac_cv_header_jpeglib_h
=no
11321 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11323 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11324 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11325 echo "configure:11326: checking for jpeg_read_header in -ljpeg" >&5
11326 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11328 echo $ac_n "(cached) $ac_c" 1>&6
11330 ac_save_LIBS
="$LIBS"
11331 LIBS
="-ljpeg $LIBS"
11332 cat > conftest.
$ac_ext <<EOF
11333 #line 11334 "configure"
11334 #include "confdefs.h"
11335 /* Override any gcc2 internal prototype to avoid an error. */
11336 /* We use char because int might match the return type of a gcc2
11337 builtin and then its argument prototype would still apply. */
11338 char jpeg_read_header();
11344 if { (eval echo configure
:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11346 eval "ac_cv_lib_$ac_lib_var=yes"
11348 echo "configure: failed program was:" >&5
11349 cat conftest.
$ac_ext >&5
11351 eval "ac_cv_lib_$ac_lib_var=no"
11354 LIBS
="$ac_save_LIBS"
11357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11358 echo "$ac_t""yes" 1>&6
11359 JPEG_LINK
=" -ljpeg"
11361 echo "$ac_t""no" 1>&6
11366 if test "x$JPEG_LINK" = "x" ; then
11367 if test "$wxUSE_LIBJPEG" = "sys" ; then
11368 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11370 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11371 wxUSE_LIBJPEG
=builtin
11379 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11380 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11387 if test "$wxUSE_LIBTIFF" != "no" ; then
11388 cat >> confdefs.h
<<\EOF
11389 #define wxUSE_LIBTIFF 1
11393 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11394 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11395 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11396 echo "configure:11397: checking for tiffio.h" >&5
11397 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11398 echo $ac_n "(cached) $ac_c" 1>&6
11400 cat > conftest.
$ac_ext <<EOF
11401 #line 11402 "configure"
11402 #include "confdefs.h"
11403 #include <tiffio.h>
11405 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11406 { (eval echo configure
:11407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11407 ac_err
=`grep -v '^ *+' conftest.out`
11408 if test -z "$ac_err"; then
11410 eval "ac_cv_header_$ac_safe=yes"
11413 echo "configure: failed program was:" >&5
11414 cat conftest.
$ac_ext >&5
11416 eval "ac_cv_header_$ac_safe=no"
11420 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11421 echo "$ac_t""yes" 1>&6
11422 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11423 echo "configure:11424: checking for TIFFError in -ltiff" >&5
11424 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11426 echo $ac_n "(cached) $ac_c" 1>&6
11428 ac_save_LIBS
="$LIBS"
11429 LIBS
="-ltiff -lm $LIBS"
11430 cat > conftest.
$ac_ext <<EOF
11431 #line 11432 "configure"
11432 #include "confdefs.h"
11433 /* Override any gcc2 internal prototype to avoid an error. */
11434 /* We use char because int might match the return type of a gcc2
11435 builtin and then its argument prototype would still apply. */
11442 if { (eval echo configure
:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11444 eval "ac_cv_lib_$ac_lib_var=yes"
11446 echo "configure: failed program was:" >&5
11447 cat conftest.
$ac_ext >&5
11449 eval "ac_cv_lib_$ac_lib_var=no"
11452 LIBS
="$ac_save_LIBS"
11455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11456 echo "$ac_t""yes" 1>&6
11457 TIFF_LINK
=" -ltiff"
11459 echo "$ac_t""no" 1>&6
11464 echo "$ac_t""no" 1>&6
11468 if test "x$TIFF_LINK" = "x" ; then
11469 if test "$wxUSE_LIBTIFF" = "sys" ; then
11470 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11472 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11473 wxUSE_LIBTIFF
=builtin
11480 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11481 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11492 if test "$USE_WIN32" = 1 ; then
11493 for ac_hdr
in w32api.h
11495 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11497 echo "configure:11498: checking for $ac_hdr" >&5
11498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11499 echo $ac_n "(cached) $ac_c" 1>&6
11501 cat > conftest.
$ac_ext <<EOF
11502 #line 11503 "configure"
11503 #include "confdefs.h"
11506 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11507 { (eval echo configure
:11508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11508 ac_err
=`grep -v '^ *+' conftest.out`
11509 if test -z "$ac_err"; then
11511 eval "ac_cv_header_$ac_safe=yes"
11514 echo "configure: failed program was:" >&5
11515 cat conftest.
$ac_ext >&5
11517 eval "ac_cv_header_$ac_safe=no"
11521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11522 echo "$ac_t""yes" 1>&6
11523 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11524 cat >> confdefs.h
<<EOF
11525 #define $ac_tr_hdr 1
11529 echo "$ac_t""no" 1>&6
11533 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11534 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11535 echo "configure:11536: checking for windows.h" >&5
11536 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11537 echo $ac_n "(cached) $ac_c" 1>&6
11539 cat > conftest.
$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11542 #include <windows.h>
11544 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11545 { (eval echo configure
:11546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11546 ac_err
=`grep -v '^ *+' conftest.out`
11547 if test -z "$ac_err"; then
11549 eval "ac_cv_header_$ac_safe=yes"
11552 echo "configure: failed program was:" >&5
11553 cat conftest.
$ac_ext >&5
11555 eval "ac_cv_header_$ac_safe=no"
11559 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11560 echo "$ac_t""yes" 1>&6
11563 echo "$ac_t""no" 1>&6
11565 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11570 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11571 echo "configure:11572: checking if w32api has good enough MSIE support" >&5
11572 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11573 echo $ac_n "(cached) $ac_c" 1>&6
11576 cat > conftest.
$ac_ext <<EOF
11577 #line 11578 "configure"
11578 #include "confdefs.h"
11579 #include <w32api.h>
11582 #define wxCHECK_W32API_VERSION( major, minor ) \
11583 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11584 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11585 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11587 #if !wxCHECK_W32API_VERSION(1,1)
11588 #error You need w32api 1.1 or newer
11593 if { (eval echo configure
:11594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11596 wx_cv_w32api_win32_ie
=yes
11599 echo "configure: failed program was:" >&5
11600 cat conftest.
$ac_ext >&5
11603 wx_cv_w32api_win32_ie
=no
11610 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11611 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11612 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11615 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11619 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11620 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11623 if test "$wxUSE_ODBC" = "yes" ; then
11624 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11627 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11628 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11631 if test "$wxUSE_GUI" = "yes"; then
11640 if test "$wxUSE_MSW" = 1 ; then
11646 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11650 if test "$wxUSE_GTK" = 1; then
11651 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11652 echo "configure:11653: checking for GTK+ version" >&5
11654 gtk_version_cached
=1
11655 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11656 echo $ac_n "(cached) $ac_c" 1>&6
11659 gtk_version_cached
=0
11660 echo "$ac_t""" 1>&6
11663 if test "$wxUSE_THREADS" = "yes"; then
11664 GTK_MODULES
=gthread
11668 if test "x$wxUSE_GTK2" = "xyes"; then
11669 # Check whether --enable-gtktest or --disable-gtktest was given.
11670 if test "${enable_gtktest+set}" = set; then
11671 enableval
="$enable_gtktest"
11678 pkg_config_args
=gtk
+-2.0
11679 for module
in .
$GTK_MODULES
11683 pkg_config_args
="$pkg_config_args gthread-2.0"
11690 # Extract the first word of "pkg-config", so it can be a program name with args.
11691 set dummy pkg
-config; ac_word
=$2
11692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11693 echo "configure:11694: checking for $ac_word" >&5
11694 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11695 echo $ac_n "(cached) $ac_c" 1>&6
11697 case "$PKG_CONFIG" in
11699 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11702 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11703 for ac_dir
in $PATH; do
11704 test -z "$ac_dir" && ac_dir
=.
11705 if test -f $ac_dir/$ac_word; then
11706 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11711 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11715 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11716 if test -n "$PKG_CONFIG"; then
11717 echo "$ac_t""$PKG_CONFIG" 1>&6
11719 echo "$ac_t""no" 1>&6
11723 if test x
$PKG_CONFIG != xno
; then
11724 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11727 echo *** pkg
-config too old
; version
0.7 or better required.
11735 min_gtk_version
=2.0.0
11736 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11737 echo "configure:11738: checking for GTK+ - version >= $min_gtk_version" >&5
11739 if test x
$PKG_CONFIG != xno
; then
11740 ## don't try to run the test against uninstalled libtool libs
11741 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11742 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11746 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11753 if test x
"$no_gtk" = x
; then
11754 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11755 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11756 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11758 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11760 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11762 if test "x$enable_gtktest" = "xyes" ; then
11763 ac_save_CFLAGS
="$CFLAGS"
11764 ac_save_LIBS
="$LIBS"
11765 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11766 LIBS
="$GTK_LIBS $LIBS"
11768 if test "$cross_compiling" = yes; then
11769 echo $ac_n "cross compiling; assumed OK... $ac_c"
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11775 #include <gtk/gtk.h>
11777 #include <stdlib.h>
11782 int major, minor, micro;
11785 system ("touch conf.gtktest");
11787 /* HP/UX 9 (%@#!) writes to sscanf strings */
11788 tmp_version = g_strdup("$min_gtk_version");
11789 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11790 printf("%s, bad version string\n", "$min_gtk_version");
11794 if ((gtk_major_version != $gtk_config_major_version) ||
11795 (gtk_minor_version != $gtk_config_minor_version) ||
11796 (gtk_micro_version != $gtk_config_micro_version))
11798 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11799 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11800 gtk_major_version, gtk_minor_version, gtk_micro_version);
11801 printf ("*** was found! If pkg-config was correct, then it is best\n");
11802 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11803 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11804 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11805 printf("*** required on your system.\n");
11806 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11807 printf("*** to point to the correct configuration files\n");
11809 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11810 (gtk_minor_version != GTK_MINOR_VERSION) ||
11811 (gtk_micro_version != GTK_MICRO_VERSION))
11813 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11814 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11815 printf("*** library (version %d.%d.%d)\n",
11816 gtk_major_version, gtk_minor_version, gtk_micro_version);
11820 if ((gtk_major_version > major) ||
11821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11828 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11829 gtk_major_version, gtk_minor_version, gtk_micro_version);
11830 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11831 major, minor, micro);
11832 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11834 printf("*** If you have already installed a sufficiently new version, this error\n");
11835 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11836 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11837 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11838 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11839 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11840 printf("*** so that the correct libraries are found at run-time))\n");
11847 if { (eval echo configure
:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
11851 echo "configure: failed program was:" >&5
11852 cat conftest.
$ac_ext >&5
11859 CFLAGS
="$ac_save_CFLAGS"
11860 LIBS
="$ac_save_LIBS"
11863 if test "x$no_gtk" = x
; then
11864 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11867 echo "$ac_t""no" 1>&6
11868 if test "$PKG_CONFIG" = "no" ; then
11869 echo "*** A new enough version of pkg-config was not found."
11870 echo "*** See http://pkgconfig.sourceforge.net"
11872 if test -f conf.gtktest
; then
11875 echo "*** Could not run GTK+ test program, checking why..."
11876 ac_save_CFLAGS
="$CFLAGS"
11877 ac_save_LIBS
="$LIBS"
11878 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11879 LIBS
="$LIBS $GTK_LIBS"
11880 cat > conftest.
$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11884 #include <gtk/gtk.h>
11888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11891 if { (eval echo configure
:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11893 echo "*** The test program compiled, but did not run. This usually means"
11894 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11895 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11896 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11897 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11898 echo "*** is required on your system"
11900 echo "*** If you have an old version installed, it is best to remove it, although"
11901 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11903 echo "configure: failed program was:" >&5
11904 cat conftest.
$ac_ext >&5
11906 echo "*** The test program failed to compile or link. See the file config.log for the"
11907 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
11910 CFLAGS
="$ac_save_CFLAGS"
11911 LIBS
="$ac_save_LIBS"
11923 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11927 if test -z "$PKG_CONFIG"; then
11928 # Extract the first word of "pkg-config", so it can be a program name with args.
11929 set dummy pkg
-config; ac_word
=$2
11930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11931 echo "configure:11932: checking for $ac_word" >&5
11932 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11933 echo $ac_n "(cached) $ac_c" 1>&6
11935 case "$PKG_CONFIG" in
11937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11940 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
11941 for ac_dir
in $PATH; do
11942 test -z "$ac_dir" && ac_dir
=.
11943 if test -f $ac_dir/$ac_word; then
11944 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11953 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11954 if test -n "$PKG_CONFIG"; then
11955 echo "$ac_t""$PKG_CONFIG" 1>&6
11957 echo "$ac_t""no" 1>&6
11962 if test "$PKG_CONFIG" = "no" ; then
11963 echo "*** The pkg-config script could not be found. Make sure it is"
11964 echo "*** in your path, or set the PKG_CONFIG environment variable"
11965 echo "*** to the full path to pkg-config."
11966 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
11968 PKG_CONFIG_MIN_VERSION
=0.9.0
11969 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11970 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
11971 echo "configure:11972: checking for pangoft2" >&5
11973 if $PKG_CONFIG --exists "pangoft2" ; then
11974 echo "$ac_t""yes" 1>&6
11977 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
11978 echo "configure:11979: checking PANGOFT2_CFLAGS" >&5
11979 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
11980 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
11982 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
11983 echo "configure:11984: checking PANGOFT2_LIBS" >&5
11984 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
11985 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
11989 ## If we have a custom action on failure, don't print errors, but
11990 ## do set a variable so people can do so.
11991 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
11998 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11999 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12003 if test $succeeded = yes; then
12005 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
12006 LIBS
="$LIBS $PANGOFT2_LIBS"
12010 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12011 wxUSE_PRINTING_ARCHITECTURE
="no"
12019 if test -z "$wx_cv_lib_gtk"; then
12020 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12021 if test "${with_gtk_prefix+set}" = set; then
12022 withval
="$with_gtk_prefix"
12023 gtk_config_prefix
="$withval"
12025 gtk_config_prefix
=""
12028 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12029 if test "${with_gtk_exec_prefix+set}" = set; then
12030 withval
="$with_gtk_exec_prefix"
12031 gtk_config_exec_prefix
="$withval"
12033 gtk_config_exec_prefix
=""
12036 # Check whether --enable-gtktest or --disable-gtktest was given.
12037 if test "${enable_gtktest+set}" = set; then
12038 enableval
="$enable_gtktest"
12045 for module
in .
$GTK_MODULES
12049 gtk_config_args
="$gtk_config_args gthread"
12054 if test x
$gtk_config_exec_prefix != x
; then
12055 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12056 if test x
${GTK_CONFIG+set} != xset
; then
12057 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12060 if test x
$gtk_config_prefix != x
; then
12061 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12062 if test x
${GTK_CONFIG+set} != xset
; then
12063 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12067 # Extract the first word of "gtk-config", so it can be a program name with args.
12068 set dummy gtk
-config; ac_word
=$2
12069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12070 echo "configure:12071: checking for $ac_word" >&5
12071 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12072 echo $ac_n "(cached) $ac_c" 1>&6
12074 case "$GTK_CONFIG" in
12076 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12080 for ac_dir
in $PATH; do
12081 test -z "$ac_dir" && ac_dir
=.
12082 if test -f $ac_dir/$ac_word; then
12083 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12088 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12092 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12093 if test -n "$GTK_CONFIG"; then
12094 echo "$ac_t""$GTK_CONFIG" 1>&6
12096 echo "$ac_t""no" 1>&6
12099 min_gtk_version
=1.2.7
12100 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12101 echo "configure:12102: checking for GTK - version >= $min_gtk_version" >&5
12103 if test "$GTK_CONFIG" = "no" ; then
12106 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12107 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12108 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12110 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12112 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12114 if test "x$enable_gtktest" = "xyes" ; then
12115 ac_save_CFLAGS
="$CFLAGS"
12116 ac_save_LIBS
="$LIBS"
12117 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12118 LIBS
="$GTK_LIBS $LIBS"
12120 if test "$cross_compiling" = yes; then
12121 echo $ac_n "cross compiling; assumed OK... $ac_c"
12123 cat > conftest.
$ac_ext <<EOF
12124 #line 12125 "configure"
12125 #include "confdefs.h"
12127 #include <gtk/gtk.h>
12129 #include <stdlib.h>
12134 int major, minor, micro;
12137 system ("touch conf.gtktest");
12139 /* HP/UX 9 (%@#!) writes to sscanf strings */
12140 tmp_version = g_strdup("$min_gtk_version");
12141 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12142 printf("%s, bad version string\n", "$min_gtk_version");
12146 if ((gtk_major_version != $gtk_config_major_version) ||
12147 (gtk_minor_version != $gtk_config_minor_version) ||
12148 (gtk_micro_version != $gtk_config_micro_version))
12150 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12151 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12152 gtk_major_version, gtk_minor_version, gtk_micro_version);
12153 printf ("*** was found! If gtk-config was correct, then it is best\n");
12154 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12155 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12156 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12157 printf("*** required on your system.\n");
12158 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12159 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12160 printf("*** before re-running configure\n");
12162 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12163 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12164 (gtk_minor_version != GTK_MINOR_VERSION) ||
12165 (gtk_micro_version != GTK_MICRO_VERSION))
12167 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12168 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12169 printf("*** library (version %d.%d.%d)\n",
12170 gtk_major_version, gtk_minor_version, gtk_micro_version);
12172 #endif /* defined (GTK_MAJOR_VERSION) ... */
12175 if ((gtk_major_version > major) ||
12176 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12177 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12183 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12184 gtk_major_version, gtk_minor_version, gtk_micro_version);
12185 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12186 major, minor, micro);
12187 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12189 printf("*** If you have already installed a sufficiently new version, this error\n");
12190 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12191 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12192 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12193 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12194 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12195 printf("*** so that the correct libraries are found at run-time))\n");
12202 if { (eval echo configure
:12203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
12206 echo "configure: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12214 CFLAGS
="$ac_save_CFLAGS"
12215 LIBS
="$ac_save_LIBS"
12218 if test "x$no_gtk" = x
; then
12219 echo "$ac_t""yes" 1>&6
12220 wx_cv_lib_gtk
=1.2.7
12222 echo "$ac_t""no" 1>&6
12223 if test "$GTK_CONFIG" = "no" ; then
12224 echo "*** The gtk-config script installed by GTK could not be found"
12225 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12226 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12227 echo "*** full path to gtk-config."
12229 if test -f conf.gtktest
; then
12232 echo "*** Could not run GTK test program, checking why..."
12233 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12234 LIBS
="$LIBS $GTK_LIBS"
12235 cat > conftest.
$ac_ext <<EOF
12236 #line 12237 "configure"
12237 #include "confdefs.h"
12239 #include <gtk/gtk.h>
12243 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12246 if { (eval echo configure
:12247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
12248 echo "*** The test program compiled, but did not run. This usually means"
12249 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12250 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12251 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12252 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12253 echo "*** is required on your system"
12255 echo "*** If you have an old version installed, it is best to remove it, although"
12256 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12258 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12259 echo "*** came with the system with the command"
12261 echo "*** rpm --erase --nodeps gtk gtk-devel"
12263 echo "configure: failed program was:" >&5
12264 cat conftest.
$ac_ext >&5
12266 echo "*** The test program failed to compile or link. See the file config.log for the"
12267 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12268 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12269 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12272 CFLAGS
="$ac_save_CFLAGS"
12273 LIBS
="$ac_save_LIBS"
12286 if test -z "$wx_cv_lib_gtk"; then
12287 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12288 if test "${with_gtk_prefix+set}" = set; then
12289 withval
="$with_gtk_prefix"
12290 gtk_config_prefix
="$withval"
12292 gtk_config_prefix
=""
12295 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12296 if test "${with_gtk_exec_prefix+set}" = set; then
12297 withval
="$with_gtk_exec_prefix"
12298 gtk_config_exec_prefix
="$withval"
12300 gtk_config_exec_prefix
=""
12303 # Check whether --enable-gtktest or --disable-gtktest was given.
12304 if test "${enable_gtktest+set}" = set; then
12305 enableval
="$enable_gtktest"
12312 for module
in .
$GTK_MODULES
12316 gtk_config_args
="$gtk_config_args gthread"
12321 if test x
$gtk_config_exec_prefix != x
; then
12322 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12323 if test x
${GTK_CONFIG+set} != xset
; then
12324 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12327 if test x
$gtk_config_prefix != x
; then
12328 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12329 if test x
${GTK_CONFIG+set} != xset
; then
12330 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12334 # Extract the first word of "gtk-config", so it can be a program name with args.
12335 set dummy gtk
-config; ac_word
=$2
12336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12337 echo "configure:12338: checking for $ac_word" >&5
12338 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12339 echo $ac_n "(cached) $ac_c" 1>&6
12341 case "$GTK_CONFIG" in
12343 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12347 for ac_dir
in $PATH; do
12348 test -z "$ac_dir" && ac_dir
=.
12349 if test -f $ac_dir/$ac_word; then
12350 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12355 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12359 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12360 if test -n "$GTK_CONFIG"; then
12361 echo "$ac_t""$GTK_CONFIG" 1>&6
12363 echo "$ac_t""no" 1>&6
12366 min_gtk_version
=1.2.3
12367 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12368 echo "configure:12369: checking for GTK - version >= $min_gtk_version" >&5
12370 if test "$GTK_CONFIG" = "no" ; then
12373 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12374 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12375 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12377 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12379 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12381 if test "x$enable_gtktest" = "xyes" ; then
12382 ac_save_CFLAGS
="$CFLAGS"
12383 ac_save_LIBS
="$LIBS"
12384 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12385 LIBS
="$GTK_LIBS $LIBS"
12387 if test "$cross_compiling" = yes; then
12388 echo $ac_n "cross compiling; assumed OK... $ac_c"
12390 cat > conftest.
$ac_ext <<EOF
12391 #line 12392 "configure"
12392 #include "confdefs.h"
12394 #include <gtk/gtk.h>
12396 #include <stdlib.h>
12401 int major, minor, micro;
12404 system ("touch conf.gtktest");
12406 /* HP/UX 9 (%@#!) writes to sscanf strings */
12407 tmp_version = g_strdup("$min_gtk_version");
12408 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12409 printf("%s, bad version string\n", "$min_gtk_version");
12413 if ((gtk_major_version != $gtk_config_major_version) ||
12414 (gtk_minor_version != $gtk_config_minor_version) ||
12415 (gtk_micro_version != $gtk_config_micro_version))
12417 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12418 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12419 gtk_major_version, gtk_minor_version, gtk_micro_version);
12420 printf ("*** was found! If gtk-config was correct, then it is best\n");
12421 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12422 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12423 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12424 printf("*** required on your system.\n");
12425 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12426 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12427 printf("*** before re-running configure\n");
12429 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12430 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12431 (gtk_minor_version != GTK_MINOR_VERSION) ||
12432 (gtk_micro_version != GTK_MICRO_VERSION))
12434 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12435 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12436 printf("*** library (version %d.%d.%d)\n",
12437 gtk_major_version, gtk_minor_version, gtk_micro_version);
12439 #endif /* defined (GTK_MAJOR_VERSION) ... */
12442 if ((gtk_major_version > major) ||
12443 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12444 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12450 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12451 gtk_major_version, gtk_minor_version, gtk_micro_version);
12452 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12453 major, minor, micro);
12454 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12456 printf("*** If you have already installed a sufficiently new version, this error\n");
12457 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12458 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12459 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12460 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12461 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12462 printf("*** so that the correct libraries are found at run-time))\n");
12469 if { (eval echo configure
:12470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
12473 echo "configure: failed program was:" >&5
12474 cat conftest.
$ac_ext >&5
12481 CFLAGS
="$ac_save_CFLAGS"
12482 LIBS
="$ac_save_LIBS"
12485 if test "x$no_gtk" = x
; then
12486 echo "$ac_t""yes" 1>&6
12487 wx_cv_lib_gtk
=1.2.3
12489 echo "$ac_t""no" 1>&6
12490 if test "$GTK_CONFIG" = "no" ; then
12491 echo "*** The gtk-config script installed by GTK could not be found"
12492 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12493 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12494 echo "*** full path to gtk-config."
12496 if test -f conf.gtktest
; then
12499 echo "*** Could not run GTK test program, checking why..."
12500 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12501 LIBS
="$LIBS $GTK_LIBS"
12502 cat > conftest.
$ac_ext <<EOF
12503 #line 12504 "configure"
12504 #include "confdefs.h"
12506 #include <gtk/gtk.h>
12510 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12513 if { (eval echo configure
:12514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
12515 echo "*** The test program compiled, but did not run. This usually means"
12516 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12517 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12518 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12519 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12520 echo "*** is required on your system"
12522 echo "*** If you have an old version installed, it is best to remove it, although"
12523 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12525 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12526 echo "*** came with the system with the command"
12528 echo "*** rpm --erase --nodeps gtk gtk-devel"
12530 echo "configure: failed program was:" >&5
12531 cat conftest.
$ac_ext >&5
12533 echo "*** The test program failed to compile or link. See the file config.log for the"
12534 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12535 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12536 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12539 CFLAGS
="$ac_save_CFLAGS"
12540 LIBS
="$ac_save_LIBS"
12553 if test -z "$wx_cv_lib_gtk"; then
12556 wx_cv_cflags_gtk
=$GTK_CFLAGS
12557 wx_cv_libs_gtk
=$GTK_LIBS
12564 if test "$gtk_version_cached" = 1; then
12565 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12568 case "$wx_cv_lib_gtk" in
12576 *) { echo "configure: error:
12577 Please check that gtk-config is in path, the directory
12578 where GTK+ libraries are installed (returned by
12579 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12580 equivalent variable and GTK+ is version 1.2.3 or above.
12585 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12586 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12588 AFMINSTALL
=afminstall
12592 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12593 echo "configure:12594: checking for gdk_im_open in -lgdk" >&5
12594 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12595 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12596 echo $ac_n "(cached) $ac_c" 1>&6
12598 ac_save_LIBS
="$LIBS"
12600 cat > conftest.
$ac_ext <<EOF
12601 #line 12602 "configure"
12602 #include "confdefs.h"
12603 /* Override any gcc2 internal prototype to avoid an error. */
12604 /* We use char because int might match the return type of a gcc2
12605 builtin and then its argument prototype would still apply. */
12606 char gdk_im_open();
12612 if { (eval echo configure
:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
12614 eval "ac_cv_lib_$ac_lib_var=yes"
12616 echo "configure: failed program was:" >&5
12617 cat conftest.
$ac_ext >&5
12619 eval "ac_cv_lib_$ac_lib_var=no"
12622 LIBS
="$ac_save_LIBS"
12625 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12626 echo "$ac_t""yes" 1>&6
12627 cat >> confdefs.h
<<\EOF
12632 echo "$ac_t""no" 1>&6
12637 if test "$wxUSE_MGL" = 1; then
12638 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12639 echo "configure:12640: checking for SciTech MGL library" >&5
12640 if test "x$MGL_ROOT" = x
; then
12641 echo "$ac_t""not found" 1>&6
12642 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12644 echo "$ac_t""$MGL_ROOT" 1>&6
12649 mgl_os
=linux
/gcc
/glibc
12655 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12660 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12661 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12662 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12666 if test "x$mgl_lib_type" = x
; then
12667 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12668 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12669 mgl_lib_type
=release
12671 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12675 wxUSE_UNIVERSAL
="yes"
12677 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12678 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12680 AFMINSTALL
=afminstall
12685 if test "$wxUSE_MICROWIN" = 1; then
12686 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12687 echo "configure:12688: checking for MicroWindows" >&5
12688 if test "x$MICROWINDOWS" = x
; then
12689 echo "$ac_t""not found" 1>&6
12690 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12692 echo "$ac_t""$MICROWINDOWS" 1>&6
12695 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12696 echo "$ac_t""MicroWindows' libraries found." 1>&6
12698 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12701 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12702 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12704 wxUSE_UNIVERSAL
="yes"
12706 AFMINSTALL
=afminstall
12708 GUIDIST
=MICROWIN_DIST
12710 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12713 if test "$wxUSE_X11" = 1; then
12714 # If we find X, set shell vars x_includes and x_libraries to the
12715 # paths, otherwise set no_x=yes.
12716 # Uses ac_ vars as temps to allow command line to override cache and checks.
12717 # --without-x overrides everything else, but does not touch the cache.
12718 echo $ac_n "checking for X""... $ac_c" 1>&6
12719 echo "configure:12720: checking for X" >&5
12721 # Check whether --with-x or --without-x was given.
12722 if test "${with_x+set}" = set; then
12727 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12728 if test "x$with_x" = xno
; then
12729 # The user explicitly disabled X.
12732 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12733 # Both variables are already set.
12736 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12737 echo $ac_n "(cached) $ac_c" 1>&6
12739 # One or both of the vars are not set, and there is no cached value.
12740 ac_x_includes
=NO ac_x_libraries
=NO
12742 if mkdir conftestdir
; then
12744 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12745 cat > Imakefile
<<'EOF'
12747 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12749 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12750 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12751 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12752 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12753 for ac_extension
in a so sl
; do
12754 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12755 test -f $ac_im_libdir/libX11.
$ac_extension; then
12756 ac_im_usrlibdir
=$ac_im_libdir; break
12759 # Screen out bogus values from the imake configuration. They are
12760 # bogus both because they are the default anyway, and because
12761 # using them would break gcc on systems where it needs fixed includes.
12762 case "$ac_im_incroot" in
12764 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12766 case "$ac_im_usrlibdir" in
12767 /usr
/lib
| /lib
) ;;
12768 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12775 if test "$ac_x_includes" = NO
; then
12776 # Guess where to find include files, by looking for this one X11 .h file.
12777 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12779 # First, try using that file with no special directory specified.
12780 cat > conftest.
$ac_ext <<EOF
12781 #line 12782 "configure"
12782 #include "confdefs.h"
12783 #include <$x_direct_test_include>
12785 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12786 { (eval echo configure
:12787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12787 ac_err
=`grep -v '^ *+' conftest.out`
12788 if test -z "$ac_err"; then
12790 # We can compile using X headers with no special include directory.
12794 echo "configure: failed program was:" >&5
12795 cat conftest.
$ac_ext >&5
12797 # Look for the header file in a standard set of common directories.
12798 # Check X11 before X11Rn because it is often a symlink to the current release.
12801 /usr
/X
11R
6/include \
12802 /usr
/X
11R
5/include \
12803 /usr
/X
11R
4/include \
12806 /usr
/include
/X11R6 \
12807 /usr
/include
/X11R5 \
12808 /usr
/include
/X11R4 \
12810 /usr
/local
/X
11/include \
12811 /usr
/local
/X
11R
6/include \
12812 /usr
/local
/X
11R
5/include \
12813 /usr
/local
/X
11R
4/include \
12815 /usr
/local
/include
/X11 \
12816 /usr
/local
/include
/X11R6 \
12817 /usr
/local
/include
/X11R5 \
12818 /usr
/local
/include
/X11R4 \
12820 /usr
/X
386/include \
12821 /usr
/x
386/include \
12822 /usr
/XFree
86/include
/X11 \
12825 /usr
/local
/include \
12826 /usr
/unsupported
/include \
12827 /usr
/athena
/include \
12828 /usr
/local
/x
11r
5/include \
12829 /usr
/lpp
/Xamples
/include \
12831 /usr
/openwin
/include \
12832 /usr
/openwin
/share
/include \
12835 if test -r "$ac_dir/$x_direct_test_include"; then
12836 ac_x_includes
=$ac_dir
12842 fi # $ac_x_includes = NO
12844 if test "$ac_x_libraries" = NO
; then
12845 # Check for the libraries.
12847 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12848 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12850 # See if we find them without any special options.
12851 # Don't add to $LIBS permanently.
12852 ac_save_LIBS
="$LIBS"
12853 LIBS
="-l$x_direct_test_library $LIBS"
12854 cat > conftest.
$ac_ext <<EOF
12855 #line 12856 "configure"
12856 #include "confdefs.h"
12859 ${x_direct_test_function}()
12862 if { (eval echo configure
:12863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
12864 LIBS
="$ac_save_LIBS"
12865 # We can link X programs with no special library path.
12868 echo "configure: failed program was:" >&5
12869 cat conftest.
$ac_ext >&5
12871 LIBS
="$ac_save_LIBS"
12872 # First see if replacing the include by lib works.
12873 # Check X11 before X11Rn because it is often a symlink to the current release.
12874 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12885 /usr
/local
/X
11/lib \
12886 /usr
/local
/X
11R
6/lib \
12887 /usr
/local
/X
11R
5/lib \
12888 /usr
/local
/X
11R
4/lib \
12890 /usr
/local
/lib
/X11 \
12891 /usr
/local
/lib
/X11R6 \
12892 /usr
/local
/lib
/X11R5 \
12893 /usr
/local
/lib
/X11R4 \
12897 /usr
/XFree
86/lib
/X11 \
12901 /usr
/unsupported
/lib \
12903 /usr
/local
/x
11r
5/lib \
12904 /usr
/lpp
/Xamples
/lib \
12908 /usr
/openwin
/share
/lib \
12911 for ac_extension
in a so sl
; do
12912 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12913 ac_x_libraries
=$ac_dir
12920 fi # $ac_x_libraries = NO
12922 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12923 # Didn't find X anywhere. Cache the known absence of X.
12924 ac_cv_have_x
="have_x=no"
12926 # Record where we found X for the cache.
12927 ac_cv_have_x
="have_x=yes \
12928 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12932 eval "$ac_cv_have_x"
12935 if test "$have_x" != yes; then
12936 echo "$ac_t""$have_x" 1>&6
12939 # If each of the values was on the command line, it overrides each guess.
12940 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12941 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12942 # Update the cache value to reflect the command line values.
12943 ac_cv_have_x
="have_x=yes \
12944 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12945 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12948 if test "$no_x" = yes; then
12949 # Not all programs may use this symbol, but it does not hurt to define it.
12950 cat >> confdefs.h
<<\EOF
12951 #define X_DISPLAY_MISSING 1
12954 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12956 if test -n "$x_includes"; then
12957 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12960 # It would also be nice to do this for all -L options, not just this one.
12961 if test -n "$x_libraries"; then
12962 X_LIBS
="$X_LIBS -L$x_libraries"
12963 # For Solaris; some versions of Sun CC require a space after -R and
12964 # others require no space. Words are not sufficient . . . .
12965 case "`(uname -sr) 2>/dev/null`" in
12967 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12968 echo "configure:12969: checking whether -R must be followed by a space" >&5
12969 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12970 cat > conftest.
$ac_ext <<EOF
12971 #line 12972 "configure"
12972 #include "confdefs.h"
12978 if { (eval echo configure
:12979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
12982 echo "configure: failed program was:" >&5
12983 cat conftest.
$ac_ext >&5
12988 if test $ac_R_nospace = yes; then
12989 echo "$ac_t""no" 1>&6
12990 X_LIBS
="$X_LIBS -R$x_libraries"
12992 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12993 cat > conftest.
$ac_ext <<EOF
12994 #line 12995 "configure"
12995 #include "confdefs.h"
13001 if { (eval echo configure
:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13005 echo "configure: failed program was:" >&5
13006 cat conftest.
$ac_ext >&5
13011 if test $ac_R_space = yes; then
13012 echo "$ac_t""yes" 1>&6
13013 X_LIBS
="$X_LIBS -R $x_libraries"
13015 echo "$ac_t""neither works" 1>&6
13018 LIBS
="$ac_xsave_LIBS"
13022 # Check for system-dependent libraries X programs must link with.
13023 # Do this before checking for the system-independent R6 libraries
13024 # (-lICE), since we may need -lsocket or whatever for X linking.
13026 if test "$ISC" = yes; then
13027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13029 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13030 # libraries were built with DECnet support. And karl@cs.umb.edu says
13031 # the Alpha needs dnet_stub (dnet does not exist).
13032 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13033 echo "configure:13034: checking for dnet_ntoa in -ldnet" >&5
13034 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13038 ac_save_LIBS
="$LIBS"
13039 LIBS
="-ldnet $LIBS"
13040 cat > conftest.
$ac_ext <<EOF
13041 #line 13042 "configure"
13042 #include "confdefs.h"
13043 /* Override any gcc2 internal prototype to avoid an error. */
13044 /* We use char because int might match the return type of a gcc2
13045 builtin and then its argument prototype would still apply. */
13052 if { (eval echo configure
:13053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13054 eval "ac_cv_lib_$ac_lib_var=yes"
13056 echo "configure: failed program was:" >&5
13057 cat conftest.
$ac_ext >&5
13059 eval "ac_cv_lib_$ac_lib_var=no"
13062 LIBS
="$ac_save_LIBS"
13065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13066 echo "$ac_t""yes" 1>&6
13067 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13069 echo "$ac_t""no" 1>&6
13072 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13073 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13074 echo "configure:13075: checking for dnet_ntoa in -ldnet_stub" >&5
13075 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13077 echo $ac_n "(cached) $ac_c" 1>&6
13079 ac_save_LIBS
="$LIBS"
13080 LIBS
="-ldnet_stub $LIBS"
13081 cat > conftest.
$ac_ext <<EOF
13082 #line 13083 "configure"
13083 #include "confdefs.h"
13084 /* Override any gcc2 internal prototype to avoid an error. */
13085 /* We use char because int might match the return type of a gcc2
13086 builtin and then its argument prototype would still apply. */
13093 if { (eval echo configure
:13094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13095 eval "ac_cv_lib_$ac_lib_var=yes"
13097 echo "configure: failed program was:" >&5
13098 cat conftest.
$ac_ext >&5
13100 eval "ac_cv_lib_$ac_lib_var=no"
13103 LIBS
="$ac_save_LIBS"
13106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13107 echo "$ac_t""yes" 1>&6
13108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13110 echo "$ac_t""no" 1>&6
13115 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13116 # to get the SysV transport functions.
13117 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13119 # The nsl library prevents programs from opening the X display
13120 # on Irix 5.2, according to dickey@clark.net.
13121 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13122 echo "configure:13123: checking for gethostbyname" >&5
13123 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13124 echo $ac_n "(cached) $ac_c" 1>&6
13126 cat > conftest.
$ac_ext <<EOF
13127 #line 13128 "configure"
13128 #include "confdefs.h"
13129 /* System header to define __stub macros and hopefully few prototypes,
13130 which can conflict with char gethostbyname(); below. */
13131 #include <assert.h>
13132 /* Override any gcc2 internal prototype to avoid an error. */
13133 /* We use char because int might match the return type of a gcc2
13134 builtin and then its argument prototype would still apply. */
13135 char gethostbyname();
13139 /* The GNU C library defines this for functions which it implements
13140 to always fail with ENOSYS. Some functions are actually named
13141 something starting with __ and the normal name is an alias. */
13142 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13150 if { (eval echo configure
:13151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13152 eval "ac_cv_func_gethostbyname=yes"
13154 echo "configure: failed program was:" >&5
13155 cat conftest.
$ac_ext >&5
13157 eval "ac_cv_func_gethostbyname=no"
13162 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13163 echo "$ac_t""yes" 1>&6
13166 echo "$ac_t""no" 1>&6
13169 if test $ac_cv_func_gethostbyname = no
; then
13170 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13171 echo "configure:13172: checking for gethostbyname in -lnsl" >&5
13172 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13174 echo $ac_n "(cached) $ac_c" 1>&6
13176 ac_save_LIBS
="$LIBS"
13178 cat > conftest.
$ac_ext <<EOF
13179 #line 13180 "configure"
13180 #include "confdefs.h"
13181 /* Override any gcc2 internal prototype to avoid an error. */
13182 /* We use char because int might match the return type of a gcc2
13183 builtin and then its argument prototype would still apply. */
13184 char gethostbyname();
13190 if { (eval echo configure
:13191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13192 eval "ac_cv_lib_$ac_lib_var=yes"
13194 echo "configure: failed program was:" >&5
13195 cat conftest.
$ac_ext >&5
13197 eval "ac_cv_lib_$ac_lib_var=no"
13200 LIBS
="$ac_save_LIBS"
13203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13204 echo "$ac_t""yes" 1>&6
13205 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13207 echo "$ac_t""no" 1>&6
13212 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13213 # socket/setsockopt and other routines are undefined under SCO ODT
13214 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13215 # on later versions), says simon@lia.di.epfl.ch: it contains
13216 # gethostby* variants that don't use the nameserver (or something).
13217 # -lsocket must be given before -lnsl if both are needed.
13218 # We assume that if connect needs -lnsl, so does gethostbyname.
13219 echo $ac_n "checking for connect""... $ac_c" 1>&6
13220 echo "configure:13221: checking for connect" >&5
13221 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13222 echo $ac_n "(cached) $ac_c" 1>&6
13224 cat > conftest.
$ac_ext <<EOF
13225 #line 13226 "configure"
13226 #include "confdefs.h"
13227 /* System header to define __stub macros and hopefully few prototypes,
13228 which can conflict with char connect(); below. */
13229 #include <assert.h>
13230 /* Override any gcc2 internal prototype to avoid an error. */
13231 /* We use char because int might match the return type of a gcc2
13232 builtin and then its argument prototype would still apply. */
13237 /* The GNU C library defines this for functions which it implements
13238 to always fail with ENOSYS. Some functions are actually named
13239 something starting with __ and the normal name is an alias. */
13240 #if defined (__stub_connect) || defined (__stub___connect)
13248 if { (eval echo configure
:13249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13250 eval "ac_cv_func_connect=yes"
13252 echo "configure: failed program was:" >&5
13253 cat conftest.
$ac_ext >&5
13255 eval "ac_cv_func_connect=no"
13260 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13261 echo "$ac_t""yes" 1>&6
13264 echo "$ac_t""no" 1>&6
13267 if test $ac_cv_func_connect = no
; then
13268 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13269 echo "configure:13270: checking for connect in -lsocket" >&5
13270 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13272 echo $ac_n "(cached) $ac_c" 1>&6
13274 ac_save_LIBS
="$LIBS"
13275 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13276 cat > conftest.
$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* Override any gcc2 internal prototype to avoid an error. */
13280 /* We use char because int might match the return type of a gcc2
13281 builtin and then its argument prototype would still apply. */
13288 if { (eval echo configure
:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13290 eval "ac_cv_lib_$ac_lib_var=yes"
13292 echo "configure: failed program was:" >&5
13293 cat conftest.
$ac_ext >&5
13295 eval "ac_cv_lib_$ac_lib_var=no"
13298 LIBS
="$ac_save_LIBS"
13301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13302 echo "$ac_t""yes" 1>&6
13303 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13305 echo "$ac_t""no" 1>&6
13310 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13311 echo $ac_n "checking for remove""... $ac_c" 1>&6
13312 echo "configure:13313: checking for remove" >&5
13313 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13316 cat > conftest.
$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13319 /* System header to define __stub macros and hopefully few prototypes,
13320 which can conflict with char remove(); below. */
13321 #include <assert.h>
13322 /* Override any gcc2 internal prototype to avoid an error. */
13323 /* We use char because int might match the return type of a gcc2
13324 builtin and then its argument prototype would still apply. */
13329 /* The GNU C library defines this for functions which it implements
13330 to always fail with ENOSYS. Some functions are actually named
13331 something starting with __ and the normal name is an alias. */
13332 #if defined (__stub_remove) || defined (__stub___remove)
13340 if { (eval echo configure
:13341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13342 eval "ac_cv_func_remove=yes"
13344 echo "configure: failed program was:" >&5
13345 cat conftest.
$ac_ext >&5
13347 eval "ac_cv_func_remove=no"
13352 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13353 echo "$ac_t""yes" 1>&6
13356 echo "$ac_t""no" 1>&6
13359 if test $ac_cv_func_remove = no
; then
13360 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13361 echo "configure:13362: checking for remove in -lposix" >&5
13362 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13364 echo $ac_n "(cached) $ac_c" 1>&6
13366 ac_save_LIBS
="$LIBS"
13367 LIBS
="-lposix $LIBS"
13368 cat > conftest.
$ac_ext <<EOF
13369 #line 13370 "configure"
13370 #include "confdefs.h"
13371 /* Override any gcc2 internal prototype to avoid an error. */
13372 /* We use char because int might match the return type of a gcc2
13373 builtin and then its argument prototype would still apply. */
13380 if { (eval echo configure
:13381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13382 eval "ac_cv_lib_$ac_lib_var=yes"
13384 echo "configure: failed program was:" >&5
13385 cat conftest.
$ac_ext >&5
13387 eval "ac_cv_lib_$ac_lib_var=no"
13390 LIBS
="$ac_save_LIBS"
13393 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13394 echo "$ac_t""yes" 1>&6
13395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13397 echo "$ac_t""no" 1>&6
13402 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13403 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13404 echo "configure:13405: checking for shmat" >&5
13405 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13406 echo $ac_n "(cached) $ac_c" 1>&6
13408 cat > conftest.
$ac_ext <<EOF
13409 #line 13410 "configure"
13410 #include "confdefs.h"
13411 /* System header to define __stub macros and hopefully few prototypes,
13412 which can conflict with char shmat(); below. */
13413 #include <assert.h>
13414 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13421 /* The GNU C library defines this for functions which it implements
13422 to always fail with ENOSYS. Some functions are actually named
13423 something starting with __ and the normal name is an alias. */
13424 #if defined (__stub_shmat) || defined (__stub___shmat)
13432 if { (eval echo configure
:13433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13434 eval "ac_cv_func_shmat=yes"
13436 echo "configure: failed program was:" >&5
13437 cat conftest.
$ac_ext >&5
13439 eval "ac_cv_func_shmat=no"
13444 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13445 echo "$ac_t""yes" 1>&6
13448 echo "$ac_t""no" 1>&6
13451 if test $ac_cv_func_shmat = no
; then
13452 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13453 echo "configure:13454: checking for shmat in -lipc" >&5
13454 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13458 ac_save_LIBS
="$LIBS"
13460 cat > conftest.
$ac_ext <<EOF
13461 #line 13462 "configure"
13462 #include "confdefs.h"
13463 /* Override any gcc2 internal prototype to avoid an error. */
13464 /* We use char because int might match the return type of a gcc2
13465 builtin and then its argument prototype would still apply. */
13472 if { (eval echo configure
:13473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13474 eval "ac_cv_lib_$ac_lib_var=yes"
13476 echo "configure: failed program was:" >&5
13477 cat conftest.
$ac_ext >&5
13479 eval "ac_cv_lib_$ac_lib_var=no"
13482 LIBS
="$ac_save_LIBS"
13485 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13486 echo "$ac_t""yes" 1>&6
13487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13489 echo "$ac_t""no" 1>&6
13495 # Check for libraries that X11R6 Xt/Xaw programs need.
13496 ac_save_LDFLAGS
="$LDFLAGS"
13497 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13498 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13499 # check for ICE first), but we must link in the order -lSM -lICE or
13500 # we get undefined symbols. So assume we have SM if we have ICE.
13501 # These have to be linked with before -lX11, unlike the other
13502 # libraries we check for below, so use a different variable.
13503 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13504 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13505 echo "configure:13506: checking for IceConnectionNumber in -lICE" >&5
13506 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13508 echo $ac_n "(cached) $ac_c" 1>&6
13510 ac_save_LIBS
="$LIBS"
13512 cat > conftest.
$ac_ext <<EOF
13513 #line 13514 "configure"
13514 #include "confdefs.h"
13515 /* Override any gcc2 internal prototype to avoid an error. */
13516 /* We use char because int might match the return type of a gcc2
13517 builtin and then its argument prototype would still apply. */
13518 char IceConnectionNumber();
13521 IceConnectionNumber()
13524 if { (eval echo configure
:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13526 eval "ac_cv_lib_$ac_lib_var=yes"
13528 echo "configure: failed program was:" >&5
13529 cat conftest.
$ac_ext >&5
13531 eval "ac_cv_lib_$ac_lib_var=no"
13534 LIBS
="$ac_save_LIBS"
13537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13538 echo "$ac_t""yes" 1>&6
13539 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13541 echo "$ac_t""no" 1>&6
13544 LDFLAGS
="$ac_save_LDFLAGS"
13549 if test "$no_x" = "yes"; then
13550 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13553 GUI_TK_LIBRARY
="$X_LIBS"
13554 TOOLKIT_INCLUDE
="$X_CFLAGS"
13555 AFMINSTALL
=afminstall
13556 COMPILED_X_PROGRAM
=0
13558 if test "$wxUSE_NANOX" = "yes"; then
13559 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13560 echo "configure:13561: checking for MicroWindows/NanoX distribution" >&5
13561 if test "x$MICROWIN" = x
; then
13562 echo "$ac_t""not found" 1>&6
13563 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13565 echo "$ac_t""$MICROWIN" 1>&6
13566 cat >> confdefs.h
<<\EOF
13567 #define wxUSE_NANOX 1
13574 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13575 echo "configure:13576: checking for Xpm library" >&5
13578 for ac_dir
in $SEARCH_LIB;
13580 for ac_extension
in a so sl dylib
; do
13581 if test -f "$ac_dir/libXpm.$ac_extension"; then
13582 ac_find_libraries
=$ac_dir
13588 if test "$ac_find_libraries" != "" ; then
13590 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13592 if test $result = 0; then
13595 ac_path_to_link
=" -L$ac_find_libraries"
13598 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13600 cat >> confdefs.h
<<\EOF
13601 #define wxHAVE_LIB_XPM 1
13604 echo "$ac_t""found at $ac_find_libraries" 1>&6
13606 cat > conftest.
$ac_ext <<EOF
13607 #line 13608 "configure"
13608 #include "confdefs.h"
13610 #include <X11/xpm.h>
13615 version = XpmLibraryVersion();
13619 if { (eval echo configure
:13620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13623 cat >> confdefs.h
<<\EOF
13624 #define wxHAVE_LIB_XPM 1
13627 echo "$ac_t""found in default search path" 1>&6
13628 COMPILED_X_PROGRAM
=0
13631 echo "configure: failed program was:" >&5
13632 cat conftest.
$ac_ext >&5
13635 echo "$ac_t""no" 1>&6
13636 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13643 wxUSE_UNIVERSAL
="yes"
13645 if test "$wxUSE_NANOX" = "yes"; then
13646 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13647 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
13648 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13650 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13653 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13658 if test "$wxUSE_WINE" = 1; then
13659 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13660 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13661 echo "configure:13662: checking for windows.h" >&5
13662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13663 echo $ac_n "(cached) $ac_c" 1>&6
13665 cat > conftest.
$ac_ext <<EOF
13666 #line 13667 "configure"
13667 #include "confdefs.h"
13668 #include <windows.h>
13670 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13671 { (eval echo configure
:13672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13672 ac_err
=`grep -v '^ *+' conftest.out`
13673 if test -z "$ac_err"; then
13675 eval "ac_cv_header_$ac_safe=yes"
13678 echo "configure: failed program was:" >&5
13679 cat conftest.
$ac_ext >&5
13681 eval "ac_cv_header_$ac_safe=no"
13685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13686 echo "$ac_t""yes" 1>&6
13689 echo "$ac_t""no" 1>&6
13691 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13697 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13698 echo "configure:13699: checking for Xpm library" >&5
13701 for ac_dir
in $SEARCH_LIB;
13703 for ac_extension
in a so sl dylib
; do
13704 if test -f "$ac_dir/libXpm.$ac_extension"; then
13705 ac_find_libraries
=$ac_dir
13711 if test "$ac_find_libraries" != "" ; then
13712 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13714 cat >> confdefs.h
<<\EOF
13715 #define wxHAVE_LIB_XPM 1
13718 echo "$ac_t""found at $ac_find_libraries" 1>&6
13720 echo "$ac_t""no" 1>&6
13721 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13725 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13726 echo "configure:13727: checking for Mesa library" >&5
13729 for ac_dir
in $SEARCH_LIB;
13731 for ac_extension
in a so sl dylib
; do
13732 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13733 ac_find_libraries
=$ac_dir
13739 if test "$ac_find_libraries" != "" ; then
13740 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13741 mesa_link
=" -lMesaGL"
13742 echo "$ac_t""found at $ac_find_libraries" 1>&6
13744 { echo "configure: error: no" 1>&2; exit 1; }
13747 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13750 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13753 if test "$wxUSE_MOTIF" = 1; then
13754 if test "$no_x" = yes; then
13755 # Not all programs may use this symbol, but it does not hurt to define it.
13756 cat >> confdefs.h
<<\EOF
13757 #define X_DISPLAY_MISSING 1
13760 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13762 if test -n "$x_includes"; then
13763 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13766 # It would also be nice to do this for all -L options, not just this one.
13767 if test -n "$x_libraries"; then
13768 X_LIBS
="$X_LIBS -L$x_libraries"
13769 # For Solaris; some versions of Sun CC require a space after -R and
13770 # others require no space. Words are not sufficient . . . .
13771 case "`(uname -sr) 2>/dev/null`" in
13773 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13774 echo "configure:13775: checking whether -R must be followed by a space" >&5
13775 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13776 cat > conftest.
$ac_ext <<EOF
13777 #line 13778 "configure"
13778 #include "confdefs.h"
13784 if { (eval echo configure
:13785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13788 echo "configure: failed program was:" >&5
13789 cat conftest.
$ac_ext >&5
13794 if test $ac_R_nospace = yes; then
13795 echo "$ac_t""no" 1>&6
13796 X_LIBS
="$X_LIBS -R$x_libraries"
13798 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13799 cat > conftest.
$ac_ext <<EOF
13800 #line 13801 "configure"
13801 #include "confdefs.h"
13807 if { (eval echo configure
:13808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13811 echo "configure: failed program was:" >&5
13812 cat conftest.
$ac_ext >&5
13817 if test $ac_R_space = yes; then
13818 echo "$ac_t""yes" 1>&6
13819 X_LIBS
="$X_LIBS -R $x_libraries"
13821 echo "$ac_t""neither works" 1>&6
13824 LIBS
="$ac_xsave_LIBS"
13828 # Check for system-dependent libraries X programs must link with.
13829 # Do this before checking for the system-independent R6 libraries
13830 # (-lICE), since we may need -lsocket or whatever for X linking.
13832 if test "$ISC" = yes; then
13833 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13835 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13836 # libraries were built with DECnet support. And karl@cs.umb.edu says
13837 # the Alpha needs dnet_stub (dnet does not exist).
13838 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13839 echo "configure:13840: checking for dnet_ntoa in -ldnet" >&5
13840 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13841 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13842 echo $ac_n "(cached) $ac_c" 1>&6
13844 ac_save_LIBS
="$LIBS"
13845 LIBS
="-ldnet $LIBS"
13846 cat > conftest.
$ac_ext <<EOF
13847 #line 13848 "configure"
13848 #include "confdefs.h"
13849 /* Override any gcc2 internal prototype to avoid an error. */
13850 /* We use char because int might match the return type of a gcc2
13851 builtin and then its argument prototype would still apply. */
13858 if { (eval echo configure
:13859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13860 eval "ac_cv_lib_$ac_lib_var=yes"
13862 echo "configure: failed program was:" >&5
13863 cat conftest.
$ac_ext >&5
13865 eval "ac_cv_lib_$ac_lib_var=no"
13868 LIBS
="$ac_save_LIBS"
13871 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13872 echo "$ac_t""yes" 1>&6
13873 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13875 echo "$ac_t""no" 1>&6
13878 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13879 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13880 echo "configure:13881: checking for dnet_ntoa in -ldnet_stub" >&5
13881 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13883 echo $ac_n "(cached) $ac_c" 1>&6
13885 ac_save_LIBS
="$LIBS"
13886 LIBS
="-ldnet_stub $LIBS"
13887 cat > conftest.
$ac_ext <<EOF
13888 #line 13889 "configure"
13889 #include "confdefs.h"
13890 /* Override any gcc2 internal prototype to avoid an error. */
13891 /* We use char because int might match the return type of a gcc2
13892 builtin and then its argument prototype would still apply. */
13899 if { (eval echo configure
:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13901 eval "ac_cv_lib_$ac_lib_var=yes"
13903 echo "configure: failed program was:" >&5
13904 cat conftest.
$ac_ext >&5
13906 eval "ac_cv_lib_$ac_lib_var=no"
13909 LIBS
="$ac_save_LIBS"
13912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13913 echo "$ac_t""yes" 1>&6
13914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13916 echo "$ac_t""no" 1>&6
13921 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13922 # to get the SysV transport functions.
13923 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13925 # The nsl library prevents programs from opening the X display
13926 # on Irix 5.2, according to dickey@clark.net.
13927 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13928 echo "configure:13929: checking for gethostbyname" >&5
13929 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13930 echo $ac_n "(cached) $ac_c" 1>&6
13932 cat > conftest.
$ac_ext <<EOF
13933 #line 13934 "configure"
13934 #include "confdefs.h"
13935 /* System header to define __stub macros and hopefully few prototypes,
13936 which can conflict with char gethostbyname(); below. */
13937 #include <assert.h>
13938 /* Override any gcc2 internal prototype to avoid an error. */
13939 /* We use char because int might match the return type of a gcc2
13940 builtin and then its argument prototype would still apply. */
13941 char gethostbyname();
13945 /* The GNU C library defines this for functions which it implements
13946 to always fail with ENOSYS. Some functions are actually named
13947 something starting with __ and the normal name is an alias. */
13948 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13956 if { (eval echo configure
:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13958 eval "ac_cv_func_gethostbyname=yes"
13960 echo "configure: failed program was:" >&5
13961 cat conftest.
$ac_ext >&5
13963 eval "ac_cv_func_gethostbyname=no"
13968 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13969 echo "$ac_t""yes" 1>&6
13972 echo "$ac_t""no" 1>&6
13975 if test $ac_cv_func_gethostbyname = no
; then
13976 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13977 echo "configure:13978: checking for gethostbyname in -lnsl" >&5
13978 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13980 echo $ac_n "(cached) $ac_c" 1>&6
13982 ac_save_LIBS
="$LIBS"
13984 cat > conftest.
$ac_ext <<EOF
13985 #line 13986 "configure"
13986 #include "confdefs.h"
13987 /* Override any gcc2 internal prototype to avoid an error. */
13988 /* We use char because int might match the return type of a gcc2
13989 builtin and then its argument prototype would still apply. */
13990 char gethostbyname();
13996 if { (eval echo configure
:13997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
13998 eval "ac_cv_lib_$ac_lib_var=yes"
14000 echo "configure: failed program was:" >&5
14001 cat conftest.
$ac_ext >&5
14003 eval "ac_cv_lib_$ac_lib_var=no"
14006 LIBS
="$ac_save_LIBS"
14009 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14010 echo "$ac_t""yes" 1>&6
14011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14013 echo "$ac_t""no" 1>&6
14018 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14019 # socket/setsockopt and other routines are undefined under SCO ODT
14020 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14021 # on later versions), says simon@lia.di.epfl.ch: it contains
14022 # gethostby* variants that don't use the nameserver (or something).
14023 # -lsocket must be given before -lnsl if both are needed.
14024 # We assume that if connect needs -lnsl, so does gethostbyname.
14025 echo $ac_n "checking for connect""... $ac_c" 1>&6
14026 echo "configure:14027: checking for connect" >&5
14027 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14028 echo $ac_n "(cached) $ac_c" 1>&6
14030 cat > conftest.
$ac_ext <<EOF
14031 #line 14032 "configure"
14032 #include "confdefs.h"
14033 /* System header to define __stub macros and hopefully few prototypes,
14034 which can conflict with char connect(); below. */
14035 #include <assert.h>
14036 /* Override any gcc2 internal prototype to avoid an error. */
14037 /* We use char because int might match the return type of a gcc2
14038 builtin and then its argument prototype would still apply. */
14043 /* The GNU C library defines this for functions which it implements
14044 to always fail with ENOSYS. Some functions are actually named
14045 something starting with __ and the normal name is an alias. */
14046 #if defined (__stub_connect) || defined (__stub___connect)
14054 if { (eval echo configure
:14055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14056 eval "ac_cv_func_connect=yes"
14058 echo "configure: failed program was:" >&5
14059 cat conftest.
$ac_ext >&5
14061 eval "ac_cv_func_connect=no"
14066 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14067 echo "$ac_t""yes" 1>&6
14070 echo "$ac_t""no" 1>&6
14073 if test $ac_cv_func_connect = no
; then
14074 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14075 echo "configure:14076: checking for connect in -lsocket" >&5
14076 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14077 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14078 echo $ac_n "(cached) $ac_c" 1>&6
14080 ac_save_LIBS
="$LIBS"
14081 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14082 cat > conftest.
$ac_ext <<EOF
14083 #line 14084 "configure"
14084 #include "confdefs.h"
14085 /* Override any gcc2 internal prototype to avoid an error. */
14086 /* We use char because int might match the return type of a gcc2
14087 builtin and then its argument prototype would still apply. */
14094 if { (eval echo configure
:14095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14096 eval "ac_cv_lib_$ac_lib_var=yes"
14098 echo "configure: failed program was:" >&5
14099 cat conftest.
$ac_ext >&5
14101 eval "ac_cv_lib_$ac_lib_var=no"
14104 LIBS
="$ac_save_LIBS"
14107 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14108 echo "$ac_t""yes" 1>&6
14109 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14111 echo "$ac_t""no" 1>&6
14116 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14117 echo $ac_n "checking for remove""... $ac_c" 1>&6
14118 echo "configure:14119: checking for remove" >&5
14119 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14120 echo $ac_n "(cached) $ac_c" 1>&6
14122 cat > conftest.
$ac_ext <<EOF
14123 #line 14124 "configure"
14124 #include "confdefs.h"
14125 /* System header to define __stub macros and hopefully few prototypes,
14126 which can conflict with char remove(); below. */
14127 #include <assert.h>
14128 /* Override any gcc2 internal prototype to avoid an error. */
14129 /* We use char because int might match the return type of a gcc2
14130 builtin and then its argument prototype would still apply. */
14135 /* The GNU C library defines this for functions which it implements
14136 to always fail with ENOSYS. Some functions are actually named
14137 something starting with __ and the normal name is an alias. */
14138 #if defined (__stub_remove) || defined (__stub___remove)
14146 if { (eval echo configure
:14147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14148 eval "ac_cv_func_remove=yes"
14150 echo "configure: failed program was:" >&5
14151 cat conftest.
$ac_ext >&5
14153 eval "ac_cv_func_remove=no"
14158 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14159 echo "$ac_t""yes" 1>&6
14162 echo "$ac_t""no" 1>&6
14165 if test $ac_cv_func_remove = no
; then
14166 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14167 echo "configure:14168: checking for remove in -lposix" >&5
14168 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14172 ac_save_LIBS
="$LIBS"
14173 LIBS
="-lposix $LIBS"
14174 cat > conftest.
$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14177 /* Override any gcc2 internal prototype to avoid an error. */
14178 /* We use char because int might match the return type of a gcc2
14179 builtin and then its argument prototype would still apply. */
14186 if { (eval echo configure
:14187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14188 eval "ac_cv_lib_$ac_lib_var=yes"
14190 echo "configure: failed program was:" >&5
14191 cat conftest.
$ac_ext >&5
14193 eval "ac_cv_lib_$ac_lib_var=no"
14196 LIBS
="$ac_save_LIBS"
14199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14200 echo "$ac_t""yes" 1>&6
14201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14203 echo "$ac_t""no" 1>&6
14208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14209 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14210 echo "configure:14211: checking for shmat" >&5
14211 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14212 echo $ac_n "(cached) $ac_c" 1>&6
14214 cat > conftest.
$ac_ext <<EOF
14215 #line 14216 "configure"
14216 #include "confdefs.h"
14217 /* System header to define __stub macros and hopefully few prototypes,
14218 which can conflict with char shmat(); below. */
14219 #include <assert.h>
14220 /* Override any gcc2 internal prototype to avoid an error. */
14221 /* We use char because int might match the return type of a gcc2
14222 builtin and then its argument prototype would still apply. */
14227 /* The GNU C library defines this for functions which it implements
14228 to always fail with ENOSYS. Some functions are actually named
14229 something starting with __ and the normal name is an alias. */
14230 #if defined (__stub_shmat) || defined (__stub___shmat)
14238 if { (eval echo configure
:14239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14240 eval "ac_cv_func_shmat=yes"
14242 echo "configure: failed program was:" >&5
14243 cat conftest.
$ac_ext >&5
14245 eval "ac_cv_func_shmat=no"
14250 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14251 echo "$ac_t""yes" 1>&6
14254 echo "$ac_t""no" 1>&6
14257 if test $ac_cv_func_shmat = no
; then
14258 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14259 echo "configure:14260: checking for shmat in -lipc" >&5
14260 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14262 echo $ac_n "(cached) $ac_c" 1>&6
14264 ac_save_LIBS
="$LIBS"
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 /* Override any gcc2 internal prototype to avoid an error. */
14270 /* We use char because int might match the return type of a gcc2
14271 builtin and then its argument prototype would still apply. */
14278 if { (eval echo configure
:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14280 eval "ac_cv_lib_$ac_lib_var=yes"
14282 echo "configure: failed program was:" >&5
14283 cat conftest.
$ac_ext >&5
14285 eval "ac_cv_lib_$ac_lib_var=no"
14288 LIBS
="$ac_save_LIBS"
14291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14292 echo "$ac_t""yes" 1>&6
14293 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14295 echo "$ac_t""no" 1>&6
14301 # Check for libraries that X11R6 Xt/Xaw programs need.
14302 ac_save_LDFLAGS
="$LDFLAGS"
14303 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14304 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14305 # check for ICE first), but we must link in the order -lSM -lICE or
14306 # we get undefined symbols. So assume we have SM if we have ICE.
14307 # These have to be linked with before -lX11, unlike the other
14308 # libraries we check for below, so use a different variable.
14309 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14310 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14311 echo "configure:14312: checking for IceConnectionNumber in -lICE" >&5
14312 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14316 ac_save_LIBS
="$LIBS"
14318 cat > conftest.
$ac_ext <<EOF
14319 #line 14320 "configure"
14320 #include "confdefs.h"
14321 /* Override any gcc2 internal prototype to avoid an error. */
14322 /* We use char because int might match the return type of a gcc2
14323 builtin and then its argument prototype would still apply. */
14324 char IceConnectionNumber();
14327 IceConnectionNumber()
14330 if { (eval echo configure
:14331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14332 eval "ac_cv_lib_$ac_lib_var=yes"
14334 echo "configure: failed program was:" >&5
14335 cat conftest.
$ac_ext >&5
14337 eval "ac_cv_lib_$ac_lib_var=no"
14340 LIBS
="$ac_save_LIBS"
14343 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14344 echo "$ac_t""yes" 1>&6
14345 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14347 echo "$ac_t""no" 1>&6
14350 LDFLAGS
="$ac_save_LDFLAGS"
14355 if test "$no_x" = "yes"; then
14356 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14359 GUI_TK_LIBRARY
="$X_LIBS"
14360 TOOLKIT_INCLUDE
="$X_CFLAGS"
14361 AFMINSTALL
=afminstall
14362 COMPILED_X_PROGRAM
=0
14364 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14365 echo "configure:14366: checking for Motif/Lesstif headers" >&5
14368 for ac_dir
in $SEARCH_INCLUDE;
14370 if test -f "$ac_dir/Xm/Xm.h"; then
14371 ac_find_includes
=$ac_dir
14376 if test "$ac_find_includes" != "" ; then
14377 echo "$ac_t""found $ac_find_includes" 1>&6
14379 cat > conftest.
$ac_ext <<EOF
14380 #line 14381 "configure"
14381 #include "confdefs.h"
14388 version = xmUseVersion;
14392 if { (eval echo configure
:14393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14395 echo "$ac_t""found in default search path" 1>&6
14396 COMPILED_X_PROGRAM
=1
14399 echo "configure: failed program was:" >&5
14400 cat conftest.
$ac_ext >&5
14403 echo "$ac_t""no" 1>&6
14404 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14411 if test "$COMPILED_X_PROGRAM" = 0; then
14412 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14413 echo "configure:14414: checking for Motif/Lesstif library" >&5
14416 for ac_dir
in $SEARCH_LIB;
14418 for ac_extension
in a so sl dylib
; do
14419 if test -f "$ac_dir/libXm.$ac_extension"; then
14420 ac_find_libraries
=$ac_dir
14426 if test "$ac_find_libraries" != "" ; then
14428 ac_path_to_include
=$ac_find_includes
14429 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14431 if test $result = 0; then
14432 ac_path_to_include
=""
14434 ac_path_to_include
=" -I$ac_find_includes"
14438 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14440 if test $result = 0; then
14443 ac_path_to_link
=" -L$ac_find_libraries"
14447 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14448 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14449 echo "$ac_t""found at $ac_find_libraries" 1>&6
14451 cat > conftest.
$ac_ext <<EOF
14452 #line 14453 "configure"
14453 #include "confdefs.h"
14460 version = xmUseVersion;
14464 if { (eval echo configure
:14465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14467 echo "$ac_t""found in default search path" 1>&6
14468 COMPILED_X_PROGRAM
=1
14471 echo "configure: failed program was:" >&5
14472 cat conftest.
$ac_ext >&5
14475 echo "$ac_t""no" 1>&6
14476 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14485 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14486 echo "configure:14487: checking for Xpm library" >&5
14489 for ac_dir
in $SEARCH_LIB;
14491 for ac_extension
in a so sl dylib
; do
14492 if test -f "$ac_dir/libXpm.$ac_extension"; then
14493 ac_find_libraries
=$ac_dir
14499 if test "$ac_find_libraries" != "" ; then
14501 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14503 if test $result = 0; then
14506 ac_path_to_link
=" -L$ac_find_libraries"
14509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14511 cat >> confdefs.h
<<\EOF
14512 #define wxHAVE_LIB_XPM 1
14515 echo "$ac_t""found at $ac_find_libraries" 1>&6
14517 cat > conftest.
$ac_ext <<EOF
14518 #line 14519 "configure"
14519 #include "confdefs.h"
14521 #include <X11/xpm.h>
14526 version = XpmLibraryVersion();
14530 if { (eval echo configure
:14531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14534 cat >> confdefs.h
<<\EOF
14535 #define wxHAVE_LIB_XPM 1
14538 echo "$ac_t""found in default search path" 1>&6
14539 COMPILED_X_PROGRAM
=0
14542 echo "configure: failed program was:" >&5
14543 cat conftest.
$ac_ext >&5
14546 echo "$ac_t""no" 1>&6
14547 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14554 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14555 echo "configure:14556: checking if we need -lXp and/or -lSM -lICE" >&5
14559 for libp
in "" " -lXp"; do
14560 if test "$libs_found" = "0"; then
14561 for libsm_ice
in " -lSM -lICE"; do
14562 if test "$libs_found" = "0"; then
14564 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14565 cat > conftest.
$ac_ext <<EOF
14566 #line 14567 "configure"
14567 #include "confdefs.h"
14570 #include <Xm/List.h>
14574 XmString string = NULL;
14577 XmListAddItem(w, string, position);
14581 if { (eval echo configure
:14582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
14585 libsm_ice_link
="$libsm_ice"
14586 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14590 echo "configure: failed program was:" >&5
14591 cat conftest.
$ac_ext >&5
14603 if test "$libs_found" = "0"; then
14604 echo "$ac_t""can't find the right libraries" 1>&6
14605 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14608 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14609 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14614 if test "$wxUSE_MAC" = 1; then
14615 if test "$wxUSE_PRECOMP" = "yes"; then
14616 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14618 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14620 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14621 CFLAGS
="$CFLAGS -fpascal-strings"
14622 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14624 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14629 if test "$wxUSE_PM" = 1; then
14634 if test "$TOOLKIT" = "PM" ; then
14637 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14640 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14642 if test "$wxUSE_UNIVERSAL" = "yes"; then
14643 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14645 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14646 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14648 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14649 if test "$wxUSE_X11" = 1; then
14650 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14652 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14654 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14657 ALL_OBJECTS
="\$(GUIOBJS)"
14658 ALL_SOURCES
="\$(ALL_SOURCES)"
14659 ALL_HEADERS
="\$(ALL_HEADERS)"
14662 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14664 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14665 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14668 if test "$wxUSE_HTML" = "yes"; then
14669 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14672 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14673 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14675 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14676 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14678 if test "$wxUSE_LIBPNG" = "builtin" ; then
14679 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14682 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14683 DISTDIR
="wx\$(TOOLKIT)"
14689 if test "$USE_WIN32" = 1 ; then
14690 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14691 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14695 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14696 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14699 ALL_SOURCES
="\$(ALL_SOURCES)"
14700 ALL_HEADERS
="\$(ALL_HEADERS)"
14702 PORT_FILES
="\${top_srcdir}/src/files.lst"
14704 GUIDIST
="BASE_DIST"
14709 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14710 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14713 if test "$wxUSE_REGEX" = "builtin" ; then
14714 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14716 if test "$wxUSE_ZLIB" = "builtin" ; then
14717 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14721 if test "$wxUSE_OPENGL" = "yes"; then
14722 if test "$wxUSE_MAC" = 1; then
14723 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14724 elif test "$wxUSE_MSW" = 1; then
14725 OPENGL_LIBS
="-lopengl32 -lglu32"
14727 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14728 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14729 echo "configure:14730: checking for GL/gl.h" >&5
14730 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14731 echo $ac_n "(cached) $ac_c" 1>&6
14733 cat > conftest.
$ac_ext <<EOF
14734 #line 14735 "configure"
14735 #include "confdefs.h"
14738 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14739 { (eval echo configure
:14740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14740 ac_err
=`grep -v '^ *+' conftest.out`
14741 if test -z "$ac_err"; then
14743 eval "ac_cv_header_$ac_safe=yes"
14746 echo "configure: failed program was:" >&5
14747 cat conftest.
$ac_ext >&5
14749 eval "ac_cv_header_$ac_safe=no"
14753 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14754 echo "$ac_t""yes" 1>&6
14756 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14757 echo "configure:14758: checking for -lGL" >&5
14760 for ac_dir
in $SEARCH_LIB;
14762 for ac_extension
in a so sl dylib
; do
14763 if test -f "$ac_dir/libGL.$ac_extension"; then
14764 ac_find_libraries
=$ac_dir
14770 if test "$ac_find_libraries" != "" ; then
14772 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14774 if test $result = 0; then
14777 ac_path_to_link
=" -L$ac_find_libraries"
14780 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14781 LDFLAGS_GL
="$LDFLAGS"
14783 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14785 OPENGL_LIBS
="-lGL -lGLU"
14786 echo "$ac_t""yes" 1>&6
14788 echo "$ac_t""no" 1>&6
14789 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14790 echo "configure:14791: checking for -lMesaGL" >&5
14793 for ac_dir
in $SEARCH_LIB;
14795 for ac_extension
in a so sl dylib
; do
14796 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14797 ac_find_libraries
=$ac_dir
14803 if test "$ac_find_libraries" != "" ; then
14805 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14807 if test $result = 0; then
14810 ac_path_to_link
=" -L$ac_find_libraries"
14813 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14814 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14815 echo "$ac_t""yes" 1>&6
14817 echo "$ac_t""no" 1>&6
14822 echo "$ac_t""no" 1>&6
14826 if test "x$OPENGL_LIBS" = "x"; then
14827 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14831 if test "$wxUSE_OPENGL" = "yes"; then
14832 cat >> confdefs.h
<<\EOF
14833 #define wxUSE_OPENGL 1
14836 cat >> confdefs.h
<<\EOF
14837 #define wxUSE_GLCANVAS 1
14840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14844 if test -z "$TOOLKIT_VPATH" ; then
14845 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14848 if test -n "$TOOLKIT" ; then
14849 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14852 lib_unicode_suffix
=
14853 if test "$wxUSE_UNICODE" = "yes"; then
14854 lib_unicode_suffix
=u
14858 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14862 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14863 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14865 if test "$cross_compiling" = "yes"; then
14866 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14867 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14870 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14871 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14873 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14874 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14876 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14877 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14878 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14879 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14882 *-*-cygwin* | *-*-mingw32* )
14886 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
14887 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14888 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14889 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14890 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14892 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14893 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14898 if test "$wxUSE_MAC" = 1; then
14899 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14900 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14905 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14906 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14908 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14909 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14911 if test "$wxUSE_OPENGL" = "yes"; then
14912 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14913 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14918 if test "$wxUSE_SHARED" = "yes"; then
14920 *-pc-os2_emx | *-pc-os2-emx | \
14923 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14928 if test "$wxUSE_SHARED" = "yes"; then
14930 if test "$wxUSE_OPENGL" = "yes"; then
14931 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14932 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14934 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14935 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14938 if test "$GCC" = "yes"; then
14942 SHARED_LD
="${CXX} -shared -o"
14946 if test "$GCC" == "yes"; then
14947 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14949 LDFLAGS
="$LDFLAGS -L/usr/lib"
14951 SHARED_LD
="${CXX} -b -o"
14955 if test "$wxUSE_OPENGL" = "yes"; then
14956 WX_ALL_INSTALLED
="preinstall_gl"
14957 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14959 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14964 if test "$GCC" != "yes"; then
14965 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14966 echo "configure:14967: checking for Intel compiler" >&5
14967 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14968 echo $ac_n "(cached) $ac_c" 1>&6
14971 cat > conftest.
$ac_ext <<EOF
14972 #line 14973 "configure"
14973 #include "confdefs.h"
14977 #ifndef __INTEL_COMPILER
14983 if { (eval echo configure
:14984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14987 echo "configure: failed program was:" >&5
14988 cat conftest.
$ac_ext >&5
14997 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14998 if test "$wx_cv_prog_icc" = "yes"; then
15003 if test "$wxUSE_SONAME" = "yes" ; then
15004 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15005 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15006 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15011 if test "$GCC" = yes ; then
15012 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15014 SHARED_LD
="${CXX} -G -o"
15016 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15017 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15022 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
15023 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
15024 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15025 PIC_FLAG
="-dynamic -fPIC"
15026 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15027 SONAME_FLAGS_GL
=${SONAME_FLAGS}
15031 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15032 set dummy makeC
++SharedLib
; ac_word
=$2
15033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15034 echo "configure:15035: checking for $ac_word" >&5
15035 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15036 echo $ac_n "(cached) $ac_c" 1>&6
15038 if test -n "$AIX_CXX_LD"; then
15039 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
15041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15042 for ac_dir
in $PATH; do
15043 test -z "$ac_dir" && ac_dir
=.
15044 if test -f $ac_dir/$ac_word; then
15045 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15050 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15053 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15054 if test -n "$AIX_CXX_LD"; then
15055 echo "$ac_t""$AIX_CXX_LD" 1>&6
15057 echo "$ac_t""no" 1>&6
15061 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15064 *-*-cygwin* | *-*-mingw32* )
15066 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15068 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15069 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15071 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15073 if test "$wxUSE_OPENGL" = "yes"; then
15074 WX_ALL_INSTALLED
="preinstall_gl"
15075 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15077 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15082 SHARED_LD
="${LD} -shared -o"
15085 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15087 *-*-irix5* | *-*-irix6* | \
15094 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15097 if test "x$WX_TARGET_LIBRARY" = "x"; then
15098 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15099 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15102 WX_TARGET_LIBRARY_TYPE
="so"
15103 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15106 if test "$wxUSE_SHARED" = "no"; then
15108 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15109 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15112 if test "$wxUSE_MAC" = 1; then
15113 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15116 if test "$wxUSE_OPENGL" = "yes"; then
15117 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15118 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15120 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15123 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15124 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15126 WX_TARGET_LIBRARY_TYPE
="a"
15127 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15130 if test "$wxUSE_MAC" = 1; then
15131 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15132 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15133 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15134 # Extract the first word of "Rez", so it can be a program name with args.
15135 set dummy Rez
; ac_word
=$2
15136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15137 echo "configure:15138: checking for $ac_word" >&5
15138 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15139 echo $ac_n "(cached) $ac_c" 1>&6
15141 if test -n "$RESCOMP"; then
15142 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15144 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15145 for ac_dir
in $PATH; do
15146 test -z "$ac_dir" && ac_dir
=.
15147 if test -f $ac_dir/$ac_word; then
15148 ac_cv_prog_RESCOMP
="Rez"
15153 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15156 RESCOMP
="$ac_cv_prog_RESCOMP"
15157 if test -n "$RESCOMP"; then
15158 echo "$ac_t""$RESCOMP" 1>&6
15160 echo "$ac_t""no" 1>&6
15163 # Extract the first word of "DeRez", so it can be a program name with args.
15164 set dummy DeRez
; ac_word
=$2
15165 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15166 echo "configure:15167: checking for $ac_word" >&5
15167 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15168 echo $ac_n "(cached) $ac_c" 1>&6
15170 if test -n "$DEREZ"; then
15171 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15173 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15174 for ac_dir
in $PATH; do
15175 test -z "$ac_dir" && ac_dir
=.
15176 if test -f $ac_dir/$ac_word; then
15177 ac_cv_prog_DEREZ
="DeRez"
15182 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15185 DEREZ
="$ac_cv_prog_DEREZ"
15186 if test -n "$DEREZ"; then
15187 echo "$ac_t""$DEREZ" 1>&6
15189 echo "$ac_t""no" 1>&6
15192 MACOSX_BUNDLE
="bundle"
15193 if test "$wxUSE_SHARED" = "yes"; then
15194 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15195 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15197 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15198 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15201 if test "$wxUSE_PM" = 1; then
15202 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15207 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15208 echo "configure:15209: checking for ANSI C header files" >&5
15209 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15212 cat > conftest.
$ac_ext <<EOF
15213 #line 15214 "configure"
15214 #include "confdefs.h"
15215 #include <stdlib.h>
15216 #include <stdarg.h>
15217 #include <string.h>
15220 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15221 { (eval echo configure
:15222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15222 ac_err
=`grep -v '^ *+' conftest.out`
15223 if test -z "$ac_err"; then
15225 ac_cv_header_stdc
=yes
15228 echo "configure: failed program was:" >&5
15229 cat conftest.
$ac_ext >&5
15231 ac_cv_header_stdc
=no
15235 if test $ac_cv_header_stdc = yes; then
15236 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15237 cat > conftest.
$ac_ext <<EOF
15238 #line 15239 "configure"
15239 #include "confdefs.h"
15240 #include <string.h>
15242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15243 egrep "memchr" >/dev
/null
2>&1; then
15247 ac_cv_header_stdc
=no
15253 if test $ac_cv_header_stdc = yes; then
15254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15255 cat > conftest.
$ac_ext <<EOF
15256 #line 15257 "configure"
15257 #include "confdefs.h"
15258 #include <stdlib.h>
15260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15261 egrep "free" >/dev
/null
2>&1; then
15265 ac_cv_header_stdc
=no
15271 if test $ac_cv_header_stdc = yes; then
15272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15273 if test "$cross_compiling" = yes; then
15276 cat > conftest.
$ac_ext <<EOF
15277 #line 15278 "configure"
15278 #include "confdefs.h"
15280 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15281 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15283 int main () { int i; for (i = 0; i < 256; i++)
15284 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15288 if { (eval echo configure
:15289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
15292 echo "configure: failed program was:" >&5
15293 cat conftest.
$ac_ext >&5
15295 ac_cv_header_stdc
=no
15303 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15304 if test $ac_cv_header_stdc = yes; then
15305 cat >> confdefs.h
<<\EOF
15306 #define STDC_HEADERS 1
15311 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15312 echo "configure:15313: checking for mode_t" >&5
15313 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15314 echo $ac_n "(cached) $ac_c" 1>&6
15316 cat > conftest.
$ac_ext <<EOF
15317 #line 15318 "configure"
15318 #include "confdefs.h"
15319 #include <sys/types.h>
15321 #include <stdlib.h>
15322 #include <stddef.h>
15325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15326 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15328 ac_cv_type_mode_t
=yes
15331 ac_cv_type_mode_t
=no
15336 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15337 if test $ac_cv_type_mode_t = no
; then
15338 cat >> confdefs.h
<<\EOF
15344 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15345 echo "configure:15346: checking for off_t" >&5
15346 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15347 echo $ac_n "(cached) $ac_c" 1>&6
15349 cat > conftest.
$ac_ext <<EOF
15350 #line 15351 "configure"
15351 #include "confdefs.h"
15352 #include <sys/types.h>
15354 #include <stdlib.h>
15355 #include <stddef.h>
15358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15359 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15361 ac_cv_type_off_t
=yes
15364 ac_cv_type_off_t
=no
15369 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15370 if test $ac_cv_type_off_t = no
; then
15371 cat >> confdefs.h
<<\EOF
15377 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15378 echo "configure:15379: checking for pid_t" >&5
15379 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15380 echo $ac_n "(cached) $ac_c" 1>&6
15382 cat > conftest.
$ac_ext <<EOF
15383 #line 15384 "configure"
15384 #include "confdefs.h"
15385 #include <sys/types.h>
15387 #include <stdlib.h>
15388 #include <stddef.h>
15391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15392 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15394 ac_cv_type_pid_t
=yes
15397 ac_cv_type_pid_t
=no
15402 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15403 if test $ac_cv_type_pid_t = no
; then
15404 cat >> confdefs.h
<<\EOF
15410 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15411 echo "configure:15412: checking for size_t" >&5
15412 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15413 echo $ac_n "(cached) $ac_c" 1>&6
15415 cat > conftest.
$ac_ext <<EOF
15416 #line 15417 "configure"
15417 #include "confdefs.h"
15418 #include <sys/types.h>
15420 #include <stdlib.h>
15421 #include <stddef.h>
15424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15425 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15427 ac_cv_type_size_t
=yes
15430 ac_cv_type_size_t
=no
15435 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15436 if test $ac_cv_type_size_t = no
; then
15437 cat >> confdefs.h
<<\EOF
15438 #define size_t unsigned
15443 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15444 echo "configure:15445: checking for uid_t in sys/types.h" >&5
15445 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15448 cat > conftest.
$ac_ext <<EOF
15449 #line 15450 "configure"
15450 #include "confdefs.h"
15451 #include <sys/types.h>
15453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15454 egrep "uid_t" >/dev
/null
2>&1; then
15456 ac_cv_type_uid_t
=yes
15459 ac_cv_type_uid_t
=no
15465 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15466 if test $ac_cv_type_uid_t = no
; then
15467 cat >> confdefs.h
<<\EOF
15471 cat >> confdefs.h
<<\EOF
15480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15481 ac_cpp
='$CXXCPP $CPPFLAGS'
15482 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15483 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15484 cross_compiling
=$ac_cv_prog_cxx_cross
15486 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15487 echo "configure:15488: checking if size_t is unsigned int" >&5
15488 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15489 echo $ac_n "(cached) $ac_c" 1>&6
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15494 #include <stddef.h>
15499 struct Foo { void foo(size_t); void foo(unsigned int); };
15505 if { (eval echo configure
:15506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15507 wx_cv_size_t_is_uint
=no
15509 echo "configure: failed program was:" >&5
15510 cat conftest.
$ac_ext >&5
15512 wx_cv_size_t_is_uint
=yes
15519 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15521 if test "$wx_cv_size_t_is_uint" = "yes"; then
15522 cat >> confdefs.h
<<\EOF
15523 #define wxSIZE_T_IS_UINT 1
15527 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15528 echo "configure:15529: checking if size_t is unsigned long" >&5
15529 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15530 echo $ac_n "(cached) $ac_c" 1>&6
15532 cat > conftest.
$ac_ext <<EOF
15533 #line 15534 "configure"
15534 #include "confdefs.h"
15535 #include <stddef.h>
15540 struct Foo { void foo(size_t); void foo(unsigned long); };
15546 if { (eval echo configure
:15547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15548 wx_cv_size_t_is_ulong
=no
15550 echo "configure: failed program was:" >&5
15551 cat conftest.
$ac_ext >&5
15553 wx_cv_size_t_is_ulong
=yes
15560 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15562 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15563 cat >> confdefs.h
<<\EOF
15564 #define wxSIZE_T_IS_ULONG 1
15571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15572 ac_cpp
='$CPP $CPPFLAGS'
15573 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15574 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15575 cross_compiling
=$ac_cv_prog_cc_cross
15579 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15580 echo "configure:15581: checking for pw_gecos in struct passwd" >&5
15581 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15582 echo $ac_n "(cached) $ac_c" 1>&6
15585 cat > conftest.
$ac_ext <<EOF
15586 #line 15587 "configure"
15587 #include "confdefs.h"
15597 if { (eval echo configure
:15598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15600 wx_cv_struct_pw_gecos
=yes
15603 echo "configure: failed program was:" >&5
15604 cat conftest.
$ac_ext >&5
15607 wx_cv_struct_pw_gecos
=no
15616 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15618 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15619 cat >> confdefs.h
<<\EOF
15620 #define HAVE_PW_GECOS 1
15627 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15629 for ac_func
in wcslen
15631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15632 echo "configure:15633: checking for $ac_func" >&5
15633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15634 echo $ac_n "(cached) $ac_c" 1>&6
15636 cat > conftest.
$ac_ext <<EOF
15637 #line 15638 "configure"
15638 #include "confdefs.h"
15639 /* System header to define __stub macros and hopefully few prototypes,
15640 which can conflict with char $ac_func(); below. */
15641 #include <assert.h>
15642 /* Override any gcc2 internal prototype to avoid an error. */
15643 /* We use char because int might match the return type of a gcc2
15644 builtin and then its argument prototype would still apply. */
15649 /* The GNU C library defines this for functions which it implements
15650 to always fail with ENOSYS. Some functions are actually named
15651 something starting with __ and the normal name is an alias. */
15652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15660 if { (eval echo configure
:15661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15662 eval "ac_cv_func_$ac_func=yes"
15664 echo "configure: failed program was:" >&5
15665 cat conftest.
$ac_ext >&5
15667 eval "ac_cv_func_$ac_func=no"
15672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15673 echo "$ac_t""yes" 1>&6
15674 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15675 cat >> confdefs.h
<<EOF
15676 #define $ac_tr_func 1
15679 cat >> confdefs.h
<<\EOF
15680 #define HAVE_WCSLEN 1
15686 echo "$ac_t""no" 1>&6
15691 if test "$WCHAR_OK" = 0; then
15692 if test "$TOOLKIT" = "MSW"; then
15693 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15694 echo "configure:15695: checking for wcslen in -lmsvcrt" >&5
15695 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15696 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 ac_save_LIBS
="$LIBS"
15700 LIBS
="-lmsvcrt $LIBS"
15701 cat > conftest.
$ac_ext <<EOF
15702 #line 15703 "configure"
15703 #include "confdefs.h"
15704 /* Override any gcc2 internal prototype to avoid an error. */
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15713 if { (eval echo configure
:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15715 eval "ac_cv_lib_$ac_lib_var=yes"
15717 echo "configure: failed program was:" >&5
15718 cat conftest.
$ac_ext >&5
15720 eval "ac_cv_lib_$ac_lib_var=no"
15723 LIBS
="$ac_save_LIBS"
15726 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15727 echo "$ac_t""yes" 1>&6
15729 cat >> confdefs.h
<<\EOF
15730 #define HAVE_WCSLEN 1
15736 echo "$ac_t""no" 1>&6
15740 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15741 echo "configure:15742: checking for wcslen in -lw" >&5
15742 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15743 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15744 echo $ac_n "(cached) $ac_c" 1>&6
15746 ac_save_LIBS
="$LIBS"
15748 cat > conftest.
$ac_ext <<EOF
15749 #line 15750 "configure"
15750 #include "confdefs.h"
15751 /* Override any gcc2 internal prototype to avoid an error. */
15752 /* We use char because int might match the return type of a gcc2
15753 builtin and then its argument prototype would still apply. */
15760 if { (eval echo configure
:15761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15762 eval "ac_cv_lib_$ac_lib_var=yes"
15764 echo "configure: failed program was:" >&5
15765 cat conftest.
$ac_ext >&5
15767 eval "ac_cv_lib_$ac_lib_var=no"
15770 LIBS
="$ac_save_LIBS"
15773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15774 echo "$ac_t""yes" 1>&6
15776 cat >> confdefs.h
<<\EOF
15777 #define HAVE_WCSLEN 1
15784 echo "$ac_t""no" 1>&6
15791 if test "$WCHAR_OK" = 1; then
15792 cat >> confdefs.h
<<\EOF
15793 #define wxUSE_WCHAR_T 1
15797 for ac_func
in wcsrtombs
15799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15800 echo "configure:15801: checking for $ac_func" >&5
15801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15802 echo $ac_n "(cached) $ac_c" 1>&6
15804 cat > conftest.
$ac_ext <<EOF
15805 #line 15806 "configure"
15806 #include "confdefs.h"
15807 /* System header to define __stub macros and hopefully few prototypes,
15808 which can conflict with char $ac_func(); below. */
15809 #include <assert.h>
15810 /* Override any gcc2 internal prototype to avoid an error. */
15811 /* We use char because int might match the return type of a gcc2
15812 builtin and then its argument prototype would still apply. */
15817 /* The GNU C library defines this for functions which it implements
15818 to always fail with ENOSYS. Some functions are actually named
15819 something starting with __ and the normal name is an alias. */
15820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15828 if { (eval echo configure
:15829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15830 eval "ac_cv_func_$ac_func=yes"
15832 echo "configure: failed program was:" >&5
15833 cat conftest.
$ac_ext >&5
15835 eval "ac_cv_func_$ac_func=no"
15840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15841 echo "$ac_t""yes" 1>&6
15842 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15843 cat >> confdefs.h
<<EOF
15844 #define $ac_tr_func 1
15848 echo "$ac_t""no" 1>&6
15853 if test "$USE_DARWIN" = 1; then
15854 cat >> confdefs.h
<<\EOF
15855 #define wxUSE_WCHAR_T 1
15859 echo "configure: warning: Wide character support is unavailable" 1>&2
15863 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15864 echo "configure:15865: checking for vprintf" >&5
15865 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15866 echo $ac_n "(cached) $ac_c" 1>&6
15868 cat > conftest.
$ac_ext <<EOF
15869 #line 15870 "configure"
15870 #include "confdefs.h"
15871 /* System header to define __stub macros and hopefully few prototypes,
15872 which can conflict with char vprintf(); below. */
15873 #include <assert.h>
15874 /* Override any gcc2 internal prototype to avoid an error. */
15875 /* We use char because int might match the return type of a gcc2
15876 builtin and then its argument prototype would still apply. */
15881 /* The GNU C library defines this for functions which it implements
15882 to always fail with ENOSYS. Some functions are actually named
15883 something starting with __ and the normal name is an alias. */
15884 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15892 if { (eval echo configure
:15893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15894 eval "ac_cv_func_vprintf=yes"
15896 echo "configure: failed program was:" >&5
15897 cat conftest.
$ac_ext >&5
15899 eval "ac_cv_func_vprintf=no"
15904 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15905 echo "$ac_t""yes" 1>&6
15906 cat >> confdefs.h
<<\EOF
15907 #define HAVE_VPRINTF 1
15911 echo "$ac_t""no" 1>&6
15914 if test "$ac_cv_func_vprintf" != yes; then
15915 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15916 echo "configure:15917: checking for _doprnt" >&5
15917 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15918 echo $ac_n "(cached) $ac_c" 1>&6
15920 cat > conftest.
$ac_ext <<EOF
15921 #line 15922 "configure"
15922 #include "confdefs.h"
15923 /* System header to define __stub macros and hopefully few prototypes,
15924 which can conflict with char _doprnt(); below. */
15925 #include <assert.h>
15926 /* Override any gcc2 internal prototype to avoid an error. */
15927 /* We use char because int might match the return type of a gcc2
15928 builtin and then its argument prototype would still apply. */
15933 /* The GNU C library defines this for functions which it implements
15934 to always fail with ENOSYS. Some functions are actually named
15935 something starting with __ and the normal name is an alias. */
15936 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15944 if { (eval echo configure
:15945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
15946 eval "ac_cv_func__doprnt=yes"
15948 echo "configure: failed program was:" >&5
15949 cat conftest.
$ac_ext >&5
15951 eval "ac_cv_func__doprnt=no"
15956 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15957 echo "$ac_t""yes" 1>&6
15958 cat >> confdefs.h
<<\EOF
15959 #define HAVE_DOPRNT 1
15963 echo "$ac_t""no" 1>&6
15973 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15974 echo "configure:15975: checking for vsnprintf" >&5
15975 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15976 echo $ac_n "(cached) $ac_c" 1>&6
15979 cat > conftest.
$ac_ext <<EOF
15980 #line 15981 "configure"
15981 #include "confdefs.h"
15984 #include <stdarg.h>
15988 int wx_test_vsnprintf(const char *, ...);
15990 wx_test_vsnprintf("%s");
15994 int wx_test_vsnprintf(const char *fmt, ...)
15999 va_start(argp, fmt);
16000 vsnprintf(s, 42, fmt, argp);
16005 if { (eval echo configure
:16006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16008 wx_cv_func_vsnprintf
=yes
16011 echo "configure: failed program was:" >&5
16012 cat conftest.
$ac_ext >&5
16015 cat > conftest.
$ac_ext <<EOF
16016 #line 16017 "configure"
16017 #include "confdefs.h"
16020 #include <stdarg.h>
16024 int wx_test_vsnprintf(const char *, ...);
16026 wx_test_vsnprintf("%s");
16030 int wx_test_vsnprintf(const char *fmt, ...)
16035 va_start(argp, fmt);
16036 _vsnprintf(s, 42, fmt, argp);
16041 if { (eval echo configure
:16042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16044 wx_cv_func_vsnprintf
=yes
16047 echo "configure: failed program was:" >&5
16048 cat conftest.
$ac_ext >&5
16051 wx_cv_func_vsnprintf
=no
16061 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
16063 if test "$wx_cv_func_vsnprintf" = yes; then
16064 cat >> confdefs.h
<<\EOF
16065 #define HAVE_VSNPRINTF 1
16069 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
16072 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
16073 echo "configure:16074: checking for vsscanf" >&5
16074 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
16075 echo $ac_n "(cached) $ac_c" 1>&6
16078 cat > conftest.
$ac_ext <<EOF
16079 #line 16080 "configure"
16080 #include "confdefs.h"
16083 #include <stdarg.h>
16087 int wx_test_vsscanf(const char *, ...);
16089 wx_test_vsscanf("%d");
16093 int wx_test_vsscanf(const char *fmt, ...)
16096 va_start(argp, fmt);
16097 vsscanf("42", fmt, argp);
16102 if { (eval echo configure
:16103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16105 wx_cv_func_vsscanf
=yes
16108 echo "configure: failed program was:" >&5
16109 cat conftest.
$ac_ext >&5
16112 wx_cv_func_vsscanf
=no
16119 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16121 if test "$wx_cv_func_vsscanf" = yes; then
16122 cat >> confdefs.h
<<\EOF
16123 #define HAVE_VSSCANF 1
16128 if test "$TOOLKIT" != "MSW"; then
16133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16134 ac_cpp
='$CXXCPP $CPPFLAGS'
16135 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16136 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16137 cross_compiling
=$ac_cv_prog_cxx_cross
16141 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16142 if test "${with_libiconv_prefix+set}" = set; then
16143 withval
="$with_libiconv_prefix"
16145 for dir
in `echo "$withval" | tr : ' '`; do
16146 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16147 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16153 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16154 echo "configure:16155: checking for iconv" >&5
16155 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16156 echo $ac_n "(cached) $ac_c" 1>&6
16159 am_cv_func_iconv
="no, consider installing GNU libiconv"
16161 cat > conftest.
$ac_ext <<EOF
16162 #line 16163 "configure"
16163 #include "confdefs.h"
16164 #include <stdlib.h>
16167 iconv_t cd = iconv_open("","");
16168 iconv(cd,NULL,NULL,NULL,NULL);
16172 if { (eval echo configure
:16173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16174 am_cv_func_iconv
=yes
16176 echo "configure: failed program was:" >&5
16177 cat conftest.
$ac_ext >&5
16180 if test "$am_cv_func_iconv" != yes; then
16181 am_save_LIBS
="$LIBS"
16182 LIBS
="$LIBS -liconv"
16183 cat > conftest.
$ac_ext <<EOF
16184 #line 16185 "configure"
16185 #include "confdefs.h"
16186 #include <stdlib.h>
16189 iconv_t cd = iconv_open("","");
16190 iconv(cd,NULL,NULL,NULL,NULL);
16194 if { (eval echo configure
:16195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16196 am_cv_lib_iconv
=yes
16197 am_cv_func_iconv
=yes
16199 echo "configure: failed program was:" >&5
16200 cat conftest.
$ac_ext >&5
16203 LIBS
="$am_save_LIBS"
16208 echo "$ac_t""$am_cv_func_iconv" 1>&6
16209 if test "$am_cv_func_iconv" = yes; then
16210 cat >> confdefs.h
<<\EOF
16211 #define HAVE_ICONV 1
16214 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16215 echo "configure:16216: checking if iconv needs const" >&5
16216 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16217 echo $ac_n "(cached) $ac_c" 1>&6
16219 cat > conftest.
$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16223 #include <stdlib.h>
16229 #if defined(__STDC__) || defined(__cplusplus)
16230 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16239 if { (eval echo configure
:16240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16241 wx_cv_func_iconv_const
="no"
16243 echo "configure: failed program was:" >&5
16244 cat conftest.
$ac_ext >&5
16246 wx_cv_func_iconv_const
="yes"
16253 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16256 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16257 iconv_const
="const"
16260 cat >> confdefs.h
<<EOF
16261 #define ICONV_CONST 1
16266 if test "$am_cv_lib_iconv" = yes; then
16271 LIBS
="$LIBICONV $LIBS"
16273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16274 ac_cpp
='$CPP $CPPFLAGS'
16275 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16276 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16277 cross_compiling
=$ac_cv_prog_cc_cross
16280 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16281 for ac_func
in sigaction
16283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16284 echo "configure:16285: checking for $ac_func" >&5
16285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16286 echo $ac_n "(cached) $ac_c" 1>&6
16288 cat > conftest.
$ac_ext <<EOF
16289 #line 16290 "configure"
16290 #include "confdefs.h"
16291 /* System header to define __stub macros and hopefully few prototypes,
16292 which can conflict with char $ac_func(); below. */
16293 #include <assert.h>
16294 /* Override any gcc2 internal prototype to avoid an error. */
16295 /* We use char because int might match the return type of a gcc2
16296 builtin and then its argument prototype would still apply. */
16301 /* The GNU C library defines this for functions which it implements
16302 to always fail with ENOSYS. Some functions are actually named
16303 something starting with __ and the normal name is an alias. */
16304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16312 if { (eval echo configure
:16313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16314 eval "ac_cv_func_$ac_func=yes"
16316 echo "configure: failed program was:" >&5
16317 cat conftest.
$ac_ext >&5
16319 eval "ac_cv_func_$ac_func=no"
16324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16325 echo "$ac_t""yes" 1>&6
16326 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16327 cat >> confdefs.h
<<EOF
16328 #define $ac_tr_func 1
16332 echo "$ac_t""no" 1>&6
16337 if test "$ac_cv_func_sigaction" = "no"; then
16338 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16339 wxUSE_ON_FATAL_EXCEPTION
=no
16342 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16346 ac_cpp
='$CXXCPP $CPPFLAGS'
16347 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16348 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16349 cross_compiling
=$ac_cv_prog_cxx_cross
16352 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16353 echo "configure:16354: checking for sa_handler type" >&5
16354 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16355 echo $ac_n "(cached) $ac_c" 1>&6
16358 cat > conftest.
$ac_ext <<EOF
16359 #line 16360 "configure"
16360 #include "confdefs.h"
16361 #include <signal.h>
16364 extern void testSigHandler(int);
16366 struct sigaction sa;
16367 sa.sa_handler = testSigHandler;
16371 if { (eval echo configure
:16372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16374 wx_cv_type_sa_handler
=int
16377 echo "configure: failed program was:" >&5
16378 cat conftest.
$ac_ext >&5
16381 wx_cv_type_sa_handler
=void
16388 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16391 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16392 ac_cpp
='$CPP $CPPFLAGS'
16393 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16394 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16395 cross_compiling
=$ac_cv_prog_cc_cross
16398 cat >> confdefs.h
<<EOF
16399 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16405 for ac_func
in vfork
16407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16408 echo "configure:16409: checking for $ac_func" >&5
16409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16410 echo $ac_n "(cached) $ac_c" 1>&6
16412 cat > conftest.
$ac_ext <<EOF
16413 #line 16414 "configure"
16414 #include "confdefs.h"
16415 /* System header to define __stub macros and hopefully few prototypes,
16416 which can conflict with char $ac_func(); below. */
16417 #include <assert.h>
16418 /* Override any gcc2 internal prototype to avoid an error. */
16419 /* We use char because int might match the return type of a gcc2
16420 builtin and then its argument prototype would still apply. */
16425 /* The GNU C library defines this for functions which it implements
16426 to always fail with ENOSYS. Some functions are actually named
16427 something starting with __ and the normal name is an alias. */
16428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16436 if { (eval echo configure
:16437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16438 eval "ac_cv_func_$ac_func=yes"
16440 echo "configure: failed program was:" >&5
16441 cat conftest.
$ac_ext >&5
16443 eval "ac_cv_func_$ac_func=no"
16448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16449 echo "$ac_t""yes" 1>&6
16450 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16451 cat >> confdefs.h
<<EOF
16452 #define $ac_tr_func 1
16456 echo "$ac_t""no" 1>&6
16461 for ac_func
in mkstemp mktemp
16463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16464 echo "configure:16465: checking for $ac_func" >&5
16465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16466 echo $ac_n "(cached) $ac_c" 1>&6
16468 cat > conftest.
$ac_ext <<EOF
16469 #line 16470 "configure"
16470 #include "confdefs.h"
16471 /* System header to define __stub macros and hopefully few prototypes,
16472 which can conflict with char $ac_func(); below. */
16473 #include <assert.h>
16474 /* Override any gcc2 internal prototype to avoid an error. */
16475 /* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16481 /* The GNU C library defines this for functions which it implements
16482 to always fail with ENOSYS. Some functions are actually named
16483 something starting with __ and the normal name is an alias. */
16484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16492 if { (eval echo configure
:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16494 eval "ac_cv_func_$ac_func=yes"
16496 echo "configure: failed program was:" >&5
16497 cat conftest.
$ac_ext >&5
16499 eval "ac_cv_func_$ac_func=no"
16504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16505 echo "$ac_t""yes" 1>&6
16506 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16507 cat >> confdefs.h
<<EOF
16508 #define $ac_tr_func 1
16512 echo "$ac_t""no" 1>&6
16517 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16518 echo "configure:16519: checking for statfs" >&5
16519 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16522 cat > conftest.
$ac_ext <<EOF
16523 #line 16524 "configure"
16524 #include "confdefs.h"
16526 #if defined(__BSD__)
16527 #include <sys/param.h>
16528 #include <sys/mount.h>
16530 #include <sys/vfs.h>
16544 if { (eval echo configure
:16545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16547 wx_cv_func_statfs
=yes
16550 echo "configure: failed program was:" >&5
16551 cat conftest.
$ac_ext >&5
16554 wx_cv_func_statfs
=no
16562 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16564 if test "$wx_cv_func_statfs" = "yes"; then
16565 cat >> confdefs.h
<<\EOF
16566 #define HAVE_STATFS 1
16570 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16571 echo "configure:16572: checking for statvfs" >&5
16572 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16573 echo $ac_n "(cached) $ac_c" 1>&6
16575 cat > conftest.
$ac_ext <<EOF
16576 #line 16577 "configure"
16577 #include "confdefs.h"
16579 #include <sys/statvfs.h>
16592 if { (eval echo configure
:16593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16595 wx_cv_func_statvfs
=yes
16598 echo "configure: failed program was:" >&5
16599 cat conftest.
$ac_ext >&5
16602 wx_cv_func_statvfs
=no
16610 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16612 if test "$wx_cv_func_statvfs" = "yes"; then
16613 cat >> confdefs.h
<<\EOF
16614 #define HAVE_STATVFS 1
16618 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16622 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16623 for ac_func
in fcntl flock
16625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16626 echo "configure:16627: checking for $ac_func" >&5
16627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16628 echo $ac_n "(cached) $ac_c" 1>&6
16630 cat > conftest.
$ac_ext <<EOF
16631 #line 16632 "configure"
16632 #include "confdefs.h"
16633 /* System header to define __stub macros and hopefully few prototypes,
16634 which can conflict with char $ac_func(); below. */
16635 #include <assert.h>
16636 /* Override any gcc2 internal prototype to avoid an error. */
16637 /* We use char because int might match the return type of a gcc2
16638 builtin and then its argument prototype would still apply. */
16643 /* The GNU C library defines this for functions which it implements
16644 to always fail with ENOSYS. Some functions are actually named
16645 something starting with __ and the normal name is an alias. */
16646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16654 if { (eval echo configure
:16655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16656 eval "ac_cv_func_$ac_func=yes"
16658 echo "configure: failed program was:" >&5
16659 cat conftest.
$ac_ext >&5
16661 eval "ac_cv_func_$ac_func=no"
16666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16667 echo "$ac_t""yes" 1>&6
16668 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16669 cat >> confdefs.h
<<EOF
16670 #define $ac_tr_func 1
16674 echo "$ac_t""no" 1>&6
16679 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16680 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16681 wxUSE_SNGLINST_CHECKER
=no
16685 for ac_func
in timegm
16687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16688 echo "configure:16689: checking for $ac_func" >&5
16689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16690 echo $ac_n "(cached) $ac_c" 1>&6
16692 cat > conftest.
$ac_ext <<EOF
16693 #line 16694 "configure"
16694 #include "confdefs.h"
16695 /* System header to define __stub macros and hopefully few prototypes,
16696 which can conflict with char $ac_func(); below. */
16697 #include <assert.h>
16698 /* Override any gcc2 internal prototype to avoid an error. */
16699 /* We use char because int might match the return type of a gcc2
16700 builtin and then its argument prototype would still apply. */
16705 /* The GNU C library defines this for functions which it implements
16706 to always fail with ENOSYS. Some functions are actually named
16707 something starting with __ and the normal name is an alias. */
16708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16716 if { (eval echo configure
:16717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16718 eval "ac_cv_func_$ac_func=yes"
16720 echo "configure: failed program was:" >&5
16721 cat conftest.
$ac_ext >&5
16723 eval "ac_cv_func_$ac_func=no"
16728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16729 echo "$ac_t""yes" 1>&6
16730 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16731 cat >> confdefs.h
<<EOF
16732 #define $ac_tr_func 1
16736 echo "$ac_t""no" 1>&6
16741 for ac_func
in putenv setenv
16743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16744 echo "configure:16745: checking for $ac_func" >&5
16745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16746 echo $ac_n "(cached) $ac_c" 1>&6
16748 cat > conftest.
$ac_ext <<EOF
16749 #line 16750 "configure"
16750 #include "confdefs.h"
16751 /* System header to define __stub macros and hopefully few prototypes,
16752 which can conflict with char $ac_func(); below. */
16753 #include <assert.h>
16754 /* Override any gcc2 internal prototype to avoid an error. */
16755 /* We use char because int might match the return type of a gcc2
16756 builtin and then its argument prototype would still apply. */
16761 /* The GNU C library defines this for functions which it implements
16762 to always fail with ENOSYS. Some functions are actually named
16763 something starting with __ and the normal name is an alias. */
16764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16772 if { (eval echo configure
:16773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16774 eval "ac_cv_func_$ac_func=yes"
16776 echo "configure: failed program was:" >&5
16777 cat conftest.
$ac_ext >&5
16779 eval "ac_cv_func_$ac_func=no"
16784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16785 echo "$ac_t""yes" 1>&6
16786 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16787 cat >> confdefs.h
<<EOF
16788 #define $ac_tr_func 1
16792 echo "$ac_t""no" 1>&6
16797 HAVE_SOME_SLEEP_FUNC
=0
16798 if test "$USE_BEOS" = 1; then
16799 cat >> confdefs.h
<<\EOF
16800 #define HAVE_SLEEP 1
16803 HAVE_SOME_SLEEP_FUNC
=1
16806 if test "$USE_DARWIN" = 1; then
16807 cat >> confdefs.h
<<\EOF
16808 #define HAVE_USLEEP 1
16811 HAVE_SOME_SLEEP_FUNC
=1
16814 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16816 for ac_func
in nanosleep
16818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16819 echo "configure:16820: checking for $ac_func" >&5
16820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16821 echo $ac_n "(cached) $ac_c" 1>&6
16823 cat > conftest.
$ac_ext <<EOF
16824 #line 16825 "configure"
16825 #include "confdefs.h"
16826 /* System header to define __stub macros and hopefully few prototypes,
16827 which can conflict with char $ac_func(); below. */
16828 #include <assert.h>
16829 /* Override any gcc2 internal prototype to avoid an error. */
16830 /* We use char because int might match the return type of a gcc2
16831 builtin and then its argument prototype would still apply. */
16836 /* The GNU C library defines this for functions which it implements
16837 to always fail with ENOSYS. Some functions are actually named
16838 something starting with __ and the normal name is an alias. */
16839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16847 if { (eval echo configure
:16848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16849 eval "ac_cv_func_$ac_func=yes"
16851 echo "configure: failed program was:" >&5
16852 cat conftest.
$ac_ext >&5
16854 eval "ac_cv_func_$ac_func=no"
16859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16860 echo "$ac_t""yes" 1>&6
16861 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16862 cat >> confdefs.h
<<EOF
16863 #define $ac_tr_func 1
16865 cat >> confdefs.h
<<\EOF
16866 #define HAVE_NANOSLEEP 1
16870 echo "$ac_t""no" 1>&6
16871 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16872 echo "configure:16873: checking for nanosleep in -lposix4" >&5
16873 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16875 echo $ac_n "(cached) $ac_c" 1>&6
16877 ac_save_LIBS
="$LIBS"
16878 LIBS
="-lposix4 $LIBS"
16879 cat > conftest.
$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 /* Override any gcc2 internal prototype to avoid an error. */
16883 /* We use char because int might match the return type of a gcc2
16884 builtin and then its argument prototype would still apply. */
16891 if { (eval echo configure
:16892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16893 eval "ac_cv_lib_$ac_lib_var=yes"
16895 echo "configure: failed program was:" >&5
16896 cat conftest.
$ac_ext >&5
16898 eval "ac_cv_lib_$ac_lib_var=no"
16901 LIBS
="$ac_save_LIBS"
16904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16905 echo "$ac_t""yes" 1>&6
16907 cat >> confdefs.h
<<\EOF
16908 #define HAVE_NANOSLEEP 1
16911 POSIX4_LINK
=" -lposix4"
16914 echo "$ac_t""no" 1>&6
16916 for ac_func
in usleep
16918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16919 echo "configure:16920: checking for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached) $ac_c" 1>&6
16923 cat > conftest.
$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16947 if { (eval echo configure
:16948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
16949 eval "ac_cv_func_$ac_func=yes"
16951 echo "configure: failed program was:" >&5
16952 cat conftest.
$ac_ext >&5
16954 eval "ac_cv_func_$ac_func=no"
16959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16960 echo "$ac_t""yes" 1>&6
16961 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16962 cat >> confdefs.h
<<EOF
16963 #define $ac_tr_func 1
16965 cat >> confdefs.h
<<\EOF
16966 #define HAVE_USLEEP 1
16970 echo "$ac_t""no" 1>&6
16971 echo "configure: warning: wxSleep() function will not work" 1>&2
16987 for ac_func
in uname gethostname
16989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16990 echo "configure:16991: checking for $ac_func" >&5
16991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16992 echo $ac_n "(cached) $ac_c" 1>&6
16994 cat > conftest.
$ac_ext <<EOF
16995 #line 16996 "configure"
16996 #include "confdefs.h"
16997 /* System header to define __stub macros and hopefully few prototypes,
16998 which can conflict with char $ac_func(); below. */
16999 #include <assert.h>
17000 /* Override any gcc2 internal prototype to avoid an error. */
17001 /* We use char because int might match the return type of a gcc2
17002 builtin and then its argument prototype would still apply. */
17007 /* The GNU C library defines this for functions which it implements
17008 to always fail with ENOSYS. Some functions are actually named
17009 something starting with __ and the normal name is an alias. */
17010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17018 if { (eval echo configure
:17019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17020 eval "ac_cv_func_$ac_func=yes"
17022 echo "configure: failed program was:" >&5
17023 cat conftest.
$ac_ext >&5
17025 eval "ac_cv_func_$ac_func=no"
17030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17031 echo "$ac_t""yes" 1>&6
17032 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17033 cat >> confdefs.h
<<EOF
17034 #define $ac_tr_func 1
17038 echo "$ac_t""no" 1>&6
17045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17046 ac_cpp
='$CXXCPP $CPPFLAGS'
17047 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17048 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17049 cross_compiling
=$ac_cv_prog_cxx_cross
17052 for ac_func
in strtok_r
17054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17055 echo "configure:17056: checking for $ac_func" >&5
17056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17057 echo $ac_n "(cached) $ac_c" 1>&6
17059 cat > conftest.
$ac_ext <<EOF
17060 #line 17061 "configure"
17061 #include "confdefs.h"
17062 /* System header to define __stub macros and hopefully few prototypes,
17063 which can conflict with char $ac_func(); below. */
17064 #include <assert.h>
17065 /* Override any gcc2 internal prototype to avoid an error. */
17069 /* We use char because int might match the return type of a gcc2
17070 builtin and then its argument prototype would still apply. */
17075 /* The GNU C library defines this for functions which it implements
17076 to always fail with ENOSYS. Some functions are actually named
17077 something starting with __ and the normal name is an alias. */
17078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17086 if { (eval echo configure
:17087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17088 eval "ac_cv_func_$ac_func=yes"
17090 echo "configure: failed program was:" >&5
17091 cat conftest.
$ac_ext >&5
17093 eval "ac_cv_func_$ac_func=no"
17098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17099 echo "$ac_t""yes" 1>&6
17100 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17101 cat >> confdefs.h
<<EOF
17102 #define $ac_tr_func 1
17106 echo "$ac_t""no" 1>&6
17112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17113 ac_cpp
='$CPP $CPPFLAGS'
17114 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17115 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17116 cross_compiling
=$ac_cv_prog_cc_cross
17120 for ac_func
in inet_addr
17122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17123 echo "configure:17124: checking for $ac_func" >&5
17124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17125 echo $ac_n "(cached) $ac_c" 1>&6
17127 cat > conftest.
$ac_ext <<EOF
17128 #line 17129 "configure"
17129 #include "confdefs.h"
17130 /* System header to define __stub macros and hopefully few prototypes,
17131 which can conflict with char $ac_func(); below. */
17132 #include <assert.h>
17133 /* Override any gcc2 internal prototype to avoid an error. */
17134 /* We use char because int might match the return type of a gcc2
17135 builtin and then its argument prototype would still apply. */
17140 /* The GNU C library defines this for functions which it implements
17141 to always fail with ENOSYS. Some functions are actually named
17142 something starting with __ and the normal name is an alias. */
17143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17151 if { (eval echo configure
:17152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17153 eval "ac_cv_func_$ac_func=yes"
17155 echo "configure: failed program was:" >&5
17156 cat conftest.
$ac_ext >&5
17158 eval "ac_cv_func_$ac_func=no"
17163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17164 echo "$ac_t""yes" 1>&6
17165 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17166 cat >> confdefs.h
<<EOF
17167 #define $ac_tr_func 1
17169 cat >> confdefs.h
<<\EOF
17170 #define HAVE_INET_ADDR 1
17174 echo "$ac_t""no" 1>&6
17175 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17176 echo "configure:17177: checking for inet_addr in -lnsl" >&5
17177 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17178 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17179 echo $ac_n "(cached) $ac_c" 1>&6
17181 ac_save_LIBS
="$LIBS"
17183 cat > conftest.
$ac_ext <<EOF
17184 #line 17185 "configure"
17185 #include "confdefs.h"
17186 /* Override any gcc2 internal prototype to avoid an error. */
17187 /* We use char because int might match the return type of a gcc2
17188 builtin and then its argument prototype would still apply. */
17195 if { (eval echo configure
:17196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17197 eval "ac_cv_lib_$ac_lib_var=yes"
17199 echo "configure: failed program was:" >&5
17200 cat conftest.
$ac_ext >&5
17202 eval "ac_cv_lib_$ac_lib_var=no"
17205 LIBS
="$ac_save_LIBS"
17208 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17209 echo "$ac_t""yes" 1>&6
17212 echo "$ac_t""no" 1>&6
17213 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17214 echo "configure:17215: checking for inet_addr in -lresolv" >&5
17215 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17217 echo $ac_n "(cached) $ac_c" 1>&6
17219 ac_save_LIBS
="$LIBS"
17220 LIBS
="-lresolv $LIBS"
17221 cat > conftest.
$ac_ext <<EOF
17222 #line 17223 "configure"
17223 #include "confdefs.h"
17224 /* Override any gcc2 internal prototype to avoid an error. */
17225 /* We use char because int might match the return type of a gcc2
17226 builtin and then its argument prototype would still apply. */
17233 if { (eval echo configure
:17234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17235 eval "ac_cv_lib_$ac_lib_var=yes"
17237 echo "configure: failed program was:" >&5
17238 cat conftest.
$ac_ext >&5
17240 eval "ac_cv_lib_$ac_lib_var=no"
17243 LIBS
="$ac_save_LIBS"
17246 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17247 echo "$ac_t""yes" 1>&6
17250 echo "$ac_t""no" 1>&6
17251 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17252 echo "configure:17253: checking for inet_addr in -lsocket" >&5
17253 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17255 echo $ac_n "(cached) $ac_c" 1>&6
17257 ac_save_LIBS
="$LIBS"
17258 LIBS
="-lsocket $LIBS"
17259 cat > conftest.
$ac_ext <<EOF
17260 #line 17261 "configure"
17261 #include "confdefs.h"
17262 /* Override any gcc2 internal prototype to avoid an error. */
17263 /* We use char because int might match the return type of a gcc2
17264 builtin and then its argument prototype would still apply. */
17271 if { (eval echo configure
:17272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17273 eval "ac_cv_lib_$ac_lib_var=yes"
17275 echo "configure: failed program was:" >&5
17276 cat conftest.
$ac_ext >&5
17278 eval "ac_cv_lib_$ac_lib_var=no"
17281 LIBS
="$ac_save_LIBS"
17284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17285 echo "$ac_t""yes" 1>&6
17289 echo "$ac_t""no" 1>&6
17304 for ac_func
in inet_aton
17306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17307 echo "configure:17308: checking for $ac_func" >&5
17308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17309 echo $ac_n "(cached) $ac_c" 1>&6
17311 cat > conftest.
$ac_ext <<EOF
17312 #line 17313 "configure"
17313 #include "confdefs.h"
17314 /* System header to define __stub macros and hopefully few prototypes,
17315 which can conflict with char $ac_func(); below. */
17316 #include <assert.h>
17317 /* Override any gcc2 internal prototype to avoid an error. */
17318 /* We use char because int might match the return type of a gcc2
17319 builtin and then its argument prototype would still apply. */
17324 /* The GNU C library defines this for functions which it implements
17325 to always fail with ENOSYS. Some functions are actually named
17326 something starting with __ and the normal name is an alias. */
17327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17335 if { (eval echo configure
:17336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17337 eval "ac_cv_func_$ac_func=yes"
17339 echo "configure: failed program was:" >&5
17340 cat conftest.
$ac_ext >&5
17342 eval "ac_cv_func_$ac_func=no"
17347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17348 echo "$ac_t""yes" 1>&6
17349 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17350 cat >> confdefs.h
<<EOF
17351 #define $ac_tr_func 1
17353 cat >> confdefs.h
<<\EOF
17354 #define HAVE_INET_ATON 1
17358 echo "$ac_t""no" 1>&6
17359 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17360 echo "configure:17361: checking for inet_aton in -l$INET_LINK" >&5
17361 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17362 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17363 echo $ac_n "(cached) $ac_c" 1>&6
17365 ac_save_LIBS
="$LIBS"
17366 LIBS
="-l$INET_LINK $LIBS"
17367 cat > conftest.
$ac_ext <<EOF
17368 #line 17369 "configure"
17369 #include "confdefs.h"
17370 /* Override any gcc2 internal prototype to avoid an error. */
17371 /* We use char because int might match the return type of a gcc2
17372 builtin and then its argument prototype would still apply. */
17379 if { (eval echo configure
:17380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17381 eval "ac_cv_lib_$ac_lib_var=yes"
17383 echo "configure: failed program was:" >&5
17384 cat conftest.
$ac_ext >&5
17386 eval "ac_cv_lib_$ac_lib_var=no"
17389 LIBS
="$ac_save_LIBS"
17392 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17393 echo "$ac_t""yes" 1>&6
17394 cat >> confdefs.h
<<\EOF
17395 #define HAVE_INET_ATON 1
17399 echo "$ac_t""no" 1>&6
17407 if test "x$INET_LINK" != "x"; then
17408 cat >> confdefs.h
<<\EOF
17409 #define HAVE_INET_ADDR 1
17412 INET_LINK
=" -l$INET_LINK"
17418 cat > confcache
<<\EOF
17419 # This file is a shell script that caches the results of configure
17420 # tests run on this system so they can be shared between configure
17421 # scripts and configure runs. It is not useful on other systems.
17422 # If it contains results you don't want to keep, you may remove or edit it.
17424 # By default, configure uses ./config.cache as the cache file,
17425 # creating it if it does not exist already. You can give configure
17426 # the --cache-file=FILE option to use a different cache file; that is
17427 # what configure does when it calls configure scripts in
17428 # subdirectories, so they share the cache.
17429 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17430 # config.status only pays attention to the cache file if you give it the
17431 # --recheck option to rerun configure.
17434 # The following way of writing the cache mishandles newlines in values,
17435 # but we know of no workaround that is simple, portable, and efficient.
17436 # So, don't put newlines in cache variables' values.
17437 # Ultrix sh set writes to stderr and can't be redirected directly,
17438 # and sets the high bit in the cache file unless we assign to the vars.
17440 case `(ac_space=' '; set) 2>&1` in
17442 # `set' does not quote correctly, so add quotes (double-quote substitution
17443 # turns \\\\ into \\, and sed turns \\ into \).
17445 -e "s/'/'\\\\''/g" \
17446 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17449 # `set' quotes correctly as required by POSIX, so do not add quotes.
17450 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17453 if cmp -s $cache_file confcache
; then
17456 if test -w $cache_file; then
17457 echo "updating cache $cache_file"
17458 cat confcache
> $cache_file
17460 echo "not updating unwritable cache $cache_file"
17468 if test "$TOOLKIT" != "MSW"; then
17474 if test "$wxUSE_THREADS" = "yes" ; then
17475 if test "$wxUSE_WINE" = 1 ; then
17476 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17478 elif test "$USE_BEOS" = 1; then
17479 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17484 if test "$wxUSE_THREADS" = "yes" ; then
17487 THREAD_OPTS
="-pthread"
17489 *-*-solaris2* | *-*-sunos4* )
17490 if test "x$GCC" = "xyes"; then
17491 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17493 THREAD_OPTS
="-mt $THREAD_OPTS"
17497 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17499 *-*-darwin* | *-*-cygwin* )
17503 THREAD_OPTS
="pthreads"
17507 THREAD_OPTS
="$THREAD_OPTS pthread none"
17510 for flag
in $THREAD_OPTS; do
17513 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17514 echo "configure:17515: checking whether pthreads work without any flags" >&5
17518 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17519 echo "configure:17520: checking whether pthreads work with $flag" >&5
17520 THREADS_CFLAGS
="$flag"
17524 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17525 echo "configure:17526: checking for the pthreads library -l$flag" >&5
17526 THREADS_LINK
="-l$flag"
17531 save_CFLAGS
="$CFLAGS"
17532 LIBS
="$THREADS_LINK $LIBS"
17533 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17535 cat > conftest.
$ac_ext <<EOF
17536 #line 17537 "configure"
17537 #include "confdefs.h"
17538 #include <pthread.h>
17540 pthread_create(0,0,0,0);
17543 if { (eval echo configure
:17544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17547 echo "configure: failed program was:" >&5
17548 cat conftest.
$ac_ext >&5
17553 CFLAGS
="$save_CFLAGS"
17555 echo "$ac_t""$THREADS_OK" 1>&6
17556 if test "x$THREADS_OK" = "xyes"; then
17564 if test "x$THREADS_OK" != "xyes"; then
17566 echo "configure: warning: No thread support on this system... disabled" 1>&2
17568 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17570 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17571 echo "configure:17572: checking if more special flags are required for pthreads" >&5
17574 *-aix* | *-freebsd*)
17575 flag
="-D_THREAD_SAFE"
17577 *solaris
* | alpha
*-osf*)
17578 flag
="-D_REENTRANT"
17581 echo "$ac_t""${flag}" 1>&6
17582 if test "x$flag" != xno
; then
17583 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17586 if test "x$THREADS_CFLAGS" != "x"; then
17587 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17588 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17593 if test "$wxUSE_THREADS" = "yes" ; then
17594 for ac_func
in thr_setconcurrency
17596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17597 echo "configure:17598: checking for $ac_func" >&5
17598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17599 echo $ac_n "(cached) $ac_c" 1>&6
17601 cat > conftest.
$ac_ext <<EOF
17602 #line 17603 "configure"
17603 #include "confdefs.h"
17604 /* System header to define __stub macros and hopefully few prototypes,
17605 which can conflict with char $ac_func(); below. */
17606 #include <assert.h>
17607 /* Override any gcc2 internal prototype to avoid an error. */
17608 /* We use char because int might match the return type of a gcc2
17609 builtin and then its argument prototype would still apply. */
17614 /* The GNU C library defines this for functions which it implements
17615 to always fail with ENOSYS. Some functions are actually named
17616 something starting with __ and the normal name is an alias. */
17617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17625 if { (eval echo configure
:17626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17627 eval "ac_cv_func_$ac_func=yes"
17629 echo "configure: failed program was:" >&5
17630 cat conftest.
$ac_ext >&5
17632 eval "ac_cv_func_$ac_func=no"
17637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17638 echo "$ac_t""yes" 1>&6
17639 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17640 cat >> confdefs.h
<<EOF
17641 #define $ac_tr_func 1
17645 echo "$ac_t""no" 1>&6
17650 for ac_hdr
in sched.h
17652 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17653 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17654 echo "configure:17655: checking for $ac_hdr" >&5
17655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17656 echo $ac_n "(cached) $ac_c" 1>&6
17658 cat > conftest.
$ac_ext <<EOF
17659 #line 17660 "configure"
17660 #include "confdefs.h"
17663 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17664 { (eval echo configure
:17665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17665 ac_err
=`grep -v '^ *+' conftest.out`
17666 if test -z "$ac_err"; then
17668 eval "ac_cv_header_$ac_safe=yes"
17671 echo "configure: failed program was:" >&5
17672 cat conftest.
$ac_ext >&5
17674 eval "ac_cv_header_$ac_safe=no"
17678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17679 echo "$ac_t""yes" 1>&6
17680 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17681 cat >> confdefs.h
<<EOF
17682 #define $ac_tr_hdr 1
17686 echo "$ac_t""no" 1>&6
17690 if test "$ac_cv_header_sched_h" = "yes"; then
17691 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17692 echo "configure:17693: checking for sched_yield" >&5
17693 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17694 echo $ac_n "(cached) $ac_c" 1>&6
17696 cat > conftest.
$ac_ext <<EOF
17697 #line 17698 "configure"
17698 #include "confdefs.h"
17699 /* System header to define __stub macros and hopefully few prototypes,
17700 which can conflict with char sched_yield(); below. */
17701 #include <assert.h>
17702 /* Override any gcc2 internal prototype to avoid an error. */
17703 /* We use char because int might match the return type of a gcc2
17704 builtin and then its argument prototype would still apply. */
17705 char sched_yield();
17709 /* The GNU C library defines this for functions which it implements
17710 to always fail with ENOSYS. Some functions are actually named
17711 something starting with __ and the normal name is an alias. */
17712 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17720 if { (eval echo configure
:17721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17722 eval "ac_cv_func_sched_yield=yes"
17724 echo "configure: failed program was:" >&5
17725 cat conftest.
$ac_ext >&5
17727 eval "ac_cv_func_sched_yield=no"
17732 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17733 echo "$ac_t""yes" 1>&6
17734 cat >> confdefs.h
<<\EOF
17735 #define HAVE_SCHED_YIELD 1
17739 echo "$ac_t""no" 1>&6
17741 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17742 echo "configure:17743: checking for sched_yield in -lposix4" >&5
17743 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17745 echo $ac_n "(cached) $ac_c" 1>&6
17747 ac_save_LIBS
="$LIBS"
17748 LIBS
="-lposix4 $LIBS"
17749 cat > conftest.
$ac_ext <<EOF
17750 #line 17751 "configure"
17751 #include "confdefs.h"
17752 /* Override any gcc2 internal prototype to avoid an error. */
17753 /* We use char because int might match the return type of a gcc2
17754 builtin and then its argument prototype would still apply. */
17755 char sched_yield();
17761 if { (eval echo configure
:17762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17763 eval "ac_cv_lib_$ac_lib_var=yes"
17765 echo "configure: failed program was:" >&5
17766 cat conftest.
$ac_ext >&5
17768 eval "ac_cv_lib_$ac_lib_var=no"
17771 LIBS
="$ac_save_LIBS"
17774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17775 echo "$ac_t""yes" 1>&6
17776 cat >> confdefs.h
<<\EOF
17777 #define HAVE_SCHED_YIELD 1
17779 POSIX4_LINK
=" -lposix4"
17781 echo "$ac_t""no" 1>&6
17782 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17793 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17794 echo "configure:17795: checking for pthread_attr_getschedpolicy" >&5
17795 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17796 echo $ac_n "(cached) $ac_c" 1>&6
17798 cat > conftest.
$ac_ext <<EOF
17799 #line 17800 "configure"
17800 #include "confdefs.h"
17801 /* System header to define __stub macros and hopefully few prototypes,
17802 which can conflict with char pthread_attr_getschedpolicy(); below. */
17803 #include <assert.h>
17804 /* Override any gcc2 internal prototype to avoid an error. */
17805 /* We use char because int might match the return type of a gcc2
17806 builtin and then its argument prototype would still apply. */
17807 char pthread_attr_getschedpolicy();
17811 /* The GNU C library defines this for functions which it implements
17812 to always fail with ENOSYS. Some functions are actually named
17813 something starting with __ and the normal name is an alias. */
17814 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17817 pthread_attr_getschedpolicy();
17822 if { (eval echo configure
:17823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17824 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17826 echo "configure: failed program was:" >&5
17827 cat conftest.
$ac_ext >&5
17829 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17834 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17835 echo "$ac_t""yes" 1>&6
17836 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17837 echo "configure:17838: checking for pthread_attr_setschedparam" >&5
17838 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17839 echo $ac_n "(cached) $ac_c" 1>&6
17841 cat > conftest.
$ac_ext <<EOF
17842 #line 17843 "configure"
17843 #include "confdefs.h"
17844 /* System header to define __stub macros and hopefully few prototypes,
17845 which can conflict with char pthread_attr_setschedparam(); below. */
17846 #include <assert.h>
17847 /* Override any gcc2 internal prototype to avoid an error. */
17848 /* We use char because int might match the return type of a gcc2
17849 builtin and then its argument prototype would still apply. */
17850 char pthread_attr_setschedparam();
17854 /* The GNU C library defines this for functions which it implements
17855 to always fail with ENOSYS. Some functions are actually named
17856 something starting with __ and the normal name is an alias. */
17857 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17860 pthread_attr_setschedparam();
17865 if { (eval echo configure
:17866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17867 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17869 echo "configure: failed program was:" >&5
17870 cat conftest.
$ac_ext >&5
17872 eval "ac_cv_func_pthread_attr_setschedparam=no"
17877 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17878 echo "$ac_t""yes" 1>&6
17879 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17880 echo "configure:17881: checking for sched_get_priority_max" >&5
17881 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17882 echo $ac_n "(cached) $ac_c" 1>&6
17884 cat > conftest.
$ac_ext <<EOF
17885 #line 17886 "configure"
17886 #include "confdefs.h"
17887 /* System header to define __stub macros and hopefully few prototypes
17889 echo "$ac_t""no" 1>&6
17890 which can conflict with char sched_get_priority_max(); below. */
17891 #include <assert.h>
17892 /* Override any gcc2 internal prototype to avoid an error. */
17893 /* We use char because int might match the return type of a gcc2
17894 builtin and then its argument prototype would still apply. */
17895 char sched_get_priority_max();
17899 /* The GNU C library defines this for functions which it implements
17900 to always fail with ENOSYS. Some functions are actually named
17901 something starting with __ and the normal name is an alias. */
17902 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17905 sched_get_priority_max();
17910 if { (eval echo configure
:17911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17912 eval "ac_cv_func_sched_get_priority_max=yes"
17914 echo "configure: failed program was:" >&5
17915 cat conftest.
$ac_ext >&5
17917 eval "ac_cv_func_sched_get_priority_max=no"
17922 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17923 echo "$ac_t""yes" 1>&6
17926 echo "$ac_t""no" 1>&6
17927 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17928 echo "configure:17929: checking for sched_get_priority_max in -lposix4" >&5
17929 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17930 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17931 echo $ac_n "(cached) $ac_c" 1>&6
17933 ac_save_LIBS
="$LIBS"
17934 LIBS
="-lposix4 $LIBS"
17935 cat > conftest.
$ac_ext <<EOF
17936 #line 17937 "configure"
17937 #include "confdefs.h"
17938 /* Override any gcc2 internal prototype to avoid an error. */
17939 /* We use char because int might match the return type of a gcc2
17940 builtin and then its argument prototype would still apply. */
17941 char sched_get_priority_max();
17944 sched_get_priority_max()
17947 if { (eval echo configure
:17948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
17949 eval "ac_cv_lib_$ac_lib_var=yes"
17951 echo "configure: failed program was:" >&5
17952 cat conftest.
$ac_ext >&5
17954 eval "ac_cv_lib_$ac_lib_var=no"
17957 LIBS
="$ac_save_LIBS"
17960 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17961 echo "$ac_t""yes" 1>&6
17964 POSIX4_LINK
=" -lposix4"
17967 echo "$ac_t""no" 1>&6
17975 echo "$ac_t""no" 1>&6
17982 if test "$HAVE_PRIOR_FUNCS" = 1; then
17983 cat >> confdefs.h
<<\EOF
17984 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17988 echo "configure: warning: Setting thread priority will not work" 1>&2
17991 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17992 echo "configure:17993: checking for pthread_cancel" >&5
17993 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17994 echo $ac_n "(cached) $ac_c" 1>&6
17996 cat > conftest.
$ac_ext <<EOF
17997 #line 17998 "configure"
17998 #include "confdefs.h"
17999 /* System header to define __stub macros and hopefully few prototypes,
18000 which can conflict with char pthread_cancel(); below. */
18001 #include <assert.h>
18002 /* Override any gcc2 internal prototype to avoid an error. */
18003 /* We use char because int might match the return type of a gcc2
18004 builtin and then its argument prototype would still apply. */
18005 char pthread_cancel();
18009 /* The GNU C library defines this for functions which it implements
18010 to always fail with ENOSYS. Some functions are actually named
18011 something starting with __ and the normal name is an alias. */
18012 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18020 if { (eval echo configure
:18021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
18022 eval "ac_cv_func_pthread_cancel=yes"
18024 echo "configure: failed program was:" >&5
18025 cat conftest.
$ac_ext >&5
18027 eval "ac_cv_func_pthread_cancel=no"
18032 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18033 echo "$ac_t""yes" 1>&6
18034 cat >> confdefs.h
<<\EOF
18035 #define HAVE_PTHREAD_CANCEL 1
18039 echo "$ac_t""no" 1>&6
18040 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18044 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18045 echo "configure:18046: checking for pthread_cleanup_push/pop" >&5
18046 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18047 echo $ac_n "(cached) $ac_c" 1>&6
18050 cat > conftest.
$ac_ext <<EOF
18051 #line 18052 "configure"
18052 #include "confdefs.h"
18053 #include <pthread.h>
18056 pthread_cleanup_push(NULL, NULL);
18057 pthread_cleanup_pop(0);
18061 if { (eval echo configure
:18062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18064 wx_cv_func_pthread_cleanup_push
=yes
18067 echo "configure: failed program was:" >&5
18068 cat conftest.
$ac_ext >&5
18071 wx_cv_func_pthread_cleanup_push
=no
18078 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18080 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18081 cat >> confdefs.h
<<\EOF
18082 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18088 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18089 echo "configure:18090: checking for pthread_mutexattr_t" >&5
18090 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18091 echo $ac_n "(cached) $ac_c" 1>&6
18094 cat > conftest.
$ac_ext <<EOF
18095 #line 18096 "configure"
18096 #include "confdefs.h"
18097 #include <pthread.h>
18100 pthread_mutexattr_t attr;
18101 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18105 if { (eval echo configure
:18106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18108 wx_cv_type_pthread_mutexattr_t
=yes
18111 echo "configure: failed program was:" >&5
18112 cat conftest.
$ac_ext >&5
18115 wx_cv_type_pthread_mutexattr_t
=no
18123 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18125 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18126 cat >> confdefs.h
<<\EOF
18127 #define HAVE_PTHREAD_MUTEXATTR_T 1
18131 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18132 echo "configure:18133: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18133 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18134 echo $ac_n "(cached) $ac_c" 1>&6
18137 cat > conftest.
$ac_ext <<EOF
18138 #line 18139 "configure"
18139 #include "confdefs.h"
18140 #include <pthread.h>
18143 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18147 if { (eval echo configure
:18148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18150 wx_cv_type_pthread_rec_mutex_init
=yes
18153 echo "configure: failed program was:" >&5
18154 cat conftest.
$ac_ext >&5
18157 wx_cv_type_pthread_rec_mutex_init
=no
18165 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18166 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18167 cat >> confdefs.h
<<\EOF
18168 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18172 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18179 if test "$wxUSE_THREADS" = "yes"; then
18180 cat >> confdefs.h
<<\EOF
18181 #define wxUSE_THREADS 1
18185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18187 if test "$ac_cv_func_strtok_r" = "yes"; then
18188 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18189 echo "configure:18190: checking if -D_REENTRANT is needed" >&5
18190 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18191 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18192 echo "$ac_t""yes" 1>&6
18194 echo "$ac_t""no" 1>&6
18199 if test "$WXGTK20" = 1 ; then
18200 cat >> confdefs.h
<<EOF
18201 #define __WXGTK20__ $WXGTK20
18207 if test "$WXGTK12" = 1 ; then
18208 cat >> confdefs.h
<<EOF
18209 #define __WXGTK12__ $WXGTK12
18214 if test "$WXGTK127" = 1 ; then
18215 cat >> confdefs.h
<<EOF
18216 #define __WXGTK127__ $WXGTK127
18223 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18228 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18229 wxUSE_DEBUG_INFO
=yes
18233 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18234 cat >> confdefs.h
<<\EOF
18238 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18240 if test "$wxUSE_GTK" = 1 ; then
18241 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18245 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18246 cat >> confdefs.h
<<\EOF
18247 #define wxUSE_MEMORY_TRACING 1
18250 cat >> confdefs.h
<<\EOF
18251 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18254 cat >> confdefs.h
<<\EOF
18255 #define wxUSE_DEBUG_NEW_ALWAYS 1
18258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18261 if test "$wxUSE_DMALLOC" = "yes" ; then
18262 DMALLOC_LIBS
="-ldmalloc"
18266 if test "$wxUSE_PROFILE" = "yes" ; then
18271 CODE_GEN_FLAGS_CXX
=
18272 if test "$GCC" = "yes" ; then
18273 if test "$wxUSE_NO_RTTI" = "yes" ; then
18274 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18276 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18277 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18279 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18280 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18282 if test "$USE_WIN32" = 1 ; then
18283 # I'm not even really sure what this was ever added to solve,
18284 # but someone added it for mingw native builds, so I guess
18285 # they had a reason, right??
18286 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18291 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18296 if test "$wxUSE_OPTIMISE" = "no" ; then
18299 if test "$GCC" = yes ; then
18302 i586
-*-*|i686
-*-* )
18303 OPTIMISE
="${OPTIMISE} "
18311 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18312 cat >> confdefs.h
<<\EOF
18313 #define WXWIN_COMPATIBILITY_2 1
18317 WXWIN_COMPATIBILITY_2_2
="yes"
18320 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18321 cat >> confdefs.h
<<\EOF
18322 #define WXWIN_COMPATIBILITY_2_2 1
18328 if test "$wxUSE_GUI" = "yes"; then
18329 cat >> confdefs.h
<<\EOF
18330 #define wxUSE_GUI 1
18335 cat >> confdefs.h
<<\EOF
18336 #define wxUSE_NOGUI 1
18342 if test "$wxUSE_UNIX" = "yes"; then
18343 cat >> confdefs.h
<<\EOF
18344 #define wxUSE_UNIX 1
18350 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18351 cat >> confdefs.h
<<\EOF
18352 #define wxUSE_APPLE_IEEE 1
18357 if test "$wxUSE_TIMER" = "yes"; then
18358 cat >> confdefs.h
<<\EOF
18359 #define wxUSE_TIMER 1
18364 if test "$wxUSE_WAVE" = "yes"; then
18365 cat >> confdefs.h
<<\EOF
18366 #define wxUSE_WAVE 1
18371 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18372 cat >> confdefs.h
<<\EOF
18373 #define wxUSE_CMDLINE_PARSER 1
18378 if test "$wxUSE_STOPWATCH" = "yes"; then
18379 cat >> confdefs.h
<<\EOF
18380 #define wxUSE_STOPWATCH 1
18385 if test "$wxUSE_DATETIME" = "yes"; then
18386 cat >> confdefs.h
<<\EOF
18387 #define wxUSE_DATETIME 1
18392 if test "$wxUSE_TIMEDATE" = "yes"; then
18393 cat >> confdefs.h
<<\EOF
18394 #define wxUSE_TIMEDATE 1
18399 if test "$wxUSE_FILE" = "yes"; then
18400 cat >> confdefs.h
<<\EOF
18401 #define wxUSE_FILE 1
18406 if test "$wxUSE_FFILE" = "yes"; then
18407 cat >> confdefs.h
<<\EOF
18408 #define wxUSE_FFILE 1
18413 if test "$wxUSE_FILESYSTEM" = "yes"; then
18414 cat >> confdefs.h
<<\EOF
18415 #define wxUSE_FILESYSTEM 1
18420 if test "$wxUSE_FS_INET" = "yes"; then
18421 cat >> confdefs.h
<<\EOF
18422 #define wxUSE_FS_INET 1
18427 if test "$wxUSE_FS_ZIP" = "yes"; then
18428 cat >> confdefs.h
<<\EOF
18429 #define wxUSE_FS_ZIP 1
18434 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18435 cat >> confdefs.h
<<\EOF
18436 #define wxUSE_ZIPSTREAM 1
18441 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18442 cat >> confdefs.h
<<\EOF
18443 #define wxUSE_ON_FATAL_EXCEPTION 1
18448 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18449 cat >> confdefs.h
<<\EOF
18450 #define wxUSE_SNGLINST_CHECKER 1
18455 if test "$wxUSE_BUSYINFO" = "yes"; then
18456 cat >> confdefs.h
<<\EOF
18457 #define wxUSE_BUSYINFO 1
18462 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18463 cat >> confdefs.h
<<\EOF
18464 #define wxUSE_STD_IOSTREAM 1
18469 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_TEXTBUFFER 1
18476 if test "$wxUSE_TEXTFILE" = "yes"; then
18477 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18478 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18480 cat >> confdefs.h
<<\EOF
18481 #define wxUSE_TEXTFILE 1
18487 if test "$wxUSE_CONFIG" = "yes" ; then
18488 if test "$wxUSE_TEXTFILE" != "yes"; then
18489 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18491 cat >> confdefs.h
<<\EOF
18492 #define wxUSE_CONFIG 1
18495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18499 if test "$wxUSE_INTL" = "yes" ; then
18500 if test "$wxUSE_FILE" != "yes"; then
18501 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18503 cat >> confdefs.h
<<\EOF
18504 #define wxUSE_INTL 1
18507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18508 GUIDIST
="$GUIDIST INTL_DIST"
18512 if test "$wxUSE_LOG" = "yes"; then
18513 cat >> confdefs.h
<<\EOF
18514 #define wxUSE_LOG 1
18518 if test "$wxUSE_LOGGUI" = "yes"; then
18519 cat >> confdefs.h
<<\EOF
18520 #define wxUSE_LOGGUI 1
18525 if test "$wxUSE_LOGWINDOW" = "yes"; then
18526 cat >> confdefs.h
<<\EOF
18527 #define wxUSE_LOGWINDOW 1
18532 if test "$wxUSE_LOGDIALOG" = "yes"; then
18533 cat >> confdefs.h
<<\EOF
18534 #define wxUSE_LOG_DIALOG 1
18540 if test "$wxUSE_LONGLONG" = "yes"; then
18541 cat >> confdefs.h
<<\EOF
18542 #define wxUSE_LONGLONG 1
18547 if test "$wxUSE_GEOMETRY" = "yes"; then
18548 cat >> confdefs.h
<<\EOF
18549 #define wxUSE_GEOMETRY 1
18554 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_DIALUP_MANAGER 1
18559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18562 if test "$wxUSE_STREAMS" = "yes" ; then
18563 cat >> confdefs.h
<<\EOF
18564 #define wxUSE_STREAMS 1
18570 if test "$wxUSE_DATETIME" = "yes"; then
18571 for ac_func
in strptime
18573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18574 echo "configure:18575: checking for $ac_func" >&5
18575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18576 echo $ac_n "(cached) $ac_c" 1>&6
18578 cat > conftest.
$ac_ext <<EOF
18579 #line 18580 "configure"
18580 #include "confdefs.h"
18581 /* System header to define __stub macros and hopefully few prototypes,
18582 which can conflict with char $ac_func(); below. */
18583 #include <assert.h>
18584 /* Override any gcc2 internal prototype to avoid an error. */
18585 /* We use char because int might match the return type of a gcc2
18586 builtin and then its argument prototype would still apply. */
18591 /* The GNU C library defines this for functions which it implements
18592 to always fail with ENOSYS. Some functions are actually named
18593 something starting with __ and the normal name is an alias. */
18594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18602 if { (eval echo configure
:18603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
18604 eval "ac_cv_func_$ac_func=yes"
18606 echo "configure: failed program was:" >&5
18607 cat conftest.
$ac_ext >&5
18609 eval "ac_cv_func_$ac_func=no"
18614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18615 echo "$ac_t""yes" 1>&6
18616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18617 cat >> confdefs.h
<<EOF
18618 #define $ac_tr_func 1
18622 echo "$ac_t""no" 1>&6
18627 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18628 echo "configure:18629: checking for timezone variable in <time.h>" >&5
18629 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18630 echo $ac_n "(cached) $ac_c" 1>&6
18633 cat > conftest.
$ac_ext <<EOF
18634 #line 18635 "configure"
18635 #include "confdefs.h"
18646 if { (eval echo configure
:18647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18649 wx_cv_var_timezone
=timezone
18652 echo "configure: failed program was:" >&5
18653 cat conftest.
$ac_ext >&5
18656 cat > conftest.
$ac_ext <<EOF
18657 #line 18658 "configure"
18658 #include "confdefs.h"
18669 if { (eval echo configure
:18670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18672 wx_cv_var_timezone
=_timezone
18675 echo "configure: failed program was:" >&5
18676 cat conftest.
$ac_ext >&5
18679 cat > conftest.
$ac_ext <<EOF
18680 #line 18681 "configure"
18681 #include "confdefs.h"
18692 if { (eval echo configure
:18693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18695 wx_cv_var_timezone
=__timezone
18698 echo "configure: failed program was:" >&5
18699 cat conftest.
$ac_ext >&5
18702 if test "$USE_DOS" = 0 ; then
18703 echo "configure: warning: no timezone variable" 1>&2
18721 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18723 if test "x$wx_cv_var_timezone" != x
; then
18724 cat >> confdefs.h
<<EOF
18725 #define WX_TIMEZONE $wx_cv_var_timezone
18730 for ac_func
in localtime
18732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18733 echo "configure:18734: checking for $ac_func" >&5
18734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18735 echo $ac_n "(cached) $ac_c" 1>&6
18737 cat > conftest.
$ac_ext <<EOF
18738 #line 18739 "configure"
18739 #include "confdefs.h"
18740 /* System header to define __stub macros and hopefully few prototypes,
18741 which can conflict with char $ac_func(); below. */
18742 #include <assert.h>
18743 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18750 /* The GNU C library defines this for functions which it implements
18751 to always fail with ENOSYS. Some functions are actually named
18752 something starting with __ and the normal name is an alias. */
18753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18761 if { (eval echo configure
:18762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
18763 eval "ac_cv_func_$ac_func=yes"
18765 echo "configure: failed program was:" >&5
18766 cat conftest.
$ac_ext >&5
18768 eval "ac_cv_func_$ac_func=no"
18773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18774 echo "$ac_t""yes" 1>&6
18775 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18776 cat >> confdefs.h
<<EOF
18777 #define $ac_tr_func 1
18781 echo "$ac_t""no" 1>&6
18786 if test "$ac_cv_func_localtime" = "yes"; then
18787 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18788 echo "configure:18789: checking for tm_gmtoff in struct tm" >&5
18789 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18790 echo $ac_n "(cached) $ac_c" 1>&6
18793 cat > conftest.
$ac_ext <<EOF
18794 #line 18795 "configure"
18795 #include "confdefs.h"
18806 if { (eval echo configure
:18807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18809 wx_cv_struct_tm_has_gmtoff
=yes
18812 echo "configure: failed program was:" >&5
18813 cat conftest.
$ac_ext >&5
18815 wx_cv_struct_tm_has_gmtoff
=no
18822 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18825 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18826 cat >> confdefs.h
<<\EOF
18827 #define WX_GMTOFF_IN_TM 1
18832 for ac_func
in gettimeofday ftime
18834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18835 echo "configure:18836: checking for $ac_func" >&5
18836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18837 echo $ac_n "(cached) $ac_c" 1>&6
18839 cat > conftest.
$ac_ext <<EOF
18840 #line 18841 "configure"
18841 #include "confdefs.h"
18842 /* System header to define __stub macros and hopefully few prototypes,
18843 which can conflict with char $ac_func(); below. */
18844 #include <assert.h>
18845 /* Override any gcc2 internal prototype to avoid an error. */
18846 /* We use char because int might match the return type of a gcc2
18847 builtin and then its argument prototype would still apply. */
18852 /* The GNU C library defines this for functions which it implements
18853 to always fail with ENOSYS. Some functions are actually named
18854 something starting with __ and the normal name is an alias. */
18855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18863 if { (eval echo configure
:18864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
18865 eval "ac_cv_func_$ac_func=yes"
18867 echo "configure: failed program was:" >&5
18868 cat conftest.
$ac_ext >&5
18870 eval "ac_cv_func_$ac_func=no"
18875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18876 echo "$ac_t""yes" 1>&6
18877 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18878 cat >> confdefs.h
<<EOF
18879 #define $ac_tr_func 1
18883 echo "$ac_t""no" 1>&6
18888 if test "$ac_cv_func_gettimeofday" = "yes"; then
18889 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18890 echo "configure:18891: checking whether gettimeofday takes two arguments" >&5
18891 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18892 echo $ac_n "(cached) $ac_c" 1>&6
18897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18898 ac_cpp
='$CXXCPP $CPPFLAGS'
18899 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18900 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18901 cross_compiling
=$ac_cv_prog_cxx_cross
18904 cat > conftest.
$ac_ext <<EOF
18905 #line 18906 "configure"
18906 #include "confdefs.h"
18908 #include <sys/time.h>
18909 #include <unistd.h>
18914 gettimeofday(&tv, NULL);
18918 if { (eval echo configure
:18919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18920 wx_cv_func_gettimeofday_has_2_args
=yes
18922 echo "configure: failed program was:" >&5
18923 cat conftest.
$ac_ext >&5
18925 cat > conftest.
$ac_ext <<EOF
18926 #line 18927 "configure"
18927 #include "confdefs.h"
18929 #include <sys/time.h>
18930 #include <unistd.h>
18939 if { (eval echo configure
:18940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18941 wx_cv_func_gettimeofday_has_2_args
=no
18943 echo "configure: failed program was:" >&5
18944 cat conftest.
$ac_ext >&5
18947 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18948 wx_cv_func_gettimeofday_has_2_args
=unknown
18957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18958 ac_cpp
='$CPP $CPPFLAGS'
18959 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18960 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18961 cross_compiling
=$ac_cv_prog_cc_cross
18966 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18968 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18969 cat >> confdefs.h
<<\EOF
18970 #define WX_GETTIMEOFDAY_NO_TZ 1
18976 cat >> confdefs.h
<<\EOF
18977 #define wxUSE_TIMEDATE 1
18980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18984 if test "$wxUSE_SOCKETS" = "yes"; then
18985 if test "$wxUSE_X11" = "1"; then
18986 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18990 if test "$wxUSE_MGL" = "1"; then
18991 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18996 if test "$wxUSE_SOCKETS" = "yes"; then
18997 if test "$TOOLKIT" != "MSW"; then
18998 echo $ac_n "checking for socket""... $ac_c" 1>&6
18999 echo "configure:19000: checking for socket" >&5
19000 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19001 echo $ac_n "(cached) $ac_c" 1>&6
19003 cat > conftest.
$ac_ext <<EOF
19004 #line 19005 "configure"
19005 #include "confdefs.h"
19006 /* System header to define __stub macros and hopefully few prototypes,
19007 which can conflict with char socket(); below. */
19008 #include <assert.h>
19009 /* Override any gcc2 internal prototype to avoid an error. */
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19016 /* The GNU C library defines this for functions which it implements
19017 to always fail with ENOSYS. Some functions are actually named
19018 something starting with __ and the normal name is an alias. */
19019 #if defined (__stub_socket) || defined (__stub___socket)
19027 if { (eval echo configure
:19028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19029 eval "ac_cv_func_socket=yes"
19031 echo "configure: failed program was:" >&5
19032 cat conftest.
$ac_ext >&5
19034 eval "ac_cv_func_socket=no"
19039 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19040 echo "$ac_t""yes" 1>&6
19043 echo "$ac_t""no" 1>&6
19044 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19045 echo "configure:19046: checking for socket in -lsocket" >&5
19046 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19048 echo $ac_n "(cached) $ac_c" 1>&6
19050 ac_save_LIBS
="$LIBS"
19051 LIBS
="-lsocket $LIBS"
19052 cat > conftest.
$ac_ext <<EOF
19053 #line 19054 "configure"
19054 #include "confdefs.h"
19055 /* Override any gcc2 internal prototype to avoid an error. */
19056 /* We use char because int might match the return type of a gcc2
19057 builtin and then its argument prototype would still apply. */
19064 if { (eval echo configure
:19065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19066 eval "ac_cv_lib_$ac_lib_var=yes"
19068 echo "configure: failed program was:" >&5
19069 cat conftest.
$ac_ext >&5
19071 eval "ac_cv_lib_$ac_lib_var=no"
19074 LIBS
="$ac_save_LIBS"
19077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19078 echo "$ac_t""yes" 1>&6
19079 if test "$INET_LINK" != " -lsocket"; then
19080 INET_LINK
="$INET_LINK -lsocket"
19083 echo "$ac_t""no" 1>&6
19085 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19097 if test "$wxUSE_SOCKETS" = "yes" ; then
19098 if test "$TOOLKIT" != "MSW"; then
19099 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19100 echo "configure:19101: checking what is the type of the third argument of getsockname" >&5
19101 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19102 echo $ac_n "(cached) $ac_c" 1>&6
19107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19108 ac_cpp
='$CXXCPP $CPPFLAGS'
19109 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19110 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19111 cross_compiling
=$ac_cv_prog_cxx_cross
19114 cat > conftest.
$ac_ext <<EOF
19115 #line 19116 "configure"
19116 #include "confdefs.h"
19118 #include <sys/types.h>
19119 #include <sys/socket.h>
19124 getsockname(0, 0, &len);
19128 if { (eval echo configure
:19129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19130 wx_cv_type_getsockname3
=socklen_t
19132 echo "configure: failed program was:" >&5
19133 cat conftest.
$ac_ext >&5
19135 cat > conftest.
$ac_ext <<EOF
19136 #line 19137 "configure"
19137 #include "confdefs.h"
19139 #include <sys/types.h>
19140 #include <sys/socket.h>
19145 getsockname(0, 0, &len);
19149 if { (eval echo configure
:19150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19151 wx_cv_type_getsockname3
=size_t
19153 echo "configure: failed program was:" >&5
19154 cat conftest.
$ac_ext >&5
19156 cat > conftest.
$ac_ext <<EOF
19157 #line 19158 "configure"
19158 #include "confdefs.h"
19160 #include <sys/types.h>
19161 #include <sys/socket.h>
19166 getsockname(0, 0, &len);
19170 if { (eval echo configure
:19171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19172 wx_cv_type_getsockname3
=int
19174 echo "configure: failed program was:" >&5
19175 cat conftest.
$ac_ext >&5
19177 wx_cv_type_getsockname3
=unknown
19189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19190 ac_cpp
='$CPP $CPPFLAGS'
19191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19192 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19193 cross_compiling
=$ac_cv_prog_cc_cross
19198 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19200 if test "$wx_cv_type_getsockname3" = "unknown"; then
19202 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19204 cat >> confdefs.h
<<EOF
19205 #define SOCKLEN_T $wx_cv_type_getsockname3
19212 if test "$wxUSE_SOCKETS" = "yes" ; then
19213 cat >> confdefs.h
<<\EOF
19214 #define wxUSE_SOCKETS 1
19217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19221 if test "$wxUSE_GUI" = "yes"; then
19223 if test "$TOOLKIT" = "MAC"; then
19224 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19227 if test "$TOOLKIT" = "MOTIF"; then
19228 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19231 if test "$TOOLKIT" = "X11"; then
19232 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19236 if test "$TOOLKIT" != "MSW"; then
19237 if test "$wxUSE_JOYSTICK" = "yes"; then
19238 for ac_hdr
in linux
/joystick.h
19240 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19242 echo "configure:19243: checking for $ac_hdr" >&5
19243 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19244 echo $ac_n "(cached) $ac_c" 1>&6
19246 cat > conftest.
$ac_ext <<EOF
19247 #line 19248 "configure"
19248 #include "confdefs.h"
19251 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19252 { (eval echo configure
:19253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19253 ac_err
=`grep -v '^ *+' conftest.out`
19254 if test -z "$ac_err"; then
19256 eval "ac_cv_header_$ac_safe=yes"
19259 echo "configure: failed program was:" >&5
19260 cat conftest.
$ac_ext >&5
19262 eval "ac_cv_header_$ac_safe=no"
19266 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19267 echo "$ac_t""yes" 1>&6
19268 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19269 cat >> confdefs.h
<<EOF
19270 #define $ac_tr_hdr 1
19274 echo "$ac_t""no" 1>&6
19278 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19280 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19285 if test "$wxUSE_JOYSTICK" = "yes"; then
19286 cat >> confdefs.h
<<\EOF
19287 #define wxUSE_JOYSTICK 1
19290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19295 if test "$TOOLKIT" != "MSW"; then
19299 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19300 if test "$USE_DARWIN" = 1; then
19303 for ac_func
in dlopen
19305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19306 echo "configure:19307: checking for $ac_func" >&5
19307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19308 echo $ac_n "(cached) $ac_c" 1>&6
19310 cat > conftest.
$ac_ext <<EOF
19311 #line 19312 "configure"
19312 #include "confdefs.h"
19313 /* System header to define __stub macros and hopefully few prototypes,
19314 which can conflict with char $ac_func(); below. */
19315 #include <assert.h>
19316 /* Override any gcc2 internal prototype to avoid an error. */
19317 /* We use char because int might match the return type of a gcc2
19318 builtin and then its argument prototype would still apply. */
19323 /* The GNU C library defines this for functions which it implements
19324 to always fail with ENOSYS. Some functions are actually named
19325 something starting with __ and the normal name is an alias. */
19326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19334 if { (eval echo configure
:19335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19336 eval "ac_cv_func_$ac_func=yes"
19338 echo "configure: failed program was:" >&5
19339 cat conftest.
$ac_ext >&5
19341 eval "ac_cv_func_$ac_func=no"
19346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19347 echo "$ac_t""yes" 1>&6
19348 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19349 cat >> confdefs.h
<<EOF
19350 #define $ac_tr_func 1
19353 cat >> confdefs.h
<<\EOF
19354 #define HAVE_DLOPEN 1
19360 echo "$ac_t""no" 1>&6
19361 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19362 echo "configure:19363: checking for dlopen in -ldl" >&5
19363 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19365 echo $ac_n "(cached) $ac_c" 1>&6
19367 ac_save_LIBS
="$LIBS"
19369 cat > conftest.
$ac_ext <<EOF
19370 #line 19371 "configure"
19371 #include "confdefs.h"
19372 /* Override any gcc2 internal prototype to avoid an error. */
19373 /* We use char because int might match the return type of a gcc2
19374 builtin and then its argument prototype would still apply. */
19381 if { (eval echo configure
:19382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19383 eval "ac_cv_lib_$ac_lib_var=yes"
19385 echo "configure: failed program was:" >&5
19386 cat conftest.
$ac_ext >&5
19388 eval "ac_cv_lib_$ac_lib_var=no"
19391 LIBS
="$ac_save_LIBS"
19394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19395 echo "$ac_t""yes" 1>&6
19397 cat >> confdefs.h
<<\EOF
19398 #define HAVE_DLOPEN 1
19402 DL_LINK
=" -ldl$DL_LINK"
19405 echo "$ac_t""no" 1>&6
19407 for ac_func
in shl_load
19409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19410 echo "configure:19411: checking for $ac_func" >&5
19411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19412 echo $ac_n "(cached) $ac_c" 1>&6
19414 cat > conftest.
$ac_ext <<EOF
19415 #line 19416 "configure"
19416 #include "confdefs.h"
19417 /* System header to define __stub macros and hopefully few prototypes,
19418 which can conflict with char $ac_func(); below. */
19419 #include <assert.h>
19420 /* Override any gcc2 internal prototype to avoid an error. */
19421 /* We use char because int might match the return type of a gcc2
19422 builtin and then its argument prototype would still apply. */
19427 /* The GNU C library defines this for functions which it implements
19428 to always fail with ENOSYS. Some functions are actually named
19429 something starting with __ and the normal name is an alias. */
19430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19438 if { (eval echo configure
:19439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19440 eval "ac_cv_func_$ac_func=yes"
19442 echo "configure: failed program was:" >&5
19443 cat conftest.
$ac_ext >&5
19445 eval "ac_cv_func_$ac_func=no"
19450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19451 echo "$ac_t""yes" 1>&6
19452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19453 cat >> confdefs.h
<<EOF
19454 #define $ac_tr_func 1
19457 cat >> confdefs.h
<<\EOF
19458 #define HAVE_SHL_LOAD 1
19464 echo "$ac_t""no" 1>&6
19465 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19466 echo "configure:19467: checking for dld in -lshl_load" >&5
19467 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19469 echo $ac_n "(cached) $ac_c" 1>&6
19471 ac_save_LIBS
="$LIBS"
19472 LIBS
="-lshl_load $LIBS"
19473 cat > conftest.
$ac_ext <<EOF
19474 #line 19475 "configure"
19475 #include "confdefs.h"
19476 /* Override any gcc2 internal prototype to avoid an error. */
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19485 if { (eval echo configure
:19486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19487 eval "ac_cv_lib_$ac_lib_var=yes"
19489 echo "configure: failed program was:" >&5
19490 cat conftest.
$ac_ext >&5
19492 eval "ac_cv_lib_$ac_lib_var=no"
19495 LIBS
="$ac_save_LIBS"
19498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19499 echo "$ac_t""yes" 1>&6
19502 DL_LINK
=" -ldld$DL_LINK"
19505 echo "$ac_t""no" 1>&6
19520 if test "$HAVE_DL_FUNCS" = 1; then
19521 for ac_func
in dlerror
19523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19524 echo "configure:19525: checking for $ac_func" >&5
19525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19526 echo $ac_n "(cached) $ac_c" 1>&6
19528 cat > conftest.
$ac_ext <<EOF
19529 #line 19530 "configure"
19530 #include "confdefs.h"
19531 /* System header to define __stub macros and hopefully few prototypes,
19532 which can conflict with char $ac_func(); below. */
19533 #include <assert.h>
19534 /* Override any gcc2 internal prototype to avoid an error. */
19535 /* We use char because int might match the return type of a gcc2
19536 builtin and then its argument prototype would still apply. */
19541 /* The GNU C library defines this for functions which it implements
19542 to always fail with ENOSYS. Some functions are actually named
19543 something starting with __ and the normal name is an alias. */
19544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19552 if { (eval echo configure
:19553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19554 eval "ac_cv_func_$ac_func=yes"
19556 echo "configure: failed program was:" >&5
19557 cat conftest.
$ac_ext >&5
19559 eval "ac_cv_func_$ac_func=no"
19564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19565 echo "$ac_t""yes" 1>&6
19566 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19567 cat >> confdefs.h
<<EOF
19568 #define $ac_tr_func 1
19570 cat >> confdefs.h
<<\EOF
19571 #define HAVE_DLERROR 1
19575 echo "$ac_t""no" 1>&6
19576 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19577 echo "configure:19578: checking for dlerror in -ldl" >&5
19578 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19580 echo $ac_n "(cached) $ac_c" 1>&6
19582 ac_save_LIBS
="$LIBS"
19584 cat > conftest.
$ac_ext <<EOF
19585 #line 19586 "configure"
19586 #include "confdefs.h"
19587 /* Override any gcc2 internal prototype to avoid an error. */
19588 /* We use char because int might match the return type of a gcc2
19589 builtin and then its argument prototype would still apply. */
19596 if { (eval echo configure
:19597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19598 eval "ac_cv_lib_$ac_lib_var=yes"
19600 echo "configure: failed program was:" >&5
19601 cat conftest.
$ac_ext >&5
19603 eval "ac_cv_lib_$ac_lib_var=no"
19606 LIBS
="$ac_save_LIBS"
19609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19610 echo "$ac_t""yes" 1>&6
19611 cat >> confdefs.h
<<\EOF
19612 #define HAVE_DLERROR 1
19616 echo "$ac_t""no" 1>&6
19625 if test "$HAVE_DL_FUNCS" = 0; then
19626 if test "$HAVE_SHL_FUNCS" = 0; then
19627 if test "$USE_UNIX" = 1; then
19628 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19629 wxUSE_DYNAMIC_LOADER
=no
19630 wxUSE_DYNLIB_CLASS
=no
19632 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19639 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19640 cat >> confdefs.h
<<\EOF
19641 #define wxUSE_DYNAMIC_LOADER 1
19644 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19645 cat >> confdefs.h
<<\EOF
19646 #define wxUSE_DYNLIB_CLASS 1
19652 if test "$wxUSE_FONTMAP" = "yes" ; then
19653 cat >> confdefs.h
<<\EOF
19654 #define wxUSE_FONTMAP 1
19659 if test "$wxUSE_UNICODE" = "yes" ; then
19660 cat >> confdefs.h
<<\EOF
19661 #define wxUSE_UNICODE 1
19665 if test "$wxUSE_MSW" != 1; then
19666 wxUSE_UNICODE_MSLU
=no
19669 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19670 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19671 echo "configure:19672: checking for main in -lunicows" >&5
19672 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19674 echo $ac_n "(cached) $ac_c" 1>&6
19676 ac_save_LIBS
="$LIBS"
19677 LIBS
="-lunicows $LIBS"
19678 cat > conftest.
$ac_ext <<EOF
19679 #line 19680 "configure"
19680 #include "confdefs.h"
19686 if { (eval echo configure
:19687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
19688 eval "ac_cv_lib_$ac_lib_var=yes"
19690 echo "configure: failed program was:" >&5
19691 cat conftest.
$ac_ext >&5
19693 eval "ac_cv_lib_$ac_lib_var=no"
19696 LIBS
="$ac_save_LIBS"
19699 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19700 echo "$ac_t""yes" 1>&6
19702 cat >> confdefs.h
<<\EOF
19703 #define wxUSE_UNICODE_MSLU 1
19708 echo "$ac_t""no" 1>&6
19710 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19711 Applications will only run on Windows NT/2000/XP!" 1>&2
19712 wxUSE_UNICODE_MSLU
=no
19719 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19720 cat >> confdefs.h
<<\EOF
19721 #define wxUSE_EXPERIMENTAL_PRINTF 1
19729 if test "$wxUSE_ODBC" = "yes" ; then
19730 cat >> confdefs.h
<<\EOF
19731 #define wxUSE_ODBC 1
19734 WXODBCFLAG
="-D_IODBC_"
19735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19739 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19740 cat >> confdefs.h
<<\EOF
19741 #define wxUSE_POSTSCRIPT 1
19746 cat >> confdefs.h
<<\EOF
19747 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19751 cat >> confdefs.h
<<\EOF
19752 #define wxUSE_NORMALIZED_PS_FONTS 1
19757 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19758 cat >> confdefs.h
<<\EOF
19759 #define wxUSE_CONSTRAINTS 1
19762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19765 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19766 if test "$wxUSE_UNIVERSAL" = "yes"; then
19767 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19768 wxUSE_MDI_ARCHITECTURE
=no
19771 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19772 cat >> confdefs.h
<<\EOF
19773 #define wxUSE_MDI_ARCHITECTURE 1
19776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19780 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19786 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19791 if test "$wxUSE_HELP" = "yes"; then
19792 cat >> confdefs.h
<<\EOF
19793 #define wxUSE_HELP 1
19796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19798 if test "$wxUSE_MSW" = 1; then
19799 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19800 cat >> confdefs.h
<<\EOF
19801 #define wxUSE_MS_HTML_HELP 1
19807 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19808 if test "$wxUSE_HTML" = "yes"; then
19809 cat >> confdefs.h
<<\EOF
19810 #define wxUSE_WXHTML_HELP 1
19814 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19815 wxUSE_WXHTML_HELP
=no
19820 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19822 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19824 cat >> confdefs.h
<<\EOF
19825 #define wxUSE_PRINTING_ARCHITECTURE 1
19829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19832 if test "$wxUSE_PROLOGIO" = "yes" ; then
19833 cat >> confdefs.h
<<\EOF
19834 #define wxUSE_PROLOGIO 1
19839 if test "$wxUSE_RESOURCES" = "yes" ; then
19840 if test "$wxUSE_NANOX" = "yes"; then
19841 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19843 cat >> confdefs.h
<<\EOF
19844 #define wxUSE_RESOURCES 1
19847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19851 if test "$wxUSE_X_RESOURCES" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_X_RESOURCES 1
19859 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19860 -o "$wxUSE_CLIPBOARD" = "yes" \
19861 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19862 for ac_hdr
in ole2.h
19864 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19865 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19866 echo "configure:19867: checking for $ac_hdr" >&5
19867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19868 echo $ac_n "(cached) $ac_c" 1>&6
19870 cat > conftest.
$ac_ext <<EOF
19871 #line 19872 "configure"
19872 #include "confdefs.h"
19875 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19876 { (eval echo configure
:19877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19877 ac_err
=`grep -v '^ *+' conftest.out`
19878 if test -z "$ac_err"; then
19880 eval "ac_cv_header_$ac_safe=yes"
19883 echo "configure: failed program was:" >&5
19884 cat conftest.
$ac_ext >&5
19886 eval "ac_cv_header_$ac_safe=no"
19890 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19891 echo "$ac_t""yes" 1>&6
19892 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19893 cat >> confdefs.h
<<EOF
19894 #define $ac_tr_hdr 1
19898 echo "$ac_t""no" 1>&6
19903 if test "$ac_cv_header_ole2_h" = "yes" ; then
19904 if test "$GCC" = yes ; then
19905 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19906 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19907 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19908 cat >> confdefs.h
<<\EOF
19909 #define wxUSE_OLE 1
19915 cat >> confdefs.h
<<\EOF
19916 #define wxUSE_DATAOBJ 1
19920 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19923 wxUSE_DRAG_AND_DROP
=no
19927 if test "$wxUSE_METAFILE" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_METAFILE 1
19933 cat >> confdefs.h
<<\EOF
19934 #define wxUSE_ENH_METAFILE 1
19940 if test "$wxUSE_IPC" = "yes"; then
19941 if test "$wxUSE_SOCKETS" != "yes"; then
19942 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19945 cat >> confdefs.h
<<\EOF
19946 #define wxUSE_IPC 1
19951 if test "$wxUSE_CLIPBOARD" = "yes"; then
19952 if test "$wxUSE_MGL" = 1; then
19953 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19957 if test "$wxUSE_CLIPBOARD" = "yes"; then
19958 cat >> confdefs.h
<<\EOF
19959 #define wxUSE_CLIPBOARD 1
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_DATAOBJ 1
19970 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19971 if test "$wxUSE_GTK" = 1; then
19972 if test "$WXGTK12" != 1; then
19973 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19974 wxUSE_DRAG_AND_DROP
=no
19978 if test "$wxUSE_MOTIF" = 1; then
19979 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19980 wxUSE_DRAG_AND_DROP
=no
19983 if test "$wxUSE_X11" = 1; then
19984 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19985 wxUSE_DRAG_AND_DROP
=no
19988 if test "$wxUSE_MGL" = 1; then
19989 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19990 wxUSE_DRAG_AND_DROP
=no
19993 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19994 cat >> confdefs.h
<<\EOF
19995 #define wxUSE_DRAG_AND_DROP 1
19998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20003 if test "$wxUSE_SPLINES" = "yes" ; then
20004 cat >> confdefs.h
<<\EOF
20005 #define wxUSE_SPLINES 1
20012 if test "$wxUSE_CONTROLS" = "yes"; then
20016 if test "$wxUSE_ACCEL" = "yes"; then
20017 cat >> confdefs.h
<<\EOF
20018 #define wxUSE_ACCEL 1
20024 if test "$wxUSE_BUTTON" = "yes"; then
20025 cat >> confdefs.h
<<\EOF
20026 #define wxUSE_BUTTON 1
20032 if test "$wxUSE_BMPBUTTON" = "yes"; then
20033 cat >> confdefs.h
<<\EOF
20034 #define wxUSE_BMPBUTTON 1
20040 if test "$wxUSE_CALCTRL" = "yes"; then
20041 cat >> confdefs.h
<<\EOF
20042 #define wxUSE_CALENDARCTRL 1
20046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20049 if test "$wxUSE_CARET" = "yes"; then
20050 cat >> confdefs.h
<<\EOF
20051 #define wxUSE_CARET 1
20055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20058 if test "$wxUSE_COMBOBOX" = "yes"; then
20059 cat >> confdefs.h
<<\EOF
20060 #define wxUSE_COMBOBOX 1
20066 if test "$wxUSE_CHOICE" = "yes"; then
20067 cat >> confdefs.h
<<\EOF
20068 #define wxUSE_CHOICE 1
20074 if test "$wxUSE_CHECKBOX" = "yes"; then
20075 cat >> confdefs.h
<<\EOF
20076 #define wxUSE_CHECKBOX 1
20082 if test "$wxUSE_CHECKLST" = "yes"; then
20083 cat >> confdefs.h
<<\EOF
20084 #define wxUSE_CHECKLISTBOX 1
20088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20091 if test "$wxUSE_GAUGE" = "yes"; then
20092 cat >> confdefs.h
<<\EOF
20093 #define wxUSE_GAUGE 1
20099 if test "$wxUSE_NEW_GRID" = "yes"; then
20101 cat >> confdefs.h
<<\EOF
20102 #define wxUSE_NEW_GRID 1
20106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20109 if test "$wxUSE_GRID" = "yes"; then
20110 cat >> confdefs.h
<<\EOF
20111 #define wxUSE_GRID 1
20115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20118 if test "$wxUSE_IMAGLIST" = "yes"; then
20119 cat >> confdefs.h
<<\EOF
20120 #define wxUSE_IMAGLIST 1
20125 if test "$wxUSE_LISTBOX" = "yes"; then
20126 cat >> confdefs.h
<<\EOF
20127 #define wxUSE_LISTBOX 1
20133 if test "$wxUSE_LISTCTRL" = "yes"; then
20134 if test "$wxUSE_IMAGLIST" = "yes"; then
20135 cat >> confdefs.h
<<\EOF
20136 #define wxUSE_LISTCTRL 1
20140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20142 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20146 if test "$wxUSE_NOTEBOOK" = "yes"; then
20147 cat >> confdefs.h
<<\EOF
20148 #define wxUSE_NOTEBOOK 1
20152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20155 if test "$wxUSE_PROPSHEET" = "yes"; then
20156 cat >> confdefs.h
<<\EOF
20157 #define wxUSE_PROPSHEET 1
20161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20164 if test "$wxUSE_RADIOBOX" = "yes"; then
20165 cat >> confdefs.h
<<\EOF
20166 #define wxUSE_RADIOBOX 1
20172 if test "$wxUSE_RADIOBTN" = "yes"; then
20173 cat >> confdefs.h
<<\EOF
20174 #define wxUSE_RADIOBTN 1
20180 if test "$wxUSE_SASH" = "yes"; then
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_SASH 1
20185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20188 if test "$wxUSE_SCROLLBAR" = "yes"; then
20189 cat >> confdefs.h
<<\EOF
20190 #define wxUSE_SCROLLBAR 1
20194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20197 if test "$wxUSE_SLIDER" = "yes"; then
20198 cat >> confdefs.h
<<\EOF
20199 #define wxUSE_SLIDER 1
20205 if test "$wxUSE_SPINBTN" = "yes"; then
20206 cat >> confdefs.h
<<\EOF
20207 #define wxUSE_SPINBTN 1
20213 if test "$wxUSE_SPINCTRL" = "yes"; then
20214 cat >> confdefs.h
<<\EOF
20215 #define wxUSE_SPINCTRL 1
20221 if test "$wxUSE_SPLITTER" = "yes"; then
20222 cat >> confdefs.h
<<\EOF
20223 #define wxUSE_SPLITTER 1
20226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20229 if test "$wxUSE_STATBMP" = "yes"; then
20230 cat >> confdefs.h
<<\EOF
20231 #define wxUSE_STATBMP 1
20237 if test "$wxUSE_STATBOX" = "yes"; then
20238 cat >> confdefs.h
<<\EOF
20239 #define wxUSE_STATBOX 1
20245 if test "$wxUSE_STATTEXT" = "yes"; then
20246 cat >> confdefs.h
<<\EOF
20247 #define wxUSE_STATTEXT 1
20253 if test "$wxUSE_STATLINE" = "yes"; then
20254 if test "$wxUSE_WINE" = 1 ; then
20255 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20257 cat >> confdefs.h
<<\EOF
20258 #define wxUSE_STATLINE 1
20265 if test "$wxUSE_STATUSBAR" = "yes"; then
20266 cat >> confdefs.h
<<\EOF
20267 #define wxUSE_STATUSBAR 1
20272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20275 if test "$wxUSE_TABDIALOG" = "yes"; then
20276 cat >> confdefs.h
<<\EOF
20277 #define wxUSE_TAB_DIALOG 1
20280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20283 if test "$wxUSE_TEXTCTRL" = "yes"; then
20284 cat >> confdefs.h
<<\EOF
20285 #define wxUSE_TEXTCTRL 1
20289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20293 if test "$wxUSE_MAC" = 1; then
20294 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20297 if test "$wxUSE_UNIVERSAL" = "yes"; then
20298 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20302 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20303 cat >> confdefs.h
<<\EOF
20304 #define wxUSE_TOGGLEBTN 1
20311 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20312 cat >> confdefs.h
<<\EOF
20313 #define wxUSE_TOOLBAR_SIMPLE 1
20316 wxUSE_TOOLBAR
="yes"
20320 if test "$wxUSE_TOOLBAR" = "yes"; then
20321 cat >> confdefs.h
<<\EOF
20322 #define wxUSE_TOOLBAR 1
20327 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20328 wxUSE_TOOLBAR_NATIVE
="yes"
20331 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20332 cat >> confdefs.h
<<\EOF
20333 #define wxUSE_TOOLBAR_NATIVE 1
20339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20342 if test "$wxUSE_TOOLTIPS" = "yes"; then
20343 if test "$wxUSE_MOTIF" = 1; then
20344 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20346 if test "$wxUSE_WINE" = 1; then
20347 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20349 if test "$wxUSE_UNIVERSAL" = "yes"; then
20350 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20352 cat >> confdefs.h
<<\EOF
20353 #define wxUSE_TOOLTIPS 1
20361 if test "$wxUSE_TREECTRL" = "yes"; then
20362 if test "$wxUSE_IMAGLIST" = "yes"; then
20363 cat >> confdefs.h
<<\EOF
20364 #define wxUSE_TREECTRL 1
20368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20370 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20374 if test "$wxUSE_POPUPWIN" = "yes"; then
20375 if test "$wxUSE_MAC" = 1; then
20376 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20378 if test "$wxUSE_MOTIF" = 1; then
20379 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20381 if test "$wxUSE_PM" = 1; then
20382 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20384 cat >> confdefs.h
<<\EOF
20385 #define wxUSE_POPUPWIN 1
20395 if test "$wxUSE_TIPWINDOW" = "yes"; then
20396 if test "$wxUSE_PM" = 1; then
20397 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20399 cat >> confdefs.h
<<\EOF
20400 #define wxUSE_TIPWINDOW 1
20406 if test "$USES_CONTROLS" = 1; then
20407 cat >> confdefs.h
<<\EOF
20408 #define wxUSE_CONTROLS 1
20414 if test "$wxUSE_TREELAYOUT" = "yes"; then
20415 cat >> confdefs.h
<<\EOF
20416 #define wxUSE_TREELAYOUT 1
20419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20422 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20423 cat >> confdefs.h
<<\EOF
20424 #define wxUSE_DRAGIMAGE 1
20427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20430 if test "$wxUSE_MENUS" = "yes"; then
20431 cat >> confdefs.h
<<\EOF
20432 #define wxUSE_MENUS 1
20435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20438 if test "$wxUSE_METAFILE" = "yes"; then
20439 cat >> confdefs.h
<<\EOF
20440 #define wxUSE_METAFILE 1
20445 if test "$wxUSE_MIMETYPE" = "yes"; then
20446 cat >> confdefs.h
<<\EOF
20447 #define wxUSE_MIMETYPE 1
20452 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20453 cat >> confdefs.h
<<\EOF
20454 #define wxUSE_SYSTEM_OPTIONS 1
20457 if test "$TOOLKIT" = "MSW"; then
20458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20463 if test "$wxUSE_PROTOCOL" = "yes"; then
20464 if test "$wxUSE_SOCKETS" != "yes"; then
20465 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20469 if test "$wxUSE_PROTOCOL" = "yes"; then
20470 cat >> confdefs.h
<<\EOF
20471 #define wxUSE_PROTOCOL 1
20475 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20476 cat >> confdefs.h
<<\EOF
20477 #define wxUSE_PROTOCOL_HTTP 1
20481 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20482 cat >> confdefs.h
<<\EOF
20483 #define wxUSE_PROTOCOL_FTP 1
20487 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20488 cat >> confdefs.h
<<\EOF
20489 #define wxUSE_PROTOCOL_FILE 1
20496 if test "$wxUSE_URL" = "yes"; then
20497 if test "$wxUSE_PROTOCOL" != "yes"; then
20498 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20501 if test "$wxUSE_URL" = "yes"; then
20502 cat >> confdefs.h
<<\EOF
20503 #define wxUSE_URL 1
20509 if test "$wxUSE_MINIFRAME" = "yes"; then
20510 cat >> confdefs.h
<<\EOF
20511 #define wxUSE_MINIFRAME 1
20514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20517 if test "$wxUSE_HTML" = "yes"; then
20518 cat >> confdefs.h
<<\EOF
20519 #define wxUSE_HTML 1
20522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20525 if test "$wxUSE_VALIDATORS" = "yes"; then
20526 cat >> confdefs.h
<<\EOF
20527 #define wxUSE_VALIDATORS 1
20530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20533 if test "$wxUSE_PALETTE" = "yes" ; then
20534 cat >> confdefs.h
<<\EOF
20535 #define wxUSE_PALETTE 1
20540 if test "$wxUSE_IMAGE" = "yes" ; then
20541 cat >> confdefs.h
<<\EOF
20542 #define wxUSE_IMAGE 1
20547 if test "$wxUSE_GIF" = "yes" ; then
20548 cat >> confdefs.h
<<\EOF
20549 #define wxUSE_GIF 1
20554 if test "$wxUSE_PCX" = "yes" ; then
20555 cat >> confdefs.h
<<\EOF
20556 #define wxUSE_PCX 1
20561 if test "$wxUSE_IFF" = "yes" ; then
20562 cat >> confdefs.h
<<\EOF
20563 #define wxUSE_IFF 1
20568 if test "$wxUSE_PNM" = "yes" ; then
20569 cat >> confdefs.h
<<\EOF
20570 #define wxUSE_PNM 1
20575 if test "$wxUSE_XPM" = "yes" ; then
20576 cat >> confdefs.h
<<\EOF
20577 #define wxUSE_XPM 1
20582 if test "$wxUSE_ICO_CUR" = "yes" ; then
20583 cat >> confdefs.h
<<\EOF
20584 #define wxUSE_ICO_CUR 1
20589 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20590 LIBS
=" -lunicows $LIBS"
20594 if test "$wxUSE_CHOICEDLG" = "yes"; then
20595 cat >> confdefs.h
<<\EOF
20596 #define wxUSE_CHOICEDLG 1
20601 if test "$wxUSE_COLOURDLG" = "yes"; then
20602 cat >> confdefs.h
<<\EOF
20603 #define wxUSE_COLOURDLG 1
20608 if test "$wxUSE_FILEDLG" = "yes"; then
20609 cat >> confdefs.h
<<\EOF
20610 #define wxUSE_FILEDLG 1
20615 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20616 cat >> confdefs.h
<<\EOF
20617 #define wxUSE_FINDREPLDLG 1
20622 if test "$wxUSE_FONTDLG" = "yes"; then
20623 cat >> confdefs.h
<<\EOF
20624 #define wxUSE_FONTDLG 1
20629 if test "$wxUSE_DIRDLG" = "yes"; then
20630 if test "$wxUSE_TREECTRL" != "yes"; then
20631 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20633 cat >> confdefs.h
<<\EOF
20634 #define wxUSE_DIRDLG 1
20640 if test "$wxUSE_MSGDLG" = "yes"; then
20641 cat >> confdefs.h
<<\EOF
20642 #define wxUSE_MSGDLG 1
20647 if test "$wxUSE_NUMBERDLG" = "yes"; then
20648 cat >> confdefs.h
<<\EOF
20649 #define wxUSE_NUMBERDLG 1
20654 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20655 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20656 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20658 cat >> confdefs.h
<<\EOF
20659 #define wxUSE_PROGRESSDLG 1
20665 if test "$wxUSE_SPLASH" = "yes"; then
20666 cat >> confdefs.h
<<\EOF
20667 #define wxUSE_SPLASH 1
20672 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20673 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20674 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20676 cat >> confdefs.h
<<\EOF
20677 #define wxUSE_STARTUP_TIPS 1
20683 if test "$wxUSE_TEXTDLG" = "yes"; then
20684 cat >> confdefs.h
<<\EOF
20685 #define wxUSE_TEXTDLG 1
20690 if test "$wxUSE_WIZARDDLG" = "yes"; then
20691 cat >> confdefs.h
<<\EOF
20692 #define wxUSE_WIZARDDLG 1
20695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20699 if test "$cross_compiling" = "yes"; then
20702 OSINFO
=`uname -s -r -m`
20703 OSINFO
="\"$OSINFO\""
20706 cat >> confdefs.h
<<EOF
20707 #define WXWIN_OS_DESCRIPTION $OSINFO
20712 if test "x$prefix" != "xNONE"; then
20715 wxPREFIX
=$ac_default_prefix
20718 cat >> confdefs.h
<<EOF
20719 #define wxINSTALL_PREFIX "$wxPREFIX"
20726 if test "$wxUSE_MAC" = 1 ; then
20727 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20731 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20733 if test "$wxUSE_GUI" = "yes"; then
20735 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20739 drawing dynamic erase event exec font image \
20740 minimal richedit rotate widgets"
20742 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20744 SAMPLES_SUBDIRS
="console"
20748 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20749 -I\${top_srcdir}/include \
20750 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20753 if test "$wxUSE_GTK" = 1; then
20756 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20759 if test "$GXX" = yes ; then
20760 CXXWARNINGS
="-Wall"
20762 if test "$wxUSE_NO_DEPS" = "no" ; then
20763 CFLAGS
="-MMD $CFLAGS"
20764 CXXFLAGS
="-MMD $CXXFLAGS"
20768 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20770 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20771 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20772 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20774 LDFLAGS
="$LDFLAGS $PROFILE"
20776 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20867 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20868 echo "configure:20869: checking whether ${MAKE-make} sets \${MAKE}" >&5
20869 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20870 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20871 echo $ac_n "(cached) $ac_c" 1>&6
20873 cat > conftestmake
<<\EOF
20875 @
echo 'ac_maketemp="${MAKE}"'
20877 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20878 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20879 if test -n "$ac_maketemp"; then
20880 eval ac_cv_prog_make_
${ac_make}_set
=yes
20882 eval ac_cv_prog_make_
${ac_make}_set
=no
20886 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20887 echo "$ac_t""yes" 1>&6
20890 echo "$ac_t""no" 1>&6
20891 SET_MAKE
="MAKE=${MAKE-make}"
20895 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20896 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20901 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20902 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20903 wx_cv_path_ifs
=$PATH_IFS
20904 wx_cv_program_ext
=$PROGRAM_EXT
20905 wx_cv_target_library
=$WX_TARGET_LIBRARY
20906 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20907 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20908 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20909 wx_cv_path_ifs wx_cv_program_ext \
20910 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20912 subdirs
="demos samples utils contrib"
20916 cat > confcache
<<\EOF
20917 # This file is a shell script that caches the results of configure
20918 # tests run on this system so they can be shared between configure
20919 # scripts and configure runs. It is not useful on other systems.
20920 # If it contains results you don't want to keep, you may remove or edit it.
20922 # By default, configure uses ./config.cache as the cache file,
20923 # creating it if it does not exist already. You can give configure
20924 # the --cache-file=FILE option to use a different cache file; that is
20925 # what configure does when it calls configure scripts in
20926 # subdirectories, so they share the cache.
20927 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20928 # config.status only pays attention to the cache file if you give it the
20929 # --recheck option to rerun configure.
20932 # The following way of writing the cache mishandles newlines in values,
20933 # but we know of no workaround that is simple, portable, and efficient.
20934 # So, don't put newlines in cache variables' values.
20935 # Ultrix sh set writes to stderr and can't be redirected directly,
20936 # and sets the high bit in the cache file unless we assign to the vars.
20938 case `(ac_space=' '; set) 2>&1` in
20940 # `set' does not quote correctly, so add quotes (double-quote substitution
20941 # turns \\\\ into \\, and sed turns \\ into \).
20943 -e "s/'/'\\\\''/g" \
20944 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20947 # `set' quotes correctly as required by POSIX, so do not add quotes.
20948 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20951 if cmp -s $cache_file confcache
; then
20954 if test -w $cache_file; then
20955 echo "updating cache $cache_file"
20956 cat confcache
> $cache_file
20958 echo "not updating unwritable cache $cache_file"
20963 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20965 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20966 # Let make expand exec_prefix.
20967 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20969 # Any assignment to VPATH causes Sun make to only execute
20970 # the first set of double-colon rules, so remove it if not needed.
20971 # If there is a colon in the path, we need to keep it.
20972 if test "x$srcdir" = x.
; then
20973 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20976 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20978 DEFS
=-DHAVE_CONFIG_H
20980 # Without the "./", some shells look in PATH for config.status.
20981 : ${CONFIG_STATUS=./config.status}
20983 echo creating
$CONFIG_STATUS
20984 rm -f $CONFIG_STATUS
20985 cat > $CONFIG_STATUS <<EOF
20987 # Generated automatically by configure.
20988 # Run this file to recreate the current configuration.
20989 # This directory was configured as follows,
20990 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20992 # $0 $ac_configure_args
20994 # Compiler output produced by configure, useful for debugging
20995 # configure, is in ./config.log if it exists.
20997 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21000 case "\$ac_option" in
21001 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21002 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21003 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21004 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21005 echo "$CONFIG_STATUS generated by autoconf version 2.12"
21007 -help | --help | --hel | --he | --h)
21008 echo "\$ac_cs_usage"; exit 0 ;;
21009 *) echo "\$ac_cs_usage"; exit 1 ;;
21013 ac_given_srcdir=$srcdir
21014 ac_given_INSTALL="$INSTALL"
21016 trap 'rm -fr `echo "
21022 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21024 cat >> $CONFIG_STATUS <<EOF
21026 # Protect against being on the right side of a sed subst in config.status.
21027 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21028 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21031 s%@CFLAGS@%$CFLAGS%g
21032 s%@CPPFLAGS@%$CPPFLAGS%g
21033 s%@CXXFLAGS@%$CXXFLAGS%g
21035 s%@LDFLAGS@%$LDFLAGS%g
21037 s%@exec_prefix@%$exec_prefix%g
21038 s%@prefix@%$prefix%g
21039 s%@program_transform_name@%$program_transform_name%g
21040 s%@bindir@%$bindir%g
21041 s%@sbindir@%$sbindir%g
21042 s%@libexecdir@%$libexecdir%g
21043 s%@datadir@%$datadir%g
21044 s%@sysconfdir@%$sysconfdir%g
21045 s%@sharedstatedir@%$sharedstatedir%g
21046 s%@localstatedir@%$localstatedir%g
21047 s%@libdir@%$libdir%g
21048 s%@includedir@%$includedir%g
21049 s%@oldincludedir@%$oldincludedir%g
21050 s%@infodir@%$infodir%g
21051 s%@mandir@%$mandir%g
21053 s%@host_alias@%$host_alias%g
21054 s%@host_cpu@%$host_cpu%g
21055 s%@host_vendor@%$host_vendor%g
21056 s%@host_os@%$host_os%g
21057 s%@target@%$target%g
21058 s%@target_alias@%$target_alias%g
21059 s%@target_cpu@%$target_cpu%g
21060 s%@target_vendor@%$target_vendor%g
21061 s%@target_os@%$target_os%g
21063 s%@build_alias@%$build_alias%g
21064 s%@build_cpu@%$build_cpu%g
21065 s%@build_vendor@%$build_vendor%g
21066 s%@build_os@%$build_os%g
21070 s%@RANLIB@%$RANLIB%g
21072 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21073 s%@INSTALL_DATA@%$INSTALL_DATA%g
21075 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21078 s%@LEXLIB@%$LEXLIB%g
21080 s%@CXXCPP@%$CXXCPP%g
21081 s%@PKG_CONFIG@%$PKG_CONFIG%g
21082 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21083 s%@GTK_LIBS@%$GTK_LIBS%g
21084 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21085 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21086 s%@GTK_CONFIG@%$GTK_CONFIG%g
21087 s%@X_CFLAGS@%$X_CFLAGS%g
21088 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21089 s%@X_LIBS@%$X_LIBS%g
21090 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21091 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21092 s%@RESCOMP@%$RESCOMP%g
21094 s%@LIBICONV@%$LIBICONV%g
21095 s%@LEX_STEM@%$LEX_STEM%g
21096 s%@PATH_IFS@%$PATH_IFS%g
21097 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21098 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21099 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21100 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21101 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21102 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21103 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21104 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21105 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21106 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21107 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21108 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21109 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21110 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21111 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21112 s%@WX_ALL@%$WX_ALL%g
21113 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21114 s%@SHARED_LD@%$SHARED_LD%g
21115 s%@PIC_FLAG@%$PIC_FLAG%g
21116 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21117 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21118 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21119 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21120 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21121 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21122 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21123 s%@USE_GUI@%$USE_GUI%g
21124 s%@AFMINSTALL@%$AFMINSTALL%g
21125 s%@TOOLKIT@%$TOOLKIT%g
21126 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21127 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21128 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21129 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21130 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21131 s%@cross_compiling@%$cross_compiling%g
21132 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21133 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21134 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21135 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21136 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21137 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21138 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21139 s%@ALL_HEADERS@%$ALL_HEADERS%g
21140 s%@ALL_SOURCES@%$ALL_SOURCES%g
21141 s%@GUIDIST@%$GUIDIST%g
21142 s%@PORT_FILES@%$PORT_FILES%g
21143 s%@DISTDIR@%$DISTDIR%g
21144 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21145 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21146 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21147 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21148 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21149 s%@EXTRADEFS@%$EXTRADEFS%g
21150 s%@RESFLAGS@%$RESFLAGS%g
21151 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21152 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21153 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21154 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21155 s%@LIBWXMACRES@%$LIBWXMACRES%g
21156 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21157 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21158 s%@DLLTOOL@%$DLLTOOL%g
21162 s%@MAKEINFO@%$MAKEINFO%g
21163 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21164 s%@SET_MAKE@%$SET_MAKE%g
21165 s%@subdirs@%$subdirs%g
21170 cat >> $CONFIG_STATUS <<\EOF
21172 # Split the substitutions into bite-sized pieces for seds with
21173 # small command number limits, like on Digital OSF/1 and HP-UX.
21174 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21175 ac_file
=1 # Number of current file.
21176 ac_beg
=1 # First line for current file.
21177 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21180 while $ac_more_lines; do
21181 if test $ac_beg -gt 1; then
21182 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21184 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21186 if test ! -s conftest.s
$ac_file; then
21187 ac_more_lines
=false
21188 rm -f conftest.s
$ac_file
21190 if test -z "$ac_sed_cmds"; then
21191 ac_sed_cmds
="sed -f conftest.s$ac_file"
21193 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21195 ac_file
=`expr $ac_file + 1`
21197 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21200 if test -z "$ac_sed_cmds"; then
21205 cat >> $CONFIG_STATUS <<EOF
21207 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21214 cat >> $CONFIG_STATUS <<\EOF
21215 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21218 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21219 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21220 *) ac_file_in
="${ac_file}.in" ;;
21223 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21225 # Remove last slash and all that follows it. Not all systems have dirname.
21226 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21227 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21228 # The file is in a subdirectory.
21229 test ! -d "$ac_dir" && mkdir "$ac_dir"
21230 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21231 # A "../" for each directory in $ac_dir_suffix.
21232 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21234 ac_dir_suffix
= ac_dots
=
21237 case "$ac_given_srcdir" in
21239 if test -z "$ac_dots"; then top_srcdir
=.
21240 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21241 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21242 *) # Relative path.
21243 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21244 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21247 case "$ac_given_INSTALL" in
21248 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21249 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21252 echo creating
"$ac_file"
21254 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21256 *Makefile
*) ac_comsub
="1i\\
21257 # $configure_input" ;;
21261 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21263 s%@configure_input@%$configure_input%g
21264 s%@srcdir@%$srcdir%g
21265 s%@top_srcdir@%$top_srcdir%g
21266 s%@INSTALL@%$INSTALL%g
21267 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21271 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21272 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21274 # ac_d sets the value in "#define NAME VALUE" lines.
21275 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21276 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21279 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21280 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21281 ac_uB
='\([ ]\)%\1#\2define\3'
21284 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21285 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21286 ac_eB
='$%\1#\2define\3'
21290 if test "${CONFIG_HEADERS+set}" != set; then
21292 cat >> $CONFIG_STATUS <<EOF
21293 CONFIG_HEADERS="setup.h:setup.h.in"
21295 cat >> $CONFIG_STATUS <<\EOF
21297 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21298 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21300 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21301 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21302 *) ac_file_in
="${ac_file}.in" ;;
21305 echo creating
$ac_file
21307 rm -f conftest.frag conftest.
in conftest.out
21308 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21309 cat $ac_file_inputs > conftest.
in
21313 # Transform confdefs.h into a sed script conftest.vals that substitutes
21314 # the proper values into config.h.in to produce config.h. And first:
21315 # Protect against being on the right side of a sed subst in config.status.
21316 # Protect against being in an unquoted here document in config.status.
21317 rm -f conftest.vals
21318 cat > conftest.hdr
<<\EOF
21321 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21325 sed -n -f conftest.hdr confdefs.h > conftest.vals
21328 # This sed command replaces #undef with comments. This is necessary, for
21329 # example, in the case of _POSIX_SOURCE, which is predefined and required
21330 # on some systems where configure will not decide to define it.
21331 cat >> conftest.vals <<\EOF
21332 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21335 # Break up conftest.vals because some shells have a limit on
21336 # the size of here documents, and old seds have small limits too.
21338 rm -f conftest.tail
21341 ac_lines=`grep -c . conftest.vals
`
21342 # grep -c gives empty output for an empty file on some AIX systems.
21343 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21344 # Write a limited-size here document to conftest.frag.
21345 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21346 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21348 sed -f conftest.frag conftest.in > conftest.out
21350 mv conftest.out conftest.in
21351 ' >> $CONFIG_STATUS
21352 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21353 rm -f conftest.vals
21354 mv conftest.tail conftest.vals
21356 rm -f conftest.vals
21358 cat >> $CONFIG_STATUS <<\EOF
21359 rm -f conftest.frag conftest.h
21360 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21361 cat conftest.in >> conftest.h
21363 if cmp -s $ac_file conftest.h 2>/dev/null; then
21364 echo "$ac_file is unchanged"
21367 # Remove last slash and all that follows it. Not all systems have dirname.
21368 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21369 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21370 # The file is in a subdirectory.
21371 test ! -d "$ac_dir" && mkdir "$ac_dir"
21374 mv conftest.h $ac_file
21379 cat >> $CONFIG_STATUS <<EOF
21381 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21386 cat >> $CONFIG_STATUS <<\EOF
21388 if test ! -h wx-config; then
21390 mv wx-config wx${TOOLCHAIN_NAME}-config
21391 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21394 if test ! -d lib; then
21397 if test ! -d lib/wx; then
21400 if test ! -d lib/wx/include; then
21401 mkdir lib/wx/include
21403 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21404 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21406 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21407 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21409 if test -f setup.h; then
21410 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21415 chmod +x $CONFIG_STATUS
21416 rm -fr confdefs* $ac_clean_files
21417 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21419 if test "$no_recursion" != yes; then
21421 # Remove --cache-file and --srcdir arguments so they do not pile up.
21422 ac_sub_configure_args=
21424 for ac_arg in $ac_configure_args; do
21425 if test -n "$ac_prev"; then
21430 -cache-file | --cache-file | --cache-fil | --cache-fi \
21431 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21432 ac_prev=cache_file ;;
21433 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21434 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21436 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21438 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21440 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21444 for ac_config_dir in demos samples utils contrib; do
21446 # Do not complain, so a configure script can configure whichever
21447 # parts of a large source tree are present.
21448 if test ! -d $srcdir/$ac_config_dir; then
21452 echo configuring in $ac_config_dir
21457 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21459 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21467 # A "../" for each directory in /$ac_config_dir.
21468 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21471 .) # No --srcdir option. We are building in place.
21472 ac_sub_srcdir=$srcdir ;;
21473 /*) # Absolute path.
21474 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21475 *) # Relative path.
21476 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21479 # Check for guested configure; otherwise get Cygnus style configure.
21480 if test -f $ac_sub_srcdir/configure; then
21481 ac_sub_configure=$ac_sub_srcdir/configure
21482 elif test -f $ac_sub_srcdir/configure.in; then
21483 ac_sub_configure=$ac_configure
21485 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21489 # The recursion is here.
21490 if test -n "$ac_sub_configure"; then
21492 # Make the cache file name correct relative to the subdirectory.
21493 case "$cache_file" in
21494 /*) ac_sub_cache_file=$cache_file ;;
21495 *) # Relative path.
21496 ac_sub_cache_file="$ac_dots$cache_file" ;;
21498 case "$ac_given_INSTALL" in
21499 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21500 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21503 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21504 # The eval makes quoting arguments work.
21505 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21508 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }